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

FHIR IG analytics

Packagesynapxe.nde
Resource TypeStructureDefinition
IdMedicationStatement.StructureDefinition.json
FHIR VersionR5
Sourcehttps://simplifier.net/resolve?scope=synapxe.nde@1.0.0&canonical=https://fhir.synapxe.sg/StructureDefinition/profile-medicationstatement
URLhttps://fhir.synapxe.sg/StructureDefinition/profile-medicationstatement
Statusdraft
NameMedicationStatement
TypeMedicationStatement
Kindresource

Resources that use this resource

StructureDefinition
synapxe.nde#1.0.0profile-bundlepatientmedicationlistBundlePatientMedicationList
synapxe.nde#1.0.0profile-patientmedicationlistPatientMedicationList
synapxe.nde#1.0.0profile-outputmedicationlistOutputMedicationList
synapxe.sgcdi#1.1.3profile-bundle-patientmedicationlistBundlePatientMedicationList
synapxe.sgcdi#1.1.3profile-list-medicationstatementPatientMedicationList

Resources that this resource uses

StructureDefinition
synapxe.nde#1.0.0ext-changesmadeChangesMade
synapxe.nde#1.0.0ext-groupnoGroupNo
synapxe.nde#1.0.0ext-groupsequencenoGroupSequenceNo
synapxe.nde#1.0.0ext-reasonforchangeReasonForChange
synapxe.nde#1.0.0ext-sequencenoSequenceNo
synapxe.nde#1.0.0profile-medicationMedication
synapxe.nde#1.0.0profile-medicationdispenseMedicationDispense
synapxe.nde#1.0.0profile-medicationrequestMedicationRequest

Narrative

No narrative content found in resource


Source1

