Extensions for Using Data Elements from FHIR R4 in FHIR R4B - Downloaded Version null See the Directory of published versions
| Official URL: http://hl7.org/fhir/4.0/StructureDefinition/profile-FamilyMemberHistory | Version: 0.1.0 | |||
| Standards status: Trial-use | Maturity Level: 0 | Computable Name: Profile_R4_FamilyMemberHistory_R4B | ||
This cross-version profile allows R4 FamilyMemberHistory content to be represented via FHIR R4B FamilyMemberHistory resources.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | FamilyMemberHistory(4.3.0) | Information about patient's relatives, relevant for patient Constraints: fhs-1, fhs-2 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
?!Σ | 1..1 | code | partial | completed | entered-in-error | health-unknown Binding: FamilyHistoryStatus (required): A code that identifies the status of the family history record. |
![]() ![]() |
Σ | 1..1 | Reference(Patient) | Patient history is about |
![]() ![]() |
Σ | 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. |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| FamilyMemberHistory.status | Base | required | FamilyHistoryStatus | 📍4.3.0 | FHIR Std. |
| FamilyMemberHistory.relationship | Base | example | FamilyMember | 📍3.0.0 | THO v7.1 |
| 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.exists() and ('#'+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(uri) = '#').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.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.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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | FamilyMemberHistory(4.3.0) | Information about patient's relatives, relevant for patient | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | FamilyMemberHistory(4.3.0) | Information about patient's relatives, relevant for patient Constraints: fhs-1, fhs-2 | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): IETF language tag
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources Constraints: dom-r4b | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
Σ | 0..* | Identifier | External Id(s) for this record | ||||
![]() ![]() |
Σ | 0..* | canonical(PlanDefinition | Questionnaire | ActivityDefinition | Measure | OperationDefinition) | Instantiates FHIR protocol or definition | ||||
![]() ![]() |
Σ | 0..* | uri | Instantiates external protocol or definition | ||||
![]() ![]() |
?!Σ | 1..1 | code | partial | completed | entered-in-error | health-unknown Binding: FamilyHistoryStatus (required): A code that identifies the status of the family history record. | ||||
![]() ![]() |
Σ | 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. | ||||
![]() ![]() |
Σ | 1..1 | Reference(Patient) | Patient history is about | ||||
![]() ![]() |
Σ | 0..1 | dateTime | When history was recorded or last updated | ||||
![]() ![]() |
Σ | 0..1 | string | The family member described | ||||
![]() ![]() |
Σ | 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. | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | male | female | other | unknown Binding: AdministrativeGender (extensible): Codes describing the sex assigned at birth as documented on the birth registration. | ||||
![]() ![]() |
C | 0..1 | (approximate) date of birth | |||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() |
date | |||||||
![]() ![]() ![]() |
string | |||||||
![]() ![]() |
ΣC | 0..1 | (approximate) age | |||||
![]() ![]() ![]() |
Age | |||||||
![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() |
string | |||||||
![]() ![]() |
ΣC | 0..1 | boolean | Age is estimated? | ||||
![]() ![]() |
Σ | 0..1 | Dead? How old/when? | |||||
![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() |
Age | |||||||
![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() |
date | |||||||
![]() ![]() ![]() |
string | |||||||
![]() ![]() |
Σ | 0..* | CodeableConcept | Why was family member history performed? Binding: SNOMEDCTClinicalFindings (example): Codes indicating why the family member history was done. | ||||
![]() ![]() |
Σ | 0..* | Reference(Condition | Observation | AllergyIntolerance | QuestionnaireResponse | DiagnosticReport | DocumentReference) | Why was family member history performed? | ||||
![]() ![]() |
0..* | Annotation | General note about related person | |||||
![]() ![]() |
0..* | BackboneElement | Condition that the related person had | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Condition suffered by relation Binding: Condition/Problem/DiagnosisCodes (example): Identification of the Condition or diagnosis. | |||||
![]() ![]() ![]() |
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. | |||||
![]() ![]() ![]() |
0..1 | boolean | Whether the condition contributed to the cause of death | |||||
![]() ![]() ![]() |
0..1 | When condition first manifested | ||||||
![]() ![]() ![]() ![]() |
Age | |||||||
![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() |
0..* | Annotation | Extra information about condition | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| FamilyMemberHistory.language | Base | preferred | Common Languages | 📍4.3.0 | FHIR Std. |
| FamilyMemberHistory.status | Base | required | FamilyHistoryStatus | 📍4.3.0 | FHIR Std. |
| FamilyMemberHistory.dataAbsentReason | Base | example | FamilyHistoryAbsentReason | 📍4.3.0 | FHIR Std. |
| FamilyMemberHistory.relationship | Base | example | FamilyMember | 📍3.0.0 | THO v7.1 |
| FamilyMemberHistory.sex | Base | extensible | AdministrativeGender | 📍4.3.0 | FHIR Std. |
| FamilyMemberHistory.reasonCode | Base | example | SNOMED CT Clinical Findings | 📍4.3.0 | FHIR Std. |
| FamilyMemberHistory.condition.code | Base | example | Condition/Problem/Diagnosis Codes | 📍4.3.0 | FHIR Std. |
| FamilyMemberHistory.condition.outcome | Base | example | Condition Outcome Codes | 📍4.3.0 | FHIR Std. |
| 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.exists() and ('#'+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(uri) = '#').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()
|
| dom-r4b | warning | FamilyMemberHistory.contained | Containing new R4B resources within R4 resources may cause interoperability issues if instances are shared with R4 systems |
($this is Citation or $this is Evidence or $this is EvidenceReport or $this is EvidenceVariable or $this is MedicinalProductDefinition or $this is PackagedProductDefinition or $this is AdministrableProductDefinition or $this is Ingredient or $this is ClinicalUseDefinition or $this is RegulatedAuthorization or $this is SubstanceDefinition or $this is SubscriptionStatus or $this is SubscriptionTopic) implies (%resource is Citation or %resource is Evidence or %resource is EvidenceReport or %resource is EvidenceVariable or %resource is MedicinalProductDefinition or %resource is PackagedProductDefinition or %resource is AdministrableProductDefinition or %resource is Ingredient or %resource is ClinicalUseDefinition or %resource is RegulatedAuthorization or %resource is SubstanceDefinition or %resource is SubscriptionStatus or %resource is SubscriptionTopic)
|
| ele-1 | error | FamilyMemberHistory.meta, FamilyMemberHistory.implicitRules, FamilyMemberHistory.language, FamilyMemberHistory.text, FamilyMemberHistory.extension, 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.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()
|
This structure is derived from FamilyMemberHistory
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | FamilyMemberHistory(4.3.0) | Information about patient's relatives, relevant for patient Constraints: fhs-1, fhs-2 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
?!Σ | 1..1 | code | partial | completed | entered-in-error | health-unknown Binding: FamilyHistoryStatus (required): A code that identifies the status of the family history record. |
![]() ![]() |
Σ | 1..1 | Reference(Patient) | Patient history is about |
![]() ![]() |
Σ | 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. |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| FamilyMemberHistory.status | Base | required | FamilyHistoryStatus | 📍4.3.0 | FHIR Std. |
| FamilyMemberHistory.relationship | Base | example | FamilyMember | 📍3.0.0 | THO v7.1 |
| 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.exists() and ('#'+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(uri) = '#').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.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.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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | FamilyMemberHistory(4.3.0) | Information about patient's relatives, relevant for patient | |
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | FamilyMemberHistory(4.3.0) | Information about patient's relatives, relevant for patient Constraints: fhs-1, fhs-2 | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): IETF language tag
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources Constraints: dom-r4b | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
Σ | 0..* | Identifier | External Id(s) for this record | ||||
![]() ![]() |
Σ | 0..* | canonical(PlanDefinition | Questionnaire | ActivityDefinition | Measure | OperationDefinition) | Instantiates FHIR protocol or definition | ||||
![]() ![]() |
Σ | 0..* | uri | Instantiates external protocol or definition | ||||
![]() ![]() |
?!Σ | 1..1 | code | partial | completed | entered-in-error | health-unknown Binding: FamilyHistoryStatus (required): A code that identifies the status of the family history record. | ||||
![]() ![]() |
Σ | 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. | ||||
![]() ![]() |
Σ | 1..1 | Reference(Patient) | Patient history is about | ||||
![]() ![]() |
Σ | 0..1 | dateTime | When history was recorded or last updated | ||||
![]() ![]() |
Σ | 0..1 | string | The family member described | ||||
![]() ![]() |
Σ | 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. | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | male | female | other | unknown Binding: AdministrativeGender (extensible): Codes describing the sex assigned at birth as documented on the birth registration. | ||||
![]() ![]() |
C | 0..1 | (approximate) date of birth | |||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() |
date | |||||||
![]() ![]() ![]() |
string | |||||||
![]() ![]() |
ΣC | 0..1 | (approximate) age | |||||
![]() ![]() ![]() |
Age | |||||||
![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() |
string | |||||||
![]() ![]() |
ΣC | 0..1 | boolean | Age is estimated? | ||||
![]() ![]() |
Σ | 0..1 | Dead? How old/when? | |||||
![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() |
Age | |||||||
![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() |
date | |||||||
![]() ![]() ![]() |
string | |||||||
![]() ![]() |
Σ | 0..* | CodeableConcept | Why was family member history performed? Binding: SNOMEDCTClinicalFindings (example): Codes indicating why the family member history was done. | ||||
![]() ![]() |
Σ | 0..* | Reference(Condition | Observation | AllergyIntolerance | QuestionnaireResponse | DiagnosticReport | DocumentReference) | Why was family member history performed? | ||||
![]() ![]() |
0..* | Annotation | General note about related person | |||||
![]() ![]() |
0..* | BackboneElement | Condition that the related person had | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Condition suffered by relation Binding: Condition/Problem/DiagnosisCodes (example): Identification of the Condition or diagnosis. | |||||
![]() ![]() ![]() |
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. | |||||
![]() ![]() ![]() |
0..1 | boolean | Whether the condition contributed to the cause of death | |||||
![]() ![]() ![]() |
0..1 | When condition first manifested | ||||||
![]() ![]() ![]() ![]() |
Age | |||||||
![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() |
0..* | Annotation | Extra information about condition | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| FamilyMemberHistory.language | Base | preferred | Common Languages | 📍4.3.0 | FHIR Std. |
| FamilyMemberHistory.status | Base | required | FamilyHistoryStatus | 📍4.3.0 | FHIR Std. |
| FamilyMemberHistory.dataAbsentReason | Base | example | FamilyHistoryAbsentReason | 📍4.3.0 | FHIR Std. |
| FamilyMemberHistory.relationship | Base | example | FamilyMember | 📍3.0.0 | THO v7.1 |
| FamilyMemberHistory.sex | Base | extensible | AdministrativeGender | 📍4.3.0 | FHIR Std. |
| FamilyMemberHistory.reasonCode | Base | example | SNOMED CT Clinical Findings | 📍4.3.0 | FHIR Std. |
| FamilyMemberHistory.condition.code | Base | example | Condition/Problem/Diagnosis Codes | 📍4.3.0 | FHIR Std. |
| FamilyMemberHistory.condition.outcome | Base | example | Condition Outcome Codes | 📍4.3.0 | FHIR Std. |
| 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.exists() and ('#'+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(uri) = '#').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()
|
| dom-r4b | warning | FamilyMemberHistory.contained | Containing new R4B resources within R4 resources may cause interoperability issues if instances are shared with R4 systems |
($this is Citation or $this is Evidence or $this is EvidenceReport or $this is EvidenceVariable or $this is MedicinalProductDefinition or $this is PackagedProductDefinition or $this is AdministrableProductDefinition or $this is Ingredient or $this is ClinicalUseDefinition or $this is RegulatedAuthorization or $this is SubstanceDefinition or $this is SubscriptionStatus or $this is SubscriptionTopic) implies (%resource is Citation or %resource is Evidence or %resource is EvidenceReport or %resource is EvidenceVariable or %resource is MedicinalProductDefinition or %resource is PackagedProductDefinition or %resource is AdministrableProductDefinition or %resource is Ingredient or %resource is ClinicalUseDefinition or %resource is RegulatedAuthorization or %resource is SubstanceDefinition or %resource is SubscriptionStatus or %resource is SubscriptionTopic)
|
| ele-1 | error | FamilyMemberHistory.meta, FamilyMemberHistory.implicitRules, FamilyMemberHistory.language, FamilyMemberHistory.text, FamilyMemberHistory.extension, 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.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()
|
This structure is derived from FamilyMemberHistory
Other representations of profile: CSV, Excel, Schematron