description: null package_name: myhie.v4 derivation: constraint name: TaskMyCore type: Task elements: basedOn: {index: 0} businessStatus: binding: {strength: required, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/task-business-status-my-core'} index: 1 performerType: binding: {strength: required, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/schedule-type-my-core'} index: 2 input: index: 3 elements: type: binding: {strength: required, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/task-input-type-my-core'} index: 4 elements: coding: elements: code: {index: 5} required: [code] slicing: rules: open discriminator: - {path: type.coding.code, type: value} min: null slices: imagingRegion: match: type: coding: {code: '004'} schema: index: 21 elements: type: elements: coding: elements: code: pattern: {type: Code, value: '004'} index: 22 value: choices: [valueCodeableConcept] index: 24 valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 25} cdDvd: match: type: coding: {code: '009'} schema: index: 46 elements: type: elements: coding: elements: code: pattern: {type: Code, value: '009'} index: 47 value: choices: [valueInteger] index: 49 valueInteger: {type: integer, choiceOf: value, index: 50} serviceRequestCategory: match: type: coding: {code: '001'} schema: index: 6 elements: type: elements: coding: elements: code: pattern: {type: Code, value: '001'} index: 7 value: choices: [valueCodeableConcept] index: 9 valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 10} secondaryPerformer: match: type: coding: {code: '012'} schema: index: 61 elements: type: elements: coding: elements: code: pattern: {type: Code, value: '012'} index: 62 value: choices: [valueReference] index: 64 valueReference: {type: Reference, choiceOf: value, index: 65} barcodePrinter: match: type: coding: {code: '013'} schema: index: 66 elements: type: elements: coding: elements: code: pattern: {type: Code, value: '013'} index: 67 specimen: match: type: coding: {code: '002'} schema: index: 11 elements: type: elements: coding: elements: code: pattern: {type: Code, value: '002'} index: 12 value: choices: [valueReference] index: 14 valueReference: {type: Reference, choiceOf: value, index: 15} acceptedDateTime: match: type: coding: {code: '016'} schema: index: 79 elements: type: elements: coding: elements: code: pattern: {type: Code, value: '016'} index: 80 value: choices: [valueDateTime] index: 82 valueDateTime: {type: dateTime, choiceOf: value, index: 83} printedBy: match: type: coding: {code: '020'} schema: index: 99 elements: type: elements: coding: elements: code: pattern: {type: Code, value: '020'} index: 100 value: choices: [valueReference] index: 102 valueReference: {type: Reference, choiceOf: value, index: 103} contrast: match: type: coding: {code: '007'} schema: index: 36 elements: type: elements: coding: elements: code: pattern: {type: Code, value: '007'} index: 37 value: choices: [valueInteger] index: 39 valueInteger: {type: integer, choiceOf: value, index: 40} outsourceBy: match: type: coding: {code: '021'} schema: index: 104 elements: type: elements: coding: elements: code: pattern: {type: Code, value: '021'} index: 105 value: choices: [valueReference] index: 107 valueReference: {type: Reference, choiceOf: value, index: 108} contrastStrength: match: type: coding: {code: '008'} schema: index: 41 elements: type: elements: coding: elements: code: pattern: {type: Code, value: '008'} index: 42 value: choices: [valueInteger] index: 44 valueInteger: {type: integer, choiceOf: value, index: 45} Frequency: match: type: coding: {code: '023'} schema: index: 114 elements: type: elements: coding: elements: code: pattern: {type: Code, value: '023'} index: 115 value: choices: [valueCodeableConcept] index: 117 valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 118} sampleTakenTime: match: type: coding: {code: '022'} schema: index: 109 elements: type: elements: coding: elements: code: pattern: {type: Code, value: '022'} index: 110 value: choices: [valueDateTime] index: 112 valueDateTime: {type: dateTime, choiceOf: value, index: 113} imagingModality: match: type: coding: {code: '003'} schema: index: 16 elements: type: elements: coding: elements: code: pattern: {type: Code, value: '003'} index: 17 value: choices: [valueCodeableConcept] index: 19 valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 20} primaryPerformer: match: type: coding: {code: '011'} schema: index: 56 elements: type: elements: coding: elements: code: pattern: {type: Code, value: '011'} index: 57 value: choices: [valueReference] index: 59 valueReference: {type: Reference, choiceOf: value, index: 60} receivedNotReceivedDateTime: match: type: coding: {code: '015'} schema: index: 74 elements: type: elements: coding: elements: code: pattern: {type: Code, value: '015'} index: 75 value: choices: [valueDateTime] index: 77 valueDateTime: {type: dateTime, choiceOf: value, index: 78} printedDateTime: match: type: coding: {code: '019'} schema: index: 94 elements: type: elements: coding: elements: code: pattern: {type: Code, value: '019'} index: 95 value: choices: [valueDateTime] index: 97 valueDateTime: {type: dateTime, choiceOf: value, index: 98} dispatchedDateTime: match: type: coding: {code: '017'} schema: index: 84 elements: type: elements: coding: elements: code: pattern: {type: Code, value: '017'} index: 85 value: choices: [valueDateTime] index: 87 valueDateTime: {type: dateTime, choiceOf: value, index: 88} imagingOrderable: match: type: coding: {code: '005'} schema: index: 26 elements: type: elements: coding: elements: code: pattern: {type: Code, value: '005'} index: 27 value: choices: [valueCodeableConcept] index: 29 valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 30} labSubGroup: match: type: coding: {code: '010'} schema: index: 51 elements: type: elements: coding: elements: code: pattern: {type: Code, value: '010'} index: 52 value: choices: [valueCodeableConcept] index: 54 valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 55} imagingStudy: match: type: coding: {code: '006'} schema: index: 31 elements: type: elements: coding: elements: code: pattern: {type: Code, value: '006'} index: 32 value: choices: [valueReference] index: 34 valueReference: {type: Reference, choiceOf: value, index: 35} printedStatus: match: type: coding: {code: '018'} schema: index: 89 elements: type: elements: coding: elements: code: pattern: {type: Code, value: '018'} index: 90 value: choices: [valueCodeableConcept] index: 92 valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 93} referralSummary: match: type: coding: {code: '014'} schema: index: 68 elements: type: elements: coding: elements: code: pattern: {type: Code, value: '014'} index: 69 value: choices: [valueString, valueReference] index: 71 valueString: {type: string, choiceOf: value, index: 72} valueReference: {type: Reference, choiceOf: value, index: 73} output: index: 119 elements: type: binding: {strength: required, valueSet: 'http://fhir.hie.moh.gov.my/ValueSet/task-output-type-my-core'} index: 120 elements: coding: elements: code: {index: 121} required: [code] slicing: rules: open discriminator: - {path: type.coding.code, type: value} min: null slices: diagnosticReport: match: type: coding: {code: '001'} schema: index: 122 elements: type: elements: coding: elements: code: short: Diagnostic Report pattern: {type: Code, value: '001'} index: 123 value: choices: [valueReference] index: 125 valueReference: {type: Reference, choiceOf: value, index: 126} referralResponse: match: type: coding: {code: '002'} schema: index: 127 elements: type: elements: coding: elements: code: short: Referral Response pattern: {type: Code, value: '002'} index: 128 value: choices: [valueString, valueReference] index: 130 valueString: {type: string, choiceOf: value, index: 131} valueReference: {type: Reference, choiceOf: value, index: 132} package_version: 1.0.0 class: profile kind: resource url: http://fhir.hie.moh.gov.my/StructureDefinition/Task-my-core base: http://hl7.org/fhir/StructureDefinition/Task version: 1.0.0 required: [basedOn]