{
  "resourceType": "StructureDefinition",
  "url": "https://fhir.clevermed.com/StructureDefinition/MedicationStatement-BNet-Preg-MedicationCurrent",
  "name": "MedicationStatement-BNet-Preg-MedicationCurrent",
  "status": "active",
  "date": "2025-03-25T15:48:13.1263906Z",
  "publisher": "Clevermed Ltd.",
  "contact": [
    {
      "name": "Clevermed BadgerNet Spine FHIR Team",
      "telecom": [
        {
          "system": "email",
          "value": "support@clevermed.com",
          "use": "work"
        }
      ]
    }
  ],
  "description": "",
  "copyright": "(c) Clevermed Ltd.  Usage by permission and for BadgerNet Spine Platform integration only.",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "MedicationStatement",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationStatement",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "MedicationStatement.extension:processingError",
        "path": "MedicationStatement.extension:processingError",
        "short": "Details regarding a BadgerNet processing error whilst converting from BadgerNet into FHIR. The extension URL is: https://fhir.clevermed.com/StuctureDefinition/Bnet-processingError",
        "definition": "",
        "min": 1,
        "max": "1"
      },
      {
        "id": "MedicationStatement.extension:processingError.coding.system",
        "path": "MedicationStatement.extension:processingError.coding.system",
        "fixedUri": "http://hl7.org/fhir/issue-type"
      },
      {
        "id": "MedicationStatement.extension:processingError.coding.code",
        "path": "MedicationStatement.extension:processingError.coding.code",
        "fixedString": "processing"
      },
      {
        "id": "MedicationStatement.extension:processingError.coding.display",
        "path": "MedicationStatement.extension:processingError.coding.display",
        "fixedString": "Processing Failure"
      },
      {
        "id": "MedicationStatement.status",
        "path": "MedicationStatement.status",
        "short": "Fixed code for status of the medication statement",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.effectiveDateTime",
        "path": "MedicationStatement.effectiveDateTime",
        "short": "The date/time or interval when the medication is/was/will be taken",
        "definition": "",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.subject",
        "path": "MedicationStatement.subject",
        "short": "Reference to the patient resource",
        "definition": "",
        "min": 1,
        "max": "1"
      },
      {
        "id": "MedicationStatement.medicationCodeableConcept.text",
        "path": "MedicationStatement.medicationCodeableConcept.text",
        "short": "Medication taken currently",
        "definition": "",
        "min": 1,
        "max": "1"
      },
      {
        "id": "MedicationStatement.category",
        "path": "MedicationStatement.category",
        "short": "Field to denote that the medication is being taken currently",
        "definition": "",
        "min": 1,
        "max": "1"
      },
      {
        "id": "MedicationStatement.category.coding.system",
        "path": "MedicationStatement.category.coding.system",
        "fixedUri": "https://fhir.clevermed.com/codesystem"
      },
      {
        "id": "MedicationStatement.category.coding.code",
        "path": "MedicationStatement.category.coding.code",
        "fixedString": "currentMedication"
      },
      {
        "id": "MedicationStatement.category.coding.display",
        "path": "MedicationStatement.category.coding.display",
        "fixedString": "Current Medication"
      },
      {
        "id": "MedicationStatement.extension.MedicationType",
        "path": "MedicationStatement.extension.MedicationType",
        "short": "Code to identify medication type.  The extension URL is: https://fhir.clevermed.com/StructureDefinition/BNet-Preg-MedicationType",
        "definition": "Not yet developed",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.doseQuantity.value",
        "path": "MedicationStatement.dosage.doseAndRate.doseQuantity.value",
        "short": "Dosage of medication",
        "definition": "Not yet developed",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.doseQuantity.unit",
        "path": "MedicationStatement.dosage.doseAndRate.doseQuantity.unit",
        "short": "Unit for dosage of medication",
        "definition": "Not yet developed",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.doseQuantity.code",
        "path": "MedicationStatement.dosage.doseAndRate.doseQuantity.code",
        "short": "Unit code for dosage of medication",
        "definition": "Not yet developed",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.doseAndRate.doseQuantity.system",
        "path": "MedicationStatement.dosage.doseAndRate.doseQuantity.system",
        "short": "System for unit of measure. This is set to 'http://unitsofmeasure.org'.",
        "definition": "Not yet developed",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.route.coding",
        "path": "MedicationStatement.dosage.route.coding",
        "short": "Route of administration for medication",
        "definition": "Not yet developed",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.dosage.route.coding.coding.system",
        "path": "MedicationStatement.dosage.route.coding.coding.system",
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "MedicationStatement.dosage.route.coding.coding.code",
        "path": "MedicationStatement.dosage.route.coding.coding.code",
        "min": 1,
        "binding": {
          "strength": "required",
          "description": "Route of medication",
          "valueSet": "https://simplifier.net/badgernet/ValueSet-BNet-Preg-MedicationRoute"
        }
      },
      {
        "id": "MedicationStatement.dosage.route.text",
        "path": "MedicationStatement.dosage.route.text",
        "short": "Other route of adminisatration",
        "definition": "Not yet developed",
        "min": 1,
        "max": "1",
        "mustSupport": true
      }
    ]
  }
}