Guia de Implementação do AnHealth
0.2.0 - CI Build

Guia de Implementação do AnHealth - Local Development build (v0.2.0). See the Directory of published versions

Resource Profile: FamilyMemberHistory

Official URL: https://ancode.app/fhir/StructureDefinition/FamilyMemberHistory Version: 0.2.0
Draft as of 2022-04-28 Computable Name: FamilyMemberHistory

Usage:

  • This Resource Profile is not used by any profiles in this Implementation Guide

Formal Views of Profile Content

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

This structure is derived from FamilyMemberHistory

NameFlagsCard.TypeDescription & Constraintsdoco
.. FamilyMemberHistory C0..*FamilyMemberHistoryInformation about patient's relatives, relevant for patient
fhs-1: Can have age[x] or born[x], but not both
fhs-2: Can only have estimatedAge if age[x] is present
... date 1..1dateTimeWhen history was recorded or last updated
... name 1..1stringThe family member described
... relationship 1..1CodeableConceptRelationship to the subject
Binding: FamilyMember (required)
... born[x] 0..1date(approximate) date of birth
... age[x] 0..1Age(approximate) age
... deceased[x] 0..1dateDead? How old/when?
... condition 1..*BackboneElementCondition that the related person had
.... code 1..1CodeableConceptCondition suffered by relation
Binding: BRCID10 (required)
.... outcome 0..1CodeableConceptdeceased | permanent disability | etc.
Binding: ConditionOutcomeCodes (required)
.... onset[x] 1..1RangeWhen condition first manifested
..... low 1..1SimpleQuantityLow limit

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
FamilyMemberHistory.relationshiprequiredFamilyMember
FamilyMemberHistory.sexrequiredAdministrativeGender
FamilyMemberHistory.condition.coderequiredBRCID10 (a valid code from Classificação Internacional de Doenças - Décima Revisão - CID-10)
FamilyMemberHistory.condition.outcomerequiredConditionOutcomeCodes

Constraints

IdGradePath(s)DetailsRequirements
fhs-1errorFamilyMemberHistoryCan have age[x] or born[x], but not both
:
fhs-2errorFamilyMemberHistoryCan only have estimatedAge if age[x] is present
:
NameFlagsCard.TypeDescription & Constraintsdoco
.. FamilyMemberHistory C0..*FamilyMemberHistoryInformation about patient's relatives, relevant for patient
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... status ?!Σ1..1codepartial | completed | entered-in-error | health-unknown
Binding: FamilyHistoryStatus (required): A code that identifies the status of the family history record.

... date Σ1..1dateTimeWhen history was recorded or last updated
... name Σ1..1stringThe family member described
... relationship Σ1..1CodeableConceptRelationship to the subject
Binding: FamilyMember (required)
... sex Σ1..1CodeableConceptmale | female | other | unknown
Binding: AdministrativeGender (required)
... born[x] C0..1date(approximate) date of birth
... age[x] ΣC0..1Age(approximate) age
... deceased[x] Σ0..1dateDead? How old/when?
... condition 1..*BackboneElementCondition that the related person had
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... code 1..1CodeableConceptCondition suffered by relation
Binding: BRCID10 (required)
.... outcome 0..1CodeableConceptdeceased | permanent disability | etc.
Binding: ConditionOutcomeCodes (required)
.... onset[x] 1..1RangeWhen condition first manifested
..... low Σ1..1SimpleQuantityLow limit

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
FamilyMemberHistory.statusrequiredFamilyHistoryStatus
FamilyMemberHistory.relationshiprequiredFamilyMember
FamilyMemberHistory.sexrequiredAdministrativeGender
FamilyMemberHistory.condition.coderequiredBRCID10 (a valid code from Classificação Internacional de Doenças - Décima Revisão - CID-10)
FamilyMemberHistory.condition.outcomerequiredConditionOutcomeCodes

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorFamilyMemberHistoryIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorFamilyMemberHistoryIf 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-4errorFamilyMemberHistoryIf 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-5errorFamilyMemberHistoryIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceFamilyMemberHistoryA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
fhs-1errorFamilyMemberHistoryCan have age[x] or born[x], but not both
: age.empty() or born.empty()
fhs-2errorFamilyMemberHistoryCan only have estimatedAge if age[x] is present
: age.exists() or estimatedAge.empty()
NameFlagsCard.TypeDescription & Constraintsdoco
.. FamilyMemberHistory C0..*FamilyMemberHistoryInformation about patient's relatives, relevant for patient
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierExternal Id(s) for this record
... instantiatesCanonical Σ0..*canonical(PlanDefinition | Questionnaire | ActivityDefinition | Measure | OperationDefinition)Instantiates FHIR protocol or definition
... instantiatesUri Σ0..*uriInstantiates external protocol or definition
... status ?!Σ1..1codepartial | completed | entered-in-error | health-unknown
Binding: FamilyHistoryStatus (required): A code that identifies the status of the family history record.

