{
"description": null,
"_filename": "CDRDocumentReference.json",
"package_name": "accdr.fhir.ig.pkg",
"date": "2024-04-29T19:08:23.3955269+00:00",
"derivation": "constraint",
"meta": {
"lastUpdated": "2025-02-04T20:58:24.7848222+00:00"
},
"publisher": null,
"fhirVersion": "4.0.1",
"name": "CDRDocumentReference",
"mapping": [ {
"name": "CDR HL7 v2 data in",
"identity": "CDR-data-in-v2"
} ],
"abstract": false,
"type": "DocumentReference",
"experimental": null,
"resourceType": "StructureDefinition",
"title": null,
"package_version": "0.9.21",
"status": "draft",
"id": "9d941c10-82d1-4c79-985c-0c66fe1f34bd",
"kind": "resource",
"url": "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-profile-DocumentReference",
"version": null,
"differential": {
"element": [ {
"id": "DocumentReference.meta",
"min": 1,
"path": "DocumentReference.meta",
"mustSupport": true
}, {
"id": "DocumentReference.meta.profile",
"min": 1,
"path": "DocumentReference.meta.profile",
"mustSupport": true
}, {
"id": "DocumentReference.identifier",
"min": 1,
"path": "DocumentReference.identifier",
"comment": "this will contain the placer order number (OBR-2) and if applicable, filler order number (OBR-3). They will be distinguished by identifier.type.",
"mapping": [ {
"map": "OBR.3, ORC.4",
"identity": "CDR-data-in-v2"
} ],
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "type.coding.code",
"type": "value"
} ]
},
"definition": "Other identifiers associated with the document, including any identifier in the filling application, or a placer group number",
"mustSupport": true
}, {
"id": "DocumentReference.identifier.type",
"min": 1,
"path": "DocumentReference.identifier.type",
"short": "Description of identifier.",
"mustSupport": true
}, {
"id": "DocumentReference.identifier.type.coding",
"max": "1",
"min": 1,
"path": "DocumentReference.identifier.type.coding",
"mustSupport": true
}, {
"id": "DocumentReference.identifier.type.coding.system",
"min": 1,
"path": "DocumentReference.identifier.type.coding.system",
"fixedUri": "http://terminology.hl7.org/CodeSystem/v2-0203",
"mustSupport": true
}, {
"id": "DocumentReference.identifier.type.coding.code",
"min": 1,
"path": "DocumentReference.identifier.type.coding.code",
"mustSupport": true
}, {
"id": "DocumentReference.identifier.type.coding.display",
"min": 1,
"path": "DocumentReference.identifier.type.coding.display",
"mustSupport": true
}, {
"id": "DocumentReference.identifier.system",
"min": 1,
"path": "DocumentReference.identifier.system",
"mustSupport": true
}, {
"id": "DocumentReference.identifier.value",
"min": 1,
"path": "DocumentReference.identifier.value",
"mustSupport": true
}, {
"id": "DocumentReference.identifier:slice-placer-order-number",
"max": "1",
"min": 1,
"path": "DocumentReference.identifier",
"sliceName": "slice-placer-order-number",
"mustSupport": true
}, {
"id": "DocumentReference.identifier:slice-placer-order-number.type",
"min": 1,
"path": "DocumentReference.identifier.type",
"mustSupport": true
}, {
"id": "DocumentReference.identifier:slice-placer-order-number.type.coding",
"max": "1",
"min": 1,
"path": "DocumentReference.identifier.type.coding",
"mustSupport": true
}, {
"id": "DocumentReference.identifier:slice-placer-order-number.type.coding.system",
"min": 1,
"path": "DocumentReference.identifier.type.coding.system",
"fixedUri": "http://terminology.hl7.org/CodeSystem/v2-0203",
"mustSupport": true
}, {
"id": "DocumentReference.identifier:slice-placer-order-number.type.coding.code",
"min": 1,
"path": "DocumentReference.identifier.type.coding.code",
"fixedCode": "PLAC",
"mustSupport": true
}, {
"id": "DocumentReference.identifier:slice-placer-order-number.type.coding.display",
"min": 1,
"path": "DocumentReference.identifier.type.coding.display",
"mustSupport": true
}, {
"id": "DocumentReference.identifier:slice-placer-order-number.system",
"min": 1,
"path": "DocumentReference.identifier.system",
"mustSupport": true
}, {
"id": "DocumentReference.identifier:slice-placer-order-number.value",
"min": 1,
"path": "DocumentReference.identifier.value",
"mustSupport": true
}, {
"id": "DocumentReference.identifier:slice-filler-order-number",
"max": "1",
"path": "DocumentReference.identifier",
"sliceName": "slice-filler-order-number",
"mustSupport": true
}, {
"id": "DocumentReference.identifier:slice-filler-order-number.type",
"min": 1,
"path": "DocumentReference.identifier.type",
"mustSupport": true
}, {
"id": "DocumentReference.identifier:slice-filler-order-number.type.coding",
"max": "1",
"min": 1,
"path": "DocumentReference.identifier.type.coding",
"mustSupport": true
}, {
"id": "DocumentReference.identifier:slice-filler-order-number.type.coding.system",
"min": 1,
"path": "DocumentReference.identifier.type.coding.system",
"fixedUri": "http://terminology.hl7.org/CodeSystem/v2-0203",
"mustSupport": true
}, {
"id": "DocumentReference.identifier:slice-filler-order-number.type.coding.code",
"min": 1,
"path": "DocumentReference.identifier.type.coding.code",
"fixedCode": "FILL",
"mustSupport": true
}, {
"id": "DocumentReference.identifier:slice-filler-order-number.type.coding.display",
"min": 1,
"path": "DocumentReference.identifier.type.coding.display",
"mustSupport": true
}, {
"id": "DocumentReference.identifier:slice-filler-order-number.system",
"min": 1,
"path": "DocumentReference.identifier.system",
"mustSupport": true
}, {
"id": "DocumentReference.identifier:slice-filler-order-number.value",
"min": 1,
"path": "DocumentReference.identifier.value",
"mustSupport": true
}, {
"id": "DocumentReference.identifier:slice-placer-group-number",
"max": "1",
"path": "DocumentReference.identifier",
"sliceName": "slice-placer-group-number",
"mustSupport": true
}, {
"id": "DocumentReference.identifier:slice-placer-group-number.type",
"min": 1,
"path": "DocumentReference.identifier.type",
"mustSupport": true
}, {
"id": "DocumentReference.identifier:slice-placer-group-number.type.coding",
"max": "1",
"min": 1,
"path": "DocumentReference.identifier.type.coding",
"mustSupport": true
}, {
"id": "DocumentReference.identifier:slice-placer-group-number.type.coding.system",
"min": 1,
"path": "DocumentReference.identifier.type.coding.system",
"fixedUri": "http://terminology.hl7.org/CodeSystem/v2-0203",
"mustSupport": true
}, {
"id": "DocumentReference.identifier:slice-placer-group-number.type.coding.code",
"min": 1,
"path": "DocumentReference.identifier.type.coding.code",
"fixedCode": "PGN",
"mustSupport": true
}, {
"id": "DocumentReference.identifier:slice-placer-group-number.type.coding.display",
"min": 1,
"path": "DocumentReference.identifier.type.coding.display",
"mustSupport": true
}, {
"id": "DocumentReference.identifier:slice-placer-group-number.system",
"min": 1,
"path": "DocumentReference.identifier.system",
"mustSupport": true
}, {
"id": "DocumentReference.identifier:slice-placer-group-number.value",
"min": 1,
"path": "DocumentReference.identifier.value",
"mustSupport": true
}, {
"id": "DocumentReference.docStatus",
"min": 1,
"path": "DocumentReference.docStatus",
"mustSupport": true
}, {
"id": "DocumentReference.type",
"min": 1,
"path": "DocumentReference.type",
"mustSupport": true
}, {
"id": "DocumentReference.type.coding",
"min": 1,
"path": "DocumentReference.type.coding",
"mustSupport": true
}, {
"id": "DocumentReference.type.coding.system",
"min": 1,
"path": "DocumentReference.type.coding.system",
"mustSupport": true
}, {
"id": "DocumentReference.type.coding.code",
"min": 1,
"path": "DocumentReference.type.coding.code",
"mustSupport": true
}, {
"id": "DocumentReference.type.coding.display",
"min": 1,
"path": "DocumentReference.type.coding.display",
"mustSupport": true
}, {
"id": "DocumentReference.category",
"path": "DocumentReference.category",
"comment": "Only populated on document retrieval",
"mustSupport": true
}, {
"id": "DocumentReference.category.extension:ext-LOINC-Ontology-axis",
"max": "1",
"path": "DocumentReference.category.extension",
"type": [ {
"code": "Extension",
"profile": [ "http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis" ]
} ],
"sliceName": "ext-LOINC-Ontology-axis",
"isModifier": false
}, {
"id": "DocumentReference.category.coding",
"min": 1,
"path": "DocumentReference.category.coding",
"mustSupport": true
}, {
"id": "DocumentReference.category.coding.system",
"min": 1,
"path": "DocumentReference.category.coding.system",
"mustSupport": true
}, {
"id": "DocumentReference.category.coding.code",
"min": 1,
"path": "DocumentReference.category.coding.code",
"mustSupport": true
}, {
"id": "DocumentReference.category.coding.display",
"min": 1,
"path": "DocumentReference.category.coding.display",
"mustSupport": true
}, {
"id": "DocumentReference.subject",
"min": 1,
"path": "DocumentReference.subject",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-profile-Patient" ]
} ],
"mustSupport": true
}, {
"id": "DocumentReference.date",
"path": "DocumentReference.date",
"mustSupport": true
}, {
"id": "DocumentReference.author",
"path": "DocumentReference.author",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-profile-PractitionerRole", "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-profile-Practitioner", "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-profile-Organization" ]
} ],
"mapping": [ {
"map": "OBR.32",
"identity": "CDR-data-in-v2"
} ],
"mustSupport": true
}, {
"id": "DocumentReference.author.reference",
"min": 1,
"path": "DocumentReference.author.reference",
"mustSupport": true
}, {
"id": "DocumentReference.custodian",
"min": 1,
"path": "DocumentReference.custodian",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-profile-Organization" ]
} ],
"mapping": [ {
"map": "OBR.2.2",
"comment": "Organization OID in OBR.2.2",
"identity": "CDR-data-in-v2"
} ],
"mustSupport": true
}, {
"id": "DocumentReference.custodian.reference",
"min": 1,
"path": "DocumentReference.custodian.reference",
"mustSupport": true
}, {
"id": "DocumentReference.relatesTo",
"path": "DocumentReference.relatesTo",
"mustSupport": true
}, {
"id": "DocumentReference.relatesTo.code",
"path": "DocumentReference.relatesTo.code",
"mustSupport": true
}, {
"id": "DocumentReference.relatesTo.target",
"path": "DocumentReference.relatesTo.target",
"mustSupport": true
}, {
"id": "DocumentReference.content",
"path": "DocumentReference.content",
"mustSupport": true
}, {
"id": "DocumentReference.content.attachment",
"path": "DocumentReference.content.attachment",
"mustSupport": true
}, {
"id": "DocumentReference.content.attachment.url",
"path": "DocumentReference.content.attachment.url",
"mustSupport": true
}, {
"id": "DocumentReference.context",
"path": "DocumentReference.context",
"mustSupport": true
}, {
"id": "DocumentReference.context.encounter",
"max": "1",
"min": 1,
"path": "DocumentReference.context.encounter",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-profile-Encounter" ]
} ],
"mustSupport": true
}, {
"id": "DocumentReference.context.encounter.reference",
"min": 1,
"path": "DocumentReference.context.encounter.reference",
"mustSupport": true
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/DocumentReference"
}