PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh.patient-summary@0.11.0
    http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-patient
description: This profile defines a set of constraints to the FHIR Patient resource for use in Ontario Patient Summaries (PS-ON).  It refines constraints applied to the Patient resource by the PS-CA project to represent the minimum expectations for the Patient resource when used in the PS-CA composition profile or in one of the referred resources. It is informed by the constraints of the [Patient-UV-IPS profile](http://hl7.org/fhir/uv/ips/StructureDefinition-Patient-uv-ips.html) and the [Canadian Baseline Profile](http://build.fhir.org/ig/HL7-Canada/ca-baseline/branches/master/StructureDefinition-profile-patient.html)
package_name: ca.on.oh.patient-summary
derivation: constraint
name: PatientPSON
type: Patient
elements:
  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.', 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''))'}
    mustSupport: true
    index: 23
  meta:
    mustSupport: true
    index: 0
    elements:
      profile: {mustSupport: true, index: 1}
    required: [profile]
  name:
    constraint:
      cabaseline-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: 16
    elements:
      text: {mustSupport: true, index: 17}
      family: {mustSupport: true, index: 18}
      given: {mustSupport: true, index: 19}
  birthDate: {mustSupport: true, index: 22}
  communication:
    elements:
      language:
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/all-languages'}
        index: 25
  identifier:
    type: Identifier
    mustSupport: true
    index: 2
    elements:
      type: {index: 3}
      system: {isModifier: false, index: 4}
      value: {short: The value that is unique within the system., isModifier: false, index: 5}
    required: [value, system]
    slicing:
      rules: open
      discriminator:
      - {path: type, type: pattern}
      min: 1
      slices:
        JHN:
          match:
            type:
              coding:
              - {code: JHN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
          schema:
            short: Jurisdictional Health Number
            mustSupport: true
            index: 6
            extensions:
              versionCode: {url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-identifierversion', type: Extension, short: Health Number Version Code, index: 8}
            elements:
              extension:
                index: 7
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    versionCode:
                      match: {url: null}
                      schema: {type: Extension, short: Health Number Version Code, url: 'http://hl7.org/fhir/ca/baseline/StructureDefinition/ext-identifierversion', index: 8}
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: JHN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 9
              system: {short: A Health Number Naming System from the Canadian URI Registry, index: 10}
              value: {index: 11}
            required: [value, type, system]
        MRN:
          match:
            type:
              coding:
              - {code: MR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
          schema:
            short: Medical Record Number
            mustSupport: true
            index: 12
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: MR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203'}
                index: 13
              system: {short: An identifier for the system supplying the MRN, index: 14}
              value: {index: 15}
            required: [value, type, system]
  telecom: {mustSupport: true, index: 20}
  generalPractitioner:
    mustSupport: true
    index: 26
    slicing:
      rules: open
      discriminator:
      - {path: resolve(), type: profile}
      min: null
      slices:
        PractitionerRolePSON:
          match: {}
          schema:
            type: Reference
            mustSupport: true
            refers: ['http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-practitionerrole']
            index: 27
  gender: {mustSupport: true, index: 21}
  contact:
    elements:
      relationship: {type: CodeableConcept, index: 24}
package_version: 0.11.0
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-patient
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 0.10.0
required: [gender, name, identifier, birthDate, meta]