... dataAbsentReason Σ0..1CodeableConceptsubject-unknown | withheld | unable-to-obtain | deferred
Binding: FamilyHistoryAbsentReason (example): Codes describing the reason why a family member's history is not available.

... patient Σ1..1Reference(Patient)Patient history is about
... date Σ1..1dateTimeWhen history was recorded or last updated
... name Σ1..1stringThe family member described
... relationship Σ1..1CodeableConceptRelationship to the subject
Binding: FamilyMember (required)
... sex Σ1..1CodeableConceptmale | female | other | unknown
Binding: AdministrativeGender (required)
... born[x] C0..1date(approximate) date of birth
... age[x] ΣC0..1Age(approximate) age
... estimatedAge ΣC0..1booleanAge is estimated?
... deceased[x] Σ0..1dateDead? How old/when?
... reasonCode Σ0..*CodeableConceptWhy 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..*AnnotationGeneral note about related person
... condition 1..*BackboneElementCondition that the related person had
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... code 1..1CodeableConceptCondition suffered by relation
Binding: BRCID10 (required)
.... outcome 0..1CodeableConceptdeceased | permanent disability | etc.
Binding: ConditionOutcomeCodes (required)
.... contributedToDeath 0..1booleanWhether the condition contributed to the cause of death
.... onset[x] 1..1RangeWhen condition first manifested
..... id 0..1idUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... low Σ1..1SimpleQuantityLow limit
..... high Σ0..1SimpleQuantityHigh limit
.... note 0..*AnnotationExtra information about condition

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
FamilyMemberHistory.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
FamilyMemberHistory.statusrequiredFamilyHistoryStatus
FamilyMemberHistory.dataAbsentReasonexampleFamilyHistoryAbsentReason
FamilyMemberHistory.relationshiprequiredFamilyMember
FamilyMemberHistory.sexrequiredAdministrativeGender
FamilyMemberHistory.reasonCodeexampleSNOMEDCTClinicalFindings
FamilyMemberHistory.condition.coderequiredBRCID10 (a valid code from Classificação Internacional de Doenças - Décima Revisão - CID-10)
FamilyMemberHistory.condition.outcomerequiredConditionOutcomeCodes

Constraints

IdGradePath(s)DetailsRequirements
dom-r4bwarningFamilyMemberHistory.containedContaining 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-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from FamilyMemberHistory

Summary

Mandatory: 6 elements

Differential View

This structure is derived from FamilyMemberHistory

NameFlagsCard.TypeDescription & Constraintsdoco
.. FamilyMemberHistory C0..*FamilyMemberHistoryInformation about patient's relatives, relevant for patient
fhs-1: Can have age[x] or born[x], but not both
fhs-2: Can only have estimatedAge if age[x] is present
... date 1..1dateTimeWhen history was recorded or last updated
... name 1..1stringThe family member described
... relationship 1..1CodeableConceptRelationship to the subject
Binding: FamilyMember (required)
... born[x] 0..1date(approximate) date of birth
... age[x] 0..1Age(approximate) age
... deceased[x] 0..1dateDead? How old/when?
... condition 1..*BackboneElementCondition that the related person had
.... code 1..1CodeableConceptCondition suffered by relation
Binding: BRCID10 (required)
.... outcome 0..1CodeableConceptdeceased | permanent disability | etc.
Binding: ConditionOutcomeCodes (required)
.... onset[x] 1..1RangeWhen condition first manifested
..... low 1..1SimpleQuantityLow limit

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
FamilyMemberHistory.relationshiprequiredFamilyMember
FamilyMemberHistory.sexrequiredAdministrativeGender
FamilyMemberHistory.condition.coderequiredBRCID10 (a valid code from Classificação Internacional de Doenças - Décima Revisão - CID-10)
FamilyMemberHistory.condition.outcomerequiredConditionOutcomeCodes

Constraints

IdGradePath(s)DetailsRequirements
fhs-1errorFamilyMemberHistoryCan have age[x] or born[x], but not both
:
fhs-2errorFamilyMemberHistoryCan only have estimatedAge if age[x] is present
:

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. FamilyMemberHistory C0..*FamilyMemberHistoryInformation about patient's relatives, relevant for patient
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... status ?!Σ1..1codepartial | completed | entered-in-error | health-unknown
Binding: FamilyHistoryStatus (required): A code that identifies the status of the family history record.

