description: null package_name: synapxe.sgcdi derivation: constraint name: LabResult type: DiagnosticReport elements: category: short: Concept - reference to a terminology or just text type: CodeableConcept binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/diagnostic-service-sections'} index: 30 extensions: {} elements: extension: {index: 31} coding: elements: system: pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0074'} index: 32 version: {index: 33} code: pattern: {type: Code, value: LAB} index: 34 conclusionCode: type: CodeableConcept short: Concept - reference to a terminology or just text binding: {strength: required, valueSet: 'https://fhir.synapxe.sg/ValueSet/abnormal-flag'} index: 87 extensions: {} elements: extension: {index: 88} coding: elements: system: pattern: {type: Uri, value: 'https://fhir.synapxe.sg/CodeSystem/abnormal-flag'} index: 89 version: {index: 90} conclusion: {index: 86} study: {index: 63} supportingInfo: index: 64 elements: id: {index: 65} extension: {index: 66} modifierExtension: {index: 67} type: elements: id: {index: 68} extension: {index: 69} coding: index: 70 elements: id: {index: 71} extension: {index: 72} system: {index: 73} code: {index: 74} display: {index: 75} userSelected: {index: 76} extensions: {} required: [display, system, code] text: {index: 77} extensions: {} required: [coding] reference: type: Reference refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-specimen'] index: 78 extensions: {} encounter: type: Reference short: A reference from one resource to another refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-encounter'] index: 39 specimen: type: Reference refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-specimen'] index: 59 note: {type: Annotation, short: Text node with attribution, index: 62} 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: 44 elements: id: {index: 45} extension: {index: 46} reference: {index: 47} type: pattern: {type: Uri, value: Practitioner} index: 48 identifier: index: 49 elements: id: {index: 50} extension: {index: 51} use: {index: 52} type: {index: 53} system: pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/mcr'} index: 54 value: {index: 55} period: {index: 56} assigner: {index: 57} extensions: {} required: [value, system] display: {index: 58} extensions: {} required: [identifier] result: type: Reference refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-investigation'] index: 60 elements: reference: {index: 61} required: [reference] effective: choices: [] index: 41 code: type: CodeableConcept short: Concept - reference to a terminology or just text index: 35 extensions: {} elements: extension: {index: 36} coding: elements: version: {index: 37} 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] slicing: rules: open discriminator: - {path: system, type: value} min: 1 slices: recordIdentifier: match: {system: 'https://fhir.synapxe.sg/NamingSystem/recordIdentifier'} schema: _required: true index: 11 elements: id: {index: 12} extension: {index: 13} use: {index: 14} type: {index: 15} system: pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/recordIdentifier'} index: 16 value: {index: 17} period: {index: 18} assigner: {index: 19} extensions: {} required: [value, system] accessionNumber: match: {system: 'https://fhir.synapxe.sg/NamingSystem/accessionNumber'} schema: _required: true index: 20 elements: id: {index: 21} extension: {index: 22} use: {index: 23} type: {index: 24} system: pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/accessionNumber'} index: 25 value: {index: 26} period: {index: 27} assigner: {index: 28} extensions: {} required: [value] issued: {index: 42} presentedForm: {type: Attachment, short: Content in a format defined elsewhere, index: 91} composition: {index: 85} basedOn: type: Reference refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-servicerequest'] index: 29 media: index: 79 elements: id: {index: 80} extension: {index: 81} modifierExtension: {index: 82} comment: {index: 83} link: type: Reference refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-documentreference'] index: 84 extensions: {} subject: type: Reference short: A reference from one resource to another refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-patient'] index: 38 modifierExtension: {index: 1} performer: type: Reference short: A reference from one resource to another refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-location'] index: 43 package_version: 1.0.0 class: profile kind: resource url: https://fhir.synapxe.sg/StructureDefinition/profile-labresult base: http://hl7.org/fhir/StructureDefinition/DiagnosticReport version: null required: [resultsInterpreter, issued, basedOn, encounter, identifier, subject, category, result]