PackagesCanonicalsLogsProblems
    Packages
    ca.on.ehr.r4@1.0.0-snapshot15
    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: 42}
  started: {mustSupport: true, index: 17}
  numberOfSeries: {mustSupport: true, index: 32}
  interpreter:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitioner', 'http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-practitionerRole']
    index: 28
    elements:
      reference: {mustSupport: true, index: 29}
    required: [reference]
  series:
    mustSupport: true
    index: 43
    elements:
      uid: {mustSupport: true, index: 44}
      modality:
        mustSupport: true
        index: 45
        elements:
          system: {mustSupport: true, index: 46}
          code: {mustSupport: true, index: 47}
          display: {mustSupport: true, index: 48}
        required: [display, system, code]
      numberOfInstances: {mustSupport: true, index: 49}
      performer:
        mustSupport: true
        index: 50
        elements:
          function:
            mustSupport: true
            index: 51
            elements:
              coding:
                mustSupport: true
                index: 52
                elements:
                  system: {mustSupport: true, index: 53}
                  code: {mustSupport: true, index: 54}
                  display: {mustSupport: true, index: 55}
                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: 56
            elements:
              reference: {mustSupport: true, index: 57}
            required: [reference]
      instance:
        mustSupport: true
        index: 58
        elements:
          uid: {mustSupport: true, index: 59}
          sopClass:
            mustSupport: true
            index: 60
            elements:
              system: {mustSupport: true, index: 61}
              code: {mustSupport: true, index: 62}
              display: {mustSupport: true, index: 63}
            required: [display, system, code]
    required: [instance]
  reasonCode:
    type: CodeableConcept
    mustSupport: true
    index: 39
    elements:
      coding:
        elements:
          display:
            extensions:
              translation:
                url: null
                index: 40
                extensions: {}
                elements:
                  extension: {array: true, min: 2, index: 41}
            elements:
              extension:
                index: 40
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        index: 40
                        extensions: {}
                        elements:
                          extension: {array: true, min: 2, index: 41}
  modality:
    mustSupport: true
    index: 11
    elements:
      system: {mustSupport: true, index: 12}
      code: {mustSupport: true, index: 13}
      display: {mustSupport: true, index: 14}
    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: 26
    elements:
      reference: {mustSupport: true, index: 27}
    required: [reference]
  extension:
    mustSupport: true
    index: 0
    slicing:
      slices:
        imagingStudyServiceType:
          match: {}
          schema: {type: Extension, isModifier: false, mustSupport: true, url: 'https://ontariohealth.ca/fhir/ehr/StructureDefinition/ext-imagingStudy-service-type', index: 1}
          min: 1
          max: 1
  status:
    pattern: {type: Code, value: available}
    mustSupport: true
    index: 10
  identifier:
    mustSupport: true
    index: 2
    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: 3
            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: 4
              system: {mustSupport: true, index: 5}
              value: {mustSupport: true, index: 6}
            required: [value, system]
        identifier-studyInstanceUID:
          match:
            type:
              coding: {code: null}
            system: urn:dicom:uid
          schema:
            mustSupport: true
            _required: true
            index: 7
            elements:
              system:
                pattern: {type: Uri, value: 'urn:dicom:uid'}
                mustSupport: true
                index: 8
              value: {mustSupport: true, index: 9}
            required: [value, system]
  basedOn:
    mustSupport: true
    index: 18
    elements:
      reference: {mustSupport: true, index: 19}
      identifier:
        mustSupport: true
        index: 20
        elements:
          type:
            type: CodeableConcept
            binding: {strength: extensible, valueSet: 'http://ontariohealth.ca/fhir/ehr/ValueSet/identifier-type'}
            mustSupport: true
            index: 21
            elements:
              coding:
                elements:
                  display:
                    extensions:
                      translation:
                        url: null
                        index: 22
                        extensions: {}
                        elements:
                          extension: {array: true, min: 2, index: 23}
                    elements:
                      extension:
                        index: 22
                        slicing:
                          slices:
                            translation:
                              match: {}
                              schema:
                                index: 22
                                extensions: {}
                                elements:
                                  extension: {array: true, min: 2, index: 23}
          system: {mustSupport: true, index: 24}
          value: {mustSupport: true, index: 25}
        required: [value, type, system]
    required: [identifier]
  endpoint:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-endpoint']
    index: 30
    elements:
      reference: {mustSupport: true, index: 31}
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://ontariohealth.ca/fhir/ehr/StructureDefinition/profile-patient']
    index: 15
    elements:
      reference: {mustSupport: true, index: 16}
    required: [reference]
  numberOfInstances: {mustSupport: true, index: 33}
  procedureCode:
    type: CodeableConcept
    mustSupport: true
    index: 34
    elements:
      coding:
        index: 35
        elements:
          system: {index: 36}
          display:
            extensions:
              translation:
                url: null
                index: 37
                extensions: {}
                elements:
                  extension: {array: true, min: 2, index: 38}
            elements:
              extension:
                index: 37
                slicing:
                  slices:
                    translation:
                      match: {}
                      schema:
                        index: 37
                        extensions: {}
                        elements:
                          extension: {array: true, min: 2, index: 38}
        required: [system]
    required: [coding]
package_version: 1.0.0-snapshot15
extensions:
  imagingStudyServiceType: {url: 'https://ontariohealth.ca/fhir/ehr/StructureDefinition/ext-imagingStudy-service-type', min: 1, max: 1, type: Extension, isModifier: false, mustSupport: true, index: 1}
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: [extension, identifier, series, description]