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