us-quality-core-familymemberhistory
type: StructureDefinition
node role: treeRoot
id:
  v: us-quality-core-familymemberhistory
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition us-quality-core-familymemberhistory Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> FamilyMemberHistory 0..* FamilyMemberHistory Information about patient's relatives, relevant for patient #xD; patient 1..1 Reference(US Quality Core Patient) Patient history is about #xD; date 0..1 dateTime When history was recorded or last updated #xD; relationship 1..1 CodeableConcept Relationship to the subject Binding: V3 Value SetFamilyMember (preferred) #xD; age[x] 0..1 Age, Range, string (approximate) age #xD; deceased[x] 0..1 boolean, Age, Range, date, string Dead? How old/when? #xD; condition 0..* BackboneElement Condition that the related person had #xD; Slices for extension Content/Rules for all slices #xD; extension:condition-abatement 0..1 date, Age, boolean When (or if) the family member's condition resolved URL: http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement #xD; extension:condition-severity 0..1 CodeableConcept The seriousness of the family member condition URL: http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity Binding: Condition/DiagnosisSeverity (example): A subjective assessment of the severity of the condition as evaluated by the clinician. #xD; code 1..1 CodeableConcept (USCDI+ Quality) Condition suffered by relation Binding: Condition/Problem/DiagnosisCodes (extensible): Identification of the Condition or diagnosis. #xD; onset[x] 0..1 Age, Range, Period, string When condition first manifested #xD; <img src="[binary]" alt="doco" style="background-color: inherit"/> Documentation for this format
url:
  v: http://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-familymemberhistory
  l: us-quality-core-familymemberhistory
version:
  v: 0.5.0
name:
  v: USQualityCoreFamilyMemberHistory
title:
  v: US Quality Core FamilyMemberHistory
status:
  v: active
experimental:
  v: false
date:
  v: 2026-06-05
publisher:
  v: Office of the National Coordinator for Health Information Technology (ONC)
contact:
  name:
    v: Office of the National Coordinator for Health Information Technology (ONC)
  telecom:
    system:
      v: url
    value:
      v: https://www.healthit.gov/feedback
description:
  v: Profile of Family Member History for decision support/quality metrics. Defines the core set of elements and extensions for quality rule and measure authors.
jurisdiction:
  coding:
    system:
      v: urn:iso:std:iso:3166
      l: 3166
    code:
      v: US
    display:
      v: United States of America
  text:
    v: USA
fhir version:
  v: 4.0.1
mapping:
  identity:
    v: workflow
  uri:
    v: http://hl7.org/fhir/workflow
    l: workflow
  name:
    v: Workflow Pattern
mapping:
  identity:
    v: v2
  uri:
    v: http://hl7.org/v2
    l: v2
  name:
    v: HL7 v2 Mapping
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
    l: v3
  name:
    v: RIM Mapping
mapping:
  identity:
    v: w5
  uri:
    v: http://hl7.org/fhir/fivews
    l: fivews
  name:
    v: FiveWs Pattern Mapping
kind:
  v: resource
abstract:
  v: false
type:
  v: FamilyMemberHistory
  l: FamilyMemberHistory
base definition:
  v: http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory
  l: FamilyMemberHistory
