Real-world encounter example (with primaryDiagnosis extension added)
{
"resourceType": "Encounter",
"id": "f202",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Encounter</b><a name=\"f202\"> </a></p><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\">Resource Encounter "f202" </p></div><p><b>identifier</b>: id: Encounter_Roel_20130128 (TEMP)</p><p><b>status</b>: completed</p><p><b>class</b>: <span title=\" Encounter has finished \">ambulatory <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-ActCode.html\">ActCode</a>#AMB)</span></span></p><p><b>priority</b>: Urgent <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#103391001)</span></p><p><b>type</b>: Chemotherapy <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#367336001)</span></p><p><b>subject</b>: <a href=\"patient-example-f201-roel.html\">Patient/f201: Roel</a> "Roel"</p><p><b>serviceProvider</b>: <a href=\"organization-example-f201-aumc.html\">Organization/f201</a> "Artis University Medical Center (AUMC)"</p><h3>Participants</h3><table class=\"grid\"><tr><td>-</td><td><b>Actor</b></td></tr><tr><td>*</td><td><a href=\"practitioner-example-f201-ab.html\">Practitioner/f201</a> "Dokter Bronsig"</td></tr></table><h3>Lengths</h3><table class=\"grid\"><tr><td>-</td><td><b>Value</b></td><td><b>Unit</b></td><td><b>System</b></td><td><b>Code</b></td></tr><tr><td>*</td><td>56</td><td>minutes</td><td><a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-ucum.html\">Unified Code for Units of Measure (UCUM)</a></td><td>min</td></tr></table><h3>Reasons</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>The patient is treated for a tumor. <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></td></tr></table><blockquote><p><b>diagnosis</b></p><p><b>condition</b>: <span>: Complications from Roel's TPF chemotherapy on January 28th, 2013</span></p><p><b>use</b>: Admission diagnosis <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-diagnosis-role.html\">DiagnosisRole</a>#AD)</span></p><p><b>rank</b>: 2</p></blockquote><blockquote><p><b>diagnosis</b></p><p><b>condition</b>: <span>: The patient is treated for a tumor</span></p><p><b>use</b>: Chief complaint <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-diagnosis-role.html\">DiagnosisRole</a>#CC)</span></p><p><b>rank</b>: 1</p></blockquote></div>"
},
"identifier": [
{
"use": "temp",
"value": "Encounter_Roel_20130128"
}
],
"status": "completed",
"class": [
{
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code": "AMB",
"display": "ambulatory"
}
]
}
],
"priority": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "103391001",
"display": "Urgent"
}
]
},
"type": [
{
"coding": [
{
"system": "http://snomed.info/sct",
"code": "367336001",
"display": "Chemotherapy"
}
]
}
],
"subject": {
"reference": "Patient/f201",
"display": "Roel"
},
"serviceProvider": {
"reference": "Organization/f201"
},
"participant": [
{
"actor": {
"reference": "Practitioner/f201"
}
}
],
"length": {
"value": 56,
"unit": "minutes",
"system": "http://unitsofmeasure.org",
"code": "min"
},
"reason": [
{
"concept": {
"text": "The patient is treated for a tumor."
}
}
],
"diagnosis": [
{
"condition": {
"display": "Complications from Roel's TPF chemotherapy on January 28th, 2013"
},
"use": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/diagnosis-role",
"code": "AD",
"display": "Admission diagnosis"
}
]
},
"rank": 2
},
{
"condition": {
"display": "The patient is treated for a tumor"
},
"use": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/diagnosis-role",
"code": "CC",
"display": "Chief complaint"
}
]
},
"rank": 1
}
]
}
Usage note: every effort has been made to ensure that the
examples are correct and useful, but they are not a normative part
of the specification.