Graham's interpretation of FHIR/RDF assumes we use the names of inherited properties. For example, CodeSystem extends CanonicalResource extends DomainResource extends Resource extends Base. These introduce properties, e.g. DomainResource introduces DomainResource.text (a Narrative).
How were these extracted? The R4 snapshot (search for "snapeshot") has id and meta expressed as Observation properties, e.g. "Observation.id" and "Observation.meta" while the associated @context has them as "fhir:Resource.id", ""fhir:Resource.meta"", and "fhir:DomainResource.text".
Were the @context files derived from snapshots or did someone write something to follow inheritance (from baseDefinition and type, i guess)? If the latter, A, wow, that's a lot of work and B, can you explain it to me?
I've mostly recreated a the apparent inheritance semantics, but I'm unsure whether to follow the naming conventions in the snapshots or the @contexts.
Graham's interpretation of FHIR/RDF assumes we use the names of inherited properties. For example, CodeSystem extends CanonicalResource extends DomainResource extends Resource extends Base. These introduce properties, e.g. DomainResource introduces
DomainResource.text
(a Narrative).An example code-system includes these properties with their inherited names:
How were these extracted? The R4 snapshot (search for "snapeshot") has
id
andmeta
expressed as Observation properties, e.g. "Observation.id" and "Observation.meta" while the associated @context has them as "fhir:Resource.id", ""fhir:Resource.meta"", and "fhir:DomainResource.text".Were the @context files derived from snapshots or did someone write something to follow inheritance (from
baseDefinition
andtype
, i guess)? If the latter, A, wow, that's a lot of work and B, can you explain it to me?I've mostly recreated a the apparent inheritance semantics, but I'm unsure whether to follow the naming conventions in the snapshots or the @contexts.