PackagesCanonicalsLogsProblems
    Packages
    ca.infoway.io.core@0.2.0-dft
    http://fhir.infoway-inforoute.ca/ca-core/StructureDefinition/medicationrequest-ca-core
description: This profile represents the constraints applied to the MedicationRequest resource by the CA Core+ project to represent the minimum expectations for the MedicationRequest resource when used to promote capacity building for functionality found across Canadian FHIR implementations. It is informed by the constraints of shared across CIHI pCHDCF data sets and has also undergone analysis to assert alignment with the [Canadian Baseline MedicationRequest Profile](http://build.fhir.org/ig/HL7-Canada/ca-baseline/branches/master/StructureDefinition-profile-medicationrequest.html)
package_name: ca.infoway.io.core
derivation: constraint
name: MedicationRequestCACore
type: MedicationRequest
elements:
  substitution:
    elements:
      allowedBoolean: {index: 38}
  detectedIssue: {index: 39}
  dispenseRequest:
    index: 33
    elements:
      numberOfRepeatsAllowed: {index: 34}
      expectedSupplyDuration:
        elements:
          value: {index: 35}
          system: {index: 36}
          code: {index: 37}
  reasonCode:
    binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/PHCVScode'}
    index: 14
  medicationCodeableConcept:
    type: CodeableConcept
    choiceOf: medication
    index: 10
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, choiceOf: medication, index: 10}
          min: 0
          max: 1
  statusReason: {index: 1}
  authoredOn: {index: 13}
  note: {index: 15}
  supportingInformation: {index: 12}
  status: {index: 0}
  dosageInstruction:
    index: 16
    elements:
      text: {index: 17}
      timing:
        index: 18
        elements:
          code: {index: 19}
      asNeededBoolean: {index: 20}
      route:
        binding: {strength: preferred, valueSet: 'https://fhir.infoway-inforoute.ca/ValueSet/routeofadministration'}
        index: 21
      doseAndRate:
        elements:
          type: {index: 22}
          dose:
            choices: [doseQuantity]
            index: 31
            slicing:
              slices:
                doseQuantity:
                  match: {}
                  schema:
                    choices: [doseQuantity]
                    index: 31
          doseRange:
            type: Range
            choiceOf: dose
            index: 27
            slicing:
              slices:
                doseRange:
                  match: {}
                  schema: {type: Range, choiceOf: dose, index: 27}
          dose[x]:
            elements:
              low: {type: Quantity, index: 28}
              high: {type: Quantity, index: 29}
          doseQuantity:
            type: Quantity
            choiceOf: dose
            index: 32
            slicing:
              slices:
                doseQuantity:
                  match: {}
                  schema: {type: Quantity, choiceOf: dose, index: 32}
  intent: {index: 2}
  medicationReference:
    refers: ['http://fhir.infoway-inforoute.ca/ca-core/StructureDefinition/medication-ca-core']
    type: Reference
    choiceOf: medication
    index: 7
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            refers: ['http://fhir.infoway-inforoute.ca/ca-core/StructureDefinition/medication-ca-core']
            type: Reference
            choiceOf: medication
            index: 7
          min: 0
          max: 1
  subject:
    type: Reference
    refers: ['http://fhir.infoway-inforoute.ca/ca-core/StructureDefinition/patient-ca-core', 'http://hl7.org/fhir/StructureDefinition/Group']
    index: 11
  medication:
    choices: [medicationCodeableConcept]
    index: 9
    slicing:
      slices:
        medicationCodeableConcept:
          match: {}
          schema:
            choices: [medicationCodeableConcept]
            index: 9
          min: 0
          max: 1
package_version: 0.2.0-dft
class: profile
kind: resource
url: http://fhir.infoway-inforoute.ca/ca-core/StructureDefinition/medicationrequest-ca-core
base: http://hl7.org/fhir/StructureDefinition/MedicationRequest
version: null