PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.pdmp.r4@1.0.0
    http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-messageheader-response
description: This profile constrains a MessageHeader resource for use in a PDMP response data bundle. A Parameters resource is the focus.
package_name: hl7.fhir.us.pdmp.r4
derivation: constraint
name: PdmpMessageHeaderResponse
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]
  focus:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Parameters']
    index: 7
package_version: 1.0.0
class: profile
kind: resource
url: http://hl7.org/fhir/us/pdmp/StructureDefinition/pdmp-messageheader-response
base: http://hl7.org/fhir/StructureDefinition/MessageHeader
version: 1.0.0
required: [eventCoding, focus]