shc_vaccination_test_kit 0.1.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a255a2f5ea043287467c1b63b93025884d84bd6a274f86372832be9b8b0227ba
4
- data.tar.gz: 173f00efb5d3b62a93c3c5eaa4383921bd42cac2848fb552727bbced6c4af298
3
+ metadata.gz: 9be9093ea1334b10a65b8390564c5458b517b8fde89f58c1fd8a0469e7ac0baf
4
+ data.tar.gz: e23b8060420200e00891117411072f7d162258c39f191c4e9e85856c82a11a5a
5
5
  SHA512:
6
- metadata.gz: 34266bed6ebe61712176163779f3c25e4901d956cbf7cb79214275a4c50bec701aef61645ebf5b2433a9ba973c744343e367a33ade19a2112b16f517547fdf44
7
- data.tar.gz: 5152b09bf65995d76a80242700f4a8e027029524bb264e109a9959e9014a5ede7b40e590beb49414451f103ff86902c6913730fbb7c9250c3a7f8fc9f840255d
6
+ metadata.gz: 8110997986a1219d3d6fab2a472d97bf1bea2f45bf8051ed6f1189f053d58b7fa46ec19d1fcb579ce8b541a39b79af07a601854fb72b8cf26304e7f4647e1d20
7
+ data.tar.gz: c153e0a87ca6ad4fa3341b6d89e207d69599963ce882678099f4421a4e2d839c8d41bc1ced8fee1d1b8c796ab8f5fbb37b11877cd5cbac7420841faf3f4135d8
@@ -0,0 +1,56 @@
1
+ # Note on this IGs folder
2
+
3
+ This IGs folder contains two files:
4
+
5
+ * shc-vaccination-1.0.0-updated.tgz
6
+ * cards.smarthealth.terminology-0.1.0.tgz
7
+
8
+ Using the `hl7.fhir.uv.shc-vaccination#1.0.0` directly causes validator initialization error because
9
+ the `hl7.fhir.uv.shc-vaccination#1.0.0` ig depends on `cards.smarthealth.terminology` ig which is
10
+ incorrectly registered in FHIR package registry.
11
+
12
+ This is a temporary solution before IG author fixes the registry URL.
13
+
14
+ Here is how to create/upates these file.
15
+ 1. Download sch-vaccination package.tgz from [here](https://build.fhir.org/ig/HL7/fhir-shc-vaccination-ig/package.tgz), and save as shc-vaccination-1.0.0-updated.tgz to the igs folder.
16
+ 2. Download cards.smarthealth.terminology pacakge.tgz from [here](https://build.fhir.org/ig/dvci/shc-terminology/branches/master/package.tgz), and save as cards.smarthealth.terminology-0.1.0.tgz into the igs folder
17
+ 3. Uppack shc-vaccination-1.0.0-updated.tgz. On MacOs, you can use command `tar -xvf shc-vaccination-1.0.0-updated.tgz`
18
+ 4. Go to the package folder
19
+ 5. Open ImplementationGuide-hl7.fhir.uv.shc-vaccination.json, change
20
+ ```
21
+ {
22
+ "id": "cards_smarthealth_terminology",
23
+ "uri": "https://terminology.smarthealth.cards/ImplementationGuide/cards.smarthealth.terminology",
24
+ "packageId": "cards.smarthealth.terminology",
25
+ "version": "current"
26
+ }
27
+ ```
28
+ to
29
+ ```
30
+ {
31
+ "id": "cards_smarthealth_terminology",
32
+ "uri": "https://terminology.smarthealth.cards/ImplementationGuide/cards.smarthealth.terminology",
33
+ "packageId": "cards.smarthealth.terminology",
34
+ "version": "0.1.0"
35
+ }
36
+ ```
37
+ 6. Open package.json, change
38
+ ```
39
+ "cards.smarthealth.terminology" : "current"
40
+ ```
41
+ to
42
+ ```
43
+ "cards.smarthealth.terminology" : "0.1.0"
44
+ ```
45
+ 7. Save both files.
46
+ 8. Update shc-vaccination-1.0.0-updated.tgz. On MacOS, you can use command line `tar -czf shc-vaccination-1.0.0-updated.tgz package`
47
+ 8. Update `lib/shc_vaccination_test_kit.rb`, change
48
+ ```
49
+ fhir_resource_validator do
50
+ igs 'hl7.fhir.uv.shc-vaccination#0.6.2'
51
+ ```
52
+ to
53
+ ```
54
+ fhir_resource_validator do
55
+ igs('igs/cards.smarthealth.terminology-0.1.0.tgz', 'igs/shc-vaccination-1.0.0-updated.tgz')
56
+ ```