PackagesCanonicalsLogsProblems
    Packages
    rs/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: rs/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}
                type: code
                index: 17
              inversionInd:
                pattern: {type: boolean, value: true}
                type: boolean
                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}
                type: code
                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}
    type: code
    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}
    type: code
    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}
                type: string
                index: 2
              extension:
                pattern: {type: string, value: '2015-08-01'}
                type: string
                index: 3
            required: [extension, root]
            extensions: {}
  statusCode:
    index: 11
    elements:
      code:
        pattern: {type: code, value: completed}
        type: code
        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, statusCode, templateId, value]