PackagesCanonicalsLogsProblems
    Packages
    telus.dw.emr.extract-1-1-26@1.1.26
    https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwDocumentReference
{
  "description": null,
  "_filename": "StructureDefinition-profile-DwDocumentReference.json",
  "package_name": "telus.dw.emr.extract-1-1-26",
  "date": "2026-05-29",
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.0.1",
  "name": "DwDocumentReference",
  "abstract": false,
  "type": "DocumentReference",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "1.1.26",
  "status": "draft",
  "id": "206601f8-4c29-4419-8dbb-e61553c1a173",
  "kind": "resource",
  "url": "https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwDocumentReference",
  "version": "2.0.0",
  "differential": {
    "element": [ {
      "id": "DocumentReference.id",
      "min": 1,
      "path": "DocumentReference.id",
      "mustSupport": true
    }, {
      "id": "DocumentReference.meta.lastUpdated",
      "min": 1,
      "path": "DocumentReference.meta.lastUpdated"
    }, {
      "id": "DocumentReference.meta.source",
      "min": 1,
      "path": "DocumentReference.meta.source"
    }, {
      "id": "DocumentReference.meta.security",
      "path": "DocumentReference.meta.security",
      "mustSupport": true
    }, {
      "id": "DocumentReference.text",
      "min": 1,
      "path": "DocumentReference.text",
      "mustSupport": true
    }, {
      "id": "DocumentReference.extension",
      "path": "DocumentReference.extension",
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "DocumentReference.extension:ClinicianAnnotation",
      "max": "*",
      "min": 0,
      "path": "DocumentReference.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/ext-ClinicianAnnotation" ]
      } ],
      "sliceName": "ClinicianAnnotation",
      "mustSupport": true
    }, {
      "id": "DocumentReference.identifier",
      "max": "1",
      "min": 1,
      "path": "DocumentReference.identifier",
      "mustSupport": true
    }, {
      "id": "DocumentReference.status",
      "path": "DocumentReference.status",
      "mustSupport": true
    }, {
      "id": "DocumentReference.docStatus",
      "path": "DocumentReference.docStatus",
      "mustSupport": true
    }, {
      "id": "DocumentReference.type",
      "path": "DocumentReference.type",
      "comment": "Conformance Rule: This must be specified when known. Set type to the best, most precise LOINC code corresponding to the concept of the document in the source system.",
      "mustSupport": true
    }, {
      "id": "DocumentReference.category",
      "path": "DocumentReference.category",
      "comment": "Usage note: A category will typically pertain to the specialty, eg Chemotherapy, Cardiology.",
      "mustSupport": true
    }, {
      "id": "DocumentReference.category.text",
      "path": "DocumentReference.category.text",
      "mustSupport": true
    }, {
      "id": "DocumentReference.subject",
      "min": 1,
      "path": "DocumentReference.subject",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwPatient", "https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwPractitioner" ]
      } ],
      "mustSupport": true
    }, {
      "id": "DocumentReference.date",
      "path": "DocumentReference.date",
      "comment": "Usage note: When the attachment was created into the documentReference.",
      "mustSupport": true
    }, {
      "id": "DocumentReference.author",
      "path": "DocumentReference.author",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwPractitioner", "https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwPractitionerRole", "https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwOrganization", "https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwPatient" ]
      } ],
      "comment": "Conformance rule: If the consultation has been sent internally then provide practitioner as a reference for the specialist. For external providers provide the display only.",
      "mustSupport": true
    }, {
      "id": "DocumentReference.author.reference",
      "path": "DocumentReference.author.reference",
      "mustSupport": true
    }, {
      "id": "DocumentReference.author.display",
      "path": "DocumentReference.author.display",
      "mustSupport": true
    }, {
      "id": "DocumentReference.content",
      "path": "DocumentReference.content",
      "mustSupport": true
    }, {
      "id": "DocumentReference.content.attachment.contentType",
      "path": "DocumentReference.content.attachment.contentType",
      "mustSupport": true
    }, {
      "id": "DocumentReference.content.attachment.data",
      "path": "DocumentReference.content.attachment.data",
      "mustSupport": true
    }, {
      "id": "DocumentReference.content.attachment.url",
      "path": "DocumentReference.content.attachment.url",
      "mustSupport": true
    }, {
      "id": "DocumentReference.content.attachment.size",
      "path": "DocumentReference.content.attachment.size",
      "mustSupport": true
    }, {
      "id": "DocumentReference.content.attachment.hash",
      "path": "DocumentReference.content.attachment.hash",
      "mustSupport": true
    }, {
      "id": "DocumentReference.content.attachment.title",
      "path": "DocumentReference.content.attachment.title",
      "mustSupport": true
    }, {
      "id": "DocumentReference.content.attachment.creation",
      "path": "DocumentReference.content.attachment.creation",
      "comment": "Usage note: the date the document was created by the source EMR where there is an attachment. Not required for URLs",
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.encounter",
      "path": "DocumentReference.context.encounter",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwEncounter" ]
      } ],
      "mustSupport": true
    }, {
      "id": "DocumentReference.context.period",
      "path": "DocumentReference.context.period",
      "comment": "Usage note: Context around the attachment itself, used to capture received date of the document by the source EMR.",
      "mustSupport": true
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DocumentReference"
}