PackagesCanonicalsLogsProblems
    Packages
    hl7.cda.us.ccda@4.0.0-ballot
    http://hl7.org/cda/us/ccda/StructureDefinition/FamilyHistoryOrganizer
description: The Family History Organizer associates a set of observations with a family member. For example, the Family History Organizer can group a set of observations about the patient's father.
package_name: hl7.cda.us.ccda
derivation: constraint
name: FamilyHistoryOrganizer
type: http://hl7.org/cda/stds/core/StructureDefinition/Organizer
elements:
  templateId:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: root, type: value}
      - {path: extension, type: value}
      min: 1
      slices:
        family-history-org:
          match: {root: 2.16.840.1.113883.10.20.22.4.45, extension: '2015-08-01'}
          schema:
            _required: true
            index: 1
            elements:
              root:
                pattern: {type: String, value: 2.16.840.1.113883.10.20.22.4.45}
                index: 2
              extension:
                pattern: {type: String, value: '2015-08-01'}
                index: 3
            required: [root, extension]
            extensions: {}
  classCode:
    pattern: {type: Code, value: CLUSTER}
    index: 4
  moodCode: {index: 5}
  id: {index: 6}
  sdtcText:
    short: SHOULD reference the portion of section narrative text corresponding to this entry
    index: 7
    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/FamilyHistoryOrganizer', severity: error, expression: value.exists() implies value.startsWith('#')}
        index: 8
  statusCode:
    index: 9
    elements:
      code:
        pattern: {type: Code, value: completed}
        index: 10
    required: [code]
  subject:
    index: 11
    elements:
      relatedSubject:
        constraint:
          should-subject: {human: SHOULD contain subject, source: 'http://hl7.org/cda/us/ccda/StructureDefinition/FamilyHistoryOrganizer', severity: warning, expression: subject.exists()}
        index: 12
        elements:
          classCode:
            pattern: {type: Code, value: PRS}
            index: 13
          code:
            binding: {strength: preferred, valueSet: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.19579'}
            index: 14
          subject:
            constraint:
              should-birthTime: {human: SHOULD contain birthTime, source: 'http://hl7.org/cda/us/ccda/StructureDefinition/FamilyHistoryOrganizer', severity: warning, expression: birthTime.exists()}
              should-sdtcId: {human: SHOULD contain sdtcId, source: 'http://hl7.org/cda/us/ccda/StructureDefinition/FamilyHistoryOrganizer', severity: warning, expression: sdtcId.exists()}
            index: 15
            elements:
              sdtcId: {short: 'SHOULD contain sdtc:id', index: 16}
              administrativeGenderCode:
                binding: {strength: required, valueSet: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.1'}
                index: 17
              birthTime: {short: 'The age of a relative at the time of a family history observation **SHOULD** be inferred by comparing RelatedSubject/subject/birthTime with Observation/effectiveTime (CONF:1198-15983).', index: 18}
              sdtcDeceasedInd: {short: 'MAY contain sdtc:deceasedInd', index: 19}
              sdtcDeceasedTime: {short: 'MAY contain sdtc:deceasedTime', index: 20}
            required: [administrativeGenderCode]
        required: [classCode, code]
  component:
    index: 21
    elements:
      observation: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Observation', index: 22}
    required: [observation]
package_version: 4.0.0-ballot
class: logical
kind: logical
url: http://hl7.org/cda/us/ccda/StructureDefinition/FamilyHistoryOrganizer
base: http://hl7.org/cda/stds/core/StructureDefinition/Organizer
version: 4.0.0-ballot
required: [component, id, subject, templateId]