{
  "resourceType": "StructureDefinition",
  "url": "https://example.org/fhir/StructureDefinition/Patient",
  "name": "Patient",
  "status": "draft",
  "description": "病人基本信息（包含在病案首页里面）",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "definition": "病人交叉索引列表"
      },
      {
        "id": "Patient.identifier.use",
        "path": "Patient.identifier.use",
        "definition": "用途"
      },
      {
        "id": "Patient.active",
        "path": "Patient.active",
        "short": "是否有效"
      },
      {
        "id": "Patient.name",
        "path": "Patient.name",
        "definition": "病人姓名"
      },
      {
        "id": "Patient.name.use",
        "path": "Patient.name.use",
        "definition": "定义这个名字的目的",
        "fixedCode": "usual"
      },
      {
        "id": "Patient.name.text",
        "path": "Patient.name.text",
        "short": "病人姓名"
      },
      {
        "id": "Patient.name.family",
        "path": "Patient.name.family",
        "short": "姓"
      },
      {
        "id": "Patient.name.given",
        "path": "Patient.name.given",
        "short": "名"
      },
      {
        "id": "Patient.telecom",
        "path": "Patient.telecom",
        "short": "联系方式"
      },
      {
        "id": "Patient.telecom.system",
        "path": "Patient.telecom.system",
        "definition": "系统（电话， 传真，邮件，SMS 等)"
      },
      {
        "id": "Patient.telecom.value",
        "path": "Patient.telecom.value",
        "short": "联系方式的内容"
      },
      {
        "id": "Patient.telecom.use",
        "path": "Patient.telecom.use",
        "definition": "用途（家庭，工作，临时，移动）"
      },
      {
        "id": "Patient.telecom.rank",
        "path": "Patient.telecom.rank",
        "short": "优先级定义"
      },
      {
        "id": "Patient.telecom.period",
        "path": "Patient.telecom.period",
        "short": "时间段定义"
      },
      {
        "id": "Patient.gender",
        "path": "Patient.gender",
        "definition": "性别"
      },
      {
        "id": "Patient.birthDate",
        "path": "Patient.birthDate",
        "definition": "出生日期"
      },
      {
        "id": "Patient.deceased[x]",
        "path": "Patient.deceased[x]",
        "definition": "是否死亡",
        "type": [
          {
            "code": "boolean",
            "profile": [
              "boolendeceased"
            ]
          },
          {
            "code": "dateTime",
            "profile": [
              "datedeceased"
            ]
          }
        ]
      },
      {
        "id": "Patient.address",
        "path": "Patient.address",
        "definition": "地址"
      },
      {
        "id": "Patient.address.use",
        "path": "Patient.address.use",
        "definition": "地址类型（家庭地址，工作单位地址， 临时地址，旧地址，账单地址）等"
      },
      {
        "id": "Patient.address.type",
        "path": "Patient.address.type",
        "definition": "类型（邮寄地址|实体访问地址|两者都是）"
      },
      {
        "id": "Patient.address.text",
        "path": "Patient.address.text",
        "short": "完整地址描述"
      },
      {
        "id": "Patient.address.line",
        "path": "Patient.address.line",
        "short": "街道及社区地址"
      },
      {
        "id": "Patient.address.city",
        "path": "Patient.address.city",
        "short": "城市"
      },
      {
        "id": "Patient.address.district",
        "path": "Patient.address.district",
        "short": "县"
      },
      {
        "id": "Patient.address.state",
        "path": "Patient.address.state",
        "short": "省"
      },
      {
        "id": "Patient.address.postalCode",
        "path": "Patient.address.postalCode",
        "short": "邮编"
      },
      {
        "id": "Patient.address.country",
        "path": "Patient.address.country",
        "short": "国家"
      },
      {
        "id": "Patient.address.period",
        "path": "Patient.address.period",
        "short": "有效的时间段"
      },
      {
        "id": "Patient.maritalStatus",
        "path": "Patient.maritalStatus",
        "short": "婚姻状态"
      },
      {
        "id": "Patient.photo",
        "path": "Patient.photo",
        "definition": "照片"
      },
      {
        "id": "Patient.contact",
        "path": "Patient.contact",
        "short": "联系人"
      },
      {
        "id": "Patient.contact.relationship",
        "path": "Patient.contact.relationship",
        "short": "关系"
      },
      {
        "id": "Patient.contact.name",
        "path": "Patient.contact.name",
        "short": "姓名"
      },
      {
        "id": "Patient.contact.telecom",
        "path": "Patient.contact.telecom",
        "short": "联系电话"
      },
      {
        "id": "Patient.contact.address",
        "path": "Patient.contact.address",
        "short": "地址"
      },
      {
        "id": "Patient.contact.gender",
        "path": "Patient.contact.gender",
        "definition": "性别"
      },
      {
        "id": "Patient.contact.organization",
        "path": "Patient.contact.organization",
        "short": "工作单位"
      },
      {
        "id": "Patient.contact.period",
        "path": "Patient.contact.period",
        "short": "时间段"
      },
      {
        "id": "Patient.communication",
        "path": "Patient.communication",
        "short": "使用语言"
      }
    ]
  }
}