Skip to content

DocumentReference Profile

Canonicalhttps://fhir.apps.health/StructureDefinition/nexus-emr-core-documentreference
Statusdraft · 1.33.0
BaseDocumentReference (constraint)
CQL primary code pathtype — what this means
SourceFSH · JSON

Nexus EMR profile for an ATTACHED DOCUMENT -- a clinical document that exists as a file: scanned paper, incoming faxes, external consult letters received as PDF, signed consent forms, patient-uploaded files. FHIR holds the metadata and clinical context; the bytes live in document storage and are reached through content.attachment.url.

Examples

Allergy Consult Letter (challenge refuted) · Anemia Consultation Document · Cardiology Consult Letter (received) · Consent Withdrawal Evidence Document · Faxed Consult Letter (awaiting a patient match) · Faxed Consult Letter (received) · Hrm discharge summary 20260618 · Migration Export File · Terms and Conditions · WSIB Form 8 (filed) · WSIB Form 8 Template (with field mapping)

Faxed Consult Letter (received)

An endocrinology consult letter received by fax and filed as a DocumentReference. It names a primary recipient (PRCP) at this practice and a copied physician (TRC) the clinic holds no record of, referenced by CPSO number alone. The delivered PDF records the fax server, the FAXWRIT channel and the sent time in nexus-content-source; date is when it was received, and the author is the sending clinic, an Organization

DocumentReference/faxed-consult-20261014 — claims conformance to DocumentReference Profile

{
  "resourceType": "DocumentReference",
  "id": "faxed-consult-20261014",
  "meta": {
    "profile": [
      "https://fhir.apps.health/StructureDefinition/nexus-emr-core-documentreference"
    ]
  },
  "text": {
    "status": "generated",
    "div": "<div xmlns="http://www.w3.org/1999/xhtml"><p>An endocrinology consultation letter for Avery Linwood, sent by fax on 14 October 2026 and filed to the chart the next morning.</p><p>The letter names two recipients, recorded with the report-recipient extension: Dr. Emil Navarro at this practice as the primary recipient (<code>PRCP</code>), and a second physician copied on it (<code>TRC</code>). The clinic holds no record of the copied physician, so that recipient is an identifier-only reference carrying the CPSO number the letter gives.</p><p>The delivered PDF carries the content-source extension: the fax server it came through, the channel (<code>FAXWRIT</code>), and the time on the fax header. The received time is <code>date</code>. The author is the consulting clinic, an organization outside this practice, named by display only.</p></div>"
  },
  "extension": [
    {
      "url": "https://fhir.apps.health/StructureDefinition/nexus-report-recipient",
      "extension": [
        {
          "url": "recipient",
          "valueReference": {
            "reference": "Practitioner/dr-emil-navarro",
            "display": "Dr. Emil Navarro"
          }
        },
        {
          "url": "type",
          "valueCoding": {
            "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
            "code": "PRCP",
            "display": "primary information recipient"
          }
        }
      ]
    },
    {
      "url": "https://fhir.apps.health/StructureDefinition/nexus-report-recipient",
      "extension": [
        {
          "url": "recipient",
          "valueReference": {
            "type": "Practitioner",
            "identifier": {
              "system": "https://fhir.infoway-inforoute.ca/NamingSystem/ca-on-license-physician",
              "value": "98765"
            },
            "display": "Dr. Hana Lindqvist"
          }
        },
        {
          "url": "type",
          "valueCoding": {
            "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
            "code": "TRC",
            "display": "tracker"
          }
        }
      ]
    }
  ],
  "status": "current",
  "type": {
    "coding": [
      {
        "system": "http://loinc.org",
        "code": "11488-4",
        "display": "Consult note"
      }
    ],
    "text": "Consult note"
  },
  "category": [
    {
      "text": "Endocrinology"
    }
  ],
  "subject": {
    "reference": "Patient/avery-linwood",
    "display": "Avery Linwood"
  },
  "date": "2026-10-15T08:20:00-04:00",
  "author": [
    {
      "type": "Organization",
      "display": "Lakeshore Endocrinology Clinic"
    }
  ],
  "description": "Endocrinology consultation for type 2 diabetes. Recommends adding a GLP-1 receptor agonist and repeating HbA1c in three months.",
  "custodian": {
    "reference": "Organization/cedarbrook-clinic"
  },
  "content": [
    {
      "extension": [
        {
          "url": "https://fhir.apps.health/StructureDefinition/nexus-content-source",
          "extension": [
            {
              "url": "source",
              "valueString": "eFax"
            },
            {
              "url": "channel",
              "valueCoding": {
                "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationMode",
                "code": "FAXWRIT",
                "display": "telefax"
              }
            },
            {
              "url": "sent",
              "valueDateTime": "2026-10-14T16:52:00-04:00"
            }
          ]
        }
      ],
      "attachment": {
        "contentType": "application/pdf",
        "language": "en-CA",
        "title": "Endocrinology Consult Letter - October 14, 2026",
        "creation": "2026-10-14T16:45:00-04:00",
        "size": 243,
        "data": "JVBERi0xLjQKJeLjz9MKMSAwIG9iago8PAovVHlwZSAvQ2F0YWxvZwovUGFnZXMgMiAwIFIKPj4KZW5kb2JqCjIgMCBvYmoKPDwKL1R5cGUgL1BhZ2VzCi9LaWRzIFszIDAgUl0KL0NvdW50IDEKPD4KZW5kb2JqCjMgMCBvYmoKPDwKL1R5cGUgL1BhZ2UKL1BhcmVudCAyIDAgUgovTWVkaWFCb3ggWzAgMCA2MTIgNzkyXQovUmVzb3VyY2VzIDw8L0ZvbnQgPDwvRjEgNCAwIFI+Pj4+Ci9Db250ZW50cyA1IDAgUgo+PgplbmRvYmoK"
      }
    }
  ]
}