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 DSTU2 Encounter Retrieve by id (#973)
Browse files Browse the repository at this point in the history
  • Loading branch information
SukeshKonjeti authored Aug 9, 2023
1 parent 9c557f9 commit 7067395
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
18 changes: 18 additions & 0 deletions content/millennium/dstu2/encounters/encounter.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,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/dstu2/ec2458f2-1e24-41c8-b71b-0e701af7583d/Encounter/97865451

#### Response

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

### Errors

The common [errors] and [OperationOutcomes] may be returned.
Expand Down
13 changes: 13 additions & 0 deletions lib/resources/example_json/dstu2_examples_encounter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,19 @@ module Resources
}
}.freeze

DSTU2_COMBINED_ENCOUNTER ||= {
"resourceType": 'Encounter',
"id": '97865451',
"text": {
"status": 'generated',
"div": '<div><p><b>Encounter</b></p></div>'
},
"status": 'unknown',
"part_of": {
"reference": 'Encounter/97855447'
}
}.freeze

DSTU2_ENCOUNTER_BUNDLE ||= {
'resourceType': 'Bundle',
'id': '73b0b7c8-e5e0-4e72-96f9-dcfb257fc40a',
Expand Down

0 comments on commit 7067395

Please sign in to comment.