{
  "resourceType": "StructureDefinition",
  "id": "patient-eu",
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 2
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "trial-use"
    }
  ],
  "url": "http://hl7.eu/fhir/base/StructureDefinition/patient-eu",
  "name": "PatientEu",
  "title": "Patient (EU base)",
  "status": "active",
  "description": "This profile specifies how the HL7 FHIR Patient resource should be used for conveying commonly used concepts in the European context.",
  "fhirVersion": "4.0.1",
  "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"
            }
          ],
          "ordered": false,
          "rules": "open"
        }
      },
      {
        "id": "Patient.extension:birthPlace",
        "path": "Patient.extension",
        "sliceName": "birthPlace",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/patient-birthPlace"
            ]
          }
        ]
      },
      {
        "id": "Patient.extension:birthPlace.value[x]",
        "path": "Patient.extension.value[x]",
        "type": [
          {
            "code": "Address",
            "profile": [
              "http://hl7.eu/fhir/base/StructureDefinition/Address-eu"
            ]
          }
        ]
      },
      {
        "id": "Patient.extension:sex-for-clinical-use",
        "path": "Patient.extension",
        "sliceName": "sex-for-clinical-use",
        "short": "Sex for clinical use",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/patient-sexParameterForClinicalUse"
            ]
          }
        ]
      },
      {
        "id": "Patient.extension:gender-identity",
        "path": "Patient.extension",
        "sliceName": "gender-identity",
        "short": "Gender identity",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/individual-genderIdentity"
            ]
          }
        ]
      },
      {
        "id": "Patient.extension:pronouns",
        "path": "Patient.extension",
        "sliceName": "pronouns",
        "short": "Pronouns",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/individual-pronouns"
            ]
          }
        ]
      },
      {
        "id": "Patient.extension:patient-citizenship",
        "path": "Patient.extension",
        "sliceName": "patient-citizenship",
        "short": "Citizenship",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/patient-citizenship"
            ]
          }
        ]
      },
      {
        "id": "Patient.extension:patient-nationality",
        "path": "Patient.extension",
        "sliceName": "patient-nationality",
        "short": "Nationality",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/patient-nationality"
            ]
          }
        ]
      },
      {
        "id": "Patient.extension:birthTime",
        "path": "Patient.extension",
        "sliceName": "birthTime",
        "short": "Birth time",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/patient-birthTime"
            ]
          }
        ]
      },
      {
        "id": "Patient.identifier",
        "path": "Patient.identifier",
        "short": "Patient identifiers"
      },
      {
        "id": "Patient.name",
        "path": "Patient.name",
        "requirements": "Need to be able to track the patient by multiple names. Examples are your official name and a partner name.\r\nThe Alphabetic representation of the name SHALL be always provided"
      },
      {
        "id": "Patient.name.text",
        "path": "Patient.name.text",
        "short": "Text representation of the full name.",
        "definition": "Text representation of the full name. Due to the cultural variance around the world a consuming system may not know how to present the name correctly; moreover not all the parts of the name go in given or family. Creators are therefore strongly encouraged to provide through this element a presented version of the name. Future versions of this guide may require this element."
      },
      {
        "id": "Patient.name.family",
        "path": "Patient.name.family",
        "short": "Family name.",
        "example": [
          {
            "label": "spanish",
            "valueString": "Valero Iglesias"
          }
        ]
      },
      {
        "id": "Patient.name.given",
        "path": "Patient.name.given",
        "comment": "If only initials are recorded, they may be used in place of the full name parts. Initials may be separated into multiple given names but often aren't due to practical limitations. This element is not called \"first name\" since given names do not always come first."
      },
      {
        "id": "Patient.telecom",
        "path": "Patient.telecom",
        "short": "A contact detail for the patient"
      },
      {
        "id": "Patient.gender",
        "path": "Patient.gender",
        "short": "Administrative Gender"
      },
      {
        "id": "Patient.birthDate",
        "path": "Patient.birthDate",
        "comment": "At least an estimated year should be provided as a guess if the real DOB is unknown. There is a standard extension \"patient-birthTime\" available that should be used where Time is required (such as in maternity/infant care systems)."
      },
      {
        "id": "Patient.address",
        "path": "Patient.address",
        "type": [
          {
            "code": "Address",
            "profile": [
              "http://hl7.eu/fhir/base/StructureDefinition/Address-eu"
            ]
          }
        ]
      },
      {
        "id": "Patient.maritalStatus",
        "path": "Patient.maritalStatus",
        "short": "Marital status"
      },
      {
        "id": "Patient.contact.relationship",
        "path": "Patient.contact.relationship",
        "short": "Contact relationship"
      },
      {
        "id": "Patient.contact.name",
        "path": "Patient.contact.name",
        "short": "Contact name"
      },
      {
        "id": "Patient.contact.telecom",
        "path": "Patient.contact.telecom",
        "short": "Contact details for the person"
      },
      {
        "id": "Patient.contact.address",
        "path": "Patient.contact.address",
        "short": "Contact person address",
        "type": [
          {
            "code": "Address",
            "profile": [
              "http://hl7.eu/fhir/base/StructureDefinition/Address-eu"
            ]
          }
        ]
      },
      {
        "id": "Patient.communication.language",
        "path": "Patient.communication.language",
        "short": "Communication language"
      },
      {
        "id": "Patient.generalPractitioner",
        "path": "Patient.generalPractitioner",
        "short": "Patient's nominated primary care provider."
      }
    ]
  }
}
