PackagesCanonicalsLogsProblems
    Packages
    rs/ca.on.dhdr.r4@0.9.0
    http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-MedicationRequest-submission
description: Ordering of medication for patient
package_name: rs/ca.on.dhdr.r4
derivation: constraint
name: MedicationRequestPrescription
type: MedicationRequest
elements:
  medication[x]:
    elements:
      reference: {mustSupport: true, index: 9}
    required: [reference]
  reasonCode:
    mustSupport: true
    array: true
    max: 5
    index: 14
    elements:
      coding:
        binding: {strength: extensible, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/prescriptionindicationforuse'}
        mustSupport: true
        index: 15
        elements:
          system:
            pattern: {type: uri, value: 'http://snomed.info/sct'}
            mustSupport: true
            type: uri
            index: 16
          code: {mustSupport: true, index: 17}
          display: {mustSupport: true, index: 18}
      text: {mustSupport: true, index: 19}
  requester:
    type: Reference
    mustSupport: true
    refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Practitioner-submission']
    index: 12
    elements:
      reference: {mustSupport: true, index: 13}
    required: [reference]
  status:
    pattern: {type: code, value: unknown}
    mustSupport: true
    type: code
    index: 4
  id: {mustSupport: true, index: 0}
  identifier:
    mustSupport: true
    index: 1
    elements:
      system: {mustSupport: true, index: 2}
      value: {mustSupport: true, index: 3}
    required: [system, value]
  intent:
    pattern: {type: code, value: order}
    mustSupport: true
    type: code
    index: 5
  medicationReference:
    type: Reference
    mustSupport: true
    choiceOf: medication
    refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Medication-submission']
    index: 8
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-Patient-submission']
    index: 10
    elements:
      reference: {mustSupport: true, index: 11}
    required: [reference]
  medication:
    mustSupport: true
    choices: [medicationReference]
    index: 7
package_version: 0.9.0
class: profile
kind: resource
url: http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-profile-MedicationRequest-submission
base: http://hl7.org/fhir/StructureDefinition/MedicationRequest
version: 4.0.0
required: [requester]