Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reset before pr merge to commit 5b7b51f5d2a5ba9a5220ef7b2e2fc9097f7a792b #226

Open
wants to merge 1 commit into
base: v2016
Choose a base branch
from
Open
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
14 changes: 1 addition & 13 deletions input/examples/careplan-example-opioidcds.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1 @@
<CarePlan xmlns="http://hl7.org/fhir">
<id value="example-opioidcds"></id>
<status value="active"></status>
<intent value="proposal"></intent>
<subject>
<reference value="Patient/example-opioidcds"></reference>
</subject>
<activity>
<reference>
<reference value="RequestGroup/example-opioidcds"></reference>
</reference>
</activity>
</CarePlan>
<CarePlan xmlns="http://hl7.org/fhir"><id value="example-opioidcds"></id><status value="active"></status><intent value="proposal"></intent><subject><reference value="Patient/example-opioidcds"></reference></subject><activity><reference><reference value="RequestGroup/example-opioidcds"></reference></reference></activity></CarePlan>
29 changes: 1 addition & 28 deletions input/examples/condition-cancer-diagnosis.json
Original file line number Diff line number Diff line change
@@ -1,28 +1 @@
{
"resourceType": "Condition",
"id": "cancer-diagnosis",
"clinicalStatus": {
"coding": [ {
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code": "active",
"display": "Active"
} ]
},
"category": [ {
"coding": [ {
"system": "http://terminology.hl7.org/CodeSystem/condition-category",
"code": "encounter-diagnosis",
"display": "Encounter Diagnosis"
} ]
} ],
"code": {
"coding": [ {
"system": "http://hl7.org/fhir/sid/icd-10-cm",
"code": "C43",
"display": "Malignant melanoma of skin"
} ]
},
"subject": {
"reference": "Patient/example-opioidcds"
}
}
{"resourceType":"Condition","id":"cancer-diagnosis","clinicalStatus":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-clinical","code":"active","display":"Active"}]},"category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-category","code":"encounter-diagnosis","display":"Encounter Diagnosis"}]}],"code":{"coding":[{"system":"http://hl7.org/fhir/sid/icd-10-cm","code":"C43","display":"Malignant melanoma of skin"}]},"subject":{"reference":"Patient/example-opioidcds"}}
29 changes: 1 addition & 28 deletions input/examples/condition-end-of-life.json
Original file line number Diff line number Diff line change
@@ -1,28 +1 @@
{
"resourceType": "Condition",
"id": "end-of-life",
"clinicalStatus": {
"coding": [ {
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code": "active",
"display": "Active"
} ]
},
"category": [ {
"coding": [ {
"system": "http://hl7.org/fhir/us/core/CodeSystem/condition-category",
"code": "health-concern",
"display": "Health Concern"
} ]
} ],
"code": {
"coding": [ {
"system": "http://snomed.info/sct",
"code": "170969009",
"display": "Prognosis bad"
} ]
},
"subject": {
"reference": "Patient/example-opioidcds"
}
}
{"resourceType":"Condition","id":"end-of-life","clinicalStatus":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-clinical","code":"active","display":"Active"}]},"category":[{"coding":[{"system":"http://hl7.org/fhir/us/core/CodeSystem/condition-category","code":"health-concern","display":"Health Concern"}]}],"code":{"coding":[{"system":"http://snomed.info/sct","code":"170969009","display":"Prognosis bad"}]},"subject":{"reference":"Patient/example-opioidcds"}}
29 changes: 1 addition & 28 deletions input/examples/condition-terminal.json
Original file line number Diff line number Diff line change
@@ -1,28 +1 @@
{
"resourceType": "Condition",
"id": "terminal",
"clinicalStatus": {
"coding": [ {
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code": "active",
"display": "Active"
} ]
},
"category": [ {
"coding": [ {
"system": "http://terminology.hl7.org/CodeSystem/condition-category",
"code": "encounter-diagnosis",
"display": "Encounter Diagnosis"
} ]
} ],
"code": {
"coding": [ {
"system": "http://snomed.info/sct",
"code": "708248004",
"display": "End stage liver disease"
} ]
},
"subject": {
"reference": "Patient/example-opioidcds"
}
}
{"resourceType":"Condition","id":"terminal","clinicalStatus":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-clinical","code":"active","display":"Active"}]},"category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/condition-category","code":"encounter-diagnosis","display":"Encounter Diagnosis"}]}],"code":{"coding":[{"system":"http://snomed.info/sct","code":"708248004","display":"End stage liver disease"}]},"subject":{"reference":"Patient/example-opioidcds"}}
45 changes: 1 addition & 44 deletions input/examples/encounter-cancer-diagnosis.json
Original file line number Diff line number Diff line change
@@ -1,44 +1 @@
{
"resourceType": "Encounter",
"id": "cancer-diagnosis",
"extension": [ {
"url": "http://fhir.org/guides/cdc/opioid-cds/StructureDefinition/dataDateRoller",
"extension": [ {
"url": "dateLastUpdated",
"valueDateTime": "2022-09-26"
}, {
"url": "frequency",
"valueDuration": {
"value": 30.0,
"unit": "days",
"system": "http://unitsofmeasure.org",
"code": "d"
}
} ]
} ],
"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": "99203",
"display": "Office or other outpatient visit for the evaluation and management of a new patient, which requires a medically appropriate history and/or examination and low level of medical decision making. When using time for code selection, 30-44 minutes of total time is spent on the date of the encounter."
} ]
} ],
"subject": {
"reference": "Patient/example-opioidcds"
},
"period": {
"start": "2022-05-27",
"end": "2022-05-27"
},
"diagnosis": [ {
"condition": {
"reference": "Condition/cancer-diagnosis"
}
} ]
}
{"resourceType":"Encounter","id":"cancer-diagnosis","extension":[{"url":"http://fhir.org/guides/cdc/opioid-cds/StructureDefinition/dataDateRoller","extension":[{"url":"dateLastUpdated","valueDateTime":"2022-09-26"},{"url":"frequency","valueDuration":{"value":30.0,"unit":"days","system":"http://unitsofmeasure.org","code":"d"}}]}],"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":"99203","display":"Office or other outpatient visit for the evaluation and management of a new patient, which requires a medically appropriate history and/or examination and low level of medical decision making. When using time for code selection, 30-44 minutes of total time is spent on the date of the encounter."}]}],"subject":{"reference":"Patient/example-opioidcds"},"period":{"start":"2022-05-27","end":"2022-05-27"},"diagnosis":[{"condition":{"reference":"Condition/cancer-diagnosis"}}]}
52 changes: 1 addition & 51 deletions input/examples/encounter-oncologist-participant.json
Original file line number Diff line number Diff line change
@@ -1,51 +1 @@
{
"resourceType": "Encounter",
"id": "oncologist-participant",
"extension": [ {
"url": "http://fhir.org/guides/cdc/opioid-cds/StructureDefinition/dataDateRoller",
"extension": [ {
"url": "dateLastUpdated",
"valueDateTime": "2022-09-26"
}, {
"url": "frequency",
"valueDuration": {
"value": 30.0,
"unit": "days",
"system": "http://unitsofmeasure.org",
"code": "d"
}
} ]
} ],
"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": "99203",
"display": "Office or other outpatient visit for the evaluation and management of a new patient, which requires a medically appropriate history and/or examination and low level of medical decision making. When using time for code selection, 30-44 minutes of total time is spent on the date of the encounter."
} ]
} ],
"subject": {
"reference": "Patient/example-opioidcds"
},
"participant": [ {
"type": [ {
"coding": [ {
"system": "http://nucc.org/provider-taxonomy",
"code": "207RX0202X",
"display": "Medical Oncology"
} ]
} ],
"individual": {
"reference": "PractitionerRole/oncology-specialist"
}
} ],
"period": {
"start": "2022-04-26",
"end": "2022-04-26"
}
}
{"resourceType":"Encounter","id":"oncologist-participant","extension":[{"url":"http://fhir.org/guides/cdc/opioid-cds/StructureDefinition/dataDateRoller","extension":[{"url":"dateLastUpdated","valueDateTime":"2022-09-26"},{"url":"frequency","valueDuration":{"value":30.0,"unit":"days","system":"http://unitsofmeasure.org","code":"d"}}]}],"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":"99203","display":"Office or other outpatient visit for the evaluation and management of a new patient, which requires a medically appropriate history and/or examination and low level of medical decision making. When using time for code selection, 30-44 minutes of total time is spent on the date of the encounter."}]}],"subject":{"reference":"Patient/example-opioidcds"},"participant":[{"type":[{"coding":[{"system":"http://nucc.org/provider-taxonomy","code":"207RX0202X","display":"Medical Oncology"}]}],"individual":{"reference":"PractitionerRole/oncology-specialist"}}],"period":{"start":"2022-04-26","end":"2022-04-26"}}
55 changes: 1 addition & 54 deletions input/examples/medicationdispense-ambulatory-opioid.json
Original file line number Diff line number Diff line change
@@ -1,54 +1 @@
{
"resourceType": "MedicationDispense",
"id": "ambulatory-opioid",
"extension": [ {
"url": "http://fhir.org/guides/cdc/opioid-cds/StructureDefinition/dataDateRoller",
"extension": [ {
"url": "dateLastUpdated",
"valueDateTime": "2022-09-26"
}, {
"url": "frequency",
"valueDuration": {
"value": 30.0,
"unit": "days",
"system": "http://unitsofmeasure.org",
"code": "d"
}
} ]
} ],
"status": "completed",
"category": {
"coding": [ {
"system": "http://terminology.hl7.org/CodeSystem/medicationrequest-category",
"code": "community",
"display": "Community"
} ]
},
"medicationCodeableConcept": {
"coding": [ {
"system": "http://www.nlm.nih.gov/research/umls/rxnorm",
"code": "1010603",
"display": "Suboxone 2 MG / 0.5 MG Sublingual Film"
} ]
},
"subject": {
"reference": "Patient/example-opioidcds"
},
"whenHandedOver": "2022-08-26",
"dosageInstruction": [ {
"timing": {
"repeat": {
"frequency": 1,
"period": 1.0,
"periodUnit": "d"
}
},
"asNeededBoolean": false,
"doseAndRate": [ {
"doseQuantity": {
"value": 1.0,
"unit": "film"
}
} ]
} ]
}
{"resourceType":"MedicationDispense","id":"ambulatory-opioid","extension":[{"url":"http://fhir.org/guides/cdc/opioid-cds/StructureDefinition/dataDateRoller","extension":[{"url":"dateLastUpdated","valueDateTime":"2022-09-26"},{"url":"frequency","valueDuration":{"value":30.0,"unit":"days","system":"http://unitsofmeasure.org","code":"d"}}]}],"status":"completed","category":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/medicationrequest-category","code":"community","display":"Community"}]},"medicationCodeableConcept":{"coding":[{"system":"http://www.nlm.nih.gov/research/umls/rxnorm","code":"1010603","display":"Suboxone 2 MG / 0.5 MG Sublingual Film"}]},"subject":{"reference":"Patient/example-opioidcds"},"whenHandedOver":"2022-08-26","dosageInstruction":[{"timing":{"repeat":{"frequency":1,"period":1.0,"periodUnit":"d"}},"asNeededBoolean":false,"doseAndRate":[{"doseQuantity":{"value":1.0,"unit":"film"}}]}]}
69 changes: 1 addition & 68 deletions input/examples/medicationrequest-ambulatory-opioid.json
Original file line number Diff line number Diff line change
@@ -1,68 +1 @@
{
"resourceType": "MedicationRequest",
"id": "ambulatory-opioid",
"extension": [ {
"url": "http://fhir.org/guides/cdc/opioid-cds/StructureDefinition/dataDateRoller",
"extension": [ {
"url": "dateLastUpdated",
"valueDateTime": "2022-09-26"
}, {
"url": "frequency",
"valueDuration": {
"value": 30.0,
"unit": "days",
"system": "http://unitsofmeasure.org",
"code": "d"
}
} ]
} ],
"status": "active",
"intent": "order",
"category": [ {
"coding": [ {
"system": "http://terminology.hl7.org/CodeSystem/medicationrequest-category",
"code": "community",
"display": "Community"
} ]
} ],
"medicationCodeableConcept": {
"coding": [ {
"system": "http://www.nlm.nih.gov/research/umls/rxnorm",
"code": "1010603",
"display": "Suboxone 2 MG / 0.5 MG Sublingual Film"
} ]
},
"subject": {
"reference": "Patient/example-opioidcds"
},
"authoredOn": "2022-08-26",
"dosageInstruction": [ {
"timing": {
"repeat": {
"frequency": 1,
"period": 1.0,
"periodUnit": "d"
}
},
"asNeededBoolean": false,
"doseAndRate": [ {
"doseQuantity": {
"value": 1.0,
"unit": "film"
}
} ]
} ],
"dispenseRequest": {
"validityPeriod": {
"start": "2022-08-26T00:00:00-06:00",
"end": "2022-11-26T00:00:00-07:00"
},
"numberOfRepeatsAllowed": 1,
"expectedSupplyDuration": {
"value": 30,
"unit": "days",
"system": "http://unitsofmeasure.org",
"code": "d"
}
}
}
{"resourceType":"MedicationRequest","id":"ambulatory-opioid","extension":[{"url":"http://fhir.org/guides/cdc/opioid-cds/StructureDefinition/dataDateRoller","extension":[{"url":"dateLastUpdated","valueDateTime":"2022-09-26"},{"url":"frequency","valueDuration":{"value":30.0,"unit":"days","system":"http://unitsofmeasure.org","code":"d"}}]}],"status":"active","intent":"order","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/medicationrequest-category","code":"community","display":"Community"}]}],"medicationCodeableConcept":{"coding":[{"system":"http://www.nlm.nih.gov/research/umls/rxnorm","code":"1010603","display":"Suboxone 2 MG / 0.5 MG Sublingual Film"}]},"subject":{"reference":"Patient/example-opioidcds"},"authoredOn":"2022-08-26","dosageInstruction":[{"timing":{"repeat":{"frequency":1,"period":1.0,"periodUnit":"d"}},"asNeededBoolean":false,"doseAndRate":[{"doseQuantity":{"value":1.0,"unit":"film"}}]}],"dispenseRequest":{"validityPeriod":{"start":"2022-08-26T00:00:00-06:00","end":"2022-11-26T00:00:00-07:00"},"numberOfRepeatsAllowed":1,"expectedSupplyDuration":{"value":30,"unit":"days","system":"http://unitsofmeasure.org","code":"d"}}}
Loading