FHIR Chat · Issue with Company ID · v2 to FHIR

Stream: v2 to FHIR

Topic: Issue with Company ID


view this post on Zulip Ankita Srivastava (Nov 24 2021 at 10:06):

Hello All,
IN1-3 & AUT-2 both are denoting Company ID however, datatype is different. IN1-3 is of CX datatype & AUT-2 is of CWE datatype.
Any specific reason for this.
Thanks

view this post on Zulip Riki Merrick (Nov 24 2021 at 14:39):

Yes unfortunately that has to do with when these elements were created - at some point the differentiation between identifiers (pointing to instances) and codes (pointing to kinds of things) wasn't as clearly made - the correct datatype for any identifier (that points to an instance - think VIN number of the car) should be an EI (if the type of identifier is always the same) or a CX (if the type of identifier could change), but for kinds of things - think make and model of a car it should be CWE (or CNE, if you have every kind covered).

view this post on Zulip Ankita Srivastava (Nov 25 2021 at 15:13):

Thank you @Riki Merrick for the details and I completely agree with you. However, as per spec, I saw both fields have same value in sample example, due to which I am confused. If, we are expecting same values then ideally datatype should also be same.


Last updated: Apr 12 2022 at 19:14 UTC