PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.ips@0.3.0
    http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips
description: This profile represents the constraints applied to the Patient resource by the International Patient Summary (IPS) FHIR Implementation Guide and describes the minimum expectations for the Patient resource when used in the IPS composition or in one of the referred resources.
package_name: hl7.fhir.uv.ips
derivation: constraint
name: PatientUvIps
type: Patient
elements:
  name:
    constraint:
      ips-pat-1: {human: Patient.name.given  or Patient.name.family or both SHALL be present, severity: error, expression: family.exists() or given.exists()}
    mustSupport: true
    array: true
    min: 1
    index: 0
    elements:
      family: {mustSupport: true, index: 1}
      given: {mustSupport: true, index: 2}
  telecom: {mustSupport: true, index: 3}
  gender: {mustSupport: true, index: 4}
  birthDate: {mustSupport: true, index: 5}
  address:
    mustSupport: true
    index: 6
    elements:
      line: {mustSupport: true, index: 7}
      city: {mustSupport: true, index: 8}
      state: {mustSupport: true, index: 9}
      postalCode: {mustSupport: true, index: 10}
      country:
        constraint:
          pat-cnt-2or3-char: {human: 'The content of this element SHALL be selected EITHER from ValueSet ISO Country Alpha-2 http://hl7.org/fhir/ValueSet/iso3166-1-2 OR MAY be selected from ISO Country Alpha-3 Value Set http://hl7.org/fhir/ValueSet/iso3166-1-3, IF the country is not specified in value Set ISO Country Alpha-2 http://hl7.org/fhir/ValueSet/iso3166-1-2.', severity: warning, expression: 'IF country NOT IN http://hl7.org/fhir/ValueSet/iso3166-1-2 THEN country IN http://hl7.org/fhir/ValueSet/iso3166-1-3'}
        mustSupport: true
        index: 11
  contact:
    mustSupport: true
    index: 12
    elements:
      relationship:
        type: CodeableConcept
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/uv/ips/ValueSet/personal-relationship-uv-ips'}
        mustSupport: true
        index: 13
      name:
        mustSupport: true
        index: 14
        elements:
          family: {mustSupport: true, index: 15}
          given: {mustSupport: true, index: 16}
      telecom: {mustSupport: true, index: 17}
      address:
        mustSupport: true
        index: 18
        elements:
          line: {mustSupport: true, index: 19}
          city: {mustSupport: true, index: 20}
          state: {mustSupport: true, index: 21}
          country: {mustSupport: true, index: 22}
      organization: {mustSupport: true, index: 23}
  communication:
    mustSupport: true
    index: 24
    elements:
      language:
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/all-languages'}
        mustSupport: true
        index: 25
  generalPractitioner: {mustSupport: true, index: 26}
package_version: 0.3.0
class: profile
kind: resource
url: http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 0.3.0
required: [gender, name, birthDate]