{
  "resourceType": "StructureDefinition",
  "id": "encounter-hospitalized",
  "url": "http://StructureDefinition.hl7fhir.cn/encounter-hospitalized",
  "name": "EncounterHospitalized",
  "title": "住院服务",
  "status": "draft",
  "description": "住院是医疗预防机构为需要入住医院的群众防治疾病的一种方式。包括对病人的诊断治疗，\r\n住院通常接诊病情表症较重的病人，经过住院医生一整套的诊断手段、辅助检查或进行手术或相关的治疗等医疗措施。",
  "fhirVersion": "4.0.0",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "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": "Encounter",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Encounter",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Encounter",
        "path": "Encounter",
        "short": "门诊服务",
        "definition": "患者与医疗保健提供者之间的交互，目的是提供医疗保健服务或评估患者的健康状况。这里确定为门诊服务"
      },
      {
        "id": "Encounter.identifier",
        "path": "Encounter.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "type"
            }
          ],
          "rules": "open"
        },
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/Identifier"
            ]
          }
        ]
      },
      {
        "id": "Encounter.identifier:hospitalizedIdentifier",
        "path": "Encounter.identifier",
        "sliceName": "hospitalizedIdentifier",
        "short": "住院号",
        "definition": "住院编号，作为住院业务的业务主键。",
        "max": "1"
      },
      {
        "id": "Encounter.identifier:transferIdentifier",
        "path": "Encounter.identifier",
        "sliceName": "transferIdentifier",
        "short": "转诊单号",
        "definition": "描述转诊的单据号，主要支持跨医院转诊申请。",
        "max": "1"
      },
      {
        "id": "Encounter.identifier:otherIdentifier",
        "path": "Encounter.identifier",
        "sliceName": "otherIdentifier",
        "short": "其他业务标识符",
        "definition": "其他业务标识符"
      },
      {
        "id": "Encounter.status",
        "path": "Encounter.status",
        "short": "住院状态",
        "definition": "描述住院服务的各种状态"
      },
      {
        "id": "Encounter.status.extension",
        "path": "Encounter.status.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Encounter.status.extension:status",
        "path": "Encounter.status.extension",
        "sliceName": "status",
        "short": "住院状态",
        "definition": "描述住院服务的各种状态",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/resource-status"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "description": "住院状态",
          "valueSet": "http://ValueSet.hl7fhir.cn/encounter-status-vs"
        }
      },
      {
        "id": "Encounter.statusHistory",
        "path": "Encounter.statusHistory",
        "short": "该医疗事件的历史状态",
        "definition": "状态历史记录允许相遇资源包含状态历史记录，而不需要通读资源的历史版本，或者甚至让服务器存储它们。",
        "max": "1"
      },
      {
        "id": "Encounter.statusHistory.status",
        "path": "Encounter.statusHistory.status",
        "short": "历史状态"
      },
      {
        "id": "Encounter.statusHistory.status.extension",
        "path": "Encounter.statusHistory.status.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Encounter.statusHistory.status.extension:status",
        "path": "Encounter.statusHistory.status.extension",
        "sliceName": "status",
        "short": "住院状态",
        "definition": "历史时刻的住院状态",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/resource-status"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "description": "住院状态",
          "valueSet": "http://ValueSet.hl7fhir.cn/encounter-status-vs"
        }
      },
      {
        "id": "Encounter.statusHistory.period",
        "path": "Encounter.statusHistory.period",
        "short": "住院历史状态的时间段",
        "type": [
          {
            "code": "Period",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/Period"
            ]
          }
        ]
      },
      {
        "id": "Encounter.class",
        "path": "Encounter.class",
        "short": "医疗事件分类",
        "definition": "代表病人遭遇分类的概念，如门诊、住院、急诊、家庭健康或因地方差异而产生的其他情况。该出确定为住院服务",
        "type": [
          {
            "code": "Coding",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/Coding"
            ]
          }
        ],
        "binding": {
          "strength": "extensible",
          "description": "医疗事件分类代码",
          "valueSet": "http://ValueSet.hl7fhir.cn/act-encounter-code-vs"
        }
      },
      {
        "id": "Encounter.classHistory",
        "path": "Encounter.classHistory",
        "short": "过去医疗事件的列表",
        "definition": "历史记录允许跟踪医疗事件转换，而不需要查看资源历史记录。这将用于这样的情况:入院开始时是紧急情况，然后转变为住院情况。这样做，而不是重新开始一个新的医疗事件，可以确保任何实验室/诊断结果可以更容易地跟踪病人，而不需要重新处理，也不会在从急诊到住院的出院过程中丢失或取消。",
        "max": "1"
      },
      {
        "id": "Encounter.classHistory.class",
        "path": "Encounter.classHistory.class",
        "short": "医疗事件分类",
        "definition": "代表病人遭遇分类的概念，如门诊、住院、急诊、家庭健康或因地方差异而产生的其他情况。该处为历史时刻的类别\r\ninpatient | outpatient | ambulatory | emergency +.",
        "type": [
          {
            "code": "Coding",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/Coding"
            ]
          }
        ],
        "binding": {
          "strength": "extensible",
          "description": "医疗事件分类代码",
          "valueSet": "http://ValueSet.hl7fhir.cn/act-encounter-code-vs"
        }
      },
      {
        "id": "Encounter.classHistory.period",
        "path": "Encounter.classHistory.period",
        "short": "住院历史状态的时间段",
        "type": [
          {
            "code": "Period",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/Period"
            ]
          }
        ]
      },
      {
        "id": "Encounter.type",
        "path": "Encounter.type",
        "short": "医疗事件特定类型",
        "definition": "描述医疗事件的特定类型，例如，电子邮件咨询，日间手术，熟练的护理，康复）。",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/CodeableConcept"
            ]
          }
        ],
        "binding": {
          "strength": "example",
          "valueSet": "http://ValueSet.hl7fhir.cn/encounter-type-vs"
        }
      },
      {
        "id": "Encounter.serviceType",
        "path": "Encounter.serviceType",
        "short": "医疗事件的广泛分类",
        "definition": "将提供的服务的广泛分类(如心脏病学)。",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/CodeableConcept"
            ]
          }
        ],
        "binding": {
          "strength": "example",
          "valueSet": "http://ValueSet.hl7fhir.cn/service-type-vs"
        }
      },
      {
        "id": "Encounter.priority",
        "path": "Encounter.priority",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/CodeableConcept"
            ]
          }
        ],
        "binding": {
          "strength": "example",
          "description": "优先级",
          "valueSet": "http://ValueSet.hl7fhir.cn/act-priority-vs"
        }
      },
      {
        "id": "Encounter.subject",
        "path": "Encounter.subject",
        "short": "患者",
        "definition": "引用患者信息",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/Reference"
            ]
          }
        ]
      },
      {
        "id": "Encounter.episodeOfCare",
        "path": "Encounter.episodeOfCare",
        "short": "医疗周期",
        "definition": "引用医疗周期资源，有关在一段时间内可能发生相关医疗保健活动的患者与医疗保健提供者的关联的信息。",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/Reference"
            ]
          }
        ]
      },
      {
        "id": "Encounter.basedOn",
        "path": "Encounter.basedOn",
        "max": "0",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/Reference"
            ]
          }
        ]
      },
      {
        "id": "Encounter.participant",
        "path": "Encounter.participant",
        "short": "参与的医护人员名单",
        "definition": "负责提供服务的人员列表。"
      },
      {
        "id": "Encounter.participant.type",
        "path": "Encounter.participant.type",
        "short": "参与者角色",
        "definition": "在住院服务中参与者的角色，如：主治医生、责任护士",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/CodeableConcept"
            ]
          }
        ],
        "binding": {
          "strength": "extensible",
          "valueSet": "http://ValueSet.hl7fhir.cn/encounter-participant-type-vs"
        }
      },
      {
        "id": "Encounter.participant.period",
        "path": "Encounter.participant.period",
        "short": "参与者参与的时间段",
        "type": [
          {
            "code": "Period",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/Period"
            ]
          }
        ]
      },
      {
        "id": "Encounter.participant.individual",
        "path": "Encounter.participant.individual",
        "short": "参与者",
        "definition": "以引用方式关联参与者",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/Reference"
            ]
          }
        ]
      },
      {
        "id": "Encounter.appointment",
        "path": "Encounter.appointment",
        "short": "住院预约信息",
        "definition": "存在住院预约业务可录入预约信息",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/Reference"
            ]
          }
        ]
      },
      {
        "id": "Encounter.period",
        "path": "Encounter.period",
        "short": "就诊时间",
        "definition": "住院就诊时间段，包括入院时间和出院时间",
        "type": [
          {
            "code": "Period",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/Period"
            ]
          }
        ]
      },
      {
        "id": "Encounter.length",
        "path": "Encounter.length",
        "short": "住院时长",
        "definition": "持续的时间。这不包括休假期间的时间。",
        "comment": "可在这一时间间断多次医疗事件，最终时间以 入院办理时间到最后一次出院办理时间为准。"
      },
      {
        "id": "Encounter.reasonCode",
        "path": "Encounter.reasonCode",
        "max": "0",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/CodeableConcept"
            ]
          }
        ]
      },
      {
        "id": "Encounter.reasonReference",
        "path": "Encounter.reasonReference",
        "max": "0",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/Reference"
            ]
          }
        ]
      },
      {
        "id": "Encounter.diagnosis",
        "path": "Encounter.diagnosis",
        "short": "诊断",
        "definition": "与此相关的诊断列表。"
      },
      {
        "id": "Encounter.diagnosis.condition",
        "path": "Encounter.diagnosis.condition",
        "short": "与该住院有关的诊断或程序",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/Reference"
            ]
          }
        ]
      },
      {
        "id": "Encounter.diagnosis.use",
        "path": "Encounter.diagnosis.use",
        "short": "诊断类型",
        "definition": "该诊断在住院中的类型",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/CodeableConcept"
            ]
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "诊断类型代码表",
          "valueSet": "http://ValueSet.hl7fhir.cn/diagnosis-role-vs"
        }
      },
      {
        "id": "Encounter.diagnosis.rank",
        "path": "Encounter.diagnosis.rank",
        "short": "诊断的排序(针对每种角色类型)",
        "definition": "用数字描述顺序",
        "comment": "32位数字;大于这个值的，使用十进制"
      },
      {
        "id": "Encounter.account",
        "path": "Encounter.account",
        "short": "该住院的计费账户",
        "definition": "该住院的计费账户",
        "comment": "计费系统可以选择根据内部业务规则将与遇到关联的计费项分配到不同的引用帐户。",
        "max": "1"
      },
      {
        "id": "Encounter.hospitalization",
        "path": "Encounter.hospitalization",
        "short": "详细信息",
        "definition": "关于进入医疗保健服务的详细信息"
      },
      {
        "id": "Encounter.hospitalization.preAdmissionIdentifier",
        "path": "Encounter.hospitalization.preAdmissionIdentifier",
        "short": "入院前标识符",
        "definition": "可描述在入院之前的就医时件编号，如门急诊编号，留观编号等。",
        "type": [
          {
            "code": "Identifier",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/Identifier"
            ]
          }
        ]
      },
      {
        "id": "Encounter.hospitalization.origin",
        "path": "Encounter.hospitalization.origin",
        "short": "病人入院前的位置/组织",
        "definition": "病人入院前的位置/组织",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/Reference"
            ]
          }
        ]
      },
      {
        "id": "Encounter.hospitalization.admitSource",
        "path": "Encounter.hospitalization.admitSource",
        "short": "入院方式",
        "definition": "病人入院的方式是什么，如：门诊、急诊、直接入院、转院等。",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/CodeableConcept"
            ]
          }
        ],
        "binding": {
          "strength": "preferred",
          "valueSet": "http://ValueSet.hl7fhir.cn/encounter-admit-source-vs"
        }
      },
      {
        "id": "Encounter.hospitalization.reAdmission",
        "path": "Encounter.hospitalization.reAdmission",
        "short": "是否再次入院",
        "definition": "再次入院的类型(如果有的话)。如果该值不存在，则不会将其标识为重新读取",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/CodeableConcept"
            ]
          }
        ]
      },
      {
        "id": "Encounter.hospitalization.dietPreference",
        "path": "Encounter.hospitalization.dietPreference",
        "short": "饮食偏好",
        "definition": "病人报告的饮食偏好",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/CodeableConcept"
            ]
          }
        ],
        "binding": {
          "strength": "example",
          "description": "饮食偏好",
          "valueSet": "http://ValueSet.hl7fhir.cn/encounter-diet-vs"
        }
      },
      {
        "id": "Encounter.hospitalization.specialCourtesy",
        "path": "Encounter.hospitalization.specialCourtesy",
        "short": "特殊礼遇(贵宾、董事会成员)",
        "definition": "特殊礼遇(贵宾、董事会成员)",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/CodeableConcept"
            ]
          }
        ],
        "binding": {
          "strength": "preferred",
          "valueSet": "http://ValueSet.hl7fhir.cn/encounter-special-courtesy-vs"
        }
      },
      {
        "id": "Encounter.hospitalization.specialArrangement",
        "path": "Encounter.hospitalization.specialArrangement",
        "short": "特殊要求",
        "definition": "为这次住院治疗提出的任何特殊要求，例如提供特定设备或其他物品。",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/CodeableConcept"
            ]
          }
        ],
        "binding": {
          "strength": "preferred",
          "valueSet": "http://ValueSet.hl7fhir.cn/encounter-special-arrangements-vs"
        }
      },
      {
        "id": "Encounter.hospitalization.destination",
        "path": "Encounter.hospitalization.destination",
        "short": "病人出院的地点/机构",
        "definition": "病人出院的地点/机构",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/Reference"
            ]
          }
        ]
      },
      {
        "id": "Encounter.hospitalization.dischargeDisposition",
        "path": "Encounter.hospitalization.dischargeDisposition",
        "short": "出院后的位置类别",
        "definition": "出院后的位置类别",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/CodeableConcept"
            ]
          }
        ],
        "binding": {
          "strength": "example",
          "valueSet": "http://ValueSet.hl7fhir.cn/encounter-discharge-disposition-vs"
        }
      },
      {
        "id": "Encounter.location",
        "path": "Encounter.location",
        "short": "住院病床",
        "definition": "病人在此遭遇期间所处住院病床",
        "comment": "虚拟遭遇可以通过指定一个位置引用到一个类型为Virtual的位置"
      },
      {
        "id": "Encounter.location.location",
        "path": "Encounter.location.location",
        "short": "位置",
        "definition": "位置的资源引用",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/Reference"
            ]
          }
        ]
      },
      {
        "id": "Encounter.location.status",
        "path": "Encounter.location.status",
        "short": "患者在该段时段并且在该位置的状态",
        "definition": "在指定的时间内，参与者在指定地点的存在状态。如果参与者不在该地点，那么该周期将有一个结束日期/时间。计划|活动|保留|完成"
      },
      {
        "id": "Encounter.location.status.extension",
        "path": "Encounter.location.status.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Encounter.location.status.extension:status",
        "path": "Encounter.location.status.extension",
        "sliceName": "status",
        "short": "患者在该段时段并且在该位置的状态",
        "definition": "在指定的时间内，参与者在指定地点的存在状态。如果参与者不在该地点，那么该周期将有一个结束日期/时间。计划|活动|保留|完成",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/resource-status"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://ValueSet.hl7fhir.cn/encounter-location-status-vs"
        }
      },
      {
        "id": "Encounter.location.physicalType",
        "path": "Encounter.location.physicalType",
        "short": "位置的物理形式",
        "definition": "位置的物理形式，例如建筑物、房间、车辆、道路。病床",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/CodeableConcept"
            ]
          }
        ],
        "binding": {
          "strength": "example",
          "valueSet": "http://ValueSet.hl7fhir.cn/location-physical-type-vs"
        }
      },
      {
        "id": "Encounter.location.period",
        "path": "Encounter.location.period",
        "short": "患者在该位置的日期",
        "definition": "患者在该位置的日期时间段",
        "comment": "周期指定时间范围;使用的上下文将说明整个范围是否适用(例如:“该病人是该医院在此时间范围内的住院病人”)或应用该时间范围中的一个值(例如:“在这两次之间给病人”)。\r\nPeriod不用于持续时间(运行时间的度量)。[时间](datatypes.html #持续时间)。",
        "type": [
          {
            "code": "Period",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/Period"
            ]
          }
        ]
      },
      {
        "id": "Encounter.serviceProvider",
        "path": "Encounter.serviceProvider",
        "short": "在院科室",
        "definition": "这次住院服务的组织。",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/Reference"
            ]
          }
        ]
      },
      {
        "id": "Encounter.partOf",
        "path": "Encounter.partOf",
        "short": "基于某一次医疗事件",
        "definition": "根据实际情况录入，该次住院是基于某一次医疗事件而发生。",
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://StructureDefinition.hl7fhir.cn/Reference"
            ]
          }
        ]
      }
    ]
  }
}