{
  "resourceType": "StructureDefinition",
  "id": "6c4d74d4-770e-4a99-993d-a860c9115142",
  "meta": {
    "lastUpdated": "2024-02-29T06:59:11.0680432+00:00"
  },
  "url": "https://simplifier.net/winningtest/patient-profile",
  "name": "Patient",
  "title": "患者",
  "status": "draft",
  "date": "2024-02-29T07:00:24.5302636+00:00",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "cda",
      "uri": "http://hl7.org/v3/cda",
      "name": "CDA (R2)"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "loinc",
      "uri": "http://loinc.org",
      "name": "LOINC code for the element"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "https://simplifier.net/winningtest/general-patient-profile",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient.extension:education",
        "path": "Patient.extension",
        "sliceName": "education",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-patient-education"
            ]
          }
        ]
      },
      {
        "id": "Patient.extension:degree",
        "path": "Patient.extension",
        "sliceName": "degree",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-patient-degree"
            ]
          }
        ]
      },
      {
        "id": "Patient.extension:religion",
        "path": "Patient.extension",
        "sliceName": "religion",
        "short": "宗教信仰",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/patient-religion"
            ]
          }
        ]
      },
      {
        "id": "Patient.extension:occupation",
        "path": "Patient.extension",
        "sliceName": "occupation",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-patient-occupation"
            ]
          }
        ]
      },
      {
        "id": "Patient.extension:povertyLevel",
        "path": "Patient.extension",
        "sliceName": "povertyLevel",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-poverty-level"
            ]
          }
        ]
      },
      {
        "id": "Patient.extension:placeOfOrigin",
        "path": "Patient.extension",
        "sliceName": "placeOfOrigin",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-place-of-origin"
            ]
          }
        ]
      },
      {
        "id": "Patient.extension:patientAge",
        "path": "Patient.extension",
        "sliceName": "patientAge",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-patient-age"
            ]
          }
        ]
      },
      {
        "id": "Patient.extension:familyDoctorServiceFocusGroup",
        "path": "Patient.extension",
        "sliceName": "familyDoctorServiceFocusGroup",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-family-doctor-service-focus-group"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Patient.extension:premiumCustomer",
        "path": "Patient.extension",
        "sliceName": "premiumCustomer",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-premium-customer"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Patient.extension:VIP",
        "path": "Patient.extension",
        "sliceName": "VIP",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-vip"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Patient.extension:militaryPersonnelRelation",
        "path": "Patient.extension",
        "sliceName": "militaryPersonnelRelation",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-military-personnel-relation"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Patient.extension:militaryStatus",
        "path": "Patient.extension",
        "sliceName": "militaryStatus",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/winningtest/extension-military-status"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "rules": "openAtEnd"
        }
      },
      {
        "id": "Patient.identifier:persnalIdentification",
        "path": "Patient.identifier",
        "sliceName": "persnalIdentification",
        "short": "个人证件"
      },
      {
        "id": "Patient.identifier:persnalIdentification.system",
        "path": "Patient.identifier.system",
        "binding": {
          "strength": "required",
          "description": "身份证件类别代码",
          "valueSet": "urn:oid:1.2.156.112604.1.2.864"
        }
      },
      {
        "id": "Patient.identifier:aidsPatientRecordNo",
        "path": "Patient.identifier",
        "sliceName": "aidsPatientRecordNo",
        "short": "关爱患者病历号",
        "max": "1"
      },
      {
        "id": "Patient.identifier:aidsPatientRecordNo.use",
        "path": "Patient.identifier.use",
        "max": "0"
      },
      {
        "id": "Patient.identifier:aidsPatientRecordNo.type",
        "path": "Patient.identifier.type",
        "max": "0"
      },
      {
        "id": "Patient.identifier:aidsPatientRecordNo.system",
        "path": "Patient.identifier.system",
        "fixedUri": "urn:oid:1.2.156.112604.1.2.663.35"
      },
      {
        "id": "Patient.identifier:aidsPatientRecordNo.period",
        "path": "Patient.identifier.period",
        "max": "0"
      },
      {
        "id": "Patient.identifier:aidsPatientRecordNo.assigner",
        "path": "Patient.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Patient.identifier:cadresPatientRecordNo",
        "path": "Patient.identifier",
        "sliceName": "cadresPatientRecordNo",
        "short": "干保患者病案号",
        "max": "1"
      },
      {
        "id": "Patient.identifier:cadresPatientRecordNo.use",
        "path": "Patient.identifier.use",
        "max": "0"
      },
      {
        "id": "Patient.identifier:cadresPatientRecordNo.type",
        "path": "Patient.identifier.type",
        "max": "0"
      },
      {
        "id": "Patient.identifier:cadresPatientRecordNo.system",
        "path": "Patient.identifier.system",
        "fixedUri": "urn:oid:1.2.156.112604.1.2.663.36"
      },
      {
        "id": "Patient.identifier:cadresPatientRecordNo.period",
        "path": "Patient.identifier.period",
        "max": "0"
      },
      {
        "id": "Patient.identifier:cadresPatientRecordNo.assigner",
        "path": "Patient.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Patient.identifier:gcpSubjectNo",
        "path": "Patient.identifier",
        "sliceName": "gcpSubjectNo",
        "short": "GCP受试患者编号"
      },
      {
        "id": "Patient.identifier:gcpSubjectNo.use",
        "path": "Patient.identifier.use",
        "max": "0"
      },
      {
        "id": "Patient.identifier:gcpSubjectNo.type",
        "path": "Patient.identifier.type",
        "max": "0"
      },
      {
        "id": "Patient.identifier:gcpSubjectNo.system",
        "path": "Patient.identifier.system",
        "fixedUri": "urn:oid:1.2.156.112604.1.2.116369"
      },
      {
        "id": "Patient.identifier:gcpSubjectNo.period",
        "path": "Patient.identifier.period",
        "max": "0"
      },
      {
        "id": "Patient.identifier:gcpSubjectNo.assigner",
        "path": "Patient.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Patient.active",
        "path": "Patient.active",
        "short": "是否活跃记录"
      },
      {
        "id": "Patient.name",
        "path": "Patient.name",
        "short": "患者姓名",
        "min": 1
      },
      {
        "id": "Patient.telecom",
        "path": "Patient.telecom",
        "short": "联系方式",
        "type": [
          {
            "code": "ContactPoint",
            "profile": [
              "https://simplifier.net/winningtest/chinese-contact-point-profile"
            ]
          }
        ]
      },
      {
        "id": "Patient.gender",
        "path": "Patient.gender",
        "min": 1,
        "binding": {
          "strength": "required",
          "valueSet": "urn:oid:1.2.156.112604.1.2.5"
        }
      },
      {
        "id": "Patient.deceased[x]",
        "path": "Patient.deceased[x]",
        "max": "0"
      },
      {
        "id": "Patient.address",
        "path": "Patient.address",
        "short": "地址",
        "type": [
          {
            "code": "Address",
            "profile": [
              "https://simplifier.net/winningtest/chinese-address-profile"
            ]
          }
        ]
      },
      {
        "id": "Patient.multipleBirth[x]",
        "path": "Patient.multipleBirth[x]",
        "max": "0"
      },
      {
        "id": "Patient.photo",
        "path": "Patient.photo",
        "max": "0"
      },
      {
        "id": "Patient.contact",
        "path": "Patient.contact",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "relationship.coding.system"
            }
          ],
          "rules": "open"
        },
        "short": "联系人"
      },
      {
        "id": "Patient.contact:employer",
        "path": "Patient.contact",
        "sliceName": "employer",
        "short": "工作单位"
      },
      {
        "id": "Patient.contact:employer.relationship",
        "path": "Patient.contact.relationship",
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://hl7.org/fhir/ValueSet/patient-contactrelationship",
              "code": "E",
              "display": "Employer"
            }
          ]
        }
      },
      {
        "id": "Patient.contact:employer.name",
        "path": "Patient.contact.name",
        "max": "0"
      },
      {
        "id": "Patient.contact:employer.gender",
        "path": "Patient.contact.gender",
        "max": "0"
      },
      {
        "id": "Patient.contact:employer.organization",
        "path": "Patient.contact.organization",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/winningtest/employer-profile"
            ]
          }
        ]
      },
      {
        "id": "Patient.contact:employer.period",
        "path": "Patient.contact.period",
        "short": "工作时间段"
      },
      {
        "id": "Patient.contact:contact",
        "path": "Patient.contact",
        "sliceName": "contact",
        "short": "联系人"
      },
      {
        "id": "Patient.contact:contact.relationship",
        "path": "Patient.contact.relationship",
        "short": "联系人关系",
        "binding": {
          "strength": "required",
          "valueSet": "urn:oid:1.2.156.112604.1.2.669"
        }
      },
      {
        "id": "Patient.contact:contact.name",
        "path": "Patient.contact.name",
        "short": "联系人姓名",
        "type": [
          {
            "code": "HumanName",
            "profile": [
              "https://simplifier.net/winningtest/chinese-human-name-profile"
            ]
          }
        ]
      },
      {
        "id": "Patient.contact:contact.telecom",
        "path": "Patient.contact.telecom",
        "short": "联系人联系方式",
        "type": [
          {
            "code": "ContactPoint",
            "profile": [
              "https://simplifier.net/winningtest/chinese-contact-point-profile"
            ]
          }
        ]
      },
      {
        "id": "Patient.contact:contact.address",
        "path": "Patient.contact.address",
        "short": "联系人地址",
        "type": [
          {
            "code": "Address",
            "profile": [
              "https://simplifier.net/winningtest/chinese-address-profile"
            ]
          }
        ]
      },
      {
        "id": "Patient.contact:contact.gender",
        "path": "Patient.contact.gender",
        "short": "联系人性别",
        "binding": {
          "strength": "required",
          "valueSet": "urn:oid:1.2.156.112604.1.2.5"
        }
      },
      {
        "id": "Patient.contact:contact.organization",
        "path": "Patient.contact.organization",
        "max": "0"
      },
      {
        "id": "Patient.contact:contact.period",
        "path": "Patient.contact.period",
        "max": "0"
      },
      {
        "id": "Patient.communication",
        "path": "Patient.communication",
        "max": "0"
      },
      {
        "id": "Patient.generalPractitioner",
        "path": "Patient.generalPractitioner",
        "short": "签约医生",
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/winningtest/family-doctor-profile"
            ],
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "Patient.managingOrganization",
        "path": "Patient.managingOrganization",
        "max": "0"
      }
    ]
  }
}