PackagesCanonicalsLogsProblems
    Packages
    hl7.eu.fhir.pcsp@0.1.0
    http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Patient-eu-pcsp
description: This profile defines how to represent Patient in FHIR for the purpose of the PanCareSurPass project.
package_name: hl7.eu.fhir.pcsp
derivation: constraint
name: PatientPcsp
type: Patient
elements:
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        patient-birthPlace:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/patient-birthPlace', index: 1}
          min: 0
          max: 1
        patient-mothersMaidenName:
          match: {url: null}
          schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName', index: 2}
          min: 0
          max: 1
  identifier: {index: 3}
  name:
    elements:
      family: {index: 4}
      given: {index: 5}
    required: [given, family]
  gender:
    index: 6
    extensions:
      originalText: {url: 'http://hl7.org/fhir/StructureDefinition/originalText', min: 0, max: 1, type: Extension, index: 8}
    elements:
      extension:
        index: 7
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            originalText:
              match: {url: null}
              schema: {type: Extension, url: 'http://hl7.org/fhir/StructureDefinition/originalText', index: 8}
              min: 0
              max: 1
  contact:
    elements:
      telecom: {mustSupport: true, index: 9}
    required: [telecom]
  generalPractitioner:
    index: 10
    slicing:
      rules: open
      description: Slice based on the reference type
      discriminator:
      - {path: resolve(), type: type}
      min: null
      slices:
        primaryTreatmentCenter:
          match: {}
          schema:
            short: Primary treatment center
            refers: ['http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Organization-center-eu-pcsp', 'http://hl7.org/fhir/StructureDefinition/Organization']
            type: Reference
            mustSupport: true
            index: 11
            elements:
              identifier: {short: Business identifier of the Primary treatment center, index: 12}
              display: {short: Short textual description of the Primary treatment center, index: 13}
package_version: 0.1.0
extensions:
  patient-birthPlace: {url: 'http://hl7.org/fhir/StructureDefinition/patient-birthPlace', min: 0, max: 1, type: Extension, index: 1}
  patient-mothersMaidenName: {url: 'http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName', min: 0, max: 1, type: Extension, index: 2}
class: profile
kind: resource
url: http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Patient-eu-pcsp
base: http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips
version: 0.1.0
required: [gender, identifier]