The endpoint should accept POST requests with content in xml or json format and call the convert feature of the validator to transform input to xml or json. It should accept headers:
For Output:
Accept: application/json
Accept: application/xml
For Input:
Content-Type: application/json
Content-Type: application/xml
The conversion endpoint could also be extended to support conversion from/to different FHIR versions with URL parameters fromVersion and toVersion.
The endpoint should accept POST requests with content in xml or json format and call the convert feature of the validator to transform input to xml or json. It should accept headers:
For Output:
For Input:
The conversion endpoint could also be extended to support conversion from/to different FHIR versions with URL parameters fromVersion and toVersion.
I'd like to work on this feature once approved.