{
  "resourceType": "StructureDefinition",
  "id": "HospitalXPatient",
  "meta": {
    "lastUpdated": "2024-08-08T03:02:15.9852031+00:00"
  },
  "url": "http://louislu.cn/fhir/StructureDefinition/HospitalXPatient",
  "name": "HospitalXPatient",
  "title": "Hospital X Patient",
  "status": "draft",
  "date": "2024-06-05T20:58:00.3967001+00:00",
  "description": "HospitalXPatient profile",
  "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": "http://hl7.org/fhir/StructureDefinition/Patient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient.extension",
        "path": "Patient.extension",
        "min": 1
      },
      {
        "id": "Patient.extension:birthPlace",
        "path": "Patient.extension",
        "sliceName": "birthPlace",
        "min": 1,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/patient-birthPlace"
            ]
          }
        ]
      },
      {
        "id": "Patient.extension:birthPlace.id",
        "path": "Patient.extension.id",
        "fixedString": "birthPlace"
      },
      {
        "id": "Patient.extension:inclusionStatus",
        "path": "Patient.extension",
        "sliceName": "inclusionStatus",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://louislu.cn/fhir/StructureDefinition/InclusionStatus"
            ]
          }
        ],
        "isModifier": false
      },
      {
        "id": "Patient.name",
        "path": "Patient.name",
        "min": 1
      },
      {
        "id": "Patient.name.family",
        "path": "Patient.name.family",
        "min": 1
      },
      {
        "id": "Patient.name.given",
        "path": "Patient.name.given",
        "min": 1
      },
      {
        "id": "Patient.gender",
        "path": "Patient.gender",
        "min": 1
      },
      {
        "id": "Patient.birthDate",
        "path": "Patient.birthDate",
        "min": 1
      },
      {
        "id": "Patient.deceased[x]",
        "path": "Patient.deceased[x]",
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "Patient.photo",
        "path": "Patient.photo",
        "max": "0"
      }
    ]
  }
}