Skip to content

Commit

Permalink
Merge pull request #56 from PuraJuniper/SAGE-283-allergy-reaction
Browse files Browse the repository at this point in the history
SAGE-283-allergy-reaction
  • Loading branch information
oyisre authored Mar 29, 2022
2 parents 525ec6d + 59db750 commit 19009e5
Show file tree
Hide file tree
Showing 5 changed files with 243 additions and 126 deletions.
17 changes: 15 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,17 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"command": "npm run dev",
"name": "npm run dev",
"request": "launch",
"type": "node-terminal"
},
{
"type": "firefox",
"request": "launch",
"reAttach": true,
"name": "Launch localhost",
"name": "ffLaunch",
"url": "http://localhost:8083",
"pathMappings": [
{
Expand All @@ -17,5 +23,12 @@
}
]
}
]
],
"compounds": [
{
"name": "Debug",
"configurations": ["npm run dev", "ffLaunch"],
"stopAll": true
}
]
}
2 changes: 1 addition & 1 deletion src/helpers/schema-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export type SageNewResource = {

// type fhirTypeValues = "decimal" | "boolean" | "xhtml" | "base64Binary" | "code" | "uri" | "canonical";

type ProfileDefs = {
export type ProfileDefs = {
'__meta': {
baseDefinition: string,
id: string,
Expand Down
3 changes: 3 additions & 0 deletions src/simplified/cql-wizard/cql-generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ export async function generateCqlFromConditions(conditionStates: EditableStateFo

case "unknown":
return null;

default:
return null;
}
}
const clauses = conditionState.curWizState.filters.flatMap(filter => {
Expand Down
Loading

0 comments on commit 19009e5

Please sign in to comment.