PackagesCanonicalsLogsProblems
    Packages
    ans.fhir.fr.eprescription@1.1.0-ballot
    https://interop.esante.gouv.fr/ig/fhir/eprescription/StructureDefinition/fr-medicationrequest
description: French medication request profile\r\n \nProfil français de modélisation de la ligne de prescription médicamenteuse.
package_name: ans.fhir.fr.eprescription
derivation: constraint
name: FRMedicationRequest
type: MedicationRequest
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        renderedDosageInstruction:
          match: {url: null}
          schema: {type: Extension, short: Full representation of the dosage instructions, url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction', index: 1}
          min: 0
          max: 1
        treatmentIntent:
          match: {url: null}
          schema:
            short: overall treatment intent
            type: Extension
            meaningWhenMissing: overall intention of the treatment not specified
            url: https://interop.esante.gouv.fr/ig/fhir/eprescription/StructureDefinition/fr-treatment-intent
            index: 2
            elements:
              value[x]:
                elements:
                  coding: {index: 3}
  medication:
    choices: []
    index: 5
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        medicationReference:
          match: {}
          schema:
            choices: [medicationReference]
            index: 7
          min: 0
          max: 1
  medicationReference:
    type: Reference
    choiceOf: medication
    refers: ['https://interop.esante.gouv.fr/ig/fhir/eprescription/StructureDefinition/fr-medication-compound', 'https://interop.esante.gouv.fr/ig/fhir/eprescription/StructureDefinition/fr-medication-noncompound']
    index: 8
    slicing:
      slices:
        medicationReference:
          match: {}
          schema:
            type: Reference
            choiceOf: medication
            refers: ['https://interop.esante.gouv.fr/ig/fhir/eprescription/StructureDefinition/fr-medication-compound', 'https://interop.esante.gouv.fr/ig/fhir/eprescription/StructureDefinition/fr-medication-noncompound']
            index: 8
          min: 0
          max: 1
  subject:
    type: Reference
    refers: ['https://hl7.fr/ig/fhir/core/StructureDefinition/fr-core-patient']
    index: 9
  encounter:
    type: Reference
    refers: ['https://hl7.fr/ig/fhir/core/StructureDefinition/fr-core-encounter']
    index: 10
  authoredOn: {index: 11}
  requester:
    type: Reference
    short: Who requested the Request
    refers: ['https://hl7.fr/ig/fhir/core/StructureDefinition/fr-core-practitioner']
    index: 12
  dosageInstruction:
    index: 13
    elements:
      patientInstruction: {index: 14}
      timing:
        elements:
          repeat:
            extensions:
              AdditionalWhenValues: {url: 'https://interop.esante.gouv.fr/ig/fhir/eprescription/StructureDefinition/fr-additional-when-values', min: 0, max: 1, type: Extension, index: 15}
            elements:
              extension:
                type: Extension
                url: https://interop.esante.gouv.fr/ig/fhir/eprescription/StructureDefinition/fr-additional-when-values
                index: 15
                slicing:
                  slices:
                    AdditionalWhenValues:
                      match: {}
                      schema: {type: Extension, url: 'https://interop.esante.gouv.fr/ig/fhir/eprescription/StructureDefinition/fr-additional-when-values', index: 15}
                      min: 0
                      max: 1
      route:
        binding: {strength: extensible, valueSet: 'https://interop.esante.gouv.fr/ig/fhir/eprescription/ValueSet/fr-route-of-administration'}
        index: 16
      method:
        binding: {strength: extensible, valueSet: 'https://interop.esante.gouv.fr/ig/fhir/eprescription/ValueSet/FrMethodOfAdministration'}
        index: 17
      doseAndRate:
        extensions:
          BasisOfDoseComponent: {url: 'https://interop.esante.gouv.fr/ig/fhir/eprescription/StructureDefinition/fr-basis-of-dose-component', min: 0, max: 1, type: Extension, index: 18}
        elements:
          extension:
            type: Extension
            url: https://interop.esante.gouv.fr/ig/fhir/eprescription/StructureDefinition/fr-basis-of-dose-component
            index: 18
            slicing:
              slices:
                BasisOfDoseComponent:
                  match: {}
                  schema: {type: Extension, url: 'https://interop.esante.gouv.fr/ig/fhir/eprescription/StructureDefinition/fr-basis-of-dose-component', index: 18}
                  min: 0
                  max: 1
          dose:
            choices: [doseQuantity]
            index: 25
            slicing:
              slices:
                doseQuantity:
                  match: {}
                  schema:
                    choices: [doseQuantity]
                    index: 25
                  min: 0
                  max: 1
          doseRange:
            type: Range
            choiceOf: dose
            index: 23
            slicing:
              slices:
                doseRange:
                  match: {}
                  schema: {type: Range, choiceOf: dose, index: 23}
                  min: 0
                  max: 1
          doseQuantity:
            type: Quantity
            choiceOf: dose
            index: 26
            slicing:
              slices:
                doseQuantity:
                  match: {}
                  schema: {type: Quantity, choiceOf: dose, index: 26}
                  min: 0
                  max: 1
          rate:
            choices: [rateQuantity]
            index: 36
            slicing:
              slices:
                rateQuantity:
                  match: {}
                  schema:
                    choices: [rateQuantity]
                    index: 36
                  min: 0
                  max: 1
          rateRatio:
            type: Ratio
            choiceOf: rate
            index: 31
            slicing:
              slices:
                rateRatio:
                  match: {}
                  schema: {type: Ratio, choiceOf: rate, index: 31}
                  min: 0
                  max: 1
          rateRange:
            type: Range
            choiceOf: rate
            index: 34
            slicing:
              slices:
                rateRange:
                  match: {}
                  schema: {type: Range, choiceOf: rate, index: 34}
                  min: 0
                  max: 1
          rateQuantity:
            type: Quantity
            choiceOf: rate
            index: 37
            slicing:
              slices:
                rateQuantity:
                  match: {}
                  schema: {type: Quantity, choiceOf: rate, index: 37}
                  min: 0
                  max: 1
      maxDosePerPeriod:
        elements:
          numerator: {type: Quantity, index: 38}
          denominator: {type: Quantity, index: 39}
      maxDosePerAdministration: {type: Quantity, index: 40}
      maxDosePerLifetime: {type: Quantity, index: 41}
package_version: 1.1.0-ballot
extensions:
  renderedDosageInstruction: {url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationRequest.renderedDosageInstruction', min: 0, max: 1, type: Extension, short: Full representation of the dosage instructions, index: 1}
  treatmentIntent:
    url: https://interop.esante.gouv.fr/ig/fhir/eprescription/StructureDefinition/fr-treatment-intent
    short: overall treatment intent
    type: Extension
    meaningWhenMissing: overall intention of the treatment not specified
    index: 2
    elements:
      value[x]:
        elements:
          coding: {index: 3}
class: profile
kind: resource
url: https://interop.esante.gouv.fr/ig/fhir/eprescription/StructureDefinition/fr-medicationrequest
base: http://hl7.org/fhir/StructureDefinition/MedicationRequest
version: 1.1.0-ballot
required: [authoredOn, dosageInstruction, requester]