uds_plus_test_kit 1.0.5 → 1.0.7

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.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/lib/uds_plus_test_kit/examples/condition.ndjson +1 -1
  3. data/lib/uds_plus_test_kit/examples/encounter.ndjson +1 -1
  4. data/lib/uds_plus_test_kit/examples/manifest.json +9 -5
  5. data/lib/uds_plus_test_kit/examples/observation.ndjson +4 -3
  6. data/lib/uds_plus_test_kit/examples/patient.ndjson +2 -2
  7. data/lib/uds_plus_test_kit/manifest_tests/validate_manifest_test.rb +1 -1
  8. data/lib/uds_plus_test_kit/uds_plus_test_suite.rb +8 -5
  9. data/lib/uds_plus_test_kit/validate_adverse_event_test.rb +1 -1
  10. data/lib/uds_plus_test_kit/validate_allergy_intolerance_test.rb +1 -1
  11. data/lib/uds_plus_test_kit/validate_clinical_result_test.rb +1 -1
  12. data/lib/uds_plus_test_kit/validate_coverage_test.rb +1 -1
  13. data/lib/uds_plus_test_kit/validate_data_urls_test.rb +1 -1
  14. data/lib/uds_plus_test_kit/validate_diagnosis_test.rb +1 -1
  15. data/lib/uds_plus_test_kit/validate_encounter_test.rb +1 -1
  16. data/lib/uds_plus_test_kit/validate_immunization_test.rb +1 -1
  17. data/lib/uds_plus_test_kit/validate_income_test.rb +1 -1
  18. data/lib/uds_plus_test_kit/validate_lab_test.rb +1 -1
  19. data/lib/uds_plus_test_kit/validate_location_test.rb +1 -1
  20. data/lib/uds_plus_test_kit/validate_med_request_test.rb +1 -1
  21. data/lib/uds_plus_test_kit/validate_med_statement_test.rb +1 -1
  22. data/lib/uds_plus_test_kit/validate_patient_reporting_parameters_test.rb +1 -1
  23. data/lib/uds_plus_test_kit/validate_patient_test.rb +1 -1
  24. data/lib/uds_plus_test_kit/validate_procedure_test.rb +1 -1
  25. data/lib/uds_plus_test_kit/validate_related_person_test.rb +1 -1
  26. data/lib/uds_plus_test_kit/validate_service_request_test.rb +1 -1
  27. data/lib/uds_plus_test_kit/validate_sexual_orientation_test.rb +1 -1
  28. data/lib/uds_plus_test_kit/version.rb +2 -2
  29. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 719de47995674c07898efc624bfcacb19f5180ee89f05ecfb8cc6d78e6b907f4
4
- data.tar.gz: 89313bf688921b5bf9242335631eda25ce86055ae4e1b46e529e92b2120f1273
3
+ metadata.gz: a763cedfcbf10aee7e2b2986219ef4e71ae434f280e1927e47cad9e6540fdc27
4
+ data.tar.gz: 97a822e549a1a295a82710873733967a1721bf0842c2a3ee826e70c9bc3dacc1
5
5
  SHA512:
