Request Headers
Purpose of Use
The Category header may be used to indicate the ‘reason for access’ when making API requests to the Spine, where this information may be required for Privacy Audit purposes. The Spine extends the FHIR Security Labels standard to allow clients to indicate the purpose of the request, and potentially also a free-text reason to add further detail.
Clients accessing the BadgerNet Spine in New Zealand must include a valid Category header with every request to the API, in other regions this header is optional.
Example
In the following example, the client sends a Category header including the code: ETREAT indicating that the request is due to an emergency scenario, and includes a free-text reason.
Category:
http://terminology.hl7.org/CodeSystem/v3-ActReason#ETREAT; scheme=http://hl7.org/fhir/tag/security; reason="Patient is unconscious, emergency access"
There are four main sections to the header value:
Category URI - A fixed value of:
http://terminology.hl7.org/CodeSystem/v3-ActReasonPurpose of Use Code - A valid Purpose of Use Code, as a URI fragment suffix to the Category URI
Scheme - A fixed value of:
http://hl7.org/fhir/tag/securityReason - An optional free-text reason for access. For certain Purpose of Use Codes, this is required
Purpose of Use Code
The Purpose of Use code must be one of a fixed set of values, see Appendix A below for a complete list of supported codes.
Reason
In addition to the Purpose of Use Code, the reason field may be used to include some free-text information about the purpose of the request. While this may be included with any Purpose of Use Code, for certain codes this field is mandatory, specifically:
ETREAT- Emergency TreatmentBTG- Break the GlassERTREAT- Emergency Room Treatment
A maximum of 500 characters may be included in the reason field, and when the field is mandatory, it must be at least 5 characters long.
Associated Person
The From header may be used to indicate a user and/or organisation associated with the request for auditing purposes.
Clients accessing the BadgerNet Spine in New Zealand must include a valid From header containing both user and organisation fields with every request to the API, in other regions this header is optional.
Example
In the following example, the client associates the request with specific user and organisation identifiers.
From:
user="24601";organisation="E12345"
The user and organisation fields may each be a maximum of 75 characters long, and may contain any identifiers appropriate to the Spine Client System. For example, a professional registration number or internal system ID.
Request ID
Spine Client Systems may optionally send a client-generated unique ID in the X-Request-Id header when calling the Spine API. Similarly, the Spine will always include a server-generated X-Request-Id header in responses. To allow clients to correlate sent messages with their responses, the Spine will echo any inbound X-Request-Id headers back to the client in the response using the key: X-Correlation-Id. This is in conformance with the FHIR Specification on Custom Headers.
Appendix A: Purpose of Use Codes
Code | Description | Requires Reason |
|---|---|---|
| Biomedical Research | |
| Break the Glass | ✅ |
| Care Management | |
| Clinical Trial Research | |
| Clinical Trial Research Without Patient Care | |
| Clinical Trial Research With Patient Care | |
| Clinical Trial | |
| Claim Attachment | |
| Coordination of Care | |
| Coverage Authorization | |
| Disaster | |
| Disease Specific Healthcare Research | |
| Eligibility Determination | |
| Eligibility Verification | |
| Enrollment | |
| Emergency Room Treatment | ✅ |
| Emergency Treatment | ✅ |
| Family Requested | |
| Fraud | |
| Health Accreditation | |
| Health Compliance | |
| Decedent | |
| Directory | |
| Healthcare Delivery Management | |
| Legal | |
| Healthcare Operations | |
| Health Outcome Measure | |
| Healthcare Payment | |
| Health Program Reporting | |
| Health Quality Improvement | |
| Healthcare Research | |
| Health System Administration | |
| Test Health Data | |
| Labeling | |
| Metadata Management | |
| Patient Administration | |
| Patient Requested | |
| Patient Safety | |
| Performance Measure | |
| Population Origins or Ancestry Healthcare Research | |
| Population Health | |
| Preclinical Trial Research | |
| Public Health | |
| Power of Attorney | |
| Records Management | |
| Remittance Advice | |
| Support Network | |
| Threat | |
| Training | |
| Translational Healthcare Research | |
| Treatment |
This documentation space has been classified as: |
|---|
COMMERCIAL IN CONFIDENCE |
Confidentiality/document control
This document contains information that is confidential to System C Healthcare Ltd (System C) and is intended for our customers to use in connection with our products and services and it must not be used for any other purpose nor disclosed to any other party, either whole or in part, without the prior written consent of System C except as follows. A customer may permit those of its employees, advisors and agents having a need to know the contents of this platform, to have access to such of the contents as are strictly necessary, but that customer shall ensure that such employees, advisors and agents are bound to it by an obligation, in similar term, to keep it confidential. A customer's acceptance of these obligations shall be indicated by that customer's use of any of the information contained in this document.
System C acknowledges that a customer may be bound by the Freedom of Information Act 2000 (FOIA). In such a case System C considers that the contents of this document are confidential and exempt from disclosure pursuant to section 41 of the FOIA. A customer should consult System C before making any disclosure of information relating to System C under the FOIA. System C's business information, methodologies, solutions, as well as reference to System C clients and their projects are always considered by System C to be exempt from disclosure by virtue of section 41 and 43 of the FOIA, whether indicated or not.
Warning: Paper or PDF copies of this document are not version controlled and will automatically be considered obsolete and superseded at the time of printing or conversion.
© 2024 System C Healthcare Ltd. All rights reserved. Commercial in confidence.