Table of Contents |
---|
...
HL7 | e-Health | Comparison result | To change DM |
---|---|---|---|
MedicationRequest | [medication_request] | ||
"identifier" : [{ Identifier }], // External ids for this request | id | uuid | not null | Ok | |
"definition" : [{ Reference(ActivityDefinition|PlanDefinition) }], // Protocol or definition | ??? план действий | Small problem | Nothing todo |
"basedOn" : [{ Reference(CarePlan|MedicationRequest| ProcedureRequest| ReferralRequest) }], // What request fulfills | ??? основание | Small problem | Nothing todo |
"groupIdentifier" : { Identifier }, // Composite request this is part of | ??? групповой ИД | Small problem | Nothing todo |
"status" : "<code>", // active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown | status | enum() | not null | Ok | |
"intent" : "<code>", // R! proposal | plan | order | instance-order | ??? Тип исползования | Small problem | Nothing todo |
"category" : { CodeableConcept }, // Type of medication usage | ??? категория | Small problem | Nothing todo |
"priority" : "<code>", // routine | urgent | stat | asap | ??? приоритет (routine | urgent | stat | asap) | Nothing todo | Nothing todo |
// medication[x]: Medication to be taken. One of these 2: | |||
→"medicationCodeableConcept" : { CodeableConcept }, | |||
→"medicationReference" : { Reference(Medication) }, | |||
"subject" : { Reference(Patient|Group) }, // R! Who or group medication request is for | person_id | uuid | not null | Ok | |
"context" : { Reference(Encounter|EpisodeOfCare) }, // Created during encounter/admission/stay | ??? визит - сreated during encounter/admission/stay | Small problem | Nothing todo |
"supportingInformation" : [{ Reference(Any) }], // Information to support ordering of the medication | ??? примечание | Small problem | Nothing todo |
"authoredOn" : "<dateTime>", // When request was initially authored | created_date | date | not null | Ok | |
"requester" : { // Who/What requested the Request | ??? кто запрашивает | Ok | |
→"agent" : { Reference(Practitioner|Organization|Patient|RelatedPerson|Device) }, // R! Who ordered the initial medication(s) | ??? агент ??? legal_entity_id | uuid | not null | Ok | |
→"onBehalfOf" : { Reference(Organization) } // C? Organization agent is acting for | ??? | ||
"recorder" : { Reference(Practitioner) }, // Person who entered the request | employee_id | uuid | not null | Ok | |
"reasonCode" : [{ CodeableConcept }], // Reason or indication for writing the prescription | ??? | Small problem | Nothing todo |
"reasonReference" : [{ Reference(Condition|Observation) }], // Condition or Observation that supports why the prescription is being written | ??? | Small problem | Nothing todo |
"note" : [{ Annotation }], // Information about the prescription | ??? | Small problem | Need add |
"dosageInstruction" : [{ Dosage }], // How the medication should be taken | innm_dosage_instuction | jsonb | null | Ok | !!!! ---- |
"dispenseRequest" : { // Medication supply authorization | Ограничения на выдачу | Ok | - Но делаем кол-во |
→"validityPeriod" : { Period }, // Time period supply is authorized for | start_date | date| not null end_date | date| not null | Ok | |
→"numberOfRepeatsAllowed" : "<positiveInt>", // Number of refills authorized | Small problem | Nothing todo | |
→"quantity" : { Quantity(SimpleQuantity) }, // Amount of medication to supply per dispense | innm_dose_qty | number | not null | ||
→"expectedSupplyDuration" : { Duration }, // Number of days supply per dispense | ??? | Small problem | Nothing todo |
→"performer" : { Reference(Organization) } // Intended dispenser | ??? | Small problem | Nothing todo |
"substitution" : { // Any restrictions on medication substitution | ??? заменители | Small problem | Nothing todo |
→"allowed" : <boolean>, // R! Whether substitution is allowed or not | Small problem | Nothing todo | |
→"reason" : { CodeableConcept } // Why should (not) substitution be made | Small problem | Nothing todo | |
"priorPrescription" : { Reference(MedicationRequest) }, // An order/prescription that is being replaced | ??? предшествующий рецепт | Small problem | Nothing todo |
"detectedIssue" : [{ Reference(DetectedIssue) }], // Clinical Issue with action | ??? | Small problem | Nothing todo |
"eventHistory" : [{ Reference(Provenance) }] // A list of events of interest in the lifecycle | ??? | Small problem | Nothing todo |
...
HL7 | e-Health | Result | To change DM |
---|---|---|---|
MedicationDispense | [medication_dispenses], | ||
"identifier" : [{ Identifier }], // External identifier | id | uuid | not null | Ok | |
"partOf" : [{ Reference(Procedure) }], // Event that dispense is part of | ??? процедура лечения | Small problem | Nothing todo |
"status" : "<code>", // preparation | in-progress | on-hold | completed | entered-in-error | stopped | status | enum() | not null | Ok | |
"category" : { CodeableConcept }, // Type of medication dispense | ??? категория | Small problem | Nothing todo |
// medication[x]: What medication was supplied. One of these 2: | |||
→"medicationCodeableConcept" : { CodeableConcept }, | |||
→"medicationReference" : { Reference(Medication) }, | |||
"subject" : { Reference(Patient|Group) }, // Who the dispense is for | [medication_requests].person_id | Ok | |
"context" : { Reference(Encounter|EpisodeOfCare) }, // Encounter / Episode associated with event | ??? визит - сreated during encounter/ admission/stay | Small problem | Nothing todo |
"supportingInformation" : [{ Reference(Any) }], // Information that supports the dispensing of the medication | ??? доп.информация | Small problem | Nothing todo |
"performer" : [{ // Who performed event | Аптека | Ok | |
→"actor" : { Reference(Practitioner|Organization|Patient|Device|RelatedPerson) }, // R! Individual who was performing | employee_id | uuid | not null | Ok | |
→"onBehalfOf" : { Reference(Organization) } // Organization organization was acting for}], | legal_entity_id | uuid | not null | Ok | |
"authorizingPrescription" : [{ Reference(MedicationRequest) }], // Medication order that authorizes the dispense | medication_request_id | uuid | not null | Ok | |
"type" : { CodeableConcept }, // Trial fill, partial fill, emergency fill, etc. | ??? тип использования | Small problem | Nothing todo |
"quantity" : { Quantity(SimpleQuantity) }, // Amount dispensed | [medication_dispense_details].medication_qty | Ok | |
"daysSupply" : { Quantity(SimpleQuantity) }, // Amount of medication expressed as a timing amount | ??? хватит на Х дней | Small problem | Nothing todo |
"whenPrepared" : "<dateTime>", // When product was packaged and reviewed | ??? | Small problem | Nothing todo |
"whenHandedOver" : "<dateTime>", // When product was given out | ??? | Small problem | Nothing todo |
"destination" : { Reference(Location) }, // Where the medication was sent | ??? | Small problem | |
"receiver" : [{ Reference(Patient|Practitioner) }], // Who collected the medication | ??? получатель | Small problem | Need add |
"note" : [{ Annotation }], // Information about the dispense | ??? примечание отпуска | Small problem | Need add |
"dosageInstruction" : [{ Dosage }], // How the medication is to be used by the patient or administered by the caregiver | [medication_requests]. innm_dosage_instuction | jsonb | null | Ok | |
"substitution" : { // Whether a substitution was performed on the dispense | ??? заменители | Small problem | Nothing todo |
→"wasSubstituted" : <boolean>, // R! Whether a substitution was or was not performed on the dispense | ??? заменители | Small problem | Nothing todo |
→"type" : { CodeableConcept }, // Code signifying whether a different drug was dispensed from what was prescribed | ??? заменители | Small problem | Nothing todo |
→"reason" : [{ CodeableConcept }], // Why was substitution made | ??? заменители | Small problem | Nothing todo |
→"responsibleParty" : [{ Reference(Practitioner) }] // Who is responsible for the substitution | ??? заменители | Small problem | Nothing todo |
"detectedIssue" : [{ Reference(DetectedIssue) }], // Clinical issue with action | ??? | Small problem | Nothing todo |
"notDone" : <boolean>, // Whether the dispense was or was not performed | status | enum() | not null | Ok | |
// notDoneReason[x]: Why a dispense was not performed. One of these 2: | ??? | Small problem | Nothing todo |
→"notDoneReasonCodeableConcept" : { CodeableConcept }, | ??? | Small problem | Nothing todo |
→"notDoneReasonReference" : { Reference(DetectedIssue) }, | ??? | Small problem | Nothing todo |
"eventHistory" : [{ Reference(Provenance) }] // A list of releveant lifecycle events | ??? | Small problem | Nothing todo |
...
HL7 | e-Health | Result | To change DM |
---|---|---|---|
Medication | [medications], ingridients, innms [ingredients], [innms] | ||
"code" : { CodeableConcept }, // Codes that identify this medication | id | uuid | not null | Ok | |
"status" : "<code>", // active | inactive | entered-in-error | status | varchar | not null | Ok | |
"isBrand" : <boolean>, // True if a brand | [medications] | Ok | |
"isOverTheCounter" : <boolean>, // True if medication does not require a prescription | Small problem | Nothing todo | |
"manufacturer" : { Reference(Organization) }, // Manufacturer of the item | manufacturer_name_country | jsonb | not null | Ok | |
"form" : { CodeableConcept }, // powder | tablets | capsule + | route | varchar | not null | Ok | |
"ingredient" : [{ // Active or inactive ingredient | [ingridientsinngredients] | Ok | |
→// item[x]: The product contained. One of these 2: | |||
→"itemCodeableConcept" : { CodeableConcept }, | |||
→"itemReference" : { Reference(Substance|Medication)}, | [ingridientsingredients].innms_id | Ok | |
→"isActive" : <boolean>, // Active ingredient indicator | [ingridientsingredients].is_active_substance | Ok | |
→"amount" : { Ratio } // Quantity of ingredient present | [ingridientsingredients].dasagedosage | Ok | |
"package" : { // Details about packaged medications | Ok | ||
→"container" : { CodeableConcept }, // E.g. box, vial, blister-pack | [medications].container_dosage | Ok | |
→"content" : [{ // What is in the package | |||
→→// item[x]: The item in the package. One of these 2: | |||
→→"itemCodeableConcept" : { CodeableConcept }, | |||
→→"itemReference" : { Reference(Medication) }, | [medications] | Ok | |
→→"amount" : { Quantity(SimpleQuantity) } // Quantity present in the package | container_dosage | jsonb | not null package_qty | number| not null | Ok | |
"batch" : [{ // Identifies a single production run | ??? | Small problem | Nothing todo |
→"lotNumber" : "<string>", // Identifier assigned to batch | ??? | Small problem | Nothing todo |
→"expirationDate" : "<dateTime>" // When batch will expire | ??? | Small problem | Nothing todo |
"image" : [{ Attachment }] // Picture of the medication | ??? | Small problem | Nothing todo |
...