Skip to content
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@
},
{
"linkId": "6.5",
"text": "4. I understand that some patients while taking isotretinoin or soon after stopping isotetrinoin, have become depressed or developed other serious mental problems. Symptoms of depression include sad, anxious or empty mood, irritability, acting on dangerous impulses, anger, loss of pleasure or interest in social or sport activities, sleeping too much or too little, changes in weight or appetite, school or work performance going down, or trouble concentrating. Some patients taking isotretinoin have had thoughts about hurting themselves or putting an end to their own lives (suicidal thoughts). Some people tried to end their own lives, and some people have ended their own lives. There were reports that some of these people did not appear depressed. There have been reports of patients on isotretinoin becoming aggressive or violent. Some people have had other signs of depression while taking isotretinoin (see #7).",
"text": "4. I understand that some patients while taking isotretinoin or soon after stopping isotretinoin, have become depressed or developed other serious mental problems. Symptoms of depression include sad, anxious or empty mood, irritability, acting on dangerous impulses, anger, loss of pleasure or interest in social or sport activities, sleeping too much or too little, changes in weight or appetite, school or work performance going down, or trouble concentrating. Some patients taking isotretinoin have had thoughts about hurting themselves or putting an end to their own lives (suicidal thoughts). Some people tried to end their own lives, and some people have ended their own lives. There were reports that some of these people did not appear depressed. There have been reports of patients on isotretinoin becoming aggressive or violent. Some people have had other signs of depression while taking isotretinoin (see #7).",
"type": "boolean",
"required": true
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"resourceType": "Questionnaire",
"id": "physical-exam",
"name": "Physican Exam Module",
"name": "Physical Exam Module",
"url": "http://hl7.org/fhir/Questionnaire/physical-exam",
"meta": {
"profile": [
"http://hl7.org/fhir/StructureDefinition/cqf-questionnaire",
"http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-questionnaire-r4"
]
},
},
"status": "draft",
"item":[
"item": [
{
"linkId": "OBJ.PE",
"code": [
Expand All @@ -32,7 +32,7 @@
"system": "http://loinc.org"
}
],
"type": "string",
"type": "string",
"text": "General Appearance"
},
{
Expand All @@ -44,7 +44,7 @@
"system": "http://loinc.org"
}
],
"type": "string",
"type": "string",
"text": "Head and Face"
},
{
Expand Down Expand Up @@ -104,7 +104,7 @@
"system": "http://loinc.org"
}
],
"type": "string",
"type": "string",
"text": "Cardiovascular System"
},
{
Expand Down Expand Up @@ -172,12 +172,12 @@
"code": [
{
"code": "71401-4",
"display": "Extremeties",
"display": "Extremities",
"system": "http://loinc.org"
}
],
"type": "string",
"text": "Extremeties"
"text": "Extremities"
},
{
"linkId": "PE.14",
Expand Down Expand Up @@ -249,5 +249,5 @@
}
]
}
]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
"http://hl7.org/fhir/StructureDefinition/cqf-questionnaire",
"http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-questionnaire-r4"
]
},
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/cqf-library",
"valueCanonical": "http://hl7.org/fhir/us/davinci-dtr/Library/BasicClinicalInfo-prepopulation"
}
],
],
"status": "draft",
"item":[
"item": [
{
"linkId": "SUB",
"text": "Subjective",
Expand Down Expand Up @@ -78,7 +78,7 @@
"linkId": "MED.1.4",
"text": "Frequency",
"type": "open-choice",
"answerValueSet":"http://hl7.org/fhir/ValueSet/timing-abbreviation"
"answerValueSet": "http://hl7.org/fhir/ValueSet/timing-abbreviation"
},
{
"linkId": "MED.1.5",
Expand Down Expand Up @@ -107,9 +107,9 @@
"text": "Allergy",
"type": "open-choice",
"repeats": true,
"anwerOption": []
"answerOption": []
}
]
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/valueset-definition",
"valueString": "The subject is experiencing a re-occurence or repeating of a previously resolved condition, e.g. urinary tract infection, pancreatitis, cholangitis, conjunctivitis."
"valueString": "The subject is experiencing a re-occurrence or repeating of a previously resolved condition, e.g. urinary tract infection, pancreatitis, cholangitis, conjunctivitis."
}
],
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
"name": "TuralioRemsPatientEnrollment",
"title": "Turalio Rems Patient Enrollment",
"status": "draft",
"subjectType": [
"Patient"
],
"subjectType": ["Patient"],
"date": "2020-05-20",
"publisher": "Da Vinci DTR",
"extension": [
Expand Down Expand Up @@ -230,7 +228,7 @@
"code": "White",
"display": "White"
}
}
}
]
},
{
Expand Down Expand Up @@ -466,14 +464,16 @@
}
}
],
"item" : [
"item": [
{
"linkId": "3.1.1",
"text": "Laboratory Test",
"type": "string",
"initial": [{
"valueString": "AST or SGOT"
}],
"initial": [
{
"valueString": "AST or SGOT"
}
],
"readOnly": true
},
{
Expand Down Expand Up @@ -524,14 +524,16 @@
}
}
],
"item" : [
"item": [
{
"linkId": "3.1.1",
"text": "Laboratory Test",
"type": "string",
"initial": [{
"valueString": "ALT or SGPT"
}],
"initial": [
{
"valueString": "ALT or SGPT"
}
],
"readOnly": true
},
{
Expand Down Expand Up @@ -582,14 +584,16 @@
}
}
],
"item" : [
"item": [
{
"linkId": "3.1.1",
"text": "Laboratory Test",
"type": "string",
"initial": [{
"valueString": "GGT"
}],
"initial": [
{
"valueString": "GGT"
}
],
"readOnly": true
},
{
Expand Down Expand Up @@ -640,14 +644,16 @@
}
}
],
"item" : [
"item": [
{
"linkId": "3.1.1",
"text": "Laboratory Test",
"type": "string",
"initial": [{
"valueString": "Total Bilirubin"
}],
"initial": [
{
"valueString": "Total Bilirubin"
}
],
"readOnly": true
},
{
Expand Down Expand Up @@ -698,14 +704,16 @@
}
}
],
"item" : [
"item": [
{
"linkId": "3.1.1",
"text": "Laboratory Test",
"type": "string",
"initial": [{
"valueString": "Direct Bilirubin"
}],
"initial": [
{
"valueString": "Direct Bilirubin"
}
],
"readOnly": true
},
{
Expand Down Expand Up @@ -756,14 +764,16 @@
}
}
],
"item" : [
"item": [
{
"linkId": "3.1.1",
"text": "Laboratory Test",
"type": "string",
"initial": [{
"valueString": "Alkaline Phosphatase"
}],
"initial": [
{
"valueString": "Alkaline Phosphatase"
}
],
"readOnly": true
},
{
Expand Down Expand Up @@ -814,14 +824,16 @@
}
}
],
"item" : [
"item": [
{
"linkId": "3.1.1",
"text": "Laboratory Test",
"type": "string",
"initial": [{
"valueString": "Albumin"
}],
"initial": [
{
"valueString": "Albumin"
}
],
"readOnly": true
},
{
Expand Down Expand Up @@ -872,14 +884,16 @@
}
}
],
"item" : [
"item": [
{
"linkId": "3.1.1",
"text": "Laboratory Test",
"type": "string",
"initial": [{
"valueString": "PT/INR"
}],
"initial": [
{
"valueString": "PT/INR"
}
],
"readOnly": true
},
{
Expand Down Expand Up @@ -1169,4 +1183,4 @@
]
}
]
}
}
21 changes: 17 additions & 4 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ import 'dotenv/config';
import * as env from 'env-var';

