ex_hl7 v1.0.0 HL7.Segment.Default.PID

3.4.2 PID - patient identification 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.PID{
  __segment__: term(),
  assigning_authority_id: :string.t(),
  assigning_authority_universal_id: :string.t(),
  assigning_authority_universal_id_type: :string.t(),
  first_name: :string.t(),
  id_type: :string.t(),
  last_name: :string.t(),
  patient_document_id: :string.t(),
  patient_document_id_type: :string.t(),
  patient_id: :string.t(),
  set_id: integer()
}

Link to this section Functions

Return the segment's ID

Link to this function

new()

new() :: %HL7.Segment.Default.PID{
  __segment__: term(),
  assigning_authority_id: term(),
  assigning_authority_universal_id: term(),
  assigning_authority_universal_id_type: term(),
  first_name: term(),
  id_type: term(),
  last_name: term(),
  patient_document_id: term(),
  patient_document_id_type: term(),
  patient_id: term(),
  set_id: 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