Skip to content

Family Member History Profile

Canonical../StructureDefinition/nexus-emr-core-familymemberhistory
Statusdraft (experimental) · 1.26.0
BaseFamilyMemberHistory (constraint)
SourceFSH · JSON

Nexus EMR profile for FamilyMemberHistory -- family history as discrete chart content for summaries and extraction output. First pass: one relative, coded relationship, condition list with onset. Closed to SMART apps pending an exposure decision.

Invariants

Every rule in force on a conforming instance. This profile rows are stated here; inherited rows come from the base resource and are listed so that a constraint named on an element is findable. Invariant keys elsewhere on this page link into this table.

Key Source Severity On Rule
nexus-note-extension-not-where-native this profile error FamilyMemberHistory The resource-note extension is not used on a resource that has a native note element -- that element is the home
extension('../StructureDefinition/nexus-emr-resource-note').empty()
dom-2 inherited error FamilyMemberHistory If the resource is contained in another resource, it SHALL NOT contain nested Resources
contained.contained.empty()
dom-3 inherited error FamilyMemberHistory If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
contained.where((('#'+id in (%resource.descendants().reference
dom-4 inherited error FamilyMemberHistory If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 inherited error FamilyMemberHistory If a resource is contained in another resource, it SHALL NOT have a security label
contained.meta.security.empty()
dom-6 inherited warning FamilyMemberHistory A resource should have narrative for robust management
text.div.exists()
ele-1 inherited error FamilyMemberHistory.meta All FHIR elements must have a @value or children
hasValue() or (children().count() > id.count())
ext-1 inherited error FamilyMemberHistory.extension Must have either extensions or value[x], not both
extension.exists() != value.exists()
fhs-1 inherited error FamilyMemberHistory Can have age[x] or born[x], but not both
age.empty() or born.empty()
fhs-2 inherited error FamilyMemberHistory Can only have estimatedAge if age[x] is present
age.exists() or estimatedAge.empty()