FHIR Chat · HAPI Validation of FHIR extension · hapi

Stream: hapi

Topic: HAPI Validation of FHIR extension


view this post on Zulip Chandan Datta (Sep 16 2019 at 04:36):

Hi all,

I had a look at the FHIR extensions examples on the standards page(Patient Consent for Record Sharing) and I am trying to create my own simple extension using Forge, which would contain a String element such as patient.religion or patient.healthfund.number with minLength and maxLength constraints defined.

Is there a way to automatically generate the validation rules on the HAPI FHIR server from the defined extension StructureDefinition from from Forge? Or do I have to extend HAPI to create my own validation engine for the new fields defined in the extension? If someone could point me to the best practices for use the tooling while creating extensions, that would be great.


Last updated: Apr 12 2022 at 19:14 UTC