{
"description": null,
"_filename": "profile-cr-diagnosticreport.StructureDefinition.json",
"package_name": "synapxe.sgcdi",
"date": null,
"derivation": "constraint",
"publisher": null,
"fhirVersion": "5.0.0",
"name": "profile-cr-diagnosticreport",
"abstract": false,
"type": "DiagnosticReport",
"experimental": null,
"resourceType": "StructureDefinition",
"title": null,
"package_version": "1.0.6",
"status": "active",
"id": "d9b770b6-ee30-4f8e-b984-111b76bd057b",
"kind": "resource",
"url": "https://fhir.synapxe.sg/StructureDefinition/profile-cr-diagnosticreport",
"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",
"max": "0",
"path": "DiagnosticReport.identifier"
}, {
"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.basedOn",
"max": "0",
"path": "DiagnosticReport.basedOn"
}, {
"id": "DiagnosticReport.category",
"max": "1",
"min": 1,
"path": "DiagnosticReport.category",
"type": [ {
"code": "CodeableConcept",
"profile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-codeableconcept" ]
} ],
"binding": {
"strength": "required"
}
}, {
"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" ]
} ]
}, {
"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",
"max": "0",
"path": "DiagnosticReport.subject",
"type": [ {
"code": "Reference",
"profile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-reference-patient" ],
"targetProfile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-patient" ]
} ]
}, {
"id": "DiagnosticReport.encounter",
"max": "0",
"path": "DiagnosticReport.encounter",
"type": [ {
"code": "Reference",
"profile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-reference-encounter" ],
"targetProfile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-encounter" ]
} ]
}, {
"id": "DiagnosticReport.effective[x]",
"min": 1,
"path": "DiagnosticReport.effective[x]"
}, {
"id": "DiagnosticReport.performer",
"max": "1",
"path": "DiagnosticReport.performer",
"type": [ {
"code": "Reference",
"aggregation": [ "contained" ],
"targetProfile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-practitionerrole" ]
} ],
"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": "0",
"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": "0",
"path": "DiagnosticReport.specimen",
"type": [ {
"code": "Reference",
"targetProfile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-specimen" ]
} ]
}, {
"id": "DiagnosticReport.result",
"path": "DiagnosticReport.result",
"type": [ {
"code": "Reference",
"targetProfile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-cr-observation" ]
} ]
}, {
"id": "DiagnosticReport.result.reference",
"min": 1,
"path": "DiagnosticReport.result.reference"
}, {
"id": "DiagnosticReport.note",
"max": "0",
"path": "DiagnosticReport.note",
"type": [ {
"code": "Annotation",
"profile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-annotation" ]
} ]
}, {
"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.conclusionCode",
"max": "1",
"path": "DiagnosticReport.conclusionCode",
"type": [ {
"code": "CodeableConcept",
"profile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-codeableconcept" ]
} ],
"binding": {
"strength": "required",
"valueSet": "https://fhir.synapxe.sg/ValueSet/abnormal-flag"
}
}, {
"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" ]
} ]
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport"
}