From 5ce41b2505b7f5e2c5a55eb4378156a92ef0c488 Mon Sep 17 00:00:00 2001 From: sorliog <114115520+sorliog@users.noreply.github.com> Date: Wed, 20 Dec 2023 12:27:09 -0500 Subject: [PATCH] Changed tabs in code examples to be 4 spaces instead of 8 spaces --- README.md | 124 +++++++++++++++++++++++++++--------------------------- 1 file changed, 62 insertions(+), 62 deletions(-) diff --git a/README.md b/README.md index 7faca3dd..024fcdb7 100644 --- a/README.md +++ b/README.md @@ -194,13 +194,13 @@ const psource = new cql.PatientSource([ { } ]); executor - .exec(psource) - .then(result => { - console.log(JSON.stringify(result, undefined, 2)); - }) - .catch(err => { - console.error(err); - }); + .exec(psource) + .then(result => { + console.log(JSON.stringify(result, undefined, 2)); + }) + .catch(err => { + console.error(err); + }); ``` @@ -251,62 +251,62 @@ define AllFalse: false and false */ module.exports['And'] = { - "library" : { - "identifier" : { "id" : "TestSnippet", "version" : "1" }, - "schemaIdentifier" : { "id" : "urn:hl7-org:elm", "version" : "r1" }, - "usings" : { - "def" : [ - { "localIdentifier" : "System", "uri" : "urn:hl7-org:elm-types:r1" }, - { "localIdentifier" : "Simple", "uri" : "https://github.com/cqframework/cql-execution/simple", "version" : "1.0.0" } - ] - }, - "statements" : { - "def" : [ { - "name" : "Patient", - "context" : "Patient", - "expression" : { - "type" : "SingletonFrom", - "operand" : { - "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", - "type" : "Retrieve" - } - } - }, { - "name" : "AllTrue", - "context" : "Patient", - "accessLevel" : "Public", - "expression" : { - "type" : "And", - "operand" : [ - { "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", "value" : "true", "type" : "Literal" }, - { "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", "value" : "true", "type" : "Literal" } - ] - } - }, { - "name" : "SomeTrue", - "context" : "Patient", - "accessLevel" : "Public", - "expression" : { - "type" : "And", - "operand" : [ - { "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", "value" : "true", "type" : "Literal" }, - { "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", "value" : "false", "type" : "Literal" } - ] - } - }, { - "name" : "AllFalse", - "context" : "Patient", - "accessLevel" : "Public", - "expression" : { - "type" : "And", - "operand" : [ - { "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", "value" : "false", "type" : "Literal" }, - { "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", "value" : "false", "type" : "Literal" } - ] - } - } + "library" : { + "identifier" : { "id" : "TestSnippet", "version" : "1" }, + "schemaIdentifier" : { "id" : "urn:hl7-org:elm", "version" : "r1" }, + "usings" : { + "def" : [ + { "localIdentifier" : "System", "uri" : "urn:hl7-org:elm-types:r1" }, + { "localIdentifier" : "Simple", "uri" : "https://github.com/cqframework/cql-execution/simple", "version" : "1.0.0" } + ] + }, + "statements" : { + "def" : [ { + "name" : "Patient", + "context" : "Patient", + "expression" : { + "type" : "SingletonFrom", + "operand" : { + "dataType" : "{https://github.com/cqframework/cql-execution/simple}Patient", + "type" : "Retrieve" + } + } + }, { + "name" : "AllTrue", + "context" : "Patient", + "accessLevel" : "Public", + "expression" : { + "type" : "And", + "operand" : [ + { "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", "value" : "true", "type" : "Literal" }, + { "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", "value" : "true", "type" : "Literal" } + ] + } + }, { + "name" : "SomeTrue", + "context" : "Patient", + "accessLevel" : "Public", + "expression" : { + "type" : "And", + "operand" : [ + { "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", "value" : "true", "type" : "Literal" }, + { "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", "value" : "false", "type" : "Literal" } + ] + } + }, { + "name" : "AllFalse", + "context" : "Patient", + "accessLevel" : "Public", + "expression" : { + "type" : "And", + "operand" : [ + { "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", "value" : "false", "type" : "Literal" }, + { "valueType" : "{urn:hl7-org:elm-types:r1}Boolean", "value" : "false", "type" : "Literal" } + ] + } + } ]} - } + } } ```