// Set up whitelist
const whitelist_env = env.get('WHITELIST').asArray() || false;
const whitelistEnv = env.get('WHITELIST').asArray() || false;

// If no whitelist is present, disable cors
// If it's length is 1, set it to a string, so * works
// If no whitelist is present, disable CORS
// If its length is 1, set it to a string, so * works
// If there are multiple, keep them as an array
const whitelist = whitelist_env && whitelist_env.length === 1 ? whitelist_env[0] : whitelist_env;
const whitelist = whitelistEnv && whitelistEnv.length === 1 ? whitelistEnv[0] : whitelistEnv;
export default {
server: {
port: env.get('PORT').asInt(),
Expand Down Expand Up @@ -115,6 +115,19 @@ export default {
valueset: {
service: './src/services/valueset.service.ts',
versions: [fhirConstants.VERSIONS['4_0_0']]
},
guidanceresponse: {
service: './src/services/guidanceresponse.service.ts',
versions: [fhirConstants.VERSIONS['4_0_0']],
operation: [
{
name: 'rems-etasu',
route: '/$rems-etasu',
method: 'POST',
reference:
'https://build.fhir.org/ig/HL7/fhir-medication-rems-ig/OperationDefinition-REMS-ETASU.html'
}
]
}
}
}
Expand Down
Loading