Extensions for Using Data Elements from FHIR R5 in FHIR R4
0.1.0 - STU International flag

Extensions for Using Data Elements from FHIR R5 in FHIR R4 - Downloaded Version null See the Directory of published versions

Resource Profile: Profile_R5_FamilyMemberHistory_R4

Official URL: http://hl7.org/fhir/5.0/StructureDefinition/profile-FamilyMemberHistory Version: 0.1.0
Standards status: Trial-use Maturity Level: 0 Computable Name: Profile_R5_FamilyMemberHistory_R4

This cross-version profile allows R5 FamilyMemberHistory content to be represented via FHIR R4 FamilyMemberHistory resources.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. FamilyMemberHistory C 0..* FamilyMemberHistory(4.0.1) Information about patient's relatives, relevant for patient
Constraints: fhs-1, fhs-2
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:participant 0..* (Complex) R5: Who or what participated in the activities related to the family member history and how they were involved (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-FamilyMemberHistory.participant
Constraints: ext-1
.... extension:reason 0..* (Complex) R5: Why was family member history performed? additional types
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-FamilyMemberHistory.reason
Constraints: ext-1
.... extension:procedure 0..* (Complex) R5: Procedures that the related person had (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-FamilyMemberHistory.procedure
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... patient Σ 1..1 Reference(Patient) Patient history is about
... relationship Σ 1..1 CodeableConcept Relationship to the subject
Binding: FamilyMember (3.0.0) (example): The nature of the relationship between the patient and the related person being described in the family member history.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
FamilyMemberHistory.​status Base required FamilyHistoryStatus 📍4.0.1 FHIR Std.
FamilyMemberHistory.​relationship Base example FamilyMember 📍3.0.0 THO v7.1

Constraints

Id Grade Path(s) Description Expression
dom-2 error FamilyMemberHistory If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 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 | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 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 error FamilyMemberHistory If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice FamilyMemberHistory A resource should have narrative for robust management text.`div`.exists()
ele-1 error FamilyMemberHistory.implicitRules, FamilyMemberHistory.extension, FamilyMemberHistory.extension:participant, FamilyMemberHistory.extension:reason, FamilyMemberHistory.extension:procedure, FamilyMemberHistory.modifierExtension, FamilyMemberHistory.status, FamilyMemberHistory.patient, FamilyMemberHistory.relationship All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error FamilyMemberHistory.extension, FamilyMemberHistory.extension:participant, FamilyMemberHistory.extension:reason, FamilyMemberHistory.extension:procedure, FamilyMemberHistory.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()
fhs-1 error FamilyMemberHistory Can have age[x] or born[x], but not both age.empty() or born.empty()
fhs-2 error FamilyMemberHistory Can only have estimatedAge if age[x] is present age.exists() or estimatedAge.empty()

This structure is derived from FamilyMemberHistory

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. FamilyMemberHistory 0..* FamilyMemberHistory(4.0.1) Information about patient's relatives, relevant for patient
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:participant 0..* (Complex) R5: Who or what participated in the activities related to the family member history and how they were involved (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-FamilyMemberHistory.participant
.... extension:reason 0..* (Complex) R5: Why was family member history performed? additional types
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-FamilyMemberHistory.reason
.... extension:procedure 0..* (Complex) R5: Procedures that the related person had (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-FamilyMemberHistory.procedure

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. FamilyMemberHistory C 0..* FamilyMemberHistory(4.0.1) Information about patient's relatives, relevant for patient
Constraints: fhs-1, fhs-2
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:participant 0..* (Complex) R5: Who or what participated in the activities related to the family member history and how they were involved (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-FamilyMemberHistory.participant
Constraints: ext-1
.... extension:reason 0..* (Complex) R5: Why was family member history performed? additional types
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-FamilyMemberHistory.reason
Constraints: ext-1
.... extension:procedure 0..* (Complex) R5: Procedures that the related person had (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-FamilyMemberHistory.procedure
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier Σ 0..* Identifier External Id(s) for this record
... instantiatesCanonical Σ 0..* canonical(PlanDefinition | Questionnaire | ActivityDefinition | Measure | OperationDefinition) Instantiates FHIR protocol or definition
... instantiatesUri Σ 0..* uri Instantiates external protocol or definition
... status ?!Σ 1..1 code partial | completed | entered-in-error | health-unknown
Binding: FamilyHistoryStatus (required): A code that identifies the status of the family history record.
... dataAbsentReason Σ 0..1 CodeableConcept subject-unknown | withheld | unable-to-obtain | deferred
Binding: FamilyHistoryAbsentReason (example): Codes describing the reason why a family member's history is not available.
... patient Σ 1..1 Reference(Patient) Patient history is about
... date Σ 0..1 dateTime When history was recorded or last updated
... name Σ 0..1 string The family member described
... relationship Σ 1..1 CodeableConcept Relationship to the subject
Binding: FamilyMember (3.0.0) (example): The nature of the relationship between the patient and the related person being described in the family member history.
... sex Σ 0..1 CodeableConcept male | female | other | unknown
Binding: AdministrativeGender (extensible): Codes describing the sex assigned at birth as documented on the birth registration.
... born[x] C 0..1 (approximate) date of birth
.... bornPeriod Period
.... bornDate date
.... bornString string
... age[x] ΣC 0..1 (approximate) age
.... ageAge Age
.... ageRange Range
.... ageString string
... estimatedAge ΣC 0..1 boolean Age is estimated?
... deceased[x] Σ 0..1 Dead? How old/when?
.... deceasedBoolean boolean
.... deceasedAge Age
.... deceasedRange Range
.... deceasedDate date
.... deceasedString string
... reasonCode Σ 0..* CodeableConcept Why was family member history performed?
Binding: SNOMEDCTClinicalFindings (example): Codes indicating why the family member history was done.
... reasonReference Σ 0..* Reference(Condition | Observation | AllergyIntolerance | QuestionnaireResponse | DiagnosticReport | DocumentReference) Why was family member history performed?
... note 0..* Annotation General note about related person
... condition 0..* BackboneElement Condition that the related person had
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... code 1..1 CodeableConcept Condition suffered by relation
Binding: Condition/Problem/DiagnosisCodes (example): Identification of the Condition or diagnosis.
.... outcome 0..1 CodeableConcept deceased | permanent disability | etc.
Binding: ConditionOutcomeCodes (example): The result of the condition for the patient; e.g. death, permanent disability, temporary disability, etc.
.... contributedToDeath 0..1 boolean Whether the condition contributed to the cause of death
.... onset[x] 0..1 When condition first manifested
..... onsetAge Age
..... onsetRange Range
..... onsetPeriod Period
..... onsetString string
.... note 0..* Annotation Extra information about condition

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
FamilyMemberHistory.​language Base preferred Common Languages . 📍4.0.1 tx.fhir.org
FamilyMemberHistory.​status Base required FamilyHistoryStatus 📍4.0.1 FHIR Std.
FamilyMemberHistory.​dataAbsentReason Base example FamilyHistoryAbsentReason 📍4.0.1 FHIR Std.
FamilyMemberHistory.​relationship Base example FamilyMember 📍3.0.0 THO v7.1
FamilyMemberHistory.​sex Base extensible AdministrativeGender 📍4.0.1 FHIR Std.
FamilyMemberHistory.​reasonCode Base example SNOMED CT Clinical Findings 📍4.0.1 FHIR Std.
FamilyMemberHistory.​condition.code Base example Condition/Problem/Diagnosis Codes 📍4.0.1 FHIR Std.
FamilyMemberHistory.​condition.outcome Base example Condition Outcome Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error FamilyMemberHistory If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 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 | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 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 error FamilyMemberHistory If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice FamilyMemberHistory A resource should have narrative for robust management text.`div`.exists()
ele-1 error FamilyMemberHistory.meta, FamilyMemberHistory.implicitRules, FamilyMemberHistory.language, FamilyMemberHistory.text, FamilyMemberHistory.extension, FamilyMemberHistory.extension:participant, FamilyMemberHistory.extension:reason, FamilyMemberHistory.extension:procedure, FamilyMemberHistory.modifierExtension, FamilyMemberHistory.identifier, FamilyMemberHistory.instantiatesCanonical, FamilyMemberHistory.instantiatesUri, FamilyMemberHistory.status, FamilyMemberHistory.dataAbsentReason, FamilyMemberHistory.patient, FamilyMemberHistory.date, FamilyMemberHistory.name, FamilyMemberHistory.relationship, FamilyMemberHistory.sex, FamilyMemberHistory.born[x], FamilyMemberHistory.age[x], FamilyMemberHistory.estimatedAge, FamilyMemberHistory.deceased[x], FamilyMemberHistory.reasonCode, FamilyMemberHistory.reasonReference, FamilyMemberHistory.note, FamilyMemberHistory.condition, FamilyMemberHistory.condition.extension, FamilyMemberHistory.condition.modifierExtension, FamilyMemberHistory.condition.code, FamilyMemberHistory.condition.outcome, FamilyMemberHistory.condition.contributedToDeath, FamilyMemberHistory.condition.onset[x], FamilyMemberHistory.condition.note All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error FamilyMemberHistory.extension, FamilyMemberHistory.extension:participant, FamilyMemberHistory.extension:reason, FamilyMemberHistory.extension:procedure, FamilyMemberHistory.modifierExtension, FamilyMemberHistory.condition.extension, FamilyMemberHistory.condition.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()
fhs-1 error FamilyMemberHistory Can have age[x] or born[x], but not both age.empty() or born.empty()
fhs-2 error FamilyMemberHistory Can only have estimatedAge if age[x] is present age.exists() or estimatedAge.empty()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. FamilyMemberHistory C 0..* FamilyMemberHistory(4.0.1) Information about patient's relatives, relevant for patient
Constraints: fhs-1, fhs-2
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:participant 0..* (Complex) R5: Who or what participated in the activities related to the family member history and how they were involved (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-FamilyMemberHistory.participant
Constraints: ext-1
.... extension:reason 0..* (Complex) R5: Why was family member history performed? additional types
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-FamilyMemberHistory.reason
Constraints: ext-1
.... extension:procedure 0..* (Complex) R5: Procedures that the related person had (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-FamilyMemberHistory.procedure
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... patient Σ 1..1 Reference(Patient) Patient history is about
... relationship Σ 1..1 CodeableConcept Relationship to the subject
Binding: FamilyMember (3.0.0) (example): The nature of the relationship between the patient and the related person being described in the family member history.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
FamilyMemberHistory.​status Base required FamilyHistoryStatus 📍4.0.1 FHIR Std.
FamilyMemberHistory.​relationship Base example FamilyMember 📍3.0.0 THO v7.1

Constraints

Id Grade Path(s) Description Expression
dom-2 error FamilyMemberHistory If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 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 | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 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 error FamilyMemberHistory If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice FamilyMemberHistory A resource should have narrative for robust management text.`div`.exists()
ele-1 error FamilyMemberHistory.implicitRules, FamilyMemberHistory.extension, FamilyMemberHistory.extension:participant, FamilyMemberHistory.extension:reason, FamilyMemberHistory.extension:procedure, FamilyMemberHistory.modifierExtension, FamilyMemberHistory.status, FamilyMemberHistory.patient, FamilyMemberHistory.relationship All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error FamilyMemberHistory.extension, FamilyMemberHistory.extension:participant, FamilyMemberHistory.extension:reason, FamilyMemberHistory.extension:procedure, FamilyMemberHistory.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()
fhs-1 error FamilyMemberHistory Can have age[x] or born[x], but not both age.empty() or born.empty()
fhs-2 error FamilyMemberHistory Can only have estimatedAge if age[x] is present age.exists() or estimatedAge.empty()

Differential View

This structure is derived from FamilyMemberHistory

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. FamilyMemberHistory 0..* FamilyMemberHistory(4.0.1) Information about patient's relatives, relevant for patient
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:participant 0..* (Complex) R5: Who or what participated in the activities related to the family member history and how they were involved (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-FamilyMemberHistory.participant
.... extension:reason 0..* (Complex) R5: Why was family member history performed? additional types
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-FamilyMemberHistory.reason
.... extension:procedure 0..* (Complex) R5: Procedures that the related person had (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-FamilyMemberHistory.procedure

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. FamilyMemberHistory C 0..* FamilyMemberHistory(4.0.1) Information about patient's relatives, relevant for patient
Constraints: fhs-1, fhs-2
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:participant 0..* (Complex) R5: Who or what participated in the activities related to the family member history and how they were involved (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-FamilyMemberHistory.participant
Constraints: ext-1
.... extension:reason 0..* (Complex) R5: Why was family member history performed? additional types
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-FamilyMemberHistory.reason
Constraints: ext-1
.... extension:procedure 0..* (Complex) R5: Procedures that the related person had (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-FamilyMemberHistory.procedure
Constraints: ext-1
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier Σ 0..* Identifier External Id(s) for this record
... instantiatesCanonical Σ 0..* canonical(PlanDefinition | Questionnaire | ActivityDefinition | Measure | OperationDefinition) Instantiates FHIR protocol or definition
... instantiatesUri Σ 0..* uri Instantiates external protocol or definition
... status ?!Σ 1..1 code partial | completed | entered-in-error | health-unknown
Binding: FamilyHistoryStatus (required): A code that identifies the status of the family history record.
... dataAbsentReason Σ 0..1 CodeableConcept subject-unknown | withheld | unable-to-obtain | deferred
Binding: FamilyHistoryAbsentReason (example): Codes describing the reason why a family member's history is not available.
... patient Σ 1..1 Reference(Patient) Patient history is about
... date Σ 0..1 dateTime When history was recorded or last updated
... name Σ 0..1 string The family member described
... relationship Σ 1..1 CodeableConcept Relationship to the subject
Binding: FamilyMember (3.0.0) (example): The nature of the relationship between the patient and the related person being described in the family member history.
... sex Σ 0..1 CodeableConcept male | female | other | unknown
Binding: AdministrativeGender (extensible): Codes describing the sex assigned at birth as documented on the birth registration.
... born[x] C 0..1 (approximate) date of birth
.... bornPeriod Period
.... bornDate date
.... bornString string
... age[x] ΣC 0..1 (approximate) age
.... ageAge Age
.... ageRange Range
.... ageString string
... estimatedAge ΣC 0..1 boolean Age is estimated?
... deceased[x] Σ 0..1 Dead? How old/when?
.... deceasedBoolean boolean
.... deceasedAge Age
.... deceasedRange Range
.... deceasedDate date
.... deceasedString string
... reasonCode Σ 0..* CodeableConcept Why was family member history performed?
Binding: SNOMEDCTClinicalFindings (example): Codes indicating why the family member history was done.
... reasonReference Σ 0..* Reference(Condition | Observation | AllergyIntolerance | QuestionnaireResponse | DiagnosticReport | DocumentReference) Why was family member history performed?
... note 0..* Annotation General note about related person
... condition 0..* BackboneElement Condition that the related person had
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... code 1..1 CodeableConcept Condition suffered by relation
Binding: Condition/Problem/DiagnosisCodes (example): Identification of the Condition or diagnosis.
.... outcome 0..1 CodeableConcept deceased | permanent disability | etc.
Binding: ConditionOutcomeCodes (example): The result of the condition for the patient; e.g. death, permanent disability, temporary disability, etc.
.... contributedToDeath 0..1 boolean Whether the condition contributed to the cause of death
.... onset[x] 0..1 When condition first manifested
..... onsetAge Age
..... onsetRange Range
..... onsetPeriod Period
..... onsetString string
.... note 0..* Annotation Extra information about condition

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
FamilyMemberHistory.​language Base preferred Common Languages . 📍4.0.1 tx.fhir.org
FamilyMemberHistory.​status Base required FamilyHistoryStatus 📍4.0.1 FHIR Std.
FamilyMemberHistory.​dataAbsentReason Base example FamilyHistoryAbsentReason 📍4.0.1 FHIR Std.
FamilyMemberHistory.​relationship Base example FamilyMember 📍3.0.0 THO v7.1
FamilyMemberHistory.​sex Base extensible AdministrativeGender 📍4.0.1 FHIR Std.
FamilyMemberHistory.​reasonCode Base example SNOMED CT Clinical Findings 📍4.0.1 FHIR Std.
FamilyMemberHistory.​condition.code Base example Condition/Problem/Diagnosis Codes 📍4.0.1 FHIR Std.
FamilyMemberHistory.​condition.outcome Base example Condition Outcome Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error FamilyMemberHistory If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 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 | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 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 error FamilyMemberHistory If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice FamilyMemberHistory A resource should have narrative for robust management text.`div`.exists()
ele-1 error FamilyMemberHistory.meta, FamilyMemberHistory.implicitRules, FamilyMemberHistory.language, FamilyMemberHistory.text, FamilyMemberHistory.extension, FamilyMemberHistory.extension:participant, FamilyMemberHistory.extension:reason, FamilyMemberHistory.extension:procedure, FamilyMemberHistory.modifierExtension, FamilyMemberHistory.identifier, FamilyMemberHistory.instantiatesCanonical, FamilyMemberHistory.instantiatesUri, FamilyMemberHistory.status, FamilyMemberHistory.dataAbsentReason, FamilyMemberHistory.patient, FamilyMemberHistory.date, FamilyMemberHistory.name, FamilyMemberHistory.relationship, FamilyMemberHistory.sex, FamilyMemberHistory.born[x], FamilyMemberHistory.age[x], FamilyMemberHistory.estimatedAge, FamilyMemberHistory.deceased[x], FamilyMemberHistory.reasonCode, FamilyMemberHistory.reasonReference, FamilyMemberHistory.note, FamilyMemberHistory.condition, FamilyMemberHistory.condition.extension, FamilyMemberHistory.condition.modifierExtension, FamilyMemberHistory.condition.code, FamilyMemberHistory.condition.outcome, FamilyMemberHistory.condition.contributedToDeath, FamilyMemberHistory.condition.onset[x], FamilyMemberHistory.condition.note All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error FamilyMemberHistory.extension, FamilyMemberHistory.extension:participant, FamilyMemberHistory.extension:reason, FamilyMemberHistory.extension:procedure, FamilyMemberHistory.modifierExtension, FamilyMemberHistory.condition.extension, FamilyMemberHistory.condition.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()
fhs-1 error FamilyMemberHistory Can have age[x] or born[x], but not both age.empty() or born.empty()
fhs-2 error FamilyMemberHistory Can only have estimatedAge if age[x] is present age.exists() or estimatedAge.empty()

 

Other representations of profile: CSV, Excel, Schematron