PackagesCanonicalsLogsProblems
    Packages
    rs/hl7.fhir.us.ph@library-1.0.0
    http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-patient
description: This Patient profile represents a US Public Health Patient.
package_name: rs/hl7.fhir.us.ph
derivation: constraint
name: USPublicHealthPatient
type: Patient
elements:
  address:
    index: 42
    extensions:
      dataAbsentReason:
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        type: Extension
        mustSupport: true
        index: 43
        elements:
          value:
            pattern: {type: code, value: masked}
            mustSupport: true
            choices: []
            type: code
            index: 45
    elements:
      extension:
        type: Extension
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        index: 43
        slicing:
          slices:
            dataAbsentReason:
              match: {}
              schema:
                type: Extension
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                index: 43
                elements:
                  value:
                    pattern: {type: code, value: masked}
                    mustSupport: true
                    choices: []
                    type: code
                    index: 45
      district: {short: County, mustSupport: true, index: 46}
  name:
    extensions:
      dataAbsentReason:
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        type: Extension
        mustSupport: true
        index: 18
        elements:
          value:
            pattern: {type: code, value: masked}
            mustSupport: true
            choices: []
            type: code
            index: 20
    elements:
      extension:
        type: Extension
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        index: 18
        slicing:
          slices:
            dataAbsentReason:
              match: {}
              schema:
                type: Extension
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                index: 18
                elements:
                  value:
                    pattern: {type: code, value: masked}
                    mustSupport: true
                    choices: []
                    type: code
                    index: 20
  birthDate:
    index: 35
    extensions:
      dataAbsentReason:
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        type: Extension
        mustSupport: true
        index: 37
        elements:
          value:
            pattern: {type: code, value: masked}
            mustSupport: true
            choices: []
            type: code
            index: 39
    elements:
      extension:
        index: 36
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            dataAbsentReason:
              match: {url: null}
              schema:
                type: Extension
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                index: 37
                elements:
                  value:
                    pattern: {type: code, value: masked}
                    mustSupport: true
                    choices: []
                    type: code
                    index: 39
  deceased:
    short: If patient is deceased, use type dateTime and set to deceased date.
    mustSupport: true
    choices: []
    index: 41
  extension:
    array: true
    min: 2
    index: 0
    slicing:
      slices:
        race:
          match: {}
          schema:
            mustSupport: true
            _required: true
            index: 1
            extensions:
              dataAbsentReason:
                url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                type: Extension
                short: For masking purposes, use the data-absent-reason extension and set the required us-core-race extension text to "masked"
                mustSupport: true
                index: 3
                elements:
                  value:
                    pattern: {type: code, value: masked}
                    mustSupport: true
                    choices: []
                    type: code
                    index: 5
            elements:
              extension:
                index: 2
                slicing:
                  slices:
                    dataAbsentReason:
                      match: {}
                      schema:
                        type: Extension
                        short: For masking purposes, use the data-absent-reason extension and set the required us-core-race extension text to "masked"
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                        index: 3
                        elements:
                          value:
                            pattern: {type: code, value: masked}
                            mustSupport: true
                            choices: []
                            type: code
                            index: 5
            required: [extension]
        ethnicity:
          match: {}
          schema:
            mustSupport: true
            _required: true
            index: 6
            extensions:
              dataAbsentReason:
                url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                type: Extension
                short: For masking purposes, use the data-absent-reason extension and set the required us-core-ethnicity extension text to "masked"
                mustSupport: true
                index: 8
                elements:
                  value:
                    pattern: {type: code, value: masked}
                    mustSupport: true
                    choices: []
                    type: code
                    index: 10
            elements:
              extension:
                index: 7
                slicing:
                  slices:
                    dataAbsentReason:
                      match: {}
                      schema:
                        type: Extension
                        short: For masking purposes, use the data-absent-reason extension and set the required us-core-ethnicity extension text to "masked"
                        mustSupport: true
                        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                        index: 8
                        elements:
                          value:
                            pattern: {type: code, value: masked}
                            mustSupport: true
                            choices: []
                            type: code
                            index: 10
            required: [extension]
        birthsex:
          match: {}
          schema: {mustSupport: true, index: 11}
        birthPlace:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/patient-birthPlace', index: 12}
          min: 0
          max: 1
        individualGenderIdentity:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/individual-genderIdentity', index: 13}
          min: 0
        tribalAffiliation:
          match: {}
          schema: {type: Extension, short: Tribal affiliation and membership of the patient, mustSupport: true, url: 'http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-tribal-affiliation-extension', index: 14}
          min: 0
  communication:
    mustSupport: true
    index: 61
    elements:
      language:
        extensions:
          dataAbsentReason:
            url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
            type: Extension
            mustSupport: true
            index: 62
            elements:
              value:
                pattern: {type: code, value: masked}
                mustSupport: true
                choices: []
                type: code
                index: 64
        elements:
          extension:
            type: Extension
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
            index: 62
            slicing:
              slices:
                dataAbsentReason:
                  match: {}
                  schema:
                    type: Extension
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                    index: 62
                    elements:
                      value:
                        pattern: {type: code, value: masked}
                        mustSupport: true
                        choices: []
                        type: code
                        index: 64
  identifier:
    extensions:
      dataAbsentReason:
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        type: Extension
        index: 15
        elements:
          value:
            pattern: {type: code, value: masked}
            mustSupport: true
            choices: []
            type: code
            index: 17
    elements:
      extension:
        type: Extension
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        index: 15
        slicing:
          slices:
            dataAbsentReason:
              match: {}
              schema:
                type: Extension
                url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                index: 15
                elements:
                  value:
                    pattern: {type: code, value: masked}
                    mustSupport: true
                    choices: []
                    type: code
                    index: 17
  telecom:
    mustSupport: true
    index: 21
    extensions:
      dataAbsentReason:
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        type: Extension
        mustSupport: true
        index: 22
        elements:
          value:
            pattern: {type: code, value: masked}
            mustSupport: true
            choices: []
            type: code
            index: 24
    elements:
      extension:
        type: Extension
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        index: 22
        slicing:
          slices:
            dataAbsentReason:
              match: {}
              schema:
                type: Extension
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                index: 22
                elements:
                  value:
                    pattern: {type: code, value: masked}
                    mustSupport: true
                    choices: []
                    type: code
                    index: 24
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: 1
      slices:
        phone:
          match: {system: phone}
          schema:
            mustSupport: true
            array: true
            index: 25
            extensions:
              dataAbsentReason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', min: 0, max: 1, type: Extension, mustSupport: true, index: 26}
            elements:
              extension:
                type: Extension
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                index: 26
                slicing:
                  slices:
                    dataAbsentReason:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', index: 26}
                      min: 0
                      max: 1
              system:
                pattern: {type: code, value: phone}
                type: code
                index: 27
        email:
          match: {system: email}
          schema:
            mustSupport: true
            array: true
            index: 28
            extensions:
              dataAbsentReason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', min: 0, max: 1, type: Extension, mustSupport: true, index: 29}
            elements:
              extension:
                type: Extension
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                index: 29
                slicing:
                  slices:
                    dataAbsentReason:
                      match: {}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', index: 29}
                      min: 0
                      max: 1
              system:
                pattern: {type: code, value: email}
                type: code
                index: 30
  gender:
    extensions:
      dataAbsentReason:
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        type: Extension
        mustSupport: true
        index: 32
        elements:
          value:
            pattern: {type: code, value: masked}
            mustSupport: true
            choices: []
            type: code
            index: 34
    elements:
      extension:
        index: 31
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            dataAbsentReason:
              match: {url: null}
              schema:
                type: Extension
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                index: 32
                elements:
                  value:
                    pattern: {type: code, value: masked}
                    mustSupport: true
                    choices: []
                    type: code
                    index: 34
  contact:
    mustSupport: true
    index: 47
    elements:
      relationship: {mustSupport: true, index: 48}
      name:
        mustSupport: true
        index: 49
        extensions:
          dataAbsentReason:
            url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
            type: Extension
            mustSupport: true
            index: 50
            elements:
              value:
                pattern: {type: code, value: masked}
                mustSupport: true
                choices: []
                type: code
                index: 52
        elements:
          extension:
            type: Extension
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
            index: 50
            slicing:
              slices:
                dataAbsentReason:
                  match: {}
                  schema:
                    type: Extension
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                    index: 50
                    elements:
                      value:
                        pattern: {type: code, value: masked}
                        mustSupport: true
                        choices: []
                        type: code
                        index: 52
      telecom:
        mustSupport: true
        index: 53
        extensions:
          dataAbsentReason:
            url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
            type: Extension
            mustSupport: true
            index: 54
            elements:
              value:
                pattern: {type: code, value: masked}
                mustSupport: true
                choices: []
                type: code
                index: 56
        elements:
          extension:
            type: Extension
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
            index: 54
            slicing:
              slices:
                dataAbsentReason:
                  match: {}
                  schema:
                    type: Extension
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                    index: 54
                    elements:
                      value:
                        pattern: {type: code, value: masked}
                        mustSupport: true
                        choices: []
                        type: code
                        index: 56
      address:
        mustSupport: true
        index: 57
        extensions:
          dataAbsentReason:
            url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
            type: Extension
            mustSupport: true
            index: 58
            elements:
              value:
                pattern: {type: code, value: masked}
                mustSupport: true
                choices: []
                type: code
                index: 60
        elements:
          extension:
            type: Extension
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
            index: 58
            slicing:
              slices:
                dataAbsentReason:
                  match: {}
                  schema:
                    type: Extension
                    mustSupport: true
                    url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                    index: 58
                    elements:
                      value:
                        pattern: {type: code, value: masked}
                        mustSupport: true
                        choices: []
                        type: code
                        index: 60
    required: [address, name, relationship, telecom]
