PackagesCanonicalsLogsProblems
    Packages
    MyHIE.v4-test@2.1.0-alpha
    http://fhir.hie.moh.gov.my/StructureDefinition/ServiceRequest-my-core
description: A record of a request for service such as diagnostic investigations, treatments, or operations to be performed.
package_name: MyHIE.v4-test
derivation: constraint
name: ServiceRequestMyCore
type: ServiceRequest
elements:
  extension:
    type: Extension
    isModifier: false
    url: http://fhir.hie.moh.gov.my/StructureDefinition/attester-my-core
    index: 0
    slicing:
      slices:
        attester:
          match: {}
          schema: {type: Extension, isModifier: false, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/attester-my-core', index: 0}
          max: 1
        relatesTo:
          match: {}
          schema: {type: Extension, isModifier: false, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/relates-to-my-core', index: 1}
          max: 1
  category:
    index: 2
    elements:
      coding:
        index: 3
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            serviceRequestCategory:
              match: {system: 'http://fhir.hie.moh.gov.my/CodeSystem/servicerequest-category-my-core'}
              schema:
                binding: {strength: preferred, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/servicerequest-category-my-core'}
                index: 4
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/CodeSystem/servicerequest-category-my-core'}
                    index: 5
                required: [system]
            labSubGroup:
              match: {system: 'http://fhir.hie.moh.gov.my/CodeSystem/lab-sub-group-my-core'}
              schema:
                binding: {strength: example, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/lab-sub-group-my-core'}
                index: 6
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/CodeSystem/lab-sub-group-my-core'}
                    index: 7
                required: [system]
            imagingModality:
              match: {system: 'http://fhir.hie.moh.gov.my/CodeSystem/imaging-modality-my-core'}
              schema:
                binding: {strength: preferred, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/imaging-modality-my-core'}
                index: 8
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/CodeSystem/imaging-modality-my-core'}
                    index: 9
                required: [system]
            imagingRegion:
              match: {system: 'http://fhir.hie.moh.gov.my/CodeSystem/imaging-region-my-core'}
              schema:
                binding: {strength: preferred, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/imaging-region-my-core'}
                index: 10
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/CodeSystem/imaging-region-my-core'}
                    index: 11
                required: [system]
            outsourceCategory:
              match: {system: 'http://fhir.hie.moh.gov.my/CodeSystem/outsource-category-my-core'}
              schema:
                index: 12
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/CodeSystem/outsource-category-my-core'}
                    index: 13
                required: [system]
    required: [coding]
  code:
    binding: {strength: example, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/loinc-my-core'}
    index: 14
    elements:
      coding:
        index: 15
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            lab:
              match: {system: 'http://fhir.hie.moh.gov.my/CodeSystem/lab-my-core'}
              schema:
                binding: {strength: preferred, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/lab-my-core'}
                index: 16
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/CodeSystem/lab-my-core'}
                    index: 17
                required: [system]
            imaging:
              match: {system: 'http://fhir.hie.moh.gov.my/CodeSystem/imaging-my-core'}
              schema:
                binding: {strength: preferred, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/imaging-my-core'}
                index: 18
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/CodeSystem/imaging-my-core'}
                    index: 19
                required: [system]
            procedure:
              match: {system: 'http://fhir.hie.moh.gov.my/CodeSystem/procedure-my-core'}
              schema:
                binding: {strength: example, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/procedure-code-my-core'}
                index: 20
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/CodeSystem/procedure-my-core'}
                    index: 21
                required: [system]
  asNeeded:
    choices: []
    index: 23
  authoredOn: {index: 24}
  performerType:
    binding: {strength: example, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/schedule-type-my-core'}
    index: 25
  bodySite:
    index: 26
    slicing:
      rules: open
      discriminator:
      - {path: coding.id, type: value}
      min: null
      slices:
        side:
          match:
            coding: {id: side}
          schema:
            binding: {strength: example, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/side-my-core'}
            index: 27
            elements:
              coding:
                elements:
                  id:
                    pattern: {type: String, value: side}
                    index: 28
                required: [id]
        site:
          match:
            coding: {id: site}
          schema:
            binding: {strength: example, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/site-my-core'}
            index: 29
            elements:
              coding:
                elements:
                  id:
                    pattern: {type: String, value: site}
                    index: 30
                required: [id]
package_version: 2.1.0-alpha
extensions:
  attester: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/attester-my-core', max: 1, type: Extension, isModifier: false, index: 0}
  relatesTo: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/relates-to-my-core', max: 1, type: Extension, isModifier: false, index: 1}
class: profile
kind: resource
url: http://fhir.hie.moh.gov.my/StructureDefinition/ServiceRequest-my-core
base: http://hl7.org/fhir/StructureDefinition/ServiceRequest
version: 1.0.0
required: [authoredOn, category]