Non-patient File Sharing (NPFS)
2.2.0 - Trial-Implementation
This page is part of the Non-patient File Sharing (NPFS) (v2.2.0: Publication) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions
This transaction allows a File Source to update a DocumentReference Resource previously submitted. The DocumentReference Resource represents metadata for a file that is not associated with a patient.
The File Manager is not required to support FHIR resource versioning (see https://www.hl7.org/fhir/R4/http.html#history).
Actor: | File Source |
Role: | Sends an update to an existing DocumentReference Resource. |
Actor: | File Manager |
Role: | Updates and maintains DocumentReference Resources. |
HL7 FHIR | HL7 FHIR Release 4.0 |
Figure 2:3.89.4-1: Update DocumentReference Interactions
The File Source uses this message to update a FHIR DocumentReference Resource already stored on the File Manager.
The File Source needs to update one DocumentReference Resource managed in the File Manager.
Prior to sending the update, the File Source shall discover the id of the existing DocumentReference Resource.
The File Source shall issue an HTTP request according to requirements defined in HL7® FHIR® standard for “update” interaction (http://hl7.org/fhir/R4/http.html#update).
The File Source shall use an HTTP PUT method to submit to the File Manager a DocumentReference Resource. The DocumentReference Resource conveys to the File Manager the update to a file’s metadata.
This message shall convey one DocumentReference Resource. The id of the DocumentReference Resource shall be valued with the id of the DocumentReference Resource to be updated; see Resource Profile: NPFS DocumentReference for other constraints upon the DocumentReference Resource.
The File Source shall submit the DocumentReference Resource in either XML format or JSON format. Values accepted for media-type of the request message are defined in the ITI TF-2: Appendix Z.6 (currently in the Appendix Z on HL7 FHIR Trial Implementation Supplement).
For an example of a Update DocumentReference Request see Example DocumentReference: DocumentReference for Update.
The File Manager shall support all the media-type listed in ITI TF-2: Appendix Z.6 (currently in the Appendix Z on HL7 FHIR Trial Implementation Supplement).
On receipt of the DocumentReference Update Request, the File Manager shall validate and update the existing resource and respond with one of the HTTP codes defined in Section 3.89.4.2.2 Message Semantics.
The File Manager returns a HTTP Status code appropriate to the processing.
When the File Manager has updated the DocumentReference Resource, the File Manager sends this message to the File Source acknowledging the result of the update request.
When the File Manager has processed the request, it shall return an HTTP response with an overall status code.
The File Manager returns a HTTP status code appropriate to the processing, conforming to the transaction specification requirements as specified in https://www.hl7.org/fhir/R4/http.html#update.
The File Source processes the results according to application-defined rules.
File Managers implementing this transaction shall provide a CapabilityStatement Resource as described in ITI TF-2: Appendix Z.3 indicating the transaction has been implemented.
See NPFS Security Considerations.
The files are not Patient specific, but they may have other needs for security controls, such as business knowledge restrictions. Thus, the use of Security may be applicable. Actors involved in this transaction should be aware that even if the Resources exchanged do not contain PHI or other private information, updating those Resources could compromise patient care or have other legal ramifications. For general security considerations, see ITI TF-2: Appendix Z.8.
The File Source when grouped with ATNA Secure Node or Secure Application Actor shall be able to record a Update DocumentReference Source Audit Event Log.
The File Manager when grouped with ATNA Secure Node or Secure Application Actor shall be able to record a Update DocumentReference Manager Audit Event Log.