description: This profile constrains a MessageHeader resource for use in a PDMP request data bundle. A Parameters resource is the focus. package_name: hl7.fhir.us.pdmp.r4b derivation: constraint name: PdmpMessageHeaderRequest 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 choices: [eventCoding] _required: true index: 3 min: 1 max: 1 eventCoding: type: Coding mustSupport: true choiceOf: event index: 4 slicing: slices: eventCoding: match: {} schema: {type: Coding, mustSupport: true, choiceOf: event, _required: true, index: 4} min: 1 max: 1 event[x]: elements: system: pattern: {type: Uri, value: 'urn:ietf:rfc:3986'} mustSupport: true index: 5 code: pattern: {type: Code, value: 'http://hl7.org/fhir/us/pdmp/OperationDefinition/pdmp-history'} mustSupport: true index: 6 required: [system, code] sender: type: Reference refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole'] index: 7 focus: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-parameters-request'] index: 8 package_version: 1.0.0-ballot class: profile kind: resource url: http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-messageheader-request base: http://hl7.org/fhir/StructureDefinition/MessageHeader version: 1.0.0-ballot required: [eventCoding, focus]