{
"description": null,
"_filename": "DocumentReferenceProfile.json",
"package_name": "accdr.fhir.ig.pkg",
"date": "2023-10-15T01:59:12.3241587+00:00",
"derivation": "constraint",
"meta": {
"lastUpdated": "2023-10-15T01:53:04.4021194+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.0-alpha",
"status": "draft",
"id": "d59b7aca-262d-4305-950e-2de14e988af1",
"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",
"max": "1",
"min": 1,
"path": "DocumentReference.meta.profile",
"mustSupport": true,
"fixedCanonical": "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-accdr-profile-DocumentReference"
}, {
"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.",
"binding": {
"strength": "required"
},
"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",
"fixedCode": "PLAC",
"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",
"binding": {
"strength": "required"
},
"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",
"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",
"binding": {
"strength": "required"
},
"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.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",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "system",
"type": "value"
} ]
}
}, {
"id": "DocumentReference.type.coding:slice-local-document-type",
"max": "1",
"min": 1,
"path": "DocumentReference.type.coding",
"binding": {
"strength": "extensible",
"valueSet": "http://ontariohealth.ca/fhir/ValueSet/local-document-type"
},
"sliceName": "slice-local-document-type"
}, {
"id": "DocumentReference.type.coding:slice-local-document-type.system",
"min": 1,
"path": "DocumentReference.type.coding.system"
}, {
"id": "DocumentReference.type.coding:slice-local-document-type.code",
"min": 1,
"path": "DocumentReference.type.coding.code"
}, {
"id": "DocumentReference.type.coding:slice-provincial-document-type",
"max": "1",
"path": "DocumentReference.type.coding",
"binding": {
"strength": "extensible",
"valueSet": "http://ontariohealth.ca/fhir/ValueSet/provincial-document-type"
},
"sliceName": "slice-provincial-document-type"
}, {
"id": "DocumentReference.type.coding:slice-provincial-document-type.system",
"min": 1,
"path": "DocumentReference.type.coding.system"
}, {
"id": "DocumentReference.type.coding:slice-provincial-document-type.code",
"min": 1,
"path": "DocumentReference.type.coding.code"
}, {
"id": "DocumentReference.category",
"path": "DocumentReference.category",
"comment": "Only populated on document retrieval",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "extension.value[x].code",
"type": "value"
} ]
},
"mustSupport": true
}, {
"id": "DocumentReference.category.extension",
"min": 1,
"path": "DocumentReference.category.extension",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
}
}, {
"id": "DocumentReference.category.extension:ext-LOINC-ontology-axis",
"max": "1",
"min": 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,
"mustSupport": true
}, {
"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.category:sliceCategory-subject-matter-domain",
"path": "DocumentReference.category",
"binding": {
"strength": "required",
"valueSet": "http://ontariohealth.ca/fhir/ValueSet/document-subject-matter-domain",
"description": "The document-subject-matter-domain property in LOINC characterizes the clinical domain that is the subject of the document."
},
"sliceName": "sliceCategory-subject-matter-domain",
"mustSupport": true
}, {
"id": "DocumentReference.category:sliceCategory-subject-matter-domain.extension",
"min": 1,
"path": "DocumentReference.category.extension",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
}
}, {
"id": "DocumentReference.category:sliceCategory-subject-matter-domain.extension:ext-LOINC-ontology-axis",
"max": "1",
"min": 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,
"mustSupport": true
}, {
"id": "DocumentReference.category:sliceCategory-subject-matter-domain.extension:ext-LOINC-ontology-axis.value[x].code",
"path": "DocumentReference.category.extension.value[x].code",
"fixedCode": "74480-5"
}, {
"id": "DocumentReference.category:sliceCategory-subject-matter-domain.coding",
"max": "1",
"min": 1,
"path": "DocumentReference.category.coding",
"mustSupport": true
}, {
"id": "DocumentReference.category:sliceCategory-subject-matter-domain.coding.system",
"min": 1,
"path": "DocumentReference.category.coding.system",
"fixedUri": "http://loinc.org",
"mustSupport": true
}, {
"id": "DocumentReference.category:sliceCategory-subject-matter-domain.coding.code",
"min": 1,
"path": "DocumentReference.category.coding.code",
"mustSupport": true
}, {
"id": "DocumentReference.category:sliceCategory-subject-matter-domain.coding.display",
"min": 1,
"path": "DocumentReference.category.coding.display",
"mustSupport": true
}, {
"id": "DocumentReference.category:sliceCategory-kind-of-document",
"path": "DocumentReference.category",
"binding": {
"strength": "required",
"valueSet": "http://ontariohealth.ca/fhir/ValueSet/document-kind-of-document",
"description": "The document-kind property in LOINC Characterizes the general structure of the document at a macro level."
},
"sliceName": "sliceCategory-kind-of-document",
"mustSupport": true
}, {
"id": "DocumentReference.category:sliceCategory-kind-of-document.extension",
"min": 1,
"path": "DocumentReference.category.extension",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
}
}, {
"id": "DocumentReference.category:sliceCategory-kind-of-document.extension:ext-LOINC-ontology-axis",
"max": "1",
"min": 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,
"mustSupport": true
}, {
"id": "DocumentReference.category:sliceCategory-kind-of-document.extension:ext-LOINC-ontology-axis.value[x].code",
"path": "DocumentReference.category.extension.value[x].code",
"fixedCode": "74477-1"
}, {
"id": "DocumentReference.category:sliceCategory-kind-of-document.extension:ext-LOINC-ontology-axis.value[x].display",
"path": "DocumentReference.category.extension.value[x].display",
"fixedString": "Kind of document"
}, {
"id": "DocumentReference.category:sliceCategory-kind-of-document.coding",
"max": "1",
"min": 1,
"path": "DocumentReference.category.coding",
"mustSupport": true
}, {
"id": "DocumentReference.category:sliceCategory-kind-of-document.coding.system",
"min": 1,
"path": "DocumentReference.category.coding.system",
"fixedUri": "http://loinc.org",
"mustSupport": true
}, {
"id": "DocumentReference.category:sliceCategory-kind-of-document.coding.code",
"min": 1,
"path": "DocumentReference.category.coding.code",
"mustSupport": true
}, {
"id": "DocumentReference.category:sliceCategory-kind-of-document.coding.display",
"min": 1,
"path": "DocumentReference.category.coding.display",
"mustSupport": true
}, {
"id": "DocumentReference.category:sliceCategory-type-of-service",
"path": "DocumentReference.category",
"binding": {
"strength": "required",
"valueSet": "http://ontariohealth.ca/fhir/ValueSet/document-type-of-service",
"description": "The document-type-of-service property in LOINC characterizes the kind of service or activity provided to/for the patient (or other subject of the service) that is described in the document"
},
"sliceName": "sliceCategory-type-of-service",
"mustSupport": true
}, {
"id": "DocumentReference.category:sliceCategory-type-of-service.extension",
"min": 1,
"path": "DocumentReference.category.extension",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
}
}, {
"id": "DocumentReference.category:sliceCategory-type-of-service.extension:ext-LOINC-ontology-axis",
"max": "1",
"min": 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:sliceCategory-type-of-service.extension:ext-LOINC-ontology-axis.value[x].code",
"path": "DocumentReference.category.extension.value[x].code",
"fixedCode": "74478-9"
}, {
"id": "DocumentReference.category:sliceCategory-type-of-service.coding",
"max": "1",
"min": 1,
"path": "DocumentReference.category.coding",
"mustSupport": true
}, {
"id": "DocumentReference.category:sliceCategory-type-of-service.coding.system",
"min": 1,
"path": "DocumentReference.category.coding.system",
"fixedUri": "http://loinc.org",
"mustSupport": true
}, {
"id": "DocumentReference.category:sliceCategory-type-of-service.coding.code",
"min": 1,
"path": "DocumentReference.category.coding.code",
"mustSupport": true
}, {
"id": "DocumentReference.category:sliceCategory-type-of-service.coding.display",
"min": 1,
"path": "DocumentReference.category.coding.display",
"mustSupport": true
}, {
"id": "DocumentReference.category:sliceCategory-Role",
"path": "DocumentReference.category",
"binding": {
"strength": "required",
"valueSet": "http://ontariohealth.ca/fhir/ValueSet/document-role",
"description": "The document-role property in LOINC characterizes the training or professional level of the author of the document"
},
"sliceName": "sliceCategory-Role",
"mustSupport": true
}, {
"id": "DocumentReference.category:sliceCategory-Role.extension",
"min": 1,
"path": "DocumentReference.category.extension",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
}
}, {
"id": "DocumentReference.category:sliceCategory-Role.extension:ext-LOINC-ontology-axis",
"max": "1",
"min": 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,
"mustSupport": true
}, {
"id": "DocumentReference.category:sliceCategory-Role.extension:ext-LOINC-ontology-axis.value[x].code",
"path": "DocumentReference.category.extension.value[x].code",
"fixedCode": "74479-7"
}, {
"id": "DocumentReference.category:sliceCategory-Role.extension:ext-LOINC-ontology-axis.value[x].display",
"path": "DocumentReference.category.extension.value[x].display",
"fixedString": "Role"
}, {
"id": "DocumentReference.category:sliceCategory-Role.coding",
"max": "1",
"min": 1,
"path": "DocumentReference.category.coding",
"mustSupport": true
}, {
"id": "DocumentReference.category:sliceCategory-Role.coding.system",
"min": 1,
"path": "DocumentReference.category.coding.system",
"mustSupport": true
}, {
"id": "DocumentReference.category:sliceCategory-Role.coding.code",
"min": 1,
"path": "DocumentReference.category.coding.code",
"mustSupport": true
}, {
"id": "DocumentReference.category:sliceCategory-Role.coding.display",
"min": 1,
"path": "DocumentReference.category.coding.display",
"mustSupport": true
}, {
"id": "DocumentReference.category:sliceCategory-Setting",
"path": "DocumentReference.category",
"binding": {
"strength": "required",
"valueSet": "http://ontariohealth.ca/fhir/ValueSet/document-setting",
"description": "The document-setting property in LOINC is a coarse definition of the Care Setting"
},
"sliceName": "sliceCategory-Setting",
"mustSupport": true
}, {
"id": "DocumentReference.category:sliceCategory-Setting.extension",
"min": 1,
"path": "DocumentReference.category.extension",
"slicing": {
"rules": "open",
"discriminator": [ {
"path": "url",
"type": "value"
} ]
}
}, {
"id": "DocumentReference.category:sliceCategory-Setting.extension:ext-LOINC-ontology-axis",
"max": "1",
"min": 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,
"mustSupport": true
}, {
"id": "DocumentReference.category:sliceCategory-Setting.extension:ext-LOINC-ontology-axis.value[x].code",
"path": "DocumentReference.category.extension.value[x].code",
"fixedCode": "74476-3"
}, {
"id": "DocumentReference.category:sliceCategory-Setting.extension:ext-LOINC-ontology-axis.value[x].display",
"path": "DocumentReference.category.extension.value[x].display",
"fixedString": "Setting"
}, {
"id": "DocumentReference.category:sliceCategory-Setting.coding",
"max": "1",
"min": 1,
"path": "DocumentReference.category.coding",
"mustSupport": true
}, {
"id": "DocumentReference.category:sliceCategory-Setting.coding.system",
"min": 1,
"path": "DocumentReference.category.coding.system",
"mustSupport": true
}, {
"id": "DocumentReference.category:sliceCategory-Setting.coding.code",
"min": 1,
"path": "DocumentReference.category.coding.code",
"mustSupport": true
}, {
"id": "DocumentReference.category:sliceCategory-Setting.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" ]
} ],
"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"
}