FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagesynapxe.sgcdi
Resource TypeStructureDefinition
Idprofile-medicationstatement.StructureDefinition.json
FHIR VersionR5
Sourcehttps://simplifier.net/resolve?scope=synapxe.sgcdi@1.1.0&canonical=https://fhir.synapxe.sg/StructureDefinition/profile-medicationstatement
URLhttps://fhir.synapxe.sg/StructureDefinition/profile-medicationstatement
Statusactive
NameMedicationStatement
TypeMedicationStatement
Kindresource

Resources that use this resource

StructureDefinition
profile-list-medicationstatementPatientMedicationList
profile-bundlepatientmedicationlistBundlePatientMedicationList
profile-patientmedicationlistPatientMedicationList
profile-outputmedicationlistOutputMedicationList

Resources that this resource uses

StructureDefinition
ext-changesMadeChanges Made Extension
profile-allergyintoleranceAllergyIntolerance
profile-annotationAnnotation
profile-codeableconceptCodeableConcept
profile-flagFlag
profile-identifierIdentifier
profile-medicationMedication
profile-medicationdispenseMedicationDispense
profile-medicationrequestMedicationRequest
profile-patientPatient
profile-practitionerrolePractitionerRole
profile-reference-patientReference
profile-relatedpersonRelatedPerson
ValueSet
medication-statement-adherenceMedication Statement Adherence Value Set
medication-statement-categoryMedication Statement Category Value Set

Narrative

No narrative content found in resource


Source1

