Xml to Fhir
There is an endpoint that can be used to see how a given XML looks when delivered as FHIR. Unfortunately it is not supported by any page to present the result, but any tool like Postman or Bruno can be used. The endpoint is available through the backdoor available in test.
https://backdoor.test.pps.nhn.no/dryrun/toFhir
with the xml in the body.
Example:
curl -X POST -k -H "Content-Type: application/xml" -d @</full/path/file/name> https://backdoor.test.pps.nhn.no/dryrun/toFhir -o <output-file>
Replace </full/path/file/name> with your full file name:
curl -X POST -k -H "Content-Type: application/xml" -d @c:/git/hl7norwaynilar/xmlfiles/Svar_radiologi_v1-4_Ny.xml https://backdoor.test.pps.nhn.no/dryrun/toFhir -o test.json