description: A record of a request for service such as diagnostic investigations, treatments, or operations to be performed. package_name: MyHIE.v4 derivation: constraint name: ServiceRequestMyCore type: ServiceRequest elements: extension: index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: 0 slices: attester: match: {url: null} schema: {type: Extension, isModifier: false, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/attester-my-core', index: 1} min: 0 max: 1 relatesTo: match: {url: null} schema: {type: Extension, isModifier: false, url: 'http://fhir.hie.moh.gov.my/StructureDefinition/relates-to-my-core', index: 2} min: 0 max: 1 category: index: 3 elements: coding: index: 4 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: 5 elements: system: pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/CodeSystem/servicerequest-category-my-core'} index: 6 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: 7 elements: system: pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/CodeSystem/lab-sub-group-my-core'} index: 8 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: 9 elements: system: pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/CodeSystem/imaging-modality-my-core'} index: 10 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: 11 elements: system: pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/CodeSystem/imaging-region-my-core'} index: 12 required: [system] required: [coding] code: binding: {strength: example, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/loinc-my-core'} index: 13 elements: coding: index: 14 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: 15 elements: system: pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/CodeSystem/lab-my-core'} index: 16 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: 17 elements: system: pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/CodeSystem/imaging-my-core'} index: 18 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: 19 elements: system: pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.my/CodeSystem/procedure-my-core'} index: 20 required: [system] encounter: {index: 21} 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.0.0-alpha extensions: attester: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/attester-my-core', min: 0, max: 1, type: Extension, isModifier: false, index: 1} relatesTo: {url: 'http://fhir.hie.moh.gov.my/StructureDefinition/relates-to-my-core', min: 0, max: 1, type: Extension, isModifier: false, index: 2} 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, encounter, category]