{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2023-08-04T11:46:10.8249312+00:00"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "pa"
    }
  ],
  "url": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1",
  "version": "1.3.0",
  "name": "CareConnect-Patient-1",
  "status": "draft",
  "date": "2019-05-31",
  "publisher": "HL7 UK",
  "contact": [
    {
      "name": "INTEROPen",
      "telecom": [
        {
          "system": "email",
          "value": "admin@interopen.org",
          "use": "work"
        }
      ]
    }
  ],
  "description": "The patient resource represents the patient involved in the provision of healthcare related services.",
  "purpose": "CURATED BY INTEROPen see: http://www.interopen.org/careconnect-curation-methodology/",
  "copyright": "Copyright © 2019 HL7 UK\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at\r\n\r\nhttp://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\r\n\r\nHL7® FHIR® standard Copyright © 2011+ HL7\r\n\r\nThe HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at\r\n\r\nhttps://www.hl7.org/fhir/license.html",
  "fhirVersion": "3.0.2",
  "kind": "resource",
  "abstract": false,
  "type": "Patient",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Patient.extension",
        "path": "Patient.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 0
      },
      {
        "id": "Patient.extension:ethnicCategory",
        "path": "Patient.extension",
        "sliceName": "ethnicCategory",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-EthnicCategory-1"
          }
        ]
      },
      {
        "id": "Patient.extension:religiousAffiliation",
        "path": "Patient.extension",
        "sliceName": "religiousAffiliation",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-ReligiousAffiliation-1"
          }
        ]
      },
      {
        "id": "Patient.extension:patient-cadavericDonor",
        "path": "Patient.extension",
        "sliceName": "patient-cadavericDonor",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor"
          }
        ]
      },
      {
        "id": "Patient.extension:patient-cadavericDonor.valueBoolean:valueBoolean",
        "path": "Patient.extension.valueBoolean",
        "sliceName": "valueBoolean"
      },
      {
        "id": "Patient.extension:residentialStatus",
        "path": "Patient.extension",
        "sliceName": "residentialStatus",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-ResidentialStatus-1"
          }
        ]
      },
      {
        "id": "Patient.extension:treatmentCategory",
        "path": "Patient.extension",
        "sliceName": "treatmentCategory",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-TreatmentCategory-1"
          }
        ]
      },
      {
        "id": "Patient.extension:nhsCommunication",
        "path": "Patient.extension",
        "sliceName": "nhsCommunication",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NHSCommunication-1"
          }
        ]
      },
      {
        "id": "Patient.extension:nhsCommunication.extension",
        "path": "Patient.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Patient.extension:nhsCommunication.extension:preferred",
        "path": "Patient.extension.extension",
        "sliceName": "preferred",
        "min": 0
      },
      {
        "id": "Patient.extension:nhsCommunication.extension:preferred.valueBoolean:valueBoolean",
        "path": "Patient.extension.extension.valueBoolean",
        "sliceName": "valueBoolean"
      },
      {
        "id": "Patient.extension:nhsCommunication.extension:interpreterRequired",
        "path": "Patient.extension.extension",
        "sliceName": "interpreterRequired",
        "min": 0
      },
      {
        "id": "Patient.extension:nhsCommunication.extension:interpreterRequired.valueBoolean:valueBoolean",
        "path": "Patient.extension.extension.valueBoolean",
        "sliceName": "valueBoolean"
      },
      {
        "id": "Patient.extension:birthPlace",
        "path": "Patient.extension",
        "sliceName": "birthPlace",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/birthPlace"
          }
        ]
      },
      {
        "id": "Patient.extension:birthPlace.valueAddress:valueAddress",
        "path": "Patient.extension.valueAddress",
        "sliceName": "valueAddress"
      },
      {
        "id": "Patient.extension:nominatedPharmacy",
        "path": "Patient.extension",
        "sliceName": "nominatedPharmacy",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NominatedPharmacy-1"
          }
        ]
      },
      {
        "id": "Patient.extension:deathNotificationStatus",
        "path": "Patient.extension",
        "sliceName": "deathNotificationStatus",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-DeathNotificationStatus-1"
          }
        ]
      },
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "system"
            }
          ],
          "ordered": false,
          "rules": "openAtEnd"
        }
      },
      {
        "id": "Patient.identifier:nhsNumber",
        "path": "Patient.identifier",
        "sliceName": "nhsNumber",
        "short": "The patient's NHS number",
        "max": "1"
      },
      {
        "id": "Patient.identifier:nhsNumber.extension",
        "path": "Patient.identifier.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Patient.identifier:nhsNumber.extension:nhsNumberVerificationStatus",
        "path": "Patient.identifier.extension",
        "sliceName": "nhsNumberVerificationStatus",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-NHSNumberVerificationStatus-1"
          }
        ]
      },
      {
        "id": "Patient.identifier:nhsNumber.system",
        "path": "Patient.identifier.system",
        "min": 1,
        "fixedUri": "https://fhir.nhs.uk/Id/nhs-number"
      },
      {
        "id": "Patient.identifier:nhsNumber.value",
        "path": "Patient.identifier.value",
        "min": 1,
        "example": [
          {
            "label": "General",
            "valueString": "1234567890"
          }
        ]
      },
      {
        "id": "Patient.identifier:nhsNumber.assigner",
        "path": "Patient.identifier.assigner",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1"
          }
        ]
      },
      {
        "id": "Patient.name",
        "path": "Patient.name",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "use"
            }
          ],
          "ordered": false,
          "rules": "openAtEnd"
        }
      },
      {
        "id": "Patient.name:official",
        "path": "Patient.name",
        "sliceName": "official",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Patient.name:official.use",
        "path": "Patient.name.use",
        "min": 1,
        "fixedCode": "official",
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "https://fhir.hl7.org.uk/STU3/ValueSet/CareConnect-NameUse-1"
          }
        }
      },
      {
        "id": "Patient.name:official.family",
        "path": "Patient.name.family",
        "min": 1
      },
      {
        "id": "Patient.telecom.system",
        "path": "Patient.telecom.system",
        "min": 1
      },
      {
        "id": "Patient.telecom.value",
        "path": "Patient.telecom.value",
        "min": 1
      },
      {
        "id": "Patient.gender",
        "path": "Patient.gender",
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "https://fhir.hl7.org.uk/STU3/ValueSet/CareConnect-AdministrativeGender-1"
          }
        }
      },
      {
        "id": "Patient.birthDate.extension",
        "path": "Patient.birthDate.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 0
      },
      {
        "id": "Patient.birthDate.extension:patient-birthTime",
        "path": "Patient.birthDate.extension",
        "sliceName": "patient-birthTime",
        "min": 0,
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/patient-birthTime"
          }
        ]
      },
      {
        "id": "Patient.birthDate.extension:patient-birthTime.valueDateTime:valueDateTime",
        "path": "Patient.birthDate.extension.valueDateTime",
        "sliceName": "valueDateTime"
      },
      {
        "id": "Patient.address.text",
        "path": "Patient.address.text",
        "example": [
          {
            "label": "General",
            "valueString": "42 Grove Street, Overtown, West Yorkshire, LS21 1PF"
          }
        ]
      },
      {
        "id": "Patient.address.line",
        "path": "Patient.address.line",
        "example": [
          {
            "label": "General",
            "valueString": "42 Grove Street"
          }
        ]
      },
      {
        "id": "Patient.address.city",
        "path": "Patient.address.city",
        "example": [
          {
            "label": "General",
            "valueString": "Overtown"
          }
        ]
      },
      {
        "id": "Patient.address.district",
        "path": "Patient.address.district",
        "example": [
          {
            "label": "General",
            "valueString": "West Yorkshire"
          }
        ]
      },
      {
        "id": "Patient.address.postalCode",
        "path": "Patient.address.postalCode",
        "example": [
          {
            "label": "General",
            "valueString": "LS21 1PF"
          }
        ]
      },
      {
        "id": "Patient.address.country",
        "path": "Patient.address.country",
        "example": [
          {
            "label": "General",
            "valueString": "GBR"
          }
        ]
      },
      {
        "id": "Patient.maritalStatus",
        "path": "Patient.maritalStatus",
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "https://fhir.hl7.org.uk/STU3/ValueSet/CareConnect-MaritalStatus-1"
          }
        }
      },
      {
        "id": "Patient.maritalStatus.coding",
        "path": "Patient.maritalStatus.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Patient.maritalStatus.coding.system",
        "path": "Patient.maritalStatus.coding.system",
        "min": 1,
        "example": [
          {
            "label": "General",
            "valueUri": "http://hl7.org/fhir/v3/MaritalStatus"
          }
        ]
      },
      {
        "id": "Patient.maritalStatus.coding.code",
        "path": "Patient.maritalStatus.coding.code",
        "min": 1
      },
      {
        "id": "Patient.maritalStatus.coding.display",
        "path": "Patient.maritalStatus.coding.display",
        "min": 1
      },
      {
        "id": "Patient.contact.name",
        "path": "Patient.contact.name",
        "min": 1
      },
      {
        "id": "Patient.contact.name.use",
        "path": "Patient.contact.name.use",
        "min": 1
      },
      {
        "id": "Patient.contact.address.text",
        "path": "Patient.contact.address.text",
        "example": [
          {
            "label": "General",
            "valueString": "120, Grove Street, Overtown, West Yorkshire, LS21 1PT"
          }
        ]
      },
      {
        "id": "Patient.contact.address.line",
        "path": "Patient.contact.address.line",
        "example": [
          {
            "label": "General",
            "valueString": "120, Grove Street"
          }
        ]
      },
      {
        "id": "Patient.contact.address.city",
        "path": "Patient.contact.address.city",
        "example": [
          {
            "label": "General",
            "valueString": "Overtown"
          }
        ]
      },
      {
        "id": "Patient.contact.address.district",
        "path": "Patient.contact.address.district",
        "example": [
          {
            "label": "General",
            "valueString": "West Yorkshire"
          }
        ]
      },
      {
        "id": "Patient.contact.address.postalCode",
        "path": "Patient.contact.address.postalCode",
        "example": [
          {
            "label": "General",
            "valueString": "LS21 1PT"
          }
        ]
      },
      {
        "id": "Patient.contact.address.country",
        "path": "Patient.contact.address.country",
        "example": [
          {
            "label": "General",
            "valueString": "GBR"
          }
        ]
      },
      {
        "id": "Patient.contact.gender",
        "path": "Patient.contact.gender",
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "https://fhir.hl7.org.uk/STU3/ValueSet/CareConnect-AdministrativeGender-1"
          }
        }
      },
      {
        "id": "Patient.contact.organization",
        "path": "Patient.contact.organization",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1"
          }
        ]
      },
      {
        "id": "Patient.animal",
        "path": "Patient.animal",
        "max": "0"
      },
      {
        "id": "Patient.communication",
        "path": "Patient.communication",
        "max": "0"
      },
      {
        "id": "Patient.generalPractitioner",
        "path": "Patient.generalPractitioner",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1"
          },
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1"
          }
        ]
      },
      {
        "id": "Patient.managingOrganization",
        "path": "Patient.managingOrganization",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1"
          }
        ]
      },
      {
        "id": "Patient.link.other",
        "path": "Patient.link.other",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
          },
          {
            "code": "Reference",
            "targetProfile": "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1"
          }
        ]
      }
    ]
  }
}