ex_hl7 v1.0.0 HL7.Segment.Default.PV1

3.4.3 PV1 - patient visit segment

Link to this section Summary

Functions

Return the segment's ID

Create a new segment of this type

Return the segment's specification

Link to this section Types

Link to this type

t()

t() :: %HL7.Segment.Default.PV1{
  __segment__: term(),
  admission_type: binary(),
  admit_datetime: NaiveDateTime.t(),
  attending_doctor_authority: :string.t(),
  attending_doctor_first_name: :string.t(),
  attending_doctor_id: :string.t(),
  attending_doctor_last_name: :string.t(),
  discharge_datetime: NaiveDateTime.t(),
  discharge_diposition: binary(),
  hospital_service: binary(),
  patient_class: binary(),
  patient_location_facility: :string.t(),
  patient_point_of_care: :string.t(),
  readmission_indicator: binary(),
  referring_doctor_authority: :string.t(),
  referring_doctor_first_name: :string.t(),
  referring_doctor_id: :string.t(),
  referring_doctor_last_name: :string.t(),
  set_id: integer(),
  visit_indicator: binary()
}

Link to this section Functions

Return the segment's ID

Link to this function

new()

new() :: %HL7.Segment.Default.PV1{
  __segment__: term(),
  admission_type: term(),
  admit_datetime: term(),
  attending_doctor_authority: term(),
  attending_doctor_first_name: term(),
  attending_doctor_id: term(),
  attending_doctor_last_name: term(),
  discharge_datetime: term(),
  discharge_diposition: term(),
  hospital_service: term(),
  patient_class: term(),
  patient_location_facility: term(),
  patient_point_of_care: term(),
  readmission_indicator: term(),
  referring_doctor_authority: term(),
  referring_doctor_first_name: term(),
  referring_doctor_id: term(),
  referring_doctor_last_name: term(),
  set_id: term(),
  visit_indicator: term()
}

Create a new segment of this type

Link to this function

spec()

spec() :: %{required(HL7.Type.seq()) => HL7.Type.field_spec()}

Return the segment's specification