description: This profile constrains a MessageHeader resource for use in a Real-time Pharmacy Benefit Check (RTPBC) response bundle package_name: hl7.fhir.us.carin-rtpbc derivation: constraint name: RtpbcResponseMessageHeader type: MessageHeader elements: event: choices: [] index: 1 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: eventCoding: match: {} schema: mustSupport: true pattern: type: Coding value: {code: rtpbc-response, system: 'http://hl7.org/fhir/us/carin-rtpbc/CodeSystem/rtpbc-event-type', display: RTPBC Response} choices: [eventCoding] _required: true index: 3 min: 1 max: 1 eventCoding: type: Coding mustSupport: true pattern: type: Coding value: {code: rtpbc-response, system: 'http://hl7.org/fhir/us/carin-rtpbc/CodeSystem/rtpbc-event-type', display: RTPBC Response} choiceOf: event index: 4 slicing: slices: eventCoding: match: {} schema: type: Coding mustSupport: true _required: true pattern: type: Coding value: {code: rtpbc-response, system: 'http://hl7.org/fhir/us/carin-rtpbc/CodeSystem/rtpbc-event-type', display: RTPBC Response} choiceOf: event index: 4 min: 1 max: 1 focus: index: 5 slicing: rules: open discriminator: - {path: $this, type: profile} min: 1 slices: rtpbc-response: match: {} schema: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-response-claimresponse'] _required: true index: 6 min: 1 max: 1 definition: mustSupport: true pattern: {type: Canonical, value: 'http://hl7.org/fhir/us/carin-rtpbc/MessageDefinition/rtpbc-response'} index: 7 package_version: 2.0.0-ballot class: profile kind: resource url: http://hl7.org/fhir/us/carin-rtpbc/StructureDefinition/rtpbc-response-messageheader base: http://hl7.org/fhir/StructureDefinition/MessageHeader version: 2.0.0-ballot required: [eventCoding, focus, definition]