{
  "resourceType": "DocumentReference",
  "id": "example",
  "contained": [
    {
      "resourceType": "Practitioner",
      "id": "a2",
      "name": [
        {
          "family": "Smitty",
          "given": [
            "Gerald"
          ]
        }
      ]
    }
  ],
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo",
      "valueReference": {
        "reference": "Patient/xcda",
        "identifier": {
          "system": "urn:ietf:rfc:3986",
          "value": "urn:oid:1.3.6.1.4.1.21367.2005.3.7.2345"
        }
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/documentreference-sourcepatient",
      "valueReference": {
        "reference": "Patient/xcda"
      }
    }
  ],
  "identifier": [
    {
      "type": {
        "text": "entryUUID"
      },
      "system": "urn:ietf:rfc:3986",
      "value": "urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234"
    },
    {
      "type": {
        "text": "uniqueId"
      },
      "system": "urn:ietf:rfc:3986",
      "value": "urn:oid:1.3.6.1.4.1.21367.2005.3.7"
    }
  ],
  "status": "current",
  "docStatus": "preliminary",
  "type": {
    "coding": [
      {
        "system": "http://loinc.org",
        "code": "34108-1",
        "display": "Outpatient Note"
      }
    ]
  },
  "category": [
    {
      "coding": [
        {
          "system": "http://ihe.net/xds/connectathon/classCodes",
          "code": "History and Physical",
          "display": "History and Physical"
        }
      ]
    }
  ],
  "subject": {
    "reference": "Patient/xcda"
  },
  "context": [
    {
      "reference": "Encounter/xcda"
    }
  ],
  "event": [
    {
      "concept": {
        "coding": [
          {
            "system": "http://ihe.net/xds/connectathon/eventCodes",
            "code": "T-D8200",
            "display": "Arm"
          }
        ]
      }
    }
  ],
  "facilityType": {
    "coding": [
      {
        "system": "http://www.ihe.net/xds/connectathon/healthcareFacilityTypeCodes",
        "code": "Outpatient",
        "display": "Outpatient"
      }
    ]
  },
  "practiceSetting": {
    "coding": [
      {
        "system": "http://www.ihe.net/xds/connectathon/practiceSettingCodes",
        "code": "General Medicine",
        "display": "General Medicine"
      }
    ]
  },
  "period": {
    "start": "2004-12-23T08:00:00+11:00",
    "end": "2004-12-23T08:01:00+11:00"
  },
  "date": "2005-12-24T09:43:41+11:00",
  "author": [
    {
      "reference": "Practitioner/xcda1"
    },
    {
      "reference": "#a2"
    }
  ],
  "attester": [
    {
      "mode": {
        "coding": [
          {
            "system": "http://hl7.org/fhir/composition-attestation-mode",
            "code": "official"
          }
        ]
      },
      "party": {
        "reference": "Organization/f001"
      }
    }
  ],
  "custodian": {
    "reference": "Organization/f001"
  },
  "relatesTo": [
    {
      "code": {
        "coding": [
          {
            "system": "http://hl7.org/fhir/document-relationship-type",
            "code": "appends"
          }
        ]
      },
      "target": {
        "reference": "DocumentReference/example"
      }
    }
  ],
  "description": "Physical",
  "securityLabel": [
    {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality",
          "code": "V",
          "display": "very restricted"
        }
      ]
    }
  ],
  "content": [
    {
      "attachment": {
        "contentType": "application/hl7-v3+xml",
        "language": "en-US",
        "url": "http://example.org/xds/mhd/Binary/07a6483f-732b-461e-86b6-edb665c45510",
        "size": "3654",
        "hash": "2jmj7l5rSw0yVb/vlWAYkK/YBwk\u003d",
        "title": "Physical",
        "creation": "2005-12-24T09:35:00+11:00"
      },
      "profile": [
        {
          "valueCoding": {
            "system": "urn:oid:1.3.6.1.4.1.19376.1.2.3",
            "code": "urn:ihe:pcc:handp:2008",
            "display": "History and Physical Specification"
          }
        }
      ]
    }
  ],
  "meta": {
    "tag": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
        "code": "HTEST",
        "display": "test health data"
      }
    ]
  }
}