{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.synapxe.sg/StructureDefinition/profile-medicationstatement",
  "name": "MedicationStatement",
  "status": "draft",
  "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.extension",
        "path": "MedicationStatement.extension",
        "min": 4
      },
      {
        "id": "MedicationStatement.extension:sequenceNo",
        "path": "MedicationStatement.extension",
        "sliceName": "sequenceNo",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/ext-sequenceno"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.extension:groupNo",
        "path": "MedicationStatement.extension",
        "sliceName": "groupNo",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/ext-groupno"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.extension:groupSequenceNo",
        "path": "MedicationStatement.extension",
        "sliceName": "groupSequenceNo",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/ext-groupsequenceno"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.extension:changesMade",
        "path": "MedicationStatement.extension",
        "sliceName": "changesMade",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/ext-changesmade"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.extension:reasonForChange",
        "path": "MedicationStatement.extension",
        "sliceName": "reasonForChange",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://fhir.synapxe.sg/StructureDefinition/ext-reasonforchange"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.modifierExtension",
        "path": "MedicationStatement.modifierExtension",
        "max": "0"
      },
      {
        "id": "MedicationStatement.identifier",
        "path": "MedicationStatement.identifier",
        "min": 1,
        "max": "1"
      },
      {
        "id": "MedicationStatement.identifier.id",
        "path": "MedicationStatement.identifier.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.identifier.extension",
        "path": "MedicationStatement.identifier.extension",
        "max": "0"
      },
      {
        "id": "MedicationStatement.identifier.use",
        "path": "MedicationStatement.identifier.use",
        "max": "0"
      },
      {
        "id": "MedicationStatement.identifier.type",
        "path": "MedicationStatement.identifier.type",
        "max": "0"
      },
      {
        "id": "MedicationStatement.identifier.system",
        "path": "MedicationStatement.identifier.system",
        "min": 1
      },
      {
        "id": "MedicationStatement.identifier.value",
        "path": "MedicationStatement.identifier.value",
        "min": 1
      },
      {
        "id": "MedicationStatement.identifier.period",
        "path": "MedicationStatement.identifier.period",
        "max": "0"
      },
      {
        "id": "MedicationStatement.identifier.assigner",
        "path": "MedicationStatement.identifier.assigner",
        "max": "0"
      },
      {
        "id": "MedicationStatement.partOf",
        "path": "MedicationStatement.partOf",
        "max": "0"
      },
      {
        "id": "MedicationStatement.category",
        "path": "MedicationStatement.category",
        "max": "0"
      },
      {
        "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.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",
        "max": "1"
      },
      {
        "id": "MedicationStatement.derivedFrom",
        "path": "MedicationStatement.derivedFrom",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "reference"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "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:MedicationRequest",
        "path": "MedicationStatement.derivedFrom",
        "sliceName": "MedicationRequest",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-medicationrequest"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.derivedFrom:MedicationDispense",
        "path": "MedicationStatement.derivedFrom",
        "sliceName": "MedicationDispense",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://fhir.synapxe.sg/StructureDefinition/profile-medicationdispense"
            ]
          }
        ]
      },
      {
        "id": "MedicationStatement.reason",
        "path": "MedicationStatement.reason",
        "min": 1,
        "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
      },
      {
        "id": "MedicationStatement.reason.concept.id",
        "path": "MedicationStatement.reason.concept.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.reason.concept.extension",
        "path": "MedicationStatement.reason.concept.extension",
        "max": "0"
      },
      {
        "id": "MedicationStatement.reason.concept.coding",
        "path": "MedicationStatement.reason.concept.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "MedicationStatement.reason.concept.coding.id",
        "path": "MedicationStatement.reason.concept.coding.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.reason.concept.coding.extension",
        "path": "MedicationStatement.reason.concept.coding.extension",
        "max": "0"
      },
      {
        "id": "MedicationStatement.reason.concept.coding.system",
        "path": "MedicationStatement.reason.concept.coding.system",
        "min": 1
      },
      {
        "id": "MedicationStatement.reason.concept.coding.version",
        "path": "MedicationStatement.reason.concept.coding.version",
        "max": "0"
      },
      {
        "id": "MedicationStatement.reason.concept.coding.code",
        "path": "MedicationStatement.reason.concept.coding.code",
        "min": 1
      },
      {
        "id": "MedicationStatement.reason.concept.coding.display",
        "path": "MedicationStatement.reason.concept.coding.display",
        "min": 1
      },
      {
        "id": "MedicationStatement.reason.concept.coding.userSelected",
        "path": "MedicationStatement.reason.concept.coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationStatement.reason.concept.text",
        "path": "MedicationStatement.reason.concept.text",
        "max": "0"
      },
      {
        "id": "MedicationStatement.note",
        "path": "MedicationStatement.note",
        "min": 1,
        "max": "1"
      },
      {
        "id": "MedicationStatement.note.id",
        "path": "MedicationStatement.note.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.note.extension",
        "path": "MedicationStatement.note.extension",
        "max": "0"
      },
      {
        "id": "MedicationStatement.note.author[x]",
        "path": "MedicationStatement.note.author[x]",
        "max": "0"
      },
      {
        "id": "MedicationStatement.note.time",
        "path": "MedicationStatement.note.time",
        "max": "0"
      },
      {
        "id": "MedicationStatement.relatedClinicalInformation",
        "path": "MedicationStatement.relatedClinicalInformation",
        "max": "0"
      },
      {
        "id": "MedicationStatement.renderedDosageInstruction",
        "path": "MedicationStatement.renderedDosageInstruction",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage",
        "path": "MedicationStatement.dosage",
        "min": 1,
        "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"
      },
      {
        "id": "MedicationStatement.dosage.asNeededFor.id",
        "path": "MedicationStatement.dosage.asNeededFor.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.asNeededFor.extension",
        "path": "MedicationStatement.dosage.asNeededFor.extension",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.asNeededFor.coding",
        "path": "MedicationStatement.dosage.asNeededFor.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "MedicationStatement.dosage.asNeededFor.coding.id",
        "path": "MedicationStatement.dosage.asNeededFor.coding.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.asNeededFor.coding.extension",
        "path": "MedicationStatement.dosage.asNeededFor.coding.extension",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.asNeededFor.coding.system",
        "path": "MedicationStatement.dosage.asNeededFor.coding.system",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.asNeededFor.coding.version",
        "path": "MedicationStatement.dosage.asNeededFor.coding.version",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.asNeededFor.coding.code",
        "path": "MedicationStatement.dosage.asNeededFor.coding.code",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.asNeededFor.coding.display",
        "path": "MedicationStatement.dosage.asNeededFor.coding.display",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.asNeededFor.coding.userSelected",
        "path": "MedicationStatement.dosage.asNeededFor.coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.asNeededFor.text",
        "path": "MedicationStatement.dosage.asNeededFor.text",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.site",
        "path": "MedicationStatement.dosage.site",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.route",
        "path": "MedicationStatement.dosage.route",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.route.id",
        "path": "MedicationStatement.dosage.route.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.route.extension",
        "path": "MedicationStatement.dosage.route.extension",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.route.coding",
        "path": "MedicationStatement.dosage.route.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "MedicationStatement.dosage.route.coding.id",
        "path": "MedicationStatement.dosage.route.coding.id",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.route.coding.extension",
        "path": "MedicationStatement.dosage.route.coding.extension",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.route.coding.system",
        "path": "MedicationStatement.dosage.route.coding.system",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.route.coding.version",
        "path": "MedicationStatement.dosage.route.coding.version",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.route.coding.code",
        "path": "MedicationStatement.dosage.route.coding.code",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.route.coding.display",
        "path": "MedicationStatement.dosage.route.coding.display",
        "min": 1
      },
      {
        "id": "MedicationStatement.dosage.route.coding.userSelected",
        "path": "MedicationStatement.dosage.route.coding.userSelected",
        "max": "0"
      },
      {
        "id": "MedicationStatement.dosage.route.text",
        "path": "MedicationStatement.dosage.route.text",
        "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",
        "path": "MedicationStatement.adherence",
        "max": "0"
      }
    ]
  }
}