Skip to content

Commit 8a5420f

Browse files
authored
Update GLNIdentifier.fsh (#165)
* Update GLNIdentifier.fsh Corrected system to follow existing defined GLN system at https://terminology.hl7.org/NamingSystem-GLN.html * Update GLNIdentifier.fsh
1 parent e2ac362 commit 8a5420f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

input/fsh/GLNIdentifier.fsh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Title: "GLN Identifier"
55
Description: "Identifier holding a 13 digit GLN"
66
* use = #official (exactly)
77
* system 1..
8-
* system = "https://www.gs1.org/gln" (exactly)
8+
* system = "http://www.gs1.org/gln" (exactly)
99
* value 1..
1010
* obeys gln-length and gln-modulus-10
1111

@@ -17,4 +17,4 @@ Expression: "matches('^[0-9]{13}$')"
1717
Invariant: gln-modulus-10
1818
Description: "GLN must pass the modulus 10 check - https://www.gs1.org/services/how-calculate-check-digit-manually"
1919
Severity: #error
20-
Expression: "((\n(10-((substring(0,1).toInteger()*1)+\n(substring(1,1).toInteger()*3)+\n(substring(2,1).toInteger()*1)+\n(substring(3,1).toInteger()*3)+\n(substring(4,1).toInteger()*1)\n+(substring(5,1).toInteger()*3)\n+(substring(6,1).toInteger()*1)\n+(substring(7,1).toInteger()*3)\n+(substring(8,1).toInteger()*1)\n+(substring(9,1).toInteger()*3)\n+(substring(10,1).toInteger()*1)\n+(substring(11,1).toInteger()*3))mod(10))mod(10))=substring(12,1).toInteger())"
20+
Expression: "((\n(10-((substring(0,1).toInteger()*1)+\n(substring(1,1).toInteger()*3)+\n(substring(2,1).toInteger()*1)+\n(substring(3,1).toInteger()*3)+\n(substring(4,1).toInteger()*1)\n+(substring(5,1).toInteger()*3)\n+(substring(6,1).toInteger()*1)\n+(substring(7,1).toInteger()*3)\n+(substring(8,1).toInteger()*1)\n+(substring(9,1).toInteger()*3)\n+(substring(10,1).toInteger()*1)\n+(substring(11,1).toInteger()*3))mod(10))mod(10))=substring(12,1).toInteger())"

0 commit comments

Comments
 (0)