Consumer Real-Time Pharmacy Benefit Check FHIR IG
2.0.0-ballot - STU 2 Ballot

Consumer Real-Time Pharmacy Benefit Check FHIR IG, published by HL7 International / Pharmacy. This guide is not an authorized publication; it is the continuous build for version 2.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/carin-rtpbc/ and changes regularly. See the Directory of published versions

## Error Handling

Page standards status: Informative | Highlight text changes?

### ClaimResponse.error usage

In the event that the RTPBC source system (payer/PBM, discount pricing source) is unable to fully process a request because of data or business rule issue, that system SHALL respond by populating the .error composite in the ClaimResponse resource.§OP-1 Values SHOULD be taken from the set of RTPBC error codes as defined in the RTPBC Error Code Value Set.§OP-2

### Operation outcome usage

- In the event of a system or communication error, RTPBC source systems (payer/PBM, discount pricing source) SHALL respond by providing an OperationOutcome resource.§OP-3
- OperationOutcomes SHALL contain a definition of severity in the OperationOutcome.issue.severity field providing a value from the valueset-issue-severity value set.§OP-4 The cases described below will specify the value to use for each outcome.
- OperationOutcomes SHALL contain a definition of the type of error in the OperationOutcome.issue.code element, providing a value from the issue-type value set.§OP-5
- OperationOutcomes SHALL contain details of the error in the .issue.details.coding.code and .issue.details.coding.display fields.§OP-6
- OperationOutcomes SHOULD provide additional diagnostic details of the error in OperationOutcome.diagnostics property.§OP-7