Skip to content

Commit

Permalink
Technical Correction FHIR-24434 (HL7#62)
Browse files Browse the repository at this point in the history
* Technical corrections to bulk data conformance requirements

* Removing added language about DELETE

* Adding clarification about extensions at the field level per FHIR-24912

* Moved operation definitions for group export and patient export to type level from rest level per FHIR-23864

Co-authored-by: ricky1uphealth <46762464+ricky1uphealth@users.noreply.github.com>
  • Loading branch information
2 people authored and jmandel committed Dec 20, 2019
1 parent aa071e6 commit 526af61
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 21 deletions.
52 changes: 32 additions & 20 deletions resources/capabilitystatement-bulk-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,38 @@
{
"mode": "server",
"documentation": "The Bulk Data (Flat FHIR) Server **SHOULD**:\n\n1. Export data from a FHIR server whether or not it is associated with a patient. This supports use cases like backing up a server or exporting terminology data by restricting the resources returned using the _type parameter.\n1. Obtain data on all patients listed in a single FHIR Group Resource. If a FHIR server supports Group-level data export, it SHOULD support reading and searching for Group resource. This enables clients to discover available groups based on stable characteristics such as Group.identifier. Note: How these groups are defined is implementation specific for each FHIR system. For example, a payer may send a healthcare institution a roster file that can be imported into their EHR to create or update a FHIR group. Group membership could be based upon explicit attributes of the patient, such as: age, sex or a particular condition such as PTSD or Chronic Opioid use, or on more complex attributes, such as a recent inpatient discharge or membership in the population used to calculate a quality measure. FHIR-based group management is out of scope for the current version of this implementation guide.\n1. Export data from a FHIR server for all data associated with patients. This supports use cases like transmitting all data about patients or clinical care between systems.",
"resource": [
{
"type": "group",
"operation": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHOULD"
}
],
"name": "group-export",
"definition": "OperationDefinition/GroupLevelExport"
}
]
},
{
"type": "patient",
"operation": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHOULD"
}
],
"name": "patient-export",
"definition": "OperationDefinition/PatientLevelExport"
}
]
}
],
"security": {
"description": "1. See the [Authorization Guide](authorization/index.html) section for requirements and recommendations.\n1. This specification describes requirements for requesting an access token
through the use of an OAuth 2.0 client credentials flow, with a [JWT
Expand All @@ -90,26 +122,6 @@
],
"name": "export",
"definition": "OperationDefinition/BulkDataExport"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHOULD"
}
],
"name": "patient-export",
"definition": "OperationDefinition/PatientLevelExport"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation",
"valueCode": "SHOULD"
}
],
"name": "group-export",
"definition": "OperationDefinition/GroupLevelExport"
}
]
}
Expand Down
3 changes: 3 additions & 0 deletions spec/export/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,9 @@ Required Fields:
<td><span class="label label-info">optional</span></td>
<td>JSON Object</td>
<td>To support extensions, this implementation guide reserves the name <code>extension</code> and will never define a field with that name, allowing server implementations to use it to provide custom behavior and information. For example, a server may choose to provide a custom extension that contains a decryption key for encrypted ndjson files. The value of an extension element SHALL be a pre-coordinated JSON object.
<br/>
<br/>
Note: In addition to extensions being supported on the root object level, extensions may also be included within the fields above (e.g., in the 'output' object).
</td>
</tr>
</tbody>
Expand Down
2 changes: 1 addition & 1 deletion spec/operations/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ These OperationDefinitions have been defined for this implementation guide.
* [Patient Export: export patient data from a FHIR server](../OperationDefinition-patient-export.html)
* [Group Export: export data for groups of patients from a FHIR server](../OperationDefinition-group-export.html)

To declare conformance with this IG, a server should include the following URL in its own `CapabilityStatement.instantiates`: [http://www.hl7.org/fhir/bulk-data/CapabilityStatement-bulk-data.html](../CapabilityStatement-bulk-data.html)
To declare conformance with this IG, a server should include the following URL in its own `CapabilityStatement.instantiates`: [http://hl7.org/fhir/uv/bulkdata/CapabilityStatement/bulk-data](../CapabilityStatement/bulk-data.html)

0 comments on commit 526af61

Please sign in to comment.