{
  "resourceType": "StructureDefinition",
  "id": "fb73f329-e9db-439d-936c-a7d906c3522c",
  "meta": {
    "lastUpdated": "2021-01-13T08:57:53.76+00:00"
  },
  "url": "https://simplifier.net/winningtest/order-state-change-response-profile",
  "name": "OrderStateChangeResponse",
  "title": "Order State Change Response",
  "status": "draft",
  "date": "2021-01-12T06:14:48.6016068Z",
  "description": "医嘱状态变更应答",
  "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": "CommunicationRequest",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/CommunicationRequest",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "CommunicationRequest.basedOn",
        "path": "CommunicationRequest.basedOn",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/ServiceRequest",
              "http://hl7.org/fhir/StructureDefinition/MedicationRequest"
            ],
            "aggregation": [
              "contained"
            ]
          }
        ]
      },
      {
        "id": "CommunicationRequest.replaces",
        "path": "CommunicationRequest.replaces",
        "max": "0"
      },
      {
        "id": "CommunicationRequest.groupIdentifier",
        "path": "CommunicationRequest.groupIdentifier",
        "short": "处方id"
      },
      {
        "id": "CommunicationRequest.status",
        "path": "CommunicationRequest.status",
        "definition": "签收：completed\r\n疑问：entered-in-error\r\n撤回：revoked"
      },
      {
        "id": "CommunicationRequest.statusReason",
        "path": "CommunicationRequest.statusReason",
        "short": "原因",
        "definition": "当状态为entered-in-error表示拒绝原因"
      },
      {
        "id": "CommunicationRequest.category",
        "path": "CommunicationRequest.category",
        "max": "0"
      },
      {
        "id": "CommunicationRequest.priority",
        "path": "CommunicationRequest.priority",
        "max": "0"
      },
      {
        "id": "CommunicationRequest.doNotPerform",
        "path": "CommunicationRequest.doNotPerform",
        "max": "0"
      },
      {
        "id": "CommunicationRequest.medium",
        "path": "CommunicationRequest.medium",
        "max": "0"
      },
      {
        "id": "CommunicationRequest.subject",
        "path": "CommunicationRequest.subject",
        "max": "0"
      },
      {
        "id": "CommunicationRequest.about",
        "path": "CommunicationRequest.about",
        "short": "医嘱变更请求",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/winningtest/order-state-change-request-profile"
            ]
          }
        ]
      },
      {
        "id": "CommunicationRequest.encounter",
        "path": "CommunicationRequest.encounter",
        "max": "0"
      },
      {
        "id": "CommunicationRequest.payload",
        "path": "CommunicationRequest.payload",
        "max": "0"
      },
      {
        "id": "CommunicationRequest.occurrence[x]",
        "path": "CommunicationRequest.occurrence[x]",
        "max": "0"
      },
      {
        "id": "CommunicationRequest.authoredOn",
        "path": "CommunicationRequest.authoredOn",
        "max": "0"
      }
    ]
  }
}