-
Notifications
You must be signed in to change notification settings - Fork 320
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into CJM-77449
- Loading branch information
Showing
14 changed files
with
2,643 additions
and
0 deletions.
There are no files selected for viewing
83 changes: 83 additions & 0 deletions
83
extensions/industry/healthcare/fhir/fieldgroups/medicationdispense.example.1.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,83 @@ | ||
{ | ||
"status" : "in-progress", | ||
"medication" : { | ||
"concept" : { | ||
"coding" : [{ | ||
"system" : "http://www.nlm.nih.gov/research/umls/rxnorm", | ||
"code" : "226827", | ||
"display" : "Azithromycin 500mg oral tablet (Zithromax)" | ||
}] | ||
} | ||
}, | ||
"subject" : { | ||
"reference" : "Patient/pat1", | ||
"display" : "Donald Duck" | ||
}, | ||
"performer" : [{ | ||
"actor" : { | ||
"reference" : "Practitioner/f006" | ||
} | ||
}], | ||
"authorizingPrescription" : [{ | ||
"reference" : "MedicationRequest/medrx0313" | ||
}], | ||
"type" : { | ||
"coding" : [{ | ||
"system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode", | ||
"code" : "TF", | ||
"display" : "trial Fill" | ||
}] | ||
}, | ||
"quantity" : { | ||
"value" : 5, | ||
"system" : "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm", | ||
"code" : "TAB" | ||
}, | ||
"daysSupply" : { | ||
"value" : 5, | ||
"unit" : "Day", | ||
"system" : "http://unitsofmeasure.org", | ||
"code" : "d" | ||
}, | ||
"whenPrepared" : "2024-08-29T10:20:00Z", | ||
"dosageInstruction" : [{ | ||
"sequence" : 1, | ||
"text" : "500mg daily for 5 days", | ||
"additionalInstruction" : [{ | ||
"coding" : [{ | ||
"system" : "http://snomed.info/sct", | ||
"code" : "421984009", | ||
"display" : "Until finished - dosing instruction fragment (qualifier value)" | ||
}] | ||
}], | ||
"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" : 500, | ||
"unit" : "mg", | ||
"system" : "http://unitsofmeasure.org", | ||
"code" : "mg" | ||
} | ||
}] | ||
}] | ||
} |
273 changes: 273 additions & 0 deletions
273
extensions/industry/healthcare/fhir/fieldgroups/medicationdispense.schema.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,273 @@ | ||
{ | ||
"meta:license":[ | ||
"Copyright 2024 Adobe Systems Incorporated. All rights reserved.", | ||
"This work is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) license", | ||
"you may not use this file except in compliance with the License. You may obtain a copy", | ||
"of the License at https://creativecommons.org/licenses/by/4.0/" | ||
], | ||
"$id":"https://ns.fhir.org/fieldgroups/medicationdispense", | ||
"$schema":"http://json-schema.org/draft-06/schema#", | ||
"title":"Medication", | ||
"type":"object", | ||
"meta:tags":{ | ||
"industry":[ | ||
"healthcare_services" | ||
] | ||
}, | ||
"meta:intendedToExtend":[ | ||
"https://ns.adobe.com/xdm/classes/medication", | ||
"https://ns.adobe.com/xdm/context/profile", | ||
"https://ns.adobe.com/xdm/classes/provider" | ||
], | ||
"meta:extensible":true, | ||
"meta:abstract":true, | ||
"description":"Indicates that a medication product is to be or has been dispensed for a named person/patient.(Based on HL7 FHIR Release 5 specifications)", | ||
"definitions":{ | ||
"medicationDispense":{ | ||
"properties":{ | ||
"xdm:healthcareMedicationDispense":{ | ||
"type":"object", | ||
"properties":{ | ||
"xdm:identifier":{ | ||
"title":"Identifier", | ||
"description":"Identifiers associated with this medication Dispense that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate.", | ||
"type":"array", | ||
"items":{ | ||
"$ref":"https://ns.fhir.org/datatypes/identifier" | ||
} | ||
}, | ||
"xdm:basedOn":{ | ||
"title":"Based On", | ||
"description":"A plan that is fulfilled in whole or in part by this MedicationDispense.", | ||
"type":"array", | ||
"items":{ | ||
"$ref":"https://ns.fhir.org/datatypes/reference" | ||
} | ||
}, | ||
"xdm:partOf":{ | ||
"title":"Part Of", | ||
"description":"The procedure or medication administration that triggered the dispense.", | ||
"type":"array", | ||
"items":{ | ||
"$ref":"https://ns.fhir.org/datatypes/reference" | ||
} | ||
}, | ||
"xdm:status":{ | ||
"title":"Status", | ||
"description":"preparation | in-progress | cancelled | on-hold | completed | entered-in-error | stopped | declined | unknown", | ||
"type":"string", | ||
"enum":[ | ||
"preparation", | ||
"in-progress", | ||
"cancelled", | ||
"on-hold", | ||
"completed", | ||
"entered-in-error", | ||
"stopped", | ||
"declined", | ||
"unknown" | ||
], | ||
"meta:enum":{ | ||
"preparation":"Preparation", | ||
"in-progress":"In Progress", | ||
"cancelled":"Cancelled", | ||
"on-hold":"On Hold", | ||
"completed":"Completed", | ||
"entered-in-error":"Entered In Error", | ||
"stopped":"Stopped", | ||
"declined":"Declined", | ||
"unknown":"Unknown" | ||
} | ||
}, | ||
"xdm:notPerformedReason":{ | ||
"title":"Not Performed Reason", | ||
"description":"Indicates the reason why a dispense was not performed.", | ||
"$ref":"https://ns.fhir.org/datatypes/codeablereference" | ||
}, | ||
"xdm:statusChanged":{ | ||
"title":"Status Changed", | ||
"description":"The date (and maybe time) when the status of the dispense record changed.", | ||
"type":"string", | ||
"format":"date-time" | ||
}, | ||
"xdm:category":{ | ||
"title":"Category", | ||
"description":"Indicates the type of medication dispense (for example, drug classification like ATC, where meds would be administered, legal category of the medication.).", | ||
"type":"array", | ||
"items":{ | ||
"$ref":"https://ns.fhir.org/datatypes/codeableconcept" | ||
} | ||
}, | ||
"xdm:medication":{ | ||
"title":"Medication", | ||
"description":"Identifies the medication being requested. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications.", | ||
"$ref":"https://ns.fhir.org/datatypes/codeablereference" | ||
}, | ||
"xdm:subject":{ | ||
"title":"Subject", | ||
"description":"A link to a resource representing the person or the group to whom the medication will be given.", | ||
"$ref":"https://ns.fhir.org/datatypes/reference" | ||
}, | ||
"xdm:encounter":{ | ||
"title":"Encounter", | ||
"description":"The encounter that establishes the context for this event.", | ||
"$ref":"https://ns.fhir.org/datatypes/reference" | ||
}, | ||
"xdm:supportingInformation":{ | ||
"title":"Supporting Information", | ||
"description":"Additional information that supports the medication being dispensed. For example, there may be requirements that a specific lab test has been completed prior to dispensing or the patient's weight at the time of dispensing is documented.", | ||
"type":"array", | ||
"items":{ | ||
"$ref":"https://ns.fhir.org/datatypes/reference" | ||
} | ||
}, | ||
"xdm:performer":{ | ||
"title":"Performer", | ||
"description":"Indicates who or what performed the event.", | ||
"type":"array", | ||
"items":{ | ||
"type":"object", | ||
"properties":{ | ||
"xdm:function":{ | ||
"title":"Function", | ||
"description":"Distinguishes the type of performer in the dispense. For example, date enterer, packager, final checker.", | ||
"$ref":"https://ns.fhir.org/datatypes/codeableconcept" | ||
}, | ||
"xdm:actor":{ | ||
"title":"Actor", | ||
"description":"The device, practitioner, etc. who performed the action. It should be assumed that the actor is the dispenser of the medication.", | ||
"$ref":"https://ns.fhir.org/datatypes/reference" | ||
} | ||
} | ||
} | ||
}, | ||
"xdm:location":{ | ||
"title":"Location", | ||
"description":"The principal physical location where the dispense was performed.", | ||
"$ref":"https://ns.fhir.org/datatypes/reference" | ||
}, | ||
"xdm:authorizingPrescription":{ | ||
"title":"Authorizing Prescription", | ||
"description":"Indicates the medication order that is being dispensed against.", | ||
"type":"array", | ||
"items":{ | ||
"$ref":"https://ns.fhir.org/datatypes/reference" | ||
} | ||
}, | ||
"xdm:type":{ | ||
"title":"Type", | ||
"description":"Indicates the type of dispensing event that is performed. For example, Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.", | ||
"$ref":"https://ns.fhir.org/datatypes/codeableconcept" | ||
}, | ||
"xdm:quantity":{ | ||
"title":"quantity", | ||
"description":"The amount of medication that has been dispensed. Includes unit of measure.", | ||
"$ref":"https://ns.fhir.org/datatypes/simplequantity" | ||
}, | ||
"xdm:daysSupply":{ | ||
"title":"Days Supply", | ||
"description":"The amount of medication expressed as a timing amount.", | ||
"$ref":"https://ns.fhir.org/datatypes/simplequantity" | ||
}, | ||
"xdm:recorded":{ | ||
"title":"Recorded", | ||
"description":"The date (and maybe time) when the dispense activity started if whenPrepared or whenHandedOver is not populated.", | ||
"type":"string", | ||
"format":"date-time" | ||
}, | ||
"xdm:whenPrepared":{ | ||
"title":"When Prepared", | ||
"description":"The time when the dispensed product was packaged and reviewed.", | ||
"type":"string", | ||
"format":"date-time" | ||
}, | ||
"xdm:whenHandedOver":{ | ||
"title":"When Handed Over", | ||
"description":"The time the dispensed product was provided to the patient or their representative.", | ||
"type":"string", | ||
"format":"date-time" | ||
}, | ||
"xdm:destination":{ | ||
"title":"Destination", | ||
"description":"Identification of the facility/location where the medication was/will be shipped to, as part of the dispense event.", | ||
"$ref":"https://ns.fhir.org/datatypes/reference" | ||
}, | ||
"xdm:receiver":{ | ||
"title":"Receiver", | ||
"description":"Identifies the person who picked up the medication or the location of where the medication was delivered. This will usually be a patient or their caregiver, but some cases exist where it can be a healthcare professional or a location.", | ||
"type":"array", | ||
"items":{ | ||
"$ref":"https://ns.fhir.org/datatypes/reference" | ||
} | ||
}, | ||
"xdm:note":{ | ||
"title":"Note", | ||
"description":"Extra information about the dispense that could not be conveyed in the other attributes.", | ||
"type":"array", | ||
"items":{ | ||
"$ref":"https://ns.fhir.org/datatypes/annotation" | ||
} | ||
}, | ||
"xdm:renderedDosageInstruction":{ | ||
"title":"Rendered Dosage Instruction", | ||
"description":"The full representation of the dose of the medication included in all dosage instructions. To be used when multiple dosage instructions are included to represent complex dosing such as increasing or tapering doses.", | ||
"type":"string" | ||
}, | ||
"xdm:dosageInstruction":{ | ||
"title":"Dosage Instruction", | ||
"description":"Indicates how the medication is to be used by the patient.", | ||
"type":"array", | ||
"items":{ | ||
"$ref":"https://ns.fhir.org/datatypes/dosage" | ||
} | ||
}, | ||
"xdm:substitution":{ | ||
"title":"Substitution", | ||
"description":"Indicates whether or not substitution was made as part of the dispense.", | ||
"type":"object", | ||
"properties":{ | ||
"xdm:wasSubstituted":{ | ||
"title":"Was Substituted", | ||
"description":"True if the dispenser dispensed a different drug or product from what was prescribed.", | ||
"type":"boolean" | ||
}, | ||
"xdm:type":{ | ||
"title":"Type", | ||
"description":"A code signifying whether a different drug was dispensed from what was prescribed.", | ||
"$ref":"https://ns.fhir.org/datatypes/codeableconcept" | ||
}, | ||
"xdm:reason":{ | ||
"title":"Reason", | ||
"description":"Indicates the reason for the substitution, or why substitution must or must not be performed.", | ||
"type":"array", | ||
"items":{ | ||
"$ref":"https://ns.fhir.org/datatypes/codeableconcept" | ||
} | ||
}, | ||
"xdm:responsibleParty":{ | ||
"title":"Responsible Party", | ||
"description":"The person or organization that has primary responsibility for the substitution.", | ||
"$ref":"https://ns.fhir.org/datatypes/reference" | ||
} | ||
} | ||
}, | ||
"xdm:eventHistory":{ | ||
"title":"Event History", | ||
"description":"A summary of the events of interest that have occurred, such as when the dispense was verified.", | ||
"type":"array", | ||
"items":{ | ||
"$ref":"https://ns.fhir.org/datatypes/reference" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"allOf":[ | ||
{ | ||
"$ref":"#/definitions/medicationDispense" | ||
} | ||
], | ||
"meta:status":"experimental" | ||
} |
Oops, something went wrong.