Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

added new example for R4 Encounter Retrieve by id #964

Merged
merged 5 commits into from
Aug 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions content/millennium/r4/base/management/encounter.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,24 @@ _Implementation Notes_

<%= disclaimer %>

### Encounter Combines Example

Cerner Millennium supports the ability to logically merge an encounter record into another encounter record when both records are describing the same ecounter. This is known
as an "encounter combine". If necessary, this merging can later be undone by performing an "encounter uncombine". When the requested encounter record has been combined into another
record, an inactive Encounter entry will be returned which has a reference to the current Encounter entry in the partOf field. Entries for combined encounters will only be returned when retrieving
the entries directly by id. They will not be returned when searching with other parameters.

The ability to perform encounter combine or uncombine operations is not available through the Cerner Ignite platform.

#### Request

GET https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Encounter/97865451

#### Response

<%= headers status: 200 %>
<%= json(:R4_COMBINED_ENCOUNTER_ENTRY) %>

#### Patient Authorization Request

GET https://fhir-ehr.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Encounter/97954225
Expand Down
39 changes: 39 additions & 0 deletions lib/resources/example_json/r4_examples_encounter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -715,6 +715,45 @@ module Resources
]
}.freeze

R4_COMBINED_ENCOUNTER_ENTRY ||= {
"resourceType": 'Encounter',
"id": '97865451',
"text": {
"status": 'generated',
"div": '<div xmlns="http://www.w3.org/1999/xhtml"><p><b>Encounter</b></p><p><b>Type</b>: Unknown</p></div>'
},
"status": 'unknown',
"class": {
"extension": [
{
"valueCode": 'unknown',
"url": 'http://hl7.org/fhir/StructureDefinition/data-absent-reason'
}
]
},
"type": [
{
"extension": [
{
"valueCode": 'unknown',
"url": 'http://hl7.org/fhir/StructureDefinition/data-absent-reason'
}
]
}
],
"subject": {
"extension": [
{
"valueCode": 'unknown',
"url": 'http://hl7.org/fhir/StructureDefinition/data-absent-reason'
}
]
},
"partOf": {
"reference": 'Encounter/97855447'
}
}.freeze

R4_ENCOUNTER_PATIENT_ENTRY ||= {
"resourceType": 'Encounter',
"id": '97954225',
Expand Down
Loading