hapifhir / org.hl7.fhir.validator-wrapper

CLI, Desktop GUI, and Standalone Server for the FHIR Validator
Apache License 2.0
28 stars 15 forks source link

Add endpoint for FHIR resource operation #122

Open dotasek opened 1 year ago

dotasek commented 1 year ago

If possible, we should make an endpoint compatible with Operation $validate on Resource as defined in the FHIR specification:

http://hl7.org/fhir/resource-operation-validate.html

costateixeira commented 1 year ago

I was wondering if it would make sense to encapsulate it in a way that it gets called when we simply do a

POST /?validate
Accept: application/fhir+json; fhirVersion=4.3.0
Content-Type: application/fhir+json; fhirVersion=4.3.0

{ resource json here}