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)

Terms and Conditions

The terms every user accepts at sign-in, one version per document -- subject-less, marked under nexus-terms-and-conditions with the terms version as the identifier value, typed nexus-document-type#terms-and-conditions, in English and French

DocumentReference/terms-and-conditions — claims conformance to DocumentReference Profile

{
  "resourceType": "DocumentReference",
  "id": "terms-and-conditions",
  "meta": {
    "profile": [
      "https://fhir.apps.health/StructureDefinition/nexus-emr-core-documentreference"
    ]
  },
  "identifier": [
    {
      "system": "https://fhir.apps.health/NamingSystem/nexus-terms-and-conditions",
      "value": "0.1.0"
    }
  ],
  "status": "current",
  "docStatus": "final",
  "type": {
    "coding": [
      {
        "system": "https://fhir.apps.health/CodeSystem/nexus-document-type",
        "code": "terms-and-conditions",
        "display": "Terms and conditions"
      }
    ],
    "text": "Terms and conditions"
  },
  "date": "2026-09-25T00:00:00Z",
  "description": "Nexus EMR Terms and Conditions",
  "content": [
    {
      "attachment": {
        "contentType": "text/html",
        "language": "en",
        "title": "nexus-terms-and-conditions.en.html",
        "data": "PGgxPlRlcm1zIGFuZCBjb25kaXRpb25zPC9oMT4=",
        "size": 29
      }
    },
    {
      "attachment": {
        "contentType": "text/html",
        "language": "fr",
        "title": "nexus-terms-and-conditions.fr.html",
        "data": "PGgxPkNvbmRpdGlvbnMgZCd1dGlsaXNhdGlvbjwvaDE+",
        "size": 33
      }
    }
  ],
  "text": {
    "status": "generated",
    "div": "<div xmlns="http://www.w3.org/1999/xhtml">The Nexus EMR terms and conditions, version 0.1.0, in English and French. Carries no subject: the terms are what every user accepts at sign-in and are about no patient, which the identifier under NamingSystem/nexus-terms-and-conditions marks. An acceptance names the version, so a re-issued document is a new DocumentReference with a new identifier value.</div>"
  },
  "custodian": {
    "reference": "Organization/cedarbrook-clinic"
  }
}