Before I pursue that I want to check with this forum to see if anyone could tell me if it’s possible to identify the first instance within the repetitions in the field that contained a value which subsequent repetitions may also contain.
Here’s an example of the STF-10 which lists phone numbers for the practitioner:
|703) 359-8640^^CO~VSA^^^^^^(703) 359-8640^^CO~VSA^^^^^^(703) 359-8640^^CO~VSA^^^^^^(703) 359-8640^^CO~VSA^^^^^^(703) 359-8640^^CO~VSA^^^^^^(703) 359-8640^^CO~^^^^^^(703) 359-8640^^CO~^^^^^^(703) 359-8640^^CO~^^^^^^(703) 591-6104^^CF~VSA^^^^^^(703)259-6333^^CF~VSA^^^^^^(703) 259-6333^^CF~VSA^^^^^^(703) 591-6105^^CF~VSA^^^^^^(703) 591-6105^^CF~VSA^^^^^^(703) 591-6105^^CF~^^^^^^(703) 591-6104^^CF~^^^^^^(703) 591-6104^^CF~^^^^^^(703)620-4374&U^703-0000&U^CH~^^^^^^83708^^CP|
The MSOW spec states that the Office numbers will be identified as “CO” and the Fax numbers will be identified as “CF”. The spec also states that the first occurance of the “CO” value will be the “primary” office phone number and then will follow any number of other repetitions with a “CO” value. Then, the first occurance of a “CF” value would be the primary fax number – followed by any number of other repetitions with a “CF” identifier.
The problem is that each practitioner may have a different number of office phone numbers and/or fax numbers – so it will never be possible to identify a discreet iteration instance that the fax number will come in – plus the “CF” identifier is not unique.
So my question is this: Is there a way, while iterating, to find the “first” (and only the first) instance of the “CF” identifier and then be able to copy that phone number to a well deserved home in the outbound message?
If there is, please let me know.
If there is not, we will pay extra money to get a unique identifier to appear where we need it.
Thanks!
Tom Arrowsmith