{ "description": "This profile defines a set of constraints to the FHIR DocumentReference resource for use in Ontario Patient Summaries (PS-ON). This profile is based on the DocumentReference profile from the base R4 FHIR standard.", "_filename": "DocumentReferencePSON.json", "package_name": "ca.on.oh.patient-summary", "date": "2023-05-23T19:54:30.1588299+00:00", "derivation": "constraint", "meta": { "lastUpdated": "2024-02-14T18:41:21.1813796+00:00" }, "publisher": "Ontario Health", "fhirVersion": "4.0.1", "name": "DocumentReferencePSON", "abstract": false, "type": "DocumentReference", "experimental": null, "resourceType": "StructureDefinition", "title": "DocumentReference (PS-ON)", "package_version": "0.12.8", "status": "active", "id": "80f69fbd-5867-47f0-95e2-d6e7a4f76b5b", "kind": "resource", "url": "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-DocumentReference", "version": "0.12.0", "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-ps-profile-DocumentReference" }, { "id": "DocumentReference.identifier", "path": "DocumentReference.identifier", "definition": "Other identifiers associated with the document, including any identifier in the filling application, or a placer group number", "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.docStatus", "min": 1, "path": "DocumentReference.docStatus", "mustSupport": true }, { "id": "DocumentReference.type", "min": 1, "path": "DocumentReference.type", "mustSupport": true, "patternCodeableConcept": { "coding": [ { "code": "60591-5", "system": "http://loinc.org" } ] } }, { "id": "DocumentReference.category", "path": "DocumentReference.category", "slicing": { "rules": "open", "discriminator": [ { "path": "$this", "type": "pattern" } ] }, "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, "mustSupport": true }, { "id": "DocumentReference.category.extension:ext-LOINC-ontology-axis.url", "path": "DocumentReference.category.extension.url", "fixedUri": "http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis" }, { "id": "DocumentReference.category.coding", "path": "DocumentReference.category.coding", "mustSupport": true }, { "id": "DocumentReference.category.coding.system", "path": "DocumentReference.category.coding.system", "mustSupport": true }, { "id": "DocumentReference.category.coding.code", "path": "DocumentReference.category.coding.code", "mustSupport": true }, { "id": "DocumentReference.category.coding.display", "path": "DocumentReference.category.coding.display", "mustSupport": true }, { "id": "DocumentReference.category:sliceCategory-type-of-service", "path": "DocumentReference.category", "sliceName": "sliceCategory-type-of-service", "mustSupport": true }, { "id": "DocumentReference.category:sliceCategory-type-of-service.extension", "min": 1, "path": "DocumentReference.category.extension" }, { "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, "mustSupport": true }, { "id": "DocumentReference.category:sliceCategory-type-of-service.extension:ext-LOINC-ontology-axis.url", "path": "DocumentReference.category.extension.url", "fixedUri": "http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis" }, { "id": "DocumentReference.category:sliceCategory-type-of-service.extension:ext-LOINC-ontology-axis.value[x].code", "path": "DocumentReference.category.extension.value[x].code" }, { "id": "DocumentReference.category:sliceCategory-type-of-service.extension:ext-LOINC-ontology-axis.value[x].display", "path": "DocumentReference.category.extension.value[x].display", "label": "Type of Service" }, { "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", "fixedString": "Patient summary", "mustSupport": true }, { "id": "DocumentReference.category:sliceCategory-kind-of-document", "path": "DocumentReference.category", "sliceName": "sliceCategory-kind-of-document", "mustSupport": true }, { "id": "DocumentReference.category:sliceCategory-kind-of-document.extension", "min": 1, "path": "DocumentReference.category.extension" }, { "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.url", "path": "DocumentReference.category.extension.url", "fixedUri": "http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis" }, { "id": "DocumentReference.category:sliceCategory-kind-of-document.extension:ext-LOINC-ontology-axis.value[x].code", "path": "DocumentReference.category.extension.value[x].code" }, { "id": "DocumentReference.category:sliceCategory-kind-of-document.extension:ext-LOINC-ontology-axis.value[x].display", "path": "DocumentReference.category.extension.value[x].display" }, { "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", "fixedCode": "LP173418-7", "mustSupport": true }, { "id": "DocumentReference.category:sliceCategory-kind-of-document.coding.display", "min": 1, "path": "DocumentReference.category.coding.display", "fixedString": "Note", "mustSupport": true }, { "id": "DocumentReference.category:sliceCategory-subject-matter-domain", "path": "DocumentReference.category", "sliceName": "sliceCategory-subject-matter-domain", "mustSupport": true }, { "id": "DocumentReference.category:sliceCategory-subject-matter-domain.extension", "min": 1, "path": "DocumentReference.category.extension" }, { "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.url", "path": "DocumentReference.category.extension.url", "fixedUri": "http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis" }, { "id": "DocumentReference.category:sliceCategory-subject-matter-domain.extension:ext-LOINC-ontology-axis.value[x].code", "path": "DocumentReference.category.extension.value[x].code" }, { "id": "DocumentReference.category:sliceCategory-subject-matter-domain.extension:ext-LOINC-ontology-axis.value[x].display", "path": "DocumentReference.category.extension.value[x].display" }, { "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", "fixedCode": "CGTA1009-1", "mustSupport": true }, { "id": "DocumentReference.category:sliceCategory-subject-matter-domain.coding.display", "min": 1, "path": "DocumentReference.category.coding.display", "fixedString": "Unspecified", "mustSupport": true }, { "id": "DocumentReference.category:sliceCategory-role", "path": "DocumentReference.category", "sliceName": "sliceCategory-role", "mustSupport": true }, { "id": "DocumentReference.category:sliceCategory-role.extension", "min": 1, "path": "DocumentReference.category.extension" }, { "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.url", "path": "DocumentReference.category.extension.url", "fixedUri": "http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis" }, { "id": "DocumentReference.category:sliceCategory-role.extension:ext-LOINC-ontology-axis.value[x].code", "path": "DocumentReference.category.extension.value[x].code" }, { "id": "DocumentReference.category:sliceCategory-role.extension:ext-LOINC-ontology-axis.value[x].display", "path": "DocumentReference.category.extension.value[x].display" }, { "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", "fixedUri": "http://loinc.org", "mustSupport": true }, { "id": "DocumentReference.category:sliceCategory-role.coding.code", "min": 1, "path": "DocumentReference.category.coding.code", "fixedCode": "CGTA4001-1", "mustSupport": true }, { "id": "DocumentReference.category:sliceCategory-role.coding.display", "min": 1, "path": "DocumentReference.category.coding.display", "fixedString": "Unspecified" }, { "id": "DocumentReference.category:sliceCategory-setting", "path": "DocumentReference.category", "sliceName": "sliceCategory-setting", "mustSupport": true }, { "id": "DocumentReference.category:sliceCategory-setting.extension", "min": 1, "path": "DocumentReference.category.extension" }, { "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.url", "path": "DocumentReference.category.extension.url", "fixedUri": "http://ontariohealth.ca/fhir/StructureDefinition/ext-loinc-ontology-axis" }, { "id": "DocumentReference.category:sliceCategory-setting.extension:ext-LOINC-ontology-axis.value[x].code", "path": "DocumentReference.category.extension.value[x].code" }, { "id": "DocumentReference.category:sliceCategory-setting.extension:ext-LOINC-ontology-axis.value[x].display", "path": "DocumentReference.category.extension.value[x].display" }, { "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", "fixedUri": "http://loinc.org", "mustSupport": true }, { "id": "DocumentReference.category:sliceCategory-setting.coding.code", "min": 1, "path": "DocumentReference.category.coding.code", "fixedCode": "CGTA5001-1", "mustSupport": true }, { "id": "DocumentReference.category:sliceCategory-setting.coding.display", "min": 1, "path": "DocumentReference.category.coding.display", "fixedString": "Unspecified", "mustSupport": true }, { "id": "DocumentReference.subject", "min": 1, "path": "DocumentReference.subject", "type": [ { "code": "Reference", "targetProfile": [ "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-Patient" ] } ], "mustSupport": true }, { "id": "DocumentReference.date", "path": "DocumentReference.date", "mustSupport": true }, { "id": "DocumentReference.author", "max": "1", "path": "DocumentReference.author", "type": [ { "code": "Reference", "targetProfile": [ "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-PractitionerRole", "http://ontariohealth.ca/fhir/StructureDefinition/ca-on-ps-profile-Organization" ] } ], "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-ps-profile-Organization" ] } ], "mustSupport": true }, { "id": "DocumentReference.custodian.reference", "min": 1, "path": "DocumentReference.custodian.reference", "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 } ] }, "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DocumentReference" }