derivation:
  v: constraint
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 4.0.1
  element:
    id:
      v: FamilyMemberHistory
    path:
      v: FamilyMemberHistory
    short:
      v: Information about patient's relatives, relevant for patient
    definition:
      v: Significant health conditions for a person related to the patient relevant in the context of care for the patient.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: FamilyMemberHistory
      min:
        v: 0
      max:
        v: *
    constraint:
      key:
        v: dom-2
      severity:
        v: error
      human:
        v: If the resource is contained in another resource, it SHALL NOT contain nested Resources
      expression:
        v: contained.contained.empty()
      xpath:
        v: not(parent::f:contained and f:contained)
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      key:
        v: dom-3
      severity:
        v: error
      human:
        v: 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
      expression:
        v: 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()
      xpath:
        v: not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      key:
        v: dom-4
      severity:
        v: error
      human:
        v: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
      expression:
        v: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
      xpath:
        v: not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      key:
        v: dom-5
      severity:
        v: error
      human:
        v: If a resource is contained in another resource, it SHALL NOT have a security label
      expression:
        v: contained.meta.security.empty()
      xpath:
        v: not(exists(f:contained/*/f:meta/f:security))
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      extension:
        value: Boolean
      extension:
        value: Markdown
      key:
        v: dom-6
      severity:
        v: warning
      human:
        v: A resource should have narrative for robust management
      expression:
        v: text.`div`.exists()
      xpath:
        v: exists(f:text/h:div)
      source:
        v: http://hl7.org/fhir/StructureDefinition/DomainResource
        l: DomainResource
    constraint:
      key:
        v: fhs-1
      severity:
        v: error
      human:
        v: Can have age[x] or born[x], but not both
      expression:
        v: age.empty() or born.empty()

Boolean
v: true

Markdown
v: When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time.

v: not (*[starts-with(local-name(.), 'age')] and *[starts-with(local-name(.), 'birth')])

key:
  v: fhs-2
severity:
  v: error
human:
  v: Can only have estimatedAge if age[x] is present
expression:
  v: age.exists() or estimatedAge.empty()
xpath:
  v: exists(*[starts-with(local-name(.), 'age')]) or not(exists(f:estimatedAge))
source:
  v: http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory
  l: FamilyMemberHistory

v: false

v: false

identity:
  v: rim
map:
  v: Entity. Role, or Act

identity:
  v: workflow
map:
  v: Event

identity:
  v: v2
map:
  v: Not in scope for v2

identity:
  v: rim
map:
  v: Observation[classCode=OBS, moodCode=EVN]

id:
  v: FamilyMemberHistory.id
path:
  v: FamilyMemberHistory.id
short:
  v: Logical id of this artifact
definition:
  v: The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
comment:
  v: The only time that a resource does not have an id is when it is being submitted to the server using a create operation.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: id
      l: id
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: true

id:
  v: FamilyMemberHistory.meta
path:
  v: FamilyMemberHistory.meta
short:
  v: Metadata about the resource
definition:
  v: The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.meta
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Meta
    l: Meta
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true

id:
  v: FamilyMemberHistory.implicitRules
path:
  v: FamilyMemberHistory.implicitRules
short:
  v: A set of rules under which this content was created
definition:
  v: A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.
comment:
  v: Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.implicitRules
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: true
is modifier reason:
  v: This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation
is summary:
  v: true

id:
  v: FamilyMemberHistory.language
path:
  v: FamilyMemberHistory.language
short:
  v: Language of the resource content
definition:
  v: The base language in which the resource is written.
comment:
  v: Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.language
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet
      l: elementdefinition-maxValueSet
    value: Canonical
      v: http://hl7.org/fhir/ValueSet/all-languages
      l: all-languages
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: Language
  strength:
    v: preferred
  description:
    v: A human language.
  value set:
    v: http://hl7.org/fhir/ValueSet/languages|4.0.1
    l: http://hl7.org/fhir/ValueSet/languages

id:
  v: FamilyMemberHistory.text
path:
  v: FamilyMemberHistory.text
short:
  v: Text summary of the resource, for human interpretation
definition:
  v: A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.
comment:
  v: Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later.
alias:
  v: narrative
alias:
  v: html
alias:
  v: xhtml
alias:
  v: display
min:
  v: 0
max:
  v: 1
base:
  path:
    v: DomainResource.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Narrative
    l: Narrative
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: Act.text?

id:
  v: FamilyMemberHistory.contained
path:
  v: FamilyMemberHistory.contained
short:
  v: Contained, inline Resources
definition:
  v: These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.
comment:
  v: This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.
alias:
  v: inline resources
alias:
  v: anonymous resources
alias:
  v: contained resources
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.contained
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Resource
    l: Resource
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: FamilyMemberHistory.extension
path:
  v: FamilyMemberHistory.extension
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: FamilyMemberHistory.modifierExtension
path:
  v: FamilyMemberHistory.modifierExtension
short:
  v: Extensions that cannot be ignored
definition:
  v: May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: DomainResource.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: FamilyMemberHistory.identifier
path:
  v: FamilyMemberHistory.identifier
short:
  v: External Id(s) for this record
definition:
  v: Business identifiers assigned to this family member history by the performer or other systems which remain constant as the resource is updated and propagates from server to server.
comment:
  v: This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4/resource.html#identifiers)). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and a Person resource instance might share the same social insurance number.
requirements:
  v: Allows identification of the family member history as it is known by various participating systems and in a way that remains consistent across servers.
min:
  v: 0
max:
  v: *
base:
  path:
    v: FamilyMemberHistory.identifier
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Identifier
    l: Identifier
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.identifier
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.identifier
mapping:
  identity:
    v: rim
  map:
    v: id

id:
  v: FamilyMemberHistory.instantiatesCanonical
path:
  v: FamilyMemberHistory.instantiatesCanonical
short:
  v: Instantiates FHIR protocol or definition
definition:
  v: The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this FamilyMemberHistory.
min:
  v: 0
max:
  v: *
base:
  path:
    v: FamilyMemberHistory.instantiatesCanonical
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: canonical
    l: canonical
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/PlanDefinition|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/PlanDefinition
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Questionnaire|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Questionnaire
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/ActivityDefinition|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/ActivityDefinition
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Measure|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Measure
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/OperationDefinition|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/OperationDefinition
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.instantiatesCanonical
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=DEFN].target

id:
  v: FamilyMemberHistory.instantiatesUri
path:
  v: FamilyMemberHistory.instantiatesUri
short:
  v: Instantiates external protocol or definition
definition:
  v: The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this FamilyMemberHistory.
comment:
  v: This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier.
min:
  v: 0
max:
  v: *
base:
  path:
    v: FamilyMemberHistory.instantiatesUri
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: uri
    l: uri
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.instantiatesUri
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=DEFN].target

id:
  v: FamilyMemberHistory.status
path:
  v: FamilyMemberHistory.status
short:
  v: partial | completed | entered-in-error | health-unknown
definition:
  v: A code specifying the status of the record of the family history of a specific family member.
comment:
  v: This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: FamilyMemberHistory.status
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: true
is modifier reason:
  v: This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: FamilyHistoryStatus
  strength:
    v: required
  description:
    v: A code that identifies the status of the family history record.
  value set:
    v: http://hl7.org/fhir/ValueSet/history-status|4.0.1
    l: http://hl7.org/fhir/ValueSet/history-status
mapping:
  identity:
    v: workflow
  map:
    v: Event.status
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.status

id:
  v: FamilyMemberHistory.dataAbsentReason
path:
  v: FamilyMemberHistory.dataAbsentReason
short:
  v: subject-unknown | withheld | unable-to-obtain | deferred
definition:
  v: Describes why the family member's history is not available.
requirements:
  v: This is a separate element to allow it to have a distinct binding from reasonCode.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: FamilyMemberHistory.dataAbsentReason
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: FamilyHistoryAbsentReason
  strength:
    v: example
  description:
    v: Codes describing the reason why a family member's history is not available.
  value set:
    v: http://hl7.org/fhir/ValueSet/history-absent-reason|4.0.1
    l: http://hl7.org/fhir/ValueSet/history-absent-reason
mapping:
  identity:
    v: rim
  map:
    v: .reasonCode

id:
  v: FamilyMemberHistory.patient
path:
  v: FamilyMemberHistory.patient
short:
  v: Patient history is about
definition:
  v: The person who this history concerns.
alias:
  v: Proband
min:
  v: 1
max:
  v: 1
base:
  path:
    v: FamilyMemberHistory.patient
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-patient
    l: us-quality-core-patient
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.subject
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.subject[x]
mapping:
  identity:
    v: rim
  map:
    v: participation[typeCode=SBJ].role
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.subject

id:
  v: FamilyMemberHistory.date
path:
  v: FamilyMemberHistory.date
short:
  v: When history was recorded or last updated
definition:
  v: The date (and possibly time) when the family member history was recorded or last updated.
comment:
  v: This should be captured even if the same as the date on the List aggregating the full family history.
requirements:
  v: Allows determination of how current the summary is.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: FamilyMemberHistory.date
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.recorded
mapping:
  identity:
    v: rim
  map:
    v: participation[typeCode=AUT].time

id:
  v: FamilyMemberHistory.name
path:
  v: FamilyMemberHistory.name
short:
  v: The family member described
definition:
  v: This will either be a name or a description; e.g. "Aunt Susan", "my cousin with the red hair".
requirements:
  v: Allows greater ease in ensuring the same person is being talked about.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: FamilyMemberHistory.name
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: name

id:
  v: FamilyMemberHistory.relationship
path:
  v: FamilyMemberHistory.relationship
short:
  v: Relationship to the subject
definition:
  v: The type of relationship this person has to the patient (father, mother, brother etc.).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: FamilyMemberHistory.relationship
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
binding:
  strength:
    v: preferred
  value set:
    v: http://terminology.hl7.org/ValueSet/v3-FamilyMember
    l: v3-FamilyMember
mapping:
  identity:
    v: rim
  map:
    v: code

id:
  v: FamilyMemberHistory.sex
path:
  v: FamilyMemberHistory.sex
short:
  v: male | female | other | unknown
definition:
  v: The birth sex of the family member.
comment:
  v: This element should ideally reflect whether the individual is genetically male or female. However, as reported information based on the knowledge of the patient or reporting friend/relative, there may be situations where the reported sex might not be totally accurate. E.g. 'Aunt Sue' might be XY rather than XX. Questions soliciting this information should be phrased to encourage capture of genetic sex where known. However, systems performing analysis should also allow for the possibility of imprecision with this element.
requirements:
  v: Not all relationship codes imply sex and the relative's sex can be relevant for risk assessments.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: FamilyMemberHistory.sex
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: Sex
  strength:
    v: extensible
  description:
    v: Codes describing the sex assigned at birth as documented on the birth registration.
  value set:
    v: http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1
    l: http://hl7.org/fhir/ValueSet/administrative-gender

id:
  v: FamilyMemberHistory.born[x]
path:
  v: FamilyMemberHistory.born[x]
short:
  v: (approximate) date of birth
definition:
  v: The actual or approximate date of birth of the relative.
requirements:
  v: Allows calculation of the relative's age.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: FamilyMemberHistory.born[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
    l: Period
type:
  code:
    v: date
    l: date
type:
  code:
    v: string
    l: string
condition:
  v: fhs-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: player[classCode=LIV, determinerCode=INSTANCE]. birthDate (could be URG)

id:
  v: FamilyMemberHistory.age[x]
path:
  v: FamilyMemberHistory.age[x]
short:
  v: (approximate) age
definition:
  v: The age of the relative at the time the family member history is recorded.
comment:
  v: use estimatedAge to indicate whether the age is actual or not.
requirements:
  v: While age can be calculated from date of birth, sometimes recording age directly is more natural for clinicians.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: FamilyMemberHistory.age[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Age
    l: Age
type:
  code:
    v: Range
    l: Range
type:
  code:
    v: string
    l: string
condition:
  v: fhs-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: participation[typeCode=SBJ].act[classCode=OBS,moodCode=EVN, code="age"].value

id:
  v: FamilyMemberHistory.estimatedAge
path:
  v: FamilyMemberHistory.estimatedAge
short:
  v: Age is estimated?
definition:
  v: If true, indicates that the age value specified is an estimated value.
comment:
  v: This element is labeled as a modifier because the fact that age is estimated can/should change the results of any algorithm that calculates based on the specified age.
requirements:
  v: Clinicians often prefer to specify an estimaged age rather than an age range.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: FamilyMemberHistory.estimatedAge
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
meaning when missing:
  v: It is unknown whether the age is an estimate or not
condition:
  v: fhs-2
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true

id:
  v: FamilyMemberHistory.deceased[x]
path:
  v: FamilyMemberHistory.deceased[x]
short:
  v: Dead? How old/when?
definition:
  v: Deceased flag or the actual or approximate age of the relative at the time of death for the family member history record.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: FamilyMemberHistory.deceased[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
type:
  code:
    v: Age
    l: Age
type:
  code:
    v: Range
    l: Range
type:
  code:
    v: date
    l: date
type:
  code:
    v: string
    l: string
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: player[classCode=LIV, determinerCode=INSTANCE].deceasedInd, deceasedDate (could be URG) For age, you'd hang an observation off the role

id:
  v: FamilyMemberHistory.reasonCode
path:
  v: FamilyMemberHistory.reasonCode
short:
  v: Why was family member history performed?
definition:
  v: Describes why the family member history occurred in coded or textual form.
comment:
  v: Textual reasons can be captured using reasonCode.text.
min:
  v: 0
max:
  v: *
base:
  path:
    v: FamilyMemberHistory.reasonCode
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: FamilyHistoryReason
  strength:
    v: example
  description:
    v: Codes indicating why the family member history was done.
  value set:
    v: http://hl7.org/fhir/ValueSet/clinical-findings|4.0.1
    l: http://hl7.org/fhir/ValueSet/clinical-findings
mapping:
  identity:
    v: workflow
  map:
    v: Event.reasonCode
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.why[x]
mapping:
  identity:
    v: rim
  map:
    v: .reasonCode

id:
  v: FamilyMemberHistory.reasonReference
path:
  v: FamilyMemberHistory.reasonReference
short:
  v: Why was family member history performed?
definition:
  v: Indicates a Condition, Observation, AllergyIntolerance, or QuestionnaireResponse that justifies this family member history event.
min:
  v: 0
max:
  v: *
base:
  path:
    v: FamilyMemberHistory.reasonReference
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Condition|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Condition
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Observation|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/Observation
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/AllergyIntolerance
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/DiagnosticReport|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/DiagnosticReport
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/DocumentReference|4.0.1
    l: http://hl7.org/fhir/StructureDefinition/DocumentReference
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: true
mapping:
  identity:
    v: workflow
  map:
    v: Event.reasonReference
mapping:
  identity:
    v: w5
  map:
    v: FiveWs.why[x]
mapping:
  identity:
    v: rim
  map:
    v: .outboundRelationship[typeCode=RSON].target

id:
  v: FamilyMemberHistory.note
path:
  v: FamilyMemberHistory.note
short:
  v: General note about related person
definition:
  v: This property allows a non condition-specific note to the made about the related person. Ideally, the note would be in the condition property, but this is not always possible.
min:
  v: 0
max:
  v: *
base:
  path:
    v: FamilyMemberHistory.note
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Annotation
    l: Annotation
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: workflow
  map:
    v: Event.note
mapping:
  identity:
    v: rim
  map:
    v: inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=ActCode#ANNGEN].value

id:
  v: FamilyMemberHistory.condition
path:
  v: FamilyMemberHistory.condition
short:
  v: Condition that the related person had
definition:
  v: The significant Conditions (or condition) that the family member had. This is a repeating section to allow a system to represent more than one condition per resource, though there is nothing stopping multiple resources - one per condition.
min:
  v: 0
max:
  v: *
base:
  path:
    v: FamilyMemberHistory.condition
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=ActCode#ASSERTION, value<Diagnosis]

id:
  v: FamilyMemberHistory.condition.id
path:
  v: FamilyMemberHistory.condition.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: string
      l: string
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: FamilyMemberHistory.condition.extension
path:
  v: FamilyMemberHistory.condition.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false

id:
  v: FamilyMemberHistory.condition.extension:condition-abatement
path:
  v: FamilyMemberHistory.condition.extension
slice name:
  v: condition-abatement
short:
  v: When (or if) the family member's condition resolved
definition:
  v: The approximate date, age, or flag indicating that the condition of the family member resolved. The abatement should only be specified if the condition is stated in the positive sense, i.e., the didNotHave flag is false.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement
    l: familymemberhistory-abatement
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false

id:
  v: FamilyMemberHistory.condition.extension:condition-severity
path:
  v: FamilyMemberHistory.condition.extension
slice name:
  v: condition-severity
short:
  v: The seriousness of the family member condition
definition:
  v: A qualification of the seriousness or impact on health of the family member condition.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
  profile:
    v: http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity
    l: familymemberhistory-severity
condition:
  v: ele-1
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false

id:
  v: FamilyMemberHistory.condition.modifierExtension
path:
  v: FamilyMemberHistory.condition.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: FamilyMemberHistory.condition.code
extension:
  url:
    v: http://fhir.org/guides/onc/us-quality-core/StructureDefinition/uscdiplusquality
    l: uscdiplusquality
  value: Boolean
    v: true
path:
  v: FamilyMemberHistory.condition.code
short:
  v: (USCDI+ Quality) Condition suffered by relation
definition:
  v: The actual condition specified. Could be a coded condition (like MI or Diabetes) or a less specific string like 'cancer' depending on how much is known about the condition and the capabilities of the creating system.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: FamilyMemberHistory.condition.code
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
binding:
  strength:
    v: extensible
  description:
    v: Identification of the Condition or diagnosis.
  value set:
    v: http://hl7.org/fhir/ValueSet/condition-code
    l: condition-code
mapping:
  identity:
    v: rim
  map:
    v: .value

id:
  v: FamilyMemberHistory.condition.outcome
path:
  v: FamilyMemberHistory.condition.outcome
short:
  v: deceased | permanent disability | etc.
definition:
  v: Indicates what happened following the condition. If the condition resulted in death, deceased date is captured on the relation.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: FamilyMemberHistory.condition.outcome
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: ConditionOutcome
  strength:
    v: example
  description:
    v: The result of the condition for the patient; e.g. death, permanent disability, temporary disability, etc.
  value set:
    v: http://hl7.org/fhir/ValueSet/condition-outcome|4.0.1
    l: http://hl7.org/fhir/ValueSet/condition-outcome
mapping:
  identity:
    v: rim
  map:
    v: outboundRelationship[typeCode=OUTC)].target[classCode=OBS, moodCode=EVN, code=ActCode#ASSERTION].value

id:
  v: FamilyMemberHistory.condition.contributedToDeath
path:
  v: FamilyMemberHistory.condition.contributedToDeath
short:
  v: Whether the condition contributed to the cause of death
definition:
  v: This condition contributed to the cause of death of the related person. If contributedToDeath is not populated, then it is unknown.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: FamilyMemberHistory.condition.contributedToDeath
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: boolean
    l: boolean
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false

id:
  v: FamilyMemberHistory.condition.onset[x]
path:
  v: FamilyMemberHistory.condition.onset[x]
short:
  v: When condition first manifested
definition:
  v: Either the age of onset, range of approximate age or descriptive string can be recorded. For conditions with multiple occurrences, this describes the first known occurrence.
requirements:
  v: Age of onset of a condition in relatives is predictive of risk for the patient.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: FamilyMemberHistory.condition.onset[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Age
    l: Age
type:
  code:
    v: Range
    l: Range
type:
  code:
    v: Period
    l: Period
type:
  code:
    v: string
    l: string
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="Subject Age at measurement", value<Diagnosis].value[@xsi:typeCode='TS' or 'IVL_TS'] Use originalText for string

id:
  v: FamilyMemberHistory.condition.note
path:
  v: FamilyMemberHistory.condition.note
short:
  v: Extra information about condition
definition:
  v: An area where general notes can be placed about this specific condition.
min:
  v: 0
max:
  v: *
base:
  path:
    v: FamilyMemberHistory.condition.note
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Annotation
    l: Annotation
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=ActCode#ANNGEN].value

element:
  id:
    v: FamilyMemberHistory
  path:
    v: FamilyMemberHistory
element:
  id:
    v: FamilyMemberHistory.patient
  path:
    v: FamilyMemberHistory.patient
  short:
    v: Patient history is about
  type:
    code:
      v: Reference
      l: Reference
    target profile:
      v: http://fhir.org/guides/onc/us-quality-core/StructureDefinition/us-quality-core-patient
      l: us-quality-core-patient
element:
  id:
    v: FamilyMemberHistory.date
  path:
    v: FamilyMemberHistory.date
  short:
    v: When history was recorded or last updated
element:
  id:
    v: FamilyMemberHistory.relationship
  path:
    v: FamilyMemberHistory.relationship
  short:
    v: Relationship to the subject
  binding:
    strength:
      v: preferred
    value set:
      v: http://terminology.hl7.org/ValueSet/v3-FamilyMember
      l: v3-FamilyMember
element:
  id:
    v: FamilyMemberHistory.age[x]
  path:
    v: FamilyMemberHistory.age[x]
  short:
    v: (approximate) age
element:
  id:
    v: FamilyMemberHistory.deceased[x]
  path:
    v: FamilyMemberHistory.deceased[x]
  short:
    v: Dead? How old/when?
element:
  id:
    v: FamilyMemberHistory.condition
  path:
    v: FamilyMemberHistory.condition
  must support:
    v: false
element:
  id:
    v: FamilyMemberHistory.condition.extension:condition-abatement
  path:
    v: FamilyMemberHistory.condition.extension
  slice name:
    v: condition-abatement
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Extension
      l: Extension
    profile:
      v: http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement
      l: familymemberhistory-abatement
  must support:
    v: false
element:
  id:
    v: FamilyMemberHistory.condition.extension:condition-severity
  path:
    v: FamilyMemberHistory.condition.extension
  slice name:
    v: condition-severity
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Extension
      l: Extension
    profile:
      v: http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity
      l: familymemberhistory-severity
  must support:
    v: false
  binding:
    strength:
      v: preferred
    description:
      v: Valueset to identify the severity of the problem
    value set:
      v: http://hl7.org/fhir/ValueSet/condition-severity
      l: condition-severity
element:
  id:
    v: FamilyMemberHistory.condition.code
  extension:
    url:
      v: http://fhir.org/guides/onc/us-quality-core/StructureDefinition/uscdiplusquality
      l: uscdiplusquality
    value: Boolean
      v: true
  path:
    v: FamilyMemberHistory.condition.code
  short:
    v: (USCDI+ Quality) Condition suffered by relation
  binding:
    strength:
      v: extensible
    description:
      v: Identification of the Condition or diagnosis.
    value set:
      v: http://hl7.org/fhir/ValueSet/condition-code
      l: condition-code
element:
  id:
    v: FamilyMemberHistory.condition.onset[x]
  path:
    v: FamilyMemberHistory.condition.onset[x]
  must support:
    v: false