{
"description": null,
"_filename": "profile-labresult.StructureDefinition.json",
"package_name": "synapxe.sgcdi",
"date": null,
"derivation": "constraint",
"publisher": null,
"fhirVersion": "5.0.0",
"name": "LabResult",
"abstract": false,
"type": "DiagnosticReport",
"experimental": null,
"resourceType": "StructureDefinition",
"title": null,
"package_version": "1.0.8",
"status": "active",
"id": "cff22c06-7289-48bb-b5a5-845c4a537131",
"kind": "resource",
"url": "https://fhir.synapxe.sg/StructureDefinition/profile-labresult",
"version": null,
"differential": {
"element": [ {
"id": "DiagnosticReport.contained",
"path": "DiagnosticReport.contained",
"short": "Sample for analysis",
"mapping": [ {
"map": "Entity, Role, or Act",
"identity": "rim"
}, {
"map": "clinical.diagnostics",
"identity": "w5"
}, {
"map": "Role[classCode=SPEC]",
"identity": "rim"
} ],
"constraint": [ {
"key": "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()"
}, {
"key": "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()"
}, {
"key": "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()"
}, {
"key": "dom-6",
"human": "A resource should have narrative for robust management",
"source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
"severity": "warning",
"expression": "text.`div`.exists()"
}, {
"key": "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()"
} ],
"definition": "A sample to be used for analysis."
}, {
"id": "DiagnosticReport.modifierExtension",
"max": "0",
"path": "DiagnosticReport.modifierExtension"
}, {
"id": "DiagnosticReport.identifier",
"min": 1,
"path": "DiagnosticReport.identifier",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "system",
"type": "value"
} ]
}
}, {
"id": "DiagnosticReport.identifier.id",
"max": "0",
"path": "DiagnosticReport.identifier.id"
}, {
"id": "DiagnosticReport.identifier.extension",
"max": "0",
"path": "DiagnosticReport.identifier.extension"
}, {
"id": "DiagnosticReport.identifier.use",
"max": "0",
"path": "DiagnosticReport.identifier.use"
}, {
"id": "DiagnosticReport.identifier.type",
"max": "0",
"path": "DiagnosticReport.identifier.type"
}, {
"id": "DiagnosticReport.identifier.system",
"min": 1,
"path": "DiagnosticReport.identifier.system"
}, {
"id": "DiagnosticReport.identifier.value",
"min": 1,
"path": "DiagnosticReport.identifier.value"
}, {
"id": "DiagnosticReport.identifier.period",
"max": "0",
"path": "DiagnosticReport.identifier.period"
}, {
"id": "DiagnosticReport.identifier.assigner",
"max": "0",
"path": "DiagnosticReport.identifier.assigner"
}, {
"id": "DiagnosticReport.identifier:recordIdentifier",
"max": "1",
"min": 1,
"path": "DiagnosticReport.identifier",
"sliceName": "recordIdentifier"
}, {
"id": "DiagnosticReport.identifier:recordIdentifier.id",
"max": "0",
"path": "DiagnosticReport.identifier.id"
}, {
"id": "DiagnosticReport.identifier:recordIdentifier.extension",
"max": "0",
"path": "DiagnosticReport.identifier.extension"
}, {
"id": "DiagnosticReport.identifier:recordIdentifier.use",
"max": "0",
"path": "DiagnosticReport.identifier.use"
}, {
"id": "DiagnosticReport.identifier:recordIdentifier.type",
"max": "0",
"path": "DiagnosticReport.identifier.type"
}, {
"id": "DiagnosticReport.identifier:recordIdentifier.system",
"min": 1,
"path": "DiagnosticReport.identifier.system",
"fixedUri": "https://fhir.synapxe.sg/NamingSystem/recordIdentifier"
}, {
"id": "DiagnosticReport.identifier:recordIdentifier.value",
"min": 1,
"path": "DiagnosticReport.identifier.value"
}, {
"id": "DiagnosticReport.identifier:recordIdentifier.period",
"max": "0",
"path": "DiagnosticReport.identifier.period"
}, {
"id": "DiagnosticReport.identifier:recordIdentifier.assigner",
"max": "0",
"path": "DiagnosticReport.identifier.assigner"
}, {
"id": "DiagnosticReport.identifier:accessionNumber",
"max": "1",
"min": 1,
"path": "DiagnosticReport.identifier",
"sliceName": "accessionNumber"
}, {
"id": "DiagnosticReport.identifier:accessionNumber.id",
"max": "0",
"path": "DiagnosticReport.identifier.id"
}, {
"id": "DiagnosticReport.identifier:accessionNumber.extension",
"max": "0",
"path": "DiagnosticReport.identifier.extension"
}, {
"id": "DiagnosticReport.identifier:accessionNumber.use",
"max": "0",
"path": "DiagnosticReport.identifier.use"
}, {
"id": "DiagnosticReport.identifier:accessionNumber.type",
"max": "0",
"path": "DiagnosticReport.identifier.type"
}, {
"id": "DiagnosticReport.identifier:accessionNumber.system",
"path": "DiagnosticReport.identifier.system",
"fixedUri": "https://fhir.synapxe.sg/NamingSystem/accessionNumber"
}, {
"id": "DiagnosticReport.identifier:accessionNumber.value",
"min": 1,
"path": "DiagnosticReport.identifier.value"
}, {
"id": "DiagnosticReport.identifier:accessionNumber.period",
"max": "0",
"path": "DiagnosticReport.identifier.period"
}, {
"id": "DiagnosticReport.identifier:accessionNumber.assigner",
"max": "0",
"path": "DiagnosticReport.identifier.assigner"
}, {
"id": "DiagnosticReport.basedOn",
"max": "1",
"min": 1,
"path": "DiagnosticReport.basedOn",
"type": [ {
"code": "Reference",
"targetProfile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-servicerequest" ]
} ]
}, {
"path": "DiagnosticReport.category",
"min": 1,
"definition": "A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.",
"short": "Concept - reference to a terminology or just text",
"type": [ {
"code": "CodeableConcept",
"profile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-codeableconcept" ]
} ],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/fhir/ValueSet/diagnostic-service-sections",
"description": "HL7 V2 table 0074"
},
"max": "1",
"id": "DiagnosticReport.category",
"comment": "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination."
}, {
"id": "DiagnosticReport.category.extension",
"max": "0",
"path": "DiagnosticReport.category.extension"
}, {
"id": "DiagnosticReport.category.coding.system",
"path": "DiagnosticReport.category.coding.system",
"fixedUri": "http://terminology.hl7.org/CodeSystem/v2-0074"
}, {
"id": "DiagnosticReport.category.coding.version",
"max": "0",
"path": "DiagnosticReport.category.coding.version"
}, {
"id": "DiagnosticReport.category.coding.code",
"path": "DiagnosticReport.category.coding.code",
"fixedCode": "LAB"
}, {
"id": "DiagnosticReport.code",
"path": "DiagnosticReport.code",
"type": [ {
"code": "CodeableConcept",
"profile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-codeableconcept" ]
} ],
"short": "Concept - reference to a terminology or just text",
"definition": "A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text."
}, {
"id": "DiagnosticReport.code.extension",
"max": "0",
"path": "DiagnosticReport.code.extension"
}, {
"id": "DiagnosticReport.code.coding.version",
"max": "0",
"path": "DiagnosticReport.code.coding.version"
}, {
"id": "DiagnosticReport.subject",
"min": 1,
"path": "DiagnosticReport.subject",
"type": [ {
"code": "Reference",
"profile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-reference-patient" ],
"targetProfile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-patient" ]
} ],
"short": "A reference from one resource to another",
"definition": "A reference from one resource to another."
}, {
"id": "DiagnosticReport.encounter",
"min": 1,
"path": "DiagnosticReport.encounter",
"type": [ {
"code": "Reference",
"profile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-reference-encounter" ],
"targetProfile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-encounter" ]
} ],
"short": "A reference from one resource to another",
"comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolvable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
"definition": "A reference from one resource to another."
}, {
"id": "DiagnosticReport.effective[x]",
"max": "0",
"path": "DiagnosticReport.effective[x]"
}, {
"id": "DiagnosticReport.issued",
"min": 1,
"path": "DiagnosticReport.issued"
}, {
"id": "DiagnosticReport.performer",
"max": "1",
"path": "DiagnosticReport.performer",
"type": [ {
"code": "Reference",
"targetProfile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-location" ]
} ],
"short": "A reference from one resource to another",
"comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolvable (allowing for access control, temporary unavailability, etc.). Resolution can be either by retrieval from the URL, or, where applicable by resource type, by treating an absolute reference as a canonical URL and looking it up in a local registry/repository.",
"definition": "A reference from one resource to another."
}, {
"id": "DiagnosticReport.resultsInterpreter",
"max": "1",
"min": 1,
"path": "DiagnosticReport.resultsInterpreter",
"type": [ {
"code": "Reference",
"targetProfile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-practitioner" ]
} ]
}, {
"id": "DiagnosticReport.resultsInterpreter.id",
"max": "0",
"path": "DiagnosticReport.resultsInterpreter.id"
}, {
"id": "DiagnosticReport.resultsInterpreter.extension",
"max": "0",
"path": "DiagnosticReport.resultsInterpreter.extension"
}, {
"id": "DiagnosticReport.resultsInterpreter.reference",
"max": "0",
"path": "DiagnosticReport.resultsInterpreter.reference"
}, {
"id": "DiagnosticReport.resultsInterpreter.type",
"path": "DiagnosticReport.resultsInterpreter.type",
"fixedUri": "Practitioner"
}, {
"id": "DiagnosticReport.resultsInterpreter.identifier",
"min": 1,
"path": "DiagnosticReport.resultsInterpreter.identifier"
}, {
"id": "DiagnosticReport.resultsInterpreter.identifier.id",
"max": "0",
"path": "DiagnosticReport.resultsInterpreter.identifier.id"
}, {
"id": "DiagnosticReport.resultsInterpreter.identifier.extension",
"max": "0",
"path": "DiagnosticReport.resultsInterpreter.identifier.extension"
}, {
"id": "DiagnosticReport.resultsInterpreter.identifier.use",
"max": "0",
"path": "DiagnosticReport.resultsInterpreter.identifier.use"
}, {
"id": "DiagnosticReport.resultsInterpreter.identifier.type",
"max": "0",
"path": "DiagnosticReport.resultsInterpreter.identifier.type"
}, {
"id": "DiagnosticReport.resultsInterpreter.identifier.system",
"min": 1,
"path": "DiagnosticReport.resultsInterpreter.identifier.system",
"fixedUri": "https://fhir.synapxe.sg/NamingSystem/mcr"
}, {
"id": "DiagnosticReport.resultsInterpreter.identifier.value",
"min": 1,
"path": "DiagnosticReport.resultsInterpreter.identifier.value"
}, {
"id": "DiagnosticReport.resultsInterpreter.identifier.period",
"max": "0",
"path": "DiagnosticReport.resultsInterpreter.identifier.period"
}, {
"id": "DiagnosticReport.resultsInterpreter.identifier.assigner",
"max": "0",
"path": "DiagnosticReport.resultsInterpreter.identifier.assigner"
}, {
"id": "DiagnosticReport.resultsInterpreter.display",
"max": "0",
"path": "DiagnosticReport.resultsInterpreter.display"
}, {
"id": "DiagnosticReport.specimen",
"max": "1",
"path": "DiagnosticReport.specimen",
"type": [ {
"code": "Reference",
"targetProfile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-specimen" ]
} ]
}, {
"id": "DiagnosticReport.result",
"min": 1,
"path": "DiagnosticReport.result",
"type": [ {
"code": "Reference",
"targetProfile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-investigation" ]
} ]
}, {
"id": "DiagnosticReport.result.reference",
"min": 1,
"path": "DiagnosticReport.result.reference"
}, {
"id": "DiagnosticReport.note",
"max": "1",
"path": "DiagnosticReport.note",
"type": [ {
"code": "Annotation",
"profile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-annotation" ]
} ],
"short": "Text node with attribution",
"comment": "For systems that do not have structured annotations, they can simply communicate a single annotation with no author or time. This element may need to be included in narrative because of the potential for modifying information. *Annotations SHOULD NOT* be used to communicate \"modifying\" information that could be computable. (This is a SHOULD because enforcing user behavior is nearly impossible).",
"definition": "A text note which also contains information about who made the statement and when."
}, {
"id": "DiagnosticReport.study",
"max": "0",
"path": "DiagnosticReport.study"
}, {
"id": "DiagnosticReport.supportingInfo",
"max": "0",
"path": "DiagnosticReport.supportingInfo"
}, {
"id": "DiagnosticReport.supportingInfo.id",
"max": "0",
"path": "DiagnosticReport.supportingInfo.id"
}, {
"id": "DiagnosticReport.supportingInfo.extension",
"max": "0",
"path": "DiagnosticReport.supportingInfo.extension"
}, {
"id": "DiagnosticReport.supportingInfo.modifierExtension",
"max": "0",
"path": "DiagnosticReport.supportingInfo.modifierExtension"
}, {
"id": "DiagnosticReport.supportingInfo.type.id",
"max": "0",
"path": "DiagnosticReport.supportingInfo.type.id"
}, {
"id": "DiagnosticReport.supportingInfo.type.extension",
"max": "0",
"path": "DiagnosticReport.supportingInfo.type.extension"
}, {
"id": "DiagnosticReport.supportingInfo.type.coding",
"max": "1",
"min": 1,
"path": "DiagnosticReport.supportingInfo.type.coding"
}, {
"id": "DiagnosticReport.supportingInfo.type.coding.id",
"max": "0",
"path": "DiagnosticReport.supportingInfo.type.coding.id"
}, {
"id": "DiagnosticReport.supportingInfo.type.coding.extension",
"max": "0",
"path": "DiagnosticReport.supportingInfo.type.coding.extension"
}, {
"id": "DiagnosticReport.supportingInfo.type.coding.system",
"min": 1,
"path": "DiagnosticReport.supportingInfo.type.coding.system"
}, {
"id": "DiagnosticReport.supportingInfo.type.coding.code",
"min": 1,
"path": "DiagnosticReport.supportingInfo.type.coding.code"
}, {
"id": "DiagnosticReport.supportingInfo.type.coding.display",
"min": 1,
"path": "DiagnosticReport.supportingInfo.type.coding.display"
}, {
"id": "DiagnosticReport.supportingInfo.type.coding.userSelected",
"max": "0",
"path": "DiagnosticReport.supportingInfo.type.coding.userSelected"
}, {
"id": "DiagnosticReport.supportingInfo.type.text",
"max": "0",
"path": "DiagnosticReport.supportingInfo.type.text"
}, {
"id": "DiagnosticReport.supportingInfo.reference",
"path": "DiagnosticReport.supportingInfo.reference",
"type": [ {
"code": "Reference",
"targetProfile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-specimen" ]
} ]
}, {
"id": "DiagnosticReport.media",
"max": "0",
"path": "DiagnosticReport.media"
}, {
"id": "DiagnosticReport.media.id",
"max": "0",
"path": "DiagnosticReport.media.id"
}, {
"id": "DiagnosticReport.media.extension",
"max": "0",
"path": "DiagnosticReport.media.extension"
}, {
"id": "DiagnosticReport.media.modifierExtension",
"max": "0",
"path": "DiagnosticReport.media.modifierExtension"
}, {
"id": "DiagnosticReport.media.comment",
"max": "0",
"path": "DiagnosticReport.media.comment"
}, {
"id": "DiagnosticReport.media.link",
"path": "DiagnosticReport.media.link",
"type": [ {
"code": "Reference",
"targetProfile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-documentreference" ]
} ]
}, {
"id": "DiagnosticReport.composition",
"max": "0",
"path": "DiagnosticReport.composition"
}, {
"id": "DiagnosticReport.conclusion",
"max": "0",
"path": "DiagnosticReport.conclusion"
}, {
"id": "DiagnosticReport.conclusionCode",
"max": "1",
"path": "DiagnosticReport.conclusionCode",
"type": [ {
"code": "CodeableConcept",
"profile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-codeableconcept" ]
} ],
"short": "Concept - reference to a terminology or just text",
"binding": {
"strength": "required",
"valueSet": "https://fhir.synapxe.sg/ValueSet/abnormal-flag",
"description": "SNOMED CT Clinical Findings"
},
"definition": "A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text."
}, {
"id": "DiagnosticReport.conclusionCode.extension",
"max": "0",
"path": "DiagnosticReport.conclusionCode.extension"
}, {
"id": "DiagnosticReport.conclusionCode.coding.system",
"path": "DiagnosticReport.conclusionCode.coding.system",
"fixedUri": "https://fhir.synapxe.sg/CodeSystem/abnormal-flag"
}, {
"id": "DiagnosticReport.conclusionCode.coding.version",
"max": "0",
"path": "DiagnosticReport.conclusionCode.coding.version"
}, {
"id": "DiagnosticReport.presentedForm",
"path": "DiagnosticReport.presentedForm",
"type": [ {
"code": "Attachment",
"profile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-attachment" ]
} ],
"short": "Content in a format defined elsewhere",
"comment": "When providing a summary view (for example with Observation.value[x]) Attachment should be represented with a brief display text such as \"Signed Procedure Consent\".",
"definition": "For referring to data content defined in other formats."
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport"
}