<StructureDefinition xmlns="http://hl7.org/fhir">
  <meta>
    <versionId value="20191130" />
  </meta>
  <url value="http://www.interopsante.org/fhir/structuredefinition/resource/fr-patient" />
  <version value="4.0.0" />
  <name value="FrPatient" />
  <status value="active" />
  <date value="2019-07-08" />
  <publisher value="Interop'Santé" />
  <contact>
    <name value="François Macary/Isabelle Gibaud" />
    <telecom>
      <system value="email" />
      <value value="francois.macary@phast.fr" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="Profile of the Patient resource for France | Profil de la ressource Patient pour l'usage en France&#xD;&#xA;This profile specifies the patient's identifiers for France. It uses international extensions (birtplace and nationality) and adds specific French extensions | Ce profil spécifie les identifiants de patient utilisés en France. Il utilise des extensions internationales (birthplace et nationalité) et ajoute des extensions propres à la France." />
  <fhirVersion value="4.0.0" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Patient" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Patient" />
  <derivation value="constraint" />
  <differential>
    <element id="Patient.extension">
      <path value="Patient.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Patient.extension:lunarDate">
      <path value="Patient.extension" />
      <sliceName value="lunarDate" />
      <type>
        <code value="Extension" />
        <profile value="http://www.interopsante.org/fhir/structuredefinition/patient/fr-lunar-date" />
      </type>
    </element>
    <element id="Patient.extension:birthPlace">
      <path value="Patient.extension" />
      <sliceName value="birthPlace" />
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/patient-birthPlace" />
      </type>
    </element>
    <element id="Patient.extension:nationality">
      <path value="Patient.extension" />
      <sliceName value="nationality" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/patient-nationality" />
      </type>
    </element>
    <element id="Patient.extension:identityReliability">
      <path value="Patient.extension" />
      <sliceName value="identityReliability" />
      <type>
        <code value="Extension" />
        <profile value="http://www.interopsante.org/fhir/structuredefinition/patient/fr-identity-reliability" />
      </type>
    </element>
    <element id="Patient.extension:deathPlace">
      <path value="Patient.extension" />
      <sliceName value="deathPlace" />
      <type>
        <code value="Extension" />
        <profile value="http://www.interopsante.org/fhir/structuredefinition/patient/fr-deathplace" />
      </type>
    </element>
    <element id="Patient.identifier">
      <path value="Patient.identifier" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="type" />
        </discriminator>
        <description value="slicing de l'identifiant Patient sur le type d'identifiant (IPP, INS-NIR, INS-NIA, etc.)" />
        <rules value="open" />
      </slicing>
      <short value="National Health Identifier | Identifiant national de santé" />
    </element>
    <element id="Patient.identifier.type">
      <path value="Patient.identifier.type" />
      <min value="1" />
      <binding>
        <strength value="extensible" />
        <valueSet value="http://interopsante.org/fhir/valueset/fr-patient-identifier-type" />
      </binding>
    </element>
    <element id="Patient.identifier.system">
      <path value="Patient.identifier.system" />
      <definition value="Establishes the namespace for the value - that is, a OID that describes a set values that are unique." />
      <min value="1" />
    </element>
    <element id="Patient.identifier.value">
      <path value="Patient.identifier.value" />
      <min value="1" />
    </element>
    <element id="Patient.identifier:INS-NIR">
      <path value="Patient.identifier" />
      <sliceName value="INS-NIR" />
      <short value="The patient's health national identifier| Identifiant national de santé du patient" />
      <definition value="patient's national identifier obtained by requesting the national patient identification service (CNAM) | Identifiant NIR du patient récupéré à partir de l'interrogation du service national d'identification des patients (CNAM)" />
    </element>
    <element id="Patient.identifier:INS-NIR.use">
      <path value="Patient.identifier.use" />
      <binding>
        <strength value="required" />
        <valueSet value="http://hl7.org/fhir/ValueSet/identifier-use" />
      </binding>
    </element>
    <element id="Patient.identifier:INS-NIR.type">
      <path value="Patient.identifier.type" />
      <min value="1" />
      <fixedCodeableConcept>
        <coding>
          <system value="http://terminology.interopsante.org/CodeSystem/v2-0203" />
          <code value="INS-NIR" />
          <display value="NIR" />
        </coding>
      </fixedCodeableConcept>
      <binding>
        <strength value="extensible" />
        <valueSet value="http://interopsante.org/fhir/valueset/fr-patient-identifier-type" />
      </binding>
    </element>
    <element id="Patient.identifier:INS-NIR.system">
      <path value="Patient.identifier.system" />
      <definition value="Establishes the namespace for the value - that is, a OID that describes a set values that are unique. | Autorité d'affectation des INS-NIR" />
      <min value="1" />
      <fixedUri value="urn:oid:1.2.250.1.213.1.4.8" />
    </element>
    <element id="Patient.identifier:INS-NIR.value">
      <path value="Patient.identifier.value" />
      <min value="1" />
    </element>
    <element id="Patient.identifier:INS-NIA">
      <path value="Patient.identifier" />
      <sliceName value="INS-NIA" />
      <short value="The temporary patient's health national identifier| Identifiant national temporaire de santé du patient" />
    </element>
    <element id="Patient.identifier:INS-NIA.use">
      <path value="Patient.identifier.use" />
      <binding>
        <strength value="required" />
        <valueSet value="http://hl7.org/fhir/ValueSet/identifier-use" />
      </binding>
    </element>
    <element id="Patient.identifier:INS-NIA.type">
      <path value="Patient.identifier.type" />
      <min value="1" />
      <fixedCodeableConcept>
        <coding>
          <system value="http://terminology.interopsante.org/CodeSystem/v2-0203" />
          <code value="INS-NIA" />
          <display value="NIR temporaire" />
        </coding>
      </fixedCodeableConcept>
      <binding>
        <strength value="extensible" />
        <valueSet value="http://interopsante.org/fhir/valueset/fr-patient-identifier-type" />
      </binding>
    </element>
    <element id="Patient.identifier:INS-NIA.system">
      <path value="Patient.identifier.system" />
      <definition value="Establishes the namespace for the value - that is, a OID that describes a set values that are unique. | Autorité d'affectation des INS-NIA" />
      <min value="1" />
      <fixedUri value="urn:oid:1.2.250.1.213.1.4.9" />
    </element>
    <element id="Patient.identifier:INS-NIA.value">
      <path value="Patient.identifier.value" />
      <min value="1" />
    </element>
    <element id="Patient.identifier:PPN">
      <path value="Patient.identifier" />
      <sliceName value="PPN" />
      <short value="Passport number | Numéro de passeport" />
      <max value="1" />
    </element>
    <element id="Patient.identifier:PPN.use">
      <path value="Patient.identifier.use" />
      <binding>
        <strength value="required" />
        <valueSet value="http://hl7.org/fhir/ValueSet/identifier-use" />
      </binding>
    </element>
    <element id="Patient.identifier:PPN.type">
      <path value="Patient.identifier.type" />
      <min value="1" />
      <fixedCodeableConcept>
        <coding>
          <system value="http://terminology.interopsante.org/CodeSystem/v2-0203" />
          <code value="PPN" />
          <display value="Passport number" />
        </coding>
      </fixedCodeableConcept>
      <binding>
        <strength value="extensible" />
        <valueSet value="http://interopsante.org/fhir/valueset/fr-patient-identifier-type" />
      </binding>
    </element>
    <element id="Patient.identifier:PPN.system">
      <path value="Patient.identifier.system" />
      <definition value="Establishes the namespace for the value - that is, a OID that describes a set values that are unique." />
      <min value="1" />
    </element>
    <element id="Patient.identifier:PPN.value">
      <path value="Patient.identifier.value" />
      <min value="1" />
    </element>
    <element id="Patient.identifier:INS-C">
      <path value="Patient.identifier" />
      <sliceName value="INS-C" />
      <short value="Computed National Health Identifier | Identifiant National de Santé Calculé à partir des éléments de la carte vitale" />
    </element>
    <element id="Patient.identifier:INS-C.use">
      <path value="Patient.identifier.use" />
      <binding>
        <strength value="required" />
        <valueSet value="http://hl7.org/fhir/ValueSet/identifier-use" />
      </binding>
    </element>
    <element id="Patient.identifier:INS-C.type">
      <path value="Patient.identifier.type" />
      <min value="1" />
      <fixedCodeableConcept>
        <coding>
          <system value="http://terminology.interopsante.org/CodeSystem/v2-0203" />
          <code value="INS-C" />
          <display value="INS calculé" />
        </coding>
      </fixedCodeableConcept>
      <binding>
        <strength value="extensible" />
        <valueSet value="http://interopsante.org/fhir/valueset/fr-patient-identifier-type" />
      </binding>
    </element>
    <element id="Patient.identifier:INS-C.system">
      <path value="Patient.identifier.system" />
      <definition value="Establishes the namespace for the value - that is, a OID that describes a set values that are unique." />
      <min value="1" />
      <fixedUri value="urn:oid:1.2.250.1.213.1.4.2" />
    </element>
    <element id="Patient.identifier:INS-C.value">
      <path value="Patient.identifier.value" />
      <min value="1" />
    </element>
    <element id="Patient.identifier:NNFRA">
      <path value="Patient.identifier" />
      <sliceName value="NNFRA" />
      <short value="National Person Identifier | Numéro de carte nationale d'identité" />
      <max value="1" />
    </element>
    <element id="Patient.identifier:NNFRA.use">
      <path value="Patient.identifier.use" />
      <binding>
        <strength value="required" />
        <valueSet value="http://hl7.org/fhir/ValueSet/identifier-use" />
      </binding>
    </element>
    <element id="Patient.identifier:NNFRA.type">
      <path value="Patient.identifier.type" />
      <min value="1" />
      <fixedCodeableConcept>
        <coding>
          <system value="http://terminology.interopsante.org/CodeSystem/v2-0203" />
          <code value="NNFRA" />
          <display value="National person identifier" />
        </coding>
      </fixedCodeableConcept>
      <binding>
        <strength value="extensible" />
        <valueSet value="http://interopsante.org/fhir/valueset/fr-patient-identifier-type" />
      </binding>
    </element>
    <element id="Patient.identifier:NNFRA.system">
      <path value="Patient.identifier.system" />
      <definition value="Establishes the namespace for the value - that is, a OID that describes a set values that are unique." />
      <min value="1" />
    </element>
    <element id="Patient.identifier:NNFRA.value">
      <path value="Patient.identifier.value" />
      <min value="1" />
    </element>
    <element id="Patient.identifier:NDP">
      <path value="Patient.identifier" />
      <sliceName value="NDP" />
      <short value="Pharmaceutical Record Identifier | Numéro de Dossier Pharmaceutique" />
      <max value="1" />
    </element>
    <element id="Patient.identifier:NDP.use">
      <path value="Patient.identifier.use" />
      <binding>
        <strength value="required" />
        <valueSet value="http://hl7.org/fhir/ValueSet/identifier-use" />
      </binding>
    </element>
    <element id="Patient.identifier:NDP.type">
      <path value="Patient.identifier.type" />
      <min value="1" />
      <fixedCodeableConcept>
        <coding>
          <system value="http://terminology.interopsante.org/CodeSystem/v2-0203" />
          <code value="NDP" />
          <display value="Identifiant au dossier pharmaceutique" />
        </coding>
      </fixedCodeableConcept>
      <binding>
        <strength value="extensible" />
        <valueSet value="http://interopsante.org/fhir/valueset/fr-patient-identifier-type" />
      </binding>
    </element>
    <element id="Patient.identifier:NDP.system">
      <path value="Patient.identifier.system" />
      <definition value="Establishes the namespace for the value - that is, a OID that describes a set values that are unique." />
      <min value="1" />
      <fixedUri value="urn:oid:1.2.250.1.176.1.2" />
    </element>
    <element id="Patient.identifier:NDP.value">
      <path value="Patient.identifier.value" />
      <min value="1" />
    </element>
    <element id="Patient.identifier:PI">
      <path value="Patient.identifier" />
      <sliceName value="PI" />
      <short value="Hospital assigned patient identifier | IPP" />
      <max value="1" />
    </element>
    <element id="Patient.identifier:PI.use">
      <path value="Patient.identifier.use" />
      <binding>
        <strength value="required" />
        <valueSet value="http://hl7.org/fhir/ValueSet/identifier-use" />
      </binding>
    </element>
    <element id="Patient.identifier:PI.type">
      <path value="Patient.identifier.type" />
      <min value="1" />
      <fixedCodeableConcept>
        <coding>
          <system value="http://terminology.interopsante.org/CodeSystem/v2-0203" />
          <code value="PI" />
          <display value="Patient internal identifier" />
        </coding>
      </fixedCodeableConcept>
      <binding>
        <strength value="extensible" />
        <valueSet value="http://interopsante.org/fhir/valueset/fr-patient-identifier-type" />
      </binding>
    </element>
    <element id="Patient.identifier:PI.system">
      <path value="Patient.identifier.system" />
      <definition value="Establishes the namespace for the value - that is, a OID that describes a set values that are unique." />
      <min value="1" />
    </element>
    <element id="Patient.identifier:PI.value">
      <path value="Patient.identifier.value" />
      <min value="1" />
    </element>
    <element id="Patient.identifier:PN">
      <path value="Patient.identifier" />
      <sliceName value="PN" />
      <short value="Person Number | Identifiant de personne" />
      <max value="1" />
    </element>
    <element id="Patient.identifier:PN.use">
      <path value="Patient.identifier.use" />
      <binding>
        <strength value="required" />
        <valueSet value="http://hl7.org/fhir/ValueSet/identifier-use" />
      </binding>
    </element>
    <element id="Patient.identifier:PN.type">
      <path value="Patient.identifier.type" />
      <min value="1" />
      <fixedCodeableConcept>
        <coding>
          <system value="http://terminology.interopsante.org/CodeSystem/v2-0203" />
          <code value="PN" />
          <display value="Person name" />
        </coding>
      </fixedCodeableConcept>
      <binding>
        <strength value="extensible" />
        <valueSet value="http://interopsante.org/fhir/valueset/fr-patient-identifier-type" />
      </binding>
    </element>
    <element id="Patient.identifier:PN.system">
      <path value="Patient.identifier.system" />
      <definition value="Establishes the namespace for the value - that is, a OID that describes a set values that are unique." />
      <min value="1" />
    </element>
    <element id="Patient.identifier:PN.value">
      <path value="Patient.identifier.value" />
      <min value="1" />
    </element>
    <element id="Patient.identifier:RRI">
      <path value="Patient.identifier" />
      <sliceName value="RRI" />
      <short value="Regional Registry ID | Identifiant régional" />
      <max value="1" />
    </element>
    <element id="Patient.identifier:RRI.use">
      <path value="Patient.identifier.use" />
      <binding>
        <strength value="required" />
        <valueSet value="http://hl7.org/fhir/ValueSet/identifier-use" />
      </binding>
    </element>
    <element id="Patient.identifier:RRI.type">
      <path value="Patient.identifier.type" />
      <min value="1" />
      <fixedCodeableConcept>
        <coding>
          <system value="http://terminology.interopsante.org/CodeSystem/v2-0203" />
          <code value="RRI" />
          <display value="Regional registry ID" />
        </coding>
      </fixedCodeableConcept>
      <binding>
        <strength value="extensible" />
        <valueSet value="http://interopsante.org/fhir/valueset/fr-patient-identifier-type" />
      </binding>
    </element>
    <element id="Patient.identifier:RRI.system">
      <path value="Patient.identifier.system" />
      <definition value="Establishes the namespace for the value - that is, a OID that describes a set values that are unique." />
      <min value="1" />
    </element>
    <element id="Patient.identifier:RRI.value">
      <path value="Patient.identifier.value" />
      <min value="1" />
    </element>
    <element id="Patient.name">
      <path value="Patient.name" />
      <type>
        <code value="HumanName" />
        <profile value="http://www.interopsante.org/fhir/structuredefinition/datatype/fr-human-name" />
      </type>
    </element>
    <element id="Patient.name.given">
      <path value="Patient.name.given" />
      <short value="Given names (not always 'first'). Includes middle names | Prénoms" />
      <definition value="Given name. The first occurence of the given name represents the given name usualy used | La 1° occurrence de given représente le prénom utilisé habituellement." />
      <min value="1" />
    </element>
    <element id="Patient.name.prefix">
      <path value="Patient.name.prefix" />
      <binding>
        <strength value="extensible" />
        <valueSet value="http://interopsante.org/fhir/valueset/fr-civility" />
      </binding>
    </element>
    <element id="Patient.name.suffix">
      <path value="Patient.name.suffix" />
      <binding>
        <strength value="extensible" />
        <valueSet value="http://interopsante.org/fhir/valueset/fr-title" />
      </binding>
    </element>
    <element id="Patient.telecom">
      <path value="Patient.telecom" />
      <type>
        <code value="ContactPoint" />
        <profile value="http://www.interopsante.org/fhir/structuredefinition/datatype/fr-contact-point" />
      </type>
    </element>
    <element id="Patient.gender">
      <path value="Patient.gender" />
      <min value="1" />
      <binding>
        <strength value="required" />
        <valueSet value="http://hl7.org/fhir/ValueSet/administrative-gender" />
      </binding>
    </element>
    <element id="Patient.address">
      <path value="Patient.address" />
      <type>
        <code value="Address" />
        <profile value="http://www.interopsante.org/fhir/structuredefinition/datatype/fr-address" />
      </type>
    </element>
    <element id="Patient.contact.extension">
      <path value="Patient.contact.extension" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="url" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Patient.contact.extension:contactIdentifier">
      <path value="Patient.contact.extension" />
      <sliceName value="contactIdentifier" />
      <type>
        <code value="Extension" />
        <profile value="http://www.interopsante.org/fhir/structuredefinition/contact/fr-contact-identifier" />
      </type>
    </element>
    <element id="Patient.contact.extension:comment">
      <path value="Patient.contact.extension" />
      <sliceName value="comment" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://www.interopsante.org/fhir/structuredefinition/fr-comment" />
      </type>
    </element>
    <element id="Patient.contact.relationship">
      <path value="Patient.contact.relationship" />
      <min value="1" />
      <binding>
        <strength value="extensible" />
        <valueSet value="http://interopsante.org/fhir/valueset/fr-contact-relationship" />
      </binding>
    </element>
    <element id="Patient.contact.name">
      <path value="Patient.contact.name" />
      <type>
        <code value="HumanName" />
        <profile value="http://www.interopsante.org/fhir/structuredefinition/datatype/fr-human-name" />
      </type>
    </element>
    <element id="Patient.contact.telecom">
      <path value="Patient.contact.telecom" />
      <type>
        <code value="ContactPoint" />
        <profile value="http://www.interopsante.org/fhir/structuredefinition/datatype/fr-contact-point" />
      </type>
    </element>
    <element id="Patient.generalPractitioner">
      <path value="Patient.generalPractitioner" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://interopsante.org/fhir/structuredefinition/resource/fr-organization" />
        <targetProfile value="http://interopsante.org/fhir/structuredefinition/resource/fr-practitioner" />
        <targetProfile value="http://www.interopsante.org/fhir/structuredefinition/fr-practitioner-role-exercice" />
        <targetProfile value="http://interopsante.org/fhir/StructureDefinition/fr-practitioner-role-profession" />
      </type>
    </element>
    <element id="Patient.managingOrganization">
      <path value="Patient.managingOrganization" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://interopsante.org/fhir/structuredefinition/resource/fr-organization" />
      </type>
    </element>
    <element id="Patient.link.other">
      <path value="Patient.link.other" />
      <type>
        <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy">
          <valueBoolean value="false" />
        </extension>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" />
        <targetProfile value="http://www.interopsante.org/fhir/structuredefinition/resource/fr-patient" />
      </type>
    </element>
    <element id="Patient.link.type">
      <path value="Patient.link.type" />
      <binding>
        <strength value="required" />
        <valueSet value="http://hl7.org/fhir/ValueSet/link-type" />
      </binding>
    </element>
  </differential>
</StructureDefinition>