{
  "resourceType": "StructureDefinition",
  "id": "registrated-response",
  "meta": {
    "lastUpdated": "2020-12-07T02:47:53.545+00:00"
  },
  "url": "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/registrated-response",
  "name": "RegistratedResponse",
  "title": "挂号确认应答",
  "status": "draft",
  "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.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:RegistratedResponseIdentifier",
        "path": "AppointmentResponse.identifier",
        "sliceName": "RegistratedResponseIdentifier",
        "short": "预约挂号编号",
        "definition": "对挂号应答的业务编码，和挂号编号一致。",
        "max": "1"
      },
      {
        "id": "AppointmentResponse.identifier:otherIdentifier",
        "path": "AppointmentResponse.identifier",
        "sliceName": "otherIdentifier"
      },
      {
        "id": "AppointmentResponse.appointment",
        "path": "AppointmentResponse.appointment",
        "short": "号源信息",
        "definition": "预约的号源信息",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/Reference"
            ]
          }
        ]
      },
      {
        "id": "AppointmentResponse.start",
        "path": "AppointmentResponse.start",
        "short": "开始时间"
      },
      {
        "id": "AppointmentResponse.end",
        "path": "AppointmentResponse.end",
        "short": "结束时间"
      },
      {
        "id": "AppointmentResponse.participantType",
        "path": "AppointmentResponse.participantType",
        "short": "参与者角色",
        "definition": "该参与者所处的角色，如 医生，患者，诊室等。",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://fhir.scwjxx.cn/Sichuan/StructureDefinition/CodeableConcept"
            ]
          }
        ],
        "binding": {
          "strength": "extensible",
          "description": "参与者角色",
          "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": "关于该应答的补充意见。"
      }
    ]
  }
}