PackagesCanonicalsLogsProblems
    Packages
    ihe.rad.ira@1.0.0-comment
    https://profiles.ihe.net/RAD/IRA/StructureDefinition/patientcontext
description: IHE IRA DiagnosticReport-open patient context
package_name: ihe.rad.ira
derivation: constraint
name: PatientContext
type: Patient
elements:
  identifier:
    index: 0
    slicing:
      rules: open
      ordered: false
      description: Slice based on the identifier.system
      discriminator:
      - {path: type, type: pattern}
      min: 1
      slices:
        patientID:
          match:
            type:
              coding:
              - {code: MR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Medical Record Number}
          schema:
            mustSupport: true
            _required: true
            index: 1
            elements:
              type:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: MR, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Medical Record Number}
                index: 2
              value: {mustSupport: true, index: 3}
            required: [value, type]
package_version: 1.0.0-comment
class: profile
kind: resource
url: https://profiles.ihe.net/RAD/IRA/StructureDefinition/patientcontext
base: http://hl7.org/fhir/StructureDefinition/Patient
version: 1.0.0-comment
required: [identifier]