... date Σ1..1dateTimeWhen history was recorded or last updated
... name Σ1..1stringThe family member described
... relationship Σ1..1CodeableConceptRelationship to the subject
Binding: FamilyMember (required)
... sex Σ1..1CodeableConceptmale | female | other | unknown
Binding: AdministrativeGender (required)
... born[x] C0..1date(approximate) date of birth
... age[x] ΣC0..1Age(approximate) age
... deceased[x] Σ0..1dateDead? How old/when?
... condition 1..*BackboneElementCondition that the related person had
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... code 1..1CodeableConceptCondition suffered by relation
Binding: BRCID10 (required)
.... outcome 0..1CodeableConceptdeceased | permanent disability | etc.
Binding: ConditionOutcomeCodes (required)
.... onset[x] 1..1RangeWhen condition first manifested
..... low Σ1..1SimpleQuantityLow limit

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
FamilyMemberHistory.statusrequiredFamilyHistoryStatus
FamilyMemberHistory.relationshiprequiredFamilyMember
FamilyMemberHistory.sexrequiredAdministrativeGender
FamilyMemberHistory.condition.coderequiredBRCID10 (a valid code from Classificação Internacional de Doenças - Décima Revisão - CID-10)
FamilyMemberHistory.condition.outcomerequiredConditionOutcomeCodes

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorFamilyMemberHistoryIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorFamilyMemberHistoryIf 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-4errorFamilyMemberHistoryIf 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-5errorFamilyMemberHistoryIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceFamilyMemberHistoryA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
fhs-1errorFamilyMemberHistoryCan have age[x] or born[x], but not both
: age.empty() or born.empty()
fhs-2errorFamilyMemberHistoryCan only have estimatedAge if age[x] is present
: age.exists() or estimatedAge.empty()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. FamilyMemberHistory C0..*FamilyMemberHistoryInformation about patient's relatives, relevant for patient
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierExternal Id(s) for this record
... instantiatesCanonical Σ0..*canonical(PlanDefinition | Questionnaire | ActivityDefinition | Measure | OperationDefinition)Instantiates FHIR protocol or definition
... instantiatesUri Σ0..*uriInstantiates external protocol or definition
... status ?!Σ1..1codepartial | completed | entered-in-error | health-unknown
Binding: FamilyHistoryStatus (required): A code that identifies the status of the family history record.

... dataAbsentReason Σ0..1CodeableConceptsubject-unknown | withheld | unable-to-obtain | deferred
Binding: FamilyHistoryAbsentReason (example): Codes describing the reason why a family member's history is not available.

... patient Σ1..1Reference(Patient)Patient history is about
... date Σ1..1dateTimeWhen history was recorded or last updated
... name Σ1..1stringThe family member described
... relationship Σ1..1CodeableConceptRelationship to the subject
Binding: FamilyMember (required)
... sex Σ1..1CodeableConceptmale | female | other | unknown
Binding: AdministrativeGender (required)
... born[x] C0..1date(approximate) date of birth
... age[x] ΣC0..1Age(approximate) age
... estimatedAge ΣC0..1booleanAge is estimated?
... deceased[x] Σ0..1dateDead? How old/when?
... reasonCode Σ0..*CodeableConceptWhy 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..*AnnotationGeneral note about related person
... condition 1..*BackboneElementCondition that the related person had
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... code 1..1CodeableConceptCondition suffered by relation
Binding: BRCID10 (required)
.... outcome 0..1CodeableConceptdeceased | permanent disability | etc.
Binding: ConditionOutcomeCodes (required)
.... contributedToDeath 0..1booleanWhether the condition contributed to the cause of death
.... onset[x] 1..1RangeWhen condition first manifested
..... id 0..1idUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... low Σ1..1SimpleQuantityLow limit
..... high Σ0..1SimpleQuantityHigh limit
.... note 0..*AnnotationExtra information about condition

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
FamilyMemberHistory.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
FamilyMemberHistory.statusrequiredFamilyHistoryStatus
FamilyMemberHistory.dataAbsentReasonexampleFamilyHistoryAbsentReason
FamilyMemberHistory.relationshiprequiredFamilyMember
FamilyMemberHistory.sexrequiredAdministrativeGender
FamilyMemberHistory.reasonCodeexampleSNOMEDCTClinicalFindings
FamilyMemberHistory.condition.coderequiredBRCID10 (a valid code from Classificação Internacional de Doenças - Décima Revisão - CID-10)
FamilyMemberHistory.condition.outcomerequiredConditionOutcomeCodes

Constraints

IdGradePath(s)DetailsRequirements
dom-r4bwarningFamilyMemberHistory.containedContaining 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-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from FamilyMemberHistory

Summary

Mandatory: 6 elements

 

Other representations of profile: CSV, Excel, Schematron