PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.omop@1.0.0-ballot
    http://hl7.org/fhir/uv/omop/StructureDefinition/VisitDetail
description: 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.
package_name: hl7.fhir.uv.omop
derivation: specialization
name: VisitDetail
type: http://hl7.org/fhir/uv/omop/StructureDefinition/VisitDetail
elements:
  visit_detail_type_concept_id: {type: code, short: Visit Detail Type, index: 7}
  visit_detail_id: {type: integer, short: Visit Detail Identifier, index: 0}
  visit_detail_concept_id: {type: code, short: Visit Detail, index: 2}
  visit_detail_source_concept_id: {type: code, short: Visit Detail Source Concept, index: 11}
  visit_detail_start_datetime: {type: dateTime, short: Visit Detail Start Datetime, index: 4}
  admitted_from_concept_id: {type: code, short: Admitted From, index: 12}
  visit_occurrence_id:
    type: Reference
    short: Visit Occurrence
    refers: ['http://hl7.org/fhir/uv/omop/StructureDefinition/VisitOccurrence']
    index: 18
  person_id:
    type: Reference
    short: Person
    refers: ['http://hl7.org/fhir/uv/omop/StructureDefinition/Person']
    index: 1
  preceding_visit_detail_id:
    type: Reference
    short: Preceding Visit
    refers: ['http://hl7.org/fhir/uv/omop/StructureDefinition/VisitDetail']
    index: 16
  visit_detail_end_datetime: {type: dateTime, short: Visit Detail End Datetime, index: 6}
  provider_id:
    type: Reference
    short: Provider
    refers: ['http://hl7.org/fhir/uv/omop/StructureDefinition/Provider']
    index: 8
  visit_detail_source_value: {type: string, short: Visit Detail Source Value, index: 10}
  parent_visit_detail_id:
    type: Reference
    short: Parent Visit
    refers: ['http://hl7.org/fhir/uv/omop/StructureDefinition/VisitDetail']
    index: 17
  discharged_to_concept_id: {type: code, short: Discharged To, index: 15}
  admitted_from_source_value: {type: string, short: Admitted From Source Value, index: 13}
  visit_detail_start_date: {type: date, short: Visit Detail Start Date, index: 3}
  care_site_id:
    type: Reference
    short: Care Site
    refers: ['http://hl7.org/fhir/uv/omop/StructureDefinition/CareSite']
    index: 9
  discharged_to_source_value: {type: string, short: Discharged To Source Value, index: 14}
  visit_detail_end_date: {type: date, short: Visit Detail End Date, index: 5}
package_version: 1.0.0-ballot
class: logical
kind: logical
url: http://hl7.org/fhir/uv/omop/StructureDefinition/VisitDetail
base: http://hl7.org/fhir/StructureDefinition/Base
version: 1.0.0-ballot
required: [person_id, visit_detail_concept_id, visit_detail_end_date, visit_detail_id, visit_detail_start_date, visit_detail_type_concept_id, visit_occurrence_id]