PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.eu.laboratory@0.1.0
    http://hl7.eu/fhir/laboratory/StructureDefinition/Patient-eu-lab
description: This profile defines how to represent a human Patient in FHIR for the purpose of this guide.\nWhen the ips-pat-1 invariant is satisfied \\(Patient.name.given, Patient.name.family or Patient.name.text SHALL be present\\) then this profile complies with the IPS patient profile.
package_name: hl7.fhir.eu.laboratory
derivation: constraint
name: PatientEuLab
type: Patient
elements:
  address:
    type: Address
    constraint:
      pat-cnt-2or3-char: {human: 'The content of the country element (if present) 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.', source: 'http://hl7.eu/fhir/laboratory/StructureDefinition/Patient-eu-lab', severity: warning, expression: 'country.empty() or (country.memberOf(''http://hl7.org/fhir/ValueSet/iso3166-1-2'') or country.memberOf(''http://hl7.org/fhir/ValueSet/iso3166-1-3''))'}
    index: 15
  name:
    type: HumanName
    constraint:
      eu-pat-1: {human: 'given, family, text or a data-absent-reason extension SHALL be present', source: 'http://hl7.eu/fhir/laboratory/StructureDefinition/Patient-eu-lab', severity: error, expression: 'family.exists() or given.exists() or text.exists() or extension(''http://hl7.org/fhir/StructureDefinition/data-absent-reason'').exists()'}
    index: 7
    extensions:
      name-absent-reason: {url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', min: 0, type: Extension, short: Reason for not providing the name, index: 8}
    elements:
      extension:
        type: Extension
        short: Reason for not providing the name
        url: http://hl7.org/fhir/StructureDefinition/data-absent-reason
        index: 8
        slicing:
          slices:
            name-absent-reason:
              match: {}
              schema: {type: Extension, short: Reason for not providing the name, url: 'http://hl7.org/fhir/StructureDefinition/data-absent-reason', index: 8}
              min: 0
      text: {short: Text representation of the full name., index: 9}
      family: {short: Family name, index: 10}
      given: {short: Given names. Includes middle names, index: 11}
  birthDate: {index: 14}
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        birthPlace:
          match: {url: null}
          schema:
            type: Extension
            url: http://hl7.org/fhir/StructureDefinition/patient-birthPlace
            index: 1
            elements:
              value:
                choices: [valueAddress]
                index: 3
              valueAddress: {type: Address, choiceOf: value, index: 4}
        sex-for-clinical-use:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/patient-sexParameterForClinicalUse', index: 5}
          min: 0
  identifier: {short: Patient identifiers, index: 6}
  telecom: {short: A contact detail for the patient, index: 12}
  generalPractitioner: {short: Patient's nominated care provider, index: 18}
  gender: {short: Administrative Gender, index: 13}
  contact:
    elements:
      relationship: {type: CodeableConcept, short: Relationship between a patient and a contact person for that patient, index: 16}
      address: {type: Address, index: 17}
package_version: 0.1.0
extensions:
  birthPlace:
    url: http://hl7.org/fhir/StructureDefinition/patient-birthPlace
    type: Extension
    index: 1
    elements:
      value:
        choices: [valueAddress]
        index: 3
      valueAddress: {type: Address, choiceOf: value, index: 4}
  sex-for-clinical-use: {url: 'http://hl7.org/fhir/StructureDefinition/patient-sexParameterForClinicalUse', min: 0, type: Extension, index: 5}
class: profile
kind: resource
url: http://hl7.eu/fhir/laboratory/StructureDefinition/Patient-eu-lab
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 0.1.0
required: [name, birthDate]