description: null package_name: synapxe.sgcdi derivation: constraint name: DiagnosticReport type: DiagnosticReport elements: category: type: CodeableConcept index: 5 extensions: {} elements: extension: {index: 6} coding: elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0074'} index: 7 version: {index: 8} code: pattern: {type: Code, value: LAB} index: 9 conclusionCode: type: CodeableConcept binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/abnormal-flag'} index: 60 extensions: {} elements: extension: {index: 61} coding: elements: system: pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/abnormal-flag'} index: 62 version: {index: 63} study: {index: 37} supportingInfo: index: 38 elements: id: {index: 39} extension: {index: 40} modifierExtension: {index: 41} type: elements: id: {index: 42} extension: {index: 43} coding: index: 44 elements: id: {index: 45} extension: {index: 46} system: {index: 47} code: {index: 48} display: {index: 49} userSelected: {index: 50} extensions: {} required: [display, system, code] text: {index: 51} extensions: {} required: [coding] reference: type: Reference refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-specimen'] index: 52 extensions: {} encounter: type: Reference refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-encounter'] index: 14 specimen: type: Reference refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-specimen'] index: 33 note: {type: Annotation, index: 36} contained: short: Sample for analysis constraint: dom-2: {human: 'If the resource is contained in another resource, it SHALL NOT contain nested Resources', source: 'http://hl7.org/fhir/StructureDefinition/DomainResource', severity: error, expression: contained.contained.empty()} dom-4: {human: 'If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated', source: 'http://hl7.org/fhir/StructureDefinition/DomainResource', severity: error, expression: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()} dom-3: {human: 'If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource', source: 'http://hl7.org/fhir/StructureDefinition/DomainResource', severity: error, expression: 'contained.where(((''#''+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = ''#'').exists() or descendants().where(ofType(canonical) = ''#'').exists() or descendants().where(ofType(canonical) = ''#'').exists()).not()).trace(''unmatched'', id).empty()'} dom-6: {human: A resource should have narrative for robust management, source: 'http://hl7.org/fhir/StructureDefinition/DomainResource', severity: warning, expression: text.`div`.exists()} dom-5: {human: 'If a resource is contained in another resource, it SHALL NOT have a security label', source: 'http://hl7.org/fhir/StructureDefinition/DomainResource', severity: error, expression: contained.meta.security.empty()} index: 0 resultsInterpreter: type: Reference refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-practitioner'] index: 18 elements: id: {index: 19} extension: {index: 20} reference: {index: 21} type: pattern: {type: Uri, value: Practitioner} index: 22 identifier: index: 23 elements: id: {index: 24} extension: {index: 25} use: {index: 26} type: {index: 27} system: pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/mcr'} index: 28 value: {index: 29} period: {index: 30} assigner: {index: 31} extensions: {} required: [value, system] display: {index: 32} extensions: {} required: [identifier] result: type: Reference refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-cr-observation'] index: 34 elements: reference: {index: 35} required: [reference] effective: choices: [] index: 16 code: type: CodeableConcept index: 10 extensions: {} elements: extension: {index: 11} coding: elements: version: {index: 12} identifier: type: Identifier index: 2 elements: system: pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/sequence-no'} index: 3 presentedForm: {type: Attachment, index: 64} composition: {index: 59} basedOn: {index: 4} media: index: 53 elements: id: {index: 54} extension: {index: 55} modifierExtension: {index: 56} comment: {index: 57} link: type: Reference refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-documentreference'] index: 58 extensions: {} subject: type: Reference refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-patient'] index: 13 modifierExtension: {index: 1} performer: type: Reference short: A reference from one resource to another refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-practitionerrole'] index: 17 package_version: 1.0.9 class: profile kind: resource url: https://fhir.synapxe.sg/StructureDefinition/profile-cr-diagnosticreport base: http://hl7.org/fhir/StructureDefinition/DiagnosticReport version: null required: [identifier, category, effective]