hl7dk / dk-core

7 stars 6 forks source link

Consider using compliesWithProfile for observations #113

Closed jkiddo closed 2 months ago

jkiddo commented 7 months ago

Consider using https://hl7.org/fhir/extensions/StructureDefinition-structuredefinition-compliesWithProfile.html for those instances (Observations) that conforms to e.g. the vitalsigns profile.

tmsMedcom commented 3 months ago

Undersøg, hvor og hvornår valideringen sker.

jkiddo commented 3 months ago

From the extension description:

Asserts that instances that are valid against this profile are also automatically valid against the StructureDefinition referenced by this extension.

jkiddo commented 2 months ago

Fixed in https://github.com/hl7dk/dk-core/pull/132#discussion_r1653348299 using imposeProfile