PackagesCanonicalsLogsProblems
    Packages
    ca.on.oh-dhdr@4.0.2-alpha1.0.1
    http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-consumer-profile-MedicationRequest
description: Ordering of medication for patient
package_name: ca.on.oh-dhdr
derivation: constraint
name: MedicationRequestPrescription
type: MedicationRequest
elements:
  medication[x]:
    elements:
      reference: {mustSupport: true, index: 9}
    required: [reference]
  reasonCode:
    binding: {strength: required, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/prescriptionodbreasonforuse'}
    mustSupport: true
    index: 14
    elements:
      coding:
        mustSupport: true
        index: 15
        elements:
          system:
            pattern: {type: Uri, value: 'http://ehealthontario.ca/fhir/NamingSystem/ca-on-drug-odb-prescription-reason'}
            mustSupport: true
            index: 16
          code: {mustSupport: true, index: 17}
          display: {mustSupport: true, index: 18}
        required: [system, code]
    required: [coding]
  requester:
    type: Reference
    mustSupport: true
    refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-consumer-profile-Practitioner-prescriber']
    index: 12
    elements:
      reference: {mustSupport: true, index: 13}
    required: [reference]
  status:
    pattern: {type: Code, value: unknown}
    mustSupport: true
    index: 4
  id: {mustSupport: true, index: 0}
  identifier:
    mustSupport: true
    index: 1
    elements:
      system: {mustSupport: true, index: 2}
      value: {mustSupport: true, index: 3}
    required: [value]
  intent:
    pattern: {type: Code, value: original-order}
    mustSupport: true
    index: 5
  medicationReference:
    type: Reference
    mustSupport: true
    choiceOf: medication
    refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-consumer-profile-Medication']
    index: 8
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-consumer-profile-Patient-dispense']
    index: 10
    elements:
      reference: {mustSupport: true, index: 11}
    required: [reference]
  medication:
    mustSupport: true
    choices: [medicationReference]
    index: 7
package_version: 4.0.2-alpha1.0.1
class: profile
kind: resource
url: http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-consumer-profile-MedicationRequest
base: http://hl7.org/fhir/StructureDefinition/MedicationRequest
version: 1.0.0