CH Core (R4)
3.0.0 - STU3 Switzerland flag

This page is part of the CH Core (R4) (v3.0.0: STU 3) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

Data Type Profile: EPRSPIDIdentifier - Detailed Descriptions

Active as of 2022-04-12

Definitions for the ch-core-epr-spid-identifier data type profile.

Guidance on how to interpret the contents of this table can be found here.

1. Identifier
2. Identifier.system
Control10..1
Fixed Valueurn:oid:2.16.756.5.30.1.127.3.10.3
3. Identifier.value
Control10..1
InvariantsDefined on this element
epr-spid-length: EPR-SPID must be exactly 18 characters long (: value.matches('^[0-9]{18}$'))
epr-spid-modulus-10: EPR-SPID must pass the modulus 10 check - https://www.gs1.org/services/how-calculate-check-digit-manually (: (((10-((68+(value.substring(8,1).toInteger()*3)+(value.substring(9,1).toInteger()*1)+(value.substring(10,1).toInteger()*3)+(value.substring(11,1).toInteger()*1)+(value.substring(12,1).toInteger()*3)+(value.substring(13,1).toInteger()*1)+(value.substring(14,1).toInteger()*3)+(value.substring(15,1).toInteger()*1)+(value.substring(16,1).toInteger()*3))mod(10)))mod(10))=value.substring(17,1).toInteger()))
epr-spid-startswith76133761: EPR-SPID must start with 76133761 (: value.startsWith('76133761'))