6
- metadata.gz: 38ea29b468539317c810ea9f7592b41b3b4680ded358896a047a10be7aa1aa4513245d1c736b9bcc9c1959173e3f5d5424c490d6e5da9c04b34072933242f641
7
- data.tar.gz: 8ef032e82432b39b07f1a4758d2843b71139bde66c1c241e16fc3d91eccb394dd9620ead6ab88e564dde364bd233366dd6a2e1fd6339d01c1d8e1ff858504e89
6
+ metadata.gz: 149acbe1dcf091821dcc1af804b2a0e33c2b6aac9bb2474790b4865e21d5d9945e078d64cb38d06a18e63f6e8c6a6dc21acabf0f196cd734b741b2245f2ca0b8
7
+ data.tar.gz: 466aa6cff410120418604d6780ab900e2ed11da4ac93ae5dbefff9e43f8e3b1fcb9458f210b072123a8ec83b216e8f449fb4372c7965bd5c193b56b250a6de6d
@@ -1 +1 @@
1
- { "resourceType": "Condition", "id": "de-identified-example", "meta": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/instance-name", "valueString": "De-identified Diagnosis Example" }, { "url": "http://hl7.org/fhir/StructureDefinition/instance-description", "valueMarkdown": "This example of a UDS+ Diagnosis profile which illustrates its use to capture de-identified information about a patient's diagnosis." } ], "profile": [ "http://hl7.org/fhir/us/uds-plus/StructureDefinition/uds-plus-diagnosis" ] }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", "valueDateTime": "2007" } ], "clinicalStatus": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", "code": "active", "display": "Active" } ] }, "verificationStatus": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", "code": "confirmed", "display": "Confirmed" } ] }, "category": [ { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/condition-category", "code": "problem-list-item", "display": "Problem List Item" } ] } ], "code": { "coding": [ { "system": "http://hl7.org/fhir/sid/icd-10-cm", "code": "B18.2", "display": "Chronic viral hepatitis C" } ] }, "subject": { "reference": "Patient/de-identified-example" }, "onsetDateTime": "2007", "recordedDate": "2007"}
1
+ { "resourceType": "Condition", "id": "de-identified-example", "meta": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/instance-name", "valueString": "De-identified Diagnosis Example" }, { "url": "http://hl7.org/fhir/StructureDefinition/instance-description", "valueMarkdown": "This example of a UDS+ Diagnosis profile which illustrates its use to capture de-identified information about a patient's diagnosis." } ], "profile": [ "http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-diagnosis" ] }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/condition-assertedDate", "valueDateTime": "2007" } ], "clinicalStatus": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", "code": "active", "display": "Active" } ] }, "verificationStatus": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", "code": "confirmed", "display": "Confirmed" } ] }, "category": [ { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/condition-category", "code": "problem-list-item", "display": "Problem List Item" } ] } ], "code": { "coding": [ { "system": "http://hl7.org/fhir/sid/icd-10-cm", "code": "B18.2", "display": "Chronic viral hepatitis C" } ] }, "subject": { "reference": "Patient/de-identified-example" }, "onsetDateTime": "2007", "recordedDate": "2007"}
@@ -1 +1 @@
1
- { "resourceType": "Encounter", "id": "de-identified-example", "meta": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/instance-name", "valueString": "De-Identified Encounter Example" }, { "url": "http://hl7.org/fhir/StructureDefinition/instance-description", "valueMarkdown": "This is an encounter example for the *US Core Encounter Profile*." } ], "lastUpdated": "2022-05-26T11:56:57.250-04:00", "profile": [ "http://hl7.org/fhir/us/uds-plus/StructureDefinition/uds-plus-encounter" ] }, "extension": [ { "url": "http://hl7.org/fhir/us/uds-plus/StructureDefinition/uds-plus-age-extension", "valueQuantity": { "value": 36, "unit": "yr", "system": "http://unitsofmeasure.org", "code": "a" } } ], "status": "finished", "class": { "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", "code": "AMB", "display": "ambulatory" }, "type": [ { "coding": [ { "system": "http://www.ama-assn.org/go/cpt", "code": "99201" } ] } ], "subject": { "reference": "Patient/de-identified-example" }, "period": { "start": "2022", "end": "2022" }, "hospitalization": { "dischargeDisposition": { "coding": [ { "system": "http://www.nubc.org/patient-discharge", "code": "01", "display": "Discharged to Home" } ] } }, "location": [ { "location": { "reference": "Location/hospital", "display": "Holy Family Hospital" } } ]}
1
+ { "resourceType": "Encounter", "id": "de-identified-example", "meta": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/instance-name", "valueString": "De-Identified Encounter Example" }, { "url": "http://hl7.org/fhir/StructureDefinition/instance-description", "valueMarkdown": "This is an encounter example for the *US Core Encounter Profile*." } ], "lastUpdated": "2022-05-26T11:56:57.250-04:00", "profile": [ "http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-encounter" ] }, "extension": [ { "url": "http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-age-extension", "valueQuantity": { "value": 36, "unit": "yr", "system": "http://unitsofmeasure.org", "code": "a" } } ], "status": "finished", "class": { "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", "code": "AMB", "display": "ambulatory" }, "type": [ { "coding": [ { "system": "http://www.ama-assn.org/go/cpt", "code": "99202" } ] } ], "subject": { "reference": "Patient/de-identified-example" }, "period": { "start": "2022", "end": "2022" }, "hospitalization": { "dischargeDisposition": { "coding": [ { "system": "http://www.nubc.org/patient-discharge", "code": "01", "display": "Discharged to Home" } ] } }, "location": [ { "location": { "reference": "Location/hospital", "display": "Holy Family Hospital" } } ]}
@@ -13,7 +13,7 @@
13
13
  }
14
14
  ],
15
15
  "profile": [
16
- "http://hl7.org/fhir/us/uds-plus/StructureDefinition/uds-plus-import-manifest"
16
+ "http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-import-manifest"
17
17
  ]
18
18
  },
19
19
  "parameter" : [
@@ -25,6 +25,10 @@
25
25
  "name" : "submissionId",
26
26
  "valueString" : "234343-aaa-32432"
27
27
  },
28
+ {
29
+ "name" : "submissionTime",
30
+ "valueDateTime" : "2023-01-14T07:15:07-08:00"
31
+ },
28
32
  {
29
33
  "name" : "hcInformation",
30
34
  "part" : [
@@ -87,7 +91,7 @@
87
91
  },
88
92
  {
89
93
  "name": "url",
90
- "valueUrl": "http://host.docker.internal/custom/uds_plus/examples/patient"
94
+ "valueUrl": "http://localhost:4567/custom/uds_plus/examples/patient"
91
95
  },
92
96
  {
93
97
  "name": "expirationTime",
@@ -104,7 +108,7 @@
104
108
  },
105
109
  {
106
110
  "name": "url",
107
- "valueUrl": "http://host.docker.internal/custom/uds_plus/examples/condition"
111
+ "valueUrl": "http://localhost:4567/custom/uds_plus/examples/condition"
108
112
  },
109
113
  {
110
114
  "name": "expirationTime",
@@ -121,7 +125,7 @@
121
125
  },
122
126
  {
123
127
  "name": "url",
124
- "valueUrl": "http://host.docker.internal/custom/uds_plus/examples/observation"
128
+ "valueUrl": "http://localhost:4567/custom/uds_plus/examples/observation"
125
129
  },
126
130
  {
127
131
  "name": "expirationTime",
@@ -138,7 +142,7 @@
138
142
  },
139
143
  {
140
144
  "name": "url",
141
- "valueUrl": "http://host.docker.internal/custom/uds_plus/examples/encounter"
145
+ "valueUrl": "http://localhost:4567/custom/uds_plus/examples/encounter"
142
146
  },
143
147
  {
144
148
  "name": "expirationTime",
@@ -1,3 +1,4 @@
1
- { "resourceType": "Observation", "id": "de-identified-example", "meta": { "profile": [ "http://hl7.org/fhir/us/uds-plus/StructureDefinition/uds-plus-lab-observation" ] }, "status": "final", "category": [ { "coding": [ { "system" : "http://terminology.hl7.org/CodeSystem/observation-category", "code" : "laboratory", "display" : "Laboratory" } ] } ], "code": { "coding": [ { "system" : "http://loinc.org", "code" : "718-7", "display" : "Hemoglobin [Mass/volume] in Blood" } ] }, "subject": { "reference": "Patient/de-identified-example" }, "encounter": { "reference": "Encounter/de-identified-example" }, "effectiveDateTime" : "2005", "issued": "2005-04-03T15:30:10+01:00", "performer": [ { "reference": "Practitioner/example" } ], "valueQuantity" : { "value" : 17, "unit" : "g/dL", "system" : "http://unitsofmeasure.org" }, "bodySite": { "coding": [ { "system": "http://snomed.info/sct", "code": "368208006", "display": "Left upper arm structure" } ] }}
2
- { "resourceType": "Observation", "id": "de-identified-income-example", "meta": { "profile": [ "http://hl7.org/fhir/us/uds-plus/StructureDefinition/de-identified-uds-plus-income-observation" ] }, "status": "final", "code": { "coding": [ { "system": "http://loinc.org", "code": "63058-2" } ] }, "subject": { "reference": "Patient/de-identified-example" }, "effectiveDateTime": "2016-03-28", "valueRange": { "low": { "value": 101 }, "high": { "value": 150 } }}
3
- { "resourceType": "Observation", "id": "de-identified-sexual-orientation-example", "meta": { "profile": [ "http://hl7.org/fhir/us/uds-plus/StructureDefinition/uds-plus-sexual-orientation-observation" ] }, "status": "final", "code": { "coding": [ { "system": "http://loinc.org", "code": "76690-7" } ] }, "subject": { "reference": "Patient/example" }, "effectiveDateTime": "2007", "valueCodeableConcept": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor", "code": "NASK", "display": "not asked" } ] }}
1
+ { "resourceType": "Observation", "id": "de-identified-example", "meta": { "profile": [ "http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-lab-observation" ] }, "status": "final", "category": [ { "coding": [ { "system" : "http://terminology.hl7.org/CodeSystem/observation-category", "code" : "laboratory", "display" : "Laboratory" } ] } ], "code": { "coding": [ { "system" : "http://loinc.org", "code" : "718-7", "display" : "Hemoglobin [Mass/volume] in Blood" } ] }, "subject": { "reference": "Patient/de-identified-example" }, "encounter": { "reference": "Encounter/de-identified-example" }, "effectiveDateTime" : "2005", "issued": "2005-04-03T15:30:10+01:00", "performer": [ { "reference": "Practitioner/example" } ], "valueQuantity" : { "value" : 17, "unit" : "g/dL", "system" : "http://unitsofmeasure.org" }, "bodySite": { "coding": [ { "system": "http://snomed.info/sct", "code": "368208006", "display": "Left upper arm structure" } ] }}
2
+ { "resourceType": "Observation", "id": "de-identified-income-with-quantity-example", "meta": { "profile": [ "http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/de-identified-uds-plus-income-observation" ] }, "status": "final", "code": { "coding": [ { "system": "http://loinc.org", "code": "63058-2" } ] }, "subject": { "reference": "Patient/de-identified-example" }, "effectiveDateTime": "2018", "valueQuantity": { "value": 200, "unit": "percent", "system": "http://unitsofmeasure.org", "code": "%", "comparator": ">" }}
3
+ { "resourceType": "Observation", "id": "de-identified-income-example", "meta": { "profile": [ "http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/de-identified-uds-plus-income-observation" ] }, "status": "final", "code": { "coding": [ { "system": "http://loinc.org", "code": "63058-2" } ] }, "subject": { "reference": "Patient/de-identified-example" }, "effectiveDateTime": "2016", "valueRange": { "low": { "value": 101 }, "high": { "value": 150 } }}
4
+ { "resourceType": "Observation", "id": "de-identified-sexual-orientation-example", "meta": { "profile": [ "http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-sexual-orientation-observation" ] }, "status": "final", "code": { "coding": [ { "system": "http://loinc.org", "code": "76690-7" } ] }, "subject": { "reference": "Patient/example" }, "effectiveDateTime": "2007", "valueCodeableConcept": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor", "code": "NASK", "display": "not asked" } ] }}
@@ -1,2 +1,2 @@
1
- { "resourceType": "Patient", "id": "de-identified-smallpop-example", "meta": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/instance-name", "valueString": "De-identified Patient Example" }, { "url": "http://hl7.org/fhir/StructureDefinition/instance-description", "valueMarkdown": "This is a patient example for the *UDS+ Patient Profile*." } ], "profile": [ "http://hl7.org/fhir/us/uds-plus/StructureDefinition/de-identified-uds-plus-patient" ] }, "extension": [ { "extension": [ { "url": "ombCategory", "valueCoding": { "system": "urn:oid:2.16.840.1.113883.6.238", "code": "2106-3", "display": "White" } }, { "url" : "detailed", "valueCoding" : { "system" : "urn:oid:2.16.840.1.113883.6.238", "code" : "2108-9", "display" : "European" } }, { "url": "text", "valueString": "White" } ], "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race" }, { "extension": [ { "url": "ombCategory", "valueCoding": { "system": "urn:oid:2.16.840.1.113883.6.238", "code": "2135-2", "display": "Hispanic or Latino" } }, { "url" : "detailed", "valueCoding" : { "system" : "urn:oid:2.16.840.1.113883.6.238", "code" : "2184-0", "display" : "Dominican" } }, { "url": "text", "valueString": "Hispanic or Latino" } ], "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity" }, { "url": "http://hl7.org/fhir/us/uds-plus/StructureDefinition/uds-plus-birthsex-extension", "valueCode": "F" }, { "url": "http://hl7.org/fhir/us/uds-plus/StructureDefinition/uds-plus-age-extension", "valueQuantity": { "value" : 36, "unit" : "yr", "system" : "http://unitsofmeasure.org", "code" : "a" } }, { "url": "http://hl7.org/fhir/us/uds-plus/StructureDefinition/uds-plus-gender-identity-extension", "valueCodeableConcept": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor", "code": "NASK", "display": "Not Asked" } ], "text": "Not Asked" } } ], "active": true, "gender": "female", "address": [ { "postalCode": "00000", "_postalCode": { "extension" : [ { "url" : "http://hl7.org/fhir/StructureDefinition/data-absent-reason", "valueCode" : "masked" }] } } ]}
2
- { "resourceType": "Patient", "id": "de-identified-example", "meta": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/instance-name", "valueString": "De-identified Patient Example" }, { "url": "http://hl7.org/fhir/StructureDefinition/instance-description", "valueMarkdown": "This is a patient example for the *UDS+ Patient Profile*." } ], "profile": [ "http://hl7.org/fhir/us/uds-plus/StructureDefinition/de-identified-uds-plus-patient" ] }, "extension": [ { "extension": [ { "url": "ombCategory", "valueCoding": { "system": "urn:oid:2.16.840.1.113883.6.238", "code": "2106-3", "display": "White" } }, { "url" : "detailed", "valueCoding" : { "system" : "urn:oid:2.16.840.1.113883.6.238", "code" : "2108-9", "display" : "European" } }, { "url": "text", "valueString": "White" } ], "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race" }, { "extension": [ { "url": "ombCategory", "valueCoding": { "system": "urn:oid:2.16.840.1.113883.6.238", "code": "2135-2", "display": "Hispanic or Latino" } }, { "url" : "detailed", "valueCoding" : { "system" : "urn:oid:2.16.840.1.113883.6.238", "code" : "2184-0", "display" : "Dominican" } }, { "url": "text", "valueString": "Hispanic or Latino" } ], "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity" }, { "url": "http://hl7.org/fhir/us/uds-plus/StructureDefinition/uds-plus-birthsex-extension", "valueCode": "F" }, { "url": "http://hl7.org/fhir/us/uds-plus/StructureDefinition/uds-plus-age-extension", "valueQuantity": { "value" : 36, "unit" : "yr", "system" : "http://unitsofmeasure.org", "code" : "a" } }, { "url": "http://hl7.org/fhir/us/uds-plus/StructureDefinition/uds-plus-gender-identity-extension", "valueCodeableConcept": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor", "code": "ASKU", "display": "asked but unknown" } ], "text": "asked but unknown" } }, { "url": "http://hl7.org/fhir/us/uds-plus/StructureDefinition/udsplus-agriculture-worker-status", "valueCode": "migratory" }, { "url": "http://hl7.org/fhir/us/uds-plus/StructureDefinition/uds-plus-housing-status-extension", "valueCode": "permanent-supportive-housing" }, { "url": "http://hl7.org/fhir/us/uds-plus/StructureDefinition/uds-plus-veteran-status-extension", "valueBoolean": false } ], "active": true, "gender": "female", "address": [ { "postalCode": "03600" } ]}
1
+ { "resourceType": "Patient", "id": "de-identified-smallpop-example", "meta": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/instance-name", "valueString": "De-identified Patient Example" }, { "url": "http://hl7.org/fhir/StructureDefinition/instance-description", "valueMarkdown": "This is a patient example for the *UDS+ Patient Profile*." } ], "profile": [ "http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/de-identified-uds-plus-patient" ] }, "extension": [ { "extension": [ { "url": "ombCategory", "valueCoding": { "system": "urn:oid:2.16.840.1.113883.6.238", "code": "2106-3", "display": "White" } }, { "url" : "detailed", "valueCoding" : { "system" : "urn:oid:2.16.840.1.113883.6.238", "code" : "2108-9", "display" : "European" } }, { "url": "text", "valueString": "White" } ], "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race" }, { "extension": [ { "url": "ombCategory", "valueCoding": { "system": "urn:oid:2.16.840.1.113883.6.238", "code": "2135-2", "display": "Hispanic or Latino" } }, { "url" : "detailed", "valueCoding" : { "system" : "urn:oid:2.16.840.1.113883.6.238", "code" : "2184-0", "display" : "Dominican" } }, { "url": "text", "valueString": "Hispanic or Latino" } ], "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity" }, { "url": "http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-birthsex-extension", "valueCode": "F" }, { "url": "http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-age-extension", "valueQuantity": { "value" : 36, "unit" : "yr", "system" : "http://unitsofmeasure.org", "code" : "a" } }, { "url": "http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-gender-identity-extension", "valueCodeableConcept": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor", "code": "NASK", "display": "Not Asked" } ], "text": "Not Asked" } } ], "active": true, "gender": "female", "address": [ { "postalCode": "00000", "_postalCode": { "extension" : [ { "url" : "http://hl7.org/fhir/StructureDefinition/data-absent-reason", "valueCode" : "masked" }] } } ]}
2
+ { "resourceType": "Patient", "id": "de-identified-example", "meta": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/instance-name", "valueString": "De-identified Patient Example" }, { "url": "http://hl7.org/fhir/StructureDefinition/instance-description", "valueMarkdown": "This is a patient example for the *UDS+ Patient Profile*." } ], "profile": [ "http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/de-identified-uds-plus-patient" ] }, "extension": [ { "extension": [ { "url": "ombCategory", "valueCoding": { "system": "urn:oid:2.16.840.1.113883.6.238", "code": "2106-3", "display": "White" } }, { "url" : "detailed", "valueCoding" : { "system" : "urn:oid:2.16.840.1.113883.6.238", "code" : "2108-9", "display" : "European" } }, { "url": "text", "valueString": "White" } ], "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race" }, { "extension": [ { "url": "ombCategory", "valueCoding": { "system": "urn:oid:2.16.840.1.113883.6.238", "code": "2135-2", "display": "Hispanic or Latino" } }, { "url" : "detailed", "valueCoding" : { "system" : "urn:oid:2.16.840.1.113883.6.238", "code" : "2184-0", "display" : "Dominican" } }, { "url": "text", "valueString": "Hispanic or Latino" } ], "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity" }, { "url": "http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-birthsex-extension", "valueCode": "F" }, { "url": "http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-age-extension", "valueQuantity": { "value" : 36, "unit" : "yr", "system" : "http://unitsofmeasure.org", "code" : "a" } }, { "url": "http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-gender-identity-extension", "valueCodeableConcept": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor", "code": "ASKU", "display": "asked but unknown" } ], "text": "asked but unknown" } }, { "url": "http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/udsplus-agriculture-worker-status", "valueCode": "migratory" }, { "url": "http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-housing-status-extension", "valueCode": "permanent-supportive-housing" }, { "url": "http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-veteran-status-extension", "valueBoolean": false } ], "active": true, "gender": "female", "address": [ { "postalCode": "03600" } ]}
@@ -22,7 +22,7 @@ module UDSPlusTestKit
22
22
  run do
23
23
  omit_if manifest_resources.empty?, "No data of this type was identified."
24
24
 
25
- profile_definition = "http://hl7.org/fhir/us/uds-plus/StructureDefinition/uds-plus-import-manifest"
25
+ profile_definition = "http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-import-manifest"
26
26
  profile_with_version = "#{profile_definition}|#{UDS_PLUS_VERSION}"
27
27
  assert_valid_resource(resource: manifest_resources.first, profile_url: profile_with_version)
28
28
  end
@@ -9,7 +9,7 @@ module UDSPlusTestKit
9
9
  title 'UDS+ Test Kit'
10
10
  description %(
11
11
  The UDS+ Test Kit tests systems for their conformance to the [UDS+
12
- Implementation Guide v1.0.0](http://udsplus.drajer.com).
12
+ Implementation Guide v1.0.1](https://fhir.org/guides/hrsa/uds-plus/).
13
13
  The included tests function as a rudimentary data receiver. This receiver will
14
14
  take a provided Import Manifest, either as an HTTP location or as a raw json,
15
15
  and validate its contents. This includes validating the structure of the manifest,
@@ -23,8 +23,11 @@ module UDSPlusTestKit
23
23
 
24
24
  # Messages will be excluded if the block evaluates to a truthy value
25
25
  exclude_message do |message|
26
- message.type == 'warning' &&
27
- message.message.match?(/Global Profile reference .* could not be resolved, so has not been checked/)
26
+ (message.type == 'warning' &&
27
+ message.message.match?(/Global Profile reference .* could not be resolved, so has not been checked/)) ||
28
+ (message.type == 'error' &&
29
+ Inferno::Application['base_url'].match?(/localhost:/) &&
30
+ message.message.match?(/: Code .* not found in CPT;/))
28
31
  end
29
32
  end
30
33
 
@@ -78,8 +81,8 @@ module UDSPlusTestKit
78
81
  url: 'https://github.com/inferno-framework/uds-plus-test-kit/'
79
82
  },
80
83
  {
81
- label: 'UDS+ Implementation Guide v1.0.0',
82
- url: 'http://udsplus.drajer.com'
84
+ label: 'UDS+ Implementation Guide v1.0.1',
85
+ url: 'https://fhir.org/guides/hrsa/uds-plus/'
83
86
  }
84
87
  ]
85
88
 
@@ -22,7 +22,7 @@ module UDSPlusTestKit
22
22
  run do
23
23
  omit_if data_to_test.empty?, "No data of this type was identified."
24
24
 
25
- profile_definition = 'http://hl7.org/fhir/us/uds-plus/StructureDefinition/uds-plus-adverseevent'
25
+ profile_definition = 'http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-adverseevent'
26
26
  profile_with_version = "#{profile_definition}|#{UDS_PLUS_VERSION}"
27
27
 
28
28
  data_to_test.each do |resource|
@@ -22,7 +22,7 @@ module UDSPlusTestKit
22
22
  run do
23
23
  omit_if data_to_test.empty?, "No data of this type was identified."
24
24
 
25
- profile_definition = 'http://hl7.org/fhir/us/uds-plus/StructureDefinition/uds-plus-allergyintolerance'
25
+ profile_definition = 'http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-allergyintolerance'
26
26
  profile_with_version = "#{profile_definition}|#{UDS_PLUS_VERSION}"
27
27
 
28
28
  data_to_test.each do |resource|
@@ -22,7 +22,7 @@ module UDSPlusTestKit
22
22
  run do
23
23
  omit_if data_to_test.empty?, "No data of this type was identified."
24
24
 
25
- profile_definition = 'http://hl7.org/fhir/us/uds-plus/StructureDefinition/de-identified-uds-plus-clinical-result-observation'
25
+ profile_definition = 'http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-clinical-result-observation'
26
26
  profile_with_version = "#{profile_definition}|#{UDS_PLUS_VERSION}"
27
27
 
28
28
  no_resource_of_this_type = true
@@ -22,7 +22,7 @@ module UDSPlusTestKit
22
22
  run do
23
23
  omit_if data_to_test.empty?, "No data of this type was identified."
24
24
 
25
- profile_definition = 'http://hl7.org/fhir/us/uds-plus/StructureDefinition/uds-plus-coverage'
25
+ profile_definition = 'http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-coverage'
26
26
  profile_with_version = "#{profile_definition}|#{UDS_PLUS_VERSION}"
27
27
 
28
28
  data_to_test.each do |resource|
@@ -22,7 +22,7 @@ module UDSPlusTestKit
22
22
  run do
23
23
  omit_if data_to_test.empty?, "No data of this type was identified."
24
24
 
25
- profile_definition = 'http://hl7.org/fhir/us/uds-plus/StructureDefinition/uds-plus-deidentify-operation-data-urls-parameter'
25
+ profile_definition = 'http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-deidentify-operation-data-urls-parameter'
26
26
  profile_with_version = "#{profile_definition}|#{UDS_PLUS_VERSION}"
27
27
 
28
28
  no_resource_of_this_type = true
@@ -22,7 +22,7 @@ module UDSPlusTestKit
22
22
  run do
23
23
  omit_if data_to_test.empty?, "No data of this type was identified."
24
24
 
25
- profile_definition = 'http://hl7.org/fhir/us/uds-plus/StructureDefinition/uds-plus-diagnosis'
25
+ profile_definition = 'http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-diagnosis'
26
26
  profile_with_version = "#{profile_definition}|#{UDS_PLUS_VERSION}"
27
27
 
28
28
  data_to_test.each do |resource|
@@ -22,7 +22,7 @@ module UDSPlusTestKit
22
22
  run do
23
23
  omit_if data_to_test.empty?, "No data of this type was identified."
24
24
 
25
- profile_definition = 'http://hl7.org/fhir/us/uds-plus/StructureDefinition/uds-plus-encounter'
25
+ profile_definition = 'http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-encounter'
26
26
  profile_with_version = "#{profile_definition}|#{UDS_PLUS_VERSION}"
27
27
 
28
28
  data_to_test.each do |resource|
@@ -22,7 +22,7 @@ module UDSPlusTestKit
22
22
  run do
23
23
  omit_if data_to_test.empty?, "No data of this type was identified."
24
24
 
25
- profile_definition = 'http://hl7.org/fhir/us/uds-plus/StructureDefinition/uds-plus-immunization'
25
+ profile_definition = 'http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-immunization'
26
26
  profile_with_version = "#{profile_definition}|#{UDS_PLUS_VERSION}"
27
27
 
28
28
  data_to_test.each do |resource|
@@ -22,7 +22,7 @@ module UDSPlusTestKit
22
22
  run do
23
23
  omit_if data_to_test.empty?, "No data of this type was identified."
24
24
 
25
- profile_definition = 'http://hl7.org/fhir/us/uds-plus/StructureDefinition/de-identified-uds-plus-income-observation'
25
+ profile_definition = 'http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/de-identified-uds-plus-income-observation'
26
26
  profile_with_version = "#{profile_definition}|#{UDS_PLUS_VERSION}"
27
27
 
28
28
  no_resource_of_this_type = true
@@ -22,7 +22,7 @@ module UDSPlusTestKit
22
22
  run do
23
23
  omit_if data_to_test.empty?, "No data of this type was identified."
24
24
 
25
- profile_definition = 'http://hl7.org/fhir/us/uds-plus/StructureDefinition/uds-plus-lab-observation'
25
+ profile_definition = 'http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-lab-observation'
26
26
  profile_with_version = "#{profile_definition}|#{UDS_PLUS_VERSION}"
27
27
 
28
28
  no_resource_of_this_type = true
@@ -22,7 +22,7 @@ module UDSPlusTestKit
22
22
  run do
23
23
  omit_if data_to_test.empty?, "No data of this type was identified."
24
24
 
25
- profile_definition = 'http://hl7.org/fhir/us/uds-plus/StructureDefinition/uds-plus-location'
25
+ profile_definition = 'http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-location'
26
26
  profile_with_version = "#{profile_definition}|#{UDS_PLUS_VERSION}"
27
27
 
28
28
  data_to_test.each do |resource|
@@ -22,7 +22,7 @@ module UDSPlusTestKit
22
22
  run do
23
23
  omit_if data_to_test.empty?, "No data of this type was identified."
24
24
 
25
- profile_definition = 'http://hl7.org/fhir/us/uds-plus/StructureDefinition/uds-plus-medicationrequest'
25
+ profile_definition = 'http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-medicationrequest'
26
26
  profile_with_version = "#{profile_definition}|#{UDS_PLUS_VERSION}"
27
27
 
28
28
  data_to_test.each do |resource|
@@ -22,7 +22,7 @@ module UDSPlusTestKit
22
22
  run do
23
23
  omit_if data_to_test.empty?, "No data of this type was identified."
24
24
 
25
- profile_definition = 'http://hl7.org/fhir/us/uds-plus/StructureDefinition/uds-plus-medicationstatement'
25
+ profile_definition = 'http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-medicationstatement'
26
26
  profile_with_version = "#{profile_definition}|#{UDS_PLUS_VERSION}"
27
27
 
28
28
  data_to_test.each do |resource|
@@ -22,7 +22,7 @@ module UDSPlusTestKit
22
22
  run do
23
23
  omit_if data_to_test.empty?, "No data of this type was identified."
24
24
 
25
- profile_definition = 'http://hl7.org/fhir/us/uds-plus/StructureDefinition/uds-plus-patient-reporting-parameters'
25
+ profile_definition = 'http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-patient-reporting-parameters'
26
26
  profile_with_version = "#{profile_definition}|#{UDS_PLUS_VERSION}"
27
27
 
28
28
  no_resource_of_this_type = true
@@ -22,7 +22,7 @@ module UDSPlusTestKit
22
22
  run do
23
23
  omit_if data_to_test.empty?, "No data of this type was identified."
24
24
 
25
- profile_definition = 'http://hl7.org/fhir/us/uds-plus/StructureDefinition/de-identified-uds-plus-patient'
25
+ profile_definition = 'http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/de-identified-uds-plus-patient'
26
26
  profile_with_version = "#{profile_definition}|#{UDS_PLUS_VERSION}"
27
27
 
28
28
  data_to_test.each do |resource|
@@ -22,7 +22,7 @@ module UDSPlusTestKit
22
22
  run do
23
23
  omit_if data_to_test.empty?, "No data of this type was identified."
24
24
 
25
- profile_definition = 'http://hl7.org/fhir/us/uds-plus/StructureDefinition/uds-plus-procedure'
25
+ profile_definition = 'http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-procedure'
26
26
  profile_with_version = "#{profile_definition}|#{UDS_PLUS_VERSION}"
27
27
 
28
28
  data_to_test.each do |resource|
@@ -22,7 +22,7 @@ module UDSPlusTestKit
22
22
  run do
23
23
  omit_if data_to_test.empty?, "No data of this type was identified."
24
24
 
25
- profile_definition = 'http://hl7.org/fhir/us/uds-plus/StructureDefinition/de-identified-uds-plus-relatedperson'
25
+ profile_definition = 'http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/de-identified-uds-plus-relatedperson'
26
26
  profile_with_version = "#{profile_definition}|#{UDS_PLUS_VERSION}"
27
27
 
28
28
  data_to_test.each do |resource|
@@ -22,7 +22,7 @@ module UDSPlusTestKit
22
22
  run do
23
23
  omit_if data_to_test.empty?, "No data of this type was identified."
24
24
 
25
- profile_definition = 'http://hl7.org/fhir/us/uds-plus/StructureDefinition/uds-plus-servicerequest'
25
+ profile_definition = 'http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-servicerequest'
26
26
  profile_with_version = "#{profile_definition}|#{UDS_PLUS_VERSION}"
27
27
 
28
28
  data_to_test.each do |resource|
@@ -22,7 +22,7 @@ module UDSPlusTestKit
22
22
  run do
23
23
  omit_if data_to_test.empty?, "No data of this type was identified."
24
24
 
25
- profile_definition = 'http://hl7.org/fhir/us/uds-plus/StructureDefinition/uds-plus-sexual-orientation-observation'
25
+ profile_definition = 'http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-sexual-orientation-observation'
26
26
  profile_with_version = "#{profile_definition}|#{UDS_PLUS_VERSION}"
27
27
 
28
28
  no_resource_of_this_type = true
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module UDSPlusTestKit
4
- VERSION = '1.0.5'
5
- UDS_PLUS_VERSION = '1.0.0'
4
+ VERSION = '1.0.7'
5
+ UDS_PLUS_VERSION = '1.0.1'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uds_plus_test_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leap Orbit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-14 00:00:00.000000000 Z
11
+ date: 2024-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: inferno_core