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
{ | |
"name": "referralDataSetbase", | |
"version": "1.0", | |
"tag": "", | |
"description": "", | |
"uses": [], | |
"sources": [ | |
{ | |
"table": "amrs.patient_program", | |
"alias": "t3" |
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
{ | |
"name": "component_oncology-family-information-v1.0", | |
"uuid": "xxxx", | |
"processor": "EncounterFormProcessor", | |
"pages": [ | |
{ | |
"label": "Family History", | |
"sections": [ | |
{ | |
"label": "Family Members' Cancer History", |
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
{ | |
"name": "component_oncology-breast-physical-exam-v1.1", | |
"uuid": "xxxx", | |
"processor": "EncounterFormProcessor", | |
"pages": [ | |
{ | |
"label": "Physical Exam", | |
"sections": [ | |
{ | |
"label": "Breast Findings", |
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
CREATE DEFINER=`fmaiko`@`%` PROCEDURE `generate_flat_lung_cancer_screening_v1_0`(IN query_type varchar(50), IN queue_number int, IN queue_size int, IN cycle_size int) | |
BEGIN | |
set @primary_table := "flat_lung_cancer_screening"; | |
set @query_type = query_type; | |
set @total_rows_written = 0; | |
set @encounter_types = "(177,185)"; | |
set @clinical_encounter_types = "(-1)"; | |
set @non_clinical_encounter_types = "(-1)"; |
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
// en.json | |
{ | |
"actions_upper": "ACTIONS", | |
"active": "Active", | |
"activeConditions": "Active Conditions", | |
"activeMedications_lower": "active medications", | |
"activeMedications_title": "Active Medications", | |
"activePrograms": "Active Programs", | |
"activePrograms_upper": "ACTIVE PROGRAMS", |
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
CREATE DEFINER=`etl_user`@`%` PROCEDURE `generate_flat_lung_cancer_treatment_v1_0`(IN query_type varchar(50), IN queue_number int, IN queue_size int, IN cycle_size int) | |
BEGIN | |
SET @primary_table := "flat_lung_cancer_treatment"; | |
SET @query_type := query_type; | |
SET @total_rows_written := 0; | |
SET @encounter_types := "(169,170)"; | |
SET @clinical_encounter_types := "(-1)"; | |
SET @non_clinical_encounter_types := "(-1)"; |
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
function getDimensionsObservations(patientId: string) { | |
return openmrsObservableFetch( | |
`${fhirConfig.baseUrl}/Observation?subject:Patient=${patientId}&code=${WEIGHT_CONCEPT},${HEIGHT_CONCEPT}` | |
).pipe( | |
map(({ data }) => data["entry"]), | |
map(entries => { | |
if (entries) { | |
const dimensions = entries.map(entry => entry.resource); | |
return { | |
heights: dimensions.filter(dimension => |
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
{ | |
"label": "Prior VIA result:", | |
"id": "priorviaresult", | |
"type": "obs", | |
"historicalExpression": "HD.getObject('prevEnc').getValue('f165c64a-9354-4145-9b06-4ee437630218')", | |
"questionOptions": { | |
"concept": "f165c64a-9354-4145-9b06-4ee437630218", | |
"rendering": "select", | |
"answers": [ | |
{ |
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
import React, { useState, useEffect } from "react"; | |
import { useCurrentPatient, newWorkspaceItem } from "@openmrs/esm-api"; | |
import { useRouteMatch } from "react-router-dom"; | |
import { performPatientsVitalsSearch } from "./vitals-card.resource"; | |
import { createErrorHandler } from "@openmrs/esm-error-handling"; | |
import styles from "./vital-record.css"; | |
import SummaryCard from "../../ui-components/cards/summary-card.component"; | |
// import VitalsForm from "./alt-vitals-form.component"; | |
import VitalsForm from "./vitals-form.component"; | |
import dayjs from "dayjs"; |
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
{ | |
"name": "component_oncology-lab-results-v1.0", | |
"uuid": "xxxx", | |
"processor": "EncounterFormProcessor", | |
"pages": [ | |
{ | |
"label": "Test Results", | |
"sections": [ | |
{ | |
"label": "Prior VIA", |