{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.synapxe.sg/StructureDefinition/profile-medicationstatement",
  "name": "MedicationStatement",
  "status": "active",
  "fhirVersion": "5.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "MedicationStatement",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationStatement",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "MedicationStatement.contained",
        "path": "MedicationStatement.contained",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "short": "Ordering of medication for patient or group",
        "definition": "An order or request for both supply of the medication and the instructions for administration of the medication to a patient. The resource is called \"MedicationRequest\" rather than \"MedicationPrescription\" or \"MedicationOrder\" to generalize the use across inpatient and outpatient settings, including care plans, etc., and to harmonize with workflow patterns.",
        "alias": [
          "Prescription",
          "Order"
        ],
        "min": 1,
        "constraint": [
          {
            "key": "dom-2",
            "severity": "error",
            "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
            "expression": "contained.contained.empty()",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key": "dom-4",
            "severity": "error",
            "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
            "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key": "dom-3",
            "severity": "error",
            "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
            "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key": "dom-6",
            "severity": "warning",
            "human": "A resource should have narrative for robust management",
            "expression": "text.`div`.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key": "dom-5",
            "severity": "error",
            "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
            "expression": "contained.meta.security.empty()",
            "source": "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key": "mdd-1",
            "severity": "error",
            "human": "whenHandedOver cannot be before whenPrepared",
            "expression": "whenHandedOver.empty() or whenPrepared.empty() or whenHandedOver >= whenPrepared",
            "source": "http://hl7.org/fhir/StructureDefinition/MedicationDispense"
          }
        ],
        "mapping": [
          {
            "identity": "workflow",
            "map": "Request"
          },
          {
            "identity": "w5",
            "map": "clinical.medication"
          },
          {
            "identity": "script10.6",
            "map": "Message/Body/NewRx"
          }
        ]
      },
      {
        "id": "MedicationStatement.contained:MedicationRequest",
        "path": "MedicationStatement.contained",
        "sliceName": "MedicationRequest",
        "short": "Contained, inline Resources",
        "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-medicationrequest"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.contained:MedicationDispense",
        "path": "MedicationStatement.contained",
        "sliceName": "MedicationDispense",
        "short": "Contained, inline Resources",
        "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-medicationdispense"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.contained:Medication",
        "path": "MedicationStatement.contained",
        "sliceName": "Medication",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-medication"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.contained:AllergyIntolerance",
        "path": "MedicationStatement.contained",
        "sliceName": "AllergyIntolerance",
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-allergyintolerance"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.contained:Flag",
        "path": "MedicationStatement.contained",
        "sliceName": "Flag",
        "type": [
          {
            "code": "Resource",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-flag"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.extension:changesMade",
        "path": "MedicationStatement.extension",
        "sliceName": "changesMade",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/ext-changesMade"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.modifierExtension",
        "path": "MedicationStatement.modifierExtension",
        "max": "0"
      },
      {
        "id": "MedicationStatement.identifier",
        "path": "MedicationStatement.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-identifier"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.identifier:sequenceNo",
        "path": "MedicationStatement.identifier",
        "sliceName": "sequenceNo",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-identifier"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.identifier:sequenceNo.system",
        "path": "MedicationStatement.identifier.system",
        "fixedUri": "https://fhir.synapxe.sg/NamingSystem/sequence-no"
      },
      {
        "id": "MedicationStatement.identifier:groupNo",
        "path": "MedicationStatement.identifier",
        "sliceName": "groupNo",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-identifier"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.identifier:groupNo.system",
        "path": "MedicationStatement.identifier.system",
        "fixedUri": "https://fhir.synapxe.sg/NamingSystem/group-no"
      },
      {
        "id": "MedicationStatement.identifier:groupSequenceNo",
        "path": "MedicationStatement.identifier",
        "sliceName": "groupSequenceNo",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-identifier"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.identifier:groupSequenceNo.system",
        "path": "MedicationStatement.identifier.system",
        "fixedUri": "https://fhir.synapxe.sg/NamingSystem/group-sequence-no"
      },
      {
        "id": "MedicationStatement.identifier:recordIdentifier",
        "path": "MedicationStatement.identifier",
        "sliceName": "recordIdentifier",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-identifier"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.identifier:recordIdentifier.system",
        "path": "MedicationStatement.identifier.system",
        "fixedUri": "https://fhir.synapxe.sg/NamingSystem/record-id"
      },
      {
        "id": "MedicationStatement.partOf",
        "path": "MedicationStatement.partOf",
        "max": "0"
      },
      {
        "id": "MedicationStatement.category",
        "path": "MedicationStatement.category",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-codeableconcept"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://fhir.synapxe.sg/ValueSet/medication-statement-category"
        }
      },
      {
        "id": "MedicationStatement.category.coding.system",
        "path": "MedicationStatement.category.coding.system",
        "fixedUri": "https://fhir.synapxe.sg/CodeSystem/clinical-setting"
      },
      {
        "id": "MedicationStatement.medication",
        "path": "MedicationStatement.medication",
        "type": [
          {
            "code": "CodeableReference",
            "targetProfile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-medication"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.medication.id",
        "path": "MedicationStatement.medication.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.medication.extension",
        "path": "MedicationStatement.medication.extension",
        "max": "0"
      },
      {
        "id": "MedicationStatement.medication.concept",
        "path": "MedicationStatement.medication.concept",
        "max": "0"
      },
      {
        "id": "MedicationStatement.medication.reference",
        "path": "MedicationStatement.medication.reference",
        "min": 1
      },
      {
        "id": "MedicationStatement.medication.reference.id",
        "path": "MedicationStatement.medication.reference.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.medication.reference.extension",
        "path": "MedicationStatement.medication.reference.extension",
        "max": "0"
      },
      {
        "id": "MedicationStatement.medication.reference.reference",
        "path": "MedicationStatement.medication.reference.reference",
        "min": 1
      },
      {
        "id": "MedicationStatement.medication.reference.type",
        "path": "MedicationStatement.medication.reference.type",
        "max": "0"
      },
      {
        "id": "MedicationStatement.medication.reference.identifier",
        "path": "MedicationStatement.medication.reference.identifier",
        "max": "0"
      },
      {
        "id": "MedicationStatement.medication.reference.display",
        "path": "MedicationStatement.medication.reference.display",
        "max": "0"
      },
      {
        "id": "MedicationStatement.subject",
        "path": "MedicationStatement.subject",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-reference-patient"
            ],
            "targetProfile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-patient"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.encounter",
        "path": "MedicationStatement.encounter",
        "max": "0"
      },
      {
        "id": "MedicationStatement.effective[x]",
        "path": "MedicationStatement.effective[x]",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dateAsserted",
        "path": "MedicationStatement.dateAsserted",
        "min": 1
      },
      {
        "id": "MedicationStatement.informationSource",
        "path": "MedicationStatement.informationSource",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-practitionerrole",
              "https://fhir.synapxe.sg/StructureDefinition/profile-patient",
              "https://fhir.synapxe.sg/StructureDefinition/profile-relatedperson"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.informationSource:hcp",
        "path": "MedicationStatement.informationSource",
        "sliceName": "hcp",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-practitionerrole"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.informationSource:hcp.id",
        "path": "MedicationStatement.informationSource.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.informationSource:hcp.extension",
        "path": "MedicationStatement.informationSource.extension",
        "max": "0"
      },
      {
        "id": "MedicationStatement.informationSource:hcp.reference",
        "path": "MedicationStatement.informationSource.reference",
        "min": 1
      },
      {
        "id": "MedicationStatement.informationSource:hcp.type",
        "path": "MedicationStatement.informationSource.type",
        "max": "0"
      },
      {
        "id": "MedicationStatement.informationSource:hcp.identifier",
        "path": "MedicationStatement.informationSource.identifier",
        "max": "0"
      },
      {
        "id": "MedicationStatement.informationSource:hcp.display",
        "path": "MedicationStatement.informationSource.display",
        "max": "0"
      },
      {
        "id": "MedicationStatement.informationSource:patient",
        "path": "MedicationStatement.informationSource",
        "sliceName": "patient",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-reference-patient"
            ],
            "targetProfile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-patient"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.informationSource:caregiver",
        "path": "MedicationStatement.informationSource",
        "sliceName": "caregiver",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-relatedperson"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.informationSource:caregiver.id",
        "path": "MedicationStatement.informationSource.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.informationSource:caregiver.extension",
        "path": "MedicationStatement.informationSource.extension",
        "max": "0"
      },
      {
        "id": "MedicationStatement.informationSource:caregiver.reference",
        "path": "MedicationStatement.informationSource.reference",
        "max": "0"
      },
      {
        "id": "MedicationStatement.informationSource:caregiver.type",
        "path": "MedicationStatement.informationSource.type",
        "min": 1,
        "fixedUri": "RelatedPerson"
      },
      {
        "id": "MedicationStatement.informationSource:caregiver.identifier",
        "path": "MedicationStatement.informationSource.identifier",
        "min": 1
      },
      {
        "id": "MedicationStatement.informationSource:caregiver.identifier.id",
        "path": "MedicationStatement.informationSource.identifier.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.informationSource:caregiver.identifier.extension",
        "path": "MedicationStatement.informationSource.identifier.extension",
        "max": "0"
      },
      {
        "id": "MedicationStatement.informationSource:caregiver.identifier.use",
        "path": "MedicationStatement.informationSource.identifier.use",
        "max": "0"
      },
      {
        "id": "MedicationStatement.informationSource:caregiver.identifier.type",
        "path": "MedicationStatement.informationSource.identifier.type",
        "max": "0"
      },
      {
        "id": "MedicationStatement.informationSource:caregiver.identifier.system",
        "path": "MedicationStatement.informationSource.identifier.system",
        "min": 1,
        "fixedUri": "https://fhir.synapxe.sg/NamingSystem/nric"
      },
      {
        "id": "MedicationStatement.informationSource:caregiver.identifier.value",
        "path": "MedicationStatement.informationSource.identifier.value",
        "min": 1
      },
      {
        "id": "MedicationStatement.informationSource:caregiver.identifier.period",
        "path": "MedicationStatement.informationSource.identifier.period",
        "max": "0"
      },
      {
        "id": "MedicationStatement.informationSource:caregiver.identifier.assigner",
        "path": "MedicationStatement.informationSource.identifier.assigner",
        "max": "0"
      },
      {
        "id": "MedicationStatement.informationSource:caregiver.display",
        "path": "MedicationStatement.informationSource.display",
        "max": "0"
      },
      {
        "id": "MedicationStatement.derivedFrom",
        "path": "MedicationStatement.derivedFrom",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "reference"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "MedicationStatement.derivedFrom.id",
        "path": "MedicationStatement.derivedFrom.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.derivedFrom.extension",
        "path": "MedicationStatement.derivedFrom.extension",
        "max": "0"
      },
      {
        "id": "MedicationStatement.derivedFrom.reference",
        "path": "MedicationStatement.derivedFrom.reference",
        "min": 1
      },
      {
        "id": "MedicationStatement.derivedFrom.type",
        "path": "MedicationStatement.derivedFrom.type",
        "max": "0"
      },
      {
        "id": "MedicationStatement.derivedFrom.identifier",
        "path": "MedicationStatement.derivedFrom.identifier",
        "max": "0"
      },
      {
        "id": "MedicationStatement.derivedFrom.display",
        "path": "MedicationStatement.derivedFrom.display",
        "max": "0"
      },
      {
        "id": "MedicationStatement.derivedFrom:orderedMedication",
        "path": "MedicationStatement.derivedFrom",
        "sliceName": "orderedMedication",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-medicationrequest"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.derivedFrom:orderedMedication.id",
        "path": "MedicationStatement.derivedFrom.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.derivedFrom:orderedMedication.extension",
        "path": "MedicationStatement.derivedFrom.extension",
        "max": "0"
      },
      {
        "id": "MedicationStatement.derivedFrom:dispensedMedication",
        "path": "MedicationStatement.derivedFrom",
        "sliceName": "dispensedMedication",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-medicationdispense"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.derivedFrom:dispensedMedication.id",
        "path": "MedicationStatement.derivedFrom.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.derivedFrom:dispensedMedication.extension",
        "path": "MedicationStatement.derivedFrom.extension",
        "max": "0"
      },
      {
        "id": "MedicationStatement.derivedFrom:allergies",
        "path": "MedicationStatement.derivedFrom",
        "sliceName": "allergies",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-allergyintolerance"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.derivedFrom:allergies.id",
        "path": "MedicationStatement.derivedFrom.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.derivedFrom:allergies.extension",
        "path": "MedicationStatement.derivedFrom.extension",
        "max": "0"
      },
      {
        "id": "MedicationStatement.derivedFrom:allergies.reference",
        "path": "MedicationStatement.derivedFrom.reference",
        "min": 1
      },
      {
        "id": "MedicationStatement.derivedFrom:allergies.type",
        "path": "MedicationStatement.derivedFrom.type",
        "max": "0"
      },
      {
        "id": "MedicationStatement.derivedFrom:allergies.identifier",
        "path": "MedicationStatement.derivedFrom.identifier",
        "max": "0"
      },
      {
        "id": "MedicationStatement.derivedFrom:allergies.display",
        "path": "MedicationStatement.derivedFrom.display",
        "max": "0"
      },
      {
        "id": "MedicationStatement.derivedFrom:medicalAlerts",
        "path": "MedicationStatement.derivedFrom",
        "sliceName": "medicalAlerts",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-flag"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.derivedFrom:medicalAlerts.id",
        "path": "MedicationStatement.derivedFrom.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.derivedFrom:medicalAlerts.extension",
        "path": "MedicationStatement.derivedFrom.extension",
        "max": "0"
      },
      {
        "id": "MedicationStatement.derivedFrom:medicalAlerts.reference",
        "path": "MedicationStatement.derivedFrom.reference",
        "min": 1
      },
      {
        "id": "MedicationStatement.derivedFrom:medicalAlerts.type",
        "path": "MedicationStatement.derivedFrom.type",
        "max": "0"
      },
      {
        "id": "MedicationStatement.derivedFrom:medicalAlerts.identifier",
        "path": "MedicationStatement.derivedFrom.identifier",
        "max": "0"
      },
      {
        "id": "MedicationStatement.derivedFrom:medicalAlerts.display",
        "path": "MedicationStatement.derivedFrom.display",
        "max": "0"
      },
      {
        "id": "MedicationStatement.reason",
        "path": "MedicationStatement.reason",
        "max": "1"
      },
      {
        "id": "MedicationStatement.reason.id",
        "path": "MedicationStatement.reason.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.reason.extension",
        "path": "MedicationStatement.reason.extension",
        "max": "0"
      },
      {
        "id": "MedicationStatement.reason.concept",
        "path": "MedicationStatement.reason.concept",
        "min": 1,
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-codeableconcept"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.reason.concept.extension",
        "path": "MedicationStatement.reason.concept.extension",
        "max": "0"
      },
      {
        "id": "MedicationStatement.reason.concept.coding.version",
        "path": "MedicationStatement.reason.concept.coding.version",
        "max": "0"
      },
      {
        "id": "MedicationStatement.reason.reference",
        "path": "MedicationStatement.reason.reference",
        "max": "0"
      },
      {
        "id": "MedicationStatement.note",
        "path": "MedicationStatement.note",
        "max": "1",
        "type": [
          {
            "code": "Annotation",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-annotation"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.note.extension",
        "path": "MedicationStatement.note.extension",
        "max": "0"
      },
      {
        "id": "MedicationStatement.relatedClinicalInformation",
        "path": "MedicationStatement.relatedClinicalInformation",
        "max": "0"
      },
      {
        "id": "MedicationStatement.renderedDosageInstruction",
        "path": "MedicationStatement.renderedDosageInstruction",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage",
        "path": "MedicationStatement.dosage",
        "max": "1"
      },
      {
        "id": "MedicationStatement.dosage.id",
        "path": "MedicationStatement.dosage.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.extension",
        "path": "MedicationStatement.dosage.extension",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.modifierExtension",
        "path": "MedicationStatement.dosage.modifierExtension",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.sequence",
        "path": "MedicationStatement.dosage.sequence",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.text",
        "path": "MedicationStatement.dosage.text",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.additionalInstruction",
        "path": "MedicationStatement.dosage.additionalInstruction",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.patientInstruction",
        "path": "MedicationStatement.dosage.patientInstruction",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.timing",
        "path": "MedicationStatement.dosage.timing",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.asNeeded",
        "path": "MedicationStatement.dosage.asNeeded",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.asNeededFor",
        "path": "MedicationStatement.dosage.asNeededFor",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-codeableconcept"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.dosage.asNeededFor.extension",
        "path": "MedicationStatement.dosage.asNeededFor.extension",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.asNeededFor.coding.version",
        "path": "MedicationStatement.dosage.asNeededFor.coding.version",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.site",
        "path": "MedicationStatement.dosage.site",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.route",
        "path": "MedicationStatement.dosage.route",
        "min": 1,
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-codeableconcept"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.dosage.route.extension",
        "path": "MedicationStatement.dosage.route.extension",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.route.coding.version",
        "path": "MedicationStatement.dosage.route.coding.version",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.method",
        "path": "MedicationStatement.dosage.method",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate",
        "path": "MedicationStatement.dosage.doseAndRate",
        "min": 1,
        "max": "1"
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.id",
        "path": "MedicationStatement.dosage.doseAndRate.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.extension",
        "path": "MedicationStatement.dosage.doseAndRate.extension",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.type",
        "path": "MedicationStatement.dosage.doseAndRate.type",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.dose[x]",
        "path": "MedicationStatement.dosage.doseAndRate.dose[x]",
        "min": 1,
        "type": [
          {
            "code": "Range"
          }
        ]
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.rate[x]",
        "path": "MedicationStatement.dosage.doseAndRate.rate[x]",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.maxDosePerPeriod",
        "path": "MedicationStatement.dosage.maxDosePerPeriod",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.maxDosePerAdministration",
        "path": "MedicationStatement.dosage.maxDosePerAdministration",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.maxDosePerLifetime",
        "path": "MedicationStatement.dosage.maxDosePerLifetime",
        "max": "0"
      },
      {
        "id": "MedicationStatement.adherence.id",
        "path": "MedicationStatement.adherence.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.adherence.extension",
        "path": "MedicationStatement.adherence.extension",
        "max": "0"
      },
      {
        "id": "MedicationStatement.adherence.modifierExtension",
        "path": "MedicationStatement.adherence.modifierExtension",
        "max": "0"
      },
      {
        "id": "MedicationStatement.adherence.code",
        "path": "MedicationStatement.adherence.code",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-codeableconcept"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://fhir.synapxe.sg/ValueSet/medication-statement-adherence"
        }
      },
      {
        "id": "MedicationStatement.adherence.code.coding.system",
        "path": "MedicationStatement.adherence.code.coding.system",
        "fixedUri": "http://hl7.org/fhir/CodeSystem/medication-statement-adherence"
      },
      {
        "id": "MedicationStatement.adherence.reason",
        "path": "MedicationStatement.adherence.reason",
        "min": 1,
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-codeableconcept"
            ]
          }
        ]
      }
    ]
  }
}