description: null package_name: synapxe.sgcdi derivation: constraint name: DiagnosticReport type: DiagnosticReport elements: category: type: CodeableConcept index: 12 extensions: {} elements: extension: {index: 13} coding: elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0074'} index: 14 version: {index: 15} code: pattern: {type: Code, value: LAB} index: 16 conclusionCode: type: CodeableConcept binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/abnormal-flag'} index: 67 extensions: {} elements: extension: {index: 68} coding: elements: system: pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/abnormal-flag'} index: 69 version: {index: 70} study: {index: 44} supportingInfo: index: 45 elements: id: {index: 46} extension: {index: 47} modifierExtension: {index: 48} type: elements: id: {index: 49} extension: {index: 50} coding: index: 51 elements: id: {index: 52} extension: {index: 53} system: {index: 54} code: {index: 55} display: {index: 56} userSelected: {index: 57} extensions: {} required: [display, system, code] text: {index: 58} extensions: {} required: [coding] reference: type: Reference refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-specimen'] index: 59 extensions: {} encounter: type: Reference refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-encounter'] index: 21 specimen: type: Reference refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-specimen'] index: 40 note: {type: Annotation, index: 43} 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: 25 elements: id: {index: 26} extension: {index: 27} reference: {index: 28} type: pattern: {type: Uri, value: Practitioner} index: 29 identifier: index: 30 elements: id: {index: 31} extension: {index: 32} use: {index: 33} type: {index: 34} system: pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/mcr'} index: 35 value: {index: 36} period: {index: 37} assigner: {index: 38} extensions: {} required: [value, system] display: {index: 39} extensions: {} required: [identifier] result: type: Reference refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-cr-observation'] index: 41 elements: reference: {index: 42} required: [reference] effective: choices: [] index: 23 code: type: CodeableConcept index: 17 extensions: {} elements: extension: {index: 18} coding: elements: version: {index: 19} identifier: index: 2 elements: id: {index: 3} extension: {index: 4} use: {index: 5} type: {index: 6} system: {index: 7} value: {index: 8} period: {index: 9} assigner: {index: 10} extensions: {} required: [value, system] presentedForm: {type: Attachment, index: 71} composition: {index: 66} basedOn: {index: 11} media: index: 60 elements: id: {index: 61} extension: {index: 62} modifierExtension: {index: 63} comment: {index: 64} link: type: Reference refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-documentreference'] index: 65 extensions: {} subject: type: Reference refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-patient'] index: 20 modifierExtension: {index: 1} performer: type: Reference short: A reference from one resource to another refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-practitionerrole'] index: 24 package_version: 1.0.3 class: profile kind: resource url: https://fhir.synapxe.sg/StructureDefinition/profile-cr-diagnosticreport base: http://hl7.org/fhir/StructureDefinition/DiagnosticReport version: null required: [category, effective]