Module: Extensions::HL7::Segments::PID::ClassMethods

Defined in:
lib/core_ext/segments/pid.rb

Instance Method Summary collapse

Instance Method Details

#descriptionObject



71
72
73
# File 'lib/core_ext/segments/pid.rb', line 71

def description
  "Patient Identification"
end

#field_description(field_index) ⇒ Object



75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# File 'lib/core_ext/segments/pid.rb', line 75

def field_description(field_index)
  [
    "Set Id - Pid",
    "Patient Id",
    "Patient Identifier List",
    "Alternate Patient Id - Pid",
    "Patient Name",
    "Mother's Maiden Name",
    "Date/Time Of Birth",
    "Administrative Sex",
    "Patient Alias",
    "Race",
    "Patient Address",
    "County Code",
    "Phone Number - Home",
    "Phone Number - Business",
    "Primary Language",
    "Marital Status",
    "Religion",
    "Patient Account Number",
    "Ssn Number - Patient",
    "Driver's License Number - Patient",
    "Mother's Identifier",
    "Ethnic Group",
    "Birth Place",
    "Multiple Birth Indicator",
    "Birth Order",
    "Citizenship",
    "Veterans Military Status",
    "Nationality",
    "Patient Death Date And Time",
    "Patient Death Indicator",
    "Identity Unknown Indicator",
    "Identity Reliability Code",
    "Last Update Date/Time",
    "Last Update Facility",
    "Species Code",
    "Breed Code",
    "Strain",
    "Production Class Code",
    "Tribal Citizenship",
    "Patient Telecommunication Information"
  ][field_index-1]
end

#is_required?Boolean

Returns:

  • (Boolean)


67
68
69
# File 'lib/core_ext/segments/pid.rb', line 67

def is_required?
  true
end