Implementation Guide
23.1.0 - R4 APIs

Publish Box goes here

: General DocumentReference Example - JSON Representation

Raw json | Download


{
  "resourceType" : "DocumentReference",
  "id" : "Example1",
  "meta" : {
    "lastUpdated" : "2020-09-16T03:50:04.200-06:00",
    "profile" : [
      🔗 "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference"🔗 ,
      "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-documentref-profile"
    ],
    "security" : [
      {
        "system" : "http://terminology.hl7.org/CodeSystem/v3-Confidentiality",
        "code" : "N",
        "display" : "Normal"
      }
    ],
    "tag" : [
      {
        "system" : "https://docs.mydata.athenahealth.com/fhir-r4/codesystem/athenaFlex/EditTags",
        "code" : "New",
        "display" : "New"
      },
      {
        "system" : "https://docs.mydata.athenahealth.com/fhir-r4/codesystem/athenaFlex/EditTags",
        "code" : "Pen",
        "display" : "Pen"
      },
      {
        "system" : "https://docs.mydata.athenahealth.com/fhir-r4/codesystem/athenaFlex/EditTags",
        "code" : "NewPen",
        "display" : "New Pen"
      }
    ]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: DocumentReference Example1</b></p><a name=\"Example1\"> </a><a name=\"hcExample1\"> </a><a name=\"Example1-en-US\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Last updated: 2020-09-16 03:50:04-0600</p><p style=\"margin-bottom: 0px\">Profiles: <a href=\"http://hl7.org/fhir/us/core/STU3.1/StructureDefinition-us-core-documentreference.html\">US Core DocumentReference Profile</a>, <a href=\"StructureDefinition-athena-documentref-profile.html\">A reference to a document</a></p><p style=\"margin-bottom: 0px\">Tags: New (Details: EditTags code New  = ' New ', stated as ' New '), Pen (Details: EditTags code Pen  = ' Pen ', stated as ' Pen '), New Pen (Details: EditTags code NewPen  = ' NewPen ', stated as ' New Pen ')</p><p style=\"margin-bottom: 0px\">Security Label: Normal (Details: Confidentiality code N  = ' normal ', stated as ' Normal ')</p></div><p><b>masterIdentifier</b>: Unspecified Identifier/DOC-1915846720450610</p><p><b>identifier</b>: Unspecified Identifier/DOC-1915846720450610</p><p><b>status</b>: Current</p><p><b>docStatus</b>: Final</p><p><b>type</b>: <span title=\"Codes:{http://loinc.org 34133-9}\">Summary of episode note</span></p><p><b>category</b>: <span title=\"Codes:{http://loinc.org 28563-5}\">Care provider notes</span></p><p><b>subject</b>: <a href=\"Patient-Example1.html\">Robert S Benson (official) Male, DoB: 1974-05-21 ( Medical record number)</a></p><p><b>date</b>: 2020-09-16 03:38:40-0600</p><p><b>author</b>: <a href=\"Practitioner-Example1.html\">Practitioner Harry S. Winston </a></p><p><b>authenticator</b>: <a href=\"Practitioner-Example1.html\">Practitioner Harry S. Winston </a></p><p><b>custodian</b>: <a href=\"Organization-Example1.html\">Organization Main Health System</a></p><p><b>description</b>: example document</p><blockquote><p><b>content</b></p><h3>Attachments</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ContentType</b></td><td><b>Language</b></td><td><b>Url</b></td></tr><tr><td style=\"display: none\">*</td><td>ASCII Text</td><td>English</td><td>Binary/DOC-1915846720450610</td></tr></table><p><b>format</b>: unknown urn:ihe:iti:xds:2017:mimeTypeSufficient: MimeType Sufficient</p></blockquote><h3>Contexts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Encounter</b></td><td><b>Period</b></td><td><b>SourcePatientInfo</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Encounter-Example1.html\">Encounter: extension = No display for Extension ,No display for Extension ,No display for Extension ; status = finished; class = ambulatory (ActCode#AMB); type = Office Visit; priority = routine; period = 2020-08-17 21:04:20-0600 --&gt; 2020-08-17 21:07:17-0600</a></td><td>2020-09-16 03:38:41-0600 --&gt; 2020-09-16 03:38:41-0600</td><td><a href=\"Patient-Example1.html\">Robert S Benson (official) Male, DoB: 1974-05-21 ( Medical record number)</a></td></tr></table></div>"
  },
  "extension" : [
    {
      "url" : "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-documentref-extension-refprovid",
      "valueReference" : {
        "reference" : "Practitioner/1377098605000720"
      }
    },
    {
      "url" : "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-documentref-extension-pubtime",
      "valueDateTime" : "2020-09-16T03:50:05-06:00"
    }
  ],
  "masterIdentifier" : {
    "type" : {
      "coding" : [
        {
          "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
          "code" : "U",
          "display" : "Unspecified Identifier"
        }
      ],
      "text" : "Unspecified Identifier"
    },
    "system" : "https://mydata.athenahealth.com/fhir/athenaFlex/namingsystem/DocumentReferenceId/Training",
    "value" : "DOC-1915846720450610"
  },
  "identifier" : [
    {
      "type" : {
        "coding" : [
          {
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "U",
            "display" : "Unspecified Identifier"
          }
        ],
        "text" : "Unspecified Identifier"
      },
      "system" : "https://docs.mydata.athenahealth.com/fhir-r4/athenaFlex/namingsystem/DocumentReferenceId/Training",
      "value" : "DOC-1915846720450610"
    }
  ],
  "status" : "current",
  "_status" : {
    "extension" : [
      {
        "url" : "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-originalCode",
        "valueCoding" : {
          "system" : "https://docs.mydata.athenahealth.com/fhir-r4/athenaFlex/codesystem/documentreferencestatus",
          "code" : "C",
          "display" : "Current"
        }
      }
    ]
  },
  "docStatus" : "final",
  "_docStatus" : {
    "extension" : [
      {
        "url" : "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-originalCode",
        "valueCoding" : {
          "system" : "https://docs.mydata.athenahealth.com/fhir-r4/athenaFlex/codesystem/docstatus",
          "code" : "S",
          "display" : "signed"
        }
      }
    ]
  },
  "type" : {
    "coding" : [
      {
        "system" : "http://loinc.org",
        "code" : "34133-9",
        "display" : "Summary of episode note"
      }
    ],
    "text" : "Summary of episode note",
    "extension" : [
      {
        "url" : "https://docs.mydata.athenahealth.com/fhir-r4/StructureDefinition/athena-originalCode",
        "valueCoding" : {
          "system" : "https://docs.mydata.athenahealth.com/fhir-r4/athenaFlex/codesystem/documenttype",
          "code" : "1",
          "display" : "Office Visit"
        }
      }
    ]
  },
  "category" : [
    {
      "coding" : [
        {
          "system" : "http://loinc.org",
          "code" : "28563-5",
          "display" : "Care provider notes"
        }
      ],
      "text" : "Care provider notes"
    }
  ],
  "subject" : {
    🔗 "reference" : "Patient/Example1"
  },
  "date" : "2020-09-16T03:38:40.833-06:00",
  "author" : [
    {
      🔗 "reference" : "Practitioner/Example1"
    }
  ],
  "authenticator" : {
    🔗 "reference" : "Practitioner/Example1"
  },
  "custodian" : {
    🔗 "reference" : "Organization/Example1"
  },
  "description" : "example document",
  "content" : [
    {
      "attachment" : {
        "contentType" : "ASCII Text",
        "language" : "en",
        "url" : "Binary/DOC-1915846720450610"
      },
      "format" : {
        "system" : "urn:oid:1.3.6.1.4.1.19376.1.2.3",
        "code" : "urn:ihe:iti:xds:2017:mimeTypeSufficient",
        "display" : "MimeType Sufficient"
      }
    }
  ],
  "context" : {
    "encounter" : [
      {
        🔗 "reference" : "Encounter/Example1"
      }
    ],
    "period" : {
      "start" : "2020-09-16T03:38:41-06:00",
      "end" : "2020-09-16T03:38:41-06:00"
    },
    "sourcePatientInfo" : {
      🔗 "reference" : "Patient/Example1"
    }
  }
}