{
  "resourceType": "StructureDefinition",
  "id": "5df91bc4-26c7-41bb-812a-afe63ee12961",
  "meta": {
    "lastUpdated": "2023-10-17T09:25:52.2686015+00:00"
  },
  "url": "https://simplifier.net/winningtest/medication-prescription-profile",
  "name": "MedicationPrescription",
  "title": "西成药处方",
  "status": "draft",
  "date": "2023-10-17T09:38:44.8415203+00:00",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "RequestGroup",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/RequestGroup",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "RequestGroup.extension:recipient",
        "path": "RequestGroup.extension",
        "sliceName": "recipient",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-recipient"
            ]
          }
        ]
      },
      {
        "id": "RequestGroup.extension:isPediatric",
        "path": "RequestGroup.extension",
        "sliceName": "isPediatric",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-ispediatric"
            ]
          }
        ]
      },
      {
        "id": "RequestGroup.extension:specialDrugCode",
        "path": "RequestGroup.extension",
        "sliceName": "specialDrugCode",
        "short": "精麻毒放代码",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-special-drug-code"
            ]
          }
        ]
      },
      {
        "id": "RequestGroup.extension:redispenseReason",
        "path": "RequestGroup.extension",
        "sliceName": "redispenseReason",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-redispense-reason"
            ]
          }
        ]
      },
      {
        "id": "RequestGroup.extension:charity",
        "path": "RequestGroup.extension",
        "sliceName": "charity",
        "short": "慈善标志",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-charity"
            ]
          }
        ]
      },
      {
        "id": "RequestGroup.identifier",
        "path": "RequestGroup.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "RequestGroup.identifier:recipeId",
        "path": "RequestGroup.identifier",
        "sliceName": "recipeId",
        "short": "处方标识",
        "max": "1"
      },
      {
        "id": "RequestGroup.identifier:recipeId.use",
        "path": "RequestGroup.identifier.use",
        "max": "0"
      },
      {
        "id": "RequestGroup.identifier:recipeId.type",
        "path": "RequestGroup.identifier.type",
        "max": "0"
      },
      {
        "id": "RequestGroup.identifier:recipeId.system",
        "path": "RequestGroup.identifier.system",
        "short": "处方标识",
        "fixedUri": "urn:oid:1.2.156.112604.1.1.3571"
      },
      {
        "id": "RequestGroup.identifier:recipeId.period",
        "path": "RequestGroup.identifier.period",
        "max": "0"
      },
      {
        "id": "RequestGroup.identifier:recipeId.assigner",
        "path": "RequestGroup.identifier.assigner",
        "max": "0"
      },
      {
        "id": "RequestGroup.instantiatesCanonical",
        "path": "RequestGroup.instantiatesCanonical",
        "max": "0"
      },
      {
        "id": "RequestGroup.instantiatesUri",
        "path": "RequestGroup.instantiatesUri",
        "max": "0"
      },
      {
        "id": "RequestGroup.basedOn",
        "path": "RequestGroup.basedOn",
        "max": "0"
      },
      {
        "id": "RequestGroup.replaces",
        "path": "RequestGroup.replaces",
        "max": "0"
      },
      {
        "id": "RequestGroup.groupIdentifier",
        "path": "RequestGroup.groupIdentifier",
        "short": "处方标识"
      },
      {
        "id": "RequestGroup.groupIdentifier.extension:groupNo",
        "path": "RequestGroup.groupIdentifier.extension",
        "sliceName": "groupNo",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-group-no"
            ]
          }
        ]
      },
      {
        "id": "RequestGroup.groupIdentifier.use",
        "path": "RequestGroup.groupIdentifier.use",
        "max": "0"
      },
      {
        "id": "RequestGroup.groupIdentifier.type",
        "path": "RequestGroup.groupIdentifier.type",
        "max": "0"
      },
      {
        "id": "RequestGroup.groupIdentifier.system",
        "path": "RequestGroup.groupIdentifier.system",
        "short": "处方标识",
        "fixedUri": "urn:oid:1.2.156.112604.1.1.3571"
      },
      {
        "id": "RequestGroup.groupIdentifier.period",
        "path": "RequestGroup.groupIdentifier.period",
        "max": "0"
      },
      {
        "id": "RequestGroup.groupIdentifier.assigner",
        "path": "RequestGroup.groupIdentifier.assigner",
        "max": "0"
      },
      {
        "id": "RequestGroup.status",
        "path": "RequestGroup.status",
        "fixedCode": "active"
      },
      {
        "id": "RequestGroup.intent",
        "path": "RequestGroup.intent",
        "fixedCode": "order"
      },
      {
        "id": "RequestGroup.priority",
        "path": "RequestGroup.priority",
        "max": "0"
      },
      {
        "id": "RequestGroup.code",
        "path": "RequestGroup.code",
        "max": "0"
      },
      {
        "id": "RequestGroup.subject",
        "path": "RequestGroup.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/winningtest/patient-profile"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "RequestGroup.author",
        "path": "RequestGroup.author",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/PractitionerRole"
            ]
          }
        ]
      },
      {
        "id": "RequestGroup.reasonCode",
        "path": "RequestGroup.reasonCode",
        "max": "0"
      },
      {
        "id": "RequestGroup.reasonReference",
        "path": "RequestGroup.reasonReference",
        "short": "诊断",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/winningtest/diagnosis-profile"
            ],
            "aggregation": [
              "contained"
            ]
          }
        ]
      },
      {
        "id": "RequestGroup.action",
        "path": "RequestGroup.action",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.prefix",
        "path": "RequestGroup.action.prefix",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.title",
        "path": "RequestGroup.action.title",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.description",
        "path": "RequestGroup.action.description",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.textEquivalent",
        "path": "RequestGroup.action.textEquivalent",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.priority",
        "path": "RequestGroup.action.priority",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.code",
        "path": "RequestGroup.action.code",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.documentation",
        "path": "RequestGroup.action.documentation",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.condition",
        "path": "RequestGroup.action.condition",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.relatedAction",
        "path": "RequestGroup.action.relatedAction",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.timing[x]",
        "path": "RequestGroup.action.timing[x]",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.participant",
        "path": "RequestGroup.action.participant",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.type",
        "path": "RequestGroup.action.type",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.groupingBehavior",
        "path": "RequestGroup.action.groupingBehavior",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.selectionBehavior",
        "path": "RequestGroup.action.selectionBehavior",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.requiredBehavior",
        "path": "RequestGroup.action.requiredBehavior",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.precheckBehavior",
        "path": "RequestGroup.action.precheckBehavior",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.cardinalityBehavior",
        "path": "RequestGroup.action.cardinalityBehavior",
        "max": "0"
      },
      {
        "id": "RequestGroup.action.resource",
        "path": "RequestGroup.action.resource",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/winningtest/medication-request-profile"
            ]
          }
        ]
      },
      {
        "id": "RequestGroup.action.action",
        "path": "RequestGroup.action.action",
        "max": "0"
      }
    ]
  }
}