package_version: library-1.0.0
extensions:
  race:
    url: null
    mustSupport: true
    _required: true
    index: 1
    extensions:
      dataAbsentReason:
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        type: Extension
        short: For masking purposes, use the data-absent-reason extension and set the required us-core-race extension text to "masked"
        mustSupport: true
        index: 3
        elements:
          value:
            pattern: {type: code, value: masked}
            mustSupport: true
            choices: []
            type: code
            index: 5
    elements:
      extension:
        index: 2
        slicing:
          slices:
            dataAbsentReason:
              match: {}
              schema:
                type: Extension
                short: For masking purposes, use the data-absent-reason extension and set the required us-core-race extension text to "masked"
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                index: 3
                elements:
                  value:
                    pattern: {type: code, value: masked}
                    mustSupport: true
                    choices: []
                    type: code
                    index: 5
    required: [extension]
  ethnicity:
    url: null
    mustSupport: true
    _required: true
    index: 6
    extensions:
      dataAbsentReason:
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        type: Extension
        short: For masking purposes, use the data-absent-reason extension and set the required us-core-ethnicity extension text to "masked"
        mustSupport: true
        index: 8
        elements:
          value:
            pattern: {type: code, value: masked}
            mustSupport: true
            choices: []
            type: code
            index: 10
    elements:
      extension:
        index: 7
        slicing:
          slices:
            dataAbsentReason:
              match: {}
              schema:
                type: Extension
                short: For masking purposes, use the data-absent-reason extension and set the required us-core-ethnicity extension text to "masked"
                mustSupport: true
                url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
                index: 8
                elements:
                  value:
                    pattern: {type: code, value: masked}
                    mustSupport: true
                    choices: []
                    type: code
                    index: 10
    required: [extension]
  birthsex: {url: null, mustSupport: true, index: 11}
  birthPlace: {url: 'http://hl7.org/fhir/StructureDefinition/patient-birthPlace', min: 0, max: 1, type: Extension, mustSupport: true, index: 12}
  individualGenderIdentity: {url: 'http://hl7.org/fhir/StructureDefinition/individual-genderIdentity', min: 0, type: Extension, mustSupport: true, index: 13}
  tribalAffiliation: {url: 'http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-tribal-affiliation-extension', min: 0, type: Extension, short: Tribal affiliation and membership of the patient, mustSupport: true, index: 14}
class: profile
kind: resource
url: http://hl7.org/fhir/us/ph-library/StructureDefinition/us-ph-patient
base: http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient
version: 1.0.0
required: [address, birthDate, communication, deceased, telecom]