{
  "resourceType": "StructureDefinition",
  "id": "hospital-referral-response",
  "meta": {
    "lastUpdated": "2020-12-07T02:04:33.04+00:00"
  },
  "url": "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/hospital-referral-response",
  "name": "HospitalReferralResponse",
  "title": "转诊预约应答",
  "status": "draft",
  "description": "该资源描述在提交转诊申请后，由接收方 给出是否同意的转诊应答。",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "ical",
      "uri": "http://ietf.org/rfc/2445",
      "name": "iCalendar"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "AppointmentResponse",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/AppointmentResponse",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "AppointmentResponse",
        "path": "AppointmentResponse",
        "short": "转诊应答",
        "definition": "对病人和(或)医生的转诊预约请求的答复，如确认或拒绝。\r\n该资源描述在提交转诊申请后，由接收方 给出是否同意的转诊应答。"
      },
      {
        "id": "AppointmentResponse.identifier",
        "path": "AppointmentResponse.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "type"
            }
          ],
          "rules": "open"
        },
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/Identifier"
            ]
          }
        ]
      },
      {
        "id": "AppointmentResponse.identifier:hospitalReferralResponseIdentifier",
        "path": "AppointmentResponse.identifier",
        "sliceName": "hospitalReferralResponseIdentifier",
        "short": "转诊应答编号",
        "definition": "对转诊答应的业务编码",
        "max": "1"
      },
      {
        "id": "AppointmentResponse.identifier:otherIdentifier",
        "path": "AppointmentResponse.identifier",
        "sliceName": "otherIdentifier",
        "short": "其他业务标识符",
        "definition": "转诊预约应答的其他业务编码"
      },
      {
        "id": "AppointmentResponse.appointment",
        "path": "AppointmentResponse.appointment",
        "short": "转诊申请",
        "definition": "引用提交的转诊申请",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/Reference"
            ]
          }
        ]
      },
      {
        "id": "AppointmentResponse.start",
        "path": "AppointmentResponse.start",
        "short": "转诊应答开始时间",
        "definition": "转诊应答开始时间,时间从约定，或要求新的开始时间"
      },
      {
        "id": "AppointmentResponse.end",
        "path": "AppointmentResponse.end",
        "short": "转诊应答结束时间",
        "definition": "转诊应答结束时间,时间从约定，或要求新的结束时间"
      },
      {
        "id": "AppointmentResponse.participantType",
        "path": "AppointmentResponse.participantType",
        "short": "参与角色",
        "definition": "描述参与这次预约的人的角色(值集)",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/CodeableConcept"
            ]
          }
        ],
        "binding": {
          "strength": "extensible",
          "valueSet": "http://fhir.scwjxx.cn/Sichuan/ValueSet/encounter-participant-type-vs"
        }
      },
      {
        "id": "AppointmentResponse.actor",
        "path": "AppointmentResponse.actor",
        "short": "转诊预约角色",
        "definition": "应用转诊预约的角色，在这里指预约的医生。",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/Reference"
            ]
          }
        ]
      },
      {
        "id": "AppointmentResponse.participantStatus",
        "path": "AppointmentResponse.participantStatus",
        "short": "应答预约状态",
        "definition": "参与者的参与状态。如果状态被拒绝，或者开始/结束时间与约会不同，那么这些时间应该被解释为请求的时间更改。当状态被接受时，时间可以是约会的时间(作为对时间的确认)，也可以是空的。\r\n接受|拒绝|暂定|需求-行动"
      },
      {
        "id": "AppointmentResponse.participantStatus.extension",
        "path": "AppointmentResponse.participantStatus.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "AppointmentResponse.participantStatus.extension:participantStatus",
        "path": "AppointmentResponse.participantStatus.extension",
        "sliceName": "participantStatus",
        "definition": "参与者的参与状态。如果状态被拒绝，或者开始/结束时间与约会不同，那么这些时间应该被解释为请求的时间更改。当状态被接受时，时间可以是约会的时间(作为对时间的确认)，也可以是空的。\r\n接受|拒绝|暂定|需求-行动",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/participation-status"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://fhir.scwjxx.cn/Sichuan/ValueSet/participationstatus-vs"
        }
      },
      {
        "id": "AppointmentResponse.comment",
        "path": "AppointmentResponse.comment",
        "short": "备注",
        "definition": "关于该应答的补充意见。"
      }
    ]
  }
}