ex_hl7 v0.3.0 HL7.Composite.CX

2.9.12 CX - extended composite ID with check digit

Components:

  • id (ST)
  • check_digit (ST)
  • check_digit_scheme (ID)
  • assigning_authority (HD)
  • id_type (ID)
  • assigning_facility (HD)
  • effective_date (DT)
  • expiration_date (DT)

Examples

|1234567^4^M11^ADT01^MR^University Hospital|

Summary

Functions

Create a new composite field

Types

t :: %HL7.Composite.CX{assigning_authority: HL7.Composite.HD.t, assigning_facility: HL7.Composite.HD.t, check_digit: binary, check_digit_scheme: binary, effective_date: :calendar.date, expiration_date: :calendar.date, id: binary, id_type: binary}

Functions

new()

Specs

new :: t

Create a new composite field