-
Notifications
You must be signed in to change notification settings - Fork 113
Review and Updates to Procedure #1016
Changes from 1 commit
3f561a8
e9629b5
8c69f25
50e8fb2
aef3d78
6913913
62fb1b0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,15 +13,15 @@ The Procedure resource returns current and historical procedures performed on a | |
|
||
The following fields are returned if valued: | ||
|
||
* [Procedure id](http://hl7.org/fhir/dstu2/resource-definitions.html#Resource.id){:target="_blank"} | ||
* [Patient](http://hl7.org/fhir/DSTU2/procedure-definitions.html#Procedure.subject){:target="_blank"} | ||
* [Status (completed, entered-in-error)](http://hl7.org/fhir/DSTU2/procedure-definitions.html#Procedure.status){:target="_blank"} | ||
* [Procedure](http://hl7.org/fhir/DSTU2/procedure-definitions.html#Procedure.code){:target="_blank"} | ||
* [Reason performed](http://hl7.org/fhir/DSTU2/procedure-definitions.html#Procedure.reason_x_){:target="_blank"} | ||
* [Who performed](http://hl7.org/fhir/DSTU2/procedure-definitions.html#Procedure.performer){:target="_blank"} | ||
* [Date performed](http://hl7.org/fhir/DSTU2/procedure-definitions.html#Procedure.performed_x_){:target="_blank"} | ||
* [Patient encounter](http://hl7.org/fhir/DSTU2/procedure-definitions.html#Procedure.encounter){:target="_blank"} | ||
* [Notes](http://hl7.org/fhir/DSTU2/procedure-definitions.html#Procedure.notes){:target="_blank"} | ||
* [ID](https://hl7.org/fhir/dstu2/resource-definitions.html#Resource.id){:target="_blank"} | ||
* [Patient](https://hl7.org/fhir/DSTU2/procedure-definitions.html#Procedure.subject){:target="_blank"} | ||
* [Status (completed, entered-in-error)](https://hl7.org/fhir/DSTU2/procedure-definitions.html#Procedure.status){:target="_blank"} | ||
* [Procedure](https://hl7.org/fhir/DSTU2/procedure-definitions.html#Procedure.code){:target="_blank"} | ||
* [Reason performed](https://hl7.org/fhir/DSTU2/procedure-definitions.html#Procedure.reason_x_){:target="_blank"} | ||
* [Who performed](https://hl7.org/fhir/DSTU2/procedure-definitions.html#Procedure.performer){:target="_blank"} | ||
* [Date performed](https://hl7.org/fhir/DSTU2/procedure-definitions.html#Procedure.performed_x_){:target="_blank"} | ||
* [Patient encounter](https://hl7.org/fhir/DSTU2/procedure-definitions.html#Procedure.encounter){:target="_blank"} | ||
* [Notes](https://hl7.org/fhir/DSTU2/procedure-definitions.html#Procedure.notes){:target="_blank"} | ||
|
||
## Terminology Bindings | ||
|
||
|
@@ -43,18 +43,19 @@ _Implementation Notes_ | |
|
||
### Parameters | ||
|
||
Name | Required? | Type | Description | ||
--------------|---------------------------------------|---------------|------------------------------------------------------------------------------------ | ||
`_id` | This, or one of `patient` or `subject`| [`token`] | The logical resource id associated with the resource. Example: `_id=7891` | ||
`patient` | This, or one of `_id` or `subject` | [`reference`] | The patient subject of the Procedure. Example: `patient=12345` | ||
`subject` | This, or one of `_id` or `patient` | [`reference`] | The subject of the Procedure. Must represent a Patient resource. May use the `:Patient` modifier. Example: `subject=Patient/12345` or `subject:Patient=12345` | ||
`date` | N | [`date`] | The date/time when the Procedure was performed. Must use the `ge` and/or `le` prefixes. Example: `date=le2017-02-01T10:30:00Z` | ||
Name | Required? | Type | Description | ||
-------------------|---------------|---------------|------------------------------------------------------------------------------------- | ||
`_id` | Conditionally | [`token`] | The logical resource id associated with the resource. Example: `_id=7891` | ||
`patient` | Conditionally | [`reference`] | The patient of the Procedure. Example: `patient=12345` | ||
`subject` | Conditionally | [`reference`] | The subject of the Procedure. Must represent a Patient resource. May use the `:Patient` modifier. Example: `subject=Patient/12345` or `subject:Patient=12345` | ||
`date` | No | [`dateTime`] | The date/time when the Procedure's `performedDateTime` was performed. Must use the `ge` and/or `le` prefixes. Example: `date=le2017-02-01T10:30:00Z` | ||
|
||
Notes: | ||
|
||
- The `_id` parameter may not be provided at the same time as the `patient`, `subject`, or `date` parameters. | ||
|
||
- The `date` parameter must have a time, may be provided up to two times, and must use the `ge` or `le` prefixes. When provided twice, the lower value must have the `ge` prefix and the higher value must have the `le` prefix. | ||
* The `_id` parameter may not be provided at the same time as the `patient`, `subject`, or `date` parameters. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Drop the conditional requirement line here, and use the descriptions in the R4 resource's table over on this DSTU2 resource, please. Your fixes in the R4 file match what the technical writers are looking for. |
||
* The `date` parameter | ||
* Must have a time, may be provided up to two times, and must use the `ge` or `le` prefixes. | ||
* When provided twice, the lower value must have the `ge` prefix and the higher value must have the `le` prefix. | ||
|
||
### Headers | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,13 +16,13 @@ The Procedure resource returns medical and surgical procedures performed on or f | |
|
||
The following fields are returned if valued: | ||
|
||
* [Id](https://hl7.org/fhir/R4/resource-definitions.html#Resource.id){:target="_blank"} | ||
* [ID](https://hl7.org/fhir/R4/resource-definitions.html#Resource.id){:target="_blank"} | ||
* [Status (completed, entered-in-error)](https://hl7.org/fhir/R4/procedure-definitions.html#Procedure.status){:target="_blank"} | ||
* [Code](https://hl7.org/fhir/R4/procedure-definitions.html#Procedure.code){:target="_blank"} | ||
* [Subject](https://hl7.org/fhir/R4/procedure-definitions.html#Procedure.subject){:target="_blank"} | ||
* [Reference](http://hl7.org/fhir/r4/references.html#Reference){:target="_blank"} ([Patient](http://hl7.org/fhir/r4/patient.html){:target="_blank"}) | ||
* [Encounter](https://hl7.org/fhir/R4/procedure-definitions.html#Procedure.encounter){:target="_blank"} | ||
* [Date performed](https://hl7.org/fhir/R4/procedure-definitions.html#Procedure.performed_x_){:target="_blank"} | ||
* [Performed Period](https://hl7.org/fhir/R4/procedure-definitions.html#Procedure.performed_x_){:target="_blank"} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same as on DSTU2 - drop the Status field's parenthetical values, please |
||
* [DateTime](https://hl7.org/fhir/R4/datatypes.html#dateTime){:target="_blank"} | ||
* [Period](https://hl7.org/fhir/R4/datatypes.html#Period){:target="_blank"} | ||
* [Who recorded](https://hl7.org/fhir/R4/procedure-definitions.html#Procedure.recorder){:target="_blank"} | ||
|
@@ -52,21 +52,24 @@ Search for Procedures that meet supplied query parameters: | |
|
||
### Parameters | ||
|
||
Name | Required? | Type | Description | ||
-------------------|--------------------------------|---------------|----------------------------------------------------------------------- | ||
`_id` | This or `patient` or `subject` | [`token`] | The logical resource id associated with the resource. | ||
`patient` | This or `_id` or `subject` | [`reference`] | Who the procedure is for. Example: `12345` | ||
`subject` | This or `_id` or `patient` | [`reference`] | Who the procedure is for. Example: `Patient/12345` | ||
`date` | No | [`dateTime`] | Date range into which the procedure falls. Example: `date=gt2015-09-24T12:00:00.000Z&date=le2020-07-15T16:00:00.000Z` | ||
`_revinclude` | No | [`token`] | Provenance resource entries to be returned as part of the bundle. Example:_revinclude=Provenance:target | ||
Name | Required? | Type | Description | ||
-------------------|---------------|---------------|----------------------------------------------------------------------- | ||
`_id` | Conditionally | [`token`] | The logical resource id associated with the resource. This parameter is required if `patient` or `subject` are not used. | ||
`patient` | Conditionally | [`reference`] | Who the Procedure is for. This parameter is required if `_id` or `subject` are not used. Example: `12345` | ||
`subject` | Conditionally | [`reference`] | Who the Procedure is for. This parameter is required if `_id` or `patient` are not used. Example: `Patient/12345` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wording on the parameters here should be used in DSTU2 resource's table as well. |
||
`date` | No | [`dateTime`] | Date range in which the Procedure's `performedPeriod` or `performedDateTime` falls within. Example: `date=gt2015-09-24T12:00:00.000Z&date=le2020-07-15T16:00:00.000Z` | ||
`_revinclude` | No | [`token`] | Provenance resource entries to be returned as part of the bundle. Example:_revinclude=Provenance:target | ||
|
||
Notes: | ||
|
||
* If `_id` is provided, `patient` or `subject` can no longer be provided. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you still use date if I thought it flipped over to basically: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removed the id note to avoid confusion |
||
* A `date` parameter may be provided once with a prefix and time component to imply a date range. Alternately it may be provided twice with `le`, `lt`, `ge`, or `gt` prefixes and time component to search for procedures within a specific range. The date and prefix pairs must create a closed range. | ||
* The `_revinclude` parameter may be provided once with the value `Provenance:target`. Example: `_revinclude=Provenance:target` | ||
* The `_revinclude` parameter may be provided in combination with the `_id/patient` parameter. Example: `_id=570007845&_revinclude=Provenance:target` or `patient=12345&_revinclude=Provenance:target`. | ||
* When `_revinclude` is provided in a request to a closed endpoint, the OAuth2 token must include the `user/Provenance.read` scope. | ||
* The `date` parameter | ||
* May be provided once with a prefix and time component to imply a date range. Example: `date=gt2015-09-24T00:00:00.000Z` | ||
* May otherwise be provided twice with `le`, `lt`, `ge`, or `gt` prefixes and time component to search for procedures within a specific range. The date and prefix pairs must create a closed range. | ||
* The `_revinclude` parameter | ||
* May be provided once with the value `Provenance:target`. Example: `_revinclude=Provenance:target` | ||
* May be provided in combination with the `_id` or `patient` parameter. Example: `_id=570007845&_revinclude=Provenance:target` or `patient=12345&_revinclude=Provenance:target`. | ||
* When provided in a request to a closed endpoint, the OAuth2 token must include the `user/Provenance.read` scope. | ||
* **Currently the `patient/Provenance.read` scope is not supported and hence `_revinclude` cannot be utilised for patient persona.** | ||
|
||
### Headers | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can drop the parentheses on Status here. Just saying the field can return is enough.