description: This profile constrains the DiagnosticReport resource to represent diagnostic test and procedure reports in a patient summary. package_name: IdHIE.0v derivation: constraint name: DiagnosticReportIdCore type: DiagnosticReport elements: extension: index: 0 slicing: rules: open discriminator: - {path: url, type: value} min: 0 slices: printedDate: match: {url: null} schema: {type: Extension, isModifier: false, url: 'http://fhir.hie.moh.gov.id/StructureDefinition/printed-date-id-core', index: 1} min: 0 max: 1 amendment: match: {url: null} schema: {type: Extension, isModifier: false, url: 'http://fhir.hie.moh.gov.id/StructureDefinition/amended-reason-id-core', index: 2} min: 0 max: 1 category: index: 3 elements: coding: index: 4 slicing: rules: open discriminator: - {path: system, type: value} min: null slices: serviceRequestCategory: match: {system: 'http://fhir.hie.moh.gov.id/CodeSystem/servicerequest-category-id-core'} schema: binding: {strength: preferred, valueSet: 'http://fhir.hie.moh.gov.id/ValueSet/servicerequest-category-id-core'} index: 5 elements: system: pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.id/CodeSystem/servicerequest-category-id-core'} index: 6 required: [system] imagingModality: match: {system: 'http://fhir.hie.moh.gov.id/CodeSystem/imaging-modality-id-core'} schema: binding: {strength: preferred, valueSet: 'http://fhir.hie.moh.gov.id/ValueSet/imaging-modality-id-core'} index: 7 elements: system: pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.id/CodeSystem/imaging-modality-id-core'} index: 8 required: [system] imagingRegion: match: {system: 'http://fhir.hie.moh.gov.id/CodeSystem/imaging-region-id-core'} schema: binding: {strength: preferred, valueSet: 'http://fhir.hie.moh.gov.id/ValueSet/imaging-region-id-core'} index: 9 elements: system: pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.id/CodeSystem/imaging-region-id-core'} index: 10 required: [system] labSubGroup: match: {system: 'http://fhir.hie.moh.gov.id/CodeSystem/lab-sub-group-id-core'} schema: binding: {strength: example, valueSet: 'http://fhir.hie.moh.gov.id/ValueSet/lab-sub-group-id-core'} index: 11 elements: system: pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.id/CodeSystem/lab-sub-group-id-core'} index: 12 required: [system] code: binding: {strength: preferred, valueSet: 'http://fhir.hie.moh.gov.id/ValueSet/loinc-id-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.id/CodeSystem/lab-id-core'} schema: binding: {strength: preferred, valueSet: 'http://fhir.hie.moh.gov.id/ValueSet/lab-id-core'} index: 15 elements: system: pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.id/CodeSystem/lab-id-core'} index: 16 required: [system] imaging: match: {system: 'http://fhir.hie.moh.gov.id/CodeSystem/imaging-id-core'} schema: binding: {strength: preferred, valueSet: 'http://fhir.hie.moh.gov.id/ValueSet/imaging-id-core'} index: 17 elements: system: pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.id/CodeSystem/imaging-id-core'} index: 18 required: [system] loinc: match: {system: 'http://loinc.org'} schema: index: 19 elements: system: pattern: {type: Uri, value: 'http://loinc.org'} index: 20 subject: {index: 21} package_version: 0.0.1 extensions: printedDate: {url: 'http://fhir.hie.moh.gov.id/StructureDefinition/printed-date-id-core', min: 0, max: 1, type: Extension, isModifier: false, index: 1} amendment: {url: 'http://fhir.hie.moh.gov.id/StructureDefinition/amended-reason-id-core', min: 0, max: 1, type: Extension, isModifier: false, index: 2} class: profile kind: resource url: http://fhir.hie.moh.gov.id/StructureDefinition/DiagnosticReport-id-core base: http://hl7.org/fhir/StructureDefinition/DiagnosticReport version: 1.0.0 required: [subject, category]