Interface: PatientRecord
The P (patient) record.
Safety: the practice-assigned ID (field 3) and the laboratory-assigned ID (field 4) are modeled as distinct fields and never collapsed - conflating them is the primary result-misfiling path.
Extends
RecordBase
Properties
birthDate?
readonlyoptionalbirthDate?:AstmDate
Field 8 - birthdate (YYYYMMDDHHMMSS, precision-preserving; a truncated run sets truncated).
fields
readonlyfields: readonlyAstmField[]
The record's fields. fields[0] is the type-letter field; data fields are 1-indexed after it.
Inherited from
RecordBase.fields
laboratoryAssignedId?
readonlyoptionallaboratoryAssignedId?:string
Field 4 - laboratory-assigned patient ID. Distinct from PatientRecord.practiceAssignedId.
mothersMaidenName?
readonlyoptionalmothersMaidenName?:string
Field 7 - mother's maiden name, surfaced verbatim (a surname component; PHI).
name?
readonlyoptionalname?:PatientName
Field 6 - patient name (Last^First^Middle).
patientIdThree?
readonlyoptionalpatientIdThree?:string
Field 5 - a third patient identifier (e.g. a national/alternate ID), surfaced verbatim. Kept separate from the practice- and laboratory-assigned IDs - the three never collapse into one.
practiceAssignedId?
readonlyoptionalpracticeAssignedId?:string
Field 3 - practice-assigned patient ID. Distinct from PatientRecord.laboratoryAssignedId.
recordIndex
readonlyrecordIndex:number
0-based ordinal of the record within the message.
Inherited from
RecordBase.recordIndex
seq?
readonlyoptionalseq?:string
Field 2 - sequence number.
sex?
readonlyoptionalsex?:string
Field 9 - sex, surfaced raw (M/F/U/vendor value).
type
readonlytype:"P"
The record's raw type letter.
Overrides
RecordBase.type