{
  "resourceType": "StructureDefinition",
  "url": "https://example.org/fhir/StructureDefinition/mpi_patient",
  "name": "MPI_patient",
  "status": "draft",
  "date": "2024-08-14T14:10:15.0570665+00:00",
  "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",
        "short": "Identifiant patient",
        "definition": "Cet élément représente un des identifiants du patient (pid local, matricule national. autre)"
      },
      {
        "id": "Patient.identifier.use",
        "path": "Patient.identifier.use",
        "max": "0"
      },
      {
        "id": "Patient.identifier.type",
        "path": "Patient.identifier.type",
        "max": "0"
      },
      {
        "id": "Patient.identifier.system",
        "path": "Patient.identifier.system",
        "short": "Domaine d'identification",
        "definition": "Identifiant du système dans lequel l'identifiant patient est reconnu"
      },
      {
        "id": "Patient.identifier.value",
        "path": "Patient.identifier.value",
        "short": "Valeur de l'identifiant",
        "definition": "Valeur de l'identifiant patient"
      },
      {
        "id": "Patient.identifier.period",
        "path": "Patient.identifier.period",
        "max": "0"
      },
      {
        "id": "Patient.identifier.assigner",
        "path": "Patient.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Patient.active",
        "path": "Patient.active",
        "max": "0"
      },
      {
        "id": "Patient.name",
        "path": "Patient.name",
        "short": "Nom du patient",
        "definition": "Nom officiel du patient. Un seul nom autorisé par patient. Le nom doit correspondre au nom inscrit sur les documents officiels du patient.\r\ncf. \"guide de l'implémentation de l'annuaire pour les établissements\" p3.1.2 : \r\n\"Même si le patient souhaite se faire appeler par un autre nom que son nom officiel, l’établissement doit communiquer uniquement des données officielles avec l’Annuaire, celle qui apparaissent sur sa carte d’identité. L’établissement peut garder en interne le nom d’usage souhaité par le patient.\"",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Patient.name.use",
        "path": "Patient.name.use",
        "short": "official | temp | nickname | anonymous | old | maiden",
        "max": "0",
        "fixedCode": "official"
      },
      {
        "id": "Patient.name.text",
        "path": "Patient.name.text",
        "max": "0"
      },
      {
        "id": "Patient.name.family",
        "path": "Patient.name.family",
        "short": "Nom officiel",
        "definition": "Nom officiel du patient, celui qui apparaît sur sa carte d'identité"
      },
      {
        "id": "Patient.name.given",
        "path": "Patient.name.given",
        "short": "Prénoms du patient",
        "definition": "Prénoms du patient"
      },
      {
        "id": "Patient.name.prefix",
        "path": "Patient.name.prefix",
        "max": "0"
      },
      {
        "id": "Patient.name.suffix",
        "path": "Patient.name.suffix",
        "max": "0"
      },
      {
        "id": "Patient.name.period",
        "path": "Patient.name.period",
        "max": "0"
      },
      {
        "id": "Patient.telecom",
        "path": "Patient.telecom",
        "short": "Informations de contact du patient",
        "definition": "Détails des informations de contact du patient.\r\nInformations de contact personnelles uniquement : pas de contact professionnel (cf. spécification agence e-Santé MPI p4.5.3.5 : \"Do not send work tel. number.\""
      },
      {
        "id": "Patient.telecom.system",
        "path": "Patient.telecom.system",
        "short": "phone | fax | email | sms",
        "definition": "Forme de contact (téléphone, mail etc.)"
      },
      {
        "id": "Patient.telecom.value",
        "path": "Patient.telecom.value",
        "short": "Détail du contact",
        "definition": "Détail du contact (numéro de téléphone, de fax, adresse email etc.)"
      },
      {
        "id": "Patient.telecom.use",
        "path": "Patient.telecom.use",
        "short": "Type de contact (constante : 'home')",
        "definition": "Uniquement personnel, pas de contact pro à transmettre vers le MPI.",
        "fixedCode": "home"
      },
      {
        "id": "Patient.telecom.rank",
        "path": "Patient.telecom.rank",
        "max": "0"
      },
      {
        "id": "Patient.telecom.period",
        "path": "Patient.telecom.period",
        "max": "0"
      },
      {
        "id": "Patient.gender",
        "path": "Patient.gender",
        "definition": "Sexe administratif"
      },
      {
        "id": "Patient.birthDate",
        "path": "Patient.birthDate",
        "short": "Date de naissance",
        "definition": "Date de naissance au format yyyy-MM-dd"
      },
      {
        "id": "Patient.deceased[x]",
        "path": "Patient.deceased[x]",
        "max": "0"
      },
      {
        "id": "Patient.address",
        "path": "Patient.address",
        "short": "Adresse du patient",
        "definition": "Une adresse du patient.",
        "comment": "Un patient peut avoir plusieurs adresses.",
        "requirements": "+"
      },
      {
        "id": "Patient.address.use",
        "path": "Patient.address.use",
        "short": "home |  billing - purpose of this address",
        "definition": "Type d'adresse - uniquement personelle (home) ou postale (billing)"
      },
      {
        "id": "Patient.address.type",
        "path": "Patient.address.type",
        "max": "0"
      },
      {
        "id": "Patient.address.text",
        "path": "Patient.address.text",
        "max": "0"
      },
      {
        "id": "Patient.address.line",
        "path": "Patient.address.line",
        "short": "Adresse (numéro et rue)"
      },
      {
        "id": "Patient.address.city",
        "path": "Patient.address.city",
        "short": "Ville"
      },
      {
        "id": "Patient.address.district",
        "path": "Patient.address.district",
        "max": "0"
      },
      {
        "id": "Patient.address.state",
        "path": "Patient.address.state",
        "max": "0"
      },
      {
        "id": "Patient.address.postalCode",
        "path": "Patient.address.postalCode",
        "short": "Code postal"
      },
      {
        "id": "Patient.address.country",
        "path": "Patient.address.country",
        "short": "Pays (ISO 3166 2)",
        "definition": "Pays format ISO code"
      },
      {
        "id": "Patient.address.period",
        "path": "Patient.address.period",
        "max": "0"
      },
      {
        "id": "Patient.maritalStatus",
        "path": "Patient.maritalStatus",
        "short": "Statut marital du patient"
      },
      {
        "id": "Patient.maritalStatus.coding",
        "path": "Patient.maritalStatus.coding",
        "max": "0"
      },
      {
        "id": "Patient.maritalStatus.text",
        "path": "Patient.maritalStatus.text",
        "binding": {
          "strength": "required",
          "valueSet": "https://hl7.org/fhir/R4/valueset-marital-status.html"
        }
      },
      {
        "id": "Patient.multipleBirth[x]",
        "path": "Patient.multipleBirth[x]",
        "max": "0"
      },
      {
        "id": "Patient.photo",
        "path": "Patient.photo",
        "max": "0"
      },
      {
        "id": "Patient.contact",
        "path": "Patient.contact",
        "max": "0"
      },
      {
        "id": "Patient.communication",
        "path": "Patient.communication",
        "max": "0"
      },
      {
        "id": "Patient.generalPractitioner",
        "path": "Patient.generalPractitioner",
        "max": "0"
      },
      {
        "id": "Patient.managingOrganization",
        "path": "Patient.managingOrganization",
        "max": "0"
      },
      {
        "id": "Patient.link",
        "path": "Patient.link",
        "max": "0"
      }
    ]
  }
}