PackagesCanonicalsLogsProblems
    Packages
    hl7.cda.us.ccda@3.0.0-ballot
    http://hl7.org/cda/us/ccda/StructureDefinition/FamilyHistoryObservation
description: Family History Observations related to a particular family member are contained within a Family History Organizer. The effectiveTime in the Family History Observation is the biologically or clinically relevant time of the observation. The biologically or clinically relevant time is the time at which the observation holds (is effective) for the family member (the subject of the observation).
package_name: hl7.cda.us.ccda
derivation: constraint
name: FamilyHistoryObservation
type: http://hl7.org/cda/stds/core/StructureDefinition/Observation
elements:
  entryRelationship:
    index: 15
    slicing:
      rules: open
      discriminator:
      - {path: observation, type: profile}
      - {path: typeCode, type: value}
      min: null
      slices:
        ageObservation:
          match: {typeCode: SUBJ}
          schema:
            index: 16
            elements:
              typeCode:
                pattern: {type: Code, value: SUBJ}
                index: 17
              inversionInd:
                pattern: {type: Boolean, value: true}
                index: 18
              observation: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Observation', index: 19}
            required: [inversionInd, observation]
        deathObservation:
          match: {typeCode: CAUS}
          schema:
            index: 20
            elements:
              typeCode:
                pattern: {type: Code, value: CAUS}
                index: 21
              observation: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Observation', index: 22}
            required: [observation]
  value:
    type: http://hl7.org/cda/stds/core/StructureDefinition/CD
    binding: {strength: required, valueSet: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.7.4'}
    index: 14
  classCode:
    pattern: {type: Code, value: OBS}
    index: 4
  id: {index: 6}
  code:
    binding: {strength: preferred, valueSet: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.88.12.3221.7.2'}
    index: 7
    elements:
      translation:
        binding: {strength: preferred, valueSet: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.28'}
        index: 8
    required: [translation]
  moodCode:
    pattern: {type: Code, value: EVN}
    index: 5
  effectiveTime: {index: 13}
  templateId:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: root, type: value}
      - {path: extension, type: value}
      min: 1
      slices:
        family-history-obs:
          match: {root: 2.16.840.1.113883.10.20.22.4.46, extension: '2015-08-01'}
          schema:
            _required: true
            index: 1
            elements:
              root:
                pattern: {type: String, value: 2.16.840.1.113883.10.20.22.4.46}
                index: 2
              extension:
                pattern: {type: String, value: '2015-08-01'}
                index: 3
            required: [root, extension]
            extensions: {}
  statusCode:
    index: 11
    elements:
      code:
        pattern: {type: Code, value: completed}
        index: 12
    required: [code]
  text:
    short: SHOULD reference the portion of section narrative text corresponding to this entry
    index: 9
    elements:
      reference:
        constraint:
          value-starts-octothorpe: {human: 'If reference/@value is present, it SHALL begin with a ''#'' and SHALL point to its corresponding narrative', source: 'http://hl7.org/cda/us/ccda/StructureDefinition/FamilyHistoryObservation', severity: error, expression: value.exists() implies value.startsWith('#')}
        index: 10
package_version: 3.0.0-ballot
class: logical
kind: logical
url: http://hl7.org/cda/us/ccda/StructureDefinition/FamilyHistoryObservation
base: http://hl7.org/cda/stds/core/StructureDefinition/Observation
version: 3.0.0-ballot
required: [id, value, statusCode, templateId]