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

Commit

Permalink
added new example for R4 Encounter Retrieve by id
Browse files Browse the repository at this point in the history
  • Loading branch information
SukeshKonjeti committed Jul 20, 2023
1 parent af17626 commit 3f7053a
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
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 a encounter record into another encounter record when both records are describing the same patient. This is known
as a "encounter combine". If necessary, this merging can later be undone by performing a "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

0 comments on commit 3f7053a

Please sign in to comment.