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)

Migration Export File

The migration export file an import read, kept as a DocumentReference about the patient it covers. The import's Provenance names it as its source entity

DocumentReference/mig-4021 — claims conformance to DocumentReference Profile

{
  "resourceType": "DocumentReference",
  "id": "mig-4021",
  "meta": {
    "profile": [
      "https://fhir.apps.health/StructureDefinition/nexus-emr-core-documentreference"
    ]
  },
  "text": {
    "status": "generated",
    "div": "<div xmlns='http://www.w3.org/1999/xhtml'><p>The migration export file for Avery Linwood from the clinic's previous EMR, kept as received. The import Provenance p-4021 names this file as the source of every record it wrote.</p></div>"
  },
  "status": "current",
  "description": "Migration export file from the previous EMR, kept as received.",
  "subject": {
    "reference": "Patient/avery-linwood",
    "display": "Avery Linwood"
  },
  "date": "2025-03-04T02:10:00-05:00",
  "custodian": {
    "reference": "Organization/cedarbrook-clinic"
  },
  "content": [
    {
      "attachment": {
        "contentType": "application/xml",
        "title": "Migration export, Avery Linwood",
        "creation": "2025-03-03T18:00:00-05:00",
        "url": "Binary/mig-4021-export"
      }
    }
  ]
}

Referenced by: Import Provenance for a Migration File