Clarification on PH vs CP in NK1.5 Phone Number

7 views
Skip to first unread message

SHANNU

unread,
Nov 24, 2025, 1:39:21 AMNov 24
to HL7v2 Immunization Testing
Hello Team,
I have a test story with two guardians (screenshot attached). Both have "Phone Number".
But in the NIST tool example outout message one becomes PH and other CP.

NK1|1|Richardson^Maria^Elizabeth^^^^L|MTH^Mother^HL70063|543 Blount Drive^^Bozeman^MT^59715^USA^P|^PRN^PH^^^406^5557690  
NK1|2|Richardson^John^William^^^^L|FTH^Father^HL70063|543 Blount Drive^^Bozeman^MT^59715^USA^P|^PRN^CP^^^406^5558299
  

  • On what basis is one phone tagged as PH (Primary/Home) and the other as CP (Cell/Personal)?

  • Is this defined by a rule in NK5.3, or is it just an arbitrary choice in the test story?

  • For my own test stories, should I explicitly assign PH/CP, or does the tool decide automatically?

Best regards,

Shanmukh

Query on CP and PH.png

Snelick, Robert D. (Fed)

unread,
Nov 24, 2025, 9:13:04 AMNov 24
to SHANNU, HL7v2 Immunization Testing

Hi Shanmukh,

 

It is arbitrary in the sense that we picked one instance of NK1-5 to support PH and another to support CP. The test case is checking to see if your implementation can support both.

 

NK1-5 requires that the system be able to support the bound code set in general. So in real world messages any combination is valid. Note, if you were to make both CP in the test case, the tool would indicate an error for the one that should be PH (in the test case validation). However, if you validate using context-free, the message will pass. The test cases are designed to test system capabilities.

 

To further examine what the tool is looking for see the message content and the meaning of the test categories.

 

Regards,

Rob

NIST

 

 

--
You received this message because you are subscribed to the Google Groups "HL7v2 Immunization Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hl7v2-immunization-...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/hl7v2-immunization-testing/002801e8-2ef6-4d41-b2ea-7de9ab162228n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages