Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
uds_plus_test_kit (1.2.0)
uds_plus_test_kit (1.2.1)
inferno_core (~> 0.6.2)

GEM
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- [Inferno documentation](https://inferno-framework.github.io/inferno-core/)
- [Ruby API documentation](https://inferno-framework.github.io/inferno-core/docs)
- [JSON API documentation](https://inferno-framework.github.io/inferno-core/api-docs)
- [UDS+ Implementation Guide](https://fhir.org/guides/hrsa/uds-plus/)
- [UDS+ Implementation Guide](https://fhir.org/guides/hrsa/uds-plus/STU2)

## Connectathon Links
- [Connectathon Manager](http://conman.clinfhir.com/connectathon.html?event=con33)
Expand All @@ -11,8 +11,8 @@
- [UDS+ Connectathon Page](https://confluence.hl7.org/pages/viewpage.action?pageId=161056877)

## Version
**Test Kit:** 1.2.0
**IG:** 1.1.2
**Test Kit:** 1.2.1
**IG:** 2.0.0

### Notes From the Developers
- There are known issues with validating certain codesets (not resource structure) when running this kit locally. If you are running locally and encounter an "Unknown Code" error for a given resource, try running that same resource on the hosted version of the kit and see if the codeset can be validated there.
2 changes: 1 addition & 1 deletion lib/uds_plus_test_kit/examples/adverse_event.ndjson
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"resourceType":"AdverseEvent","id":"de-identified-example","meta":{"lastUpdated":"2017-05-26T11:56:57.250-04:00","profile":["http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-adverseevent"]},"actuality":"actual","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/adverse-event-category","code":"medication-mishap","display":"Medication Mishap"}],"text":"Medication Mishap - Wrong Dose"}],"event":{"coding":[{"system":"http://snomed.info/sct","code":"140004","display":"Chronic Pharyngitis"}],"text":"Chronic Pharyngitis"},"subject":{"reference":"Patient/de-identified-example"},"date":"2015","recordedDate":"2017"}
{ "resourceType" : "AdverseEvent", "id" : "de-identified-example", "meta" : { "lastUpdated" : "2017-05-26T11:56:57.250-04:00", "profile" : ["http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-adverseevent"] }, "actuality" : "actual", "category" : [{ "coding" : [{ "system" : "http://terminology.hl7.org/CodeSystem/adverse-event-category", "code" : "medication-mishap", "display" : "Medication Mishap" }], "text" : "Medication Mishap - Wrong Dose" }], "event" : { "coding" : [{ "system" : "http://snomed.info/sct", "code" : "140004", "display" : "Chronic Pharyngitis" }], "text" : "Chronic Pharyngitis" }, "subject" : { "reference" : "Patient/de-identified-example" }, "date" : "2015", "detected" : "2030", "recordedDate" : "2017" }
2 changes: 1 addition & 1 deletion lib/uds_plus_test_kit/examples/allergy_intollerance.ndjson
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"resourceType":"AllergyIntolerance","id":"de-identified-example","meta":{"lastUpdated":"2017-05-26T11:56:57.250-04:00","profile":["http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-allergyintolerance"]},"clinicalStatus":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical","code":"active"}]},"verificationStatus":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/allergyintolerance-verification","code":"confirmed"}]},"category":["medication"],"criticality":"high","code":{"coding":[{"system":"http://snomed.info/sct","code":"387406002","display":"Sulfonamide (substance)"}],"text":"sulfonamide antibacterial"},"patient":{"reference":"Patient/de-identified-example"},"onsetDateTime":"2015","recordedDate":"2017","reaction":[{"manifestation":[{"coding":[{"system":"http://snomed.info/sct","code":"271807003","display":"skin rash"}],"text":"skin rash"}],"severity":"mild"}]}
{ "resourceType" : "AllergyIntolerance", "id" : "de-identified-example", "meta" : { "lastUpdated" : "2017-05-26T11:56:57.250-04:00", "profile" : ["http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-allergyintolerance"] }, "clinicalStatus" : { "coding" : [{ "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", "code" : "active" }] }, "verificationStatus" : { "coding" : [{ "system" : "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification", "code" : "confirmed" }] }, "category" : ["medication"], "criticality" : "high", "code" : { "coding" : [{ "system" : "http://snomed.info/sct", "code" : "387406002", "display" : "Sulfonamide (substance)" }], "text" : "sulfonamide antibacterial" }, "patient" : { "reference" : "Patient/de-identified-example" }, "onsetDateTime" : "2015", "recordedDate" : "2017", "reaction" : [{ "manifestation" : [{ "coding" : [{ "system" : "http://snomed.info/sct", "code" : "271807003", "display" : "skin rash" }], "text" : "skin rash" }], "severity" : "mild" }]}
2 changes: 1 addition & 1 deletion lib/uds_plus_test_kit/examples/condition.ndjson
Original file line number Diff line number Diff line change
@@ -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://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"}
{ "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"}
2 changes: 1 addition & 1 deletion lib/uds_plus_test_kit/examples/coverage.ndjson
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "resourceType": "Coverage", "id": "de-identified-example", "meta": { "profile": [ "http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-coverage" ] }, "extension": [ { "url": "http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-capitated-member-months-extension", "valueQuantity": { "value": 36, "unit": "yr", "system": "http://unitsofmeasure.org", "code": "a" } }, { "url": "http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-feeforservice-member-months-extension", "valueQuantity": { "value": 36, "unit": "yr", "system": "http://unitsofmeasure.org", "code": "a" } } ], "status": "active", "type": { "coding": [ { "system": "http://fhir.org/guides/hrsa/uds-plus/CodeSystem/uds-plus-insurance-codes", "code": "private-insurance", "display": "Private Insurance" } ] }, "beneficiary": { "reference": "Patient/de-identified-example" }, "period": { "start": "2019", "end": "2023" }, "payor": [ { "reference": "Organization/acme-payer" } ]}
{ "resourceType" : "Coverage", "id" : "de-identified-example", "meta" : { "profile" : ["http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-coverage"] }, "extension" : [{ "url" : "http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-capitated-member-months-extension", "valueQuantity" : { "value" : 36, "unit" : "yr", "system" : "http://unitsofmeasure.org", "code" : "a" } }, { "url" : "http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-feeforservice-member-months-extension", "valueQuantity" : { "value" : 36, "unit" : "yr", "system" : "http://unitsofmeasure.org", "code" : "a" } }], "status" : "active", "type" : { "coding" : [{ "system" : "http://fhir.org/guides/hrsa/uds-plus/CodeSystem/uds-plus-insurance-codes", "code" : "private-insurance", "display" : "Private Insurance" }] }, "beneficiary" : { "reference" : "Patient/de-identified-example" }, "period" : { "start" : "2019", "end" : "2023" }, "payor" : [{ "reference" : "Organization/acme-payer" }]}
2 changes: 1 addition & 1 deletion lib/uds_plus_test_kit/examples/data_urls.ndjson
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "resourceType": "Parameters", "id": "de-identify-data-operation-urls-example", "meta": { "profile": [ "http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-deidentify-operation-data-urls-parameter" ] }, "parameter": [ { "name": "format", "valueCode": "fhir+ndjson" }, { "name": "udsData", "part": [ { "name": "resourceType", "valueCode": "Patient" }, { "name": "resourceUrl", "valueUrl": "http://example.com/Patient.ndjson" } ] } ]}
{ "resourceType" : "Parameters", "id" : "de-identify-data-operation-urls-example", "meta" : { "profile" : ["http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-deidentify-operation-data-urls-parameter"] }, "parameter" : [{ "name" : "format", "valueCode" : "fhir+ndjson" }, { "name" : "udsData", "part" : [{ "name" : "resourceType", "valueCode" : "Patient" }, { "name" : "resourceUrl", "valueUrl" : "http://example.com/Patient.ndjson" }] }]}
2 changes: 1 addition & 1 deletion lib/uds_plus_test_kit/examples/encounter.ndjson
Original file line number Diff line number Diff line change
@@ -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://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"}}]}
{ "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" } }]}
2 changes: 1 addition & 1 deletion lib/uds_plus_test_kit/examples/immunization.ndjson
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"resourceType":"Immunization","id":"de-identified-example","meta":{"profile":["http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-immunization"]},"status":"completed","statusReason":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-category","code":"encounter-diagnosis","display":"Encounter Diagnosis"}]},"vaccineCode":{"coding":[{"system":"http://hl7.org/fhir/sid/cvx","code":"197","display":"influenza, high-dose, quadrivalent"}]},"patient":{"reference":"Patient/de-identified-example"},"occurrenceDateTime":"2023","recorded":"2023","primarySource":true}
{ "resourceType" : "Immunization", "id" : "de-identified-example", "meta" : { "profile" : ["http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-immunization"] }, "status" : "completed", "statusReason" : { "coding" : [{ "system" : "http://terminology.hl7.org/CodeSystem/condition-category", "code" : "encounter-diagnosis", "display" : "Encounter Diagnosis" }] }, "vaccineCode" : { "coding" : [{ "system" : "http://hl7.org/fhir/sid/cvx", "code" : "197", "display" : "influenza, high-dose, quadrivalent" }] }, "patient" : { "reference" : "Patient/de-identified-example" }, "occurrenceDateTime" : "2023", "recorded" : "2023", "primarySource" : true}
2 changes: 1 addition & 1 deletion lib/uds_plus_test_kit/examples/medication_request.ndjson
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"resourceType":"MedicationRequest","id":"de-identified-example","meta":{"profile":["http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-medicationrequest"]},"status":"active","intent":"order","medicationCodeableConcept":{"coding":[{"system":"http://www.nlm.nih.gov/research/umls/rxnorm","code":"476872","display":"Nizatidine 15 MG/ML Oral Solution"}]},"subject":{"reference":"Patient/de-identified-example"},"encounter":{"reference":"Encounter/de-identified-example"},"authoredOn":"2008","requester":{"reference":"Practitioner/example"},"dosageInstruction":[{"text":"10 mL bid","timing":{"repeat":{"boundsPeriod":{"start":"2008-04-05"},"frequency":2,"period":1,"periodUnit":"d"}},"doseAndRate":[{"doseQuantity":{"value":10,"unit":"ml","system":"http://unitsofmeasure.org","code":"mL"}}]}]}
{ "resourceType" : "MedicationRequest", "id" : "de-identified-example", "meta" : { "profile" : ["http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-medicationrequest"] }, "status" : "active", "intent" : "order", "medicationCodeableConcept" : { "coding" : [{ "system" : "http://www.nlm.nih.gov/research/umls/rxnorm", "code" : "476872", "display" : "Nizatidine 15 MG/ML Oral Solution" }] }, "subject" : { "reference" : "Patient/de-identified-example" }, "encounter" : { "reference" : "Encounter/de-identified-example" }, "authoredOn" : "2008", "requester" : { "reference" : "Practitioner/example" }, "dosageInstruction" : [{ "text" : "10 mL bid", "timing" : { "repeat" : { "boundsPeriod" : { "start" : "2008-04-05" }, "frequency" : 2, "period" : 1, "periodUnit" : "d" } }, "doseAndRate" : [{ "doseQuantity" : { "value" : 10, "unit" : "ml", "system" : "http://unitsofmeasure.org", "code" : "mL" } }] }]}
2 changes: 1 addition & 1 deletion lib/uds_plus_test_kit/examples/medication_statement.ndjson
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"resourceType":"MedicationStatement","id":"de-identified-example","meta":{"profile":["http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-medicationstatement"]},"status":"active","medicationCodeableConcept":{"coding":[{"system":"http://www.nlm.nih.gov/research/umls/rxnorm","code":"476872","display":"Nizatidine 15 MG/ML Oral Solution"}]},"subject":{"reference":"Patient/de-identified-example"},"effectiveDateTime":"2008","dateAsserted":"2008","dosage":[{"text":"10 mL bid","timing":{"repeat":{"boundsPeriod":{"start":"2008-04-05"},"frequency":2,"period":1,"periodUnit":"d"}},"doseAndRate":[{"doseQuantity":{"value":10,"unit":"ml","system":"http://unitsofmeasure.org","code":"mL"}}]}]}
{ "resourceType" : "MedicationStatement", "id" : "de-identified-example", "meta" : { "profile" : ["http://fhir.org/guides/hrsa/uds-plus/StructureDefinition/uds-plus-medicationstatement"] }, "status" : "active", "medicationCodeableConcept" : { "coding" : [{ "system" : "http://www.nlm.nih.gov/research/umls/rxnorm", "code" : "476872", "display" : "Nizatidine 15 MG/ML Oral Solution" }] }, "subject" : { "reference" : "Patient/de-identified-example" }, "effectiveDateTime" : "2008", "dateAsserted" : "2008", "dosage" : [{ "text" : "10 mL bid", "timing" : { "repeat" : { "boundsPeriod" : { "start" : "2008-04-05" }, "frequency" : 2, "period" : 1, "periodUnit" : "d" } }, "doseAndRate" : [{ "doseQuantity" : { "value" : 10, "unit" : "ml", "system" : "http://unitsofmeasure.org", "code" : "mL" } }] }]}
Loading