Guide d'implémentation du GT Standards et Interopérabilité pour les EDS
0.1.0 - ci-build France flag

Guide d'implémentation du GT Standards et Interopérabilité pour les EDS - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Logical Model: OMOPVisitDetail - TTL Profile

Draft as of 2024-10-08

TTL representation of the OMOPVisitDetail logical model.

Raw ttl | Download

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:StructureDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "OMOPVisitDetail"] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition OMOPVisitDetail</b></p><a name=\"OMOPVisitDetail\"> </a><a name=\"hcOMOPVisitDetail\"> </a><a name=\"OMOPVisitDetail-fr-FR\"> </a><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the element can appear in the instance\">Card.</a></th><th style=\"width: 100px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC\" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-OMOPVisitDetail-definitions.html#OMOPVisitDetail\" title=\"The VISIT_DETAIL table is an optional table used to represents details of each record in the parent VISIT_OCCURRENCE table. A good example of this would be the movement between units in a hospital during an inpatient stay or claim lines associated with a one insurance claim. For every record in the VISIT_OCCURRENCE table there may be 0 or more records in the VISIT_DETAIL table with a 1:n relationship where n may be 0. The VISIT_DETAIL table is structurally very similar to VISIT_OCCURRENCE table and belongs to the visit domain.\">OMOPVisitDetail</a><a name=\"OMOPVisitDetail\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://build.fhir.org/types.html#Base\">Base</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Visit Detail OMOP Table<br/><span style=\"font-weight:bold\">Instances of this logical model are not marked to be the target of a Reference</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-OMOPVisitDetail-definitions.html#OMOPVisitDetail.visit-detail-id\" title=\"Use this to identify unique interactions between a person and the health care system. This identifier links across the other CDM event tables to associate events with a visit detail.\">visit_detail_id</a><a name=\"OMOPVisitDetail.visit_detail_id\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#integer\">integer</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Visit Detail Identifier</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-OMOPVisitDetail-definitions.html#OMOPVisitDetail.person-id\" title=\"Person\">person_id</a><a name=\"OMOPVisitDetail.person_id\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-OMOPPerson.html\">Person OMOP Table</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Person</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-OMOPVisitDetail-definitions.html#OMOPVisitDetail.visit-detail-concept-id\" title=\"This field contains a concept id representing the kind of visit detail, like inpatient or outpatient. All concepts in this field should be standard and belong to the Visit domain.\">visit_detail_concept_id</a><a name=\"OMOPVisitDetail.visit_detail_concept_id\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-OMOPConcept.html\">Concept OMOP Table</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Visit Detail</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-OMOPVisitDetail-definitions.html#OMOPVisitDetail.visit-detail-start-date\" title=\"This is the date of the start of the encounter. This may or may not be equal to the date of the Visit the Visit Detail is associated with.\">visit_detail_start_date</a><a name=\"OMOPVisitDetail.visit_detail_start_date\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#date\">date</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Visit Detail Start Date</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-OMOPVisitDetail-definitions.html#OMOPVisitDetail.visit-detail-start-datetime\" title=\"Visit Detail Start Datetime\">visit_detail_start_datetime</a><a name=\"OMOPVisitDetail.visit_detail_start_datetime\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#dateTime\">dateTime</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Visit Detail Start Datetime</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-OMOPVisitDetail-definitions.html#OMOPVisitDetail.visit-detail-end-date\" title=\"This the end date of the patient-provider interaction.  If a Person is still an inpatient in the hospital at the time of the data extract and does not have a visit_end_date, then set the visit_end_date to the date of the data pull.\">visit_detail_end_date</a><a name=\"OMOPVisitDetail.visit_detail_end_date\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#date\">date</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Visit Detail End Date</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-OMOPVisitDetail-definitions.html#OMOPVisitDetail.visit-detail-end-datetime\" title=\"If a Person is still an inpatient in the hospital at the time of the data extract and does not have a visit_end_datetime, then set the visit_end_datetime to the datetime of the data pull.\">visit_detail_end_datetime</a><a name=\"OMOPVisitDetail.visit_detail_end_datetime\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#dateTime\">dateTime</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Visit Detail End Datetime</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-OMOPVisitDetail-definitions.html#OMOPVisitDetail.visit-detail-type-concept-id\" title=\"Use this field to understand the provenance of the visit detail record, or where the record comes from.\">visit_detail_type_concept_id</a><a name=\"OMOPVisitDetail.visit_detail_type_concept_id\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-OMOPConcept.html\">Concept OMOP Table</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Visit Detail Type</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-OMOPVisitDetail-definitions.html#OMOPVisitDetail.provider-id\" title=\"There will only be one provider per  **visit** record and the ETL document should clearly state how they were chosen (attending, admitting, etc.). This is a typical reason for leveraging the VISIT_DETAIL table as even though each VISIT_DETAIL record can only have one provider, there is no limit to the number of VISIT_DETAIL records that can be associated to a VISIT_OCCURRENCE record.\">provider_id</a><a name=\"OMOPVisitDetail.provider_id\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-OMOPProvider.html\">Provider OMOP Table</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Provider</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-OMOPVisitDetail-definitions.html#OMOPVisitDetail.care-site-id\" title=\"This field provides information about the Care Site where the Visit Detail took place.\">care_site_id</a><a name=\"OMOPVisitDetail.care_site_id\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-OMOPCareSite.html\">CareSite OMOP Table</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Care Site</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-OMOPVisitDetail-definitions.html#OMOPVisitDetail.visit-detail-source-value\" title=\"This field houses the verbatim value from the source data representing the kind of visit detail that took place (inpatient, outpatient, emergency, etc.)\">visit_detail_source_value</a><a name=\"OMOPVisitDetail.visit_detail_source_value\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Visit Detail Source Value</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-OMOPVisitDetail-definitions.html#OMOPVisitDetail.visit-detail-source-concept-id\" title=\"Visit Detail Source Concept\">visit_detail_source_concept_id</a><a name=\"OMOPVisitDetail.visit_detail_source_concept_id\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-OMOPConcept.html\">Concept OMOP Table</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Visit Detail Source Concept</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-OMOPVisitDetail-definitions.html#OMOPVisitDetail.admitted-from-concept-id\" title=\"Use this field to determine where the patient was admitted from. This concept is part of the visit domain and can indicate if a patient was admitted to the hospital from a long-term care facility, for example.\">admitted_from_concept_id</a><a name=\"OMOPVisitDetail.admitted_from_concept_id\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-OMOPConcept.html\">Concept OMOP Table</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Admitted From</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-OMOPVisitDetail-definitions.html#OMOPVisitDetail.admitted-from-source-value\" title=\"Admitted From Source Value\">admitted_from_source_value</a><a name=\"OMOPVisitDetail.admitted_from_source_value\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Admitted From Source Value</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-OMOPVisitDetail-definitions.html#OMOPVisitDetail.discharged-to-source-value\" title=\"Discharged To Source Value\">discharged_to_source_value</a><a name=\"OMOPVisitDetail.discharged_to_source_value\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Discharged To Source Value</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-OMOPVisitDetail-definitions.html#OMOPVisitDetail.discharged-to-concept-id\" title=\"Use this field to determine where the patient was discharged to after a visit. This concept is part of the visit domain and can indicate if a patient was transferred to another hospital or sent to a long-term care facility, for example.  It is assumed that a person is discharged to home therefore there is not a standard concept id for &quot;home&quot;.  Use concept id = 0 when a person is discharged to home.\">discharged_to_concept_id</a><a name=\"OMOPVisitDetail.discharged_to_concept_id\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-OMOPConcept.html\">Concept OMOP Table</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Discharged To</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-OMOPVisitDetail-definitions.html#OMOPVisitDetail.preceding-visit-detail-id\" title=\"Use this field to find the visit detail that occurred for the person prior to the given visit detail record. There could be a few days or a few years in between.\">preceding_visit_detail_id</a><a name=\"OMOPVisitDetail.preceding_visit_detail_id\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-OMOPVisitDetail.html\">Visit Detail OMOP Table</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Preceding Visit</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-OMOPVisitDetail-definitions.html#OMOPVisitDetail.parent-visit-detail-id\" title=\"Use this field to find the visit detail that subsumes the given visit detail record. This is used in the case that a visit detail record needs to be nested beyond the VISIT_OCCURRENCE/VISIT_DETAIL relationship.\">parent_visit_detail_id</a><a name=\"OMOPVisitDetail.parent_visit_detail_id\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-OMOPVisitDetail.html\">Visit Detail OMOP Table</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Parent Visit</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-OMOPVisitDetail-definitions.html#OMOPVisitDetail.visit-occurrence-id\" title=\"Use this field to link the VISIT_DETAIL record to its VISIT_OCCURRENCE.\">visit_occurrence_id</a><a name=\"OMOPVisitDetail.visit_occurrence_id\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-OMOPVisitOccurrence.html\">Visit Occurrence OMOP Table</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Visit Occurrence</td></tr>\r\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC\" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics"^^xsd:anyURI ] ;
fhir:value [ fhir:v "can-be-target" ]
  ] ) ; # 
  fhir:url [ fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPVisitDetail"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "OMOPVisitDetail"] ; # 
  fhir:title [ fhir:v "Visit Detail OMOP Table"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:date [ fhir:v "2024-10-08T09:22:03+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "ANS"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "ANS" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://esante.gouv.fr" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "The VISIT_DETAIL table is an optional table used to represents details of each record in the parent VISIT_OCCURRENCE table. A good example of this would be the movement between units in a hospital during an inpatient stay or claim lines associated with a one insurance claim. For every record in the VISIT_OCCURRENCE table there may be 0 or more records in the VISIT_DETAIL table with a 1:n relationship where n may be 0. The VISIT_DETAIL table is structurally very similar to VISIT_OCCURRENCE table and belongs to the visit domain."] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
fhir:code [ fhir:v "FR" ] ;
fhir:display [ fhir:v "France" ]     ] )
  ] ) ; # 
  fhir:fhirVersion [ fhir:v "4.0.1"] ; # 
  fhir:kind [ fhir:v "logical"] ; # 
  fhir:abstract [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:type [ fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPVisitDetail"^^xsd:anyURI] ; # 
  fhir:baseDefinition [
fhir:v "http://hl7.org/fhir/StructureDefinition/Base"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/StructureDefinition/Base>
  ] ; # 
  fhir:derivation [ fhir:v "specialization"] ; # 
  fhir:snapshot [
    ( fhir:element [
fhir:id [ fhir:v "OMOPVisitDetail" ] ;
fhir:path [ fhir:v "OMOPVisitDetail" ] ;
fhir:short [ fhir:v "Visit Detail OMOP Table" ] ;
fhir:definition [ fhir:v "The VISIT_DETAIL table is an optional table used to represents details of each record in the parent VISIT_OCCURRENCE table. A good example of this would be the movement between units in a hospital during an inpatient stay or claim lines associated with a one insurance claim. For every record in the VISIT_OCCURRENCE table there may be 0 or more records in the VISIT_DETAIL table with a 1:n relationship where n may be 0. The VISIT_DETAIL table is structurally very similar to VISIT_OCCURRENCE table and belongs to the visit domain." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Base" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
fhir:isModifier [ fhir:v "false"^^xsd:boolean ]     ] [
fhir:id [ fhir:v "OMOPVisitDetail.visit-detail-id" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.visit_detail_id" ] ;
fhir:short [ fhir:v "Visit Detail Identifier" ] ;
fhir:definition [ fhir:v "Use this to identify unique interactions between a person and the health care system. This identifier links across the other CDM event tables to associate events with a visit detail." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "OMOPVisitDetail.visit_detail_id" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "integer"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.person-id" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.person_id" ] ;
fhir:short [ fhir:v "Person" ] ;
fhir:definition [ fhir:v "Person" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "OMOPVisitDetail.person_id" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPPerson"^^xsd:anyURI ;
fhir:link <https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPPerson>         ] )       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.visit-detail-concept-id" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.visit_detail_concept_id" ] ;
fhir:short [ fhir:v "Visit Detail" ] ;
fhir:definition [ fhir:v "This field contains a concept id representing the kind of visit detail, like inpatient or outpatient. All concepts in this field should be standard and belong to the Visit domain." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "OMOPVisitDetail.visit_detail_concept_id" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPConcept"^^xsd:anyURI ;
fhir:link <https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPConcept>         ] )       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.visit-detail-start-date" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.visit_detail_start_date" ] ;
fhir:short [ fhir:v "Visit Detail Start Date" ] ;
fhir:definition [ fhir:v "This is the date of the start of the encounter. This may or may not be equal to the date of the Visit the Visit Detail is associated with." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "OMOPVisitDetail.visit_detail_start_date" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "date"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.visit-detail-start-datetime" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.visit_detail_start_datetime" ] ;
fhir:short [ fhir:v "Visit Detail Start Datetime" ] ;
fhir:definition [ fhir:v "Visit Detail Start Datetime" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "OMOPVisitDetail.visit_detail_start_datetime" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "dateTime"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.visit-detail-end-date" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.visit_detail_end_date" ] ;
fhir:short [ fhir:v "Visit Detail End Date" ] ;
fhir:definition [ fhir:v "This the end date of the patient-provider interaction.  If a Person is still an inpatient in the hospital at the time of the data extract and does not have a visit_end_date, then set the visit_end_date to the date of the data pull." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "OMOPVisitDetail.visit_detail_end_date" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "date"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.visit-detail-end-datetime" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.visit_detail_end_datetime" ] ;
fhir:short [ fhir:v "Visit Detail End Datetime" ] ;
fhir:definition [ fhir:v "If a Person is still an inpatient in the hospital at the time of the data extract and does not have a visit_end_datetime, then set the visit_end_datetime to the datetime of the data pull." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "OMOPVisitDetail.visit_detail_end_datetime" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "dateTime"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.visit-detail-type-concept-id" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.visit_detail_type_concept_id" ] ;
fhir:short [ fhir:v "Visit Detail Type" ] ;
fhir:definition [ fhir:v "Use this field to understand the provenance of the visit detail record, or where the record comes from." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "OMOPVisitDetail.visit_detail_type_concept_id" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPConcept"^^xsd:anyURI ;
fhir:link <https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPConcept>         ] )       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.provider-id" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.provider_id" ] ;
fhir:short [ fhir:v "Provider" ] ;
fhir:definition [ fhir:v "There will only be one provider per  **visit** record and the ETL document should clearly state how they were chosen (attending, admitting, etc.). This is a typical reason for leveraging the VISIT_DETAIL table as even though each VISIT_DETAIL record can only have one provider, there is no limit to the number of VISIT_DETAIL records that can be associated to a VISIT_OCCURRENCE record." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "OMOPVisitDetail.provider_id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPProvider"^^xsd:anyURI ;
fhir:link <https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPProvider>         ] )       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.care-site-id" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.care_site_id" ] ;
fhir:short [ fhir:v "Care Site" ] ;
fhir:definition [ fhir:v "This field provides information about the Care Site where the Visit Detail took place." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "OMOPVisitDetail.care_site_id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPCareSite"^^xsd:anyURI ;
fhir:link <https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPCareSite>         ] )       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.visit-detail-source-value" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.visit_detail_source_value" ] ;
fhir:short [ fhir:v "Visit Detail Source Value" ] ;
fhir:definition [ fhir:v "This field houses the verbatim value from the source data representing the kind of visit detail that took place (inpatient, outpatient, emergency, etc.)" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "OMOPVisitDetail.visit_detail_source_value" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.visit-detail-source-concept-id" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.visit_detail_source_concept_id" ] ;
fhir:short [ fhir:v "Visit Detail Source Concept" ] ;
fhir:definition [ fhir:v "Visit Detail Source Concept" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "OMOPVisitDetail.visit_detail_source_concept_id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPConcept"^^xsd:anyURI ;
fhir:link <https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPConcept>         ] )       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.admitted-from-concept-id" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.admitted_from_concept_id" ] ;
fhir:short [ fhir:v "Admitted From" ] ;
fhir:definition [ fhir:v "Use this field to determine where the patient was admitted from. This concept is part of the visit domain and can indicate if a patient was admitted to the hospital from a long-term care facility, for example." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "OMOPVisitDetail.admitted_from_concept_id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPConcept"^^xsd:anyURI ;
fhir:link <https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPConcept>         ] )       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.admitted-from-source-value" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.admitted_from_source_value" ] ;
fhir:short [ fhir:v "Admitted From Source Value" ] ;
fhir:definition [ fhir:v "Admitted From Source Value" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "OMOPVisitDetail.admitted_from_source_value" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.discharged-to-source-value" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.discharged_to_source_value" ] ;
fhir:short [ fhir:v "Discharged To Source Value" ] ;
fhir:definition [ fhir:v "Discharged To Source Value" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "OMOPVisitDetail.discharged_to_source_value" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.discharged-to-concept-id" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.discharged_to_concept_id" ] ;
fhir:short [ fhir:v "Discharged To" ] ;
fhir:definition [ fhir:v "Use this field to determine where the patient was discharged to after a visit. This concept is part of the visit domain and can indicate if a patient was transferred to another hospital or sent to a long-term care facility, for example.  It is assumed that a person is discharged to home therefore there is not a standard concept id for \"home\".  Use concept id = 0 when a person is discharged to home." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "OMOPVisitDetail.discharged_to_concept_id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPConcept"^^xsd:anyURI ;
fhir:link <https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPConcept>         ] )       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.preceding-visit-detail-id" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.preceding_visit_detail_id" ] ;
fhir:short [ fhir:v "Preceding Visit" ] ;
fhir:definition [ fhir:v "Use this field to find the visit detail that occurred for the person prior to the given visit detail record. There could be a few days or a few years in between." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "OMOPVisitDetail.preceding_visit_detail_id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPVisitDetail"^^xsd:anyURI ;
fhir:link <https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPVisitDetail>         ] )       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.parent-visit-detail-id" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.parent_visit_detail_id" ] ;
fhir:short [ fhir:v "Parent Visit" ] ;
fhir:definition [ fhir:v "Use this field to find the visit detail that subsumes the given visit detail record. This is used in the case that a visit detail record needs to be nested beyond the VISIT_OCCURRENCE/VISIT_DETAIL relationship." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "OMOPVisitDetail.parent_visit_detail_id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPVisitDetail"^^xsd:anyURI ;
fhir:link <https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPVisitDetail>         ] )       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.visit-occurrence-id" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.visit_occurrence_id" ] ;
fhir:short [ fhir:v "Visit Occurrence" ] ;
fhir:definition [ fhir:v "Use this field to link the VISIT_DETAIL record to its VISIT_OCCURRENCE." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "OMOPVisitDetail.visit_occurrence_id" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPVisitOccurrence"^^xsd:anyURI ;
fhir:link <https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPVisitOccurrence>         ] )       ] )     ] )
  ] ; # 
  fhir:differential [
    ( fhir:element [
fhir:id [ fhir:v "OMOPVisitDetail" ] ;
fhir:path [ fhir:v "OMOPVisitDetail" ] ;
fhir:short [ fhir:v "Visit Detail OMOP Table" ] ;
fhir:definition [ fhir:v "The VISIT_DETAIL table is an optional table used to represents details of each record in the parent VISIT_OCCURRENCE table. A good example of this would be the movement between units in a hospital during an inpatient stay or claim lines associated with a one insurance claim. For every record in the VISIT_OCCURRENCE table there may be 0 or more records in the VISIT_DETAIL table with a 1:n relationship where n may be 0. The VISIT_DETAIL table is structurally very similar to VISIT_OCCURRENCE table and belongs to the visit domain." ]     ] [
fhir:id [ fhir:v "OMOPVisitDetail.visit-detail-id" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.visit_detail_id" ] ;
fhir:short [ fhir:v "Visit Detail Identifier" ] ;
fhir:definition [ fhir:v "Use this to identify unique interactions between a person and the health care system. This identifier links across the other CDM event tables to associate events with a visit detail." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "integer"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.person-id" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.person_id" ] ;
fhir:short [ fhir:v "Person" ] ;
fhir:definition [ fhir:v "Person" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPPerson"^^xsd:anyURI ;
fhir:link <https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPPerson>         ] )       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.visit-detail-concept-id" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.visit_detail_concept_id" ] ;
fhir:short [ fhir:v "Visit Detail" ] ;
fhir:definition [ fhir:v "This field contains a concept id representing the kind of visit detail, like inpatient or outpatient. All concepts in this field should be standard and belong to the Visit domain." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPConcept"^^xsd:anyURI ;
fhir:link <https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPConcept>         ] )       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.visit-detail-start-date" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.visit_detail_start_date" ] ;
fhir:short [ fhir:v "Visit Detail Start Date" ] ;
fhir:definition [ fhir:v "This is the date of the start of the encounter. This may or may not be equal to the date of the Visit the Visit Detail is associated with." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "date"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.visit-detail-start-datetime" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.visit_detail_start_datetime" ] ;
fhir:short [ fhir:v "Visit Detail Start Datetime" ] ;
fhir:definition [ fhir:v "Visit Detail Start Datetime" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "dateTime"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.visit-detail-end-date" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.visit_detail_end_date" ] ;
fhir:short [ fhir:v "Visit Detail End Date" ] ;
fhir:definition [ fhir:v "This the end date of the patient-provider interaction.  If a Person is still an inpatient in the hospital at the time of the data extract and does not have a visit_end_date, then set the visit_end_date to the date of the data pull." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "date"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.visit-detail-end-datetime" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.visit_detail_end_datetime" ] ;
fhir:short [ fhir:v "Visit Detail End Datetime" ] ;
fhir:definition [ fhir:v "If a Person is still an inpatient in the hospital at the time of the data extract and does not have a visit_end_datetime, then set the visit_end_datetime to the datetime of the data pull." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "dateTime"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.visit-detail-type-concept-id" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.visit_detail_type_concept_id" ] ;
fhir:short [ fhir:v "Visit Detail Type" ] ;
fhir:definition [ fhir:v "Use this field to understand the provenance of the visit detail record, or where the record comes from." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPConcept"^^xsd:anyURI ;
fhir:link <https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPConcept>         ] )       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.provider-id" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.provider_id" ] ;
fhir:short [ fhir:v "Provider" ] ;
fhir:definition [ fhir:v "There will only be one provider per  **visit** record and the ETL document should clearly state how they were chosen (attending, admitting, etc.). This is a typical reason for leveraging the VISIT_DETAIL table as even though each VISIT_DETAIL record can only have one provider, there is no limit to the number of VISIT_DETAIL records that can be associated to a VISIT_OCCURRENCE record." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPProvider"^^xsd:anyURI ;
fhir:link <https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPProvider>         ] )       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.care-site-id" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.care_site_id" ] ;
fhir:short [ fhir:v "Care Site" ] ;
fhir:definition [ fhir:v "This field provides information about the Care Site where the Visit Detail took place." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPCareSite"^^xsd:anyURI ;
fhir:link <https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPCareSite>         ] )       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.visit-detail-source-value" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.visit_detail_source_value" ] ;
fhir:short [ fhir:v "Visit Detail Source Value" ] ;
fhir:definition [ fhir:v "This field houses the verbatim value from the source data representing the kind of visit detail that took place (inpatient, outpatient, emergency, etc.)" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.visit-detail-source-concept-id" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.visit_detail_source_concept_id" ] ;
fhir:short [ fhir:v "Visit Detail Source Concept" ] ;
fhir:definition [ fhir:v "Visit Detail Source Concept" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPConcept"^^xsd:anyURI ;
fhir:link <https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPConcept>         ] )       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.admitted-from-concept-id" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.admitted_from_concept_id" ] ;
fhir:short [ fhir:v "Admitted From" ] ;
fhir:definition [ fhir:v "Use this field to determine where the patient was admitted from. This concept is part of the visit domain and can indicate if a patient was admitted to the hospital from a long-term care facility, for example." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPConcept"^^xsd:anyURI ;
fhir:link <https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPConcept>         ] )       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.admitted-from-source-value" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.admitted_from_source_value" ] ;
fhir:short [ fhir:v "Admitted From Source Value" ] ;
fhir:definition [ fhir:v "Admitted From Source Value" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.discharged-to-source-value" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.discharged_to_source_value" ] ;
fhir:short [ fhir:v "Discharged To Source Value" ] ;
fhir:definition [ fhir:v "Discharged To Source Value" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.discharged-to-concept-id" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.discharged_to_concept_id" ] ;
fhir:short [ fhir:v "Discharged To" ] ;
fhir:definition [ fhir:v "Use this field to determine where the patient was discharged to after a visit. This concept is part of the visit domain and can indicate if a patient was transferred to another hospital or sent to a long-term care facility, for example.  It is assumed that a person is discharged to home therefore there is not a standard concept id for \"home\".  Use concept id = 0 when a person is discharged to home." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPConcept"^^xsd:anyURI ;
fhir:link <https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPConcept>         ] )       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.preceding-visit-detail-id" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.preceding_visit_detail_id" ] ;
fhir:short [ fhir:v "Preceding Visit" ] ;
fhir:definition [ fhir:v "Use this field to find the visit detail that occurred for the person prior to the given visit detail record. There could be a few days or a few years in between." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPVisitDetail"^^xsd:anyURI ;
fhir:link <https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPVisitDetail>         ] )       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.parent-visit-detail-id" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.parent_visit_detail_id" ] ;
fhir:short [ fhir:v "Parent Visit" ] ;
fhir:definition [ fhir:v "Use this field to find the visit detail that subsumes the given visit detail record. This is used in the case that a visit detail record needs to be nested beyond the VISIT_OCCURRENCE/VISIT_DETAIL relationship." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPVisitDetail"^^xsd:anyURI ;
fhir:link <https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPVisitDetail>         ] )       ] )     ] [
fhir:id [ fhir:v "OMOPVisitDetail.visit-occurrence-id" ] ;
fhir:path [ fhir:v "OMOPVisitDetail.visit_occurrence_id" ] ;
fhir:short [ fhir:v "Visit Occurrence" ] ;
fhir:definition [ fhir:v "Use this field to link the VISIT_DETAIL record to its VISIT_OCCURRENCE." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
        ( fhir:targetProfile [
fhir:v "https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPVisitOccurrence"^^xsd:anyURI ;
fhir:link <https://interop.esante.gouv.fr/ig/fhir/eds/StructureDefinition/OMOPVisitOccurrence>         ] )       ] )     ] )
  ] . #