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

Update action-comment in cancellation workflow and custom encounter search #997

Merged
merged 2 commits into from
Oct 12, 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
20 changes: 10 additions & 10 deletions content/millennium/r4/financial/general/account.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,15 @@ _Implementation Notes_

### Parameters

Name | Required? | Type | Description
--------------|-----------|---------------|-----------------------------------------------------------------------------------------------------------------------------------------------
`_id` | See notes | [`token`] | The logical resource id associated with the resource. Example: `F703726`
`identifier` | See notes | [`token`] | Aliases of the Account like Statement Number. Example: `https://fhir.cerner.com/ec2458f2-1e24-41c8-b71b-0e701af7583d/statement-number|500000078`
`type` | See notes | [`token`] | The specific type of account. Example: `financial-account`
`patient` | See notes | [`reference`] | The entity that caused the expenses. Example: `Patient/12345`
`-guarantor` | See notes | [`reference`] | The parties responsible for balancing the account. Example: `6330015-6330017`
`-encounter` | See notes | [`reference`] | The id to identify the encounter. Example: `98028029`
`_count` | no | [`number`] | The maximum number of results to return. Defaults to `10`.
Name | Required? | Type | Description
--------------|-----------|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------
`_id` | See notes | [`token`] | The logical resource id associated with the resource. Example: `F703726`
`identifier` | See notes | [`token`] | Aliases of the Account like Statement Number. Example: `https://fhir.cerner.com/ec2458f2-1e24-41c8-b71b-0e701af7583d/statement-number|500000078`
`type` | See notes | [`token`] | The specific type of account. Example: `financial-account`
`patient` | See notes | [`reference`] | The entity that caused the expenses. Example: `Patient/12345`
`-guarantor` | See notes | [`reference`] | The parties responsible for balancing the account. Example: `6330015-6330017`
`-encounter` | See notes | [`reference`] | The id to identify the encounter. Example: `98028029`
`_count` | no | [`number`] | The maximum number of results to return. Defaults to `10`.

Notes:

Expand Down Expand Up @@ -124,7 +124,7 @@ Notes:

#### Request - `-encounter`

GET https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Account?encounter=98028029&type=guarantor-balance
GET https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Account?-encounter=98028029&type=guarantor-balance

#### Response

Expand Down
5 changes: 2 additions & 3 deletions lib/resources/example_json/r4_examples_account.rb
Original file line number Diff line number Diff line change
Expand Up @@ -192,13 +192,12 @@ module Resources
{
'relation': 'self',
'url': 'https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Account'\
'?encounter=98028029&type=guarantor-balance'
'?-encounter=98028029&type=guarantor-balance'
}
],
'entry': [
{
'fullUrl': 'https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Account'\
'?encounter=98028029&type=guarantor-balance',
'fullUrl': 'https://fhir-open.cerner.com/r4/ec2458f2-1e24-41c8-b71b-0e701af7583d/Account/G71248138',
'resource': {
'resourceType': 'Account',
'id': 'G71248138',
Expand Down
12 changes: 12 additions & 0 deletions lib/resources/example_json/r4_examples_appointment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,18 @@ module Resources
'op': 'replace',
'path': '/status',
'value': 'cancelled'
},
{
'op': 'add',
'path': '/cancelationReason',
'value': {
'coding': [
{
'system': 'http://terminology.hl7.org/CodeSystem/appointment-cancellation-reason',
'code': 'oth-err'
}
]
}
}
].freeze

Expand Down
2 changes: 1 addition & 1 deletion lib/resources/r4/appointment_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ operations:
}
note: >
<ul>
<li>When present, this patch operation must be accompanied by the replace status patch operation when updating the status to `cancelled`</li>
<li>When present, this patch operation must be accompanied by add cancellation reason and replace status patch operation when updating the status to `cancelled`</li>
<li>Only one value may be provided in the value array</li>
</ul>
- name: replace-comment
Expand Down
Loading