Skip to content

Instantly share code, notes, and snippets.

@ivan-c
Created July 7, 2020 07:11
Show Gist options
  • Save ivan-c/da5be0bd290a4fcba94f92c8b8b0b7d7 to your computer and use it in GitHub Desktop.
Save ivan-c/da5be0bd290a4fcba94f92c8b8b0b7d7 to your computer and use it in GitHub Desktop.
cosri-ihe demo data
{
"resourceType": "Bundle",
"id": "med-upload",
"type": "transaction",
"entry": [
{
"resource": {
"authoredOn": "2020-03-09",
"dispenseRequest": {
"expectedSupplyDuration": {
"code": "d",
"system": "http://unitsofmeasure.org",
"unit": "days",
"value": 8
},
"extension": [
{
"url": "http://cosri.org/fhir/pharmacy_name",
"valueString": "SCRIPT FACTORY (WA)"
},
{
"url": "http://cosri.org/fhir/last_fill",
"valueDate": "2020-03-28"
}
],
"quantity": {
"value": 30
}
},
"medicationCodeableConcept": {
"coding": [
{
"code": "1659061630",
"display": "OXYCONTIN 20 MG TABLET",
"system": "http://hl7.org/fhir/sid/ndc"
}
],
"text": "OXYCONTIN 20 MG TABLET"
},
"requester": {
"display": "CROWELL INC"
},
"resourceType": "MedicationRequest",
"status": "active",
"intent": "order",
"subject": {
"reference": "Patient/1"
}
},
"request": {
"method": "POST",
"url": "MedicationRequest"
}
},
{
"resource": {
"authoredOn": "2020-04-10",
"dispenseRequest": {
"expectedSupplyDuration": {
"code": "d",
"system": "http://unitsofmeasure.org",
"unit": "days",
"value": 10
},
"extension": [
{
"url": "http://cosri.org/fhir/pharmacy_name",
"valueString": "SCRIPT FACTORY (WA)"
},
{
"url": "http://cosri.org/fhir/last_fill",
"valueDate": "2020-04-27"
}
],
"quantity": {
"value": 30
}
},
"medicationCodeableConcept": {
"coding": [
{
"code": "5412311430",
"display": "ZUBSOLV 11.4-2.9 MG TABLET SL",
"system": "http://hl7.org/fhir/sid/ndc"
}
],
"text": "ZUBSOLV 11.4-2.9 MG TABLET SL"
},
"requester": {
"display": "ROLLA INC"
},
"resourceType": "MedicationRequest",
"status": "active",
"intent": "order",
"subject": {
"reference": "Patient/1"
}
},
"request": {
"method": "POST",
"url": "MedicationRequest"
}
},
{
"resource": {
"authoredOn": "2019-07-14",
"dispenseRequest": {
"expectedSupplyDuration": {
"code": "d",
"system": "http://unitsofmeasure.org",
"unit": "days",
"value": 30
},
"extension": [
{
"url": "http://cosri.org/fhir/pharmacy_name",
"valueString": "ALICE'S PHARMACY (WA)"
},
{
"url": "http://cosri.org/fhir/last_fill",
"valueDate": "2019-07-19"
}
],
"quantity": {
"value": 60
}
},
"medicationCodeableConcept": {
"coding": [
{
"code": "0009005707",
"display": "XANAX XR 0.5 MG TABLET",
"system": "http://hl7.org/fhir/sid/ndc"
}
],
"text": "XANAX XR 0.5 MG TABLET"
},
"requester": {
"display": "WOODWARD DETROIT CVS, L.L.C. L.L.C."
},
"resourceType": "MedicationRequest",
"status": "active",
"intent": "order",
"subject": {
"reference": "Patient/1"
}
},
"request": {
"method": "POST",
"url": "MedicationRequest"
}
},
{
"resource": {
"authoredOn": "2020-03-09",
"dispenseRequest": {
"expectedSupplyDuration": {
"code": "d",
"system": "http://unitsofmeasure.org",
"unit": "days",
"value": 8
},
"extension": [
{
"url": "http://cosri.org/fhir/pharmacy_name",
"valueString": "REAL CHAIN STORE 1 (CO)"
},
{
"url": "http://cosri.org/fhir/last_fill",
"valueDate": "2020-03-28"
}
],
"quantity": {
"value": 30
}
},
"medicationCodeableConcept": {
"coding": [
{
"code": "1659061630",
"display": "OXYCONTIN 20 MG TABLET",
"system": "http://hl7.org/fhir/sid/ndc"
}
],
"text": "OXYCONTIN 20 MG TABLET"
},
"requester": {
"display": "ROBERT MOSS"
},
"resourceType": "MedicationRequest",
"status": "active",
"intent": "order",
"subject": {
"reference": "Patient/1"
}
},
"request": {
"method": "POST",
"url": "MedicationRequest"
}
},
{
"resource": {
"authoredOn": "2020-04-10",
"dispenseRequest": {
"expectedSupplyDuration": {
"code": "d",
"system": "http://unitsofmeasure.org",
"unit": "days",
"value": 10
},
"extension": [
{
"url": "http://cosri.org/fhir/pharmacy_name",
"valueString": "REAL CHAIN STORE 1 (CO)"
},
{
"url": "http://cosri.org/fhir/last_fill",
"valueDate": "2020-04-27"
}
],
"quantity": {
"value": 30
}
},
"medicationCodeableConcept": {
"coding": [
{
"code": "5412311430",
"display": "ZUBSOLV 11.4-2.9 MG TABLET SL",
"system": "http://hl7.org/fhir/sid/ndc"
}
],
"text": "ZUBSOLV 11.4-2.9 MG TABLET SL"
},
"requester": {
"display": "WELLNESS LLC"
},
"resourceType": "MedicationRequest",
"status": "active",
"intent": "order",
"subject": {
"reference": "Patient/1"
}
},
"request": {
"method": "POST",
"url": "MedicationRequest"
}
},
{
"resource": {
"authoredOn": "2020-04-01",
"dispenseRequest": {
"expectedSupplyDuration": {
"code": "d",
"system": "http://unitsofmeasure.org",
"unit": "days",
"value": 60
},
"extension": [
{
"url": "http://cosri.org/fhir/pharmacy_name",
"valueString": "REAL CHAIN STORE 1 (CO)"
},
{
"url": "http://cosri.org/fhir/last_fill",
"valueDate": "2020-04-01"
}
],
"quantity": {
"value": 100
}
},
"medicationCodeableConcept": {
"coding": [
{
"code": "0009002901",
"display": "XANAX 0.25 MG TABLET",
"system": "http://hl7.org/fhir/sid/ndc"
}
],
"text": "XANAX 0.25 MG TABLET"
},
"requester": {
"display": "VETERINARY AMERICA"
},
"resourceType": "MedicationRequest",
"status": "active",
"intent": "order",
"subject": {
"reference": "Patient/1"
}
},
"request": {
"method": "POST",
"url": "MedicationRequest"
}
},
{
"resource": {
"authoredOn": "2019-07-14",
"dispenseRequest": {
"expectedSupplyDuration": {
"code": "d",
"system": "http://unitsofmeasure.org",
"unit": "days",
"value": 30
},
"extension": [
{
"url": "http://cosri.org/fhir/pharmacy_name",
"valueString": "REAL CHAIN STORE 2 (CO)"
},
{
"url": "http://cosri.org/fhir/last_fill",
"valueDate": "2019-07-19"
}
],
"quantity": {
"value": 60
}
},
"medicationCodeableConcept": {
"coding": [
{
"code": "0009005707",
"display": "XANAX XR 0.5 MG TABLET",
"system": "http://hl7.org/fhir/sid/ndc"
}
],
"text": "XANAX XR 0.5 MG TABLET"
},
"requester": {
"display": "VETERINARY AMERICA"
},
"resourceType": "MedicationRequest",
"status": "active",
"intent": "order",
"subject": {
"reference": "Patient/1"
}
},
"request": {
"method": "POST",
"url": "MedicationRequest"
}
},
{
"resource": {
"authoredOn": "2020-03-10",
"dispenseRequest": {
"expectedSupplyDuration": {
"code": "d",
"system": "http://unitsofmeasure.org",
"unit": "days",
"value": 7
},
"extension": [
{
"url": "http://cosri.org/fhir/pharmacy_name",
"valueString": "REAL CHAIN STORE 1 (OR)"
},
{
"url": "http://cosri.org/fhir/last_fill",
"valueDate": "2020-03-21"
}
],
"quantity": {
"value": 14
}
},
"medicationCodeableConcept": {
"coding": [
{
"code": "0228315603",
"display": "BUPRENORPHINE 2 MG TABLET SL",
"system": "http://hl7.org/fhir/sid/ndc"
}
],
"text": "BUPRENORPHINE 2 MG TABLET SL"
},
"requester": {
"display": "DOMINIC GIBSON"
},
"resourceType": "MedicationRequest",
"status": "active",
"intent": "order",
"subject": {
"reference": "Patient/1"
}
},
"request": {
"method": "POST",
"url": "MedicationRequest"
}
},
{
"resource": {
"authoredOn": "2020-06-09",
"dispenseRequest": {
"expectedSupplyDuration": {
"code": "d",
"system": "http://unitsofmeasure.org",
"unit": "days",
"value": 60
},
"extension": [
{
"url": "http://cosri.org/fhir/pharmacy_name",
"valueString": "REAL CHAIN STORE 1 (OR)"
},
{
"url": "http://cosri.org/fhir/last_fill",
"valueDate": "2020-06-26"
}
],
"quantity": {
"value": 100
}
},
"medicationCodeableConcept": {
"coding": [
{
"code": "0009002901",
"display": "XANAX 0.25 MG TABLET",
"system": "http://hl7.org/fhir/sid/ndc"
}
],
"text": "XANAX 0.25 MG TABLET"
},
"requester": {
"display": "ALAN NIELSEN"
},
"resourceType": "MedicationRequest",
"status": "active",
"intent": "order",
"subject": {
"reference": "Patient/1"
}
},
"request": {
"method": "POST",
"url": "MedicationRequest"
}
},
{
"resource": {
"authoredOn": "2020-06-10",
"dispenseRequest": {
"expectedSupplyDuration": {
"code": "d",
"system": "http://unitsofmeasure.org",
"unit": "days",
"value": 192
},
"extension": [
{
"url": "http://cosri.org/fhir/pharmacy_name",
"valueString": "REAL CHAIN STORE 2 (ID)"
},
{
"url": "http://cosri.org/fhir/last_fill",
"valueDate": "2020-06-30"
}
],
"quantity": {
"value": 380
}
},
"medicationCodeableConcept": {
"coding": [
{
"code": "00245021111",
"display": "MIDODRINE HCL 2.5 MG TABLET",
"system": "http://hl7.org/fhir/sid/ndc"
},
{
"code": "993466",
"display": "MIDODRINE HCL 2.5 MG TABLET",
"system": "http://www.nlm.nih.gov/research/umls/rxnorm"
}
],
"text": "MIDODRINE HCL 2.5 MG TABLET"
},
"requester": {
"display": "ALAN NIELSEN"
},
"resourceType": "MedicationRequest",
"status": "active",
"intent": "order",
"subject": {
"reference": "Patient/1"
}
},
"request": {
"method": "POST",
"url": "MedicationRequest"
}
},
{
"resource": {
"authoredOn": "2020-01-01",
"dispenseRequest": {
"expectedSupplyDuration": {
"code": "d",
"system": "http://unitsofmeasure.org",
"unit": "days",
"value": 7
},
"extension": [
{
"url": "http://cosri.org/fhir/pharmacy_name",
"valueString": "REAL CHAIN STORE 2 (ID)"
},
{
"url": "http://cosri.org/fhir/last_fill",
"valueDate": "2020-01-05"
}
],
"quantity": {
"value": 14
}
},
"medicationCodeableConcept": {
"coding": [
{
"code": "00228315603",
"display": "BUPRENORPHINE 2 MG TABLET SL",
"system": "http://hl7.org/fhir/sid/ndc"
},
{
"code": "351264",
"display": "BUPRENORPHINE 2 MG TABLET SL",
"system": "http://www.nlm.nih.gov/research/umls/rxnorm"
}
],
"text": "BUPRENORPHINE 2 MG TABLET SL"
},
"requester": {
"display": "ALEX VAISMAN"
},
"resourceType": "MedicationRequest",
"status": "active",
"intent": "order",
"subject": {
"reference": "Patient/1"
}
},
"request": {
"method": "POST",
"url": "MedicationRequest"
}
},
{
"resource": {
"authoredOn": "2019-09-13",
"dispenseRequest": {
"expectedSupplyDuration": {
"code": "d",
"system": "http://unitsofmeasure.org",
"unit": "days",
"value": 15
},
"extension": [
{
"url": "http://cosri.org/fhir/pharmacy_name",
"valueString": "REAL CHAIN STORE 2 (ID)"
},
{
"url": "http://cosri.org/fhir/last_fill",
"valueDate": "2019-09-13"
}
],
"quantity": {
"value": 30
}
},
"medicationCodeableConcept": {
"coding": [
{
"code": "0228315403",
"display": "BUPRENORPHN-NALOXN 2-0.5 MG SL",
"system": "http://hl7.org/fhir/sid/ndc"
}
],
"text": "BUPRENORPHN-NALOXN 2-0.5 MG SL"
},
"requester": {
"display": "NEVADA CVS PHARMACY, L.L.C. L.L.C."
},
"resourceType": "MedicationRequest",
"status": "active",
"intent": "order",
"subject": {
"reference": "Patient/1"
}
},
"request": {
"method": "POST",
"url": "MedicationRequest"
}
},
{
"resource": {
"authoredOn": "2020-06-01",
"dispenseRequest": {
"expectedSupplyDuration": {
"code": "d",
"system": "http://unitsofmeasure.org",
"unit": "days",
"value": 15
},
"extension": [
{
"url": "http://cosri.org/fhir/pharmacy_name",
"valueString": "REAL CHAIN STORE 2 (ID)"
},
{
"url": "http://cosri.org/fhir/last_fill",
"valueDate": "2020-06-02"
}
],
"quantity": {
"value": 30
}
},
"medicationCodeableConcept": {
"coding": [
{
"code": "1659061630",
"display": "OXYCONTIN 20 MG TABLET",
"system": "http://hl7.org/fhir/sid/ndc"
}
],
"text": "OXYCONTIN 20 MG TABLET"
},
"requester": {
"display": "DOMINIC GIBSON"
},
"resourceType": "MedicationRequest",
"status": "active",
"intent": "order",
"subject": {
"reference": "Patient/1"
}
},
"request": {
"method": "POST",
"url": "MedicationRequest"
}
},
{
"resource": {
"authoredOn": "2020-06-15",
"dispenseRequest": {
"expectedSupplyDuration": {
"code": "d",
"system": "http://unitsofmeasure.org",
"unit": "days",
"value": 91
},
"extension": [
{
"url": "http://cosri.org/fhir/pharmacy_name",
"valueString": "REAL CHAIN STORE 2 (ID)"
},
{
"url": "http://cosri.org/fhir/last_fill",
"valueDate": "2020-06-24"
}
],
"quantity": {
"value": 451
}
},
"medicationCodeableConcept": {
"coding": [
{
"code": "00074433902",
"display": "HUMIRA PEN 40 MG/0.8 ML",
"system": "http://hl7.org/fhir/sid/ndc"
},
{
"code": "1655728",
"display": "HUMIRA PEN 40 MG/0.8 ML",
"system": "http://www.nlm.nih.gov/research/umls/rxnorm"
}
],
"text": "HUMIRA PEN 40 MG/0.8 ML"
},
"requester": {
"display": "ROBERT MOSS"
},
"resourceType": "MedicationRequest",
"status": "active",
"intent": "order",
"subject": {
"reference": "Patient/1"
}
},
"request": {
"method": "POST",
"url": "MedicationRequest"
}
},
{
"resource": {
"authoredOn": "2019-08-15",
"dispenseRequest": {
"expectedSupplyDuration": {
"code": "d",
"system": "http://unitsofmeasure.org",
"unit": "days",
"value": 5
},
"extension": [
{
"url": "http://cosri.org/fhir/pharmacy_name",
"valueString": "REAL CHAIN STORE 2 (ID)"
},
{
"url": "http://cosri.org/fhir/last_fill",
"valueDate": "2019-08-16"
}
],
"quantity": {
"value": 10
}
},
"medicationCodeableConcept": {
"coding": [
{
"code": "5412311430",
"display": "ZUBSOLV 11.4-2.9 MG TABLET SL",
"system": "http://hl7.org/fhir/sid/ndc"
}
],
"text": "ZUBSOLV 11.4-2.9 MG TABLET SL"
},
"requester": {
"display": "WELLNESS LLC"
},
"resourceType": "MedicationRequest",
"status": "active",
"intent": "order",
"subject": {
"reference": "Patient/1"
}
},
"request": {
"method": "POST",
"url": "MedicationRequest"
}
},
{
"resource": {
"authoredOn": "2020-03-10",
"dispenseRequest": {
"expectedSupplyDuration": {
"code": "d",
"system": "http://unitsofmeasure.org",
"unit": "days",
"value": 7
},
"extension": [
{
"url": "http://cosri.org/fhir/pharmacy_name",
"valueString": "SCRIPT FACTORY (WA)"
},
{
"url": "http://cosri.org/fhir/last_fill",
"valueDate": "2020-03-21"
}
],
"quantity": {
"value": 14
}
},
"medicationCodeableConcept": {
"coding": [
{
"code": "0228315603",
"display": "BUPRENORPHINE 2 MG TABLET SL",
"system": "http://hl7.org/fhir/sid/ndc"
}
],
"text": "BUPRENORPHINE 2 MG TABLET SL"
},
"requester": {
"display": "WOODWARD DETROIT CVS, L.L.C. L.L.C."
},
"resourceType": "MedicationRequest",
"status": "active",
"intent": "order",
"subject": {
"reference": "Patient/1"
}
},
"request": {
"method": "POST",
"url": "MedicationRequest"
}
},
{
"resource": {
"authoredOn": "2020-02-14",
"dispenseRequest": {
"expectedSupplyDuration": {
"code": "d",
"system": "http://unitsofmeasure.org",
"unit": "days",
"value": 7
},
"extension": [
{
"url": "http://cosri.org/fhir/pharmacy_name",
"valueString": "SCRIPT FACTORY (WA)"
},
{
"url": "http://cosri.org/fhir/last_fill",
"valueDate": "2020-02-28"
}
],
"quantity": {
"value": 14
}
},
"medicationCodeableConcept": {
"coding": [
{
"code": "0228315603",
"display": "BUPRENORPHINE 2 MG TABLET SL",
"system": "http://hl7.org/fhir/sid/ndc"
}
],
"text": "BUPRENORPHINE 2 MG TABLET SL"
},
"requester": {
"display": "ROBERT MOSS"
},
"resourceType": "MedicationRequest",
"status": "active",
"intent": "order",
"subject": {
"reference": "Patient/1"
}
},
"request": {
"method": "POST",
"url": "MedicationRequest"
}
},
{
"resource": {
"authoredOn": "2020-04-01",
"dispenseRequest": {
"expectedSupplyDuration": {
"code": "d",
"system": "http://unitsofmeasure.org",
"unit": "days",
"value": 60
},
"extension": [
{
"url": "http://cosri.org/fhir/pharmacy_name",
"valueString": "SCRIPT FACTORY (WA)"
},
{
"url": "http://cosri.org/fhir/last_fill",
"valueDate": "2020-04-01"
}
],
"quantity": {
"value": 100
}
},
"medicationCodeableConcept": {
"coding": [
{
"code": "0009002901",
"display": "XANAX 0.25 MG TABLET",
"system": "http://hl7.org/fhir/sid/ndc"
}
],
"text": "XANAX 0.25 MG TABLET"
},
"requester": {
"display": "ORCHARD SERVICES"
},
"resourceType": "MedicationRequest",
"status": "active",
"intent": "order",
"subject": {
"reference": "Patient/1"
}
},
"request": {
"method": "POST",
"url": "MedicationRequest"
}
},
{
"resource": {
"authoredOn": "2020-01-01",
"dispenseRequest": {
"expectedSupplyDuration": {
"code": "d",
"system": "http://unitsofmeasure.org",
"unit": "days",
"value": 7
},
"extension": [
{
"url": "http://cosri.org/fhir/pharmacy_name",
"valueString": "SCRIPT FACTORY (WA)"
},
{
"url": "http://cosri.org/fhir/last_fill",
"valueDate": "2020-01-05"
}
],
"quantity": {
"value": 14
}
},
"medicationCodeableConcept": {
"coding": [
{
"code": "00228315603",
"display": "BUPRENORPHINE 2 MG TABLET SL",
"system": "http://hl7.org/fhir/sid/ndc"
},
{
"code": "351264",
"display": "BUPRENORPHINE 2 MG TABLET SL",
"system": "http://www.nlm.nih.gov/research/umls/rxnorm"
}
],
"text": "BUPRENORPHINE 2 MG TABLET SL"
},
"requester": {
"display": "ECKERD CORPORATION"
},
"resourceType": "MedicationRequest",
"status": "active",
"intent": "order",
"subject": {
"reference": "Patient/1"
}
},
"request": {
"method": "POST",
"url": "MedicationRequest"
}
},
{
"resource": {
"authoredOn": "2020-05-08",
"dispenseRequest": {
"expectedSupplyDuration": {
"code": "d",
"system": "http://unitsofmeasure.org",
"unit": "days",
"value": 15
},
"extension": [
{
"url": "http://cosri.org/fhir/pharmacy_name",
"valueString": "SCRIPT FACTORY (WA)"
},
{
"url": "http://cosri.org/fhir/last_fill",
"valueDate": "2020-05-28"
}
],
"quantity": {
"value": 30
}
},
"medicationCodeableConcept": {
"coding": [
{
"code": "5412311430",
"display": "ZUBSOLV 11.4-2.9 MG TABLET SL",
"system": "http://hl7.org/fhir/sid/ndc"
}
],
"text": "ZUBSOLV 11.4-2.9 MG TABLET SL"
},
"requester": {
"display": "ALAN NIELSEN"
},
"resourceType": "MedicationRequest",
"status": "active",
"intent": "order",
"subject": {
"reference": "Patient/1"
}
},
"request": {
"method": "POST",
"url": "MedicationRequest"
}
},
{
"resource": {
"authoredOn": "2020-06-09",
"dispenseRequest": {
"expectedSupplyDuration": {
"code": "d",
"system": "http://unitsofmeasure.org",
"unit": "days",
"value": 60
},
"extension": [
{
"url": "http://cosri.org/fhir/pharmacy_name",
"valueString": "SCRIPT FACTORY (WA)"
},
{
"url": "http://cosri.org/fhir/last_fill",
"valueDate": "2020-06-26"
}
],
"quantity": {
"value": 100
}
},
"medicationCodeableConcept": {
"coding": [
{
"code": "0009002901",
"display": "XANAX 0.25 MG TABLET",
"system": "http://hl7.org/fhir/sid/ndc"
}
],
"text": "XANAX 0.25 MG TABLET"
},
"requester": {
"display": "GENOA LLC"
},
"resourceType": "MedicationRequest",
"status": "active",
"intent": "order",
"subject": {
"reference": "Patient/1"
}
},
"request": {
"method": "POST",
"url": "MedicationRequest"
}
},
{
"resource": {
"authoredOn": "2020-06-14",
"dispenseRequest": {
"expectedSupplyDuration": {
"code": "d",
"system": "http://unitsofmeasure.org",
"unit": "days",
"value": 67
},
"extension": [
{
"url": "http://cosri.org/fhir/pharmacy_name",
"valueString": "CAROL'S PHARMACY CHAIN (WA)"
},
{
"url": "http://cosri.org/fhir/last_fill",
"valueDate": "2020-06-16"
}
],
"quantity": {
"value": 813
}
},
"medicationCodeableConcept": {
"coding": [
{
"code": "00245021111",
"display": "MIDODRINE HCL 2.5 MG TABLET",
"system": "http://hl7.org/fhir/sid/ndc"
},
{
"code": "993466",
"display": "MIDODRINE HCL 2.5 MG TABLET",
"system": "http://www.nlm.nih.gov/research/umls/rxnorm"
}
],
"text": "MIDODRINE HCL 2.5 MG TABLET"
},
"requester": {
"display": "ROBERT MOSS"
},
"resourceType": "MedicationRequest",
"status": "active",
"intent": "order",
"subject": {
"reference": "Patient/1"
}
},
"request": {
"method": "POST",
"url": "MedicationRequest"
}
},
{
"resource": {
"authoredOn": "2019-11-15",
"dispenseRequest": {
"expectedSupplyDuration": {
"code": "d",
"system": "http://unitsofmeasure.org",
"unit": "days",
"value": 30
},
"extension": [
{
"url": "http://cosri.org/fhir/pharmacy_name",
"valueString": "ALICE'S PHARMACY (WA)"
},
{
"url": "http://cosri.org/fhir/last_fill",
"valueDate": "2019-11-15"
}
],
"quantity": {
"value": 60
}
},
"medicationCodeableConcept": {
"coding": [
{
"code": "0009005707",
"display": "XANAX XR 0.5 MG TABLET",
"system": "http://hl7.org/fhir/sid/ndc"
}
],
"text": "XANAX XR 0.5 MG TABLET"
},
"requester": {
"display": "ROBERT MOSS"
},
"resourceType": "MedicationRequest",
"status": "active",
"intent": "order",
"subject": {
"reference": "Patient/1"
}
},
"request": {
"method": "POST",
"url": "MedicationRequest"
}
},
{
"resource": {
"authoredOn": "2019-09-13",
"dispenseRequest": {
"expectedSupplyDuration": {
"code": "d",
"system": "http://unitsofmeasure.org",
"unit": "days",
"value": 15
},
"extension": [
{
"url": "http://cosri.org/fhir/pharmacy_name",
"valueString": "ALICE'S PHARMACY (WA)"
},
{
"url": "http://cosri.org/fhir/last_fill",
"valueDate": "2019-09-13"
}
],
"quantity": {
"value": 30
}
},
"medicationCodeableConcept": {
"coding": [
{
"code": "0228315403",
"display": "BUPRENORPHN-NALOXN 2-0.5 MG SL",
"system": "http://hl7.org/fhir/sid/ndc"
}
],
"text": "BUPRENORPHN-NALOXN 2-0.5 MG SL"
},
"requester": {
"display": "ROLLA INC"
},
"resourceType": "MedicationRequest",
"status": "active",
"intent": "order",
"subject": {
"reference": "Patient/1"
}
},
"request": {
"method": "POST",
"url": "MedicationRequest"
}
},
{
"resource": {
"authoredOn": "2020-06-01",
"dispenseRequest": {
"expectedSupplyDuration": {
"code": "d",
"system": "http://unitsofmeasure.org",
"unit": "days",
"value": 15
},
"extension": [
{
"url": "http://cosri.org/fhir/pharmacy_name",
"valueString": "ALICE'S PHARMACY (WA)"
},
{
"url": "http://cosri.org/fhir/last_fill",
"valueDate": "2020-06-02"
}
],
"quantity": {
"value": 30
}
},
"medicationCodeableConcept": {
"coding": [
{
"code": "1659061630",
"display": "OXYCONTIN 20 MG TABLET",
"system": "http://hl7.org/fhir/sid/ndc"
}
],
"text": "OXYCONTIN 20 MG TABLET"
},
"requester": {
"display": "CROWELL INC"
},
"resourceType": "MedicationRequest",
"status": "active",
"intent": "order",
"subject": {
"reference": "Patient/1"
}
},
"request": {
"method": "POST",
"url": "MedicationRequest"
}
},
{
"resource": {
"authoredOn": "2019-10-13",
"dispenseRequest": {
"expectedSupplyDuration": {
"code": "d",
"system": "http://unitsofmeasure.org",
"unit": "days",
"value": 15
},
"extension": [
{
"url": "http://cosri.org/fhir/pharmacy_name",
"valueString": "ALICE'S PHARMACY (WA)"
},
{
"url": "http://cosri.org/fhir/last_fill",
"valueDate": "2019-10-14"
}
],
"quantity": {
"value": 30
}
},
"medicationCodeableConcept": {
"coding": [
{
"code": "0228315403",
"display": "BUPRENORPHN-NALOXN 2-0.5 MG SL",
"system": "http://hl7.org/fhir/sid/ndc"
}
],
"text": "BUPRENORPHN-NALOXN 2-0.5 MG SL"
},
"requester": {
"display": "ALAN NIELSEN"
},
"resourceType": "MedicationRequest",
"status": "active",
"intent": "order",
"subject": {
"reference": "Patient/1"
}
},
"request": {
"method": "POST",
"url": "MedicationRequest"
}
},
{
"resource": {
"authoredOn": "2019-08-15",
"dispenseRequest": {
"expectedSupplyDuration": {
"code": "d",
"system": "http://unitsofmeasure.org",
"unit": "days",
"value": 5
},
"extension": [
{
"url": "http://cosri.org/fhir/pharmacy_name",
"valueString": "ALICE'S PHARMACY (WA)"
},
{
"url": "http://cosri.org/fhir/last_fill",
"valueDate": "2019-08-16"
}
],
"quantity": {
"value": 10
}
},
"medicationCodeableConcept": {
"coding": [
{
"code": "5412311430",
"display": "ZUBSOLV 11.4-2.9 MG TABLET SL",
"system": "http://hl7.org/fhir/sid/ndc"
}
],
"text": "ZUBSOLV 11.4-2.9 MG TABLET SL"
},
"requester": {
"display": "GENOA LLC"
},
"resourceType": "MedicationRequest",
"status": "active",
"intent": "order",
"subject": {
"reference": "Patient/1"
}
},
"request": {
"method": "POST",
"url": "MedicationRequest"
}
}
]
}
@ivan-c
Copy link
Author

ivan-c commented Jul 7, 2020

curl -H "Content-Type: application/json" --data @/home/debian/naccho-med-data.transaction.json https://fhir.$BASE_DOMAIN.cirg.washington.edu/hapi-fhir-jpaserver/fhir

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment