...
An example of an autogenerated profile from a 1.4 archetype can be seen in openEHR-EHR-OBSERVATION.blood_pressure.v1.profile.xml
Mapping algorithm
Archetype Object Model | Profile |
---|---|
Complex objects | Regular "element" |
Archetype slots | "element" with type as ResourceReference |
Primitive objects | "element" containing the primitive constraint into "short" (what about codes?) |
Internal references | TODO |
Domain types | CodePhrase as CodeableConcept type? Remaining Domain types have too much information to be fit into a single "element" |
Even if archetypes do not currently query parameters, archetype paths can still be expressed in xpath and included in generation time.