PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.ips@2.0.0
    http://hl7.org/fhir/uv/ips/StructureDefinition/MedicationStatement-uv-ips
description: This profile represents the constraints applied to the MedicationStatement resource by the International Patient Summary (IPS) FHIR Implementation Guide, based on FHIR R4. A record of a medication statement is represented in the patient summary as an instance of a MedicationStatement resource constrained by this profile.
package_name: hl7.fhir.uv.ips
derivation: constraint
name: MedicationStatementIPS
type: MedicationStatement
elements:
  status: {index: 0}
  medication:
    mustSupport: true
    choices: [medicationCodeableConcept, medicationReference]
    index: 2
  medicationCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: medication, index: 3}
  medicationReference:
    type: Reference
    mustSupport: true
    choiceOf: medication
    refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Medication-uv-ips']
    index: 4
  subject:
    type: Reference
    mustSupport: true
    refers: ['http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips']
    index: 5
    elements:
      reference: {mustSupport: true, index: 6}
    required: [reference]
  effective:
    mustSupport: true
    choices: []
    index: 8
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: 1
      slices:
        effectiveDateTime:
          match: {}
          schema:
            mustSupport: true
            choices: [effectiveDateTime]
            index: 10
          min: 0
          max: 1
  effectiveDateTime:
    type: dateTime
    mustSupport: true
    choiceOf: effective
    index: 11
    slicing:
      slices:
        effectiveDateTime:
          match: {}
          schema: {type: dateTime, mustSupport: true, choiceOf: effective, index: 11}
          min: 0
          max: 1
  dosage:
    mustSupport: true
    index: 12
    elements:
      text: {mustSupport: true, index: 13}
      timing: {mustSupport: true, index: 14}
      route:
        binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/route-codes'}
        index: 15
package_version: 2.0.0
class: profile
kind: resource
url: http://hl7.org/fhir/uv/ips/StructureDefinition/MedicationStatement-uv-ips
base: http://hl7.org/fhir/StructureDefinition/MedicationStatement
version: 2.0.0
required: [effective]