{
  "resourceType": "StructureDefinition",
  "url": "http://hl7.org.cn/fhir/StructureDefinition/profile-medication-request",
  "name": "MedicationRequest",
  "title": "药物医嘱",
  "status": "active",
  "experimental": true,
  "date": "2024-05-11T07:38:08.155878+00:00",
  "fhirVersion": "5.0.0",
  "kind": "resource",
  "abstract": false,
  "type": "MedicationRequest",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationRequest",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "MedicationRequest.basedOn",
        "path": "MedicationRequest.basedOn",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7china.org.cn/fhir/StructureDefinition/profile-medication-request"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "MedicationRequest.priorPrescription",
        "path": "MedicationRequest.priorPrescription",
        "max": "0"
      },
      {
        "id": "MedicationRequest.statusReason",
        "path": "MedicationRequest.statusReason",
        "max": "0"
      },
      {
        "id": "MedicationRequest.statusChanged",
        "path": "MedicationRequest.statusChanged",
        "max": "0"
      },
      {
        "id": "MedicationRequest.category",
        "path": "MedicationRequest.category",
        "max": "1"
      },
      {
        "id": "MedicationRequest.priority",
        "path": "MedicationRequest.priority",
        "max": "0"
      },
      {
        "id": "MedicationRequest.doNotPerform",
        "path": "MedicationRequest.doNotPerform",
        "max": "0"
      },
      {
        "id": "MedicationRequest.medication",
        "path": "MedicationRequest.medication",
        "type": [
          {
            "code": "CodeableReference",
            "targetProfile": [
              "http://hl7china.org.cn/fhir/StructureDefinition/profile-medication"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "MedicationRequest.subject",
        "path": "MedicationRequest.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "MedicationRequest.subject.identifier",
        "path": "MedicationRequest.subject.identifier",
        "max": "0"
      },
      {
        "id": "MedicationRequest.informationSource",
        "path": "MedicationRequest.informationSource",
        "max": "0"
      },
      {
        "id": "MedicationRequest.supportingInformation",
        "path": "MedicationRequest.supportingInformation",
        "max": "0"
      },
      {
        "id": "MedicationRequest.reported",
        "path": "MedicationRequest.reported",
        "max": "0"
      },
      {
        "id": "MedicationRequest.performerType",
        "path": "MedicationRequest.performerType",
        "max": "0"
      },
      {
        "id": "MedicationRequest.performer",
        "path": "MedicationRequest.performer",
        "max": "0"
      },
      {
        "id": "MedicationRequest.device",
        "path": "MedicationRequest.device",
        "max": "0"
      },
      {
        "id": "MedicationRequest.recorder",
        "path": "MedicationRequest.recorder",
        "max": "0"
      },
      {
        "id": "MedicationRequest.reason.concept",
        "path": "MedicationRequest.reason.concept",
        "binding": {
          "strength": "required",
          "description": "ICD10Codes",
          "valueSet": "http://hl7.org/fhir/ValueSet/icd-10"
        }
      },
      {
        "id": "MedicationRequest.reason.reference",
        "path": "MedicationRequest.reason.reference",
        "max": "0"
      },
      {
        "id": "MedicationRequest.insurance",
        "path": "MedicationRequest.insurance",
        "max": "0"
      },
      {
        "id": "MedicationRequest.note",
        "path": "MedicationRequest.note",
        "max": "0"
      },
      {
        "id": "MedicationRequest.renderedDosageInstruction",
        "path": "MedicationRequest.renderedDosageInstruction",
        "max": "0"
      },
      {
        "id": "MedicationRequest.effectiveDosePeriod",
        "path": "MedicationRequest.effectiveDosePeriod",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dosageInstruction",
        "path": "MedicationRequest.dosageInstruction",
        "min": 1,
        "max": "1"
      },
      {
        "id": "MedicationRequest.dosageInstruction.sequence",
        "path": "MedicationRequest.dosageInstruction.sequence",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dosageInstruction.text",
        "path": "MedicationRequest.dosageInstruction.text",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dosageInstruction.asNeeded",
        "path": "MedicationRequest.dosageInstruction.asNeeded",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dosageInstruction.asNeededFor",
        "path": "MedicationRequest.dosageInstruction.asNeededFor",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dosageInstruction.site",
        "path": "MedicationRequest.dosageInstruction.site",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]",
        "path": "MedicationRequest.dosageInstruction.doseAndRate.rate[x]",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dosageInstruction.maxDosePerPeriod",
        "path": "MedicationRequest.dosageInstruction.maxDosePerPeriod",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dosageInstruction.maxDosePerAdministration",
        "path": "MedicationRequest.dosageInstruction.maxDosePerAdministration",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dosageInstruction.maxDosePerLifetime",
        "path": "MedicationRequest.dosageInstruction.maxDosePerLifetime",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dispenseRequest.initialFill",
        "path": "MedicationRequest.dispenseRequest.initialFill",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dispenseRequest.dispenseInterval",
        "path": "MedicationRequest.dispenseRequest.dispenseInterval",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dispenseRequest.validityPeriod",
        "path": "MedicationRequest.dispenseRequest.validityPeriod",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed",
        "path": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dispenseRequest.quantity",
        "path": "MedicationRequest.dispenseRequest.quantity",
        "min": 1
      },
      {
        "id": "MedicationRequest.dispenseRequest.expectedSupplyDuration",
        "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dispenseRequest.dispenser",
        "path": "MedicationRequest.dispenseRequest.dispenser",
        "min": 1
      },
      {
        "id": "MedicationRequest.dispenseRequest.dispenserInstruction",
        "path": "MedicationRequest.dispenseRequest.dispenserInstruction",
        "max": "0"
      },
      {
        "id": "MedicationRequest.dispenseRequest.doseAdministrationAid",
        "path": "MedicationRequest.dispenseRequest.doseAdministrationAid",
        "max": "0"
      },
      {
        "id": "MedicationRequest.substitution",
        "path": "MedicationRequest.substitution",
        "max": "0"
      },
      {
        "id": "MedicationRequest.eventHistory",
        "path": "MedicationRequest.eventHistory",
        "max": "0"
      }
    ]
  }
}