PackagesCanonicalsLogsProblems
    Packages
    ca.on.ehr.r4@1.0.0-snapshot13
    http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-imagingStudy
description: null
package_name: ca.on.ehr.r4
derivation: constraint
name: ImagingStudyEHR
type: ImagingStudy
elements:
  description: {mustSupport: true, index: 40}
  started: {mustSupport: true, index: 15}
  numberOfSeries: {mustSupport: true, index: 30}
  interpreter:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitioner', 'http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitionerRole']
    index: 26
    elements:
      reference: {mustSupport: true, index: 27}
    required: [reference]
  series:
    mustSupport: true
    index: 41
    elements:
      uid: {mustSupport: true, index: 42}
      modality:
        mustSupport: true
        index: 43
        elements:
          system: {mustSupport: true, index: 44}
          code: {mustSupport: true, index: 45}
          display: {mustSupport: true, index: 46}
        required: [display, system, code]
      numberOfInstances: {mustSupport: true, index: 47}
      performer:
        mustSupport: true
        index: 48
        elements:
          function:
            mustSupport: true
            index: 49
            elements:
              coding:
                mustSupport: true
                index: 50
                elements:
                  system: {mustSupport: true, index: 51}
                  code: {mustSupport: true, index: 52}
                  display: {mustSupport: true, index: 53}
                required: [display, system, code]
            required: [coding]
          actor:
            type: Reference
            mustSupport: true
            refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-organization', 'http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitioner', 'http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitionerRole']
            index: 54
            elements:
              reference: {mustSupport: true, index: 55}
            required: [reference]
      instance:
        mustSupport: true
        index: 56
        elements:
          uid: {mustSupport: true, index: 57}
          sopClass:
            mustSupport: true
            index: 58
            elements:
              system: {mustSupport: true, index: 59}
              code: {mustSupport: true, index: 60}
              display: {mustSupport: true, index: 61}
            required: [display, system, code]
    required: [instance]
  reasonCode:
    type: CodeableConcept
    mustSupport: true
    index: 37
    elements:
      coding:
        elements:
          display:
            extensions:
              translation:
                url: null
                index: 38
                extensions: {}
                elements:
                  extension: {array: true, min: 2, index: 39}
            elements:
              extension:
                index: 38
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        index: 38
                        extensions: {}
                        elements:
                          extension: {array: true, min: 2, index: 39}
  modality:
    mustSupport: true
    index: 9
    elements:
      system: {mustSupport: true, index: 10}
      code: {mustSupport: true, index: 11}
      display: {mustSupport: true, index: 12}
    required: [display, system, code]
  referrer:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitioner', 'http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitionerRole']
    index: 24
    elements:
      reference: {mustSupport: true, index: 25}
    required: [reference]
  status:
    pattern: {type: Code, value: available}
    mustSupport: true
    index: 8
  identifier:
    mustSupport: true
    index: 0
    slicing:
      rules: open
      description: must contain one repetition of an accession number.
      discriminator:
      - {path: type.coding.code, type: value}
      - {path: system, type: value}
      min: 1
      slices:
        identifier-accession:
          match:
            type:
              coding: {code: null}
            system: null
          schema:
            short: Filler/Accession ID
            mustSupport: true
            _required: true
            index: 1
            elements:
              type:
                binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/identifier-type'}
                mustSupport: true
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: ACSN, system: 'http://terminology.hl7.org/CodeSystem/v2-0203', display: Accession ID}
                index: 2
              system: {mustSupport: true, index: 3}
              value: {mustSupport: true, index: 4}
            required: [value, system]
        identifier-studyInstanceUID:
          match:
            type:
              coding: {code: null}
            system: urn:dicom:uid
          schema:
            mustSupport: true
            _required: true
            index: 5
            elements:
              system:
                pattern: {type: Uri, value: 'urn:dicom:uid'}
                mustSupport: true
                index: 6
              value: {mustSupport: true, index: 7}
            required: [value, system]
  basedOn:
    mustSupport: true
    index: 16
    elements:
      reference: {mustSupport: true, index: 17}
      identifier:
        mustSupport: true
        index: 18
        elements:
          type:
            type: CodeableConcept
            binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/identifier-type'}
            mustSupport: true
            index: 19
            elements:
              coding:
                elements:
                  display:
                    extensions:
                      translation:
                        url: null
                        index: 20
                        extensions: {}
                        elements:
                          extension: {array: true, min: 2, index: 21}
                    elements:
                      extension:
                        index: 20
                        slicing:
                          slices:
                            translation:
                              match: {}
                              schema:
                                index: 20
                                extensions: {}
                                elements:
                                  extension: {array: true, min: 2, index: 21}
          system: {mustSupport: true, index: 22}
          value: {mustSupport: true, index: 23}
        required: [value, type, system]
    required: [identifier]
  endpoint:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-endpoint']
    index: 28
    elements:
      reference: {mustSupport: true, index: 29}
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-patient']
    index: 13
    elements:
      reference: {mustSupport: true, index: 14}
    required: [reference]
  numberOfInstances: {mustSupport: true, index: 31}
  procedureCode:
    type: CodeableConcept
    mustSupport: true
    index: 32
    elements:
      coding:
        index: 33
        elements:
          system: {index: 34}
          display:
            extensions:
              translation:
                url: null
                index: 35
                extensions: {}
                elements:
                  extension: {array: true, min: 2, index: 36}
            elements:
              extension:
                index: 35
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        index: 35
                        extensions: {}
                        elements:
                          extension: {array: true, min: 2, index: 36}
        required: [system]
    required: [coding]
package_version: 1.0.0-snapshot13
class: profile
kind: resource
url: http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-imagingStudy
base: http://hl7.org/fhir/StructureDefinition/ImagingStudy
version: 1.0.0
required: [identifier, series, description]