Skip to content

Commit

Permalink
Merged in cql-updates-for-2022 (pull request #27)
Browse files Browse the repository at this point in the history
Update CQL based on published 2022 updates

* Update CQL based on published 2022 updates

- Update the CQL to use the latest pain management CQL from CDS Connect.
- Also update the value set database based on that CQL.
- Finally update test patients with more recent dates.


Approved-by: Julia Afeltra
  • Loading branch information
cmoesel committed Dec 29, 2022
1 parent 0642064 commit 583bc26
Show file tree
Hide file tree
Showing 25 changed files with 31,811 additions and 30,544 deletions.
668 changes: 668 additions & 0 deletions src/cql/dstu2/CDSConnectCommonsForFHIRv102.cql

Large diffs are not rendered by default.

Large diffs are not rendered by default.

538 changes: 0 additions & 538 deletions src/cql/dstu2/CDS_Connect_Commons_for_FHIRv102.cql

This file was deleted.

1,079 changes: 1,079 additions & 0 deletions src/cql/dstu2/FactorsToConsiderInManagingChronicPainFHIRv102.cql

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1,087 changes: 0 additions & 1,087 deletions src/cql/dstu2/Factors_to_Consider_in_Managing_Chronic_Pain.cql

This file was deleted.

657 changes: 657 additions & 0 deletions src/cql/r4/CDSConnectCommonsForFHIRv401.cql

Large diffs are not rendered by default.

Large diffs are not rendered by default.

496 changes: 0 additions & 496 deletions src/cql/r4/CDS_Connect_Commons_for_FHIRv401.cql

This file was deleted.

1,040 changes: 1,040 additions & 0 deletions src/cql/r4/FactorsToConsiderInManagingChronicPainFHIRv401.cql

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1,081 changes: 0 additions & 1,081 deletions src/cql/r4/Factors_to_Consider_in_Managing_Chronic_Pain_FHIRv401.cql

This file was deleted.

50,991 changes: 25,311 additions & 25,680 deletions src/cql/valueset-db.json

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions src/utils/dstu2_test_patients/ben_jackson.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"resourceType": "Bundle",
"id": "ben_jackson",
"meta": {
"lastUpdated": "2022-12-01T19:51:44.684Z"
"lastUpdated": "2022-12-29T22:11:06.869Z"
},
"type": "collection",
"entry": [
Expand All @@ -21,7 +21,7 @@
}
],
"gender": "male",
"birthDate": "1959-09-22T19:51:44.684Z"
"birthDate": "1959-10-20T22:11:06.869Z"
}
},
{
Expand All @@ -43,8 +43,8 @@
},
"clinicalStatus": "active",
"verificationStatus": "confirmed",
"onsetDateTime": "2016-10-22T19:51:44.684Z",
"dateRecorded": "2016-10-22T19:51:44.684Z"
"onsetDateTime": "2016-11-19T22:11:06.869Z",
"dateRecorded": "2016-11-19T22:11:06.869Z"
}
},
{
Expand All @@ -66,8 +66,8 @@
},
"clinicalStatus": "active",
"verificationStatus": "confirmed",
"onsetDateTime": "2019-03-20T19:51:44.684Z",
"dateRecorded": "2019-08-31T19:51:44.684Z"
"onsetDateTime": "2019-04-17T22:11:06.869Z",
"dateRecorded": "2019-09-28T22:11:06.869Z"
}
},
{
Expand All @@ -91,15 +91,15 @@
}
],
"period": {
"start": "2019-08-20T19:51:44.684Z"
"start": "2019-09-17T22:11:06.869Z"
}
}
},
{
"resource": {
"resourceType": "MedicationOrder",
"id": "dfa79ee7-6f59-40ad-a3dc-b677d960b979",
"dateWritten": "2022-08-29T19:51:44.684Z",
"dateWritten": "2022-09-26T22:11:06.869Z",
"status": "active",
"patient": {
"reference": "Patient/35dfbf37-98f5-45ce-a3b0-0b490a241f1f"
Expand All @@ -120,7 +120,7 @@
"resource": {
"resourceType": "MedicationOrder",
"id": "456d0857-34ab-4b4e-9c20-64259f678e80",
"dateWritten": "2022-07-25T19:51:44.684Z",
"dateWritten": "2022-08-22T22:11:06.869Z",
"status": "active",
"patient": {
"reference": "Patient/35dfbf37-98f5-45ce-a3b0-0b490a241f1f"
Expand All @@ -146,7 +146,7 @@
},
"status": "active",
"wasNotTaken": false,
"effectiveDateTime": "2022-10-01T19:51:44.684Z",
"effectiveDateTime": "2022-10-29T22:11:06.869Z",
"medicationCodeableConcept": {
"coding": [
{
Expand All @@ -168,7 +168,7 @@
},
"status": "active",
"wasNotTaken": false,
"effectiveDateTime": "2022-05-31T19:51:44.684Z",
"effectiveDateTime": "2022-06-28T22:11:06.869Z",
"medicationCodeableConcept": {
"coding": [
{
Expand Down Expand Up @@ -207,7 +207,7 @@
"subject": {
"reference": "Patient/35dfbf37-98f5-45ce-a3b0-0b490a241f1f"
},
"issued": "2022-11-16T19:51:44.684Z",
"issued": "2022-12-14T22:11:06.869Z",
"valueQuantity": {
"value": 60,
"unit": "{MME}/d"
Expand Down Expand Up @@ -240,7 +240,7 @@
"subject": {
"reference": "Patient/35dfbf37-98f5-45ce-a3b0-0b490a241f1f"
},
"issued": "2022-08-29T19:51:44.684Z",
"issued": "2022-09-26T22:11:06.869Z",
"valueQuantity": {
"value": 8
},
Expand Down Expand Up @@ -275,7 +275,7 @@
"subject": {
"reference": "Patient/35dfbf37-98f5-45ce-a3b0-0b490a241f1f"
},
"issued": "2022-05-08T19:51:44.684Z",
"issued": "2022-06-05T22:11:06.869Z",
"valueQuantity": {
"value": 7
},
Expand Down Expand Up @@ -310,7 +310,7 @@
"subject": {
"reference": "Patient/35dfbf37-98f5-45ce-a3b0-0b490a241f1f"
},
"issued": "2022-08-29T19:51:44.684Z",
"issued": "2022-09-26T22:11:06.869Z",
"valueQuantity": {
"value": 5
},
Expand Down Expand Up @@ -389,7 +389,7 @@
"subject": {
"reference": "Patient/35dfbf37-98f5-45ce-a3b0-0b490a241f1f"
},
"issued": "2022-08-29T19:51:44.684Z",
"issued": "2022-09-26T22:11:06.869Z",
"valueQuantity": {
"value": 4
},
Expand Down Expand Up @@ -417,7 +417,7 @@
"text": "Chiropraxy (regime/therapy)"
},
"notPerformed": false,
"performedDateTime": "2022-10-22T19:51:44.684Z"
"performedDateTime": "2022-11-19T22:11:06.869Z"
}
}
]
Expand Down
Loading

0 comments on commit 583bc26

Please sign in to comment.