{
  "resourceType": "StructureDefinition",
  "id": "c87d4900-db22-422d-9400-3f954aa5185d",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2018-11-13T14:01:34.299+00:00"
  },
  "url": "http://www.interopsante.org/fhir/structuredefinition/resource/fr-encounter",
  "version": "1.0",
  "name": "fr-encounter",
  "status": "active",
  "date": "2018-11-13T14:01:31.9773415Z",
  "publisher": "InteropSanté",
  "contact": [
    {
      "name": "François Macary/Isabelle Gibaud",
      "telecom": [
        {
          "system": "email",
          "value": "francois.macary@phast.fr"
        }
      ]
    }
  ],
  "description": "This profil constrains the Encounter resource to represent either the patient visit or admission or the various movements that compose the patient stay. | Ce profil de la ressource Encounter sert à la fois à définir la venue dans l'établissement et à représenter les mouvements du patient qui découpent cette venue.",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Encounter",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Encounter",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Encounter",
        "path": "Encounter",
        "short": "An interaction during which services are provided to the patient | Venue - mouvement d'un patient",
        "definition": "An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient | Interaction entre le patient et les professionnels de santé au cours de sa venue à l'hôpital et pendant le séjour du patient dans les différents services d'hospitalisation."
      },
      {
        "id": "Encounter.extension",
        "path": "Encounter.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Encounter.extension:estimated-discharge-date",
        "path": "Encounter.extension",
        "sliceName": "estimated-discharge-date",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://www.interopsante.org/fhir/structuredefinition/encounter/fr-estimated-discharge-date"
          }
        ]
      },
      {
        "id": "Encounter.identifier",
        "path": "Encounter.identifier",
        "short": "Identifier(s) by which this encounter is known | identifiant de la rencontre",
        "definition": "Identifier(s) by which this encounter is known.\r\nCet élément est multiévalué (pour ne pas bloquer les implémentations, car il arrive sur le terrain qu'il y ait plusieurs id pour une même admission, mais cette situation est considérée comme une anomalie)",
        "min": 1
      },
      {
        "id": "Encounter.identifier.type",
        "path": "Encounter.identifier.type",
        "min": 1,
        "binding": {
          "strength": "extensible",
          "description": "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose | Type d'identifiant (admission ou de mouvement lors d'une hospitalisation) (JdV à définir)",
          "valueSetUri": "http://www.interopsante.org/fhir/valueset/fr-encounter-identifier-type"
        }
      },
      {
        "id": "Encounter.identifier.system",
        "path": "Encounter.identifier.system",
        "short": "The namespace for the identifier value | namespace de l'identifiant",
        "definition": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique | L'identifiant de la rencontre ou du mouvement sont gérés par l'établissement hospitalier qui acceuille le patient. Le namespace est construit avec la racine d'identification des structures du GIP-CPS (ASIP) suivi du n° FINESS de l'établissement.",
        "min": 1,
        "fixedUri": "1.2.250.1.71.4.2.2.n°FINESS"
      },
      {
        "id": "Encounter.identifier.value",
        "path": "Encounter.identifier.value",
        "min": 1
      },
      {
        "id": "Encounter.identifier.assigner",
        "path": "Encounter.identifier.assigner",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://interopsante.org/fhir/structuredefinition/resource/fr-organization"
          }
        ]
      },
      {
        "id": "Encounter.class",
        "path": "Encounter.class",
        "binding": {
          "strength": "extensible",
          "valueSetUri": "http://terminology.hl7.org/ValueSet/v3-ActEncounterCode"
        }
      },
      {
        "id": "Encounter.class.system",
        "path": "Encounter.class.system",
        "min": 1
      },
      {
        "id": "Encounter.class.code",
        "path": "Encounter.class.code",
        "min": 1
      },
      {
        "id": "Encounter.type",
        "path": "Encounter.type",
        "binding": {
          "strength": "example",
          "valueSetUri": "http://interopsante.org/fhir/valueset/fr-encounter-type"
        }
      },
      {
        "id": "Encounter.subject",
        "path": "Encounter.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group"
          },
          {
            "code": "Reference",
            "targetProfile": "http://www.interopsante.org/fhir/structuredefinition/resource/fr-patient"
          }
        ]
      },
      {
        "id": "Encounter.participant",
        "path": "Encounter.participant",
        "short": "List of participants involved in the encounter | Liste des personnes impliquées dans la rencontre",
        "definition": "The list of people responsible for providing the service | Liste des personnes responsables de la fourniture du service lors de la rencontre avec le patient."
      },
      {
        "id": "Encounter.participant.individual",
        "path": "Encounter.participant.individual",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://interopsante.org/fhir/structuredefinition/resource/fr-practitioner"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
          }
        ]
      },
      {
        "id": "Encounter.appointment",
        "path": "Encounter.appointment",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://www.interopsante.org/fhir/structuredefinition/resource/fr-appointment"
          }
        ]
      },
      {
        "id": "Encounter.period",
        "path": "Encounter.period",
        "min": 1
      },
      {
        "id": "Encounter.account",
        "path": "Encounter.account",
        "max": "1"
      },
      {
        "id": "Encounter.hospitalization.preAdmissionIdentifier",
        "path": "Encounter.hospitalization.preAdmissionIdentifier",
        "short": "Pre-admission identifier | Identifiant de pré-admission"
      },
      {
        "id": "Encounter.hospitalization.preAdmissionIdentifier.type",
        "path": "Encounter.hospitalization.preAdmissionIdentifier.type",
        "min": 1,
        "binding": {
          "strength": "extensible",
          "valueSetUri": "http://www.interopsante.org/fhir/valueset/fr-encounter-identifier-type"
        }
      },
      {
        "id": "Encounter.hospitalization.preAdmissionIdentifier.system",
        "path": "Encounter.hospitalization.preAdmissionIdentifier.system",
        "min": 1,
        "fixedUri": "1.2.250.1.71.4.2.2.n°FINESS"
      },
      {
        "id": "Encounter.hospitalization.preAdmissionIdentifier.value",
        "path": "Encounter.hospitalization.preAdmissionIdentifier.value",
        "min": 1
      },
      {
        "id": "Encounter.hospitalization.preAdmissionIdentifier.assigner",
        "path": "Encounter.hospitalization.preAdmissionIdentifier.assigner",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://interopsante.org/fhir/structuredefinition/resource/fr-organization"
          }
        ]
      },
      {
        "id": "Encounter.hospitalization.origin",
        "path": "Encounter.hospitalization.origin",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://www.interopsante.org/fhir/structuredefinition/resource/fr-location"
          }
        ]
      },
      {
        "id": "Encounter.hospitalization.reAdmission",
        "path": "Encounter.hospitalization.reAdmission",
        "binding": {
          "strength": "example",
          "description": "the resaon of re-admission of this hospitalization encounter | Raison de la ré-admission du patient."
        }
      },
      {
        "id": "Encounter.hospitalization.destination",
        "path": "Encounter.hospitalization.destination",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://www.interopsante.org/fhir/structuredefinition/resource/fr-location"
          }
        ]
      },
      {
        "id": "Encounter.hospitalization.dischargeDisposition",
        "path": "Encounter.hospitalization.dischargeDisposition",
        "binding": {
          "strength": "example",
          "valueSetReference": {
            "reference": "http://interopsante.org/fhir/valueset/fr-encounter-discharge-disposition"
          }
        }
      },
      {
        "id": "Encounter.location.location",
        "path": "Encounter.location.location",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://www.interopsante.org/fhir/structuredefinition/resource/fr-location"
          }
        ]
      },
      {
        "id": "Encounter.serviceProvider",
        "path": "Encounter.serviceProvider",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://interopsante.org/fhir/structuredefinition/resource/fr-organization"
          }
        ]
      },
      {
        "id": "Encounter.partOf",
        "path": "Encounter.partOf",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://www.interopsante.org/fhir/structuredefinition/resource/fr-encounter"
          }
        ]
      }
    ]
  }
}