forked from HL7-DaVinci/test-ehr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #72 from mcode/dev
Dev
- Loading branch information
Showing
19 changed files
with
227 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
78 changes: 78 additions & 0 deletions
78
fhirResourcesToLoad/rems_snow_medicationrequest_acetaminophen.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
{ | ||
"resourceType": "MedicationRequest", | ||
"id": "pat017-mr-acetaminophen", | ||
"meta": { | ||
"versionId": "1", | ||
"lastUpdated": "2023-12-18T21:12:33.000+00:00", | ||
"source": "#aquj6ECLPVYNYbuX", | ||
"profile": [ | ||
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" | ||
] | ||
}, | ||
"identifier": [ | ||
{ | ||
"type": { | ||
"coding": [ | ||
{ | ||
"system": "http://terminology.hl7.org/CodeSystem/v2-0203", | ||
"code": "PLAC", | ||
"display": "Placer Identifier" | ||
} | ||
] | ||
}, | ||
"system": "http://myprescribingsystem.com/ordernumber", | ||
"value": "605153" | ||
} | ||
], | ||
"status": "draft", | ||
"intent": "order", | ||
"medicationCodeableConcept": { | ||
"coding": [ | ||
{ | ||
"system": "http://www.nlm.nih.gov/research/umls/rxnorm", | ||
"code": "993781", | ||
"display": "Acetaminophen 300 MG / Codeine Phosphate 30 MG Oral Tablet" | ||
}, | ||
{ | ||
"system": "http://hl7.org/fhir/sid/ndc", | ||
"code": "00093015001" | ||
} | ||
], | ||
"text": "Acetaminophen 300 mg / Codeine 30 mg oral tablet" | ||
}, | ||
"subject": { | ||
"reference": "Patient/pat017", | ||
"display": "Jon Snow" | ||
}, | ||
"authoredOn": "2023-06-05", | ||
"requester": { | ||
"reference": "Practitioner/pra1234", | ||
"display": "Jane Doe" | ||
}, | ||
"reasonCode": [ | ||
{ | ||
"text": "Post dental surgery" | ||
} | ||
], | ||
"dosageInstruction": [ | ||
{ | ||
"text": "1 tab tid prn pain" | ||
} | ||
], | ||
"dispenseRequest": { | ||
"numberOfRepeatsAllowed": 1, | ||
"quantity": { | ||
"value": 10, | ||
"unit": "each", | ||
"system": "http://unitsofmeasure.org", | ||
"code": "{each}" | ||
}, | ||
"performer": { | ||
"identifier": { | ||
"system": "http://terminology.hl7.org/CodeSystem/NCPDPProviderIdentificationNumber", | ||
"value": "0999017" | ||
}, | ||
"display": "Our Pharmacy" | ||
} | ||
} | ||
} |
93 changes: 93 additions & 0 deletions
93
fhirResourcesToLoad/rems_snow_medicationrequest_addyi.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
{ | ||
"resourceType": "MedicationRequest", | ||
"id": "pat017-mr-addyi", | ||
"medicationCodeableConcept": { | ||
"coding": [ | ||
{ | ||
"system": "http://www.nlm.nih.gov/research/umls/rxnorm", | ||
"code": "1666386", | ||
"display": "Addyi 100 MG Oral Tablet" | ||
}, | ||
{ | ||
"system": "http://hl7.org/fhir/sid/ndc", | ||
"code": "58604-214-03" | ||
} | ||
] | ||
}, | ||
"status": "active", | ||
"intent": "order", | ||
"subject": { | ||
"reference": "Patient/pat017", | ||
"display": "Jon Snow" | ||
}, | ||
"authoredOn": "2024-02-29", | ||
"requester": { | ||
"reference": "Practitioner/pra1234", | ||
"display": "Jane Doe" | ||
}, | ||
"reasonCode": [ | ||
{ | ||
"coding": [ | ||
{ | ||
"system": "http://snomed.info/sct", | ||
"code": "270903007", | ||
"display": "Hypoactive sexual desire disorder (HSDD)" | ||
} | ||
] | ||
} | ||
], | ||
"insurance": [ | ||
{ | ||
"reference": "Coverage/cov017" | ||
} | ||
], | ||
"dosageInstruction": [ | ||
{ | ||
"sequence": 1, | ||
"text": "100mg before bed", | ||
"timing": { | ||
"repeat": { | ||
"frequency": 1, | ||
"period": 1, | ||
"periodUnit": "d" | ||
} | ||
}, | ||
"route": { | ||
"coding": [ | ||
{ | ||
"system": "http://snomed.info/sct", | ||
"code": "26643006", | ||
"display": "Oral route (qualifier value)" | ||
} | ||
] | ||
}, | ||
"doseAndRate": [ | ||
{ | ||
"type": { | ||
"coding": [ | ||
{ | ||
"system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", | ||
"code": "ordered", | ||
"display": "Ordered" | ||
} | ||
] | ||
}, | ||
"doseQuantity": { | ||
"value": 100, | ||
"unit": "mg", | ||
"system": "http://unitsofmeasure.org", | ||
"code": "mg" | ||
} | ||
} | ||
] | ||
} | ||
], | ||
"dispenseRequest": { | ||
"quantity": { | ||
"value": 28, | ||
"system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm", | ||
"code": "TAB" | ||
}, | ||
"numberOfRepeatsAllowed": 2 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 0 additions & 7 deletions
7
src/main/java/org/hl7/davinci/ehrserver/authproxy/PayloadDAO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
src/main/java/org/hl7/davinci/ehrserver/authproxy/PayloadMapper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
src/main/java/org/hl7/davinci/ehrserver/requestgenerator/database/KeyDAO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.