PackagesCanonicalsLogsProblems
    Packages
    bd.fhir.core@0.2.0
    https://fhir.dghs.gov.bd/core/StructureDefinition/bd-medication-request
description: Profile of MedicationRequest Bangladesh Standard V2
package_name: bd.fhir.core
derivation: constraint
name: BDMedicationRequest
type: MedicationRequest
elements:
  encounter:
    type: Reference
    mustSupport: true
    refers: ['https://fhir.dghs.gov.bd/core/StructureDefinition/bd-encounter']
    index: 11
  reported:
    choices: []
    index: 2
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        reportedReference:
          match: {}
          schema:
            choices: [reportedReference]
            index: 4
          min: 0
          max: 1
  medicationCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: medication, index: 8}
  authoredOn: {index: 12}
  requester:
    type: Reference
    refers: ['https://fhir.dghs.gov.bd/core/StructureDefinition/bd-organization', 'https://fhir.dghs.gov.bd/core/StructureDefinition/bd-practitioner']
    index: 13
  reportedReference:
    type: Reference
    choiceOf: reported
    refers: ['https://fhir.dghs.gov.bd/core/StructureDefinition/bd-organization', 'https://fhir.dghs.gov.bd/core/StructureDefinition/bd-patient', 'https://fhir.dghs.gov.bd/core/StructureDefinition/bd-practitioner']
    index: 5
    slicing:
      slices:
        reportedReference:
          match: {}
          schema:
            type: Reference
            choiceOf: reported
            refers: ['https://fhir.dghs.gov.bd/core/StructureDefinition/bd-organization', 'https://fhir.dghs.gov.bd/core/StructureDefinition/bd-patient', 'https://fhir.dghs.gov.bd/core/StructureDefinition/bd-practitioner']
            index: 5
          min: 0
          max: 1
  identifier: {index: 0}
  basedOn:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/CarePlan', 'http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation', 'http://hl7.org/fhir/StructureDefinition/ServiceRequest', 'https://fhir.dghs.gov.bd/core/StructureDefinition/bd-medication-request']
    index: 14
  priorPrescription:
    type: Reference
    refers: ['https://fhir.dghs.gov.bd/core/StructureDefinition/bd-medication-request']
    index: 15
  medicationReference:
    type: Reference
    mustSupport: true
    choiceOf: medication
    refers: ['https://fhir.dghs.gov.bd/core/StructureDefinition/bd-medication']
    index: 9
  subject:
    type: Reference
    refers: ['https://fhir.dghs.gov.bd/core/StructureDefinition/bd-patient']
    index: 10
  medication:
    mustSupport: true
    choices: [medicationCodeableConcept, medicationReference]
    index: 7
package_version: 0.2.0
class: profile
kind: resource
url: https://fhir.dghs.gov.bd/core/StructureDefinition/bd-medication-request
base: http://hl7.org/fhir/StructureDefinition/MedicationRequest
version: 0.2.0
required: [authoredOn, requester, identifier]