diff --git a/.travis.yml b/.travis.yml index 7ffd59ae8..b9826be71 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,46 +2,45 @@ language: java jdk: openjdk11 os: linux dist: xenial - cache: timeout: 180 directories: - "$HOME/.m2/repository" - install: - - mvn install -U -DskipTests=true -Dmaven.javadoc.skip=true -B -V - +- mvn install -U -DskipTests=true -Dmaven.javadoc.skip=true -B -V script: - # master or PRs into master, use the release profile - - 'if [[ "$TRAVIS_BRANCH" =~ master* ]]; then mvn test -B -P release; fi' - - 'if ! [[ "$TRAVIS_BRANCH" =~ master* ]]; then mvn test -B; fi' - - -## export GPG details +- if [[ "$TRAVIS_BRANCH" =~ master* ]]; then mvn test -B -P release; fi +- if ! [[ "$TRAVIS_BRANCH" =~ master* ]]; then mvn test -B; fi before_deploy: - - 'if [[ "$TRAVIS_BRANCH" =~ master* ]]; then echo $GPG_SECRET_KEYS | base64 --decode | $GPG_EXECUTABLE --import; fi' - - 'if [[ "$TRAVIS_BRANCH" =~ master* ]]; then echo $GPG_OWNERTRUST | base64 --decode | $GPG_EXECUTABLE --import-ownertrust; fi' - -# NOTE: tests were already run as part of the script phase +- if [[ "$TRAVIS_BRANCH" =~ master* ]]; then echo $GPG_SECRET_KEYS | base64 --decode + | $GPG_EXECUTABLE --import; fi +- if [[ "$TRAVIS_BRANCH" =~ master* ]]; then echo $GPG_OWNERTRUST | base64 --decode + | $GPG_EXECUTABLE --import-ownertrust; fi deploy: - # deploy develop as a snapshot - - provider: script - script: "cp .travis.settings.xml $HOME/.m2/settings.xml && mvn deploy -DskipTests=true" - cleanup: false - skip_cleanup: true # this is the current correct option, soon to be deprecated by the above - on: - branch: develop - # deploy master to production - - provider: script - script: "cp .travis.settings.xml $HOME/.m2/settings.xml && mvn deploy -P release -DskipTests=true" - cleanup: false - skip_cleanup: true # this is the current correct option, soon to be deprecated by the above - on: - branch: master - -# Remove the binaries generated by this build so that the cache isn't invalidated. -# Probably a better way to do this. +- provider: script + script: cp .travis.settings.xml $HOME/.m2/settings.xml && mvn deploy -DskipTests=true + cleanup: false + skip_cleanup: true + on: + branch: develop +- provider: script + script: cp .travis.settings.xml $HOME/.m2/settings.xml && mvn deploy -P release + -DskipTests=true + cleanup: false + skip_cleanup: true + on: + branch: master before_cache: - - rm -rf $HOME/.m2/repository/org/opencds/cqf/cql/cli - - rm -rf $HOME/.m2/repository/org/opencds/cqf/cql/rest - - rm -rf $HOME/.m2/repository/org/opencds/cqf/cql/service +- rm -rf $HOME/.m2/repository/org/opencds/cqf/cql/cli +- rm -rf $HOME/.m2/repository/org/opencds/cqf/cql/rest +- rm -rf $HOME/.m2/repository/org/opencds/cqf/cql/service +notifications: + slack: + - rooms: + - secure: NS0wLbgDgtmShBFpSYzi67ef/6lhFBiCw9nkJCHT+a47FXQb1l+dUk4EAd9SjpWHBO1YcL5yZ95+QaweVhKyEjAxlxJVNpAh3Yg9zskjrzfGqK5Uwz+HhcctyuzJ+GVhn4Ri+1NSqKp4uL2UvmqtrTCdwZ8r7z6s8Q7Q+Mh+JdTNpujCT3iziOL2zK20fay5kS/DX3CiA8wUKYxqWxLMlhv+L9/ZyFztuVWYJO1+J1tC27twlzVAwL/tP38m/X7WB7ITp9koWX+8+2R7mgTnCGNJrSMZH4+iNCnmcRr5m5LGbvaaK59JnhylkAN5X3+ojMN450AA1nHL+hEYfxhARoy4wQ6u9g/3qkbRSXFvCjWvSUJnVAkCNAGPR68Q415mkdnS9UJ1PdRa0HPGjuxGv3CIWmJzAuXo2TNj9NakVKyOh/TZh8OrYQifhF4sLx9DTntHaxJtfB/SWZ9Vvj92YPRC6l3YCtLrFdxisEIa4N+EYxZXiTE1bCUpoCld7h7U5q1vmBKafv8z0HhCFrR5QSXPDby3fuU7oIKX3drn3HVnyBrbkQFapYXOKHD/O71DHitgFYSMp3zpRar2niMiQm6AJVry1oAxlo/x99UiZrFRrU+PuSLT9vzasfTf88HuYihcfDBF0HMOUmXRVR/ORdqS8AHn0r/9FprqDDTRK9Q= + on_success: always + on_failure: never + - rooms: + - secure: P6dxCL+vydKFJmpS0K3GeXHjL5Gyy75qCfLa1kEa/bzerDOOsjL/g0XcsKE0YNsmJlPGTHXxRbYJWEf2eZAFYZll38Se26j4IwqP4oeO5VKUhVYNfQYkgC2pu4y5F10sjcJxq4krSvnYGiEZNxgIKxu9ZOz1/kVQCRRA8ixJo1AutFTMvYvoRGPA5K6QPkqhyqsK2dOQnxhxKdq+oAgxOOPeB43zWlGTFtIqhySnF0xGT3Im25+J4GlV0++TcIwDxV7k05krSPKeoo9mvsMLv5KXU5MkFRvSSCST0ag9rBDUJuP2Gy1CCt/xmu4B3mLAF1Np7LVhGJGiH6BCbkI+CKogXjYJg4DIkzxXquthstzq3Z9JHVcZ94Y1TrpWmgPhVNtUfSISPLMD/8lBI/Gr3gXTdFGMJr5vVo/ch04dvyklVnzx49RbvSJ8FLX0QmqfCIyP7NLS9B/ooXas9L/Ufo6Z9qd6f2QRJGY4rJYQ+nQ1wjJP7bHYEbf/hbfU2YHs8ChJM/zu/JdNSw/a7KhtLVj29z/IsAVEsYlEvagrI3TfPGXyz6YGeoGWuUjGjTZOVXy+D1VrH6dNqnXcTWXeySHrc7vDEO+GCT69xHhoxAUDtP/qFdfjRgaXGVAjZpvCgUkT5tfc8cIfEV35vfHcgsC41ggVgHxXhV/50pDj4sY= + on_success: never + on_failure: always \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json index 7b911125b..54daf407b 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,7 +4,6 @@ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ - { "type": "java", "name": "Debug (Attach)", @@ -22,10 +21,10 @@ "type": "java", "name": "Debug (EXM 124)", "request": "launch", - "mainClass": "com.alphora.cql.cli.Main", - "projectName": "cli", + "mainClass": "org.opencds.cqf.cql.evaluator.cli.Main", + "projectName": "evaluator.cli", "args": [ - "--lp", + "--lu", "../connectathon/fhir3/cql", "--ln", "EXM124_FHIR3", @@ -41,10 +40,10 @@ "type": "java", "name": "Debug (EXM 130)", "request": "launch", - "mainClass": "com.alphora.cql.cli.Main", - "projectName": "cli", + "mainClass": "org.opencds.cqf.cql.evaluator.cli.Main", + "projectName": "evaluator.cli", "args": [ - "--lp", + "--lu", "../connectathon/fhir3/cql", "--ln", "EXM130_FHIR3", @@ -60,17 +59,17 @@ "type": "java", "name": "Debug (EXM 130 R4)", "request": "launch", - "mainClass": "com.alphora.cql.cli.Main", - "projectName": "cli", + "mainClass": "org.opencds.cqf.cql.evaluator.cli.Main", + "projectName": "evaluator.cli", "args": [ - "--lp", - "../connectathon/fhir4/cql", + "--lu", + "../connectathon/fhir4/input/pagecontent/cql", "--ln", "EXM130_FHIR4", "-m", - "FHIR=../connectathon/fhir4/tests/EXM130_FHIR4-7.2.000", + "FHIR=../connectathon/fhir4/input/tests/EXM130_FHIR4-7.2.000", "-t", - "../connectathon/fhir4/resources/valuesets", + "../connectathon/fhir4/input/vocabulary/valueset", "-c", "Patient=numer-EXM130-FHIR4" ] @@ -79,17 +78,17 @@ "type": "java", "name": "Debug (EXM 105 R4)", "request": "launch", - "mainClass": "com.alphora.cql.cli.Main", - "projectName": "cli", + "mainClass": "org.opencds.cqf.cql.evaluator.cli.Main", + "projectName": "evaluator.cli", "args": [ - "--lp", - "../connectathon/fhir4/cql", + "--lu", + "../connectathon/fhir4/input/pagecontent/cql", "--ln", "EXM105_FHIR4", "-m", - "FHIR=../connectathon/fhir4/tests/EXM105_FHIR4-8.1.000", + "FHIR=../connectathon/fhir4/input/tests/EXM105_FHIR4-8.1.000", "-t", - "../connectathon/fhir4/resources/valuesets", + "../connectathon/fhir4/input/vocabulary/valueset", "-c", "Patient=denom-EXM105-FHIR4" ] @@ -98,10 +97,10 @@ "type": "java", "name": "Debug (EXM 104)", "request": "launch", - "mainClass": "com.alphora.cql.cli.Main", - "projectName": "cli", + "mainClass": "org.opencds.cqf.cql.evaluator.cli.Main", + "projectName": "evaluator.cli", "args": [ - "--lp", + "--lu", "../connectathon/fhir3/cql", "--ln", "EXM104_FHIR3", @@ -117,21 +116,40 @@ "type": "java", "name": "Debug (EXM 104 R4)", "request": "launch", - "mainClass": "com.alphora.cql.cli.Main", - "projectName": "cli", + "mainClass": "org.opencds.cqf.cql.evaluator.cli.Main", + "projectName": "evaluator.cli", "args": [ - "--lp", - "../connectathon/fhir4/cql", + "--lu", + "../connectathon/fhir4/input/pagecontent/cql", "--ln", "EXM104_FHIR4", "-m", - "FHIR=../connectathon/fhir4/tests/EXM104_FHIR4-8.1.000", + "FHIR=../connectathon/fhir4/input/tests/EXM104_FHIR4-8.1.000", "-t", - "../connectathon/fhir4/resources/valuesets", + "../connectathon/fhir4/input/vocabulary/valueset", "-c", "Patient=numer-EXM104-FHIR4" ] }, + { + "type": "java", + "name": "Debug (EXM 104 R401)", + "request": "launch", + "mainClass": "org.opencds.cqf.cql.cli.Main", + "projectName": "cli", + "args": [ + "--lp", + "../connectathon/fhir401/input/pagecontent/cql", + "--ln", + "EXM104", + "-m", + "FHIR=../connectathon/fhir401/input/tests/EXM104-9.1.000", + "-t", + "../connectathon/fhir401/input/vocabulary/valueset", + "-c", + "Patient=numer-EXM104" + ] + }, { "type": "java", "name": "Debug (Launch)-Main", diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000..5c304d1a4 --- /dev/null +++ b/LICENSE @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "{}" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright {yyyy} {name of copyright owner} + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/README.MD b/README.MD index e69de29bb..3a1ecd2fa 100644 --- a/README.MD +++ b/README.MD @@ -0,0 +1,47 @@ +# CQL Evaluator + +This project provides a Java-based [CQL](https://cql.hl7.org/) evaluation service and related components. + +The front-end of the evaluator is the [cql-to-elm translator](https://github.com/cqframework/clinical_quality_language/tree/master/Src/java) (which provides translation of CQL to [ELM](https://cql.hl7.org/elm.html)) and the backend is the [cql-engine](https://github.com/DBCG/cql_engine) (which provides ELM execution). The evaluator glues those two components together and provides DataProvider and TerminologyProvider implementations that allow execution of CQL against a filesystem, FHIR server, and in-process FHIR resources. + +## Prerequisites + +[Java 11+](https://adoptopenjdk.net/) + +[Maven 3.5+](https://maven.apache.org/index.html) + +## Usage + +The cql-evaluator project includes a cli tool that allows execution of CQL from the command line. You can build this tool with: + +```bash +mvn package +``` + +Then you can run the cli with: + +```bash +java -jar ./evaluator.cli/target/evaluator.cli-1.0.0-SNAPSHOT-shaded.jar --help +``` + +That will list the command line options. There is some CQL content available in the [Connectathon IG](https://github.com/DBCG/connectathon) repository. If you have that repository checked out as a sibling repo to this one, you can execute a sample Measure test case by running: + +```bash +java -jar ./evaluator.cli/target/evaluator.cli-1.0.0-SNAPSHOT-shaded.jar \ +--lu ../connectathon/fhir4/input/pagecontent/cql \ +--ln EXM104_FHIR4 \ +-m FHIR=../connectathon/fhir4/input/tests/EXM104_FHIR4-8.1.000 \ +-t ../connectathon/fhir4/input/vocabulary/valueset \ +-c Patient=numer-EXM104-FHIR4 +``` + + +## License + +Copyright 2020 Dynamic Content Group + +Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at + +[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0) + +Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. diff --git a/cli/src/main/java/org/opencds/cqf/cql/cli/ArgumentProcessor.java b/cli/src/main/java/org/opencds/cqf/cql/cli/ArgumentProcessor.java deleted file mode 100644 index c8078455f..000000000 --- a/cli/src/main/java/org/opencds/cqf/cql/cli/ArgumentProcessor.java +++ /dev/null @@ -1,204 +0,0 @@ -package org.opencds.cqf.cql.cli; - -import static java.util.Arrays.asList; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.opencds.cqf.cql.service.Parameters; - -import org.apache.commons.lang3.tuple.Pair; - -import joptsimple.OptionParser; -import joptsimple.OptionSet; -import joptsimple.OptionSpec; -import joptsimple.OptionSpecBuilder; -import joptsimple.util.KeyValuePair; - - -public class ArgumentProcessor { - - public static final String[] HELP_OPTIONS = {"h", "help", "?"}; - - public static final String[] LIBRARY_OPTIONS = {"l", "library"}; - - public static final String[] LIBRARY_PATH_OPTIONS = {"lp", "library-path"}; - public static final String[] LIBRARY_NAME_OPTIONS = {"ln", "library-name"}; - public static final String[] LIBRARY_VERSION_OPTIONS = {"lv", "library-version"}; - - public static final String[] MEASURE_PATH_OPTIONS = { "mp", "measure-path"}; - public static final String[] MEASURE_NAME_OPTIONS = {"mn", "measure-name"}; - public static final String[] MEASURE_VERSION_OPTIONS = {"mv", "measure-version"}; - - public static final String[] TERMINOLOGY_URI_OPTIONS = {"t","terminology-uri"}; - public static final String[] MODEL_OPTIONS = {"m","model"}; - public static final String[] PARAMETER_OPTIONS = {"p", "parameter"}; - public static final String[] CONTEXT_PARAMETER_OPTIONS = {"c", "context"}; - public static final String[] EXPRESSION_OPTIONS = {"e", "expression"}; - public static final String[] OUTPUT_FORMAT_OPTIONS = {"v", "verbose"}; - - public OptionParser build() { - OptionParser parser = new OptionParser(); - - OptionSpecBuilder libraryBuilder = parser.acceptsAll(asList(LIBRARY_OPTIONS),"Use multiple times to define multiple libraries."); - - OptionSpecBuilder libraryPathBuilder = parser.acceptsAll(asList(LIBRARY_PATH_OPTIONS), "All files ending in .cql will be processed"); - OptionSpecBuilder libraryNameBuilder = parser.acceptsAll(asList(LIBRARY_NAME_OPTIONS), "Required if multiple libraries are defined and --expression is omitted"); - OptionSpecBuilder libraryVersionBuilder = parser.acceptsAll(asList(LIBRARY_VERSION_OPTIONS), "If omitted most recent version of the library will be used"); - - OptionSpecBuilder expressionBuilder = parser.acceptsAll(asList(EXPRESSION_OPTIONS), "Use the form libraryName.expressionName. (e.g. Common.\"Numerator\") Use multiple times to specify multiple expressions. If omitted all the expressions of the primary library will be evaluated."); - - OptionSpecBuilder measurePathBuilder = parser.acceptsAll(asList(MEASURE_PATH_OPTIONS), "FHIR .json files expected."); - OptionSpecBuilder measureNameBuilder = parser.acceptsAll(asList(MEASURE_NAME_OPTIONS), "Required if measure-path specified. Mutually exclusive with library-name."); - OptionSpecBuilder measureVersionBuilder = parser.acceptsAll(asList(LIBRARY_VERSION_OPTIONS), "If omitted most recent version of the measure will be used"); - - // Set up inter-depedencies. - // Can't define libraries inline and in a directory - parser.mutuallyExclusive(libraryBuilder, libraryPathBuilder); - - // Can't define expressions and a library name - parser.mutuallyExclusive(expressionBuilder, libraryNameBuilder); - - // Can't define libraries and measures - parser.mutuallyExclusive(measureNameBuilder, libraryNameBuilder); - parser.mutuallyExclusive(measureNameBuilder, libraryBuilder); - parser.mutuallyExclusive(measurePathBuilder, libraryNameBuilder); - parser.mutuallyExclusive(measurePathBuilder, libraryBuilder); - - OptionSpec library = libraryBuilder.withRequiredArg().describedAs("library content"); - OptionSpec libraryPath = libraryPathBuilder.requiredUnless("l", "mp", "mn").withRequiredArg().describedAs("input directory for libraries"); - OptionSpec libraryName = libraryNameBuilder.withRequiredArg().describedAs("name of primary library"); - OptionSpec libraryVersion = libraryVersionBuilder.availableIf(libraryName).withRequiredArg().describedAs("version of primary library"); - OptionSpec expression = expressionBuilder.withRequiredArg().describedAs("expression to evaluate"); - - OptionSpec measureName = measureNameBuilder.withRequiredArg().describedAs("name of measure"); - OptionSpec measureVersion = measureVersionBuilder.availableIf(measureName).withRequiredArg().describedAs("version of measure"); - OptionSpec measurePath = measurePathBuilder.requiredUnless("l", "lp", "ln").withRequiredArg().describedAs("input directory for measures"); - - - // TODO: Terminology user / password (and other auth options) - OptionSpec terminologyUri = parser.acceptsAll(asList(TERMINOLOGY_URI_OPTIONS),"Supports FHIR-based terminology") - .withRequiredArg().describedAs("uri of terminology server"); - - // TODO: Data provider user/ password (and other auth options) - OptionSpec modelUri = parser.acceptsAll(asList(MODEL_OPTIONS), - "Use the form model=uri. (e.g. FHIR=path/to/fhir/resources) Use multiple times to specify multiple models.") - .withRequiredArg().ofType(KeyValuePair.class).describedAs("path of data for model "); - - OptionSpec parameter = parser.acceptsAll(asList(PARAMETER_OPTIONS), - "Use the form [libraryName.]parameterName=value. (e.g. Common.\"Measurement Period\"=[@2015-01-01, @2016-01-01]). Library name is optional. If omitted parameter will be set for all libraries. The parameter values must be CQL types. Use multiple times to specify multiple parameters.") - .withRequiredArg().ofType(KeyValuePair.class).describedAs("value of parameter"); - - OptionSpec context = parser.acceptsAll(asList(CONTEXT_PARAMETER_OPTIONS), - "Use the form contextParameterName=value. (e.g. Patient=123) Use multiple times to specify multiple context parameters.") - .withRequiredArg().ofType(KeyValuePair.class).describedAs("value of context parameter"); - - OptionSpec verbose = parser.acceptsAll(asList(OUTPUT_FORMAT_OPTIONS), "Show simplified results") - .withOptionalArg().ofType(Boolean.class).describedAs("String representation of a boolean value"); - - OptionSpec help = parser.acceptsAll(asList(HELP_OPTIONS), "Show this help page").forHelp(); - - return parser; - } - - public OptionSet parse(String[] args) { - OptionParser parser = build(); - OptionSet options = parser.parse(args); - if (options.has(HELP_OPTIONS[0])) { - try { - parser.printHelpOn(System.out); - } - catch (Exception e) { - - } - - System.exit(0); - } - - return options; - } - - public Parameters parseAndConvert(String[] args) { - OptionSet options = this.parse(args); - - List libraries = (List)options.valuesOf(LIBRARY_OPTIONS[0]); - String libraryPath = (String)options.valueOf(LIBRARY_PATH_OPTIONS[0]); - String libraryName = (String)options.valueOf(LIBRARY_NAME_OPTIONS[0]); - String libraryVersion = (String)options.valueOf(LIBRARY_VERSION_OPTIONS[0]); - List expressions = (List)options.valuesOf(EXPRESSION_OPTIONS[0]); - - String measurePath = (String)options.valueOf(MEASURE_PATH_OPTIONS[0]); - String measureName = (String)options.valueOf(MEASURE_NAME_OPTIONS[0]); - String measureVersion = (String)options.valueOf(MEASURE_VERSION_OPTIONS[0]); - - // This is validation we couldn't define in terms of the jopt API. - if ((libraries.size() > 1 || libraryPath != null) && !(libraryName != null || !expressions.isEmpty())){ - new IllegalArgumentException("When more than one library is defined OR a library directory is selected you must define either a primary library or a set of expressions to evaluate."); - } - - String terminologyUri = (String)options.valueOf(TERMINOLOGY_URI_OPTIONS[0]); - Boolean verbose = (Boolean)options.valueOf(OUTPUT_FORMAT_OPTIONS[0]); - - List models = (List)options.valuesOf(MODEL_OPTIONS[0]); - List parameters = (List)options.valuesOf(PARAMETER_OPTIONS[0]); - List contextParameters = (List)options.valuesOf(CONTEXT_PARAMETER_OPTIONS[0]); - - Parameters ip = new Parameters(); - ip.libraries = libraries; - ip.libraryPath = libraryPath; - ip.libraryName = libraryName; - ip.libraryVersion = libraryVersion; - ip.expressions = toListOfExpressions(expressions); - ip.terminologyUri = terminologyUri; - ip.modelUris = toMap("Model parameters", models); - ip.parameters = toParameterMap(parameters); - ip.contextParameters = toMap("Context Parameters", contextParameters); - ip.verbose = verbose; - - return ip; - - } - - private Map toMap(String typeOfKeyValuePair, List keyValuePairs) { - HashMap map = new HashMap<>(); - - for (KeyValuePair kvp : keyValuePairs) { - if (map.containsKey(kvp.key)) { - throw new IllegalArgumentException(String.format("%s contain multiple definitions for %s.", typeOfKeyValuePair, kvp.key)); - } - - map.put(kvp.key, kvp.value); - } - - return map; - } - - private List> toListOfExpressions(List strings) { - List> listOfExpressions = new ArrayList>(); - - for (String s : strings) { - String[] parts = s.split("\\."); - if (parts == null || parts.length < 2) { - new IllegalArgumentException(String.format("%s is not a valid expression. Use the format libraryName.expressionName.", s)); - } - - listOfExpressions.add(Pair.of(parts[0], parts[1])); - } - - return listOfExpressions; - } - - // Converts parameters from the CLI format of [libraryName.]parameterName=value to a map. Library name is optional. - private Map, Object> toParameterMap(List keyValuePairs) { - HashMap, Object> map = new HashMap<>(); - - for (KeyValuePair kvp : keyValuePairs) { - String[] parts = kvp.key.split("."); - map.put(Pair.of(parts.length > 1 ? parts[0] : null, parts.length > 1 ? parts[1] : parts[0]), kvp.value); - } - - return map; - } -} \ No newline at end of file diff --git a/cli/src/main/java/org/opencds/cqf/cql/cli/Main.java b/cli/src/main/java/org/opencds/cqf/cql/cli/Main.java deleted file mode 100644 index b22f29c4d..000000000 --- a/cli/src/main/java/org/opencds/cqf/cql/cli/Main.java +++ /dev/null @@ -1,71 +0,0 @@ -package org.opencds.cqf.cql.cli; - -import java.lang.reflect.Field; -import java.lang.reflect.Method; -import java.util.EnumSet; -import java.util.Map.Entry; - -import org.opencds.cqf.cql.service.Parameters; -import org.opencds.cqf.cql.service.Response; -import org.opencds.cqf.cql.service.Service; -import org.opencds.cqf.cql.service.serialization.DefaultEvaluationResultsSerializer; -import org.opencds.cqf.cql.service.serialization.EvaluationResultsSerializer; - -import org.cqframework.cql.elm.execution.VersionedIdentifier; -import org.opencds.cqf.cql.execution.LibraryResult; - -public class Main { - - public static void main(String[] args) { - - // TODO: Update cql engine dependencies - disableAccessWarnings(); - - Parameters params = null; - try { - params = new ArgumentProcessor().parseAndConvert(args); - } - catch (Exception e) { - System.err.println(e.getMessage()); - System.exit(1); - } - - try { - Service service = new Service(EnumSet.of(Service.Options.EnableFileUri)); - Response response = service.evaluate(params); - EvaluationResultsSerializer serializer; - - serializer = new DefaultEvaluationResultsSerializer(); - - - for (Entry libraryEntry : response.evaluationResult.libraryResults.entrySet()) { - serializer.printResults(params.verbose, libraryEntry); - } - } - catch (Exception e) { - System.err.println(e.getMessage()); - e.printStackTrace(); - System.exit(1); - } - } - - @SuppressWarnings("unchecked") - public static void disableAccessWarnings() { - try { - Class unsafeClass = Class.forName("sun.misc.Unsafe"); - Field field = unsafeClass.getDeclaredField("theUnsafe"); - field.setAccessible(true); - Object unsafe = field.get(null); - - Method putObjectVolatile = unsafeClass.getDeclaredMethod("putObjectVolatile", Object.class, long.class, Object.class); - Method staticFieldOffset = unsafeClass.getDeclaredMethod("staticFieldOffset", Field.class); - - Class loggerClass = Class.forName("jdk.internal.module.IllegalAccessLogger"); - Field loggerField = loggerClass.getDeclaredField("logger"); - Long offset = (Long) staticFieldOffset.invoke(unsafe, loggerField); - putObjectVolatile.invoke(unsafe, loggerClass, offset, null); - } catch (Exception ignored) { - } - } - -} \ No newline at end of file diff --git a/measure/pom.xml b/evaluator.builder/pom.xml similarity index 69% rename from measure/pom.xml rename to evaluator.builder/pom.xml index 4eb3670a5..e4059f1e2 100644 --- a/measure/pom.xml +++ b/evaluator.builder/pom.xml @@ -4,26 +4,23 @@ 4.0.0 org.opencds.cqf.cql - measure + evaluator.builder ${revision} jar + CQL Evaluator Builder + org.opencds.cqf.cql - base + evaluator.shared ${revision} - org.opencds.cqf - cql-engine - - - org.opencds.cqf - cql-engine-fhir + info.cqframework + cql-to-elm - org.testng testng diff --git a/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/BuilderParameters.java b/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/BuilderParameters.java new file mode 100644 index 000000000..799ad182b --- /dev/null +++ b/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/BuilderParameters.java @@ -0,0 +1,13 @@ +package org.opencds.cqf.cql.evaluator; + +import java.util.List; +import java.util.Map; + +import org.opencds.cqf.cql.evaluator.factory.ClientFactory; + +public class BuilderParameters { + public List models; + public String terminologyUrl; + public String libraryPath; + public ClientFactory clientFactory; +} \ No newline at end of file diff --git a/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/CqlEvaluatorBuilder.java b/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/CqlEvaluatorBuilder.java new file mode 100644 index 000000000..a7bdebd17 --- /dev/null +++ b/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/CqlEvaluatorBuilder.java @@ -0,0 +1,520 @@ +package org.opencds.cqf.cql.evaluator.builder; + +import java.net.URL; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +import org.cqframework.cql.elm.execution.VersionedIdentifier; +import org.opencds.cqf.cql.data.DataProvider; +import org.opencds.cqf.cql.evaluator.CqlEvaluator; +import org.opencds.cqf.cql.evaluator.builder.context.BuilderContext; +import org.opencds.cqf.cql.execution.LibraryLoader; +import org.opencds.cqf.cql.terminology.TerminologyProvider; + +public class CqlEvaluatorBuilder { + + private BuilderContext builderContext = new BuilderContext(); + + public CqlEvaluatorBuilder(String libraryContent) { + Objects.requireNonNull(libraryContent, "libraryContent can not be null"); + } + + public CqlEvaluatorBuilder(List libraryContent, VersionedIdentifier libraryIdentifier) { + Objects.requireNonNull(libraryContent, "libraryContent can not be null"); + if (libraryContent.isEmpty()) { + throw new IllegalArgumentException("libraryContent can not be empty"); + } + + Objects.requireNonNull(libraryIdentifier, "libraryIdentifier can not be null"); + + } + + public CqlEvaluatorBuilder(LibraryLoader libraryLoader, VersionedIdentifier libraryIdentifier) { + Objects.requireNonNull(libraryLoader, "libraryLoader can not be null"); + Objects.requireNonNull(libraryIdentifier, "libraryIdentifier can not be null"); + + } + + + + public CqlEvaluatorBuilder(URL libraryUrl, VersionedIdentifier libraryIdentifier) { + Objects.requireNonNull(libraryUrl, "libraryUrl can not be null"); + Objects.requireNonNull(libraryIdentifier, "libraryIdentifier can not be null"); + + } + + public CqlEvaluatorBuilder(Bundle libraryBundle, VersionedIdentifier libraryIdentifier) { + Objects.requireNonNull(libraryUrl, "libraryUrl can not be null"); + Objects.requireNonNull(libraryIdentifier, "libraryIdentifier can not be null"); + + } + + // private EnumSet evaluatorBuilderOptions; + // public CqlEvaluatorBuilder withEvaluatorBuilderOptions(EnumSet evaluatorBuilderOptions) { + // Objects.requireNonNull(evaluatorBuilderOptions); + // if (this.evaluatorBuilderOptions != null) { + // throw new IllegalArgumentException("evaluatorBuilderOptions already set."); + // } + + // this.evaluatorBuilderOptions = evaluatorBuilderOptions; + + // return this; + // } + + // private EnumSet engineOptions; + // public CqlEvaluatorBuilder withEngineOptions(EnumSet engineOptions) { + // Objects.requireNonNull(engineOptions); + // if (this.engineOptions != null) { + // throw new IllegalArgumentException("engineOptions already set."); + // } + + // this.engineOptions = engineOptions; + + // return this; + // } + + // private EnumSet translatorOptions; + // public CqlEvaluatorBuilder withTranslatorOptions(EnumSet translatorOptions) { + // Objects.requireNonNull(translatorOptions); + // if (this.translatorOptions != null) { + // throw new IllegalArgumentException("translatorOptions already set."); + // } + + // this.translatorOptions = translatorOptions; + + // return this; + // } + + // private TerminologyProvider terminologyProvider; + // private TerminologyProviderFactory terminologyProviderFactory; + // public CqlEvaluatorBuilder withTerminologyProviderFactory(TerminologyProviderFactory terminologyProviderFactory) { + // Objects.requireNonNull(terminologyProviderFactory); + // if (this.terminologyProviderFactory != null) { + // throw new IllegalArgumentException("terminologyProviderFactory already set."); + // } + + // if (this.terminologyProvider != null) { + // throw new IllegalArgumentException("terminologyProvider already set. If a terminologyProvider is already set the factory will not be used."); + // } + + // this.terminologyProviderFactory = terminologyProviderFactory; + + // return this; + // } + + // public CqlEvaluatorBuilder withTerminologyProvider(TerminologyProvider terminologyProvider) { + // Objects.requireNonNull(terminologyProvider); + // if (this.terminologyProvider != null) { + // throw new IllegalArgumentException("terminologyProvider already set."); + // } + + // if (this.terminologyProviderFactory != null) { + // throw new IllegalArgumentException("terminologyProviderFactory already set. If a terminologyProviderFactory is already set the terminology provider will not be used."); + // } + + // this.terminologyProvider = terminologyProvider; + + // return this; + // } + + // private DataProviderFactory dataProviderFactory; + // private Map dataProviders; + // public CqlEvaluatorBuilder withDataProviderFactory(DataProviderFactory dataProviderFactory) { + // Objects.requireNonNull(dataProviderFactory); + // if (this.dataProviderFactory != null) { + // throw new IllegalArgumentException("dataProviderFactory already set."); + // } + + // if (this.dataProviders != null) { + // throw new IllegalArgumentException("dataProviders already set. If dataProviders is already set the factory will not be used."); + // } + + // this.dataProviderFactory = dataProviderFactory; + + // return this; + // } + + // private LibraryLoaderFactory libraryLoaderFactory; + // private ParameterResolver parameterResolver; + + + + + // public CqlEvaluatorBuilder() { + // this(null, null, null, null, null, null, null); + // } + + // // Use this as a quick way to enable file uris. + // public CqlEvaluatorBuilder(EnumSet options) { + // this(null, null, null, null, options, null, null); + // } + + // public CqlEvaluatorBuilder(LibraryLoaderFactory libraryLoaderFactory, DataProviderFactory dataProviderFactory, + // TerminologyProviderFactory terminologyProviderFactory, ParameterResolver parameterResolver, + // EnumSet options, EnumSet engineOptions, + // EnumSet translatorOptions) { + + // if (libraryLoaderFactory == null) { + // libraryLoaderFactory = new DefaultLibraryLoaderFactory(); + // } + + // if (dataProviderFactory == null) { + // dataProviderFactory = new DefaultDataProviderFactory(); + // } + + // if (terminologyProviderFactory == null) { + // terminologyProviderFactory = new DefaultTerminologyProviderFactory(); + // } + + // if (parameterResolver == null) { + // parameterResolver = new DefaultParameterResolver(); + // } + + // if (engineOptions == null) { + // engineOptions = EnumSet.of(org.opencds.cqf.cql.execution.CqlEngine.Options.EnableExpressionCaching); + // } + + // if (options == null) { + // options = EnumSet.noneOf(Options.class); + // } + + // if (translatorOptions == null) { + // // Default for measure eval + // translatorOptions = EnumSet.of(CqlTranslator.Options.EnableAnnotations, + // CqlTranslator.Options.EnableLocators, CqlTranslator.Options.DisableListDemotion, + // CqlTranslator.Options.DisableListPromotion, CqlTranslator.Options.DisableMethodInvocation); + // } + + // this.libraryLoaderFactory = libraryLoaderFactory; + // this.dataProviderFactory = dataProviderFactory; + // this.terminologyProviderFactory = terminologyProviderFactory; + // this.parameterResolver = parameterResolver; + // this.options = options; + // this.engineOptions = engineOptions; + // this.translatorOptions = translatorOptions; + // } + + // withClientFactory(ClientFactory) + + // withLibraryLoaderFactory(libraryLoaderFactory) + // withDataProviderFactory() + // withTerminologyProviderFactory() + + // withLibraries(List) + // withLibrarySource(url) + // withLibraryLoader(LibraryLoader) + + // withTerminology(Bundle) + // withTerminologySource(url) + // withTerminologyProvider(terminologyProvider) + + // withData(Map) + // withDataSources(List) + // withDataProviders(Map + + + + public CqlEvaluator build() { + validateBuilderContext(); + + LibraryLoader libraryLoader = this.builderContext.getLibraryContext().buildLibraryLoader(); + VersionedIdentifier primaryLibrary = null; + + TerminologyProvider terminologyProvider = this.builderContext.getTerminologyContext().buildTerminologyProvider(); + + this.builderContext.getDataContext().setTerminologyProver(terminologyProvider); + + Map dataProviders = this.builderContext.getDataContext().buildDataProviders(); + + return new CqlEvaluator(libraryLoader, primaryLibrary, terminologyProvider, dataProviders, this.builderContext.getEngineOptions(), this.builderContext.getParameterResolver()); + } + + public void validateBuilderContext() { + + } + + // private void ensureNotFileUri(String uri) { + // if (Helpers.isFileUri(uri)) { + // throw new IllegalArgumentException(String.format("%s is not a valid uri", uri)); + // } + // } + + // validateParameters(parameters); + + // LibraryLoader libraryLoader = null; + // if (parameters.libraryPath != null && !parameters.libraryPath.isEmpty()) { + // libraryLoader = this.libraryLoaderFactory.create(parameters.libraryPath, this.translatorOptions); + // } + // else { + // libraryLoader = this.libraryLoaderFactory.create(parameters.libraries, this.translatorOptions); + // } + + // Map> expressions = this.toExpressionMap(parameters.expressions); + // Map> evaluationParameters = this.toParameterMap(parameters.parameters); + + // // TOOD: Recursively resolve ALL libraries, not just those that are used by parameters, expressions, and library name. + // // Either that or have the library manager just give them all to us. + + // Map libraries = new HashMap(); + // if (parameters.libraryName != null) { + // Library lib = libraryLoader.load(toExecutionIdentifier(parameters.libraryName, parameters.libraryVersion)); + // if (lib != null) { + // libraries.put(lib.getIdentifier(), li + // } + // } + + // for (VersionedIdentifier v : expressions.keySet()) { + // Library lib = libraryLoader.load(v); + // if (lib != null && !libraries.containsKey(lib.getIdentifier())) { + // libraries.put(lib.getIdentifier(), lib); + // } + // } + + // for (VersionedIdentifier v : evaluationParameters.keySet()) { + // Library lib = libraryLoader.load(v); + // if (lib != null && !libraries.containsKey(lib.getIdentifier())) { + // libraries.put(lib.getIdentifier(), lib); + // } + // } + + // parameters.models = resolveModelVersions(libraries, parameters.models); + + // // HACK AROUND: The file-based fhir terminology provider doesn't yet know how to auto-detect + // // Fhir version for json or xml resources, so we have to tell it explicitly what context to you. + // FhirContext context = null; + // Optional fhirInfo = parameters.models.stream().filter(x -> x.getName().equals("http://hl7.org/fhir")).findFirst(); + // if (fhirInfo.isPresent()) { + // context = FhirVersionEnum.forVersionString(fhirInfo.get().getVersion()).newContext(); + // } + // TerminologyProvider terminologyProvider = this.terminologyProviderFactory.create(context, parameters.terminologyUrl, parameters.clientFactory); + // Map dataProviders = this.dataProviderFactory.create(parameters.models, terminologyProvider, parameters.clientFactory); + + // Map resolvedContextParameters = this.parameterResolver.resolvecontextParameters(parameters.contextParameters); + // Map> resolvedEvaluationParameters = this.parameterResolver.resolveParameters(libraries, evaluationParameters); + + // CqlEngine engine = new CqlEngine(libraryLoader, dataProviders, terminologyProvider, this.engineOptions); + + // EvaluationResult result = null; + // if (parameters.libraryName != null) { + // result = engine.evaluate(resolvedContextParameters, resolvedEvaluationParameters, + // this.toExecutionIdentifier(parameters.libraryName, null)); + // } else { + // result = engine.evaluate(resolvedContextParameters, resolvedEvaluationParameters, expressions); + // } + + // Response response = new Response(); + // response.evaluationResult = result; + + // // TODO: Non-static serializers for different models. + // // Pair versionAndUrl = modelVersionAndUrls.get("FHIR"); + // // if (versionAndUrl != null) { + // // EvaluationResultsSerializer.setFhirContext(versionAndUrl.getLeft()); + // // } + + // return response; + // } + + // private List resolveModelVersions(Map libraries, List models) { + + // models = this.expandAliasToUri(models); + // Map> versions = new HashMap<>(); + // for (Library library : libraries.values()) { + // if (library.getUsings() != null && library.getUsings().getDef() != null) { + // for (UsingDef u : library.getUsings().getDef()) { + // String uri = u.getUri(); + // // Skip the system URI + // if (uri.equals("urn:hl7-org:elm-types:r1")) { + // continue; + // } + // String version = u.getVersion(); + // if (versions.containsKey(uri)) { + // Pair existing = versions.get(uri); + // if (!existing.getLeft().equals(version)) { + // throw new IllegalArgumentException(String.format( + // "Libraries are using multiple versions of %s. Only one version is supported at a time.", + // uri)); + // } + // } else { + // String url = models.stream().filter(x -> x.getName().equals(uri)).findFirst().get().getUrl(); + // versions.put(uri, Pair.of(version, url)); + // } + // } + // } + // } + + // return versions.entrySet().stream() + // .map(x -> new ModelInfo(x.getKey(), x.getValue().getLeft(), x.getValue().getRight())) + // .collect(Collectors.toList()); + // } + + // private List expandAliasToUri(List models) { + // final Map aliasMap = new HashMap() { + // { + // put("FHIR", "http://hl7.org/fhir"); + // put("QUICK", "http://hl7.org/fhir"); + // put("QDM", "urn:healthit-gov:qdm:v5_4"); + // } + // }; + + // if (models == null) { + // return null; + // } + + // for (ModelInfo m : models) { + // if (aliasMap.containsKey(m.getName())) { + // m.setName(aliasMap.get(m.getName())); + // } + // } + + // return models; + // } + + // public VersionedIdentifier toExecutionIdentifier(String name, String version) { + // return new VersionedIdentifier().withId(name).withVersion(version); + // } + + // private Map> toExpressionMap(List expressions) { + // Map> map = new HashMap<>(); + // for (ExpressionInfo e : expressions) { + // VersionedIdentifier vi = toExecutionIdentifier(e.getLibraryName(), null); + // if (!map.containsKey(vi)) { + // map.put(vi, new HashSet<>()); + // } + + // map.get(vi).add(e.getIdentifier()); + // } + + // return map; + // } + + + + // private void ensureNotFileUri(String uri) { + // if (Helpers.isFileUri(uri)) { + // throw new IllegalArgumentException(String.format("%s is not a valid uri", uri)); + // } + // } + + // private void ensureNotFileUri(Collection uris) { + // for (String s : uris) { + // ensureNotFileUri(s); + // } + // } + + // private void validateParameters(BuilderParameters parameters) { + // // Ensure EnableFileURI option is respected. This is a potential security risk + // // on a public server, so this must remain implemented. + // if (!this.options.contains(Options.EnableFileUri)) { + // ensureNotFileUri(parameters.libraryPath); + // ensureNotFileUri(parameters.terminologyUrl); + // if (parameters.models != null) { + // ensureNotFileUri(parameters.models.stream().map(x -> x.getUrl()).collect(Collectors.toList())); + // } + // } + + // if (parameters.libraryName == null && (parameters.expressions == null || parameters.expressions.isEmpty())) { + // throw new IllegalArgumentException("libraryName or expressions must be specified."); + // } + + // if (parameters.libraryName != null && (parameters.expressions != null && !parameters.expressions.isEmpty())) { + // throw new IllegalArgumentException("libraryName and expressions are mutually exclusive. Only specify one."); + // } + + // if ((parameters.libraries != null && !parameters.libraries.isEmpty()) + // && (parameters.libraryPath != null && !parameters.libraryPath.isEmpty())) { + // throw new IllegalArgumentException("libraries and library path are mutually exclusive. Only specify one."); + // } + // } + + // public EnumSet getOptions() { + // return options; + // } + + // public void setOptions(EnumSet options) { + // this.options = options; + // } + + // public CqlEvaluatorBuilder withOptions(EnumSet options) { + // this.setOptions(options); + // return this; + // } + + // public EnumSet getEngineOptions() { + // return engineOptions; + // } + + // public void setEngineOptions(EnumSet engineOptions) { + // this.engineOptions = engineOptions; + // } + + // public CqlEvaluatorBuilder withEngineOptions(EnumSet engineOptions) { + // this.setEngineOptions(engineOptions); + // return this; + // } + + // public EnumSet getTranslatorOptions() { + // return translatorOptions; + // } + + // public void setTranslatorOptions(EnumSet translatorOptions) { + // this.translatorOptions = translatorOptions; + // } + + // public CqlEvaluatorBuilder withTranslatorOptions(EnumSet translatorOptions) { + // this.setTranslatorOptions(translatorOptions); + // return this; + // } + + // public TerminologyProviderFactory getTerminologyProviderFactory() { + // return terminologyProviderFactory; + // } + + // public void setTerminologyProviderFactory(TerminologyProviderFactory terminologyProviderFactory) { + // this.terminologyProviderFactory = terminologyProviderFactory; + // } + + // public CqlEvaluatorBuilder withTerminologyProviderFactory(TerminologyProviderFactory terminologyProviderFactory) { + // this.terminologyProviderFactory = terminologyProviderFactory; + // return this; + // } + + // public DataProviderFactory getDataProviderFactory() { + // return dataProviderFactory; + // } + + // public void setDataProviderFactory(DataProviderFactory dataProviderFactory) { + // this.dataProviderFactory = dataProviderFactory; + // } + + // public CqlEvaluatorBuilder withDataProviderFactory(DataProviderFactory dataProviderFactory) { + // this.setDataProviderFactory(dataProviderFactory); + // return this; + // } + + // public LibraryLoaderFactory getLibraryLoaderFactory() { + // return libraryLoaderFactory; + // } + + // public void setLibraryLoaderFactory(LibraryLoaderFactory libraryLoaderFactory) { + // this.libraryLoaderFactory = libraryLoaderFactory; + // } + + // public CqlEvaluatorBuilder withLibraryLoaderFactory(LibraryLoaderFactory libraryLoaderFactory) { + // this.libraryLoaderFactory = libraryLoaderFactory; + // return this; + // } + + // public ParameterResolver getParameterResolver() { + // return parameterResolver; + // } + + // public void setParameterResolver(ParameterResolver parameterResolver) { + // this.parameterResolver = parameterResolver; + // } + + // public CqlEvaluatorBuilder withParameterResolver(ParameterResolver parameterResolver) { + // this.setParameterResolver(parameterResolver); + // return this; + // } +} \ No newline at end of file diff --git a/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/Options.java b/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/Options.java new file mode 100644 index 000000000..8727b844c --- /dev/null +++ b/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/Options.java @@ -0,0 +1,5 @@ +package org.opencds.cqf.cql.evaluator.builder; + +public enum Options { + EnableFileUri +} \ No newline at end of file diff --git a/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/context/BuilderContext.java b/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/context/BuilderContext.java new file mode 100644 index 000000000..e9b0fe42b --- /dev/null +++ b/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/context/BuilderContext.java @@ -0,0 +1,59 @@ +package org.opencds.cqf.cql.evaluator.builder.context; + +import java.util.EnumSet; +import java.util.Objects; + +import org.opencds.cqf.cql.evaluator.builder.Options; +import org.opencds.cqf.cql.evaluator.resolver.ParameterResolver; +import org.opencds.cqf.cql.evaluator.resolver.implementation.DefaultParameterResolver; +import org.opencds.cqf.cql.execution.CqlEngine; + +public class BuilderContext { + + private BuilderLibraryContext libraryContext = new BuilderLibraryContext(); + private BuilderDataContext dataContext = new BuilderDataContext(); + private BuilderTerminologyContext terminologyContext = new BuilderTerminologyContext(); + + private ParameterResolver parameterResolver = new DefaultParameterResolver(); + + private EnumSet engineOptions = EnumSet.of(org.opencds.cqf.cql.execution.CqlEngine.Options.EnableExpressionCaching); + private EnumSet options = EnumSet.noneOf(Options.class); + + public BuilderDataContext getDataContext() { + return this.dataContext; + } + + public BuilderLibraryContext getLibraryContext() { + return this.libraryContext; + } + + public BuilderTerminologyContext getTerminologyContext() { + return this.terminologyContext; + } + + public EnumSet getEngineOptions() { + return this.engineOptions; + } + + public void setEngineOptions(EnumSet engineOptions) { + Objects.requireNonNull(engineOptions, "engineOptions can not be null."); + } + + public EnumSet getOptions() { + return this.options; + } + + public void setOptions(EnumSet options) { + Objects.requireNonNull(options, "options can not be null."); + this.options = options; + } + + public ParameterResolver getParameterResolver() { + return this.parameterResolver; + } + + public void setParameterResolver(ParameterResolver parameterResolver) { + Objects.requireNonNull(parameterResolver, "parameterResolver can not be null."); + this.parameterResolver = parameterResolver; + } +} \ No newline at end of file diff --git a/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/context/BuilderDataContext.java b/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/context/BuilderDataContext.java new file mode 100644 index 000000000..2b0226191 --- /dev/null +++ b/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/context/BuilderDataContext.java @@ -0,0 +1,18 @@ +package org.opencds.cqf.cql.evaluator.builder.context; + +import java.util.Map; + +import org.opencds.cqf.cql.data.DataProvider; +import org.opencds.cqf.cql.terminology.TerminologyProvider; + +public class BuilderDataContext { + + private TerminologyProvider terminologyProvider; + public void setTerminologyProver(TerminologyProvider terminologyProvider) { + this.terminologyProvider = terminologyProvider; + } + + public Map buildDataProviders() { + return null; + } +} \ No newline at end of file diff --git a/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/context/BuilderLibraryContext.java b/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/context/BuilderLibraryContext.java new file mode 100644 index 000000000..56e08d29e --- /dev/null +++ b/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/context/BuilderLibraryContext.java @@ -0,0 +1,30 @@ +package org.opencds.cqf.cql.evaluator.builder.context; + +import org.opencds.cqf.cql.execution.LibraryLoader; + +import java.util.Objects; + +import org.cqframework.cql.cql2elm.CqlTranslator.Options; + +public class BuilderLibraryContext { + // All the different ways we can load libraries: + // 1. A pre-constructed library loader, and a reference to the primary library + // 2. Strings of CQL content (and if there's more than one library, a reference to the primary library) + // 3. A remote library repository, and reference to the primary library + // 4. A filesystem with library content, and a reference to the primary library + // 5. A Bundle with FHIR Libraries + + public LibraryLoader buildLibraryLoader() { + return null; + } + + private Options translatorOptions; + public Options getTranslatorOptions() { + return this.translatorOptions; + } + + public void setTranslatorOptions(Options translatorOptions) { + Objects.requireNonNull(translatorOptions, "translatorOptions can not be null."); + this.translatorOptions = translatorOptions; + } +} \ No newline at end of file diff --git a/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/context/BuilderTerminologyContext.java b/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/context/BuilderTerminologyContext.java new file mode 100644 index 000000000..659c06dda --- /dev/null +++ b/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/context/BuilderTerminologyContext.java @@ -0,0 +1,9 @@ +package org.opencds.cqf.cql.evaluator.builder.context; + +import org.opencds.cqf.cql.terminology.TerminologyProvider; + +public class BuilderTerminologyContext { + public TerminologyProvider buildTerminologyProvider() { + return null; + } +} \ No newline at end of file diff --git a/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/factory/ClientFactory.java b/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/factory/ClientFactory.java new file mode 100644 index 000000000..c62441fa2 --- /dev/null +++ b/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/factory/ClientFactory.java @@ -0,0 +1,8 @@ +package org.opencds.cqf.cql.evaluator.factory; + +import ca.uhn.fhir.rest.client.api.IGenericClient; + + +public interface ClientFactory { + public IGenericClient create(String url); +} \ No newline at end of file diff --git a/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/factory/DataProviderFactory.java b/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/factory/DataProviderFactory.java new file mode 100644 index 000000000..06a87efa7 --- /dev/null +++ b/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/factory/DataProviderFactory.java @@ -0,0 +1,13 @@ +package org.opencds.cqf.cql.evaluator.factory; + +import java.util.List; +import java.util.Map; + +import org.opencds.cqf.cql.data.DataProvider; +import org.opencds.cqf.cql.evaluator.ModelInfo; +import org.opencds.cqf.cql.terminology.TerminologyProvider; + +public interface DataProviderFactory { + Map create(List models, TerminologyProvider terminologyProvider); + Map create(List models, TerminologyProvider terminologyProvider, ClientFactory clientFactory); +} \ No newline at end of file diff --git a/service/src/main/java/org/opencds/cqf/cql/service/factory/LibraryLoaderFactory.java b/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/factory/LibraryLoaderFactory.java similarity index 59% rename from service/src/main/java/org/opencds/cqf/cql/service/factory/LibraryLoaderFactory.java rename to evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/factory/LibraryLoaderFactory.java index 27b0f8aff..2250532d7 100644 --- a/service/src/main/java/org/opencds/cqf/cql/service/factory/LibraryLoaderFactory.java +++ b/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/factory/LibraryLoaderFactory.java @@ -1,12 +1,13 @@ -package org.opencds.cqf.cql.service.factory; +package org.opencds.cqf.cql.evaluator.factory; import java.util.EnumSet; import java.util.List; import org.cqframework.cql.cql2elm.CqlTranslator; -import org.opencds.cqf.cql.execution.LibraryLoader; +import org.opencds.cqf.cql.engine.execution.LibraryLoader; public interface LibraryLoaderFactory { LibraryLoader create(List libraries, EnumSet translatorOptions); LibraryLoader create(String libraryPath, EnumSet translatorOptions); + LibraryLoader create(String libraryPath, EnumSet translatorOptions, ClientFactory clientFactory); } \ No newline at end of file diff --git a/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/factory/TerminologyProviderFactory.java b/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/factory/TerminologyProviderFactory.java new file mode 100644 index 000000000..30ec71355 --- /dev/null +++ b/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/factory/TerminologyProviderFactory.java @@ -0,0 +1,11 @@ +package org.opencds.cqf.cql.evaluator.factory; +import org.opencds.cqf.cql.terminology.TerminologyProvider; + +import ca.uhn.fhir.context.FhirContext; + +public interface TerminologyProviderFactory { + // Passing FHIR context here is a workaround for the File-based terminology provider not yet + // knowing how to detect resource versions. This will be removed in the future. + TerminologyProvider create(FhirContext context, String terminologyUrl); + TerminologyProvider create(FhirContext context, String terminologyUrl, ClientFactory clientFactory); +} \ No newline at end of file diff --git a/service/src/main/java/org/opencds/cqf/cql/service/factory/DefaultDataProviderFactory.java b/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/factory/implementation/DefaultDataProviderFactory.java similarity index 66% rename from service/src/main/java/org/opencds/cqf/cql/service/factory/DefaultDataProviderFactory.java rename to evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/factory/implementation/DefaultDataProviderFactory.java index 25cc7d4b6..560383a40 100644 --- a/service/src/main/java/org/opencds/cqf/cql/service/factory/DefaultDataProviderFactory.java +++ b/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/factory/implementation/DefaultDataProviderFactory.java @@ -1,14 +1,17 @@ -package org.opencds.cqf.cql.service.factory; +package org.opencds.cqf.cql.evaluator.factory.implementation; import java.util.HashMap; +import java.util.List; import java.util.Map; -import org.opencds.cqf.cql.service.Helpers; -import org.opencds.cqf.cql.service.provider.FileBasedFhirRetrieveProvider; -import org.opencds.cqf.cql.service.provider.NoOpRetrieveProvider; +import org.opencds.cqf.cql.evaluator.Helpers; +import org.opencds.cqf.cql.evaluator.ModelInfo; +import org.opencds.cqf.cql.evaluator.factory.ClientFactory; +import org.opencds.cqf.cql.evaluator.factory.DataProviderFactory; +import org.opencds.cqf.cql.evaluator.provider.FileBasedFhirRetrieveProvider; +import org.opencds.cqf.cql.evaluator.provider.NoOpRetrieveProvider; import org.apache.commons.lang3.NotImplementedException; -import org.apache.commons.lang3.tuple.Pair; import org.opencds.cqf.cql.data.CompositeDataProvider; import org.opencds.cqf.cql.data.DataProvider; import org.opencds.cqf.cql.model.Dstu2FhirModelResolver; @@ -23,31 +26,36 @@ import ca.uhn.fhir.context.FhirContext; import ca.uhn.fhir.rest.client.api.IGenericClient; -// TODO: Dynamic data provider registration public class DefaultDataProviderFactory implements DataProviderFactory { @Override - public Map create(Map> modelVersionsAndUrls, + public Map create(List models, TerminologyProvider terminologyProvider) { - return this.getProviders(modelVersionsAndUrls, terminologyProvider); + return this.create(models, terminologyProvider, null); } - private Map getProviders(Map> versions, - TerminologyProvider terminologyProvider) { + @Override + public Map create(List models, TerminologyProvider terminologyProvider, + ClientFactory clientFactory) { + return this.getProviders(models, terminologyProvider, clientFactory); + } + + private Map getProviders(List models, + TerminologyProvider terminologyProvider, ClientFactory clientFactory) { Map providers = new HashMap<>(); - for (Map.Entry> m : versions.entrySet()) { - providers.put(m.getKey(), - this.getProvider(m.getKey(), m.getValue().getLeft(), m.getValue().getRight(), terminologyProvider)); + for (ModelInfo m : models) { + providers.put(m.getName(), + this.getProvider(m.getName(), m.getVersion(), m.getUrl(), terminologyProvider, clientFactory)); } return providers; } private DataProvider getProvider(String model, String version, String uri, - TerminologyProvider terminologyProvider) { + TerminologyProvider terminologyProvider, ClientFactory clientFactory) { switch (model) { case "http://hl7.org/fhir": - return this.getFhirProvider(version, uri, terminologyProvider); + return this.getFhirProvider(version, uri, terminologyProvider, clientFactory); case "urn:healthit-gov:qdm:v5_4": return this.getQdmProvider(version, uri, terminologyProvider); @@ -57,7 +65,7 @@ private DataProvider getProvider(String model, String version, String uri, } } - private DataProvider getFhirProvider(String version, String uri, TerminologyProvider terminologyProvider) { + private DataProvider getFhirProvider(String version, String uri, TerminologyProvider terminologyProvider, ClientFactory clientFactory) { FhirContext context; ModelResolver modelResolver; RetrieveProvider retrieveProvider; @@ -73,6 +81,7 @@ private DataProvider getFhirProvider(String version, String uri, TerminologyProv modelResolver = new Dstu3FhirModelResolver(); break; case "4.0.0": + case "4.0.1": context = FhirContext.forR4(); modelResolver = new R4FhirModelResolver(); break; @@ -86,7 +95,10 @@ private DataProvider getFhirProvider(String version, String uri, TerminologyProv else if (Helpers.isFileUri(uri)) { retrieveProvider = new FileBasedFhirRetrieveProvider(uri, terminologyProvider, context, modelResolver); } else { - IGenericClient client = context.newRestfulGenericClient(uri); + if (clientFactory == null) { + throw new IllegalArgumentException(String.format("Needed to access remote url %s and ClientFactory was null.")); + } + IGenericClient client = clientFactory.create(uri); RestFhirRetrieveProvider fhirRetrieveProvider = new RestFhirRetrieveProvider(new SearchParameterResolver(context), client); fhirRetrieveProvider.setTerminologyProvider(terminologyProvider); fhirRetrieveProvider.setExpandValueSets(true); diff --git a/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/factory/implementation/DefaultLibraryLoaderFactory.java b/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/factory/implementation/DefaultLibraryLoaderFactory.java new file mode 100644 index 000000000..3046d19cc --- /dev/null +++ b/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/factory/implementation/DefaultLibraryLoaderFactory.java @@ -0,0 +1,112 @@ +package org.opencds.cqf.cql.evaluator.factory.implementation; + +import java.io.File; +import java.io.IOException; +import java.nio.charset.StandardCharsets; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.util.Arrays; +import java.util.EnumSet; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.stream.Collectors; + +import org.opencds.cqf.cql.evaluator.Helpers; +import org.opencds.cqf.cql.evaluator.factory.ClientFactory; +import org.opencds.cqf.cql.evaluator.factory.LibraryLoaderFactory; +import org.opencds.cqf.cql.evaluator.loader.TranslatingLibraryLoader; +import org.opencds.cqf.cql.evaluator.manager.CacheAwareModelManager; +import org.opencds.cqf.cql.evaluator.provider.Dstu3FhirServerLibrarySourceProvider; +import org.opencds.cqf.cql.evaluator.provider.InMemoryLibrarySourceProvider; + +import org.cqframework.cql.cql2elm.CqlTranslator; +import org.cqframework.cql.cql2elm.CqlTranslator.Options; +import org.cqframework.cql.cql2elm.FhirLibrarySourceProvider; +import org.cqframework.cql.cql2elm.LibraryManager; +import org.cqframework.cql.cql2elm.ModelManager; +import org.cqframework.cql.cql2elm.model.Model; +import org.hl7.elm.r1.VersionedIdentifier; +import org.opencds.cqf.cql.execution.LibraryLoader; + +import ca.uhn.fhir.rest.client.api.IGenericClient; + +// This is intended to be general-purpose factory but there are specific cases where we probably want to change the behavior. +// For example, the global model cache will slow down (slightly) processing in the CLI mode, while it will speed up requests +// overall in service mode due to not needing to reload models on every request. +public class DefaultLibraryLoaderFactory implements LibraryLoaderFactory { + + private static final Map globalModelCache = new HashMap<>(); + + public LibraryLoader create(List libraries, EnumSet translatorOptions) { + if (libraries == null || libraries.isEmpty()) { + return null; + } + + ModelManager modelManager = new CacheAwareModelManager(globalModelCache); + LibraryManager libraryManager = createLibraryManager(modelManager, libraries, translatorOptions); + LibraryLoader libraryLoader = new TranslatingLibraryLoader(libraryManager); + + return libraryLoader; + } + + public LibraryLoader create(String libraryPath, EnumSet translatorOptions) { + return this.create(libraryPath, translatorOptions, null); + } + + public LibraryLoader create(String libraryUrl, EnumSet translatorOptions, ClientFactory clientFactory) { + if (libraryUrl == null) { + return null; + } + + ModelManager modelManager = new CacheAwareModelManager(globalModelCache); + + LibraryManager libraryManager; + if (Helpers.isFileUri(libraryUrl)) { + List libraries = this.getLibrariesFromPath(libraryUrl); + libraryManager = this.createLibraryManager(modelManager, libraries, translatorOptions); + } else { + if (clientFactory == null) { + throw new IllegalArgumentException(String.format("Needed to access remote url %s and clientFactory was null")); + } + libraryManager = this.createLibraryManager(modelManager, libraryUrl, translatorOptions, clientFactory); + } + + return new TranslatingLibraryLoader(libraryManager); + } + + private LibraryManager createLibraryManager(ModelManager modelManager, List libraries, + EnumSet translatorOptions) { + LibraryManager libraryManager = new LibraryManager(modelManager); + libraryManager.getLibrarySourceLoader().registerProvider(new InMemoryLibrarySourceProvider(libraries)); + libraryManager.getLibrarySourceLoader().registerProvider(new FhirLibrarySourceProvider()); + return libraryManager; + } + + private LibraryManager createLibraryManager(ModelManager modelManager, String libraryUrl, + EnumSet translatorOptions, ClientFactory clientFactory) { + LibraryManager libraryManager = new LibraryManager(modelManager); + + IGenericClient client = clientFactory.create(libraryUrl); + + libraryManager.getLibrarySourceLoader().registerProvider(new Dstu3FhirServerLibrarySourceProvider(client)); + libraryManager.getLibrarySourceLoader().registerProvider(new FhirLibrarySourceProvider()); + return libraryManager; + } + + List getLibrariesFromPath(String path) { + Path directoryPath = Paths.get(path); + File directory = new File(directoryPath.toAbsolutePath().toString()); + File[] files = directory.listFiles((d, name) -> name.endsWith(".cql")); + + return Arrays.asList(files).stream().map(x -> x.toPath()).filter(Files::isRegularFile).map(t -> { + try { + return Files.readAllBytes(t); + } catch (IOException e) { + e.printStackTrace(); + return null; + } + }).filter(x -> x != null).map(x -> new String(x, StandardCharsets.UTF_8)).collect(Collectors.toList()); + } +} \ No newline at end of file diff --git a/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/factory/implementation/DefaultTerminologyProviderFactory.java b/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/factory/implementation/DefaultTerminologyProviderFactory.java new file mode 100644 index 000000000..be1fe46f3 --- /dev/null +++ b/evaluator.builder/src/main/java/org/opencds/cqf/cql/evaluator/builder/factory/implementation/DefaultTerminologyProviderFactory.java @@ -0,0 +1,51 @@ +package org.opencds.cqf.cql.evaluator.factory.implementation; + +import org.opencds.cqf.cql.evaluator.Helpers; +import org.opencds.cqf.cql.evaluator.factory.ClientFactory; +import org.opencds.cqf.cql.evaluator.factory.TerminologyProviderFactory; +import org.opencds.cqf.cql.evaluator.provider.FileBasedFhirTerminologyProvider; + +import org.opencds.cqf.cql.terminology.TerminologyProvider; +import org.opencds.cqf.cql.terminology.fhir.Dstu3FhirTerminologyProvider; +import org.opencds.cqf.cql.terminology.fhir.R4FhirTerminologyProvider; + +import ca.uhn.fhir.context.FhirContext; +import ca.uhn.fhir.context.FhirVersionEnum; +import ca.uhn.fhir.rest.client.api.IGenericClient; +public class DefaultTerminologyProviderFactory implements TerminologyProviderFactory { + + public TerminologyProvider create(FhirContext context, String terminologyUrl) { + return this.create(context, terminologyUrl, null); + } + + public TerminologyProvider create(FhirContext context, String terminologyUrl, ClientFactory clientFactory) { + if (terminologyUrl == null || terminologyUrl.isEmpty()) { + return null; + } + + boolean isFileUri = Helpers.isFileUri(terminologyUrl); + if (isFileUri) { + return new FileBasedFhirTerminologyProvider(context, terminologyUrl); + } + + if (clientFactory == null) { + throw new IllegalArgumentException(String.format("Needed to access remote url %s and clientFactory was null")); + } + + IGenericClient client = clientFactory.create(terminologyUrl); + FhirVersionEnum version = client.getFhirContext().getVersion().getVersion(); + + if (version.isEqualOrNewerThan(FhirVersionEnum.R5)) { + throw new IllegalArgumentException("R5 terminology server is not yet supported."); + } + else if (version.isEqualOrNewerThan(FhirVersionEnum.R4)) { + return new R4FhirTerminologyProvider(client); + } + else if (version.isEqualOrNewerThan(FhirVersionEnum.DSTU3)) { + return new Dstu3FhirTerminologyProvider(client); + } + else { + throw new IllegalArgumentException(String.format("Unknown FHIR terminology provider version: %s", version.toString())); + } + } +} \ No newline at end of file diff --git a/cli/pom.xml b/evaluator.cli/pom.xml similarity index 62% rename from cli/pom.xml rename to evaluator.cli/pom.xml index 8bd448b59..a5600f2d8 100644 --- a/cli/pom.xml +++ b/evaluator.cli/pom.xml @@ -4,39 +4,51 @@ 4.0.0 org.opencds.cqf.cql - cli + evaluator.cli ${revision} jar org.opencds.cqf.cql - base + evaluator.shared ${revision} - - 5.0.4 - + CQL Evaluator CLI + + info.cqframework + cql-to-elm + + + org.opencds.cqf.cql + engine + + + org.opencds.cqf.cql + engine.fhir + org.opencds.cqf.cql - service + evaluator ${revision} org.opencds.cqf.cql - measure + evaluator.execution ${revision} - net.sf.jopt-simple - jopt-simple - ${jopt-version} + org.opencds.cqf.cql + evaluator.translation + ${revision} org.slf4j slf4j-simple + true + compile @@ -54,7 +66,7 @@ - org.opencds.cqf.cql.cli.Main + org.opencds.cqf.cql.evaluator.cli.Main @@ -71,13 +83,21 @@ - org.opencds.cqf.cql.cli.Main - - - + org.opencds.cqf.cql.evaluator.cli.Main + + + + + org.apache.maven.plugins + maven-jmod-plugin + + + org.apache.maven.plugins + maven-jlink-plugin + \ No newline at end of file diff --git a/evaluator.cli/src/main/java/org/opencds/cqf/cql/evaluator/cli/ArgumentProcessor.java b/evaluator.cli/src/main/java/org/opencds/cqf/cql/evaluator/cli/ArgumentProcessor.java new file mode 100644 index 000000000..3802ef81d --- /dev/null +++ b/evaluator.cli/src/main/java/org/opencds/cqf/cql/evaluator/cli/ArgumentProcessor.java @@ -0,0 +1,193 @@ +package org.opencds.cqf.cql.evaluator.cli; + +import static java.util.Arrays.asList; + +import java.util.List; + +import org.apache.commons.lang3.tuple.Pair; +import org.cqframework.cql.cql2elm.CqlTranslator; +import org.cqframework.cql.gen.cqlParser.LongNumberLiteralContext; + +import joptsimple.OptionParser; +import joptsimple.OptionSet; +import joptsimple.OptionSpec; +import joptsimple.OptionSpecBuilder; +import joptsimple.util.KeyValuePair; + +import org.opencds.cqf.cql.engine.execution.CqlEngine; +import org.opencds.cqf.cql.evaluator.cli.temporary.EvaluationParameters; + +@SuppressWarnings({ "unchecked", "unused"}) +public class ArgumentProcessor { + public static final String[] LIBRARY_OPTIONS = {"l", "library"}; + + public static final String[] LIBRARY_URL_OPTIONS = {"lu", "library-url"}; + public static final String[] LIBRARY_NAME_OPTIONS = {"ln", "library-name"}; + public static final String[] LIBRARY_VERSION_OPTIONS = {"lv", "library-version"}; + public static final String[] EXPRESSION_NAME_OPTIONS = {"en", "expression-name"}; + + public static final String[] MEASURE_URL_OPTIONS = { "mu", "measure-url"}; + public static final String[] MEASURE_NAME_OPTIONS = {"mn", "measure-name"}; + public static final String[] MEASURE_VERSION_OPTIONS = {"mv", "measure-version"}; + + public static final String[] TERMINOLOGY_URL_OPTIONS = {"t","terminology", "terminology-url"}; + public static final String[] MODEL_URL_OPTIONS = {"m","model", "model-url"}; + public static final String[] PARAMETER_OPTIONS = {"p", "parameter"}; + public static final String[] CONTEXT_PARAMETER_OPTIONS = {"c", "context"}; + + + + public static final String[] HELP_OPTIONS = {"h", "help", "?"}; + public static final String[] CLI_VERSION_OPTIONS = {"v", "version"}; + public static final String[] OUTPUT_FORMAT_OPTIONS = {"f", "format"}; + + public OptionParser build() { + OptionParser parser = new OptionParser(); + + + OptionSpecBuilder versionBuilder = parser.acceptsAll(asList(CLI_VERSION_OPTIONS),"Show version of cql-evaluation cli."); + + OptionSpecBuilder libraryBuilder = parser.acceptsAll(asList(LIBRARY_OPTIONS),"Use multiple times to define multiple libraries."); + + OptionSpecBuilder libraryUrlBuilder = parser.acceptsAll(asList(LIBRARY_URL_OPTIONS), "Can be a local directory or a FHIR server base url. If a local directory, .cql files OR FHIR .json/.xml files are expected. All libraries in the directory will be included in the evaluation context."); + OptionSpecBuilder libraryNameBuilder = parser.acceptsAll(asList(LIBRARY_NAME_OPTIONS), "Required if multiple libraries are defined inline OR a library-url is specified."); + OptionSpecBuilder libraryVersionBuilder = parser.acceptsAll(asList(LIBRARY_VERSION_OPTIONS), "If omitted most recent version of the library will be used."); + OptionSpecBuilder expressionNameBuilder = parser.acceptsAll(asList(EXPRESSION_NAME_OPTIONS), "Use the form expressionName (e.g. \"Numerator\"). Use multiple times to specify multiple expressions. If omitted all the expressions in the primary library will be evaluated."); + + OptionSpecBuilder measureUrlBuilder = parser.acceptsAll(asList(MEASURE_URL_OPTIONS), "Can be a local directory or a FHIR server base url. If a local directory FHIR .json/.xml files are expected. Mutually exclusive with library and library-url."); + OptionSpecBuilder measureNameBuilder = parser.acceptsAll(asList(MEASURE_NAME_OPTIONS), "Required if measure-url specified."); + OptionSpecBuilder measureVersionBuilder = parser.acceptsAll(asList(MEASURE_VERSION_OPTIONS), "If omitted most recent version of the measure will be used."); + + + OptionSpecBuilder helpBuilder = parser.acceptsAll(asList(HELP_OPTIONS), "Show this help page"); + OptionSpec help = helpBuilder.forHelp(); + + // Set up inter-dependencies. + // Can't define libraries and measures + parser.mutuallyExclusive(measureUrlBuilder, libraryUrlBuilder); + parser.mutuallyExclusive(measureUrlBuilder, libraryBuilder); + + // Can't define libraries inline and in a directory + parser.mutuallyExclusive(libraryBuilder, libraryUrlBuilder); + + // Cant use version with other options. + parser.mutuallyExclusive(versionBuilder, measureUrlBuilder); + parser.mutuallyExclusive(versionBuilder, libraryUrlBuilder); + parser.mutuallyExclusive(versionBuilder, libraryBuilder); + + + OptionSpec library = libraryBuilder.withRequiredArg().describedAs("library content"); + OptionSpec libraryUrl = libraryUrlBuilder.withRequiredArg().describedAs("location of libraries"); + OptionSpec libraryName = libraryNameBuilder.requiredIf(libraryUrl).withRequiredArg().describedAs("name of primary library"); + OptionSpec libraryVersion = libraryVersionBuilder.availableIf(libraryName).withRequiredArg().describedAs("version of primary library"); + OptionSpec expressionName = expressionNameBuilder.availableIf(library, libraryName).withRequiredArg().describedAs("expression name in primary library to evaluate"); + + OptionSpec measureUrl = measureUrlBuilder.withRequiredArg().describedAs("location of measure"); + OptionSpec measureName = measureNameBuilder.requiredIf(measureUrl).withRequiredArg().describedAs("name of measure"); + OptionSpec measureVersion = measureVersionBuilder.availableIf(measureName).withRequiredArg().describedAs("version of measure"); + + + + // TODO: Terminology user / password (and other auth options) + OptionSpec terminologyUrl = parser.acceptsAll(asList(TERMINOLOGY_URL_OPTIONS),"Can be a local directory or a FHIR server url. If a local directory FHIR .json/.xml files are expected.") + .withRequiredArg().describedAs("location of terminology"); + + // TODO: Data provider user/ password (and other auth options) + OptionSpec modelUrl = parser.acceptsAll(asList(MODEL_URL_OPTIONS), + "Use the form model=url. (e.g. FHIR=path/to/fhir/resources). Can be a local directory or a FHIR server url. If a local directory FHIR .json/.xml files are expected.") + .withRequiredArg().ofType(KeyValuePair.class).describedAs("location of data for model "); + + OptionSpec parameter = parser.acceptsAll(asList(PARAMETER_OPTIONS), + "Use the form parameterName=value (e.g. \"Measurement Period\"=[@2015-01-01, @2016-01-01]). The parameter values must be CQL or FHIR types. Use multiple times to specify multiple parameters.") + .withRequiredArg().ofType(KeyValuePair.class).describedAs("value of parameter"); + + OptionSpec context = parser.acceptsAll(asList(CONTEXT_PARAMETER_OPTIONS), + "Use the form contextParameter=value (e.g. Patient=123).") + .withRequiredArg().ofType(KeyValuePair.class).describedAs("name and value of context parameter"); + + // OptionSpec verbose = parser.acceptsAll(asList(OUTPUT_FORMAT_OPTIONS), "Show simplified results") + // .withOptionalArg().ofType(Boolean.class).describedAs("String representation of a boolean value"); + + return parser; + } + + public OptionSet parse(String[] args) { + OptionParser parser = build(); + + if (args == null) { + this.printHelp(parser); + return null; + } + + OptionSet options = parser.parse(args); + if (!options.hasOptions() || options.has(HELP_OPTIONS[0])) { + this.printHelp(parser); + return null; + } + + if (options.has(CLI_VERSION_OPTIONS[0])) { + this.printVersion(); + return null; + } + + return options; + } + + private void printHelp(OptionParser parser) { + try { + this.printVersion(); + System.out.println(); + parser.printHelpOn(System.out); + System.out.println(); + this.printExamples(); + } + catch (Exception e) { + + } + } + + private void printVersion() { + System.out.println(String.format("cql-evaluator cli version: %s", ArgumentProcessor.class.getPackage().getImplementationVersion())); + // System.out.println(String.format("cql-translator version: %s", CqlTranslator.class.getPackage().getImplementationVersion())); + // System.out.println(String.format("cql-engine version: %s", CqlEngine.class.getPackage().getImplementationVersion())); + } + + private void printExamples() { + System.out.println("Examples:"); + System.out.println("cli --ln \"CMS146\" --lu /ig/cql --m FHIR=/ig/tests --t /ig/valuesets -c Patient=123"); + } + + public EvaluationParameters parseAndConvert(String[] args) { + OptionSet options = this.parse(args); + if (options == null) { + return null; + } + + List libraries = (List)options.valuesOf(LIBRARY_OPTIONS[0]); + String libraryUrl = (String)options.valueOf(LIBRARY_URL_OPTIONS[0]); + String libraryName = (String)options.valueOf(LIBRARY_NAME_OPTIONS[0]); + String libraryVersion = (String)options.valueOf(LIBRARY_VERSION_OPTIONS[0]); + List expressions = (List)options.valuesOf(EXPRESSION_NAME_OPTIONS[0]); + + String measureUrl = (String)options.valueOf(MEASURE_URL_OPTIONS[0]); + String measureName = (String)options.valueOf(MEASURE_NAME_OPTIONS[0]); + String measureVersion = (String)options.valueOf(MEASURE_VERSION_OPTIONS[0]); + + String terminologyUrl = (String)options.valueOf(TERMINOLOGY_URL_OPTIONS[0]); + + // TODO: Format this to the correct list. + //Boolean verbose = (Boolean)options.valueOf(OUTPUT_FORMAT_OPTIONS[0]); + + KeyValuePair model = (KeyValuePair)options.valueOf(MODEL_URL_OPTIONS[0]); + List parameters = (List)options.valuesOf(PARAMETER_OPTIONS[0]); + KeyValuePair contextParameter = (KeyValuePair)options.valueOf(CONTEXT_PARAMETER_OPTIONS[0]); + + EvaluationParameters ep = new EvaluationParameters(); + ep.libraryUrl = libraryUrl; + ep.libraryName = libraryName; + ep.contextParameter = contextParameter != null ? Pair.of(contextParameter.key, contextParameter.value) : null; + ep.model = model != null ? Pair.of(model.key, model.value) : null; + ep.terminologyUrl = terminologyUrl; + return ep; + } +} \ No newline at end of file diff --git a/evaluator.cli/src/main/java/org/opencds/cqf/cql/evaluator/cli/Main.java b/evaluator.cli/src/main/java/org/opencds/cqf/cql/evaluator/cli/Main.java new file mode 100644 index 000000000..747447ce2 --- /dev/null +++ b/evaluator.cli/src/main/java/org/opencds/cqf/cql/evaluator/cli/Main.java @@ -0,0 +1,251 @@ +package org.opencds.cqf.cql.evaluator.cli; + +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +import org.apache.commons.lang3.NotImplementedException; +import org.apache.commons.lang3.tuple.Pair; +import org.cqframework.cql.elm.execution.Library; +import org.cqframework.cql.elm.execution.UsingDef; +import org.cqframework.cql.elm.execution.VersionedIdentifier; +import org.opencds.cqf.cql.engine.data.CompositeDataProvider; +import org.opencds.cqf.cql.engine.data.DataProvider; +import org.opencds.cqf.cql.engine.execution.EvaluationResult; +import org.opencds.cqf.cql.engine.execution.LibraryLoader; +import org.opencds.cqf.cql.engine.fhir.model.Dstu3FhirModelResolver; +import org.opencds.cqf.cql.engine.fhir.model.FhirModelResolver; +import org.opencds.cqf.cql.engine.fhir.model.R4FhirModelResolver; +import org.opencds.cqf.cql.engine.retrieve.RetrieveProvider; +import org.opencds.cqf.cql.engine.terminology.TerminologyProvider; +import org.opencds.cqf.cql.evaluator.CqlEvaluator; +import org.opencds.cqf.cql.evaluator.Helpers; +import org.opencds.cqf.cql.evaluator.cli.temporary.EvaluationParameters; +import org.opencds.cqf.cql.evaluator.cli.temporary.LibraryLoaderFactory; +import org.opencds.cqf.cql.evaluator.execution.provider.BundleRetrieveProvider; +import org.opencds.cqf.cql.evaluator.execution.provider.NoOpRetrieveProvider; +import org.opencds.cqf.cql.evaluator.execution.terminology.BundleTerminologyProvider; +import org.opencds.cqf.cql.evaluator.execution.util.DirectoryBundler; + +import ca.uhn.fhir.context.FhirContext; + +public class Main { + + public static void main(String[] args) { + try { + Main main = new Main(); + main.parseAndExecute(args); + + } catch (Exception e) { + System.err.println(e.getMessage()); + e.printStackTrace(); + System.exit(1); + } + } + + public void parseAndExecute(String[] args) { + EvaluationParameters parameters = this.parse(args); + if (parameters == null) { + return; + } + + this.execute(parameters); + } + + public EvaluationParameters parse(String[] args) { + return new ArgumentProcessor().parseAndConvert(args); + } + + public void execute(EvaluationParameters parameters){ + // This is all temporary garbage to get running again. + //Objects.requireNonNull(parameters.contextParameter, "Gotta have a contextParameter."); + Objects.requireNonNull(parameters.libraryName, "Gotta have a libraryName"); + Objects.requireNonNull(parameters.libraryUrl, "Gotta have a libraryUrl"); + // Objects.requireNonNull(parameters.terminologyUrl, "Gotta have a terminologyUrl"); + // Objects.requireNonNull(parameters.model, "Gotta have a model"); + if (!Helpers.isFileUri(parameters.libraryUrl)) { + throw new IllegalArgumentException("libraryUrl must be a local directory for now. Sorry!"); + } + + if (parameters.terminologyUrl != null && !Helpers.isFileUri(parameters.terminologyUrl)) { + throw new IllegalArgumentException("terminologyUrl must be a local directory for now. Sorry!"); + } + + if (parameters.model != null && !Helpers.isFileUri(parameters.model.getValue())) { + throw new IllegalArgumentException("model Urls must be a local directory for now. Sorry!"); + } + + LibraryLoader libraryLoader = new LibraryLoaderFactory().create(parameters.libraryUrl); + + Map libraries = new HashMap(); + if (parameters.libraryName != null) { + Library lib = libraryLoader.load(toExecutionIdentifier(parameters.libraryName, null)); + if (lib != null) { + libraries.put(lib.getIdentifier(), lib); + } + } + + Map> modelVersionAndUrls = getModelVersionAndUrls(libraries, parameters.model); + TerminologyProvider terminologyProvider = create(modelVersionAndUrls, parameters.terminologyUrl); + Map dataProviders = create(modelVersionAndUrls, terminologyProvider); + + CqlEvaluator evaluator = new CqlEvaluator(libraryLoader, parameters.libraryName, dataProviders, + terminologyProvider); + Pair contextParameter = evaluator.unmarshalContextParameter(parameters.contextParameter); + EvaluationResult result = evaluator.evaluate(contextParameter); + + for (Map.Entry libraryEntry : result.expressionResults.entrySet()) { + System.out.println(libraryEntry.getKey() + "=" + (libraryEntry.getValue() != null ? libraryEntry.getValue().toString() : null)); + } + } + + // TODO: Remove this once builder is complete: + private TerminologyProvider create(Map> modelVersionsAndUrls, + String terminologyUri) { + if (terminologyUri == null || terminologyUri.isEmpty()) { + return null; + } + + // We currently only support FHIR-based terminology + // We assume that the terminology version is the same + // As the data version + Pair versionAndUrl = modelVersionsAndUrls.get("http://hl7.org/fhir"); + if (versionAndUrl == null) { + // Assume FHIR 3.0.0 + versionAndUrl = Pair.of("3.0.0", null); + } + + FhirContext fhirContext; + String version = versionAndUrl.getLeft(); + if (version.startsWith("5")) { + throw new IllegalArgumentException("FHIR R5 not yet supported"); + } else if (version.startsWith("4")) { + fhirContext = FhirContext.forR4(); + } else if (version.startsWith("3")) { + fhirContext = FhirContext.forDstu3(); + } else { + throw new IllegalArgumentException("FHIR DSTU2 and below not supported"); + } + + return new BundleTerminologyProvider(fhirContext, new DirectoryBundler(fhirContext).bundle(terminologyUri)); + } + + // TODO: More stuff to remove once builder is ready. + private Map> getModelVersionAndUrls(Map libraries, + Pair modelUrl) { + + Map> versions = new HashMap<>(); + modelUrl = expandAliasToUri(modelUrl); + for (Library library : libraries.values()) { + if (library.getUsings() != null && library.getUsings().getDef() != null) { + for (UsingDef u : library.getUsings().getDef()) { + String uri = u.getUri(); + // Skip the system URI + if (uri.equals("urn:hl7-org:elm-types:r1")) { + continue; + } + String version = u.getVersion(); + if (versions.containsKey(uri)) { + Pair existing = versions.get(uri); + if (!existing.getLeft().equals(version)) { + throw new IllegalArgumentException(String.format( + "Libraries are using multiple versions of %s. Only one version is supported at a time.", + uri)); + } + } else if (modelUrl == null || !uri.equals(modelUrl.getLeft())) { + versions.put(uri, Pair.of(version, null)); + } + else { + versions.put(uri, Pair.of(version, modelUrl.getRight())); + } + } + } + } + + return versions; + } + + private Pair expandAliasToUri(Pair modelUrl) { + final Map aliasMap = new HashMap() { + private static final long serialVersionUID = 1L; + + { + put("FHIR", "http://hl7.org/fhir"); + put("QUICK", "http://hl7.org/fhir"); + put("QDM", "urn:healthit-gov:qdm:v5_4"); + } + }; + + if (modelUrl == null) { + return null; + } + + if (aliasMap.containsKey(modelUrl.getLeft())) { + return Pair.of(aliasMap.get(modelUrl.getLeft()), modelUrl.getRight()); + } + + return modelUrl; + } + + private VersionedIdentifier toExecutionIdentifier(String name, String version) { + return new VersionedIdentifier().withId(name).withVersion(version); + } + + private Map create(Map> modelVersionsAndUrls, + TerminologyProvider terminologyProvider) { + return getProviders(modelVersionsAndUrls, terminologyProvider); + } + + private Map getProviders(Map> versions, + TerminologyProvider terminologyProvider) { + Map providers = new HashMap<>(); + for (Map.Entry> m : versions.entrySet()) { + providers.put(m.getKey(), + getProvider(m.getKey(), m.getValue().getLeft(), m.getValue().getRight(), terminologyProvider)); + } + + return providers; + } + + private DataProvider getProvider(String model, String version, String url, + TerminologyProvider terminologyProvider) { + switch (model) { + case "http://hl7.org/fhir": + return getFhirProvider(version, url, terminologyProvider); + + case "urn:healthit-gov:qdm:v5_4": + return getQdmProvider(version, url, terminologyProvider); + + default: + throw new IllegalArgumentException(String.format("Unknown data provider uri: %s", model)); + } + } + + @SuppressWarnings("rawtypes") + private DataProvider getFhirProvider(String version, String url, TerminologyProvider terminologyProvider) { + FhirModelResolver modelResolver; + RetrieveProvider retrieveProvider; + if (version.startsWith("5")) { + throw new IllegalArgumentException("FHIR R5 not yet supported"); + } else if (version.startsWith("4")) { + modelResolver = new R4FhirModelResolver(); + } else if (version.startsWith("3")) { + modelResolver = new Dstu3FhirModelResolver(); + } else { + throw new IllegalArgumentException("FHIR DSTU2 and below not supported"); + } + + if (url == null) { + retrieveProvider = new NoOpRetrieveProvider(); + } else { + retrieveProvider = new BundleRetrieveProvider(modelResolver, new DirectoryBundler(modelResolver.getFhirContext()).bundle(url), terminologyProvider); + } + + return new CompositeDataProvider(modelResolver, retrieveProvider); + } + + private DataProvider getQdmProvider(String version, String uri, TerminologyProvider terminologyProvider) { + throw new NotImplementedException("QDM data providers are not yet implemented"); + } + +} diff --git a/evaluator.cli/src/main/java/org/opencds/cqf/cql/evaluator/cli/temporary/EvaluationParameters.java b/evaluator.cli/src/main/java/org/opencds/cqf/cql/evaluator/cli/temporary/EvaluationParameters.java new file mode 100644 index 000000000..0f7480305 --- /dev/null +++ b/evaluator.cli/src/main/java/org/opencds/cqf/cql/evaluator/cli/temporary/EvaluationParameters.java @@ -0,0 +1,14 @@ +package org.opencds.cqf.cql.evaluator.cli.temporary; + +import org.apache.commons.lang3.tuple.Pair; + +// WARNING: This class is just a temporary stand-in until the builder is complete. +// We should replace this at the earliest opportunity +// DON'T FIX IT, DON'T EXTEND IT. KILL IT! +public class EvaluationParameters { + public Pair model; + public String terminologyUrl; + public String libraryUrl; + public String libraryName; + public Pair contextParameter; +} \ No newline at end of file diff --git a/service/src/main/java/org/opencds/cqf/cql/service/factory/DefaultLibraryLoaderFactory.java b/evaluator.cli/src/main/java/org/opencds/cqf/cql/evaluator/cli/temporary/LibraryLoaderFactory.java similarity index 54% rename from service/src/main/java/org/opencds/cqf/cql/service/factory/DefaultLibraryLoaderFactory.java rename to evaluator.cli/src/main/java/org/opencds/cqf/cql/evaluator/cli/temporary/LibraryLoaderFactory.java index 7d389949a..3b029ff37 100644 --- a/service/src/main/java/org/opencds/cqf/cql/service/factory/DefaultLibraryLoaderFactory.java +++ b/evaluator.cli/src/main/java/org/opencds/cqf/cql/evaluator/cli/temporary/LibraryLoaderFactory.java @@ -1,4 +1,4 @@ -package org.opencds.cqf.cql.service.factory; +package org.opencds.cqf.cql.evaluator.cli.temporary; import java.io.File; import java.io.IOException; @@ -7,48 +7,36 @@ import java.nio.file.Path; import java.nio.file.Paths; import java.util.Arrays; -import java.util.EnumSet; -import java.util.HashMap; import java.util.List; -import java.util.Map; import java.util.stream.Collectors; -import org.opencds.cqf.cql.service.loader.TranslatingLibraryLoader; -import org.opencds.cqf.cql.service.manager.CacheAwareModelManager; -import org.opencds.cqf.cql.service.provider.InMemoryLibrarySourceProvider; - -import org.cqframework.cql.cql2elm.CqlTranslator; +import org.cqframework.cql.cql2elm.CqlTranslatorOptions; import org.cqframework.cql.cql2elm.FhirLibrarySourceProvider; import org.cqframework.cql.cql2elm.LibraryManager; import org.cqframework.cql.cql2elm.ModelManager; -import org.cqframework.cql.cql2elm.model.Model; -import org.hl7.elm.r1.VersionedIdentifier; -import org.opencds.cqf.cql.execution.LibraryLoader; - -// This is intended to be general-purpose factory but there are specific cases where we probably want to change the behavior. -// For example, the global model cache will slow down (slightly) processing in the CLI mode, while it will speed up requests -// overall in service mode due to not needing to reload models on every request. -public class DefaultLibraryLoaderFactory implements LibraryLoaderFactory { - - private static final Map globalCache = new HashMap<>(); - +import org.opencds.cqf.cql.engine.execution.LibraryLoader; +import org.opencds.cqf.cql.evaluator.execution.loader.TranslatingLibraryLoader; +import org.opencds.cqf.cql.evaluator.translation.provider.InMemoryLibrarySourceProvider; - public LibraryLoader create(List libraries, - EnumSet translatorOptions) { +// WARNING: This class is just a temporary stand-in until the builder is complete. +// We should replace this at the earliest opportunity +// DON'T FIX IT, DON'T EXTEND IT. KILL IT! +public class LibraryLoaderFactory { + public LibraryLoader create(List libraries) { - ModelManager modelManager = new CacheAwareModelManager(globalCache); + ModelManager modelManager = new ModelManager(); - LibraryManager libraryManager = createLibraryManager(modelManager, libraries, translatorOptions); - LibraryLoader libraryLoader = new TranslatingLibraryLoader(libraryManager); + LibraryManager libraryManager = createLibraryManager(modelManager, libraries); + LibraryLoader libraryLoader = new TranslatingLibraryLoader(libraryManager, CqlTranslatorOptions.defaultOptions()); return libraryLoader; } - public LibraryLoader create(String libraryPath, EnumSet translatorOptions) { + public LibraryLoader create(String libraryPath) { // TODO: At some point we might want to add support for a remote library URI List libraries = this.getLibrariesFromPath(libraryPath); - return this.create(libraries, translatorOptions); + return this.create(libraries); } List getLibrariesFromPath(String path) { @@ -69,7 +57,7 @@ List getLibrariesFromPath(String path) { .collect(Collectors.toList()); } - private LibraryManager createLibraryManager(ModelManager modelManager, List libraries, EnumSet translatorOptions) { + private LibraryManager createLibraryManager(ModelManager modelManager, List libraries) { LibraryManager libraryManager = new LibraryManager(modelManager); libraryManager.getLibrarySourceLoader().registerProvider(new InMemoryLibrarySourceProvider(libraries)); libraryManager.getLibrarySourceLoader().registerProvider(new FhirLibrarySourceProvider()); diff --git a/evaluator.cli/src/main/resources/simplelogger.properties b/evaluator.cli/src/main/resources/simplelogger.properties new file mode 100644 index 000000000..80e054b88 --- /dev/null +++ b/evaluator.cli/src/main/resources/simplelogger.properties @@ -0,0 +1,34 @@ +# SLF4J's SimpleLogger configuration file +# Simple implementation of Logger that sends all enabled log messages, for all defined loggers, to System.err. + +# Default logging detail level for all instances of SimpleLogger. +# Must be one of ("trace", "debug", "info", "warn", or "error"). +# If not specified, defaults to "info". +org.slf4j.simpleLogger.defaultLogLevel=warn + +# Logging detail level for a SimpleLogger instance named "xxxxx". +# Must be one of ("trace", "debug", "info", "warn", or "error"). +# If not specified, the default logging detail level is used. +#org.slf4j.simpleLogger.log.xxxxx= + +# Set to true if you want the current date and time to be included in output messages. +# Default is false, and will output the number of milliseconds elapsed since startup. +#org.slf4j.simpleLogger.showDateTime=false + +# The date and time format to be used in the output messages. +# The pattern describing the date and time format is the same that is used in java.text.SimpleDateFormat. +# If the format is not specified or is invalid, the default format is used. +# The default format is yyyy-MM-dd HH:mm:ss:SSS Z. +#org.slf4j.simpleLogger.dateTimeFormat=yyyy-MM-dd HH:mm:ss:SSS Z + +# Set to true if you want to output the current thread name. +# Defaults to true. +#org.slf4j.simpleLogger.showThreadName=true + +# Set to true if you want the Logger instance name to be included in output messages. +# Defaults to true. +#org.slf4j.simpleLogger.showLogName=true + +# Set to true if you want the last component of the name to be included in output messages. +# Defaults to false. +#org.slf4j.simpleLogger.showShortLogName=false \ No newline at end of file diff --git a/evaluator.cli/src/test/java/org/opencds/cqf/cql/evaluator/cli/CliTest.java b/evaluator.cli/src/test/java/org/opencds/cqf/cql/evaluator/cli/CliTest.java new file mode 100644 index 000000000..49eb04806 --- /dev/null +++ b/evaluator.cli/src/test/java/org/opencds/cqf/cql/evaluator/cli/CliTest.java @@ -0,0 +1,123 @@ +package org.opencds.cqf.cql.evaluator.cli; + +import static org.junit.Assert.assertTrue; + +import java.io.ByteArrayOutputStream; +import java.io.File; +import java.io.PrintStream; + +import org.junit.After; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +public class CliTest { + + private ByteArrayOutputStream outContent; + private ByteArrayOutputStream errContent; + private final PrintStream originalOut = System.out; + private final PrintStream originalErr = System.err; + + private static final String testResourceRelativePath = "src/test/resources"; + private static String testResourcePath = null; + + @BeforeClass + public static void setup(){ + File file = new File(testResourceRelativePath); + testResourcePath = file.getAbsolutePath(); + System.out.println(String.format("Test resource directory: %s", testResourcePath)); + } + + @Before + public void setUpStreams() { + outContent = new ByteArrayOutputStream(); + // errContent = new ByteArrayOutputStream(); + + System.setOut(new PrintStream(outContent)); + // System.setErr(new PrintStream(errContent)); + } + + @After + public void restoreStreams() { + String sysOut = outContent.toString(); + // String sysError = errContent.toString(); + + System.setOut(originalOut); + // System.setErr(originalErr); + + System.out.println(sysOut); + // System.err.println(sysError); + } + + @Test + public void testVersion() { + String[] args = new String[] { "-v" }; + Main.main(args); + assertTrue(outContent.toString().startsWith("cql-evaluator cli version:")); + } + + //@Test + public void testHelp() { + String[] args = new String[] { "-h" }; + Main.main(args); + String output = outContent.toString(); + assertTrue(output.startsWith("cql-evaluator cli version:")); + // assertTrue(output.endsWith("Patient=123\n")); + } + + @Test + public void testEmpty() { + String[] args = new String[] { }; + Main.main(args); + String output = outContent.toString(); + assertTrue(output.startsWith("cql-evaluator cli version:")); + // assertTrue(output.endsWith("Patient=123\n")); + } + + @Test + public void testNull() { + Main.main(null); + String output = outContent.toString(); + assertTrue(output.startsWith("cql-evaluator cli version:")); + // assertTrue(output.endsWith("Patient=123\n")); + } + + + @Test + public void testDstu3() { + + } + + @Test + public void testR4() { + String[] args = new String[]{ + "-lu", + testResourcePath + "/r4", + "-ln", + "TestFHIR", + "-m", + "FHIR="+ testResourcePath + "/r4", + "-t", + testResourcePath + "/r4/vocabulary/ValueSet", + "-c", + "Patient=example" + }; + + Main.main(args); + + String output = outContent.toString(); + + assertTrue(output.contains("Patient=")); + assertTrue(output.contains("TestAdverseEvent=")); + } + + @Test + public void testUSCore() { + + } + + @Test + public void testQICore() { + + } +} diff --git a/cli/src/test/resources/cql/Hello Patient.cql b/evaluator.cli/src/test/resources/cql/Hello Patient.cql similarity index 100% rename from cli/src/test/resources/cql/Hello Patient.cql rename to evaluator.cli/src/test/resources/cql/Hello Patient.cql diff --git a/cli/src/test/resources/data/patients/12345/Encounter/12345-1.json b/evaluator.cli/src/test/resources/data/patients/12345/Encounter/12345-1.json similarity index 100% rename from cli/src/test/resources/data/patients/12345/Encounter/12345-1.json rename to evaluator.cli/src/test/resources/data/patients/12345/Encounter/12345-1.json diff --git a/evaluator.cli/src/test/resources/dstu3/TestFHIR.cql b/evaluator.cli/src/test/resources/dstu3/TestFHIR.cql new file mode 100644 index 000000000..c717370ea --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/TestFHIR.cql @@ -0,0 +1,134 @@ +library TestFHIR + +/* +Every expression in this library should evaluate to non-null or non-empty, +with the exception of TestPatientDeceasedDateTime, which should evaluate to null + */ + +using FHIR version '3.0.0' + +codesystem "LOINC": 'http://loinc.org' +codesystem "Marital Status Codes": 'http://hl7.org/fhir/v3/MaritalStatus' +codesystem "CDC Race and Ethnicity Codes": 'urn:oid:2.16.840.1.113883.6.238' + +valueset "Marital Status": 'http://hl7.org/fhir/ValueSet/marital-status' + +code "Marital Status - Married": 'M' from "Marital Status Codes" +code "American Indian or Alaska Native": '1002-5' from "CDC Race and Ethnicity Codes" +code "Shoshone": '1586-7' from "CDC Race and Ethnicity Codes" +code "Blood pressure": '85354-9' from "LOINC" display 'blood pressure' +code "Diastolic blood pressure": '8462-4' from "LOINC" display 'Diastolic blood pressure' +code "Systolic blood pressure": '8480-6' from "LOINC" display 'Systolic blood pressure' + +context Patient + +define TestAllergyIntolerance: ["AllergyIntolerance"] +define TestCarePlan: ["CarePlan"] +define TestCareTeam: ["CareTeam"] +define TestCondition: ["Condition"] +define TestDevice: ["Device"] +define TestDiagnosticReport: ["DiagnosticReport"] +define TestDocumentReference: ["DocumentReference"] +define TestEncounter: ["Encounter"] +define TestGoal: ["Goal"] +define TestImmunization: ["Immunization"] +define TestLocation: ["Location"] +define TestMedication: ["Medication"] +define TestMedicationRequest: ["MedicationRequest"] +define TestMedicationStatement: ["MedicationStatement"] +define TestObservation: ["Observation"] +define TestOrganization: ["Organization"] +define TestPatient: ["Patient"] +define TestPractitioner: ["Practitioner"] +define TestProcedure: ["Procedure"] + +define TestPatientGender: + Patient P + where P.gender.value = 'female' + +define TestPatientActive: + Patient P + where P.active.value is true + +define TestPatientBirthDate: + Patient P + where P.birthDate.value before Today() + +define TestPatientMaritalStatusMembership: + Patient P + where ToConcept(P.maritalStatus) in "Marital Status" + +define TestPatientMartialStatusComparison: + Patient P + where ToConcept(P.maritalStatus) ~ "Marital Status - Married" + +define TestPatientDeceasedAsBoolean: + Patient P + where (P.deceased as FHIR.boolean).value is false + +define TestPatientDeceasedAsDateTime: + Patient P + where (P.deceased as FHIR.dateTime).value before Today() + +define TestSlices: + [Observation: "Blood pressure"] BP + let + SystolicBP: singleton from (BP.component C where ToConcept(C.code) ~ "Systolic blood pressure"), + DiastolicBP: singleton from (BP.component C where ToConcept(C.code) ~ "Diastolic blood pressure") + where ToQuantity(SystolicBP.value as FHIR.Quantity) < 140 'mm[Hg]' + and ToQuantity(DiastolicBP.value as FHIR.Quantity) < 90 'mm[Hg]' + +define TestSimpleExtensions: + Patient P + let birthsex: singleton from (P.extension E where E.url.value = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex') + where (birthsex.value as FHIR.code).value = 'F' + +define TestComplexExtensions: + Patient P + let + race: singleton from (P.extension E where E.url.value = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race'), + ombCategory: race.extension E where E.url.value = 'ombCategory', + detailed: race.extension E where E.url.value = 'detailed' + where exists (ombCategory O where ToCode(O.value as FHIR.Coding) ~ "American Indian or Alaska Native") + and exists (detailed O where ToCode(O.value as FHIR.Coding) ~ "Shoshone") + +define function ToInterval(period FHIR.Period): + if period is null then + null + else + Interval[period."start".value, period."end".value] + +define function ToQuantity(quantity FHIR.Quantity): + if quantity is null then + null + else + System.Quantity { value: quantity.value.value, unit: quantity.unit.value } + +define function ToInterval(range FHIR.Range): + if range is null then + null + else + Interval[ToQuantity(range.low), ToQuantity(range.high)] + +define function ToCode(coding FHIR.Coding): + if coding is null then + null + else + System.Code { + code: coding.code.value, + system: coding.system.value, + version: coding.version.value, + display: coding.display.value + } + +define function ToConcept(concept FHIR.CodeableConcept): + if concept is null then + null + else + System.Concept { + codes: concept.coding C return ToCode(C), + display: concept.text.value + } + + + diff --git a/evaluator.cli/src/test/resources/dstu3/TestFHIRWithHelpers.cql b/evaluator.cli/src/test/resources/dstu3/TestFHIRWithHelpers.cql new file mode 100644 index 000000000..e83240fa9 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/TestFHIRWithHelpers.cql @@ -0,0 +1,98 @@ +library TestFHIRWithHelpers + +/* +Every expression in this library should evaluate to non-null or non-empty, +with the exception of TestPatientDeceasedDateTime, which should evaluate to null + */ + +using FHIR version '3.0.0' + +include FHIRHelpers version '3.0.0' + +codesystem "LOINC": 'http://loinc.org' +codesystem "Marital Status Codes": 'http://hl7.org/fhir/v3/MaritalStatus' +codesystem "CDC Race and Ethnicity Codes": 'urn:oid:2.16.840.1.113883.6.238' + +valueset "Marital Status": 'http://hl7.org/fhir/ValueSet/marital-status' + +code "Marital Status - Married": 'M' from "Marital Status Codes" +code "American Indian or Alaska Native": '1002-5' from "CDC Race and Ethnicity Codes" +code "Shoshone": '1586-7' from "CDC Race and Ethnicity Codes" +code "Blood pressure": '85354-9' from "LOINC" display 'blood pressure' +code "Diastolic blood pressure": '8462-4' from "LOINC" display 'Diastolic blood pressure' +code "Systolic blood pressure": '8480-6' from "LOINC" display 'Systolic blood pressure' + +context Patient + +define TestAllergyIntolerance: ["AllergyIntolerance"] +define TestCarePlan: ["CarePlan"] +define TestCareTeam: ["CareTeam"] +define TestCondition: ["Condition"] +define TestDevice: ["Device"] +define TestDiagnosticReport: ["DiagnosticReport"] +define TestDocumentReference: ["DocumentReference"] +define TestEncounter: ["Encounter"] +define TestGoal: ["Goal"] +define TestImmunization: ["Immunization"] +define TestLocation: ["Location"] +define TestMedication: ["Medication"] +define TestMedicationRequest: ["MedicationRequest"] +define TestMedicationStatement: ["MedicationStatement"] +define TestObservation: ["Observation"] +define TestOrganization: ["Organization"] +define TestPatient: ["Patient"] +define TestPractitioner: ["Practitioner"] +define TestProcedure: ["Procedure"] + +define TestPatientGender: + Patient P + where P.gender = 'female' + +define TestPatientActive: + Patient P + where P.active is true + +define TestPatientBirthDate: + Patient P + where P.birthDate before Today() + +define TestPatientMaritalStatusMembership: + Patient P + where FHIRHelpers.ToConcept(P.maritalStatus) in "Marital Status" + +define TestPatientMartialStatusComparison: + Patient P + where FHIRHelpers.ToConcept(P.maritalStatus) ~ "Marital Status - Married" + +define TestPatientDeceasedAsBoolean: + Patient P + where P.deceased is false + +define TestPatientDeceasedAsDateTime: + Patient P + where P.deceased before Today() + +define TestSlices: + [Observation: "Blood pressure"] BP + let + SystolicBP: singleton from (BP.component C where FHIRHelpers.ToConcept(C.code) ~ "Systolic blood pressure"), + DiastolicBP: singleton from (BP.component C where FHIRHelpers.ToConcept(C.code) ~ "Diastolic blood pressure") + where SystolicBP.value < 140 'mm[Hg]' + and DiastolicBP.value < 90 'mm[Hg]' + +define TestSimpleExtensions: + Patient P + let birthsex: singleton from (P.extension E where E.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex') + where birthsex.value = 'F' + +define TestComplexExtensions: + Patient P + let + race: singleton from (P.extension E where E.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race'), + ombCategory: race.extension E where E.url = 'ombCategory', + detailed: race.extension E where E.url = 'detailed' + where exists (ombCategory O where FHIRHelpers.ToCode(O.value) ~ "American Indian or Alaska Native") + and exists (detailed O where FHIRHelpers.ToCode(O.value) ~ "Shoshone") + +define TestCql: + Message(TestSimpleExtensions, TestSimpleExtensions is not null, 'Error', 'TestSimpleExtensions is not null') \ No newline at end of file diff --git a/service/src/test/resources/dstu3/TestValueSet.json b/evaluator.cli/src/test/resources/dstu3/TestValueSet.json similarity index 100% rename from service/src/test/resources/dstu3/TestValueSet.json rename to evaluator.cli/src/test/resources/dstu3/TestValueSet.json diff --git a/evaluator.cli/src/test/resources/dstu3/example/AllergyIntolerance/AllergyIntolerance-example.json b/evaluator.cli/src/test/resources/dstu3/example/AllergyIntolerance/AllergyIntolerance-example.json new file mode 100644 index 000000000..5db4729f6 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/AllergyIntolerance/AllergyIntolerance-example.json @@ -0,0 +1,51 @@ +{ + "resourceType": "AllergyIntolerance", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

clinicalStatus: active

verificationStatus: confirmed

category: medication

criticality: high

code: sulfonamide antibacterial (Details : {http://hl7.org/fhir/ndfrt code 'N0000175503' = 'N0000175503', given as 'sulfonamide antibacterial'})

patient: Amy V. Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

assertedDate: 01/01/2000

Reactions

-ManifestationSeverity
*skin rash (Details : {SNOMED CT code '271807003' = 'Eruption of skin (disorder)', given as 'skin rash'})mild
" + }, + "clinicalStatus": "active", + "verificationStatus": "confirmed", + "category": [ + "medication" + ], + "criticality": "high", + "code": { + "coding": [ + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "N0000175503", + "display": "sulfonamide antibacterial" + } + ], + "text": "sulfonamide antibacterial" + }, + "patient": { + "reference": "Patient/example", + "display": "Amy V. Shaw" + }, + "assertedDate": "2000", + "reaction": [ + { + "manifestation": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "271807003", + "display": "skin rash" + } + ], + "text": "skin rash" + } + ], + "severity": "mild" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/CarePlan/CarePlan-colonoscopy.json b/evaluator.cli/src/test/resources/dstu3/example/CarePlan/CarePlan-colonoscopy.json new file mode 100644 index 000000000..dda40491d --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/CarePlan/CarePlan-colonoscopy.json @@ -0,0 +1,29 @@ +{ + "resourceType": "CarePlan", + "id": "colonoscopy", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan" + ] + }, + "text": { + "status": "additional", + "div": "
\n\t\t\tAssessment\n\t\t\t
    \n\t\t\t\t
  1. Recurrent GI bleed of unknown etiology; hypotension perhaps secondary to this but as likely secondary to polypharmacy.
  2. \n\t\t\t\t
  3. Acute on chronic anemia secondary to #1.
  4. \n\t\t\t\t
  5. Azotemia, acute renal failure with volume loss secondary to #1.
  6. \n\t\t\t\t
  7. Hyperkalemia secondary to #3 and on ACE and K+ supplement.
  8. \n\t\t\t\t
  9. Other chronic diagnoses as noted above, currently stable.
  10. \n\t\t\t
\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
Planned ActivityPlanned Date
ColonoscopyApril 21, 2000
\n\t\t
" + }, + "status": "active", + "intent": "order", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "code": "assess-plan" + } + ] + } + ], + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/CareTeam/CareTeam-example.json b/evaluator.cli/src/test/resources/dstu3/example/CareTeam/CareTeam-example.json new file mode 100644 index 000000000..d339c7b53 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/CareTeam/CareTeam-example.json @@ -0,0 +1,66 @@ +{ + "resourceType": "CareTeam", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

status: active

name: US-Core example CareTeam

subject: Amy V. Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

participant

role: Cardiovascular Disease (Details : {http://nucc.org/provider-taxonomy code '207RC0000X' = '207RC0000X', given as 'Cardiovascular Disease'})

member: Ronald Bone, MD. Generated Summary: id: practitioner-1; 9941339108, 25456; Ronald Bone

participant

role: General Practice (Details : {http://nucc.org/provider-taxonomy code '208D00000X' = '208D00000X', given as 'General Practice'})

member: Kathy Fielding, MD. Generated Summary: id: practitioner-2; 1245319599, 456789; Fielding Kathy

participant

role: Patient (person) (Details : {SNOMED CT code '116154003' = 'Patient', given as 'Patient (person)'})

member: Amy V. Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

" + }, + "status": "active", + "name": "US-Core example CareTeam", + "subject": { + "reference": "Patient/example", + "display": "Amy V. Shaw" + }, + "participant": [ + { + "role": { + "coding": [ + { + "system": "http://nucc.org/provider-taxonomy", + "code": "207RC0000X", + "display": "Cardiovascular Disease" + } + ] + }, + "member": { + "reference": "Practitioner/practitioner-1", + "display": "Ronald Bone, MD" + } + }, + { + "role": { + "coding": [ + { + "system": "http://nucc.org/provider-taxonomy", + "code": "208D00000X", + "display": "General Practice" + } + ] + }, + "member": { + "reference": "Practitioner/practitioner-2", + "display": "Kathy Fielding, MD" + } + }, + { + "role": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "116154003", + "display": "Patient (person)" + } + ] + }, + "member": { + "reference": "Patient/example", + "display": "Amy V. Shaw" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Condition/Condition-example.json b/evaluator.cli/src/test/resources/dstu3/example/Condition/Condition-example.json new file mode 100644 index 000000000..7efd2065a --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Condition/Condition-example.json @@ -0,0 +1,42 @@ +{ + "resourceType": "Condition", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

clinicalStatus: active

verificationStatus: confirmed

category: Problem (Details : {http://hl7.org/fhir/condition-category code 'problem-list-item' = 'Problem List Item', given as 'Problem List Item'})

code: Single liveborn, born in hospital (Details : {SNOMED CT code '442311008' = 'Liveborn born in hospital', given as 'Liveborn born in hospital'})

subject: Amy V. Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

assertedDate: 10/08/2016

" + }, + "clinicalStatus": "active", + "verificationStatus": "confirmed", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem" + } + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "442311008", + "display": "Liveborn born in hospital" + } + ], + "text": "Single liveborn, born in hospital" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy V. Shaw" + }, + "assertedDate": "2016-08-10" +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Condition/Condition-hc1.json b/evaluator.cli/src/test/resources/dstu3/example/Condition/Condition-hc1.json new file mode 100644 index 000000000..3c155dc0b --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Condition/Condition-hc1.json @@ -0,0 +1,35 @@ +{ + "resourceType": "Condition", + "id": "hc1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: hc1

meta:

clinicalStatus: active

verificationStatus: confirmed

category: Health Concern (Details : {http://hl7.org/fhir/us/core/CodeSystem/condition-category code 'health-concern' = 'Health Concern', given as 'Health Concern'})

code: Cost of medications (Details )

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

onset: 14/12/2007

" + }, + "clinicalStatus": "active", + "verificationStatus": "confirmed", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/condition-category", + "code": "health-concern", + "display": "Health Concern" + } + ], + "text": "Health Concern" + } + ], + "code": { + "text": "Cost of medications" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "onsetDateTime": "2007-12-14" +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Device/Device-udi-1.json b/evaluator.cli/src/test/resources/dstu3/example/Device/Device-udi-1.json new file mode 100644 index 000000000..637946f82 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Device/Device-udi-1.json @@ -0,0 +1,30 @@ +{ + "resourceType": "Device", + "id": "udi-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-device" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: udi-1

meta:

Udis

-CarrierHRF
*(01)09504000059118(17)141120(10)7654321D(21)10987654d321

status: active

type: Coated femoral stem prosthesis, modular (Details : {SNOMED CT code '468063009' = 'Coated femoral stem prosthesis, modular (physical object)', given as 'Coated femoral stem prosthesis, modular'})

patient: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

" + }, + "udi": { + "carrierHRF": "(01)09504000059118(17)141120(10)7654321D(21)10987654d321" + }, + "status": "active", + "type": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "468063009", + "display": "Coated femoral stem prosthesis, modular" + } + ] + }, + "patient": { + "reference": "Patient/example", + "display": "Amy Shaw" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/DiagnosticReport/DiagnosticReport-cbc.json b/evaluator.cli/src/test/resources/dstu3/example/DiagnosticReport/DiagnosticReport-cbc.json new file mode 100644 index 000000000..462d87de6 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/DiagnosticReport/DiagnosticReport-cbc.json @@ -0,0 +1,66 @@ +{ + "resourceType": "DiagnosticReport", + "id": "cbc", + "meta": { + "versionId": "205814", + "lastUpdated": "2016-03-09T15:35:58.045+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: cbc

meta:

status: final

category: Hematology (Details : {http://hl7.org/fhir/v2/0074 code 'HM' = 'Hematology', given as 'Hematology'})

code: Complete blood count (hemogram) panel - Blood by Automated count (Details : {LOINC code '58410-2' = 'Complete blood count (hemogram) panel - Blood by Automated count', given as 'Complete blood count (hemogram) panel - Blood by Automated count'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

issued: 06/07/2005 11:45:33 AM

Performers

-Actor
*Acme Laboratory, Inc. Generated Summary: id: acme-lab; 1144221847, 2523423456; active; Healthcare Provider; name: Acme Labs; ph: (+1) 734-677-7777, hq@acme.org

result:

" + }, + "status": "final", + "category": { + "coding": [ + { + "system": "http://hl7.org/fhir/v2/0074", + "code": "HM", + "display": "Hematology" + } + ] + }, + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "58410-2", + "display": "Complete blood count (hemogram) panel - Blood by Automated count" + } + ] + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "issued": "2005-07-06T11:45:33+11:00", + "performer": [ + { + "actor": { + "reference": "Organization/acme-lab", + "display": "Acme Laboratory, Inc" + } + } + ], + "result": [ + { + "reference": "Observation/neutrophils", + "display": "NEUTROPHILS" + }, + { + "reference": "Observation/mchc", + "display": "MCHC" + }, + { + "reference": "Observation/hemoglobin", + "display": "HEMOGLOBIN" + }, + { + "reference": "Observation/erythrocytes", + "display": "ERYTHROCYTES" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/DiagnosticReport/DiagnosticReport-metabolic-panel.json b/evaluator.cli/src/test/resources/dstu3/example/DiagnosticReport/DiagnosticReport-metabolic-panel.json new file mode 100644 index 000000000..8046ec816 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/DiagnosticReport/DiagnosticReport-metabolic-panel.json @@ -0,0 +1,86 @@ +{ + "resourceType": "DiagnosticReport", + "id": "metabolic-panel", + "meta": { + "versionId": "205790", + "lastUpdated": "2016-03-09T15:35:58.018+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: metabolic-panel

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/v2/0074 code 'LAB' = 'Laboratory', given as 'Laboratory'})

code: Comprehensive metabolic 2000 panel - Serum or Plasma (Details : {LOINC code '24323-8' = 'Comprehensive metabolic 2000 panel - Serum or Plasma', given as 'Comprehensive metabolic 2000 panel - Serum or Plasma'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 04/07/2005

issued: 06/07/2005 11:45:33 AM

Performers

-Actor
*Acme Laboratory, Inc. Generated Summary: id: acme-lab; 1144221847, 2523423456; active; Healthcare Provider; name: Acme Labs; ph: (+1) 734-677-7777, hq@acme.org

result:

" + }, + "status": "final", + "category": { + "coding": [ + { + "system": "http://hl7.org/fhir/v2/0074", + "code": "LAB", + "display": "Laboratory" + } + ] + }, + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "24323-8", + "display": "Comprehensive metabolic 2000 panel - Serum or Plasma" + } + ] + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-04", + "issued": "2005-07-06T11:45:33+11:00", + "performer": [ + { + "actor": { + "reference": "Organization/acme-lab", + "display": "Acme Laboratory, Inc" + } + } + ], + "result": [ + { + "reference": "Observation/serum-total-bilirubin", + "display": "TOTAL BILIRUBIN" + }, + { + "reference": "Observation/serum-sodium", + "display": "SODIUM" + }, + { + "reference": "Observation/serum-potassium", + "display": "Potassium" + }, + { + "reference": "Observation/serum-creatinine", + "display": "CREATININE" + }, + { + "reference": "Observation/serum-co2", + "display": "TOTAL CO2" + }, + { + "reference": "Observation/serum-chloride", + "display": "CHLORIDE" + }, + { + "reference": "Observation/serum-calcium", + "display": "CALCIUM" + }, + { + "reference": "Observation/bun", + "display": "BUN" + }, + { + "reference": "Observation/blood-glucose", + "display": "GLUCOSE" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/DiagnosticReport/DiagnosticReport-urinalysis.json b/evaluator.cli/src/test/resources/dstu3/example/DiagnosticReport/DiagnosticReport-urinalysis.json new file mode 100644 index 000000000..f85ca5018 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/DiagnosticReport/DiagnosticReport-urinalysis.json @@ -0,0 +1,119 @@ +{ + "resourceType": "DiagnosticReport", + "id": "urinalysis", + "meta": { + "versionId": "209563", + "lastUpdated": "2016-04-19T17:28:11.308+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urinalysis

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/v2/0074 code 'LAB' = 'Laboratory', given as 'Laboratory'})

code: Complete Urinalysis (Details : {LOINC code '24356-8' = 'Urinalysis complete panel - Urine', given as 'Urinalysis complete panel - Urine'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

issued: 06/07/2005 11:45:33 AM

Performers

-Actor
*Acme Laboratory, Inc. Generated Summary: id: acme-lab; 1144221847, 2523423456; active; Healthcare Provider; name: Acme Labs; ph: (+1) 734-677-7777, hq@acme.org

result:

" + }, + "status": "final", + "category": { + "coding": [ + { + "system": "http://hl7.org/fhir/v2/0074", + "code": "LAB", + "display": "Laboratory" + } + ] + }, + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "24356-8", + "display": "Urinalysis complete panel - Urine" + } + ], + "text": "Complete Urinalysis" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "issued": "2005-07-06T11:45:33+11:00", + "performer": [ + { + "actor": { + "reference": "Organization/acme-lab", + "display": "Acme Laboratory, Inc" + } + } + ], + "result": [ + { + "reference": "Observation/urine-color", + "display": "COLOR=Yellow" + }, + { + "reference": "Observation/urine-clarity", + "display": "APPEARANCE=Hazy" + }, + { + "reference": "Observation/urine-glucose", + "display": "GLUCOSE=Negative" + }, + { + "reference": "Observation/urine-bilirubin", + "display": "BILIRUBIN=Negative" + }, + { + "reference": "Observation/urine-ketone", + "display": "KETONE=Negative" + }, + { + "reference": "Observation/usg", + "display": "SPEC GRAV=1.017" + }, + { + "reference": "Observation/urine-ph", + "display": "PH=6 (pH)" + }, + { + "reference": "Observation/urine-protein", + "display": "PROTEIN=Negative" + }, + { + "reference": "Observation/urobilinogen", + "display": "UROBILINOGEN=0.3 mg/dL" + }, + { + "reference": "Observation/urine-nitrite", + "display": "NITRITE=Positive" + }, + { + "reference": "Observation/urine-hemoglobin", + "display": "BLOOD=Trace" + }, + { + "reference": "Observation/urine-leukocyte-esterase", + "display": "LEUK ESTERASE=2+e" + }, + { + "reference": "Observation/urine-sediment", + "display": "COMMENT=Recommend Urine Culture" + }, + { + "reference": "Observation/urine-bacteria", + "display": "BACTERIA=4+" + }, + { + "reference": "Observation/urine-epi-cells", + "display": "EPITHELIAL CELLS=1-5 cells/HPF" + }, + { + "reference": "Observation/urine-wbcs", + "display": "WBC=20-30 cells/HPF" + }, + { + "reference": "Observation/urine-rbcs", + "display": "RBC=Occasional cells/HPF" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/DocumentReference/DocumentReference-episode-summary.json b/evaluator.cli/src/test/resources/dstu3/example/DocumentReference/DocumentReference-episode-summary.json new file mode 100644 index 000000000..823fbe6b3 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/DocumentReference/DocumentReference-episode-summary.json @@ -0,0 +1,63 @@ +{ + "resourceType": "DocumentReference", + "id": "episode-summary", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: episode-summary

meta:

identifier: urn:oid:2.16.840.1.113883.19.5.99999.1

status: current

type: CCD Document (Details : {LOINC code '34133-9' = 'Summary of episode note', given as 'Summary of episode note'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

created: 01/09/2006

indexed: 09/03/2016 3:29:46 PM

author: Ronald Bone, MD. Generated Summary: id: practitioner-1; 9941339108, 25456; Ronald Bone

description: Pulmonology clinic acute visit

Contents

-AttachmentFormat
*Documents following C-CDA constraints using a structured body (Details: urn:oid:1.3.6.1.4.1.19376.1.2.3 code urn:hl7-org:sdwg:ccda-structuredBody:2.1 = 'urn:hl7-org:sdwg:ccda-structuredBody:2.1', stated as 'Documents following C-CDA constraints using a structured body')

Contexts

-Period
*23/12/2004 8:00:00 AM --> 23/12/2004 8:01:00 AM
" + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.19.5.99999.1" + } + ], + "status": "current", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34133-9", + "display": "Summary of episode note" + } + ], + "text": "CCD Document" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "created": "2006-09-01", + "indexed": "2016-03-09T15:29:46Z", + "author": [ + { + "reference": "Practitioner/practitioner-1", + "display": "Ronald Bone, MD" + } + ], + "description": "Pulmonology clinic acute visit", + "content": [ + { + "attachment": { + "contentType": "text/plain", + "url": "/Binary/1-note", + "title": "Uri where the data can be found: [base]/Binary/1-note" + }, + "format": { + "system": "urn:oid:1.3.6.1.4.1.19376.1.2.3", + "code": "urn:hl7-org:sdwg:ccda-structuredBody:2.1", + "display": "Documents following C-CDA constraints using a structured body" + } + } + ], + "context": { + "period": { + "start": "2004-12-23T08:00:00+11:00", + "end": "2004-12-23T08:01:00+11:00" + } + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Encounter/Encounter-1036.json b/evaluator.cli/src/test/resources/dstu3/example/Encounter/Encounter-1036.json new file mode 100644 index 000000000..b72b196c1 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Encounter/Encounter-1036.json @@ -0,0 +1,17 @@ +{ + "resourceType": "Encounter", + "id": "1036", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: 1036

status: in-progress

class: inpatient encounter (Details: http://hl7.org/fhir/v3/ActCode code IMP = 'inpatient encounter', stated as 'inpatient encounter')

subject: Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

" + }, + "status": "in-progress", + "class": { + "system": "http://hl7.org/fhir/v3/ActCode", + "code": "IMP", + "display": "inpatient encounter" + }, + "subject": { + "reference": "Patient/example" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Encounter/Encounter-example-1.json b/evaluator.cli/src/test/resources/dstu3/example/Encounter/Encounter-example-1.json new file mode 100644 index 000000000..866965849 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Encounter/Encounter-example-1.json @@ -0,0 +1,38 @@ +{ + "resourceType": "Encounter", + "id": "example-1", + "meta": { + "lastUpdated": "2017-05-26T11:56:57.250-04:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example-1

meta:

status: finished

class: ambulatory (Details: http://hl7.org/fhir/v3/ActCode code AMB = 'ambulatory', stated as 'ambulatory')

type: Office Visit (Details : {http://www.ama-assn.org/go/cpt code '99201' = '99201)

subject: Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

period: 02/11/2015 9:00:14 AM --> 02/11/2015 10:00:14 AM

" + }, + "status": "finished", + "class": { + "system": "http://hl7.org/fhir/v3/ActCode", + "code": "AMB", + "display": "ambulatory" + }, + "type": [ + { + "coding": [ + { + "system": "http://www.ama-assn.org/go/cpt", + "code": "99201" + } + ], + "text": "Office Visit" + } + ], + "subject": { + "reference": "Patient/example" + }, + "period": { + "start": "2015-11-01T17:00:14-05:00", + "end": "2015-11-01T18:00:14-05:00" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Goal/Goal-goal-1.json b/evaluator.cli/src/test/resources/dstu3/example/Goal/Goal-goal-1.json new file mode 100644 index 000000000..a63d3618e --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Goal/Goal-goal-1.json @@ -0,0 +1,21 @@ +{ + "resourceType": "Goal", + "id": "goal-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: goal-1

meta:

status: in-progress

description: Patient is targeting a pulse oximetry of 92% and a weight of 195 lbs (Details )

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

" + }, + "status": "in-progress", + "description": { + "text": "Patient is targeting a pulse oximetry of 92% and a weight of 195 lbs" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Immunization/Immunization-imm-1.json b/evaluator.cli/src/test/resources/dstu3/example/Immunization/Immunization-imm-1.json new file mode 100644 index 000000000..07c4f7c42 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Immunization/Immunization-imm-1.json @@ -0,0 +1,35 @@ +{ + "resourceType": "Immunization", + "id": "imm-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: imm-1

meta:

status: completed

notGiven: false

vaccineCode: influenza, injectable, quadrivalent (Details : {http://hl7.org/fhir/sid/cvx code '158' = '158', given as 'influenza, injectable, quadrivalent'}; {http://hl7.org/fhir/sid/ndc code '49281-0623-78' = '49281-0623-78', given as 'FLUZONE QUADRIVALENT'})

patient: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

date: 08/01/2016

primarySource: false

" + }, + "status": "completed", + "notGiven": false, + "vaccineCode": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "158", + "display": "influenza, injectable, quadrivalent" + }, + { + "system": "http://hl7.org/fhir/sid/ndc", + "code": "49281-0623-78", + "display": "FLUZONE QUADRIVALENT" + } + ] + }, + "patient": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "date": "2016-01-08", + "primarySource": false +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Location/Location-hl7east.json b/evaluator.cli/src/test/resources/dstu3/example/Location/Location-hl7east.json new file mode 100644 index 000000000..e76477bf9 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Location/Location-hl7east.json @@ -0,0 +1,44 @@ +{ + "resourceType": "Location", + "id": "hl7east", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: hl7east

meta:

identifier: 29

status: active

name: Health Level Seven International - Amherst

description: HL7 Headquarters - East

telecom: ph: (+1) 734-677-7777

address: 3300 Washtenaw Avenue, Suite 227 Amherst MA 01002 USA

Positions

-LongitudeLatitude
*-72.51985442.373222

managingOrganization: Health Level Seven International

" + }, + "identifier": [ + { + "system": "http://www.acme.org/location", + "value": "29" + } + ], + "status": "active", + "name": "Health Level Seven International - Amherst", + "description": "HL7 Headquarters - East", + "telecom": [ + { + "system": "phone", + "value": "(+1) 734-677-7777" + } + ], + "address": { + "line": [ + "3300 Washtenaw Avenue, Suite 227" + ], + "city": "Amherst", + "state": "MA", + "postalCode": "01002", + "country": "USA" + }, + "position": { + "longitude": -72.519854, + "latitude": 42.373222 + }, + "managingOrganization": { + "display": "Health Level Seven International" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Medication/Medication-uscore-med1.json b/evaluator.cli/src/test/resources/dstu3/example/Medication/Medication-uscore-med1.json new file mode 100644 index 000000000..de4ca63b5 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Medication/Medication-uscore-med1.json @@ -0,0 +1,23 @@ +{ + "resourceType": "Medication", + "id": "uscore-med1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: uscore-med1

meta:

code: Prinivil 10 MG Oral Tablet (Details : {RxNorm code '206765' = 'Prinivil 10 MG Oral Tablet', given as 'Prinivil 10 MG Oral Tablet'})

" + }, + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "206765", + "display": "Prinivil 10 MG Oral Tablet" + } + ], + "text": "Prinivil 10 MG Oral Tablet" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Medication/Medication-uscore-med2.json b/evaluator.cli/src/test/resources/dstu3/example/Medication/Medication-uscore-med2.json new file mode 100644 index 000000000..d8acda784 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Medication/Medication-uscore-med2.json @@ -0,0 +1,23 @@ +{ + "resourceType": "Medication", + "id": "uscore-med2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: uscore-med2

meta:

code: Nizatidine 15 MG/ML Oral Solution [Axid] (Details : {RxNorm code '582620' = 'Nizatidine 15 MG/ML Oral Solution [Axid]', given as 'Nizatidine 15 MG/ML Oral Solution [Axid]'})

" + }, + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "582620", + "display": "Nizatidine 15 MG/ML Oral Solution [Axid]" + } + ], + "text": "Nizatidine 15 MG/ML Oral Solution [Axid]" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/MedicationRequest/MedicationRequest-uscore-mo1.json b/evaluator.cli/src/test/resources/dstu3/example/MedicationRequest/MedicationRequest-uscore-mo1.json new file mode 100644 index 000000000..7de407358 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/MedicationRequest/MedicationRequest-uscore-mo1.json @@ -0,0 +1,62 @@ +{ + "resourceType": "MedicationRequest", + "id": "uscore-mo1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: uscore-mo1

meta:

status: active

intent: order

medication: Nizatidine 15 MG/ML Oral Solution [Axid] (Details : {RxNorm code '582620' = 'Nizatidine 15 MG/ML Oral Solution [Axid]', given as 'Nizatidine 15 MG/ML Oral Solution [Axid]'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

authoredOn: 05/04/2008

Requesters

-Agent
*Ronald Bone, MD

dosageInstruction:

DispenseRequests

-NumberOfRepeatsAllowedQuantityExpectedSupplyDuration
*1480 mL (Details: UCUM code mL = 'mL')30 days (Details: UCUM code d = 'd')
" + }, + "status": "active", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "582620", + "display": "Nizatidine 15 MG/ML Oral Solution [Axid]" + } + ], + "text": "Nizatidine 15 MG/ML Oral Solution [Axid]" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "authoredOn": "2008-04-05", + "requester": { + "agent": { + "display": "Ronald Bone, MD" + } + }, + "dosageInstruction": [ + { + "text": "10 mL bid", + "timing": { + "repeat": { + "boundsPeriod": { + "start": "2008-04-05" + } + } + } + } + ], + "dispenseRequest": { + "numberOfRepeatsAllowed": 1, + "quantity": { + "value": 480, + "unit": "mL", + "system": "http://unitsofmeasure.org", + "code": "mL" + }, + "expectedSupplyDuration": { + "value": 30, + "unit": "days", + "system": "http://unitsofmeasure.org", + "code": "d" + } + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/MedicationRequest/MedicationRequest-uscore-mo2.json b/evaluator.cli/src/test/resources/dstu3/example/MedicationRequest/MedicationRequest-uscore-mo2.json new file mode 100644 index 000000000..1bbe4509d --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/MedicationRequest/MedicationRequest-uscore-mo2.json @@ -0,0 +1,72 @@ +{ + "resourceType": "MedicationRequest", + "id": "uscore-mo2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: uscore-mo2

meta:

contained:

status: active

intent: order

medication: Nizatidine 15 MG/ML Oral Solution [Axid]. Generated Summary: unknown resource contained

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

authoredOn: 05/04/2008

Requesters

-Agent
*Ronald Bone, MD

dosageInstruction:

DispenseRequests

-NumberOfRepeatsAllowedQuantityExpectedSupplyDuration
*1480 mL (Details: UCUM code mL = 'mL')30 days (Details: UCUM code d = 'd')
" + }, + "contained": [ + { + "resourceType": "Medication", + "id": "med2", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "582620", + "display": "Nizatidine 15 MG/ML Oral Solution [Axid]" + } + ], + "text": "Nizatidine 15 MG/ML Oral Solution [Axid]" + } + } + ], + "status": "active", + "intent": "order", + "medicationReference": { + "reference": "#med2", + "display": "Nizatidine 15 MG/ML Oral Solution [Axid]" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "authoredOn": "2008-04-05", + "requester": { + "agent": { + "display": "Ronald Bone, MD" + } + }, + "dosageInstruction": [ + { + "text": "10 mL bid", + "timing": { + "repeat": { + "boundsPeriod": { + "start": "2008-04-05" + } + } + } + } + ], + "dispenseRequest": { + "numberOfRepeatsAllowed": 1, + "quantity": { + "value": 480, + "unit": "mL", + "system": "http://unitsofmeasure.org", + "code": "mL" + }, + "expectedSupplyDuration": { + "value": 30, + "unit": "days", + "system": "http://unitsofmeasure.org", + "code": "d" + } + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/MedicationStatement/MedicationStatement-uscore-ms1.json b/evaluator.cli/src/test/resources/dstu3/example/MedicationStatement/MedicationStatement-uscore-ms1.json new file mode 100644 index 000000000..4431a99da --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/MedicationStatement/MedicationStatement-uscore-ms1.json @@ -0,0 +1,33 @@ +{ + "resourceType": "MedicationStatement", + "id": "uscore-ms1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationstatement" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: uscore-ms1

meta:

status: active

medication: Prinivil 10 MG Oral Tablet (Details : {RxNorm code '206765' = 'Prinivil 10 MG Oral Tablet', given as 'Prinivil 10 MG Oral Tablet'})

effective: 01/05/2010 12:00:00 AM --> (ongoing)

dateAsserted: 01/05/2016 4:13:03 PM

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

taken: y

" + }, + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "206765", + "display": "Prinivil 10 MG Oral Tablet" + } + ], + "text": "Prinivil 10 MG Oral Tablet" + }, + "effectivePeriod": { + "start": "2010-05-01" + }, + "dateAsserted": "2016-05-01T16:13:03Z", + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "taken": "y" +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/MedicationStatement/MedicationStatement-uscore-ms2.json b/evaluator.cli/src/test/resources/dstu3/example/MedicationStatement/MedicationStatement-uscore-ms2.json new file mode 100644 index 000000000..eb75c6ea0 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/MedicationStatement/MedicationStatement-uscore-ms2.json @@ -0,0 +1,43 @@ +{ + "resourceType": "MedicationStatement", + "id": "uscore-ms2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationstatement" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: uscore-ms2

meta:

contained:

status: active

medication: lisinopril oral 10 mg. Generated Summary: unknown resource contained

effective: 01/05/2010 12:00:00 AM --> (ongoing)

dateAsserted: 01/05/2016 4:13:03 PM

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

taken: y

" + }, + "contained": [ + { + "resourceType": "Medication", + "id": "med1", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "206765", + "display": "Lisinopril 10 MG Oral Tablet [Prinivil]" + } + ], + "text": "Lisinopril 10 MG Oral Tablet [Prinivil]" + } + } + ], + "status": "active", + "medicationReference": { + "reference": "#med1", + "display": "lisinopril oral 10 mg" + }, + "effectivePeriod": { + "start": "2010-05-01" + }, + "dateAsserted": "2016-05-01T16:13:03Z", + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "taken": "y" +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-blood-glucose.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-blood-glucose.json new file mode 100644 index 000000000..aac4195a7 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-blood-glucose.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "blood-glucose", + "meta": { + "versionId": "1165", + "lastUpdated": "2016-03-09T15:29:58.328+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: blood-glucose

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Glucose Bld-mCnc (Details : {LOINC code '2339-0' = 'Glucose [Mass/volume] in Blood', given as 'Glucose Bld-mCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

value: 76.0 mg/dL

ReferenceRanges

-LowHighAppliesTo
*40.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')109.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')Normal Range (Details : {http://hl7.org/fhir/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2339-0", + "display": "Glucose Bld-mCnc" + } + ], + "text": "Glucose Bld-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 76.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 40.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 109.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-blood-pressure.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-blood-pressure.json new file mode 100644 index 000000000..cc4217713 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-blood-pressure.json @@ -0,0 +1,82 @@ +{ + "resourceType": "Observation", + "id": "blood-pressure", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: blood-pressure

meta:

status: final

category: Vital Signs (Details : {http://hl7.org/fhir/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: Blood pressure systolic and diastolic (Details : {LOINC code '85354-9' = 'Blood pressure panel with all children optional', given as 'Blood pressure panel with all children optional'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

context: GP Visit

effective: 02/07/1999

component

code: Systolic blood pressure (Details : {LOINC code '8480-6' = 'Systolic blood pressure', given as 'Systolic blood pressure'})

value: 109 mmHg (Details: UCUM code mm[Hg] = 'mm[Hg]')

component

code: Diastolic blood pressure (Details : {LOINC code '8462-4' = 'Diastolic blood pressure', given as 'Diastolic blood pressure'})

value: 44 mmHg (Details: UCUM code mm[Hg] = 'mm[Hg]')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood pressure panel with all children optional" + } + ], + "text": "Blood pressure systolic and diastolic" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "context": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic blood pressure" + } + ], + "text": "Systolic blood pressure" + }, + "valueQuantity": { + "value": 109, + "unit": "mmHg", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic blood pressure" + } + ], + "text": "Diastolic blood pressure" + }, + "valueQuantity": { + "value": 44, + "unit": "mmHg", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-bmi.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-bmi.json new file mode 100644 index 000000000..bb763e42e --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-bmi.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "bmi", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: bmi

meta:

status: final

category: Vital Signs (Details : {http://hl7.org/fhir/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: BMI (Details : {LOINC code '39156-5' = 'Body mass index (BMI) [Ratio]', given as 'Body mass index (BMI) [Ratio]'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

context: GP Visit

effective: 02/07/1999

value: 16.2 kg/m2 (Details: UCUM code kg/m2 = 'kg/m2')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5", + "display": "Body mass index (BMI) [Ratio]" + } + ], + "text": "BMI" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "context": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 16.2, + "unit": "kg/m2", + "system": "http://unitsofmeasure.org", + "code": "kg/m2" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-bp-data-absent.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-bp-data-absent.json new file mode 100644 index 000000000..d5b636ed0 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-bp-data-absent.json @@ -0,0 +1,86 @@ +{ + "resourceType": "Observation", + "id": "bp-data-absent", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: bp-data-absent

meta:

status: final

category: Vital Signs (Details : {http://hl7.org/fhir/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: Blood pressure systolic and diastolic (Details : {LOINC code '85354-9' = 'Blood pressure panel with all children optional', given as 'Blood pressure panel with all children optional'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

context: Generated Summary: id: 1036; status: in-progress; inpatient encounter

effective: 02/07/1999

component

code: Systolic blood pressure (Details : {LOINC code '8480-6' = 'Systolic blood pressure', given as 'Systolic blood pressure'})

value: 109 mmHg (Details: UCUM code mm[Hg] = 'mm[Hg]')

component

code: Diastolic blood pressure (Details : {LOINC code '8462-4' = 'Diastolic blood pressure', given as 'Diastolic blood pressure'})

dataAbsentReason: Unknown (Details : {http://hl7.org/fhir/data-absent-reason code 'unknown' = 'Unknown', given as 'Unknown'})

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood pressure panel with all children optional" + } + ], + "text": "Blood pressure systolic and diastolic" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "context": { + "reference": "Encounter/1036" + }, + "effectiveDateTime": "1999-07-02", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic blood pressure" + } + ], + "text": "Systolic blood pressure" + }, + "valueQuantity": { + "value": 109, + "unit": "mmHg", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic blood pressure" + } + ], + "text": "Diastolic blood pressure" + }, + "dataAbsentReason": { + "coding": [ + { + "system": "http://hl7.org/fhir/data-absent-reason", + "code": "unknown", + "display": "Unknown" + } + ], + "text": "Unknown" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-bun.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-bun.json new file mode 100644 index 000000000..692a62b39 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-bun.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "bun", + "meta": { + "versionId": "1237", + "lastUpdated": "2016-03-09T15:29:58.597+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: bun

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: BUN SerPl-mCnc (Details : {LOINC code '3094-0' = 'Urea nitrogen [Mass/volume] in Serum or Plasma', given as 'BUN SerPl-mCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

value: 10.0 mg/dL

ReferenceRanges

-LowHighAppliesTo
*5.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')20.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')Normal Range (Details : {http://hl7.org/fhir/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "3094-0", + "display": "BUN SerPl-mCnc" + } + ], + "text": "BUN SerPl-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 10.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 5.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 20.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-erythrocytes.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-erythrocytes.json new file mode 100644 index 000000000..9248655aa --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-erythrocytes.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "erythrocytes", + "meta": { + "versionId": "1189", + "lastUpdated": "2016-03-09T15:29:58.419+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: erythrocytes

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: RBC # Bld Auto (Details : {LOINC code '789-8' = 'Erythrocytes [#/volume] in Blood by Automated count', given as 'RBC # Bld Auto'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

value: 4.58 10*6/uL

ReferenceRanges

-LowHighAppliesTo
*4.1 10*6/uL (Details: UCUM code 10*6/uL = '10*6/uL')6.1 10*6/uL (Details: UCUM code 10*6/uL = '10*6/uL')Normal Range (Details : {http://hl7.org/fhir/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "789-8", + "display": "RBC # Bld Auto" + } + ], + "text": "RBC # Bld Auto" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 4.58, + "unit": "10*6/uL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 4.1, + "unit": "10*6/uL", + "system": "http://unitsofmeasure.org", + "code": "10*6/uL" + }, + "high": { + "value": 6.1, + "unit": "10*6/uL", + "system": "http://unitsofmeasure.org", + "code": "10*6/uL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-head-circumference.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-head-circumference.json new file mode 100644 index 000000000..1712cae05 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-head-circumference.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "head-circumference", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: head-circumference

meta:

status: final

category: Vital Signs (Details : {http://hl7.org/fhir/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: head_circumference (Details : {LOINC code '8287-5' = 'Head Occipital-frontal circumference by Tape measure', given as 'Head Occipital-frontal circumference by Tape measure'})

subject: Amy V Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

context: Generated Summary: id: 1036; status: in-progress; inpatient encounter

effective: 12/08/2010

value: 51.2 cm (Details: UCUM code cm = 'cm')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8287-5", + "display": "Head Occipital-frontal circumference by Tape measure" + } + ], + "text": "head_circumference" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy V Shaw" + }, + "context": { + "reference": "Encounter/1036" + }, + "effectiveDateTime": "2010-08-12", + "valueQuantity": { + "value": 51.2, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-heart-rate.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-heart-rate.json new file mode 100644 index 000000000..368213b44 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-heart-rate.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "heart-rate", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: heart-rate

meta:

status: final

category: Vital Signs (Details : {http://hl7.org/fhir/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: heart_rate (Details : {LOINC code '8867-4' = 'Heart rate', given as 'Heart Rate'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

context: GP Visit

effective: 02/07/1999

value: 44.0 {beats}/min (Details: UCUM code {beats}/min = '{beats}/min')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4", + "display": "Heart Rate" + } + ], + "text": "heart_rate" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "context": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 44.0, + "unit": "{beats}/min", + "system": "http://unitsofmeasure.org", + "code": "{beats}/min" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-height.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-height.json new file mode 100644 index 000000000..c41dae9f3 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-height.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "height", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: height

meta:

status: final

category: Vital Signs (Details : {http://hl7.org/fhir/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: height (Details : {LOINC code '8302-2' = 'Body height', given as 'Body height'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

context: GP Visit

effective: 02/07/1999

value: 111.506 cm (Details: UCUM code cm = 'cm')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2", + "display": "Body height" + } + ], + "text": "height" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "context": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 111.506, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-hemoglobin.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-hemoglobin.json new file mode 100644 index 000000000..156531079 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-hemoglobin.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "hemoglobin", + "meta": { + "versionId": "1046", + "lastUpdated": "2016-03-09T15:29:57.818+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: hemoglobin

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Hgb Bld-mCnc (Details : {LOINC code '718-7' = 'Hemoglobin [Mass/volume] in Blood', given as 'Hgb Bld-mCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

value: 17.0 g/dL

ReferenceRanges

-LowHighAppliesTo
*16.5 g/dL (Details: UCUM code g/dL = 'g/dL')21.5 g/dL (Details: UCUM code g/dL = 'g/dL')Normal Range (Details : {http://hl7.org/fhir/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "718-7", + "display": "Hgb Bld-mCnc" + } + ], + "text": "Hgb Bld-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 17.0, + "unit": "g/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 16.5, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + }, + "high": { + "value": 21.5, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-length.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-length.json new file mode 100644 index 000000000..2ab3d8783 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-length.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "length", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: length

meta:

status: final

category: Vital Signs (Details : {http://hl7.org/fhir/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: length (Details : {LOINC code '8306-3' = 'Body height --lying', given as 'Body height --lying'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

context: GP Visit

effective: 02/07/1999

value: 25 cm (Details: UCUM code cm = 'cm')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8306-3", + "display": "Body height --lying" + } + ], + "text": "length" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "context": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 25, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-mchc.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-mchc.json new file mode 100644 index 000000000..be90a9a99 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-mchc.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "mchc", + "meta": { + "versionId": "879", + "lastUpdated": "2016-03-09T15:29:57.124+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: mchc

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: MCHC RBC Auto-mCnc (Details : {LOINC code '786-4' = 'MCHC [Mass/volume] by Automated count', given as 'MCHC RBC Auto-mCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

value: 34.7 g/dL

ReferenceRanges

-LowHighAppliesTo
*30.0 g/dL (Details: UCUM code g/dL = 'g/dL')34.0 g/dL (Details: UCUM code g/dL = 'g/dL')Normal Range (Details : {http://hl7.org/fhir/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "786-4", + "display": "MCHC RBC Auto-mCnc" + } + ], + "text": "MCHC RBC Auto-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 34.7, + "unit": "g/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 30.0, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + }, + "high": { + "value": 34.0, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-neutrophils.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-neutrophils.json new file mode 100644 index 000000000..ee9531296 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-neutrophils.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "neutrophils", + "meta": { + "versionId": "1106", + "lastUpdated": "2016-03-09T15:29:58.052+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: neutrophils

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Neutrophils % (Details : {LOINC code '770-8' = 'Neutrophils/100 leukocytes in Blood by Automated count', given as 'Neutrophils/100 leukocytes in Blood by Automated count'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

value: 40.0 %

ReferenceRanges

-LowHighAppliesTo
*37.0 % (Details: UCUM code % = '%')67.0 % (Details: UCUM code % = '%')Normal Range (Details : {http://hl7.org/fhir/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "770-8", + "display": "Neutrophils/100 leukocytes in Blood by Automated count" + } + ], + "text": "Neutrophils %" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 40.0, + "unit": "%", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 37.0, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + }, + "high": { + "value": 67.0, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-oxygen-saturation.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-oxygen-saturation.json new file mode 100644 index 000000000..1f6c25536 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-oxygen-saturation.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "oxygen-saturation", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: oxygen-saturation

meta:

status: final

category: Vital Signs (Details : {http://hl7.org/fhir/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: oxygen_saturation (Details : {LOINC code '59408-5' = 'Oxygen saturation in Arterial blood by Pulse oximetry', given as 'Oxygen saturation in Arterial blood by Pulse oximetry'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

context: GP Visit

effective: 02/07/1999

value: 99.0 %O2 (Details: UCUM code % = '%')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "59408-5", + "display": "Oxygen saturation in Arterial blood by Pulse oximetry" + } + ], + "text": "oxygen_saturation" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "context": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 99.0, + "unit": "%O2", + "system": "http://unitsofmeasure.org", + "code": "%" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-respiratory-rate.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-respiratory-rate.json new file mode 100644 index 000000000..e116a33c2 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-respiratory-rate.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "respiratory-rate", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: respiratory-rate

meta:

status: final

category: Vital Signs (Details : {http://hl7.org/fhir/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: respiratory_rate (Details : {LOINC code '9279-1' = 'Respiratory rate', given as 'Respiratory rate'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

context: GP Visit

effective: 02/07/1999

value: 26.0 breaths per minute (Details: UCUM code /min = '/min')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1", + "display": "Respiratory rate" + } + ], + "text": "respiratory_rate" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "context": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 26.0, + "unit": "breaths per minute", + "system": "http://unitsofmeasure.org", + "code": "/min" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-serum-calcium.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-serum-calcium.json new file mode 100644 index 000000000..5b21dfadc --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-serum-calcium.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-calcium", + "meta": { + "versionId": "902", + "lastUpdated": "2016-03-09T15:29:57.227+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: serum-calcium

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Calcium SerPl-mCnc (Details : {LOINC code '17861-6' = 'Calcium [Mass/volume] in Serum or Plasma', given as 'Calcium SerPl-mCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

value: 7.7 mg/dL

ReferenceRanges

-LowHighAppliesTo
*8.5 mg/dL (Details: UCUM code mg/dL = 'mg/dL')10.5 mg/dL (Details: UCUM code mg/dL = 'mg/dL')Normal Range (Details : {http://hl7.org/fhir/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "17861-6", + "display": "Calcium SerPl-mCnc" + } + ], + "text": "Calcium SerPl-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 7.7, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 8.5, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 10.5, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-serum-chloride.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-serum-chloride.json new file mode 100644 index 000000000..c24fda816 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-serum-chloride.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-chloride", + "meta": { + "versionId": "950", + "lastUpdated": "2016-03-09T15:29:57.427+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: serum-chloride

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Chloride SerPl-sCnc (Details : {LOINC code '2075-0' = 'Chloride [Moles/volume] in Serum or Plasma', given as 'Chloride SerPl-sCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

value: 105.0 mmol/L

ReferenceRanges

-LowHighAppliesTo
*95.0 mmol/L (Details: UCUM code mmol/L = 'mmol/L')105.0 mmol/L (Details: UCUM code mmol/L = 'mmol/L')Normal Range (Details : {http://hl7.org/fhir/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2075-0", + "display": "Chloride SerPl-sCnc" + } + ], + "text": "Chloride SerPl-sCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 105.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 95.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "high": { + "value": 105.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-serum-co2.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-serum-co2.json new file mode 100644 index 000000000..96bca8b81 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-serum-co2.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-co2", + "meta": { + "versionId": "962", + "lastUpdated": "2016-03-09T15:29:57.477+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: serum-co2

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: CO2 SerPl-sCnc (Details : {LOINC code '2028-9' = 'Carbon dioxide, total [Moles/volume] in Serum or Plasma', given as 'CO2 SerPl-sCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

value: 24.0 mmol/L

ReferenceRanges

-LowHighAppliesTo
*22.0 mmol/L (Details: UCUM code mmol/L = 'mmol/L')29.0 mmol/L (Details: UCUM code mmol/L = 'mmol/L')Normal Range (Details : {http://hl7.org/fhir/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2028-9", + "display": "CO2 SerPl-sCnc" + } + ], + "text": "CO2 SerPl-sCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 24.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 22.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "high": { + "value": 29.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-serum-creatinine.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-serum-creatinine.json new file mode 100644 index 000000000..fc26680e5 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-serum-creatinine.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-creatinine", + "meta": { + "versionId": "926", + "lastUpdated": "2016-03-09T15:29:57.327+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: serum-creatinine

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Creat SerPl-mCnc (Details : {LOINC code '2160-0' = 'Creatinine [Mass/volume] in Serum or Plasma', given as 'Creat SerPl-mCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

value: 1.0 mg/dL

ReferenceRanges

-LowHighAppliesTo
*0.2 mg/dL (Details: UCUM code mg/dL = 'mg/dL')0.6 mg/dL (Details: UCUM code mg/dL = 'mg/dL')Normal Range (Details : {http://hl7.org/fhir/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2160-0", + "display": "Creat SerPl-mCnc" + } + ], + "text": "Creat SerPl-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 1.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 0.2, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 0.6, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-serum-potassium.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-serum-potassium.json new file mode 100644 index 000000000..aa17b4738 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-serum-potassium.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-potassium", + "meta": { + "versionId": "938", + "lastUpdated": "2016-03-09T15:29:57.376+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: serum-potassium

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Potassium SerPl-sCnc (Details : {LOINC code '2823-3' = 'Potassium [Moles/volume] in Serum or Plasma', given as 'Potassium SerPl-sCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

value: 5.4 mmol/L

ReferenceRanges

-LowHighAppliesTo
*3.5 mmol/L (Details: UCUM code mmol/L = 'mmol/L')5.5 mmol/L (Details: UCUM code mmol/L = 'mmol/L')Normal Range (Details : {http://hl7.org/fhir/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2823-3", + "display": "Potassium SerPl-sCnc" + } + ], + "text": "Potassium SerPl-sCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 5.4, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 3.5, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "high": { + "value": 5.5, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-serum-sodium.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-serum-sodium.json new file mode 100644 index 000000000..ac3961625 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-serum-sodium.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-sodium", + "meta": { + "versionId": "914", + "lastUpdated": "2016-03-09T15:29:57.277+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: serum-sodium

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Sodium SerPl-sCnc (Details : {LOINC code '2951-2' = 'Sodium [Moles/volume] in Serum or Plasma', given as 'Sodium SerPl-sCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

value: 137.0 mmol/L

ReferenceRanges

-LowHighAppliesTo
*135.0 mmol/L (Details: UCUM code mmol/L = 'mmol/L')145.0 mmol/L (Details: UCUM code mmol/L = 'mmol/L')Normal Range (Details : {http://hl7.org/fhir/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2951-2", + "display": "Sodium SerPl-sCnc" + } + ], + "text": "Sodium SerPl-sCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 137.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 135.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "high": { + "value": 145.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-serum-total-bilirubin.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-serum-total-bilirubin.json new file mode 100644 index 000000000..7d07b0028 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-serum-total-bilirubin.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-total-bilirubin", + "meta": { + "versionId": "1364", + "lastUpdated": "2016-03-09T15:29:59.089+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: serum-total-bilirubin

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Bilirub SerPl-mCnc (Details : {LOINC code '1975-2' = 'Bilirubin.total [Mass/volume] in Serum or Plasma', given as 'Bilirub SerPl-mCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 07/07/2005

value: 8.6 mg/dL

ReferenceRanges

-LowHighAppliesTo
*2.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')7.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')Normal Range (Details : {http://hl7.org/fhir/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "1975-2", + "display": "Bilirub SerPl-mCnc" + } + ], + "text": "Bilirub SerPl-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-07", + "valueQuantity": { + "value": 8.6, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 2.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 7.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-some-day-smoker.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-some-day-smoker.json new file mode 100644 index 000000000..f26d89129 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-some-day-smoker.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "some-day-smoker", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: some-day-smoker

meta:

status: final

category: Social History (Details : {http://hl7.org/fhir/observation-category code 'social-history' = 'Social History', given as 'Social History'})

code: Tobacco smoking status NHIS (Details : {LOINC code '72166-2' = 'Tobacco smoking status NHIS', given as 'Tobacco smoking status NHIS'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

issued: 18/03/2016 5:27:04 AM

value: Current some day smoker (Details : {SNOMED CT code '428041000124106' = 'Occasional tobacco smoker)

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "social-history", + "display": "Social History" + } + ], + "text": "Social History" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72166-2", + "display": "Tobacco smoking status NHIS" + } + ], + "text": "Tobacco smoking status NHIS" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "issued": "2016-03-18T05:27:04Z", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "428041000124106" + } + ], + "text": "Current some day smoker" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-temperature.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-temperature.json new file mode 100644 index 000000000..667c3ba0a --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-temperature.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "temperature", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: temperature

meta:

status: final

category: Vital Signs (Details : {http://hl7.org/fhir/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: temperature (Details : {LOINC code '8310-5' = 'Body temperature', given as 'Body temperature'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

context: GP Visit

effective: 02/07/1999

value: 36.55556 Cel (Details: UCUM code Cel = 'Cel')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8310-5", + "display": "Body temperature" + } + ], + "text": "temperature" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "context": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 36.55556, + "unit": "Cel", + "system": "http://unitsofmeasure.org", + "code": "Cel" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-bacteria.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-bacteria.json new file mode 100644 index 000000000..e116a53f5 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-bacteria.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-bacteria", + "meta": { + "versionId": "206540", + "lastUpdated": "2016-04-18T03:56:41.250+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-bacteria

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: BACTERIA (Details : {LOINC code '25145-4' = 'Bacteria [Presence] in Urine sediment by Light microscopy', given as 'Bacteria [Presence] in Urine sediment by Light microscopy'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

value: 4+ (Details : {SNOMED CT code '260350009' = 'Present ++++ out of ++++ (qualifier value)', given as '++++'})

ReferenceRanges

-Text
*0-1+
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "25145-4", + "display": "Bacteria [Presence] in Urine sediment by Light microscopy" + } + ], + "text": "BACTERIA" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260350009", + "display": "++++" + } + ], + "text": "4+" + }, + "referenceRange": [ + { + "text": "0-1+" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-bilirubin.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-bilirubin.json new file mode 100644 index 000000000..53e9da68c --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-bilirubin.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-bilirubin", + "meta": { + "versionId": "206456", + "lastUpdated": "2016-04-18T03:37:21.259+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-bilirubin

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: BILIRUBIN (Details : {LOINC code '5770-3' = 'Bilirubin.total [Presence] in Urine by Test strip', given as 'Bilirubin.total [Presence] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

value: Negative (Details : {SNOMED CT code '260385009' = 'Negative', given as 'Negative'})

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5770-3", + "display": "Bilirubin.total [Presence] in Urine by Test strip" + } + ], + "text": "BILIRUBIN" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260385009", + "display": "Negative" + } + ], + "text": "Negative" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-cells.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-cells.json new file mode 100644 index 000000000..88e1aafd8 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-cells.json @@ -0,0 +1,62 @@ +{ + "resourceType": "Observation", + "id": "urine-cells", + "meta": { + "versionId": "206624", + "lastUpdated": "2016-04-18T04:23:12.123+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-cells

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: EPITHELIAL CELLS (Details : {LOINC code '5787-7' = 'Epithelial cells [#/area] in Urine sediment by Microscopy high power field', given as 'Epithelial cells [#/area] in Urine sediment by Microscopy high power field'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

value: 1-5 cells/HPF

ReferenceRanges

-Text
*None Seen/HPF
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5787-7", + "display": "Epithelial cells [#/area] in Urine sediment by Microscopy high power field" + } + ], + "text": "EPITHELIAL CELLS" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueRange": { + "low": { + "value": 1, + "unit": "cells/HPF", + "system": "http://unitsofmeasure.org", + "code": "/[HPF]" + }, + "high": { + "value": 5, + "unit": "cells/HPF", + "system": "http://unitsofmeasure.org", + "code": "/[HPF]" + } + }, + "referenceRange": [ + { + "text": "None Seen/HPF" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-clarity.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-clarity.json new file mode 100644 index 000000000..d77da8cbc --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-clarity.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-clarity", + "meta": { + "versionId": "206432", + "lastUpdated": "2016-04-18T03:33:00.502+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-clarity

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: APPEARANCE (Details : {LOINC code '32167-9' = 'Clarity of Urine', given as 'Clarity of Urine'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

value: Hazy (Details : {SNOMED CT code '81858005' = 'Cloudy', given as 'Cloudy'})

ReferenceRanges

-Text
*Clear
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "32167-9", + "display": "Clarity of Urine" + } + ], + "text": "APPEARANCE" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "81858005", + "display": "Cloudy" + } + ], + "text": "Hazy" + }, + "referenceRange": [ + { + "text": "Clear" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-color.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-color.json new file mode 100644 index 000000000..d04be303d --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-color.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-color", + "meta": { + "versionId": "206419", + "lastUpdated": "2016-04-18T03:27:43.203+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-color

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: COLOR (Details : {LOINC code '5778-6' = 'Color of Urine', given as 'Color of Urine'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

value: Yellow (Details : {http://snomed.inbnm,fo/sct code '371244009' = '371244009', given as 'Yellow'})

ReferenceRanges

-Text
*Yellow
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5778-6", + "display": "Color of Urine" + } + ], + "text": "COLOR" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.inbnm,fo/sct", + "code": "371244009", + "display": "Yellow" + } + ], + "text": "Yellow" + }, + "referenceRange": [ + { + "text": "Yellow" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-epi-cells.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-epi-cells.json new file mode 100644 index 000000000..4154c5c69 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-epi-cells.json @@ -0,0 +1,62 @@ +{ + "resourceType": "Observation", + "id": "urine-epi-cells", + "meta": { + "versionId": "206624", + "lastUpdated": "2016-04-18T04:23:12.123+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-epi-cells

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: EPITHELIAL CELLS (Details : {LOINC code '5787-7' = 'Epithelial cells [#/area] in Urine sediment by Microscopy high power field', given as 'Epithelial cells [#/area] in Urine sediment by Microscopy high power field'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

value: 1-5 cells/HPF

ReferenceRanges

-Text
*None Seen/HPF
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5787-7", + "display": "Epithelial cells [#/area] in Urine sediment by Microscopy high power field" + } + ], + "text": "EPITHELIAL CELLS" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueRange": { + "low": { + "value": 1, + "unit": "cells/HPF", + "system": "http://unitsofmeasure.org", + "code": "/[HPF]" + }, + "high": { + "value": 5, + "unit": "cells/HPF", + "system": "http://unitsofmeasure.org", + "code": "/[HPF]" + } + }, + "referenceRange": [ + { + "text": "None Seen/HPF" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-glucose.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-glucose.json new file mode 100644 index 000000000..eb6d566bd --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-glucose.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-glucose", + "meta": { + "versionId": "206444", + "lastUpdated": "2016-04-18T03:35:42.751+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-glucose

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: GLUCOSE (Details : {LOINC code '25428-4' = 'Glucose [Presence] in Urine by Test strip', given as 'Glucose [Presence] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

value: Negative (Details : {SNOMED CT code '260385009' = 'Negative', given as 'Negative'})

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "25428-4", + "display": "Glucose [Presence] in Urine by Test strip" + } + ], + "text": "GLUCOSE" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260385009", + "display": "Negative" + } + ], + "text": "Negative" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-hemoglobin.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-hemoglobin.json new file mode 100644 index 000000000..dbeda6287 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-hemoglobin.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-hemoglobin", + "meta": { + "versionId": "206504", + "lastUpdated": "2016-04-18T03:45:25.300+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-hemoglobin

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: BLOOD (Details : {LOINC code '5794-3' = 'Hemoglobin [Presence] in Urine by Test strip', given as 'Hemoglobin [Presence] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

value: Trace (Details : {SNOMED CT code '260405006' = 'Trace', given as 'Trace'})

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5794-3", + "display": "Hemoglobin [Presence] in Urine by Test strip" + } + ], + "text": "BLOOD" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260405006", + "display": "Trace" + } + ], + "text": "Trace" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-ketone.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-ketone.json new file mode 100644 index 000000000..683042a40 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-ketone.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-ketone", + "meta": { + "versionId": "206468", + "lastUpdated": "2016-04-18T03:39:00.812+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-ketone

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: KETONE (Details : {LOINC code '2514-8' = 'Ketones [Presence] in Urine by Test strip', given as 'Ketones [Presence] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

value: Negative (Details : {SNOMED CT code '260385009' = 'Negative', given as 'Negative'})

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2514-8", + "display": "Ketones [Presence] in Urine by Test strip" + } + ], + "text": "KETONE" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260385009", + "display": "Negative" + } + ], + "text": "Negative" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-leukocyte-esterase.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-leukocyte-esterase.json new file mode 100644 index 000000000..0320a3428 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-leukocyte-esterase.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-leukocyte-esterase", + "meta": { + "versionId": "206552", + "lastUpdated": "2016-04-18T03:58:45.747+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-leukocyte-esterase

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: LEUK ESTERASE (Details : {LOINC code '5799-2' = 'Leukocyte esterase [Presence] in Urine by Test strip', given as 'Leukocyte esterase [Presence] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

value: 2+ (Details : {SNOMED CT code '260348001' = 'Present ++ out of ++++ (qualifier value)', given as '++'})

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5799-2", + "display": "Leukocyte esterase [Presence] in Urine by Test strip" + } + ], + "text": "LEUK ESTERASE" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260348001", + "display": "++" + } + ], + "text": "2+" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-nitrite.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-nitrite.json new file mode 100644 index 000000000..0e74b4584 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-nitrite.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-nitrite", + "meta": { + "versionId": "206492", + "lastUpdated": "2016-04-18T03:42:34.440+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-nitrite

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: NITRITE (Details : {LOINC code '5802-4' = 'Nitrite [Presence] in Urine by Test strip', given as 'Nitrite [Presence] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

value: Positive (Details : {SNOMED CT code '10828004' = 'Positive', given as 'Positive'})

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5802-4", + "display": "Nitrite [Presence] in Urine by Test strip" + } + ], + "text": "NITRITE" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "10828004", + "display": "Positive" + } + ], + "text": "Positive" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-ph.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-ph.json new file mode 100644 index 000000000..c6f7b17af --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-ph.json @@ -0,0 +1,65 @@ +{ + "resourceType": "Observation", + "id": "urine-ph", + "meta": { + "versionId": "206600", + "lastUpdated": "2016-04-18T04:12:25.425+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-ph

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: PH (Details : {LOINC code '5803-2' = 'pH of Urine by Test strip', given as 'pH of Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

value: 6.0 (pH) (Details: UCUM code [pH] = '[pH]')

ReferenceRanges

-LowHigh
*5.0 (pH) (Details: UCUM code [pH] = '[pH]')8.0 (pH) (Details: UCUM code [pH] = '[pH]')
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5803-2", + "display": "pH of Urine by Test strip" + } + ], + "text": "PH" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 6.0, + "unit": "(pH)", + "system": "http://unitsofmeasure.org", + "code": "[pH]" + }, + "referenceRange": [ + { + "low": { + "value": 5.0, + "unit": "(pH)", + "system": "http://unitsofmeasure.org", + "code": "[pH]" + }, + "high": { + "value": 8.0, + "unit": "(pH)", + "system": "http://unitsofmeasure.org", + "code": "[pH]" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-protein.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-protein.json new file mode 100644 index 000000000..b885ce93b --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-protein.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-protein", + "meta": { + "versionId": "206480", + "lastUpdated": "2016-04-18T03:40:36.404+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-protein

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: PROTEIN (Details : {LOINC code '20454-5' = 'Protein [Presence] in Urine by Test strip', given as 'Protein [Presence] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

value: Negative (Details : {SNOMED CT code '260385009' = 'Negative', given as 'Negative'})

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "20454-5", + "display": "Protein [Presence] in Urine by Test strip" + } + ], + "text": "PROTEIN" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260385009", + "display": "Negative" + } + ], + "text": "Negative" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-rbcs.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-rbcs.json new file mode 100644 index 000000000..a7d8ce178 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-rbcs.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-rbcs", + "meta": { + "versionId": "206565", + "lastUpdated": "2016-04-18T04:00:52.434+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-rbcs

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: RBC (Details : {LOINC code '13945-1' = 'Erythrocytes [#/area] in Urine sediment by Microscopy high power field', given as 'Erythrocytes [#/area] in Urine sediment by Microscopy high power field'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

value: Occasional (Details : {SNOMED CT code '84638005' = 'Occasional (qualifier value)', given as 'Occasional'})

ReferenceRanges

-Text
*None Seen/HPF
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "13945-1", + "display": "Erythrocytes [#/area] in Urine sediment by Microscopy high power field" + } + ], + "text": "RBC" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "84638005", + "display": "Occasional" + } + ], + "text": "Occasional" + }, + "referenceRange": [ + { + "text": "None Seen/HPF" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-sediment.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-sediment.json new file mode 100644 index 000000000..fc1a908a1 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-sediment.json @@ -0,0 +1,44 @@ +{ + "resourceType": "Observation", + "id": "urine-sediment", + "meta": { + "versionId": "206577", + "lastUpdated": "2016-04-18T04:07:12.383+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-sediment

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: COMMENT (Details : {LOINC code '11279-7' = 'Urine sediment comments by Light microscopy Narrative', given as 'Urine sediment comments by Light microscopy Narrative'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

value: Recommend Urine Culture

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11279-7", + "display": "Urine sediment comments by Light microscopy Narrative" + } + ], + "text": "COMMENT" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueString": "Recommend Urine Culture" +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-wbcs.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-wbcs.json new file mode 100644 index 000000000..be995331f --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urine-wbcs.json @@ -0,0 +1,62 @@ +{ + "resourceType": "Observation", + "id": "urine-wbcs", + "meta": { + "versionId": "206635", + "lastUpdated": "2016-04-18T04:25:02.064+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-wbcs

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: WBC (Details : {LOINC code '5821-4' = 'Leukocytes [#/area] in Urine sediment by Microscopy high power field', given as 'Leukocytes [#/area] in Urine sediment by Microscopy high power field'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

value: 20-30 cells/HPF

ReferenceRanges

-Text
*None Seen/HPF
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5821-4", + "display": "Leukocytes [#/area] in Urine sediment by Microscopy high power field" + } + ], + "text": "WBC" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueRange": { + "low": { + "value": 20, + "unit": "cells/HPF", + "system": "http://unitsofmeasure.org", + "code": "/[HPF]" + }, + "high": { + "value": 30, + "unit": "cells/HPF", + "system": "http://unitsofmeasure.org", + "code": "/[HPF]" + } + }, + "referenceRange": [ + { + "text": "None Seen/HPF" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urobilinogen.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urobilinogen.json new file mode 100644 index 000000000..4ed425599 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-urobilinogen.json @@ -0,0 +1,65 @@ +{ + "resourceType": "Observation", + "id": "urobilinogen", + "meta": { + "versionId": "206612", + "lastUpdated": "2016-04-18T04:20:46.618+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urobilinogen

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: UROBILINOGEN (Details : {LOINC code '20405-7' = 'Urobilinogen [Mass/volume] in Urine by Test strip', given as 'Urobilinogen [Mass/volume] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

value: 0.3 mg/dL (Details: UCUM code mg/dL = 'mg/dL')

ReferenceRanges

-LowHigh
*0.1 mg/dL (Details: UCUM code mg/dL = 'mg/dL')1.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "20405-7", + "display": "Urobilinogen [Mass/volume] in Urine by Test strip" + } + ], + "text": "UROBILINOGEN" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 0.3, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "referenceRange": [ + { + "low": { + "value": 0.1, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 1.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-usg.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-usg.json new file mode 100644 index 000000000..f14a82729 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-usg.json @@ -0,0 +1,62 @@ +{ + "resourceType": "Observation", + "id": "usg", + "meta": { + "versionId": "206588", + "lastUpdated": "2016-04-18T04:10:12.426+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: usg

meta:

status: final

category: Laboratory (Details : {http://hl7.org/fhir/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: SPEC GRAV (Details : {LOINC code '5811-5' = 'Specific gravity of Urine by Test strip', given as 'Specific gravity of Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

effective: 05/07/2005

value: 1.017 {urine specific gravity} (Details: UCUM code {urine specific gravity} = '{urine specific gravity}')

ReferenceRanges

-LowHigh
*1.003 {urine specific gravity} (Details: UCUM code {urine specific gravity} = '{urine specific gravity}')1.035 {urine specific gravity} (Details: UCUM code {urine specific gravity} = '{urine specific gravity}')
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5811-5", + "display": "Specific gravity of Urine by Test strip" + } + ], + "text": "SPEC GRAV" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 1.017, + "system": "http://unitsofmeasure.org", + "code": "{urine specific gravity}" + }, + "referenceRange": [ + { + "low": { + "value": 1.003, + "system": "http://unitsofmeasure.org", + "code": "{urine specific gravity}" + }, + "high": { + "value": 1.035, + "system": "http://unitsofmeasure.org", + "code": "{urine specific gravity}" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-vitals-panel.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-vitals-panel.json new file mode 100644 index 000000000..e3c7fcae9 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-vitals-panel.json @@ -0,0 +1,67 @@ +{ + "resourceType": "Observation", + "id": "vitals-panel", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: vitals-panel

meta:

status: final

category: Vital Signs (Details : {http://hl7.org/fhir/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: Vital signs panel (Details : {LOINC code '85353-1' = 'Vital signs, weight, height, head circumference, oxygen saturation and BMI panel', given as 'Vital signs, weight, height, head circumference, oxygen saturation and BMI panel'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

context: GP Visit

effective: 02/07/1999

related

type: has-member

target: Respiratory rate. Generated Summary: id: respiratory-rate; Vital Signs; respiratory_rate; effective: 02/07/1999; 26.0 breaths per minute

related

type: has-member

target: Heart rate. Generated Summary: id: heart-rate; Vital Signs; heart_rate; effective: 02/07/1999; 44.0 {beats}/min

related

type: has-member

target: Blood Pressure. Generated Summary: id: blood-pressure; Vital Signs; Blood pressure systolic and diastolic; effective: 02/07/1999

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85353-1", + "display": "Vital signs, weight, height, head circumference, oxygen saturation and BMI panel" + } + ], + "text": "Vital signs panel" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "context": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "related": [ + { + "type": "has-member", + "target": { + "reference": "Observation/respiratory-rate", + "display": "Respiratory rate" + } + }, + { + "type": "has-member", + "target": { + "reference": "Observation/heart-rate", + "display": "Heart rate" + } + }, + { + "type": "has-member", + "target": { + "reference": "Observation/blood-pressure", + "display": "Blood Pressure" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-weight.json b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-weight.json new file mode 100644 index 000000000..e32cb9be3 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Observation/Observation-weight.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "weight", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: weight

meta:

status: final

category: Vital Signs (Details : {http://hl7.org/fhir/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: weight (Details : {LOINC code '29463-7' = 'Body weight', given as 'Body Weight'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

context: GP Visit

effective: 02/07/1999

value: 20.09414 kg (Details: UCUM code kg = 'kg')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7", + "display": "Body Weight" + } + ], + "text": "weight" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "context": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 20.09414, + "unit": "kg", + "system": "http://unitsofmeasure.org", + "code": "kg" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Organization/Organization-acme-lab.json b/evaluator.cli/src/test/resources/dstu3/example/Organization/Organization-acme-lab.json new file mode 100644 index 000000000..c5a59ed1b --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Organization/Organization-acme-lab.json @@ -0,0 +1,57 @@ +{ + "resourceType": "Organization", + "id": "acme-lab", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: acme-lab

meta:

identifier: 1144221847, 2523423456

active: true

type: Healthcare Provider (Details : {http://hl7.org/fhir/organization-type code 'prov' = 'Healthcare Provider', given as 'Healthcare Provider'})

name: Acme Labs

telecom: ph: (+1) 734-677-7777, hq@acme.org

address: 3300 Washtenaw Avenue, Suite 227 Amherst MA 01002 USA

" + }, + "identifier": [ + { + "system": "http://hl7.org.fhir/sid/us-npi", + "value": "1144221847" + }, + { + "system": "http://www.acme.org/organization", + "value": "2523423456" + } + ], + "active": true, + "type": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/organization-type", + "code": "prov", + "display": "Healthcare Provider" + } + ] + } + ], + "name": "Acme Labs", + "telecom": [ + { + "system": "phone", + "value": "(+1) 734-677-7777" + }, + { + "system": "email", + "value": "hq@acme.org" + } + ], + "address": [ + { + "line": [ + "3300 Washtenaw Avenue, Suite 227" + ], + "city": "Amherst", + "state": "MA", + "postalCode": "01002", + "country": "USA" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Organization/Organization-example-organization-2.json b/evaluator.cli/src/test/resources/dstu3/example/Organization/Organization-example-organization-2.json new file mode 100644 index 000000000..0426c0230 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Organization/Organization-example-organization-2.json @@ -0,0 +1,57 @@ +{ + "resourceType": "Organization", + "id": "example-organization-2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example-organization-2

meta:

identifier: 1407071236, 121111111

active: true

type: Healthcare Provider (Details : {http://hl7.org/fhir/organization-type code 'prov' = 'Healthcare Provider', given as 'Healthcare Provider'})

name: Acme Clinic

telecom: ph: (+1) 734-677-7777, customer-service@acme-clinic.org

address: 3300 Washtenaw Avenue, Suite 227 Amherst MA 01002 USA

" + }, + "identifier": [ + { + "system": "http://hl7.org.fhir/sid/us-npi", + "value": "1407071236" + }, + { + "system": "http://example.org/fhir/sid/us-tin", + "value": "121111111" + } + ], + "active": true, + "type": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/organization-type", + "code": "prov", + "display": "Healthcare Provider" + } + ] + } + ], + "name": "Acme Clinic", + "telecom": [ + { + "system": "phone", + "value": "(+1) 734-677-7777" + }, + { + "system": "email", + "value": "customer-service@acme-clinic.org" + } + ], + "address": [ + { + "line": [ + "3300 Washtenaw Avenue, Suite 227" + ], + "city": "Amherst", + "state": "MA", + "postalCode": "01002", + "country": "USA" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Organization/Organization-saint-luke-w-endpoint.json b/evaluator.cli/src/test/resources/dstu3/example/Organization/Organization-saint-luke-w-endpoint.json new file mode 100644 index 000000000..5052e39dd --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Organization/Organization-saint-luke-w-endpoint.json @@ -0,0 +1,82 @@ +{ + "resourceType": "Organization", + "id": "saint-luke-w-endpoint", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + }, + "text": { + "status": "generated", + "div": "
\n\t\t\t

Organization

\n\t\t\t
\n\t\t\t\t

ID: 393872

\n\t\t\t\t

Name: Saint Luke's Hospital of Kansas City

\n\t\t\t\t

NPI: 1063494177

\n\t\t\t\t

Phone:(816)932-2000

\n\t\t\t\t

Address:4401 Wornall Rd,, MO, 64111

\n\t\t\t
\n\t\t
" + }, + "contained": [ + { + "resourceType": "Endpoint", + "id": "75", + "status": "active", + "connectionType": { + "system": "http://hl7.org/fhir/endpoint-connection-type", + "code": "direct-project" + }, + "name": "Dr. Ronald Bone Direct Address", + "managingOrganization": { + "reference": "Organization/example-organization-2" + }, + "payloadType": [ + { + "coding": [ + { + "system": "urn:oid:1.3.6.1.4.1.19376.1.2.3", + "code": "urn:hl7-org:sdwg:ccda-structuredBody:1.1" + } + ] + } + ], + "payloadMimeType": [ + "text/xml" + ], + "address": "mailto:Interoperability@DirectAddress.com" + } + ], + "identifier": [ + { + "system": "http://hl7.org/fhir/sid/us-npi", + "value": "1063494177" + }, + { + "system": "http://hl7.org/fhir/us/argo/sid/us-ein", + "value": "00-0000000" + } + ], + "active": true, + "name": "Saint Luke's Hospital of Kansas City", + "telecom": [ + { + "system": "phone", + "value": "(816)932-2000", + "use": "work" + }, + { + "system": "other", + "value": "http://www.saintlukeshealthsystem.org/locations/saint-lukes-hospital-kansas-city", + "use": "work" + } + ], + "address": [ + { + "text": "3300 Washtenaw Avenue, Suite 227 Amherst MA 01002", + "line": [ + "4401 Wornall Rd," + ], + "city": "Amherst", + "state": "MA", + "postalCode": "64111" + } + ], + "endpoint": [ + { + "reference": "#75" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Patient/Patient-example.json b/evaluator.cli/src/test/resources/dstu3/example/Patient/Patient-example.json new file mode 100644 index 000000000..901f32c14 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Patient/Patient-example.json @@ -0,0 +1,161 @@ +{ + "resourceType": "Patient", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + }, + "text": { + "status": "generated", + "div": "
\n\t\t\t

\n\t\t\t\tGenerated Narrative with Details\n\t\t\t

\n\t\t\t

\n\t\t\t\tid: example

\n\t\t\t

\n\t\t\t\tidentifier: Medical Record Number = 1032702 (USUAL)

\n\t\t\t

\n\t\t\t\tactive: true

\n\t\t\t

\n\t\t\t\tname: Amy V. Shaw

\n\t\t\t

\n\t\t\t\ttelecom: ph: 555-555-5555(HOME), amy.shaw@example.com

\n\t\t\t

\n\t\t\t\tgender:

\n\t\t\t

\n\t\t\t\tbirthsex: Female

\n\t\t\t

\n\t\t\t\tbirthDate: Feb 20, 2007

\n\t\t\t

\n\t\t\t\taddress: 49 Meadow St Mounds OK 74047 US

\n\t\t\t

\n\t\t\t\trace: White, American Indian or Alaska Native, Asian, Shoshone, Filipino

\n\t\t\t

\n\t\t\t\tethnicity: Hispanic or Latino, Dominican, Mexican

\n\t\t
" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2106-3", + "display": "White" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "1002-5", + "display": "American Indian or Alaska Native" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2028-9", + "display": "Asian" + } + }, + { + "url": "detailed", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "1586-7", + "display": "Shoshone" + } + }, + { + "url": "detailed", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2036-2", + "display": "Filipino" + } + }, + { + "url": "text", + "valueString": "Mixed" + } + ] + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2135-2", + "display": "Hispanic or Latino" + } + }, + { + "url": "detailed", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2184-0", + "display": "Dominican" + } + }, + { + "url": "detailed", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2148-5", + "display": "Mexican" + } + }, + { + "url": "text", + "valueString": "Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex", + "valueCode": "F" + } + ], + "identifier": [ + { + "use": "usual", + "type": { + "coding": [ + { + "system": "http://hl7.org/fhir/v2/0203", + "code": "MR", + "display": "Medical Record Number" + } + ], + "text": "Medical Record Number" + }, + "system": "http://hospital.smarthealthit.org", + "value": "1032702" + } + ], + "active": true, + "name": [ + { + "family": "Shaw", + "given": [ + "Amy", + "V." + ] + } + ], + "telecom": [ + { + "system": "phone", + "value": "555-555-5555", + "use": "home" + }, + { + "system": "email", + "value": "amy.shaw@example.com" + } + ], + "gender": "female", + "birthDate": "2007-02-20", + "deceasedBoolean": false, + "address": [ + { + "line": [ + "49 Meadow St" + ], + "city": "Mounds", + "state": "OK", + "postalCode": "74047", + "country": "US" + } + ], + "maritalStatus": { + "coding": [ + { + "system": "http://hl7.org/fhir/v3/MaritalStatus", + "code": "M" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Practitioner/Practitioner-practitioner-1.json b/evaluator.cli/src/test/resources/dstu3/example/Practitioner/Practitioner-practitioner-1.json new file mode 100644 index 000000000..c1a1bb45b --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Practitioner/Practitioner-practitioner-1.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Practitioner", + "id": "practitioner-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: practitioner-1

meta:

identifier: 9941339108, 25456

name: Ronald Bone

address: 1003 Healthcare Drive Amherst MA 01002 (HOME)

" + }, + "identifier": [ + { + "system": "http://hl7.org.fhir/sid/us-npi", + "value": "9941339108" + }, + { + "system": "http://www.acme.org/practitioners", + "value": "25456" + } + ], + "name": [ + { + "family": "Bone", + "given": [ + "Ronald" + ], + "prefix": [ + "Dr" + ] + } + ], + "address": [ + { + "use": "home", + "line": [ + "1003 Healthcare Drive" + ], + "city": "Amherst", + "state": "MA", + "postalCode": "01002" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Practitioner/Practitioner-practitioner-2.json b/evaluator.cli/src/test/resources/dstu3/example/Practitioner/Practitioner-practitioner-2.json new file mode 100644 index 000000000..cf1a442ff --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Practitioner/Practitioner-practitioner-2.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Practitioner", + "id": "practitioner-2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: practitioner-2

meta:

identifier: 1245319599, 456789

name: Fielding Kathy

address: 1080 FIRST COLONIAL RD Virginia Beach VA 21454-2406 (WORK)

" + }, + "identifier": [ + { + "system": "http://hl7.org.fhir/sid/us-npi", + "value": "1245319599" + }, + { + "system": "http://www.acme.org/practitioners", + "value": "456789" + } + ], + "name": [ + { + "family": "Kathy", + "given": [ + "Fielding" + ], + "prefix": [ + "Dr" + ] + } + ], + "address": [ + { + "use": "work", + "line": [ + "1080 FIRST COLONIAL RD" + ], + "city": "Virginia Beach", + "state": "VA", + "postalCode": "21454-2406" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/Procedure/Procedure-rehab.json b/evaluator.cli/src/test/resources/dstu3/example/Procedure/Procedure-rehab.json new file mode 100644 index 000000000..3e5af2e12 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/Procedure/Procedure-rehab.json @@ -0,0 +1,34 @@ +{ + "resourceType": "Procedure", + "id": "rehab", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: rehab

meta:

status: completed

code: Alcohol rehabilitation (Details : {SNOMED CT code '35637008' = 'Alcohol rehabilitation (regime/therapy)', given as 'Alcohol rehabilitation'}; {http://www.icd10data.com/icd10pcs code 'HZ30ZZZ' = 'HZ30ZZZ', given as 'Individual Counseling for Substance Abuse Treatment, Cognitive'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 20/02/2007

performed: 23/05/2002

" + }, + "status": "completed", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "35637008", + "display": "Alcohol rehabilitation" + }, + { + "system": "http://www.icd10data.com/icd10pcs", + "code": "HZ30ZZZ", + "display": "Individual Counseling for Substance Abuse Treatment, Cognitive" + } + ], + "text": "Alcohol rehabilitation" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "performedDateTime": "2002-05-23" +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/ValueSet-detailed-ethnicity.json b/evaluator.cli/src/test/resources/dstu3/example/ValueSet-detailed-ethnicity.json new file mode 100644 index 000000000..ffdebcf0e --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/ValueSet-detailed-ethnicity.json @@ -0,0 +1,53 @@ +{ + "resourceType": "ValueSet", + "id": "detailed-ethnicity", + "text": { + "status": "generated", + "div": "

US-Core Detailed ethnicity

The 41 CDC ethnicity codes that are grouped under one of the 2 OMB ethnicity category codes.

\n

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/detailed-ethnicity", + "version": "2.0.0", + "name": "US-Core Detailed ethnicity", + "status": "draft", + "date": "2016-08-30T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "The 41 [CDC ethnicity codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 2 OMB ethnicity category codes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "2133-7" + } + ] + } + ], + "exclude": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "concept": [ + { + "code": "2135-2" + }, + { + "code": "2186-5" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/ValueSet-detailed-race.json b/evaluator.cli/src/test/resources/dstu3/example/ValueSet-detailed-race.json new file mode 100644 index 000000000..2f0a45317 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/ValueSet-detailed-race.json @@ -0,0 +1,62 @@ +{ + "resourceType": "ValueSet", + "id": "detailed-race", + "text": { + "status": "generated", + "div": "

US-Core Detailed Race

The 900+ CDC Race codes that are grouped under one of the 5 OMB race category codes.

\n

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/detailed-race", + "version": "2.0.0", + "name": "US-Core Detailed Race", + "status": "draft", + "date": "2016-08-30T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "The 900+ [CDC Race codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 5 OMB race category codes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "1000-9" + } + ] + } + ], + "exclude": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "concept": [ + { + "code": "1002-5" + }, + { + "code": "2028-9" + }, + { + "code": "2054-5" + }, + { + "code": "2076-8" + }, + { + "code": "2106-3" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/ValueSet-omb-ethnicity-category.json b/evaluator.cli/src/test/resources/dstu3/example/ValueSet-omb-ethnicity-category.json new file mode 100644 index 000000000..3d5b7a668 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/ValueSet-omb-ethnicity-category.json @@ -0,0 +1,43 @@ +{ + "resourceType": "ValueSet", + "id": "omb-ethnicity-category", + "text": { + "status": "generated", + "div": "

OMB Ethnicity Categories

The codes for the ethnicity categories - 'Hispanic or Latino' and 'Non Hispanic or Latino' - as defined by the OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997.

\n

This value set includes codes from the following code systems:

  • Include these codes as defined in urn:oid:2.16.840.1.113883.6.238
    CodeDisplay
    2135-2Hispanic or LatinoHispanic or Latino
    2186-5Non Hispanic or LatinoNote that this term remains in the table for completeness, even though within HL7, the notion of "not otherwise coded" term is deprecated.
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/omb-ethnicity-category", + "version": "2.0.0", + "name": "OMB Ethnicity Categories", + "status": "draft", + "date": "2016-08-30T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "The codes for the ethnicity categories - 'Hispanic or Latino' and 'Non Hispanic or Latino' - as defined by the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.whitehouse.gov/omb/fedreg_1997standards).", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "concept": [ + { + "code": "2135-2", + "display": "Hispanic or Latino" + }, + { + "code": "2186-5", + "display": "Non Hispanic or Latino" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/ValueSet-omb-race-category.json b/evaluator.cli/src/test/resources/dstu3/example/ValueSet-omb-race-category.json new file mode 100644 index 000000000..0aabfc465 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/ValueSet-omb-race-category.json @@ -0,0 +1,92 @@ +{ + "resourceType": "ValueSet", + "id": "omb-race-category", + "text": { + "status": "generated", + "div": "

OMB Race Categories

The codes for the concepts 'Unknown' and 'Asked but no answer' and the the codes for the five race categories - 'American Indian' or 'Alaska Native', 'Asian', 'Black or African American', 'Native Hawaiian or Other Pacific Islander', and 'White' - as defined by the OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997 .

\n

This value set includes codes from the following code systems:

  • Include these codes as defined in urn:oid:2.16.840.1.113883.6.238
    CodeDisplay
    1002-5American Indian or Alaska NativeAmerican Indian or Alaska Native
    2028-9AsianAsian
    2054-5Black or African AmericanBlack or African American
    2076-8Native Hawaiian or Other Pacific IslanderNative Hawaiian or Other Pacific Islander
    2106-3WhiteWhite
  • Include these codes as defined in http://hl7.org/fhir/v3/NullFlavor
    CodeDisplay
    UNKUnknownDescription:A proper value is applicable, but not known.
    \n \n Usage Notes: This means the actual value is not known. If the only thing that is unknown is how to properly express the value in the necessary constraints (value set, datatype, etc.), then the OTH or UNC flavor should be used. No properties should be included for a datatype with this property unless:
    \n \n Those properties themselves directly translate to a semantic of "unknown". (E.g. a local code sent as a translation that conveys 'unknown')\n Those properties further qualify the nature of what is unknown. (E.g. specifying a use code of "H" and a URL prefix of "tel:" to convey that it is the home phone number that is unknown.)
    ASKUAsked but no answerInformation was sought but not found (e.g., patient was asked but didn't know)
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/omb-race-category", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.4.642.2.575" + } + ], + "version": "2.0.0", + "name": "OMB Race Categories", + "status": "active", + "date": "2016-05-25T16:59:08+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + }, + { + "telecom": [ + { + "system": "other", + "value": "http://wiki.siframework.org/Data+Access+Framework+Homepage" + } + ] + } + ], + "description": "The codes for the concepts 'Unknown' and 'Asked but no answer' and the the codes for the five race categories - 'American Indian' or 'Alaska Native', 'Asian', 'Black or African American', 'Native Hawaiian or Other Pacific Islander', and 'White' - as defined by the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.whitehouse.gov/omb/fedreg_1997standards) .", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "concept": [ + { + "code": "1002-5", + "display": "American Indian or Alaska Native" + }, + { + "code": "2028-9", + "display": "Asian" + }, + { + "code": "2054-5", + "display": "Black or African American" + }, + { + "code": "2076-8", + "display": "Native Hawaiian or Other Pacific Islander" + }, + { + "code": "2106-3", + "display": "White" + } + ] + }, + { + "system": "http://hl7.org/fhir/v3/NullFlavor", + "concept": [ + { + "code": "UNK", + "display": "Unknown" + }, + { + "code": "ASKU", + "display": "Asked but no answer" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/example/ValueSet-simple-language.json b/evaluator.cli/src/test/resources/dstu3/example/ValueSet-simple-language.json new file mode 100644 index 000000000..ee14e5d4c --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/example/ValueSet-simple-language.json @@ -0,0 +1,70 @@ +{ + "resourceType": "ValueSet", + "id": "simple-language", + "text": { + "status": "generated", + "div": "

Language codes with language and optionally a region modifier

This value set includes codes from BCP-47. This value set matches the ONC 2015 Edition LanguageCommunication data element value set within C-CDA to use a 2 character language code if one exists, and a 3 character code if a 2 character code does not exist. It points back to RFC 5646, however only the language codes are required, all other elements are optional.

\n

This value set includes codes from the following code systems:

  • Include codes from urn:ietf:bcp:47 where ext-lang exists false and urn:ietf:bcp:47 where script exists false and urn:ietf:bcp:47 where variant exists false and urn:ietf:bcp:47 where extension exists false and urn:ietf:bcp:47 where private-use exists false
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/simple-language", + "version": "2.0.0", + "name": "Language codes with language and optionally a region modifier", + "status": "draft", + "date": "2017-02-28T00:00:00+11:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This value set includes codes from [BCP-47](http://tools.ietf.org/html/bcp47). This value set matches the ONC 2015 Edition LanguageCommunication data element value set within C-CDA to use a 2 character language code if one exists, and a 3 character code if a 2 character code does not exist. It points back to [RFC 5646](https://tools.ietf.org/html/rfc5646), however only the language codes are required, all other elements are optional.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "urn:ietf:bcp:47", + "filter": [ + { + "property": "ext-lang", + "op": "exists", + "value": "false" + }, + { + "property": "script", + "op": "exists", + "value": "false" + }, + { + "property": "variant", + "op": "exists", + "value": "false" + }, + { + "property": "extension", + "op": "exists", + "value": "false" + }, + { + "property": "private-use", + "op": "exists", + "value": "false" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/vocabulary/CodeSystem/CodeSystem-careplan-category.json b/evaluator.cli/src/test/resources/dstu3/vocabulary/CodeSystem/CodeSystem-careplan-category.json new file mode 100644 index 000000000..935963f3b --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/vocabulary/CodeSystem/CodeSystem-careplan-category.json @@ -0,0 +1,36 @@ +{ + "resourceType": "CodeSystem", + "id": "careplan-category", + "text": { + "status": "generated", + "div": "

US Core CarePlan Category Extension Codes

Set of codes that are needed for implementation of the US-Core profiles. These codes are used as extensions to the FHIR and US Core value sets.

\n

This code system http://hl7.org/fhir/us/core/CodeSystem/careplan-category defines the following codes:

CodeDisplayDefinition
assess-plan Assessment and Plan of TreatmentThe clinical conclusions and assumptions that guide the patient's treatment and the clinical activities formulated for a patient.
" + }, + "url": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "version": "2.0.0", + "name": "US Core CarePlan Category Extension Codes", + "status": "draft", + "date": "2018-12-04T10:36:33+11:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "Set of codes that are needed for implementation of the US-Core profiles. These codes are used as extensions to the FHIR and US Core value sets.\n", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "caseSensitive": true, + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/careplan-category", + "content": "complete", + "concept": [ + { + "code": "assess-plan", + "display": "Assessment and Plan of Treatment", + "definition": "The clinical conclusions and assumptions that guide the patient's treatment and the clinical activities formulated for a patient." + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/vocabulary/CodeSystem/CodeSystem-cdcrec.json b/evaluator.cli/src/test/resources/dstu3/vocabulary/CodeSystem/CodeSystem-cdcrec.json new file mode 100644 index 000000000..7dd24bc5a --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/vocabulary/CodeSystem/CodeSystem-cdcrec.json @@ -0,0 +1,4894 @@ +{ + "resourceType": "CodeSystem", + "id": "cdcrec", + "text": { + "status": "generated", + "div": "

Race & Ethnicity - CDC

The U.S. Centers for Disease Control and Prevention (CDC) has prepared a code set for use in coding race and ethnicity data. This code set is based on current federal standards for classifying data on race and ethnicity, specifically the minimum race and ethnicity categories defined by the U.S. Office of Management and Budget (OMB) and a more detailed set of race and ethnicity categories maintained by the U.S. Bureau of the Census (BC). The main purpose of the code set is to facilitate use of federal standards for classifying data on race and ethnicity when these data are exchanged, stored, retrieved, or analyzed in electronic form. At the same time, the code set can be applied to paper-based record systems to the extent that these systems are used to collect, maintain, and report data on race and ethnicity in accordance with current federal standards. Source: Race and Ethnicity Code Set Version 1.0

\n

This code system urn:oid:2.16.840.1.113883.6.238 defines the following codes:

LvlCodeDisplayDefinition
11000-9 RaceRace
2  1002-5 American Indian or Alaska NativeAmerican Indian or Alaska Native
3    1004-1 American IndianAmerican Indian
3    1735-0 Alaska NativeAlaska Native
3    1006-6 AbenakiAbenaki
3    1008-2 AlgonquianAlgonquian
3    1010-8 ApacheApache
3    1021-5 ArapahoArapaho
3    1026-4 ArikaraArikara
3    1028-0 AssiniboineAssiniboine
3    1030-6 Assiniboine SiouxAssiniboine Sioux
3    1033-0 BannockBannock
3    1035-5 BlackfeetBlackfeet
3    1037-1 BrothertonBrotherton
3    1039-7 Burt Lake BandBurt Lake Band
3    1041-3 CaddoCaddo
3    1044-7 CahuillaCahuilla
3    1053-8 California TribesCalifornia Tribes
3    1068-6 Canadian and Latin American IndianCanadian and Latin American Indian
3    1076-9 CatawbaCatawba
3    1078-5 CayuseCayuse
3    1080-1 ChehalisChehalis
3    1082-7 ChemakuanChemakuan
3    1086-8 ChemehueviChemehuevi
3    1088-4 CherokeeCherokee
3    1100-7 Cherokee ShawneeCherokee Shawnee
3    1102-3 CheyenneCheyenne
3    1106-4 Cheyenne-ArapahoCheyenne-Arapaho
3    1108-0 ChickahominyChickahominy
3    1112-2 ChickasawChickasaw
3    1114-8 ChinookChinook
3    1123-9 ChippewaChippewa
3    1150-2 Chippewa CreeChippewa Cree
3    1153-6 ChitimachaChitimacha
3    1155-1 ChoctawChoctaw
3    1162-7 ChumashChumash
3    1165-0 Clear LakeClear Lake
3    1167-6 Coeur D'AleneCoeur D'Alene
3    1169-2 CoharieCoharie
3    1171-8 Colorado RiverColorado River
3    1173-4 ColvilleColville
3    1175-9 ComancheComanche
3    1178-3 Coos, Lower Umpqua, SiuslawCoos, Lower Umpqua, Siuslaw
3    1180-9 CoosCoos
3    1182-5 CoquillesCoquilles
3    1184-1 CostanoanCostanoan
3    1186-6 CoushattaCoushatta
3    1189-0 CowlitzCowlitz
3    1191-6 CreeCree
3    1193-2 CreekCreek
3    1207-0 CroatanCroatan
3    1209-6 CrowCrow
3    1211-2 CupenoCupeno
3    1214-6 DelawareDelaware
3    1222-9 DieguenoDiegueno
3    1233-6 Eastern TribesEastern Tribes
3    1250-0 EsselenEsselen
3    1252-6 Fort BelknapFort Belknap
3    1254-2 Fort BertholdFort Berthold
3    1256-7 Fort McdowellFort Mcdowell
3    1258-3 Fort HallFort Hall
3    1260-9 GabrielenoGabrieleno
3    1262-5 Grand RondeGrand Ronde
3    1264-1 Gros VentresGros Ventres
3    1267-4 HaliwaHaliwa
3    1269-0 HidatsaHidatsa
3    1271-6 HoopaHoopa
3    1275-7 Hoopa ExtensionHoopa Extension
3    1277-3 HoumaHouma
3    1279-9 Inaja-CosmitInaja-Cosmit
3    1281-5 IowaIowa
3    1285-6 IroquoisIroquois
3    1297-1 JuanenoJuaneno
3    1299-7 KalispelKalispel
3    1301-1 KarukKaruk
3    1303-7 KawKaw
3    1305-2 KickapooKickapoo
3    1309-4 KiowaKiowa
3    1312-8 KlallamKlallam
3    1317-7 KlamathKlamath
3    1319-3 KonkowKonkow
3    1321-9 KootenaiKootenai
3    1323-5 LassikLassik
3    1325-0 Long IslandLong Island
3    1331-8 LuisenoLuiseno
3    1340-9 LumbeeLumbee
3    1342-5 LummiLummi
3    1344-1 MaiduMaidu
3    1348-2 MakahMakah
3    1350-8 MaliseetMaliseet
3    1352-4 MandanMandan
3    1354-0 MattaponiMattaponi
3    1356-5 MenomineeMenominee
3    1358-1 MiamiMiami
3    1363-1 MiccosukeeMiccosukee
3    1365-6 MicmacMicmac
3    1368-0 Mission IndiansMission Indians
3    1370-6 MiwokMiwok
3    1372-2 ModocModoc
3    1374-8 MoheganMohegan
3    1376-3 MonoMono
3    1378-9 NanticokeNanticoke
3    1380-5 NarragansettNarragansett
3    1382-1 NavajoNavajo
3    1387-0 Nez PerceNez Perce
3    1389-6 NomalakiNomalaki
3    1391-2 Northwest TribesNorthwest Tribes
3    1403-5 OmahaOmaha
3    1405-0 Oregon AthabaskanOregon Athabaskan
3    1407-6 OsageOsage
3    1409-2 Otoe-MissouriaOtoe-Missouria
3    1411-8 OttawaOttawa
3    1416-7 PaiutePaiute
3    1439-9 PamunkeyPamunkey
3    1441-5 PassamaquoddyPassamaquoddy
3    1445-6 PawneePawnee
3    1448-0 PenobscotPenobscot
3    1450-6 PeoriaPeoria
3    1453-0 PequotPequot
3    1456-3 PimaPima
3    1460-5 PiscatawayPiscataway
3    1462-1 Pit RiverPit River
3    1464-7 PomoPomo
3    1474-6 PoncaPonca
3    1478-7 PotawatomiPotawatomi
3    1487-8 PowhatanPowhatan
3    1489-4 PuebloPueblo
3    1518-0 Puget Sound SalishPuget Sound Salish
3    1541-2 QuapawQuapaw
3    1543-8 QuinaultQuinault
3    1545-3 RappahannockRappahannock
3    1547-9 Reno-SparksReno-Sparks
3    1549-5 Round ValleyRound Valley
3    1551-1 Sac and FoxSac and Fox
3    1556-0 SalinanSalinan
3    1558-6 SalishSalish
3    1560-2 Salish and KootenaiSalish and Kootenai
3    1562-8 SchaghticokeSchaghticoke
3    1564-4 Scott ValleyScott Valley
3    1566-9 SeminoleSeminole
3    1573-5 SerranoSerrano
3    1576-8 ShastaShasta
3    1578-4 ShawneeShawnee
3    1582-6 ShinnecockShinnecock
3    1584-2 Shoalwater BayShoalwater Bay
3    1586-7 ShoshoneShoshone
3    1602-2 Shoshone PaiuteShoshone Paiute
3    1607-1 SiletzSiletz
3    1609-7 SiouxSioux
3    1643-6 SiuslawSiuslaw
3    1645-1 SpokaneSpokane
3    1647-7 StewartStewart
3    1649-3 StockbridgeStockbridge
3    1651-9 SusanvilleSusanville
3    1653-5 Tohono O'OdhamTohono O'Odham
3    1659-2 TolowaTolowa
3    1661-8 TonkawaTonkawa
3    1663-4 TyghTygh
3    1665-9 UmatillaUmatilla
3    1667-5 UmpquaUmpqua
3    1670-9 UteUte
3    1675-8 WailakiWailaki
3    1677-4 Walla-WallaWalla-Walla
3    1679-0 WampanoagWampanoag
3    1683-2 Warm SpringsWarm Springs
3    1685-7 WascopumWascopum
3    1687-3 WashoeWashoe
3    1692-3 WichitaWichita
3    1694-9 Wind RiverWind River
3    1696-4 WinnebagoWinnebago
3    1700-4 WinnemuccaWinnemucca
3    1702-0 WintunWintun
3    1704-6 WiyotWiyot
3    1707-9 YakamaYakama
3    1709-5 Yakama CowlitzYakama Cowlitz
3    1711-1 YaquiYaqui
3    1715-2 Yavapai ApacheYavapai Apache
3    1717-8 YokutsYokuts
3    1722-8 YuchiYuchi
3    1724-4 YumanYuman
3    1732-7 YurokYurok
3    1011-6 ChiricahuaChiricahua
3    1012-4 Fort Sill ApacheFort Sill Apache
3    1013-2 Jicarilla ApacheJicarilla Apache
3    1014-0 Lipan ApacheLipan Apache
3    1015-7 Mescalero ApacheMescalero Apache
3    1016-5 Oklahoma ApacheOklahoma Apache
3    1017-3 Payson ApachePayson Apache
3    1018-1 San Carlos ApacheSan Carlos Apache
3    1019-9 White Mountain ApacheWhite Mountain Apache
3    1022-3 Northern ArapahoNorthern Arapaho
3    1023-1 Southern ArapahoSouthern Arapaho
3    1024-9 Wind River ArapahoWind River Arapaho
3    1031-4 Fort Peck Assiniboine SiouxFort Peck Assiniboine Sioux
3    1042-1 Oklahoma CadoOklahoma Cado
3    1045-4 Agua Caliente CahuillaAgua Caliente Cahuilla
3    1046-2 AugustineAugustine
3    1047-0 CabazonCabazon
3    1048-8 Los CoyotesLos Coyotes
3    1049-6 MorongoMorongo
3    1050-4 Santa Rosa CahuillaSanta Rosa Cahuilla
3    1051-2 Torres-MartinezTorres-Martinez
3    1054-6 CahtoCahto
3    1055-3 ChimarikoChimariko
3    1056-1 Coast MiwokCoast Miwok
3    1057-9 DiggerDigger
3    1058-7 KawaiisuKawaiisu
3    1059-5 Kern RiverKern River
3    1060-3 MattoleMattole
3    1061-1 Red WoodRed Wood
3    1062-9 Santa RosaSanta Rosa
3    1063-7 TakelmaTakelma
3    1064-5 WappoWappo
3    1065-2 YanaYana
3    1066-0 YukiYuki
3    1069-4 Canadian IndianCanadian Indian
3    1070-2 Central American IndianCentral American Indian
3    1071-0 French American IndianFrench American Indian
3    1072-8 Mexican American IndianMexican American Indian
3    1073-6 South American IndianSouth American Indian
3    1074-4 Spanish American IndianSpanish American Indian
3    1083-5 HohHoh
3    1084-3 QuileuteQuileute
3    1089-2 Cherokee AlabamaCherokee Alabama
3    1090-0 Cherokees of Northeast AlabamaCherokees of Northeast Alabama
3    1091-8 Cherokees of Southeast AlabamaCherokees of Southeast Alabama
3    1092-6 Eastern CherokeeEastern Cherokee
3    1093-4 Echota CherokeeEchota Cherokee
3    1094-2 Etowah CherokeeEtowah Cherokee
3    1095-9 Northern CherokeeNorthern Cherokee
3    1096-7 TuscolaTuscola
3    1097-5 United Keetowah Band of CherokeeUnited Keetowah Band of Cherokee
3    1098-3 Western CherokeeWestern Cherokee
3    1103-1 Northern CheyenneNorthern Cheyenne
3    1104-9 Southern CheyenneSouthern Cheyenne
3    1109-8 Eastern ChickahominyEastern Chickahominy
3    1110-6 Western ChickahominyWestern Chickahominy
3    1115-5 ClatsopClatsop
3    1116-3 Columbia River ChinookColumbia River Chinook
3    1117-1 KathlametKathlamet
3    1118-9 Upper ChinookUpper Chinook
3    1119-7 Wakiakum ChinookWakiakum Chinook
3    1120-5 Willapa ChinookWillapa Chinook
3    1121-3 WishramWishram
3    1124-7 Bad RiverBad River
3    1125-4 Bay Mills ChippewaBay Mills Chippewa
3    1126-2 Bois ForteBois Forte
3    1127-0 Burt Lake ChippewaBurt Lake Chippewa
3    1128-8 Fond du LacFond du Lac
3    1129-6 Grand PortageGrand Portage
3    1130-4 Grand Traverse Band of Ottawa/ChippewaGrand Traverse Band of Ottawa/Chippewa
3    1131-2 KeweenawKeweenaw
3    1132-0 Lac Courte OreillesLac Courte Oreilles
3    1133-8 Lac du FlambeauLac du Flambeau
3    1134-6 Lac Vieux Desert ChippewaLac Vieux Desert Chippewa
3    1135-3 Lake SuperiorLake Superior
3    1136-1 Leech LakeLeech Lake
3    1137-9 Little Shell ChippewaLittle Shell Chippewa
3    1138-7 Mille LacsMille Lacs
3    1139-5 Minnesota ChippewaMinnesota Chippewa
3    1140-3 OntonagonOntonagon
3    1141-1 Red Cliff ChippewaRed Cliff Chippewa
3    1142-9 Red Lake ChippewaRed Lake Chippewa
3    1143-7 Saginaw ChippewaSaginaw Chippewa
3    1144-5 St. Croix ChippewaSt. Croix Chippewa
3    1145-2 Sault Ste. Marie ChippewaSault Ste. Marie Chippewa
3    1146-0 Sokoagon ChippewaSokoagon Chippewa
3    1147-8 Turtle MountainTurtle Mountain
3    1148-6 White EarthWhite Earth
3    1151-0 Rocky Boy's Chippewa CreeRocky Boy's Chippewa Cree
3    1156-9 Clifton ChoctawClifton Choctaw
3    1157-7 Jena ChoctawJena Choctaw
3    1158-5 Mississippi ChoctawMississippi Choctaw
3    1159-3 Mowa Band of ChoctawMowa Band of Choctaw
3    1160-1 Oklahoma ChoctawOklahoma Choctaw
3    1163-5 Santa YnezSanta Ynez
3    1176-7 Oklahoma ComancheOklahoma Comanche
3    1187-4 Alabama CoushattaAlabama Coushatta
3    1194-0 Alabama CreekAlabama Creek
3    1195-7 Alabama QuassarteAlabama Quassarte
3    1196-5 Eastern CreekEastern Creek
3    1197-3 Eastern MuscogeeEastern Muscogee
3    1198-1 KialegeeKialegee
3    1199-9 Lower MuscogeeLower Muscogee
3    1200-5 Machis Lower Creek IndianMachis Lower Creek Indian
3    1201-3 Poarch BandPoarch Band
3    1202-1 Principal Creek Indian NationPrincipal Creek Indian Nation
3    1203-9 Star Clan of Muscogee CreeksStar Clan of Muscogee Creeks
3    1204-7 ThlopthloccoThlopthlocco
3    1205-4 TuckabacheeTuckabachee
3    1212-0 Agua CalienteAgua Caliente
3    1215-3 Eastern DelawareEastern Delaware
3    1216-1 Lenni-LenapeLenni-Lenape
3    1217-9 MunseeMunsee
3    1218-7 Oklahoma DelawareOklahoma Delaware
3    1219-5 Rampough MountainRampough Mountain
3    1220-3 Sand HillSand Hill
3    1223-7 CampoCampo
3    1224-5 Capitan GrandeCapitan Grande
3    1225-2 CuyapaipeCuyapaipe
3    1226-0 La PostaLa Posta
3    1227-8 ManzanitaManzanita
3    1228-6 Mesa GrandeMesa Grande
3    1229-4 San PasqualSan Pasqual
3    1230-2 Santa YsabelSanta Ysabel
3    1231-0 SycuanSycuan
3    1234-4 AttacapaAttacapa
3    1235-1 BiloxiBiloxi
3    1236-9 Georgetown (Eastern Tribes)Georgetown (Eastern Tribes)
3    1237-7 MoorMoor
3    1238-5 NansemondNansemond
3    1239-3 NatchezNatchez
3    1240-1 Nausu WaiwashNausu Waiwash
3    1241-9 NipmucNipmuc
3    1242-7 PaugussettPaugussett
3    1243-5 Pocomoke AcohonockPocomoke Acohonock
3    1244-3 Southeastern IndiansSoutheastern Indians
3    1245-0 SusquehanockSusquehanock
3    1246-8 Tunica BiloxiTunica Biloxi
3    1247-6 Waccamaw-SiousanWaccamaw-Siousan
3    1248-4 WicomicoWicomico
3    1265-8 AtsinaAtsina
3    1272-4 TrinityTrinity
3    1273-2 WhilkutWhilkut
3    1282-3 Iowa of Kansas-NebraskaIowa of Kansas-Nebraska
3    1283-1 Iowa of OklahomaIowa of Oklahoma
3    1286-4 CayugaCayuga
3    1287-2 MohawkMohawk
3    1288-0 OneidaOneida
3    1289-8 OnondagaOnondaga
3    1290-6 SenecaSeneca
3    1291-4 Seneca NationSeneca Nation
3    1292-2 Seneca-CayugaSeneca-Cayuga
3    1293-0 Tonawanda SenecaTonawanda Seneca
3    1294-8 TuscaroraTuscarora
3    1295-5 WyandotteWyandotte
3    1306-0 Oklahoma KickapooOklahoma Kickapoo
3    1307-8 Texas KickapooTexas Kickapoo
3    1310-2 Oklahoma KiowaOklahoma Kiowa
3    1313-6 JamestownJamestown
3    1314-4 Lower ElwhaLower Elwha
3    1315-1 Port Gamble KlallamPort Gamble Klallam
3    1326-8 MatinecockMatinecock
3    1327-6 MontaukMontauk
3    1328-4 PoospatuckPoospatuck
3    1329-2 SetauketSetauket
3    1332-6 La JollaLa Jolla
3    1333-4 PalaPala
3    1334-2 PaumaPauma
3    1335-9 PechangaPechanga
3    1336-7 SobobaSoboba
3    1337-5 Twenty-Nine PalmsTwenty-Nine Palms
3    1338-3 TemeculaTemecula
3    1345-8 Mountain MaiduMountain Maidu
3    1346-6 NishinamNishinam
3    1359-9 Illinois MiamiIllinois Miami
3    1360-7 Indiana MiamiIndiana Miami
3    1361-5 Oklahoma MiamiOklahoma Miami
3    1366-4 AroostookAroostook
3    1383-9 Alamo NavajoAlamo Navajo
3    1384-7 Canoncito NavajoCanoncito Navajo
3    1385-4 Ramah NavajoRamah Navajo
3    1392-0 AlseaAlsea
3    1393-8 CeliloCelilo
3    1394-6 ColumbiaColumbia
3    1395-3 KalapuyaKalapuya
3    1396-1 MolalaMolala
3    1397-9 TalakamishTalakamish
3    1398-7 TeninoTenino
3    1399-5 TillamookTillamook
3    1400-1 WenatcheeWenatchee
3    1401-9 YahooskinYahooskin
3    1412-6 Burt Lake OttawaBurt Lake Ottawa
3    1413-4 Michigan OttawaMichigan Ottawa
3    1414-2 Oklahoma OttawaOklahoma Ottawa
3    1417-5 BishopBishop
3    1418-3 BridgeportBridgeport
3    1419-1 Burns PaiuteBurns Paiute
3    1420-9 CedarvilleCedarville
3    1421-7 Fort BidwellFort Bidwell
3    1422-5 Fort IndependenceFort Independence
3    1423-3 KaibabKaibab
3    1424-1 Las VegasLas Vegas
3    1425-8 Lone PineLone Pine
3    1426-6 LovelockLovelock
3    1427-4 Malheur PaiuteMalheur Paiute
3    1428-2 MoapaMoapa
3    1429-0 Northern PaiuteNorthern Paiute
3    1430-8 Owens ValleyOwens Valley
3    1431-6 Pyramid LakePyramid Lake
3    1432-4 San Juan Southern PaiuteSan Juan Southern Paiute
3    1433-2 Southern PaiuteSouthern Paiute
3    1434-0 Summit LakeSummit Lake
3    1435-7 Utu Utu Gwaitu PaiuteUtu Utu Gwaitu Paiute
3    1436-5 Walker RiverWalker River
3    1437-3 Yerington PaiuteYerington Paiute
3    1442-3 Indian TownshipIndian Township
3    1443-1 Pleasant Point PassamaquoddyPleasant Point Passamaquoddy
3    1446-4 Oklahoma PawneeOklahoma Pawnee
3    1451-4 Oklahoma PeoriaOklahoma Peoria
3    1454-8 Marshantucket PequotMarshantucket Pequot
3    1457-1 Gila River Pima-MaricopaGila River Pima-Maricopa
3    1458-9 Salt River Pima-MaricopaSalt River Pima-Maricopa
3    1465-4 Central PomoCentral Pomo
3    1466-2 Dry CreekDry Creek
3    1467-0 Eastern PomoEastern Pomo
3    1468-8 KashiaKashia
3    1469-6 Northern PomoNorthern Pomo
3    1470-4 Scotts ValleyScotts Valley
3    1471-2 StonyfordStonyford
3    1472-0 Sulphur BankSulphur Bank
3    1475-3 Nebraska PoncaNebraska Ponca
3    1476-1 Oklahoma PoncaOklahoma Ponca
3    1479-5 Citizen Band PotawatomiCitizen Band Potawatomi
3    1480-3 Forest CountyForest County
3    1481-1 HannahvilleHannahville
3    1482-9 Huron PotawatomiHuron Potawatomi
3    1483-7 Pokagon PotawatomiPokagon Potawatomi
3    1484-5 Prairie BandPrairie Band
3    1485-2 Wisconsin PotawatomiWisconsin Potawatomi
3    1490-2 AcomaAcoma
3    1491-0 Arizona TewaArizona Tewa
3    1492-8 CochitiCochiti
3    1493-6 HopiHopi
3    1494-4 IsletaIsleta
3    1495-1 JemezJemez
3    1496-9 KeresKeres
3    1497-7 LagunaLaguna
3    1498-5 NambeNambe
3    1499-3 PicurisPicuris
3    1500-8 PiroPiro
3    1501-6 PojoaquePojoaque
3    1502-4 San FelipeSan Felipe
3    1503-2 San IldefonsoSan Ildefonso
3    1504-0 San Juan PuebloSan Juan Pueblo
3    1505-7 San Juan DeSan Juan De
3    1506-5 San JuanSan Juan
3    1507-3 SandiaSandia
3    1508-1 Santa AnaSanta Ana
3    1509-9 Santa ClaraSanta Clara
3    1510-7 Santo DomingoSanto Domingo
3    1511-5 TaosTaos
3    1512-3 TesuqueTesuque
3    1513-1 TewaTewa
3    1514-9 TiguaTigua
3    1515-6 ZiaZia
3    1516-4 ZuniZuni
3    1519-8 DuwamishDuwamish
3    1520-6 KikiallusKikiallus
3    1521-4 Lower SkagitLower Skagit
3    1522-2 MuckleshootMuckleshoot
3    1523-0 NisquallyNisqually
3    1524-8 NooksackNooksack
3    1525-5 Port MadisonPort Madison
3    1526-3 PuyallupPuyallup
3    1527-1 SamishSamish
3    1528-9 Sauk-SuiattleSauk-Suiattle
3    1529-7 SkokomishSkokomish
3    1530-5 SkykomishSkykomish
3    1531-3 SnohomishSnohomish
3    1532-1 SnoqualmieSnoqualmie
3    1533-9 Squaxin IslandSquaxin Island
3    1534-7 SteilacoomSteilacoom
3    1535-4 StillaguamishStillaguamish
3    1536-2 SuquamishSuquamish
3    1537-0 SwinomishSwinomish
3    1538-8 TulalipTulalip
3    1539-6 Upper SkagitUpper Skagit
3    1552-9 Iowa Sac and FoxIowa Sac and Fox
3    1553-7 Missouri Sac and FoxMissouri Sac and Fox
3    1554-5 Oklahoma Sac and FoxOklahoma Sac and Fox
3    1567-7 Big CypressBig Cypress
3    1568-5 BrightonBrighton
3    1569-3 Florida SeminoleFlorida Seminole
3    1570-1 Hollywood SeminoleHollywood Seminole
3    1571-9 Oklahoma SeminoleOklahoma Seminole
3    1574-3 San ManualSan Manual
3    1579-2 Absentee ShawneeAbsentee Shawnee
3    1580-0 Eastern ShawneeEastern Shawnee
3    1587-5 Battle MountainBattle Mountain
3    1588-3 DuckwaterDuckwater
3    1589-1 ElkoElko
3    1590-9 ElyEly
3    1591-7 GoshuteGoshute
3    1592-5 PanamintPanamint
3    1593-3 Ruby ValleyRuby Valley
3    1594-1 Skull ValleySkull Valley
3    1595-8 South Fork ShoshoneSouth Fork Shoshone
3    1596-6 Te-Moak Western ShoshoneTe-Moak Western Shoshone
3    1597-4 Timbi-Sha ShoshoneTimbi-Sha Shoshone
3    1598-2 WashakieWashakie
3    1599-0 Wind River ShoshoneWind River Shoshone
3    1600-6 YombaYomba
3    1603-0 Duck ValleyDuck Valley
3    1604-8 FallonFallon
3    1605-5 Fort McDermittFort McDermitt
3    1610-5 Blackfoot SiouxBlackfoot Sioux
3    1611-3 Brule SiouxBrule Sioux
3    1612-1 Cheyenne River SiouxCheyenne River Sioux
3    1613-9 Crow Creek SiouxCrow Creek Sioux
3    1614-7 Dakota SiouxDakota Sioux
3    1615-4 Flandreau SanteeFlandreau Santee
3    1616-2 Fort PeckFort Peck
3    1617-0 Lake Traverse SiouxLake Traverse Sioux
3    1618-8 Lower Brule SiouxLower Brule Sioux
3    1619-6 Lower SiouxLower Sioux
3    1620-4 Mdewakanton SiouxMdewakanton Sioux
3    1621-2 MiniconjouMiniconjou
3    1622-0 Oglala SiouxOglala Sioux
3    1623-8 Pine Ridge SiouxPine Ridge Sioux
3    1624-6 Pipestone SiouxPipestone Sioux
3    1625-3 Prairie Island SiouxPrairie Island Sioux
3    1626-1 Prior Lake SiouxPrior Lake Sioux
3    1627-9 Rosebud SiouxRosebud Sioux
3    1628-7 Sans Arc SiouxSans Arc Sioux
3    1629-5 Santee SiouxSantee Sioux
3    1630-3 Sisseton-WahpetonSisseton-Wahpeton
3    1631-1 Sisseton SiouxSisseton Sioux
3    1632-9 Spirit Lake SiouxSpirit Lake Sioux
3    1633-7 Standing Rock SiouxStanding Rock Sioux
3    1634-5 Teton SiouxTeton Sioux
3    1635-2 Two Kettle SiouxTwo Kettle Sioux
3    1636-0 Upper SiouxUpper Sioux
3    1637-8 Wahpekute SiouxWahpekute Sioux
3    1638-6 Wahpeton SiouxWahpeton Sioux
3    1639-4 Wazhaza SiouxWazhaza Sioux
3    1640-2 Yankton SiouxYankton Sioux
3    1641-0 Yanktonai SiouxYanktonai Sioux
3    1654-3 Ak-ChinAk-Chin
3    1655-0 Gila BendGila Bend
3    1656-8 San XavierSan Xavier
3    1657-6 SellsSells
3    1668-3 Cow Creek UmpquaCow Creek Umpqua
3    1671-7 Allen CanyonAllen Canyon
3    1672-5 Uintah UteUintah Ute
3    1673-3 Ute Mountain UteUte Mountain Ute
3    1680-8 Gay Head WampanoagGay Head Wampanoag
3    1681-6 Mashpee WampanoagMashpee Wampanoag
3    1688-1 AlpineAlpine
3    1689-9 CarsonCarson
3    1690-7 DresslervilleDresslerville
3    1697-2 Ho-chunkHo-chunk
3    1698-0 Nebraska WinnebagoNebraska Winnebago
3    1705-3 Table BluffTable Bluff
3    1712-9 Barrio LibreBarrio Libre
3    1713-7 Pascua YaquiPascua Yaqui
3    1718-6 ChukchansiChukchansi
3    1719-4 TachiTachi
3    1720-2 Tule RiverTule River
3    1725-1 CocopahCocopah
3    1726-9 HavasupaiHavasupai
3    1727-7 HualapaiHualapai
3    1728-5 MaricopaMaricopa
3    1729-3 MohaveMohave
3    1730-1 QuechanQuechan
3    1731-9 YavapaiYavapai
3    1733-5 Coast YurokCoast Yurok
3    1737-6 Alaska IndianAlaska Indian
3    1840-8 EskimoEskimo
3    1966-1 AleutAleut
3    1739-2 Alaskan AthabascanAlaskan Athabascan
3    1811-9 Southeast AlaskaSoutheast Alaska
3    1740-0 AhtnaAhtna
3    1741-8 AlatnaAlatna
3    1742-6 AlexanderAlexander
3    1743-4 AllakaketAllakaket
3    1744-2 AlanvikAlanvik
3    1745-9 AnvikAnvik
3    1746-7 ArcticArctic
3    1747-5 BeaverBeaver
3    1748-3 Birch CreekBirch Creek
3    1749-1 CantwellCantwell
3    1750-9 ChalkyitsikChalkyitsik
3    1751-7 ChickaloonChickaloon
3    1752-5 ChistochinaChistochina
3    1753-3 ChitinaChitina
3    1754-1 CircleCircle
3    1755-8 Cook InletCook Inlet
3    1756-6 Copper CenterCopper Center
3    1757-4 Copper RiverCopper River
3    1758-2 Dot LakeDot Lake
3    1759-0 DoyonDoyon
3    1760-8 EagleEagle
3    1761-6 EklutnaEklutna
3    1762-4 EvansvilleEvansville
3    1763-2 Fort YukonFort Yukon
3    1764-0 GakonaGakona
3    1765-7 GalenaGalena
3    1766-5 GraylingGrayling
3    1767-3 GulkanaGulkana
3    1768-1 Healy LakeHealy Lake
3    1769-9 Holy CrossHoly Cross
3    1770-7 HughesHughes
3    1771-5 HusliaHuslia
3    1772-3 IliamnaIliamna
3    1773-1 KaltagKaltag
3    1774-9 Kluti KaahKluti Kaah
3    1775-6 KnikKnik
3    1776-4 KoyukukKoyukuk
3    1777-2 Lake MinchuminaLake Minchumina
3    1778-0 LimeLime
3    1779-8 McgrathMcgrath
3    1780-6 Manley Hot SpringsManley Hot Springs
3    1781-4 Mentasta LakeMentasta Lake
3    1782-2 MintoMinto
3    1783-0 NenanaNenana
3    1784-8 NikolaiNikolai
3    1785-5 NinilchikNinilchik
3    1786-3 NondaltonNondalton
3    1787-1 NorthwayNorthway
3    1788-9 NulatoNulato
3    1789-7 Pedro BayPedro Bay
3    1790-5 RampartRampart
3    1791-3 RubyRuby
3    1792-1 SalamatofSalamatof
3    1793-9 SeldoviaSeldovia
3    1794-7 SlanaSlana
3    1795-4 ShagelukShageluk
3    1796-2 StevensStevens
3    1797-0 Stony RiverStony River
3    1798-8 TakotnaTakotna
3    1799-6 TanacrossTanacross
3    1800-2 TanainaTanaina
3    1801-0 TananaTanana
3    1802-8 Tanana ChiefsTanana Chiefs
3    1803-6 TazlinaTazlina
3    1804-4 TelidaTelida
3    1805-1 TetlinTetlin
3    1806-9 TokTok
3    1807-7 TyonekTyonek
3    1808-5 VenetieVenetie
3    1809-3 WisemanWiseman
3    1813-5 Tlingit-HaidaTlingit-Haida
3    1837-4 TsimshianTsimshian
3    1814-3 AngoonAngoon
3    1815-0 Central Council of Tlingit and Haida TribesCentral Council of Tlingit and Haida Tribes
3    1816-8 ChilkatChilkat
3    1817-6 ChilkootChilkoot
3    1818-4 CraigCraig
3    1819-2 DouglasDouglas
3    1820-0 HaidaHaida
3    1821-8 HoonahHoonah
3    1822-6 HydaburgHydaburg
3    1823-4 KakeKake
3    1824-2 KasaanKasaan
3    1825-9 KenaitzeKenaitze
3    1826-7 KetchikanKetchikan
3    1827-5 KlawockKlawock
3    1828-3 PelicanPelican
3    1829-1 PetersburgPetersburg
3    1830-9 SaxmanSaxman
3    1831-7 SitkaSitka
3    1832-5 Tenakee SpringsTenakee Springs
3    1833-3 TlingitTlingit
3    1834-1 WrangellWrangell
3    1835-8 YakutatYakutat
3    1838-2 MetlakatlaMetlakatla
3    1842-4 Greenland EskimoGreenland Eskimo
3    1844-0 Inupiat EskimoInupiat Eskimo
3    1891-1 Siberian EskimoSiberian Eskimo
3    1896-0 Yupik EskimoYupik Eskimo
3    1845-7 AmblerAmbler
3    1846-5 AnaktuvukAnaktuvuk
3    1847-3 Anaktuvuk PassAnaktuvuk Pass
3    1848-1 Arctic Slope InupiatArctic Slope Inupiat
3    1849-9 Arctic Slope CorporationArctic Slope Corporation
3    1850-7 AtqasukAtqasuk
3    1851-5 BarrowBarrow
3    1852-3 Bering Straits InupiatBering Straits Inupiat
3    1853-1 Brevig MissionBrevig Mission
3    1854-9 BucklandBuckland
3    1855-6 ChinikChinik
3    1856-4 CouncilCouncil
3    1857-2 DeeringDeering
3    1858-0 ElimElim
3    1859-8 GolovinGolovin
3    1860-6 Inalik DiomedeInalik Diomede
3    1861-4 InupiaqInupiaq
3    1862-2 KaktovikKaktovik
3    1863-0 KawerakKawerak
3    1864-8 KianaKiana
3    1865-5 KivalinaKivalina
3    1866-3 KobukKobuk
3    1867-1 KotzebueKotzebue
3    1868-9 KoyukKoyuk
3    1869-7 KwigukKwiguk
3    1870-5 Mauneluk InupiatMauneluk Inupiat
3    1871-3 Nana InupiatNana Inupiat
3    1872-1 NoatakNoatak
3    1873-9 NomeNome
3    1874-7 NoorvikNoorvik
3    1875-4 NuiqsutNuiqsut
3    1876-2 Point HopePoint Hope
3    1877-0 Point LayPoint Lay
3    1878-8 SelawikSelawik
3    1879-6 ShaktoolikShaktoolik
3    1880-4 ShishmarefShishmaref
3    1881-2 ShungnakShungnak
3    1882-0 SolomonSolomon
3    1883-8 TellerTeller
3    1884-6 UnalakleetUnalakleet
3    1885-3 WainwrightWainwright
3    1886-1 WalesWales
3    1887-9 White MountainWhite Mountain
3    1888-7 White Mountain InupiatWhite Mountain Inupiat
3    1889-5 Mary's IglooMary's Igloo
3    1892-9 GambellGambell
3    1893-7 SavoongaSavoonga
3    1894-5 Siberian YupikSiberian Yupik
3    1897-8 AkiachakAkiachak
3    1898-6 AkiakAkiak
3    1899-4 AlakanukAlakanuk
3    1900-0 AleknagikAleknagik
3    1901-8 AndreafskyAndreafsky
3    1902-6 AniakAniak
3    1903-4 AtmautluakAtmautluak
3    1904-2 BethelBethel
3    1905-9 Bill Moore's SloughBill Moore's Slough
3    1906-7 Bristol Bay YupikBristol Bay Yupik
3    1907-5 Calista YupikCalista Yupik
3    1908-3 ChefornakChefornak
3    1909-1 ChevakChevak
3    1910-9 ChuathbalukChuathbaluk
3    1911-7 Clark's PointClark's Point
3    1912-5 Crooked CreekCrooked Creek
3    1913-3 DillinghamDillingham
3    1914-1 EekEek
3    1915-8 EkukEkuk
3    1916-6 EkwokEkwok
3    1917-4 EmmonakEmmonak
3    1918-2 Goodnews BayGoodnews Bay
3    1919-0 Hooper BayHooper Bay
3    1920-8 Iqurmuit (Russian Mission)Iqurmuit (Russian Mission)
3    1921-6 KalskagKalskag
3    1922-4 KasiglukKasigluk
3    1923-2 KipnukKipnuk
3    1924-0 KoliganekKoliganek
3    1925-7 KongiganakKongiganak
3    1926-5 KotlikKotlik
3    1927-3 KwethlukKwethluk
3    1928-1 KwigillingokKwigillingok
3    1929-9 LevelockLevelock
3    1930-7 Lower KalskagLower Kalskag
3    1931-5 ManokotakManokotak
3    1932-3 MarshallMarshall
3    1933-1 MekoryukMekoryuk
3    1934-9 Mountain VillageMountain Village
3    1935-6 NaknekNaknek
3    1936-4 NapaumuteNapaumute
3    1937-2 NapakiakNapakiak
3    1938-0 NapaskiakNapaskiak
3    1939-8 NewhalenNewhalen
3    1940-6 New StuyahokNew Stuyahok
3    1941-4 NewtokNewtok
3    1942-2 NightmuteNightmute
3    1943-0 NunapitchukvNunapitchukv
3    1944-8 OscarvilleOscarville
3    1945-5 Pilot StationPilot Station
3    1946-3 Pitkas PointPitkas Point
3    1947-1 PlatinumPlatinum
3    1948-9 Portage CreekPortage Creek
3    1949-7 QuinhagakQuinhagak
3    1950-5 Red DevilRed Devil
3    1951-3 St. MichaelSt. Michael
3    1952-1 Scammon BayScammon Bay
3    1953-9 Sheldon's PointSheldon's Point
3    1954-7 SleetmuteSleetmute
3    1955-4 StebbinsStebbins
3    1956-2 TogiakTogiak
3    1957-0 ToksookToksook
3    1958-8 TulukskakTulukskak
3    1959-6 TuntutuliakTuntutuliak
3    1960-4 TununakTununak
3    1961-2 Twin HillsTwin Hills
3    1962-0 Georgetown (Yupik-Eskimo)Georgetown (Yupik-Eskimo)
3    1963-8 St. Mary'sSt. Mary's
3    1964-6 UmkumiateUmkumiate
3    1968-7 Alutiiq AleutAlutiiq Aleut
3    1972-9 Bristol Bay AleutBristol Bay Aleut
3    1984-4 Chugach AleutChugach Aleut
3    1990-1 EyakEyak
3    1992-7 Koniag AleutKoniag Aleut
3    2002-4 SugpiaqSugpiaq
3    2004-0 SuqpigaqSuqpigaq
3    2006-5 Unangan AleutUnangan Aleut
3    1969-5 TatitlekTatitlek
3    1970-3 UgashikUgashik
3    1973-7 ChignikChignik
3    1974-5 Chignik LakeChignik Lake
3    1975-2 EgegikEgegik
3    1976-0 IgiugigIgiugig
3    1977-8 Ivanof BayIvanof Bay
3    1978-6 King SalmonKing Salmon
3    1979-4 KokhanokKokhanok
3    1980-2 PerryvillePerryville
3    1981-0 Pilot PointPilot Point
3    1982-8 Port HeidenPort Heiden
3    1985-1 ChenegaChenega
3    1986-9 Chugach CorporationChugach Corporation
3    1987-7 English BayEnglish Bay
3    1988-5 Port GrahamPort Graham
3    1993-5 AkhiokAkhiok
3    1994-3 AgdaaguxAgdaagux
3    1995-0 KarlukKarluk
3    1996-8 KodiakKodiak
3    1997-6 Larsen BayLarsen Bay
3    1998-4 Old HarborOld Harbor
3    1999-2 OuzinkieOuzinkie
3    2000-8 Port LionsPort Lions
3    2007-3 AkutanAkutan
3    2008-1 Aleut CorporationAleut Corporation
3    2009-9 AleutianAleutian
3    2010-7 Aleutian IslanderAleutian Islander
3    2011-5 AtkaAtka
3    2012-3 BelkofskiBelkofski
3    2013-1 Chignik LagoonChignik Lagoon
3    2014-9 King CoveKing Cove
3    2015-6 False PassFalse Pass
3    2016-4 Nelson LagoonNelson Lagoon
3    2017-2 NikolskiNikolski
3    2018-0 Pauloff HarborPauloff Harbor
3    2019-8 Qagan ToyagunginQagan Toyagungin
3    2020-6 QawalanginQawalangin
3    2021-4 St. GeorgeSt. George
3    2022-2 St. PaulSt. Paul
3    2023-0 Sand PointSand Point
3    2024-8 South NaknekSouth Naknek
3    2025-5 UnalaskaUnalaska
3    2026-3 UngaUnga
2  2028-9 AsianAsian
3    2029-7 Asian IndianAsian Indian
3    2030-5 BangladeshiBangladeshi
3    2031-3 BhutaneseBhutanese
3    2032-1 BurmeseBurmese
3    2033-9 CambodianCambodian
3    2034-7 ChineseChinese
3    2035-4 TaiwaneseTaiwanese
3    2036-2 FilipinoFilipino
3    2037-0 HmongHmong
3    2038-8 IndonesianIndonesian
3    2039-6 JapaneseJapanese
3    2040-4 KoreanKorean
3    2041-2 LaotianLaotian
3    2042-0 MalaysianMalaysian
3    2043-8 OkinawanOkinawan
3    2044-6 PakistaniPakistani
3    2045-3 Sri LankanSri Lankan
3    2046-1 ThaiThai
3    2047-9 VietnameseVietnamese
3    2048-7 Iwo JimanIwo Jiman
3    2049-5 MaldivianMaldivian
3    2050-3 NepaleseNepalese
3    2051-1 SingaporeanSingaporean
3    2052-9 MadagascarMadagascar
2  2054-5 Black or African AmericanBlack or African American
3    2056-0 BlackBlack
3    2058-6 African AmericanAfrican American
3    2060-2 AfricanAfrican
3    2067-7 BahamianBahamian
3    2068-5 BarbadianBarbadian
3    2069-3 DominicanDominican
3    2070-1 Dominica IslanderDominica Islander
3    2071-9 HaitianHaitian
3    2072-7 JamaicanJamaican
3    2073-5 TobagoanTobagoan
3    2074-3 TrinidadianTrinidadian
3    2075-0 West IndianWest Indian
3    2061-0 BotswananBotswanan
3    2062-8 EthiopianEthiopian
3    2063-6 LiberianLiberian
3    2064-4 NamibianNamibian
3    2065-1 NigerianNigerian
3    2066-9 ZaireanZairean
2  2076-8 Native Hawaiian or Other Pacific IslanderNative Hawaiian or Other Pacific Islander
3    2078-4 PolynesianPolynesian
3    2085-9 MicronesianMicronesian
3    2100-6 MelanesianMelanesian
3    2500-7 Other Pacific IslanderOther Pacific Islander
3    2079-2 Native HawaiianNative Hawaiian
3    2080-0 SamoanSamoan
3    2081-8 TahitianTahitian
3    2082-6 TonganTongan
3    2083-4 TokelauanTokelauan
3    2086-7 Guamanian or ChamorroGuamanian or Chamorro
3    2087-5 GuamanianGuamanian
3    2088-3 ChamorroChamorro
3    2089-1 Mariana IslanderMariana Islander
3    2090-9 MarshalleseMarshallese
3    2091-7 PalauanPalauan
3    2092-5 CarolinianCarolinian
3    2093-3 KosraeanKosraean
3    2094-1 PohnpeianPohnpeian
3    2095-8 SaipaneseSaipanese
3    2096-6 KiribatiKiribati
3    2097-4 ChuukeseChuukese
3    2098-2 YapeseYapese
3    2101-4 FijianFijian
3    2102-2 Papua New GuineanPapua New Guinean
3    2103-0 Solomon IslanderSolomon Islander
3    2104-8 New HebridesNew Hebrides
2  2106-3 WhiteWhite
3    2108-9 EuropeanEuropean
3    2118-8 Middle Eastern or North AfricanMiddle Eastern or North African
3    2129-5 ArabArab
3    2109-7 ArmenianArmenian
3    2110-5 EnglishEnglish
3    2111-3 FrenchFrench
3    2112-1 GermanGerman
3    2113-9 IrishIrish
3    2114-7 ItalianItalian
3    2115-4 PolishPolish
3    2116-2 ScottishScottish
3    2119-6 AssyrianAssyrian
3    2120-4 EgyptianEgyptian
3    2121-2 IranianIranian
3    2122-0 IraqiIraqi
3    2123-8 LebaneseLebanese
3    2124-6 PalestinianPalestinian
3    2125-3 SyrianSyrian
3    2126-1 AfghanistaniAfghanistani
3    2127-9 IsraeiliIsraeili
2  2131-1 Other RaceNote that this term remains in the table for completeness, even though within HL7, the notion of Other code is deprecated.
12133-7 EthnicityEthnicity
2  2135-2 Hispanic or LatinoHispanic or Latino
3    2137-8 SpaniardSpaniard
3    2148-5 MexicanMexican
3    2155-0 Central AmericanCentral American
3    2165-9 South AmericanSouth American
3    2178-2 Latin AmericanLatin American
3    2180-8 Puerto RicanPuerto Rican
3    2182-4 CubanCuban
3    2184-0 DominicanDominican
3    2138-6 AndalusianAndalusian
3    2139-4 AsturianAsturian
3    2140-2 CastillianCastillian
3    2141-0 CatalonianCatalonian
3    2142-8 Belearic IslanderBelearic Islander
3    2143-6 GallegoGallego
3    2144-4 ValencianValencian
3    2145-1 CanarianCanarian
3    2146-9 Spanish BasqueSpanish Basque
3    2149-3 Mexican AmericanMexican American
3    2150-1 MexicanoMexicano
3    2151-9 ChicanoChicano
3    2152-7 La RazaLa Raza
3    2153-5 Mexican American IndianMexican American Indian
3    2156-8 Costa RicanCosta Rican
3    2157-6 GuatemalanGuatemalan
3    2158-4 HonduranHonduran
3    2159-2 NicaraguanNicaraguan
3    2160-0 PanamanianPanamanian
3    2161-8 SalvadoranSalvadoran
3    2162-6 Central American IndianCentral American Indian
3    2163-4 Canal ZoneCanal Zone
3    2166-7 ArgentineanArgentinean
3    2167-5 BolivianBolivian
3    2168-3 ChileanChilean
3    2169-1 ColombianColombian
3    2170-9 EcuadorianEcuadorian
3    2171-7 ParaguayanParaguayan
3    2172-5 PeruvianPeruvian
3    2173-3 UruguayanUruguayan
3    2174-1 VenezuelanVenezuelan
3    2175-8 South American IndianSouth American Indian
3    2176-6 CriolloCriollo
2  2186-5 Not Hispanic or LatinoNote that this term remains in the table for completeness, even though within HL7, the notion of "not otherwise coded" term is deprecated.
" + }, + "url": "urn:oid:2.16.840.1.113883.6.238", + "identifier": { + "value": "2.16.840.1.113883.6.238" + }, + "version": "2.0.0", + "name": "Race And Ethnicity - CDC", + "title": "Race & Ethnicity - CDC", + "status": "active", + "experimental": false, + "date": "2017-02-28T00:00:00+11:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org" + } + ] + } + ], + "description": " The U.S. Centers for Disease Control and Prevention (CDC) has prepared a code set for use in coding race and ethnicity data. This code set is based on current federal standards for classifying data on race and ethnicity, specifically the minimum race and ethnicity categories defined by the U.S. Office of Management and Budget (OMB) and a more detailed set of race and ethnicity categories maintained by the U.S. Bureau of the Census (BC). The main purpose of the code set is to facilitate use of federal standards for classifying data on race and ethnicity when these data are exchanged, stored, retrieved, or analyzed in electronic form. At the same time, the code set can be applied to paper-based record systems to the extent that these systems are used to collect, maintain, and report data on race and ethnicity in accordance with current federal standards. Source: [Race and Ethnicity Code Set Version 1.0](https://www.cdc.gov/phin/resources/vocabulary/documents/cdc-race--ethnicity-background-and-purpose.pdf)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "caseSensitive": true, + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/cdcrec", + "hierarchyMeaning": "is-a", + "content": "complete", + "count": 966, + "concept": [ + { + "code": "1000-9", + "display": "Race", + "definition": "Race", + "concept": [ + { + "code": "1002-5", + "display": "American Indian or Alaska Native", + "definition": "American Indian or Alaska Native", + "concept": [ + { + "code": "1004-1", + "display": "American Indian", + "definition": "American Indian" + }, + { + "code": "1735-0", + "display": "Alaska Native", + "definition": "Alaska Native" + }, + { + "code": "1006-6", + "display": "Abenaki", + "definition": "Abenaki" + }, + { + "code": "1008-2", + "display": "Algonquian", + "definition": "Algonquian" + }, + { + "code": "1010-8", + "display": "Apache", + "definition": "Apache" + }, + { + "code": "1021-5", + "display": "Arapaho", + "definition": "Arapaho" + }, + { + "code": "1026-4", + "display": "Arikara", + "definition": "Arikara" + }, + { + "code": "1028-0", + "display": "Assiniboine", + "definition": "Assiniboine" + }, + { + "code": "1030-6", + "display": "Assiniboine Sioux", + "definition": "Assiniboine Sioux" + }, + { + "code": "1033-0", + "display": "Bannock", + "definition": "Bannock" + }, + { + "code": "1035-5", + "display": "Blackfeet", + "definition": "Blackfeet" + }, + { + "code": "1037-1", + "display": "Brotherton", + "definition": "Brotherton" + }, + { + "code": "1039-7", + "display": "Burt Lake Band", + "definition": "Burt Lake Band" + }, + { + "code": "1041-3", + "display": "Caddo", + "definition": "Caddo" + }, + { + "code": "1044-7", + "display": "Cahuilla", + "definition": "Cahuilla" + }, + { + "code": "1053-8", + "display": "California Tribes", + "definition": "California Tribes" + }, + { + "code": "1068-6", + "display": "Canadian and Latin American Indian", + "definition": "Canadian and Latin American Indian" + }, + { + "code": "1076-9", + "display": "Catawba", + "definition": "Catawba" + }, + { + "code": "1078-5", + "display": "Cayuse", + "definition": "Cayuse" + }, + { + "code": "1080-1", + "display": "Chehalis", + "definition": "Chehalis" + }, + { + "code": "1082-7", + "display": "Chemakuan", + "definition": "Chemakuan" + }, + { + "code": "1086-8", + "display": "Chemehuevi", + "definition": "Chemehuevi" + }, + { + "code": "1088-4", + "display": "Cherokee", + "definition": "Cherokee" + }, + { + "code": "1100-7", + "display": "Cherokee Shawnee", + "definition": "Cherokee Shawnee" + }, + { + "code": "1102-3", + "display": "Cheyenne", + "definition": "Cheyenne" + }, + { + "code": "1106-4", + "display": "Cheyenne-Arapaho", + "definition": "Cheyenne-Arapaho" + }, + { + "code": "1108-0", + "display": "Chickahominy", + "definition": "Chickahominy" + }, + { + "code": "1112-2", + "display": "Chickasaw", + "definition": "Chickasaw" + }, + { + "code": "1114-8", + "display": "Chinook", + "definition": "Chinook" + }, + { + "code": "1123-9", + "display": "Chippewa", + "definition": "Chippewa" + }, + { + "code": "1150-2", + "display": "Chippewa Cree", + "definition": "Chippewa Cree" + }, + { + "code": "1153-6", + "display": "Chitimacha", + "definition": "Chitimacha" + }, + { + "code": "1155-1", + "display": "Choctaw", + "definition": "Choctaw" + }, + { + "code": "1162-7", + "display": "Chumash", + "definition": "Chumash" + }, + { + "code": "1165-0", + "display": "Clear Lake", + "definition": "Clear Lake" + }, + { + "code": "1167-6", + "display": "Coeur D'Alene", + "definition": "Coeur D'Alene" + }, + { + "code": "1169-2", + "display": "Coharie", + "definition": "Coharie" + }, + { + "code": "1171-8", + "display": "Colorado River", + "definition": "Colorado River" + }, + { + "code": "1173-4", + "display": "Colville", + "definition": "Colville" + }, + { + "code": "1175-9", + "display": "Comanche", + "definition": "Comanche" + }, + { + "code": "1178-3", + "display": "Coos, Lower Umpqua, Siuslaw", + "definition": "Coos, Lower Umpqua, Siuslaw" + }, + { + "code": "1180-9", + "display": "Coos", + "definition": "Coos" + }, + { + "code": "1182-5", + "display": "Coquilles", + "definition": "Coquilles" + }, + { + "code": "1184-1", + "display": "Costanoan", + "definition": "Costanoan" + }, + { + "code": "1186-6", + "display": "Coushatta", + "definition": "Coushatta" + }, + { + "code": "1189-0", + "display": "Cowlitz", + "definition": "Cowlitz" + }, + { + "code": "1191-6", + "display": "Cree", + "definition": "Cree" + }, + { + "code": "1193-2", + "display": "Creek", + "definition": "Creek" + }, + { + "code": "1207-0", + "display": "Croatan", + "definition": "Croatan" + }, + { + "code": "1209-6", + "display": "Crow", + "definition": "Crow" + }, + { + "code": "1211-2", + "display": "Cupeno", + "definition": "Cupeno" + }, + { + "code": "1214-6", + "display": "Delaware", + "definition": "Delaware" + }, + { + "code": "1222-9", + "display": "Diegueno", + "definition": "Diegueno" + }, + { + "code": "1233-6", + "display": "Eastern Tribes", + "definition": "Eastern Tribes" + }, + { + "code": "1250-0", + "display": "Esselen", + "definition": "Esselen" + }, + { + "code": "1252-6", + "display": "Fort Belknap", + "definition": "Fort Belknap" + }, + { + "code": "1254-2", + "display": "Fort Berthold", + "definition": "Fort Berthold" + }, + { + "code": "1256-7", + "display": "Fort Mcdowell", + "definition": "Fort Mcdowell" + }, + { + "code": "1258-3", + "display": "Fort Hall", + "definition": "Fort Hall" + }, + { + "code": "1260-9", + "display": "Gabrieleno", + "definition": "Gabrieleno" + }, + { + "code": "1262-5", + "display": "Grand Ronde", + "definition": "Grand Ronde" + }, + { + "code": "1264-1", + "display": "Gros Ventres", + "definition": "Gros Ventres" + }, + { + "code": "1267-4", + "display": "Haliwa", + "definition": "Haliwa" + }, + { + "code": "1269-0", + "display": "Hidatsa", + "definition": "Hidatsa" + }, + { + "code": "1271-6", + "display": "Hoopa", + "definition": "Hoopa" + }, + { + "code": "1275-7", + "display": "Hoopa Extension", + "definition": "Hoopa Extension" + }, + { + "code": "1277-3", + "display": "Houma", + "definition": "Houma" + }, + { + "code": "1279-9", + "display": "Inaja-Cosmit", + "definition": "Inaja-Cosmit" + }, + { + "code": "1281-5", + "display": "Iowa", + "definition": "Iowa" + }, + { + "code": "1285-6", + "display": "Iroquois", + "definition": "Iroquois" + }, + { + "code": "1297-1", + "display": "Juaneno", + "definition": "Juaneno" + }, + { + "code": "1299-7", + "display": "Kalispel", + "definition": "Kalispel" + }, + { + "code": "1301-1", + "display": "Karuk", + "definition": "Karuk" + }, + { + "code": "1303-7", + "display": "Kaw", + "definition": "Kaw" + }, + { + "code": "1305-2", + "display": "Kickapoo", + "definition": "Kickapoo" + }, + { + "code": "1309-4", + "display": "Kiowa", + "definition": "Kiowa" + }, + { + "code": "1312-8", + "display": "Klallam", + "definition": "Klallam" + }, + { + "code": "1317-7", + "display": "Klamath", + "definition": "Klamath" + }, + { + "code": "1319-3", + "display": "Konkow", + "definition": "Konkow" + }, + { + "code": "1321-9", + "display": "Kootenai", + "definition": "Kootenai" + }, + { + "code": "1323-5", + "display": "Lassik", + "definition": "Lassik" + }, + { + "code": "1325-0", + "display": "Long Island", + "definition": "Long Island" + }, + { + "code": "1331-8", + "display": "Luiseno", + "definition": "Luiseno" + }, + { + "code": "1340-9", + "display": "Lumbee", + "definition": "Lumbee" + }, + { + "code": "1342-5", + "display": "Lummi", + "definition": "Lummi" + }, + { + "code": "1344-1", + "display": "Maidu", + "definition": "Maidu" + }, + { + "code": "1348-2", + "display": "Makah", + "definition": "Makah" + }, + { + "code": "1350-8", + "display": "Maliseet", + "definition": "Maliseet" + }, + { + "code": "1352-4", + "display": "Mandan", + "definition": "Mandan" + }, + { + "code": "1354-0", + "display": "Mattaponi", + "definition": "Mattaponi" + }, + { + "code": "1356-5", + "display": "Menominee", + "definition": "Menominee" + }, + { + "code": "1358-1", + "display": "Miami", + "definition": "Miami" + }, + { + "code": "1363-1", + "display": "Miccosukee", + "definition": "Miccosukee" + }, + { + "code": "1365-6", + "display": "Micmac", + "definition": "Micmac" + }, + { + "code": "1368-0", + "display": "Mission Indians", + "definition": "Mission Indians" + }, + { + "code": "1370-6", + "display": "Miwok", + "definition": "Miwok" + }, + { + "code": "1372-2", + "display": "Modoc", + "definition": "Modoc" + }, + { + "code": "1374-8", + "display": "Mohegan", + "definition": "Mohegan" + }, + { + "code": "1376-3", + "display": "Mono", + "definition": "Mono" + }, + { + "code": "1378-9", + "display": "Nanticoke", + "definition": "Nanticoke" + }, + { + "code": "1380-5", + "display": "Narragansett", + "definition": "Narragansett" + }, + { + "code": "1382-1", + "display": "Navajo", + "definition": "Navajo" + }, + { + "code": "1387-0", + "display": "Nez Perce", + "definition": "Nez Perce" + }, + { + "code": "1389-6", + "display": "Nomalaki", + "definition": "Nomalaki" + }, + { + "code": "1391-2", + "display": "Northwest Tribes", + "definition": "Northwest Tribes" + }, + { + "code": "1403-5", + "display": "Omaha", + "definition": "Omaha" + }, + { + "code": "1405-0", + "display": "Oregon Athabaskan", + "definition": "Oregon Athabaskan" + }, + { + "code": "1407-6", + "display": "Osage", + "definition": "Osage" + }, + { + "code": "1409-2", + "display": "Otoe-Missouria", + "definition": "Otoe-Missouria" + }, + { + "code": "1411-8", + "display": "Ottawa", + "definition": "Ottawa" + }, + { + "code": "1416-7", + "display": "Paiute", + "definition": "Paiute" + }, + { + "code": "1439-9", + "display": "Pamunkey", + "definition": "Pamunkey" + }, + { + "code": "1441-5", + "display": "Passamaquoddy", + "definition": "Passamaquoddy" + }, + { + "code": "1445-6", + "display": "Pawnee", + "definition": "Pawnee" + }, + { + "code": "1448-0", + "display": "Penobscot", + "definition": "Penobscot" + }, + { + "code": "1450-6", + "display": "Peoria", + "definition": "Peoria" + }, + { + "code": "1453-0", + "display": "Pequot", + "definition": "Pequot" + }, + { + "code": "1456-3", + "display": "Pima", + "definition": "Pima" + }, + { + "code": "1460-5", + "display": "Piscataway", + "definition": "Piscataway" + }, + { + "code": "1462-1", + "display": "Pit River", + "definition": "Pit River" + }, + { + "code": "1464-7", + "display": "Pomo", + "definition": "Pomo" + }, + { + "code": "1474-6", + "display": "Ponca", + "definition": "Ponca" + }, + { + "code": "1478-7", + "display": "Potawatomi", + "definition": "Potawatomi" + }, + { + "code": "1487-8", + "display": "Powhatan", + "definition": "Powhatan" + }, + { + "code": "1489-4", + "display": "Pueblo", + "definition": "Pueblo" + }, + { + "code": "1518-0", + "display": "Puget Sound Salish", + "definition": "Puget Sound Salish" + }, + { + "code": "1541-2", + "display": "Quapaw", + "definition": "Quapaw" + }, + { + "code": "1543-8", + "display": "Quinault", + "definition": "Quinault" + }, + { + "code": "1545-3", + "display": "Rappahannock", + "definition": "Rappahannock" + }, + { + "code": "1547-9", + "display": "Reno-Sparks", + "definition": "Reno-Sparks" + }, + { + "code": "1549-5", + "display": "Round Valley", + "definition": "Round Valley" + }, + { + "code": "1551-1", + "display": "Sac and Fox", + "definition": "Sac and Fox" + }, + { + "code": "1556-0", + "display": "Salinan", + "definition": "Salinan" + }, + { + "code": "1558-6", + "display": "Salish", + "definition": "Salish" + }, + { + "code": "1560-2", + "display": "Salish and Kootenai", + "definition": "Salish and Kootenai" + }, + { + "code": "1562-8", + "display": "Schaghticoke", + "definition": "Schaghticoke" + }, + { + "code": "1564-4", + "display": "Scott Valley", + "definition": "Scott Valley" + }, + { + "code": "1566-9", + "display": "Seminole", + "definition": "Seminole" + }, + { + "code": "1573-5", + "display": "Serrano", + "definition": "Serrano" + }, + { + "code": "1576-8", + "display": "Shasta", + "definition": "Shasta" + }, + { + "code": "1578-4", + "display": "Shawnee", + "definition": "Shawnee" + }, + { + "code": "1582-6", + "display": "Shinnecock", + "definition": "Shinnecock" + }, + { + "code": "1584-2", + "display": "Shoalwater Bay", + "definition": "Shoalwater Bay" + }, + { + "code": "1586-7", + "display": "Shoshone", + "definition": "Shoshone" + }, + { + "code": "1602-2", + "display": "Shoshone Paiute", + "definition": "Shoshone Paiute" + }, + { + "code": "1607-1", + "display": "Siletz", + "definition": "Siletz" + }, + { + "code": "1609-7", + "display": "Sioux", + "definition": "Sioux" + }, + { + "code": "1643-6", + "display": "Siuslaw", + "definition": "Siuslaw" + }, + { + "code": "1645-1", + "display": "Spokane", + "definition": "Spokane" + }, + { + "code": "1647-7", + "display": "Stewart", + "definition": "Stewart" + }, + { + "code": "1649-3", + "display": "Stockbridge", + "definition": "Stockbridge" + }, + { + "code": "1651-9", + "display": "Susanville", + "definition": "Susanville" + }, + { + "code": "1653-5", + "display": "Tohono O'Odham", + "definition": "Tohono O'Odham" + }, + { + "code": "1659-2", + "display": "Tolowa", + "definition": "Tolowa" + }, + { + "code": "1661-8", + "display": "Tonkawa", + "definition": "Tonkawa" + }, + { + "code": "1663-4", + "display": "Tygh", + "definition": "Tygh" + }, + { + "code": "1665-9", + "display": "Umatilla", + "definition": "Umatilla" + }, + { + "code": "1667-5", + "display": "Umpqua", + "definition": "Umpqua" + }, + { + "code": "1670-9", + "display": "Ute", + "definition": "Ute" + }, + { + "code": "1675-8", + "display": "Wailaki", + "definition": "Wailaki" + }, + { + "code": "1677-4", + "display": "Walla-Walla", + "definition": "Walla-Walla" + }, + { + "code": "1679-0", + "display": "Wampanoag", + "definition": "Wampanoag" + }, + { + "code": "1683-2", + "display": "Warm Springs", + "definition": "Warm Springs" + }, + { + "code": "1685-7", + "display": "Wascopum", + "definition": "Wascopum" + }, + { + "code": "1687-3", + "display": "Washoe", + "definition": "Washoe" + }, + { + "code": "1692-3", + "display": "Wichita", + "definition": "Wichita" + }, + { + "code": "1694-9", + "display": "Wind River", + "definition": "Wind River" + }, + { + "code": "1696-4", + "display": "Winnebago", + "definition": "Winnebago" + }, + { + "code": "1700-4", + "display": "Winnemucca", + "definition": "Winnemucca" + }, + { + "code": "1702-0", + "display": "Wintun", + "definition": "Wintun" + }, + { + "code": "1704-6", + "display": "Wiyot", + "definition": "Wiyot" + }, + { + "code": "1707-9", + "display": "Yakama", + "definition": "Yakama" + }, + { + "code": "1709-5", + "display": "Yakama Cowlitz", + "definition": "Yakama Cowlitz" + }, + { + "code": "1711-1", + "display": "Yaqui", + "definition": "Yaqui" + }, + { + "code": "1715-2", + "display": "Yavapai Apache", + "definition": "Yavapai Apache" + }, + { + "code": "1717-8", + "display": "Yokuts", + "definition": "Yokuts" + }, + { + "code": "1722-8", + "display": "Yuchi", + "definition": "Yuchi" + }, + { + "code": "1724-4", + "display": "Yuman", + "definition": "Yuman" + }, + { + "code": "1732-7", + "display": "Yurok", + "definition": "Yurok" + }, + { + "code": "1011-6", + "display": "Chiricahua", + "definition": "Chiricahua" + }, + { + "code": "1012-4", + "display": "Fort Sill Apache", + "definition": "Fort Sill Apache" + }, + { + "code": "1013-2", + "display": "Jicarilla Apache", + "definition": "Jicarilla Apache" + }, + { + "code": "1014-0", + "display": "Lipan Apache", + "definition": "Lipan Apache" + }, + { + "code": "1015-7", + "display": "Mescalero Apache", + "definition": "Mescalero Apache" + }, + { + "code": "1016-5", + "display": "Oklahoma Apache", + "definition": "Oklahoma Apache" + }, + { + "code": "1017-3", + "display": "Payson Apache", + "definition": "Payson Apache" + }, + { + "code": "1018-1", + "display": "San Carlos Apache", + "definition": "San Carlos Apache" + }, + { + "code": "1019-9", + "display": "White Mountain Apache", + "definition": "White Mountain Apache" + }, + { + "code": "1022-3", + "display": "Northern Arapaho", + "definition": "Northern Arapaho" + }, + { + "code": "1023-1", + "display": "Southern Arapaho", + "definition": "Southern Arapaho" + }, + { + "code": "1024-9", + "display": "Wind River Arapaho", + "definition": "Wind River Arapaho" + }, + { + "code": "1031-4", + "display": "Fort Peck Assiniboine Sioux", + "definition": "Fort Peck Assiniboine Sioux" + }, + { + "code": "1042-1", + "display": "Oklahoma Cado", + "definition": "Oklahoma Cado" + }, + { + "code": "1045-4", + "display": "Agua Caliente Cahuilla", + "definition": "Agua Caliente Cahuilla" + }, + { + "code": "1046-2", + "display": "Augustine", + "definition": "Augustine" + }, + { + "code": "1047-0", + "display": "Cabazon", + "definition": "Cabazon" + }, + { + "code": "1048-8", + "display": "Los Coyotes", + "definition": "Los Coyotes" + }, + { + "code": "1049-6", + "display": "Morongo", + "definition": "Morongo" + }, + { + "code": "1050-4", + "display": "Santa Rosa Cahuilla", + "definition": "Santa Rosa Cahuilla" + }, + { + "code": "1051-2", + "display": "Torres-Martinez", + "definition": "Torres-Martinez" + }, + { + "code": "1054-6", + "display": "Cahto", + "definition": "Cahto" + }, + { + "code": "1055-3", + "display": "Chimariko", + "definition": "Chimariko" + }, + { + "code": "1056-1", + "display": "Coast Miwok", + "definition": "Coast Miwok" + }, + { + "code": "1057-9", + "display": "Digger", + "definition": "Digger" + }, + { + "code": "1058-7", + "display": "Kawaiisu", + "definition": "Kawaiisu" + }, + { + "code": "1059-5", + "display": "Kern River", + "definition": "Kern River" + }, + { + "code": "1060-3", + "display": "Mattole", + "definition": "Mattole" + }, + { + "code": "1061-1", + "display": "Red Wood", + "definition": "Red Wood" + }, + { + "code": "1062-9", + "display": "Santa Rosa", + "definition": "Santa Rosa" + }, + { + "code": "1063-7", + "display": "Takelma", + "definition": "Takelma" + }, + { + "code": "1064-5", + "display": "Wappo", + "definition": "Wappo" + }, + { + "code": "1065-2", + "display": "Yana", + "definition": "Yana" + }, + { + "code": "1066-0", + "display": "Yuki", + "definition": "Yuki" + }, + { + "code": "1069-4", + "display": "Canadian Indian", + "definition": "Canadian Indian" + }, + { + "code": "1070-2", + "display": "Central American Indian", + "definition": "Central American Indian" + }, + { + "code": "1071-0", + "display": "French American Indian", + "definition": "French American Indian" + }, + { + "code": "1072-8", + "display": "Mexican American Indian", + "definition": "Mexican American Indian" + }, + { + "code": "1073-6", + "display": "South American Indian", + "definition": "South American Indian" + }, + { + "code": "1074-4", + "display": "Spanish American Indian", + "definition": "Spanish American Indian" + }, + { + "code": "1083-5", + "display": "Hoh", + "definition": "Hoh" + }, + { + "code": "1084-3", + "display": "Quileute", + "definition": "Quileute" + }, + { + "code": "1089-2", + "display": "Cherokee Alabama", + "definition": "Cherokee Alabama" + }, + { + "code": "1090-0", + "display": "Cherokees of Northeast Alabama", + "definition": "Cherokees of Northeast Alabama" + }, + { + "code": "1091-8", + "display": "Cherokees of Southeast Alabama", + "definition": "Cherokees of Southeast Alabama" + }, + { + "code": "1092-6", + "display": "Eastern Cherokee", + "definition": "Eastern Cherokee" + }, + { + "code": "1093-4", + "display": "Echota Cherokee", + "definition": "Echota Cherokee" + }, + { + "code": "1094-2", + "display": "Etowah Cherokee", + "definition": "Etowah Cherokee" + }, + { + "code": "1095-9", + "display": "Northern Cherokee", + "definition": "Northern Cherokee" + }, + { + "code": "1096-7", + "display": "Tuscola", + "definition": "Tuscola" + }, + { + "code": "1097-5", + "display": "United Keetowah Band of Cherokee", + "definition": "United Keetowah Band of Cherokee" + }, + { + "code": "1098-3", + "display": "Western Cherokee", + "definition": "Western Cherokee" + }, + { + "code": "1103-1", + "display": "Northern Cheyenne", + "definition": "Northern Cheyenne" + }, + { + "code": "1104-9", + "display": "Southern Cheyenne", + "definition": "Southern Cheyenne" + }, + { + "code": "1109-8", + "display": "Eastern Chickahominy", + "definition": "Eastern Chickahominy" + }, + { + "code": "1110-6", + "display": "Western Chickahominy", + "definition": "Western Chickahominy" + }, + { + "code": "1115-5", + "display": "Clatsop", + "definition": "Clatsop" + }, + { + "code": "1116-3", + "display": "Columbia River Chinook", + "definition": "Columbia River Chinook" + }, + { + "code": "1117-1", + "display": "Kathlamet", + "definition": "Kathlamet" + }, + { + "code": "1118-9", + "display": "Upper Chinook", + "definition": "Upper Chinook" + }, + { + "code": "1119-7", + "display": "Wakiakum Chinook", + "definition": "Wakiakum Chinook" + }, + { + "code": "1120-5", + "display": "Willapa Chinook", + "definition": "Willapa Chinook" + }, + { + "code": "1121-3", + "display": "Wishram", + "definition": "Wishram" + }, + { + "code": "1124-7", + "display": "Bad River", + "definition": "Bad River" + }, + { + "code": "1125-4", + "display": "Bay Mills Chippewa", + "definition": "Bay Mills Chippewa" + }, + { + "code": "1126-2", + "display": "Bois Forte", + "definition": "Bois Forte" + }, + { + "code": "1127-0", + "display": "Burt Lake Chippewa", + "definition": "Burt Lake Chippewa" + }, + { + "code": "1128-8", + "display": "Fond du Lac", + "definition": "Fond du Lac" + }, + { + "code": "1129-6", + "display": "Grand Portage", + "definition": "Grand Portage" + }, + { + "code": "1130-4", + "display": "Grand Traverse Band of Ottawa/Chippewa", + "definition": "Grand Traverse Band of Ottawa/Chippewa" + }, + { + "code": "1131-2", + "display": "Keweenaw", + "definition": "Keweenaw" + }, + { + "code": "1132-0", + "display": "Lac Courte Oreilles", + "definition": "Lac Courte Oreilles" + }, + { + "code": "1133-8", + "display": "Lac du Flambeau", + "definition": "Lac du Flambeau" + }, + { + "code": "1134-6", + "display": "Lac Vieux Desert Chippewa", + "definition": "Lac Vieux Desert Chippewa" + }, + { + "code": "1135-3", + "display": "Lake Superior", + "definition": "Lake Superior" + }, + { + "code": "1136-1", + "display": "Leech Lake", + "definition": "Leech Lake" + }, + { + "code": "1137-9", + "display": "Little Shell Chippewa", + "definition": "Little Shell Chippewa" + }, + { + "code": "1138-7", + "display": "Mille Lacs", + "definition": "Mille Lacs" + }, + { + "code": "1139-5", + "display": "Minnesota Chippewa", + "definition": "Minnesota Chippewa" + }, + { + "code": "1140-3", + "display": "Ontonagon", + "definition": "Ontonagon" + }, + { + "code": "1141-1", + "display": "Red Cliff Chippewa", + "definition": "Red Cliff Chippewa" + }, + { + "code": "1142-9", + "display": "Red Lake Chippewa", + "definition": "Red Lake Chippewa" + }, + { + "code": "1143-7", + "display": "Saginaw Chippewa", + "definition": "Saginaw Chippewa" + }, + { + "code": "1144-5", + "display": "St. Croix Chippewa", + "definition": "St. Croix Chippewa" + }, + { + "code": "1145-2", + "display": "Sault Ste. Marie Chippewa", + "definition": "Sault Ste. Marie Chippewa" + }, + { + "code": "1146-0", + "display": "Sokoagon Chippewa", + "definition": "Sokoagon Chippewa" + }, + { + "code": "1147-8", + "display": "Turtle Mountain", + "definition": "Turtle Mountain" + }, + { + "code": "1148-6", + "display": "White Earth", + "definition": "White Earth" + }, + { + "code": "1151-0", + "display": "Rocky Boy's Chippewa Cree", + "definition": "Rocky Boy's Chippewa Cree" + }, + { + "code": "1156-9", + "display": "Clifton Choctaw", + "definition": "Clifton Choctaw" + }, + { + "code": "1157-7", + "display": "Jena Choctaw", + "definition": "Jena Choctaw" + }, + { + "code": "1158-5", + "display": "Mississippi Choctaw", + "definition": "Mississippi Choctaw" + }, + { + "code": "1159-3", + "display": "Mowa Band of Choctaw", + "definition": "Mowa Band of Choctaw" + }, + { + "code": "1160-1", + "display": "Oklahoma Choctaw", + "definition": "Oklahoma Choctaw" + }, + { + "code": "1163-5", + "display": "Santa Ynez", + "definition": "Santa Ynez" + }, + { + "code": "1176-7", + "display": "Oklahoma Comanche", + "definition": "Oklahoma Comanche" + }, + { + "code": "1187-4", + "display": "Alabama Coushatta", + "definition": "Alabama Coushatta" + }, + { + "code": "1194-0", + "display": "Alabama Creek", + "definition": "Alabama Creek" + }, + { + "code": "1195-7", + "display": "Alabama Quassarte", + "definition": "Alabama Quassarte" + }, + { + "code": "1196-5", + "display": "Eastern Creek", + "definition": "Eastern Creek" + }, + { + "code": "1197-3", + "display": "Eastern Muscogee", + "definition": "Eastern Muscogee" + }, + { + "code": "1198-1", + "display": "Kialegee", + "definition": "Kialegee" + }, + { + "code": "1199-9", + "display": "Lower Muscogee", + "definition": "Lower Muscogee" + }, + { + "code": "1200-5", + "display": "Machis Lower Creek Indian", + "definition": "Machis Lower Creek Indian" + }, + { + "code": "1201-3", + "display": "Poarch Band", + "definition": "Poarch Band" + }, + { + "code": "1202-1", + "display": "Principal Creek Indian Nation", + "definition": "Principal Creek Indian Nation" + }, + { + "code": "1203-9", + "display": "Star Clan of Muscogee Creeks", + "definition": "Star Clan of Muscogee Creeks" + }, + { + "code": "1204-7", + "display": "Thlopthlocco", + "definition": "Thlopthlocco" + }, + { + "code": "1205-4", + "display": "Tuckabachee", + "definition": "Tuckabachee" + }, + { + "code": "1212-0", + "display": "Agua Caliente", + "definition": "Agua Caliente" + }, + { + "code": "1215-3", + "display": "Eastern Delaware", + "definition": "Eastern Delaware" + }, + { + "code": "1216-1", + "display": "Lenni-Lenape", + "definition": "Lenni-Lenape" + }, + { + "code": "1217-9", + "display": "Munsee", + "definition": "Munsee" + }, + { + "code": "1218-7", + "display": "Oklahoma Delaware", + "definition": "Oklahoma Delaware" + }, + { + "code": "1219-5", + "display": "Rampough Mountain", + "definition": "Rampough Mountain" + }, + { + "code": "1220-3", + "display": "Sand Hill", + "definition": "Sand Hill" + }, + { + "code": "1223-7", + "display": "Campo", + "definition": "Campo" + }, + { + "code": "1224-5", + "display": "Capitan Grande", + "definition": "Capitan Grande" + }, + { + "code": "1225-2", + "display": "Cuyapaipe", + "definition": "Cuyapaipe" + }, + { + "code": "1226-0", + "display": "La Posta", + "definition": "La Posta" + }, + { + "code": "1227-8", + "display": "Manzanita", + "definition": "Manzanita" + }, + { + "code": "1228-6", + "display": "Mesa Grande", + "definition": "Mesa Grande" + }, + { + "code": "1229-4", + "display": "San Pasqual", + "definition": "San Pasqual" + }, + { + "code": "1230-2", + "display": "Santa Ysabel", + "definition": "Santa Ysabel" + }, + { + "code": "1231-0", + "display": "Sycuan", + "definition": "Sycuan" + }, + { + "code": "1234-4", + "display": "Attacapa", + "definition": "Attacapa" + }, + { + "code": "1235-1", + "display": "Biloxi", + "definition": "Biloxi" + }, + { + "code": "1236-9", + "display": "Georgetown (Eastern Tribes)", + "definition": "Georgetown (Eastern Tribes)" + }, + { + "code": "1237-7", + "display": "Moor", + "definition": "Moor" + }, + { + "code": "1238-5", + "display": "Nansemond", + "definition": "Nansemond" + }, + { + "code": "1239-3", + "display": "Natchez", + "definition": "Natchez" + }, + { + "code": "1240-1", + "display": "Nausu Waiwash", + "definition": "Nausu Waiwash" + }, + { + "code": "1241-9", + "display": "Nipmuc", + "definition": "Nipmuc" + }, + { + "code": "1242-7", + "display": "Paugussett", + "definition": "Paugussett" + }, + { + "code": "1243-5", + "display": "Pocomoke Acohonock", + "definition": "Pocomoke Acohonock" + }, + { + "code": "1244-3", + "display": "Southeastern Indians", + "definition": "Southeastern Indians" + }, + { + "code": "1245-0", + "display": "Susquehanock", + "definition": "Susquehanock" + }, + { + "code": "1246-8", + "display": "Tunica Biloxi", + "definition": "Tunica Biloxi" + }, + { + "code": "1247-6", + "display": "Waccamaw-Siousan", + "definition": "Waccamaw-Siousan" + }, + { + "code": "1248-4", + "display": "Wicomico", + "definition": "Wicomico" + }, + { + "code": "1265-8", + "display": "Atsina", + "definition": "Atsina" + }, + { + "code": "1272-4", + "display": "Trinity", + "definition": "Trinity" + }, + { + "code": "1273-2", + "display": "Whilkut", + "definition": "Whilkut" + }, + { + "code": "1282-3", + "display": "Iowa of Kansas-Nebraska", + "definition": "Iowa of Kansas-Nebraska" + }, + { + "code": "1283-1", + "display": "Iowa of Oklahoma", + "definition": "Iowa of Oklahoma" + }, + { + "code": "1286-4", + "display": "Cayuga", + "definition": "Cayuga" + }, + { + "code": "1287-2", + "display": "Mohawk", + "definition": "Mohawk" + }, + { + "code": "1288-0", + "display": "Oneida", + "definition": "Oneida" + }, + { + "code": "1289-8", + "display": "Onondaga", + "definition": "Onondaga" + }, + { + "code": "1290-6", + "display": "Seneca", + "definition": "Seneca" + }, + { + "code": "1291-4", + "display": "Seneca Nation", + "definition": "Seneca Nation" + }, + { + "code": "1292-2", + "display": "Seneca-Cayuga", + "definition": "Seneca-Cayuga" + }, + { + "code": "1293-0", + "display": "Tonawanda Seneca", + "definition": "Tonawanda Seneca" + }, + { + "code": "1294-8", + "display": "Tuscarora", + "definition": "Tuscarora" + }, + { + "code": "1295-5", + "display": "Wyandotte", + "definition": "Wyandotte" + }, + { + "code": "1306-0", + "display": "Oklahoma Kickapoo", + "definition": "Oklahoma Kickapoo" + }, + { + "code": "1307-8", + "display": "Texas Kickapoo", + "definition": "Texas Kickapoo" + }, + { + "code": "1310-2", + "display": "Oklahoma Kiowa", + "definition": "Oklahoma Kiowa" + }, + { + "code": "1313-6", + "display": "Jamestown", + "definition": "Jamestown" + }, + { + "code": "1314-4", + "display": "Lower Elwha", + "definition": "Lower Elwha" + }, + { + "code": "1315-1", + "display": "Port Gamble Klallam", + "definition": "Port Gamble Klallam" + }, + { + "code": "1326-8", + "display": "Matinecock", + "definition": "Matinecock" + }, + { + "code": "1327-6", + "display": "Montauk", + "definition": "Montauk" + }, + { + "code": "1328-4", + "display": "Poospatuck", + "definition": "Poospatuck" + }, + { + "code": "1329-2", + "display": "Setauket", + "definition": "Setauket" + }, + { + "code": "1332-6", + "display": "La Jolla", + "definition": "La Jolla" + }, + { + "code": "1333-4", + "display": "Pala", + "definition": "Pala" + }, + { + "code": "1334-2", + "display": "Pauma", + "definition": "Pauma" + }, + { + "code": "1335-9", + "display": "Pechanga", + "definition": "Pechanga" + }, + { + "code": "1336-7", + "display": "Soboba", + "definition": "Soboba" + }, + { + "code": "1337-5", + "display": "Twenty-Nine Palms", + "definition": "Twenty-Nine Palms" + }, + { + "code": "1338-3", + "display": "Temecula", + "definition": "Temecula" + }, + { + "code": "1345-8", + "display": "Mountain Maidu", + "definition": "Mountain Maidu" + }, + { + "code": "1346-6", + "display": "Nishinam", + "definition": "Nishinam" + }, + { + "code": "1359-9", + "display": "Illinois Miami", + "definition": "Illinois Miami" + }, + { + "code": "1360-7", + "display": "Indiana Miami", + "definition": "Indiana Miami" + }, + { + "code": "1361-5", + "display": "Oklahoma Miami", + "definition": "Oklahoma Miami" + }, + { + "code": "1366-4", + "display": "Aroostook", + "definition": "Aroostook" + }, + { + "code": "1383-9", + "display": "Alamo Navajo", + "definition": "Alamo Navajo" + }, + { + "code": "1384-7", + "display": "Canoncito Navajo", + "definition": "Canoncito Navajo" + }, + { + "code": "1385-4", + "display": "Ramah Navajo", + "definition": "Ramah Navajo" + }, + { + "code": "1392-0", + "display": "Alsea", + "definition": "Alsea" + }, + { + "code": "1393-8", + "display": "Celilo", + "definition": "Celilo" + }, + { + "code": "1394-6", + "display": "Columbia", + "definition": "Columbia" + }, + { + "code": "1395-3", + "display": "Kalapuya", + "definition": "Kalapuya" + }, + { + "code": "1396-1", + "display": "Molala", + "definition": "Molala" + }, + { + "code": "1397-9", + "display": "Talakamish", + "definition": "Talakamish" + }, + { + "code": "1398-7", + "display": "Tenino", + "definition": "Tenino" + }, + { + "code": "1399-5", + "display": "Tillamook", + "definition": "Tillamook" + }, + { + "code": "1400-1", + "display": "Wenatchee", + "definition": "Wenatchee" + }, + { + "code": "1401-9", + "display": "Yahooskin", + "definition": "Yahooskin" + }, + { + "code": "1412-6", + "display": "Burt Lake Ottawa", + "definition": "Burt Lake Ottawa" + }, + { + "code": "1413-4", + "display": "Michigan Ottawa", + "definition": "Michigan Ottawa" + }, + { + "code": "1414-2", + "display": "Oklahoma Ottawa", + "definition": "Oklahoma Ottawa" + }, + { + "code": "1417-5", + "display": "Bishop", + "definition": "Bishop" + }, + { + "code": "1418-3", + "display": "Bridgeport", + "definition": "Bridgeport" + }, + { + "code": "1419-1", + "display": "Burns Paiute", + "definition": "Burns Paiute" + }, + { + "code": "1420-9", + "display": "Cedarville", + "definition": "Cedarville" + }, + { + "code": "1421-7", + "display": "Fort Bidwell", + "definition": "Fort Bidwell" + }, + { + "code": "1422-5", + "display": "Fort Independence", + "definition": "Fort Independence" + }, + { + "code": "1423-3", + "display": "Kaibab", + "definition": "Kaibab" + }, + { + "code": "1424-1", + "display": "Las Vegas", + "definition": "Las Vegas" + }, + { + "code": "1425-8", + "display": "Lone Pine", + "definition": "Lone Pine" + }, + { + "code": "1426-6", + "display": "Lovelock", + "definition": "Lovelock" + }, + { + "code": "1427-4", + "display": "Malheur Paiute", + "definition": "Malheur Paiute" + }, + { + "code": "1428-2", + "display": "Moapa", + "definition": "Moapa" + }, + { + "code": "1429-0", + "display": "Northern Paiute", + "definition": "Northern Paiute" + }, + { + "code": "1430-8", + "display": "Owens Valley", + "definition": "Owens Valley" + }, + { + "code": "1431-6", + "display": "Pyramid Lake", + "definition": "Pyramid Lake" + }, + { + "code": "1432-4", + "display": "San Juan Southern Paiute", + "definition": "San Juan Southern Paiute" + }, + { + "code": "1433-2", + "display": "Southern Paiute", + "definition": "Southern Paiute" + }, + { + "code": "1434-0", + "display": "Summit Lake", + "definition": "Summit Lake" + }, + { + "code": "1435-7", + "display": "Utu Utu Gwaitu Paiute", + "definition": "Utu Utu Gwaitu Paiute" + }, + { + "code": "1436-5", + "display": "Walker River", + "definition": "Walker River" + }, + { + "code": "1437-3", + "display": "Yerington Paiute", + "definition": "Yerington Paiute" + }, + { + "code": "1442-3", + "display": "Indian Township", + "definition": "Indian Township" + }, + { + "code": "1443-1", + "display": "Pleasant Point Passamaquoddy", + "definition": "Pleasant Point Passamaquoddy" + }, + { + "code": "1446-4", + "display": "Oklahoma Pawnee", + "definition": "Oklahoma Pawnee" + }, + { + "code": "1451-4", + "display": "Oklahoma Peoria", + "definition": "Oklahoma Peoria" + }, + { + "code": "1454-8", + "display": "Marshantucket Pequot", + "definition": "Marshantucket Pequot" + }, + { + "code": "1457-1", + "display": "Gila River Pima-Maricopa", + "definition": "Gila River Pima-Maricopa" + }, + { + "code": "1458-9", + "display": "Salt River Pima-Maricopa", + "definition": "Salt River Pima-Maricopa" + }, + { + "code": "1465-4", + "display": "Central Pomo", + "definition": "Central Pomo" + }, + { + "code": "1466-2", + "display": "Dry Creek", + "definition": "Dry Creek" + }, + { + "code": "1467-0", + "display": "Eastern Pomo", + "definition": "Eastern Pomo" + }, + { + "code": "1468-8", + "display": "Kashia", + "definition": "Kashia" + }, + { + "code": "1469-6", + "display": "Northern Pomo", + "definition": "Northern Pomo" + }, + { + "code": "1470-4", + "display": "Scotts Valley", + "definition": "Scotts Valley" + }, + { + "code": "1471-2", + "display": "Stonyford", + "definition": "Stonyford" + }, + { + "code": "1472-0", + "display": "Sulphur Bank", + "definition": "Sulphur Bank" + }, + { + "code": "1475-3", + "display": "Nebraska Ponca", + "definition": "Nebraska Ponca" + }, + { + "code": "1476-1", + "display": "Oklahoma Ponca", + "definition": "Oklahoma Ponca" + }, + { + "code": "1479-5", + "display": "Citizen Band Potawatomi", + "definition": "Citizen Band Potawatomi" + }, + { + "code": "1480-3", + "display": "Forest County", + "definition": "Forest County" + }, + { + "code": "1481-1", + "display": "Hannahville", + "definition": "Hannahville" + }, + { + "code": "1482-9", + "display": "Huron Potawatomi", + "definition": "Huron Potawatomi" + }, + { + "code": "1483-7", + "display": "Pokagon Potawatomi", + "definition": "Pokagon Potawatomi" + }, + { + "code": "1484-5", + "display": "Prairie Band", + "definition": "Prairie Band" + }, + { + "code": "1485-2", + "display": "Wisconsin Potawatomi", + "definition": "Wisconsin Potawatomi" + }, + { + "code": "1490-2", + "display": "Acoma", + "definition": "Acoma" + }, + { + "code": "1491-0", + "display": "Arizona Tewa", + "definition": "Arizona Tewa" + }, + { + "code": "1492-8", + "display": "Cochiti", + "definition": "Cochiti" + }, + { + "code": "1493-6", + "display": "Hopi", + "definition": "Hopi" + }, + { + "code": "1494-4", + "display": "Isleta", + "definition": "Isleta" + }, + { + "code": "1495-1", + "display": "Jemez", + "definition": "Jemez" + }, + { + "code": "1496-9", + "display": "Keres", + "definition": "Keres" + }, + { + "code": "1497-7", + "display": "Laguna", + "definition": "Laguna" + }, + { + "code": "1498-5", + "display": "Nambe", + "definition": "Nambe" + }, + { + "code": "1499-3", + "display": "Picuris", + "definition": "Picuris" + }, + { + "code": "1500-8", + "display": "Piro", + "definition": "Piro" + }, + { + "code": "1501-6", + "display": "Pojoaque", + "definition": "Pojoaque" + }, + { + "code": "1502-4", + "display": "San Felipe", + "definition": "San Felipe" + }, + { + "code": "1503-2", + "display": "San Ildefonso", + "definition": "San Ildefonso" + }, + { + "code": "1504-0", + "display": "San Juan Pueblo", + "definition": "San Juan Pueblo" + }, + { + "code": "1505-7", + "display": "San Juan De", + "definition": "San Juan De" + }, + { + "code": "1506-5", + "display": "San Juan", + "definition": "San Juan" + }, + { + "code": "1507-3", + "display": "Sandia", + "definition": "Sandia" + }, + { + "code": "1508-1", + "display": "Santa Ana", + "definition": "Santa Ana" + }, + { + "code": "1509-9", + "display": "Santa Clara", + "definition": "Santa Clara" + }, + { + "code": "1510-7", + "display": "Santo Domingo", + "definition": "Santo Domingo" + }, + { + "code": "1511-5", + "display": "Taos", + "definition": "Taos" + }, + { + "code": "1512-3", + "display": "Tesuque", + "definition": "Tesuque" + }, + { + "code": "1513-1", + "display": "Tewa", + "definition": "Tewa" + }, + { + "code": "1514-9", + "display": "Tigua", + "definition": "Tigua" + }, + { + "code": "1515-6", + "display": "Zia", + "definition": "Zia" + }, + { + "code": "1516-4", + "display": "Zuni", + "definition": "Zuni" + }, + { + "code": "1519-8", + "display": "Duwamish", + "definition": "Duwamish" + }, + { + "code": "1520-6", + "display": "Kikiallus", + "definition": "Kikiallus" + }, + { + "code": "1521-4", + "display": "Lower Skagit", + "definition": "Lower Skagit" + }, + { + "code": "1522-2", + "display": "Muckleshoot", + "definition": "Muckleshoot" + }, + { + "code": "1523-0", + "display": "Nisqually", + "definition": "Nisqually" + }, + { + "code": "1524-8", + "display": "Nooksack", + "definition": "Nooksack" + }, + { + "code": "1525-5", + "display": "Port Madison", + "definition": "Port Madison" + }, + { + "code": "1526-3", + "display": "Puyallup", + "definition": "Puyallup" + }, + { + "code": "1527-1", + "display": "Samish", + "definition": "Samish" + }, + { + "code": "1528-9", + "display": "Sauk-Suiattle", + "definition": "Sauk-Suiattle" + }, + { + "code": "1529-7", + "display": "Skokomish", + "definition": "Skokomish" + }, + { + "code": "1530-5", + "display": "Skykomish", + "definition": "Skykomish" + }, + { + "code": "1531-3", + "display": "Snohomish", + "definition": "Snohomish" + }, + { + "code": "1532-1", + "display": "Snoqualmie", + "definition": "Snoqualmie" + }, + { + "code": "1533-9", + "display": "Squaxin Island", + "definition": "Squaxin Island" + }, + { + "code": "1534-7", + "display": "Steilacoom", + "definition": "Steilacoom" + }, + { + "code": "1535-4", + "display": "Stillaguamish", + "definition": "Stillaguamish" + }, + { + "code": "1536-2", + "display": "Suquamish", + "definition": "Suquamish" + }, + { + "code": "1537-0", + "display": "Swinomish", + "definition": "Swinomish" + }, + { + "code": "1538-8", + "display": "Tulalip", + "definition": "Tulalip" + }, + { + "code": "1539-6", + "display": "Upper Skagit", + "definition": "Upper Skagit" + }, + { + "code": "1552-9", + "display": "Iowa Sac and Fox", + "definition": "Iowa Sac and Fox" + }, + { + "code": "1553-7", + "display": "Missouri Sac and Fox", + "definition": "Missouri Sac and Fox" + }, + { + "code": "1554-5", + "display": "Oklahoma Sac and Fox", + "definition": "Oklahoma Sac and Fox" + }, + { + "code": "1567-7", + "display": "Big Cypress", + "definition": "Big Cypress" + }, + { + "code": "1568-5", + "display": "Brighton", + "definition": "Brighton" + }, + { + "code": "1569-3", + "display": "Florida Seminole", + "definition": "Florida Seminole" + }, + { + "code": "1570-1", + "display": "Hollywood Seminole", + "definition": "Hollywood Seminole" + }, + { + "code": "1571-9", + "display": "Oklahoma Seminole", + "definition": "Oklahoma Seminole" + }, + { + "code": "1574-3", + "display": "San Manual", + "definition": "San Manual" + }, + { + "code": "1579-2", + "display": "Absentee Shawnee", + "definition": "Absentee Shawnee" + }, + { + "code": "1580-0", + "display": "Eastern Shawnee", + "definition": "Eastern Shawnee" + }, + { + "code": "1587-5", + "display": "Battle Mountain", + "definition": "Battle Mountain" + }, + { + "code": "1588-3", + "display": "Duckwater", + "definition": "Duckwater" + }, + { + "code": "1589-1", + "display": "Elko", + "definition": "Elko" + }, + { + "code": "1590-9", + "display": "Ely", + "definition": "Ely" + }, + { + "code": "1591-7", + "display": "Goshute", + "definition": "Goshute" + }, + { + "code": "1592-5", + "display": "Panamint", + "definition": "Panamint" + }, + { + "code": "1593-3", + "display": "Ruby Valley", + "definition": "Ruby Valley" + }, + { + "code": "1594-1", + "display": "Skull Valley", + "definition": "Skull Valley" + }, + { + "code": "1595-8", + "display": "South Fork Shoshone", + "definition": "South Fork Shoshone" + }, + { + "code": "1596-6", + "display": "Te-Moak Western Shoshone", + "definition": "Te-Moak Western Shoshone" + }, + { + "code": "1597-4", + "display": "Timbi-Sha Shoshone", + "definition": "Timbi-Sha Shoshone" + }, + { + "code": "1598-2", + "display": "Washakie", + "definition": "Washakie" + }, + { + "code": "1599-0", + "display": "Wind River Shoshone", + "definition": "Wind River Shoshone" + }, + { + "code": "1600-6", + "display": "Yomba", + "definition": "Yomba" + }, + { + "code": "1603-0", + "display": "Duck Valley", + "definition": "Duck Valley" + }, + { + "code": "1604-8", + "display": "Fallon", + "definition": "Fallon" + }, + { + "code": "1605-5", + "display": "Fort McDermitt", + "definition": "Fort McDermitt" + }, + { + "code": "1610-5", + "display": "Blackfoot Sioux", + "definition": "Blackfoot Sioux" + }, + { + "code": "1611-3", + "display": "Brule Sioux", + "definition": "Brule Sioux" + }, + { + "code": "1612-1", + "display": "Cheyenne River Sioux", + "definition": "Cheyenne River Sioux" + }, + { + "code": "1613-9", + "display": "Crow Creek Sioux", + "definition": "Crow Creek Sioux" + }, + { + "code": "1614-7", + "display": "Dakota Sioux", + "definition": "Dakota Sioux" + }, + { + "code": "1615-4", + "display": "Flandreau Santee", + "definition": "Flandreau Santee" + }, + { + "code": "1616-2", + "display": "Fort Peck", + "definition": "Fort Peck" + }, + { + "code": "1617-0", + "display": "Lake Traverse Sioux", + "definition": "Lake Traverse Sioux" + }, + { + "code": "1618-8", + "display": "Lower Brule Sioux", + "definition": "Lower Brule Sioux" + }, + { + "code": "1619-6", + "display": "Lower Sioux", + "definition": "Lower Sioux" + }, + { + "code": "1620-4", + "display": "Mdewakanton Sioux", + "definition": "Mdewakanton Sioux" + }, + { + "code": "1621-2", + "display": "Miniconjou", + "definition": "Miniconjou" + }, + { + "code": "1622-0", + "display": "Oglala Sioux", + "definition": "Oglala Sioux" + }, + { + "code": "1623-8", + "display": "Pine Ridge Sioux", + "definition": "Pine Ridge Sioux" + }, + { + "code": "1624-6", + "display": "Pipestone Sioux", + "definition": "Pipestone Sioux" + }, + { + "code": "1625-3", + "display": "Prairie Island Sioux", + "definition": "Prairie Island Sioux" + }, + { + "code": "1626-1", + "display": "Prior Lake Sioux", + "definition": "Prior Lake Sioux" + }, + { + "code": "1627-9", + "display": "Rosebud Sioux", + "definition": "Rosebud Sioux" + }, + { + "code": "1628-7", + "display": "Sans Arc Sioux", + "definition": "Sans Arc Sioux" + }, + { + "code": "1629-5", + "display": "Santee Sioux", + "definition": "Santee Sioux" + }, + { + "code": "1630-3", + "display": "Sisseton-Wahpeton", + "definition": "Sisseton-Wahpeton" + }, + { + "code": "1631-1", + "display": "Sisseton Sioux", + "definition": "Sisseton Sioux" + }, + { + "code": "1632-9", + "display": "Spirit Lake Sioux", + "definition": "Spirit Lake Sioux" + }, + { + "code": "1633-7", + "display": "Standing Rock Sioux", + "definition": "Standing Rock Sioux" + }, + { + "code": "1634-5", + "display": "Teton Sioux", + "definition": "Teton Sioux" + }, + { + "code": "1635-2", + "display": "Two Kettle Sioux", + "definition": "Two Kettle Sioux" + }, + { + "code": "1636-0", + "display": "Upper Sioux", + "definition": "Upper Sioux" + }, + { + "code": "1637-8", + "display": "Wahpekute Sioux", + "definition": "Wahpekute Sioux" + }, + { + "code": "1638-6", + "display": "Wahpeton Sioux", + "definition": "Wahpeton Sioux" + }, + { + "code": "1639-4", + "display": "Wazhaza Sioux", + "definition": "Wazhaza Sioux" + }, + { + "code": "1640-2", + "display": "Yankton Sioux", + "definition": "Yankton Sioux" + }, + { + "code": "1641-0", + "display": "Yanktonai Sioux", + "definition": "Yanktonai Sioux" + }, + { + "code": "1654-3", + "display": "Ak-Chin", + "definition": "Ak-Chin" + }, + { + "code": "1655-0", + "display": "Gila Bend", + "definition": "Gila Bend" + }, + { + "code": "1656-8", + "display": "San Xavier", + "definition": "San Xavier" + }, + { + "code": "1657-6", + "display": "Sells", + "definition": "Sells" + }, + { + "code": "1668-3", + "display": "Cow Creek Umpqua", + "definition": "Cow Creek Umpqua" + }, + { + "code": "1671-7", + "display": "Allen Canyon", + "definition": "Allen Canyon" + }, + { + "code": "1672-5", + "display": "Uintah Ute", + "definition": "Uintah Ute" + }, + { + "code": "1673-3", + "display": "Ute Mountain Ute", + "definition": "Ute Mountain Ute" + }, + { + "code": "1680-8", + "display": "Gay Head Wampanoag", + "definition": "Gay Head Wampanoag" + }, + { + "code": "1681-6", + "display": "Mashpee Wampanoag", + "definition": "Mashpee Wampanoag" + }, + { + "code": "1688-1", + "display": "Alpine", + "definition": "Alpine" + }, + { + "code": "1689-9", + "display": "Carson", + "definition": "Carson" + }, + { + "code": "1690-7", + "display": "Dresslerville", + "definition": "Dresslerville" + }, + { + "code": "1697-2", + "display": "Ho-chunk", + "definition": "Ho-chunk" + }, + { + "code": "1698-0", + "display": "Nebraska Winnebago", + "definition": "Nebraska Winnebago" + }, + { + "code": "1705-3", + "display": "Table Bluff", + "definition": "Table Bluff" + }, + { + "code": "1712-9", + "display": "Barrio Libre", + "definition": "Barrio Libre" + }, + { + "code": "1713-7", + "display": "Pascua Yaqui", + "definition": "Pascua Yaqui" + }, + { + "code": "1718-6", + "display": "Chukchansi", + "definition": "Chukchansi" + }, + { + "code": "1719-4", + "display": "Tachi", + "definition": "Tachi" + }, + { + "code": "1720-2", + "display": "Tule River", + "definition": "Tule River" + }, + { + "code": "1725-1", + "display": "Cocopah", + "definition": "Cocopah" + }, + { + "code": "1726-9", + "display": "Havasupai", + "definition": "Havasupai" + }, + { + "code": "1727-7", + "display": "Hualapai", + "definition": "Hualapai" + }, + { + "code": "1728-5", + "display": "Maricopa", + "definition": "Maricopa" + }, + { + "code": "1729-3", + "display": "Mohave", + "definition": "Mohave" + }, + { + "code": "1730-1", + "display": "Quechan", + "definition": "Quechan" + }, + { + "code": "1731-9", + "display": "Yavapai", + "definition": "Yavapai" + }, + { + "code": "1733-5", + "display": "Coast Yurok", + "definition": "Coast Yurok" + }, + { + "code": "1737-6", + "display": "Alaska Indian", + "definition": "Alaska Indian" + }, + { + "code": "1840-8", + "display": "Eskimo", + "definition": "Eskimo" + }, + { + "code": "1966-1", + "display": "Aleut", + "definition": "Aleut" + }, + { + "code": "1739-2", + "display": "Alaskan Athabascan", + "definition": "Alaskan Athabascan" + }, + { + "code": "1811-9", + "display": "Southeast Alaska", + "definition": "Southeast Alaska" + }, + { + "code": "1740-0", + "display": "Ahtna", + "definition": "Ahtna" + }, + { + "code": "1741-8", + "display": "Alatna", + "definition": "Alatna" + }, + { + "code": "1742-6", + "display": "Alexander", + "definition": "Alexander" + }, + { + "code": "1743-4", + "display": "Allakaket", + "definition": "Allakaket" + }, + { + "code": "1744-2", + "display": "Alanvik", + "definition": "Alanvik" + }, + { + "code": "1745-9", + "display": "Anvik", + "definition": "Anvik" + }, + { + "code": "1746-7", + "display": "Arctic", + "definition": "Arctic" + }, + { + "code": "1747-5", + "display": "Beaver", + "definition": "Beaver" + }, + { + "code": "1748-3", + "display": "Birch Creek", + "definition": "Birch Creek" + }, + { + "code": "1749-1", + "display": "Cantwell", + "definition": "Cantwell" + }, + { + "code": "1750-9", + "display": "Chalkyitsik", + "definition": "Chalkyitsik" + }, + { + "code": "1751-7", + "display": "Chickaloon", + "definition": "Chickaloon" + }, + { + "code": "1752-5", + "display": "Chistochina", + "definition": "Chistochina" + }, + { + "code": "1753-3", + "display": "Chitina", + "definition": "Chitina" + }, + { + "code": "1754-1", + "display": "Circle", + "definition": "Circle" + }, + { + "code": "1755-8", + "display": "Cook Inlet", + "definition": "Cook Inlet" + }, + { + "code": "1756-6", + "display": "Copper Center", + "definition": "Copper Center" + }, + { + "code": "1757-4", + "display": "Copper River", + "definition": "Copper River" + }, + { + "code": "1758-2", + "display": "Dot Lake", + "definition": "Dot Lake" + }, + { + "code": "1759-0", + "display": "Doyon", + "definition": "Doyon" + }, + { + "code": "1760-8", + "display": "Eagle", + "definition": "Eagle" + }, + { + "code": "1761-6", + "display": "Eklutna", + "definition": "Eklutna" + }, + { + "code": "1762-4", + "display": "Evansville", + "definition": "Evansville" + }, + { + "code": "1763-2", + "display": "Fort Yukon", + "definition": "Fort Yukon" + }, + { + "code": "1764-0", + "display": "Gakona", + "definition": "Gakona" + }, + { + "code": "1765-7", + "display": "Galena", + "definition": "Galena" + }, + { + "code": "1766-5", + "display": "Grayling", + "definition": "Grayling" + }, + { + "code": "1767-3", + "display": "Gulkana", + "definition": "Gulkana" + }, + { + "code": "1768-1", + "display": "Healy Lake", + "definition": "Healy Lake" + }, + { + "code": "1769-9", + "display": "Holy Cross", + "definition": "Holy Cross" + }, + { + "code": "1770-7", + "display": "Hughes", + "definition": "Hughes" + }, + { + "code": "1771-5", + "display": "Huslia", + "definition": "Huslia" + }, + { + "code": "1772-3", + "display": "Iliamna", + "definition": "Iliamna" + }, + { + "code": "1773-1", + "display": "Kaltag", + "definition": "Kaltag" + }, + { + "code": "1774-9", + "display": "Kluti Kaah", + "definition": "Kluti Kaah" + }, + { + "code": "1775-6", + "display": "Knik", + "definition": "Knik" + }, + { + "code": "1776-4", + "display": "Koyukuk", + "definition": "Koyukuk" + }, + { + "code": "1777-2", + "display": "Lake Minchumina", + "definition": "Lake Minchumina" + }, + { + "code": "1778-0", + "display": "Lime", + "definition": "Lime" + }, + { + "code": "1779-8", + "display": "Mcgrath", + "definition": "Mcgrath" + }, + { + "code": "1780-6", + "display": "Manley Hot Springs", + "definition": "Manley Hot Springs" + }, + { + "code": "1781-4", + "display": "Mentasta Lake", + "definition": "Mentasta Lake" + }, + { + "code": "1782-2", + "display": "Minto", + "definition": "Minto" + }, + { + "code": "1783-0", + "display": "Nenana", + "definition": "Nenana" + }, + { + "code": "1784-8", + "display": "Nikolai", + "definition": "Nikolai" + }, + { + "code": "1785-5", + "display": "Ninilchik", + "definition": "Ninilchik" + }, + { + "code": "1786-3", + "display": "Nondalton", + "definition": "Nondalton" + }, + { + "code": "1787-1", + "display": "Northway", + "definition": "Northway" + }, + { + "code": "1788-9", + "display": "Nulato", + "definition": "Nulato" + }, + { + "code": "1789-7", + "display": "Pedro Bay", + "definition": "Pedro Bay" + }, + { + "code": "1790-5", + "display": "Rampart", + "definition": "Rampart" + }, + { + "code": "1791-3", + "display": "Ruby", + "definition": "Ruby" + }, + { + "code": "1792-1", + "display": "Salamatof", + "definition": "Salamatof" + }, + { + "code": "1793-9", + "display": "Seldovia", + "definition": "Seldovia" + }, + { + "code": "1794-7", + "display": "Slana", + "definition": "Slana" + }, + { + "code": "1795-4", + "display": "Shageluk", + "definition": "Shageluk" + }, + { + "code": "1796-2", + "display": "Stevens", + "definition": "Stevens" + }, + { + "code": "1797-0", + "display": "Stony River", + "definition": "Stony River" + }, + { + "code": "1798-8", + "display": "Takotna", + "definition": "Takotna" + }, + { + "code": "1799-6", + "display": "Tanacross", + "definition": "Tanacross" + }, + { + "code": "1800-2", + "display": "Tanaina", + "definition": "Tanaina" + }, + { + "code": "1801-0", + "display": "Tanana", + "definition": "Tanana" + }, + { + "code": "1802-8", + "display": "Tanana Chiefs", + "definition": "Tanana Chiefs" + }, + { + "code": "1803-6", + "display": "Tazlina", + "definition": "Tazlina" + }, + { + "code": "1804-4", + "display": "Telida", + "definition": "Telida" + }, + { + "code": "1805-1", + "display": "Tetlin", + "definition": "Tetlin" + }, + { + "code": "1806-9", + "display": "Tok", + "definition": "Tok" + }, + { + "code": "1807-7", + "display": "Tyonek", + "definition": "Tyonek" + }, + { + "code": "1808-5", + "display": "Venetie", + "definition": "Venetie" + }, + { + "code": "1809-3", + "display": "Wiseman", + "definition": "Wiseman" + }, + { + "code": "1813-5", + "display": "Tlingit-Haida", + "definition": "Tlingit-Haida" + }, + { + "code": "1837-4", + "display": "Tsimshian", + "definition": "Tsimshian" + }, + { + "code": "1814-3", + "display": "Angoon", + "definition": "Angoon" + }, + { + "code": "1815-0", + "display": "Central Council of Tlingit and Haida Tribes", + "definition": "Central Council of Tlingit and Haida Tribes" + }, + { + "code": "1816-8", + "display": "Chilkat", + "definition": "Chilkat" + }, + { + "code": "1817-6", + "display": "Chilkoot", + "definition": "Chilkoot" + }, + { + "code": "1818-4", + "display": "Craig", + "definition": "Craig" + }, + { + "code": "1819-2", + "display": "Douglas", + "definition": "Douglas" + }, + { + "code": "1820-0", + "display": "Haida", + "definition": "Haida" + }, + { + "code": "1821-8", + "display": "Hoonah", + "definition": "Hoonah" + }, + { + "code": "1822-6", + "display": "Hydaburg", + "definition": "Hydaburg" + }, + { + "code": "1823-4", + "display": "Kake", + "definition": "Kake" + }, + { + "code": "1824-2", + "display": "Kasaan", + "definition": "Kasaan" + }, + { + "code": "1825-9", + "display": "Kenaitze", + "definition": "Kenaitze" + }, + { + "code": "1826-7", + "display": "Ketchikan", + "definition": "Ketchikan" + }, + { + "code": "1827-5", + "display": "Klawock", + "definition": "Klawock" + }, + { + "code": "1828-3", + "display": "Pelican", + "definition": "Pelican" + }, + { + "code": "1829-1", + "display": "Petersburg", + "definition": "Petersburg" + }, + { + "code": "1830-9", + "display": "Saxman", + "definition": "Saxman" + }, + { + "code": "1831-7", + "display": "Sitka", + "definition": "Sitka" + }, + { + "code": "1832-5", + "display": "Tenakee Springs", + "definition": "Tenakee Springs" + }, + { + "code": "1833-3", + "display": "Tlingit", + "definition": "Tlingit" + }, + { + "code": "1834-1", + "display": "Wrangell", + "definition": "Wrangell" + }, + { + "code": "1835-8", + "display": "Yakutat", + "definition": "Yakutat" + }, + { + "code": "1838-2", + "display": "Metlakatla", + "definition": "Metlakatla" + }, + { + "code": "1842-4", + "display": "Greenland Eskimo", + "definition": "Greenland Eskimo" + }, + { + "code": "1844-0", + "display": "Inupiat Eskimo", + "definition": "Inupiat Eskimo" + }, + { + "code": "1891-1", + "display": "Siberian Eskimo", + "definition": "Siberian Eskimo" + }, + { + "code": "1896-0", + "display": "Yupik Eskimo", + "definition": "Yupik Eskimo" + }, + { + "code": "1845-7", + "display": "Ambler", + "definition": "Ambler" + }, + { + "code": "1846-5", + "display": "Anaktuvuk", + "definition": "Anaktuvuk" + }, + { + "code": "1847-3", + "display": "Anaktuvuk Pass", + "definition": "Anaktuvuk Pass" + }, + { + "code": "1848-1", + "display": "Arctic Slope Inupiat", + "definition": "Arctic Slope Inupiat" + }, + { + "code": "1849-9", + "display": "Arctic Slope Corporation", + "definition": "Arctic Slope Corporation" + }, + { + "code": "1850-7", + "display": "Atqasuk", + "definition": "Atqasuk" + }, + { + "code": "1851-5", + "display": "Barrow", + "definition": "Barrow" + }, + { + "code": "1852-3", + "display": "Bering Straits Inupiat", + "definition": "Bering Straits Inupiat" + }, + { + "code": "1853-1", + "display": "Brevig Mission", + "definition": "Brevig Mission" + }, + { + "code": "1854-9", + "display": "Buckland", + "definition": "Buckland" + }, + { + "code": "1855-6", + "display": "Chinik", + "definition": "Chinik" + }, + { + "code": "1856-4", + "display": "Council", + "definition": "Council" + }, + { + "code": "1857-2", + "display": "Deering", + "definition": "Deering" + }, + { + "code": "1858-0", + "display": "Elim", + "definition": "Elim" + }, + { + "code": "1859-8", + "display": "Golovin", + "definition": "Golovin" + }, + { + "code": "1860-6", + "display": "Inalik Diomede", + "definition": "Inalik Diomede" + }, + { + "code": "1861-4", + "display": "Inupiaq", + "definition": "Inupiaq" + }, + { + "code": "1862-2", + "display": "Kaktovik", + "definition": "Kaktovik" + }, + { + "code": "1863-0", + "display": "Kawerak", + "definition": "Kawerak" + }, + { + "code": "1864-8", + "display": "Kiana", + "definition": "Kiana" + }, + { + "code": "1865-5", + "display": "Kivalina", + "definition": "Kivalina" + }, + { + "code": "1866-3", + "display": "Kobuk", + "definition": "Kobuk" + }, + { + "code": "1867-1", + "display": "Kotzebue", + "definition": "Kotzebue" + }, + { + "code": "1868-9", + "display": "Koyuk", + "definition": "Koyuk" + }, + { + "code": "1869-7", + "display": "Kwiguk", + "definition": "Kwiguk" + }, + { + "code": "1870-5", + "display": "Mauneluk Inupiat", + "definition": "Mauneluk Inupiat" + }, + { + "code": "1871-3", + "display": "Nana Inupiat", + "definition": "Nana Inupiat" + }, + { + "code": "1872-1", + "display": "Noatak", + "definition": "Noatak" + }, + { + "code": "1873-9", + "display": "Nome", + "definition": "Nome" + }, + { + "code": "1874-7", + "display": "Noorvik", + "definition": "Noorvik" + }, + { + "code": "1875-4", + "display": "Nuiqsut", + "definition": "Nuiqsut" + }, + { + "code": "1876-2", + "display": "Point Hope", + "definition": "Point Hope" + }, + { + "code": "1877-0", + "display": "Point Lay", + "definition": "Point Lay" + }, + { + "code": "1878-8", + "display": "Selawik", + "definition": "Selawik" + }, + { + "code": "1879-6", + "display": "Shaktoolik", + "definition": "Shaktoolik" + }, + { + "code": "1880-4", + "display": "Shishmaref", + "definition": "Shishmaref" + }, + { + "code": "1881-2", + "display": "Shungnak", + "definition": "Shungnak" + }, + { + "code": "1882-0", + "display": "Solomon", + "definition": "Solomon" + }, + { + "code": "1883-8", + "display": "Teller", + "definition": "Teller" + }, + { + "code": "1884-6", + "display": "Unalakleet", + "definition": "Unalakleet" + }, + { + "code": "1885-3", + "display": "Wainwright", + "definition": "Wainwright" + }, + { + "code": "1886-1", + "display": "Wales", + "definition": "Wales" + }, + { + "code": "1887-9", + "display": "White Mountain", + "definition": "White Mountain" + }, + { + "code": "1888-7", + "display": "White Mountain Inupiat", + "definition": "White Mountain Inupiat" + }, + { + "code": "1889-5", + "display": "Mary's Igloo", + "definition": "Mary's Igloo" + }, + { + "code": "1892-9", + "display": "Gambell", + "definition": "Gambell" + }, + { + "code": "1893-7", + "display": "Savoonga", + "definition": "Savoonga" + }, + { + "code": "1894-5", + "display": "Siberian Yupik", + "definition": "Siberian Yupik" + }, + { + "code": "1897-8", + "display": "Akiachak", + "definition": "Akiachak" + }, + { + "code": "1898-6", + "display": "Akiak", + "definition": "Akiak" + }, + { + "code": "1899-4", + "display": "Alakanuk", + "definition": "Alakanuk" + }, + { + "code": "1900-0", + "display": "Aleknagik", + "definition": "Aleknagik" + }, + { + "code": "1901-8", + "display": "Andreafsky", + "definition": "Andreafsky" + }, + { + "code": "1902-6", + "display": "Aniak", + "definition": "Aniak" + }, + { + "code": "1903-4", + "display": "Atmautluak", + "definition": "Atmautluak" + }, + { + "code": "1904-2", + "display": "Bethel", + "definition": "Bethel" + }, + { + "code": "1905-9", + "display": "Bill Moore's Slough", + "definition": "Bill Moore's Slough" + }, + { + "code": "1906-7", + "display": "Bristol Bay Yupik", + "definition": "Bristol Bay Yupik" + }, + { + "code": "1907-5", + "display": "Calista Yupik", + "definition": "Calista Yupik" + }, + { + "code": "1908-3", + "display": "Chefornak", + "definition": "Chefornak" + }, + { + "code": "1909-1", + "display": "Chevak", + "definition": "Chevak" + }, + { + "code": "1910-9", + "display": "Chuathbaluk", + "definition": "Chuathbaluk" + }, + { + "code": "1911-7", + "display": "Clark's Point", + "definition": "Clark's Point" + }, + { + "code": "1912-5", + "display": "Crooked Creek", + "definition": "Crooked Creek" + }, + { + "code": "1913-3", + "display": "Dillingham", + "definition": "Dillingham" + }, + { + "code": "1914-1", + "display": "Eek", + "definition": "Eek" + }, + { + "code": "1915-8", + "display": "Ekuk", + "definition": "Ekuk" + }, + { + "code": "1916-6", + "display": "Ekwok", + "definition": "Ekwok" + }, + { + "code": "1917-4", + "display": "Emmonak", + "definition": "Emmonak" + }, + { + "code": "1918-2", + "display": "Goodnews Bay", + "definition": "Goodnews Bay" + }, + { + "code": "1919-0", + "display": "Hooper Bay", + "definition": "Hooper Bay" + }, + { + "code": "1920-8", + "display": "Iqurmuit (Russian Mission)", + "definition": "Iqurmuit (Russian Mission)" + }, + { + "code": "1921-6", + "display": "Kalskag", + "definition": "Kalskag" + }, + { + "code": "1922-4", + "display": "Kasigluk", + "definition": "Kasigluk" + }, + { + "code": "1923-2", + "display": "Kipnuk", + "definition": "Kipnuk" + }, + { + "code": "1924-0", + "display": "Koliganek", + "definition": "Koliganek" + }, + { + "code": "1925-7", + "display": "Kongiganak", + "definition": "Kongiganak" + }, + { + "code": "1926-5", + "display": "Kotlik", + "definition": "Kotlik" + }, + { + "code": "1927-3", + "display": "Kwethluk", + "definition": "Kwethluk" + }, + { + "code": "1928-1", + "display": "Kwigillingok", + "definition": "Kwigillingok" + }, + { + "code": "1929-9", + "display": "Levelock", + "definition": "Levelock" + }, + { + "code": "1930-7", + "display": "Lower Kalskag", + "definition": "Lower Kalskag" + }, + { + "code": "1931-5", + "display": "Manokotak", + "definition": "Manokotak" + }, + { + "code": "1932-3", + "display": "Marshall", + "definition": "Marshall" + }, + { + "code": "1933-1", + "display": "Mekoryuk", + "definition": "Mekoryuk" + }, + { + "code": "1934-9", + "display": "Mountain Village", + "definition": "Mountain Village" + }, + { + "code": "1935-6", + "display": "Naknek", + "definition": "Naknek" + }, + { + "code": "1936-4", + "display": "Napaumute", + "definition": "Napaumute" + }, + { + "code": "1937-2", + "display": "Napakiak", + "definition": "Napakiak" + }, + { + "code": "1938-0", + "display": "Napaskiak", + "definition": "Napaskiak" + }, + { + "code": "1939-8", + "display": "Newhalen", + "definition": "Newhalen" + }, + { + "code": "1940-6", + "display": "New Stuyahok", + "definition": "New Stuyahok" + }, + { + "code": "1941-4", + "display": "Newtok", + "definition": "Newtok" + }, + { + "code": "1942-2", + "display": "Nightmute", + "definition": "Nightmute" + }, + { + "code": "1943-0", + "display": "Nunapitchukv", + "definition": "Nunapitchukv" + }, + { + "code": "1944-8", + "display": "Oscarville", + "definition": "Oscarville" + }, + { + "code": "1945-5", + "display": "Pilot Station", + "definition": "Pilot Station" + }, + { + "code": "1946-3", + "display": "Pitkas Point", + "definition": "Pitkas Point" + }, + { + "code": "1947-1", + "display": "Platinum", + "definition": "Platinum" + }, + { + "code": "1948-9", + "display": "Portage Creek", + "definition": "Portage Creek" + }, + { + "code": "1949-7", + "display": "Quinhagak", + "definition": "Quinhagak" + }, + { + "code": "1950-5", + "display": "Red Devil", + "definition": "Red Devil" + }, + { + "code": "1951-3", + "display": "St. Michael", + "definition": "St. Michael" + }, + { + "code": "1952-1", + "display": "Scammon Bay", + "definition": "Scammon Bay" + }, + { + "code": "1953-9", + "display": "Sheldon's Point", + "definition": "Sheldon's Point" + }, + { + "code": "1954-7", + "display": "Sleetmute", + "definition": "Sleetmute" + }, + { + "code": "1955-4", + "display": "Stebbins", + "definition": "Stebbins" + }, + { + "code": "1956-2", + "display": "Togiak", + "definition": "Togiak" + }, + { + "code": "1957-0", + "display": "Toksook", + "definition": "Toksook" + }, + { + "code": "1958-8", + "display": "Tulukskak", + "definition": "Tulukskak" + }, + { + "code": "1959-6", + "display": "Tuntutuliak", + "definition": "Tuntutuliak" + }, + { + "code": "1960-4", + "display": "Tununak", + "definition": "Tununak" + }, + { + "code": "1961-2", + "display": "Twin Hills", + "definition": "Twin Hills" + }, + { + "code": "1962-0", + "display": "Georgetown (Yupik-Eskimo)", + "definition": "Georgetown (Yupik-Eskimo)" + }, + { + "code": "1963-8", + "display": "St. Mary's", + "definition": "St. Mary's" + }, + { + "code": "1964-6", + "display": "Umkumiate", + "definition": "Umkumiate" + }, + { + "code": "1968-7", + "display": "Alutiiq Aleut", + "definition": "Alutiiq Aleut" + }, + { + "code": "1972-9", + "display": "Bristol Bay Aleut", + "definition": "Bristol Bay Aleut" + }, + { + "code": "1984-4", + "display": "Chugach Aleut", + "definition": "Chugach Aleut" + }, + { + "code": "1990-1", + "display": "Eyak", + "definition": "Eyak" + }, + { + "code": "1992-7", + "display": "Koniag Aleut", + "definition": "Koniag Aleut" + }, + { + "code": "2002-4", + "display": "Sugpiaq", + "definition": "Sugpiaq" + }, + { + "code": "2004-0", + "display": "Suqpigaq", + "definition": "Suqpigaq" + }, + { + "code": "2006-5", + "display": "Unangan Aleut", + "definition": "Unangan Aleut" + }, + { + "code": "1969-5", + "display": "Tatitlek", + "definition": "Tatitlek" + }, + { + "code": "1970-3", + "display": "Ugashik", + "definition": "Ugashik" + }, + { + "code": "1973-7", + "display": "Chignik", + "definition": "Chignik" + }, + { + "code": "1974-5", + "display": "Chignik Lake", + "definition": "Chignik Lake" + }, + { + "code": "1975-2", + "display": "Egegik", + "definition": "Egegik" + }, + { + "code": "1976-0", + "display": "Igiugig", + "definition": "Igiugig" + }, + { + "code": "1977-8", + "display": "Ivanof Bay", + "definition": "Ivanof Bay" + }, + { + "code": "1978-6", + "display": "King Salmon", + "definition": "King Salmon" + }, + { + "code": "1979-4", + "display": "Kokhanok", + "definition": "Kokhanok" + }, + { + "code": "1980-2", + "display": "Perryville", + "definition": "Perryville" + }, + { + "code": "1981-0", + "display": "Pilot Point", + "definition": "Pilot Point" + }, + { + "code": "1982-8", + "display": "Port Heiden", + "definition": "Port Heiden" + }, + { + "code": "1985-1", + "display": "Chenega", + "definition": "Chenega" + }, + { + "code": "1986-9", + "display": "Chugach Corporation", + "definition": "Chugach Corporation" + }, + { + "code": "1987-7", + "display": "English Bay", + "definition": "English Bay" + }, + { + "code": "1988-5", + "display": "Port Graham", + "definition": "Port Graham" + }, + { + "code": "1993-5", + "display": "Akhiok", + "definition": "Akhiok" + }, + { + "code": "1994-3", + "display": "Agdaagux", + "definition": "Agdaagux" + }, + { + "code": "1995-0", + "display": "Karluk", + "definition": "Karluk" + }, + { + "code": "1996-8", + "display": "Kodiak", + "definition": "Kodiak" + }, + { + "code": "1997-6", + "display": "Larsen Bay", + "definition": "Larsen Bay" + }, + { + "code": "1998-4", + "display": "Old Harbor", + "definition": "Old Harbor" + }, + { + "code": "1999-2", + "display": "Ouzinkie", + "definition": "Ouzinkie" + }, + { + "code": "2000-8", + "display": "Port Lions", + "definition": "Port Lions" + }, + { + "code": "2007-3", + "display": "Akutan", + "definition": "Akutan" + }, + { + "code": "2008-1", + "display": "Aleut Corporation", + "definition": "Aleut Corporation" + }, + { + "code": "2009-9", + "display": "Aleutian", + "definition": "Aleutian" + }, + { + "code": "2010-7", + "display": "Aleutian Islander", + "definition": "Aleutian Islander" + }, + { + "code": "2011-5", + "display": "Atka", + "definition": "Atka" + }, + { + "code": "2012-3", + "display": "Belkofski", + "definition": "Belkofski" + }, + { + "code": "2013-1", + "display": "Chignik Lagoon", + "definition": "Chignik Lagoon" + }, + { + "code": "2014-9", + "display": "King Cove", + "definition": "King Cove" + }, + { + "code": "2015-6", + "display": "False Pass", + "definition": "False Pass" + }, + { + "code": "2016-4", + "display": "Nelson Lagoon", + "definition": "Nelson Lagoon" + }, + { + "code": "2017-2", + "display": "Nikolski", + "definition": "Nikolski" + }, + { + "code": "2018-0", + "display": "Pauloff Harbor", + "definition": "Pauloff Harbor" + }, + { + "code": "2019-8", + "display": "Qagan Toyagungin", + "definition": "Qagan Toyagungin" + }, + { + "code": "2020-6", + "display": "Qawalangin", + "definition": "Qawalangin" + }, + { + "code": "2021-4", + "display": "St. George", + "definition": "St. George" + }, + { + "code": "2022-2", + "display": "St. Paul", + "definition": "St. Paul" + }, + { + "code": "2023-0", + "display": "Sand Point", + "definition": "Sand Point" + }, + { + "code": "2024-8", + "display": "South Naknek", + "definition": "South Naknek" + }, + { + "code": "2025-5", + "display": "Unalaska", + "definition": "Unalaska" + }, + { + "code": "2026-3", + "display": "Unga", + "definition": "Unga" + } + ] + }, + { + "code": "2028-9", + "display": "Asian", + "definition": "Asian", + "concept": [ + { + "code": "2029-7", + "display": "Asian Indian", + "definition": "Asian Indian" + }, + { + "code": "2030-5", + "display": "Bangladeshi", + "definition": "Bangladeshi" + }, + { + "code": "2031-3", + "display": "Bhutanese", + "definition": "Bhutanese" + }, + { + "code": "2032-1", + "display": "Burmese", + "definition": "Burmese" + }, + { + "code": "2033-9", + "display": "Cambodian", + "definition": "Cambodian" + }, + { + "code": "2034-7", + "display": "Chinese", + "definition": "Chinese" + }, + { + "code": "2035-4", + "display": "Taiwanese", + "definition": "Taiwanese" + }, + { + "code": "2036-2", + "display": "Filipino", + "definition": "Filipino" + }, + { + "code": "2037-0", + "display": "Hmong", + "definition": "Hmong" + }, + { + "code": "2038-8", + "display": "Indonesian", + "definition": "Indonesian" + }, + { + "code": "2039-6", + "display": "Japanese", + "definition": "Japanese" + }, + { + "code": "2040-4", + "display": "Korean", + "definition": "Korean" + }, + { + "code": "2041-2", + "display": "Laotian", + "definition": "Laotian" + }, + { + "code": "2042-0", + "display": "Malaysian", + "definition": "Malaysian" + }, + { + "code": "2043-8", + "display": "Okinawan", + "definition": "Okinawan" + }, + { + "code": "2044-6", + "display": "Pakistani", + "definition": "Pakistani" + }, + { + "code": "2045-3", + "display": "Sri Lankan", + "definition": "Sri Lankan" + }, + { + "code": "2046-1", + "display": "Thai", + "definition": "Thai" + }, + { + "code": "2047-9", + "display": "Vietnamese", + "definition": "Vietnamese" + }, + { + "code": "2048-7", + "display": "Iwo Jiman", + "definition": "Iwo Jiman" + }, + { + "code": "2049-5", + "display": "Maldivian", + "definition": "Maldivian" + }, + { + "code": "2050-3", + "display": "Nepalese", + "definition": "Nepalese" + }, + { + "code": "2051-1", + "display": "Singaporean", + "definition": "Singaporean" + }, + { + "code": "2052-9", + "display": "Madagascar", + "definition": "Madagascar" + } + ] + }, + { + "code": "2054-5", + "display": "Black or African American", + "definition": "Black or African American", + "concept": [ + { + "code": "2056-0", + "display": "Black", + "definition": "Black" + }, + { + "code": "2058-6", + "display": "African American", + "definition": "African American" + }, + { + "code": "2060-2", + "display": "African", + "definition": "African" + }, + { + "code": "2067-7", + "display": "Bahamian", + "definition": "Bahamian" + }, + { + "code": "2068-5", + "display": "Barbadian", + "definition": "Barbadian" + }, + { + "code": "2069-3", + "display": "Dominican", + "definition": "Dominican" + }, + { + "code": "2070-1", + "display": "Dominica Islander", + "definition": "Dominica Islander" + }, + { + "code": "2071-9", + "display": "Haitian", + "definition": "Haitian" + }, + { + "code": "2072-7", + "display": "Jamaican", + "definition": "Jamaican" + }, + { + "code": "2073-5", + "display": "Tobagoan", + "definition": "Tobagoan" + }, + { + "code": "2074-3", + "display": "Trinidadian", + "definition": "Trinidadian" + }, + { + "code": "2075-0", + "display": "West Indian", + "definition": "West Indian" + }, + { + "code": "2061-0", + "display": "Botswanan", + "definition": "Botswanan" + }, + { + "code": "2062-8", + "display": "Ethiopian", + "definition": "Ethiopian" + }, + { + "code": "2063-6", + "display": "Liberian", + "definition": "Liberian" + }, + { + "code": "2064-4", + "display": "Namibian", + "definition": "Namibian" + }, + { + "code": "2065-1", + "display": "Nigerian", + "definition": "Nigerian" + }, + { + "code": "2066-9", + "display": "Zairean", + "definition": "Zairean" + } + ] + }, + { + "code": "2076-8", + "display": "Native Hawaiian or Other Pacific Islander", + "definition": "Native Hawaiian or Other Pacific Islander", + "concept": [ + { + "code": "2078-4", + "display": "Polynesian", + "definition": "Polynesian" + }, + { + "code": "2085-9", + "display": "Micronesian", + "definition": "Micronesian" + }, + { + "code": "2100-6", + "display": "Melanesian", + "definition": "Melanesian" + }, + { + "code": "2500-7", + "display": "Other Pacific Islander", + "definition": "Other Pacific Islander" + }, + { + "code": "2079-2", + "display": "Native Hawaiian", + "definition": "Native Hawaiian" + }, + { + "code": "2080-0", + "display": "Samoan", + "definition": "Samoan" + }, + { + "code": "2081-8", + "display": "Tahitian", + "definition": "Tahitian" + }, + { + "code": "2082-6", + "display": "Tongan", + "definition": "Tongan" + }, + { + "code": "2083-4", + "display": "Tokelauan", + "definition": "Tokelauan" + }, + { + "code": "2086-7", + "display": "Guamanian or Chamorro", + "definition": "Guamanian or Chamorro" + }, + { + "code": "2087-5", + "display": "Guamanian", + "definition": "Guamanian" + }, + { + "code": "2088-3", + "display": "Chamorro", + "definition": "Chamorro" + }, + { + "code": "2089-1", + "display": "Mariana Islander", + "definition": "Mariana Islander" + }, + { + "code": "2090-9", + "display": "Marshallese", + "definition": "Marshallese" + }, + { + "code": "2091-7", + "display": "Palauan", + "definition": "Palauan" + }, + { + "code": "2092-5", + "display": "Carolinian", + "definition": "Carolinian" + }, + { + "code": "2093-3", + "display": "Kosraean", + "definition": "Kosraean" + }, + { + "code": "2094-1", + "display": "Pohnpeian", + "definition": "Pohnpeian" + }, + { + "code": "2095-8", + "display": "Saipanese", + "definition": "Saipanese" + }, + { + "code": "2096-6", + "display": "Kiribati", + "definition": "Kiribati" + }, + { + "code": "2097-4", + "display": "Chuukese", + "definition": "Chuukese" + }, + { + "code": "2098-2", + "display": "Yapese", + "definition": "Yapese" + }, + { + "code": "2101-4", + "display": "Fijian", + "definition": "Fijian" + }, + { + "code": "2102-2", + "display": "Papua New Guinean", + "definition": "Papua New Guinean" + }, + { + "code": "2103-0", + "display": "Solomon Islander", + "definition": "Solomon Islander" + }, + { + "code": "2104-8", + "display": "New Hebrides", + "definition": "New Hebrides" + } + ] + }, + { + "code": "2106-3", + "display": "White", + "definition": "White", + "concept": [ + { + "code": "2108-9", + "display": "European", + "definition": "European" + }, + { + "code": "2118-8", + "display": "Middle Eastern or North African", + "definition": "Middle Eastern or North African" + }, + { + "code": "2129-5", + "display": "Arab", + "definition": "Arab" + }, + { + "code": "2109-7", + "display": "Armenian", + "definition": "Armenian" + }, + { + "code": "2110-5", + "display": "English", + "definition": "English" + }, + { + "code": "2111-3", + "display": "French", + "definition": "French" + }, + { + "code": "2112-1", + "display": "German", + "definition": "German" + }, + { + "code": "2113-9", + "display": "Irish", + "definition": "Irish" + }, + { + "code": "2114-7", + "display": "Italian", + "definition": "Italian" + }, + { + "code": "2115-4", + "display": "Polish", + "definition": "Polish" + }, + { + "code": "2116-2", + "display": "Scottish", + "definition": "Scottish" + }, + { + "code": "2119-6", + "display": "Assyrian", + "definition": "Assyrian" + }, + { + "code": "2120-4", + "display": "Egyptian", + "definition": "Egyptian" + }, + { + "code": "2121-2", + "display": "Iranian", + "definition": "Iranian" + }, + { + "code": "2122-0", + "display": "Iraqi", + "definition": "Iraqi" + }, + { + "code": "2123-8", + "display": "Lebanese", + "definition": "Lebanese" + }, + { + "code": "2124-6", + "display": "Palestinian", + "definition": "Palestinian" + }, + { + "code": "2125-3", + "display": "Syrian", + "definition": "Syrian" + }, + { + "code": "2126-1", + "display": "Afghanistani", + "definition": "Afghanistani" + }, + { + "code": "2127-9", + "display": "Israeili", + "definition": "Israeili" + } + ] + }, + { + "code": "2131-1", + "display": "Other Race", + "definition": "Note that this term remains in the table for completeness, even though within HL7, the notion of Other code is deprecated." + } + ] + }, + { + "code": "2133-7", + "display": "Ethnicity", + "definition": "Ethnicity", + "concept": [ + { + "code": "2135-2", + "display": "Hispanic or Latino", + "definition": "Hispanic or Latino", + "concept": [ + { + "code": "2137-8", + "display": "Spaniard", + "definition": "Spaniard" + }, + { + "code": "2148-5", + "display": "Mexican", + "definition": "Mexican" + }, + { + "code": "2155-0", + "display": "Central American", + "definition": "Central American" + }, + { + "code": "2165-9", + "display": "South American", + "definition": "South American" + }, + { + "code": "2178-2", + "display": "Latin American", + "definition": "Latin American" + }, + { + "code": "2180-8", + "display": "Puerto Rican", + "definition": "Puerto Rican" + }, + { + "code": "2182-4", + "display": "Cuban", + "definition": "Cuban" + }, + { + "code": "2184-0", + "display": "Dominican", + "definition": "Dominican" + }, + { + "code": "2138-6", + "display": "Andalusian", + "definition": "Andalusian" + }, + { + "code": "2139-4", + "display": "Asturian", + "definition": "Asturian" + }, + { + "code": "2140-2", + "display": "Castillian", + "definition": "Castillian" + }, + { + "code": "2141-0", + "display": "Catalonian", + "definition": "Catalonian" + }, + { + "code": "2142-8", + "display": "Belearic Islander", + "definition": "Belearic Islander" + }, + { + "code": "2143-6", + "display": "Gallego", + "definition": "Gallego" + }, + { + "code": "2144-4", + "display": "Valencian", + "definition": "Valencian" + }, + { + "code": "2145-1", + "display": "Canarian", + "definition": "Canarian" + }, + { + "code": "2146-9", + "display": "Spanish Basque", + "definition": "Spanish Basque" + }, + { + "code": "2149-3", + "display": "Mexican American", + "definition": "Mexican American" + }, + { + "code": "2150-1", + "display": "Mexicano", + "definition": "Mexicano" + }, + { + "code": "2151-9", + "display": "Chicano", + "definition": "Chicano" + }, + { + "code": "2152-7", + "display": "La Raza", + "definition": "La Raza" + }, + { + "code": "2153-5", + "display": "Mexican American Indian", + "definition": "Mexican American Indian" + }, + { + "code": "2156-8", + "display": "Costa Rican", + "definition": "Costa Rican" + }, + { + "code": "2157-6", + "display": "Guatemalan", + "definition": "Guatemalan" + }, + { + "code": "2158-4", + "display": "Honduran", + "definition": "Honduran" + }, + { + "code": "2159-2", + "display": "Nicaraguan", + "definition": "Nicaraguan" + }, + { + "code": "2160-0", + "display": "Panamanian", + "definition": "Panamanian" + }, + { + "code": "2161-8", + "display": "Salvadoran", + "definition": "Salvadoran" + }, + { + "code": "2162-6", + "display": "Central American Indian", + "definition": "Central American Indian" + }, + { + "code": "2163-4", + "display": "Canal Zone", + "definition": "Canal Zone" + }, + { + "code": "2166-7", + "display": "Argentinean", + "definition": "Argentinean" + }, + { + "code": "2167-5", + "display": "Bolivian", + "definition": "Bolivian" + }, + { + "code": "2168-3", + "display": "Chilean", + "definition": "Chilean" + }, + { + "code": "2169-1", + "display": "Colombian", + "definition": "Colombian" + }, + { + "code": "2170-9", + "display": "Ecuadorian", + "definition": "Ecuadorian" + }, + { + "code": "2171-7", + "display": "Paraguayan", + "definition": "Paraguayan" + }, + { + "code": "2172-5", + "display": "Peruvian", + "definition": "Peruvian" + }, + { + "code": "2173-3", + "display": "Uruguayan", + "definition": "Uruguayan" + }, + { + "code": "2174-1", + "display": "Venezuelan", + "definition": "Venezuelan" + }, + { + "code": "2175-8", + "display": "South American Indian", + "definition": "South American Indian" + }, + { + "code": "2176-6", + "display": "Criollo", + "definition": "Criollo" + } + ] + }, + { + "code": "2186-5", + "display": "Not Hispanic or Latino", + "definition": "Note that this term remains in the table for completeness, even though within HL7, the notion of \"not otherwise coded\" term is deprecated." + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/vocabulary/CodeSystem/CodeSystem-condition-category.json b/evaluator.cli/src/test/resources/dstu3/vocabulary/CodeSystem/CodeSystem-condition-category.json new file mode 100644 index 000000000..20ece7e1e --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/vocabulary/CodeSystem/CodeSystem-condition-category.json @@ -0,0 +1,41 @@ +{ + "resourceType": "CodeSystem", + "id": "condition-category", + "text": { + "status": "generated", + "div": "

US Core Condition Category Extension Codes

Set of codes that are needed for implementation of the US-Core profiles. These codes are used as extensions to the FHIR and US Core value sets.

\n

This code system http://hl7.org/fhir/us/core/CodeSystem/condition-category defines the following codes:

CodeDisplayDefinition
problem ProblemThe patients problems as identified by the provider(s). Items on the provider’s problem list
health-concern Health ConcernAdditional health concerns from other stakeholders which are outside the provider’s problem list.
" + }, + "url": "http://hl7.org/fhir/us/core/CodeSystem/condition-category", + "version": "2.0.0", + "name": "US Core Condition Category Extension Codes", + "status": "draft", + "date": "2018-12-04T10:36:33+11:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "Set of codes that are needed for implementation of the US-Core profiles. These codes are used as extensions to the FHIR and US Core value sets.\n", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "caseSensitive": true, + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/condition-category", + "content": "complete", + "concept": [ + { + "code": "problem", + "display": "Problem", + "definition": "The patients problems as identified by the provider(s). Items on the provider’s problem list" + }, + { + "code": "health-concern", + "display": "Health Concern", + "definition": "Additional health concerns from other stakeholders which are outside the provider’s problem list." + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-birthsex.json b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-birthsex.json new file mode 100644 index 000000000..55b87040a --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-birthsex.json @@ -0,0 +1,62 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-birthsex", + "text": { + "status": "generated", + "div": "

US Core Birth Sex Value Set

Codes for assigning sex at birth as specified by the Office of the National Coordinator for Health IT (ONC)

\n

This value set includes codes from the following code systems:

  • Include these codes as defined in http://hl7.org/fhir/v3/AdministrativeGender
    CodeDisplay
    FFemaleFemale
    MMaleMale
  • Include these codes as defined in http://hl7.org/fhir/v3/NullFlavor
    CodeDisplay
    UNKUnknownDescription:A proper value is applicable, but not known.
    \n \n Usage Notes: This means the actual value is not known. If the only thing that is unknown is how to properly express the value in the necessary constraints (value set, datatype, etc.), then the OTH or UNC flavor should be used. No properties should be included for a datatype with this property unless:
    \n \n Those properties themselves directly translate to a semantic of "unknown". (E.g. a local code sent as a translation that conveys 'unknown')\n Those properties further qualify the nature of what is unknown. (E.g. specifying a use code of "H" and a URL prefix of "tel:" to convey that it is the home phone number that is unknown.)
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-birthsex", + "version": "2.0.0", + "name": "US Core Birth Sex Value Set", + "status": "active", + "date": "2016-08-10T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "Codes for assigning sex at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/v3/AdministrativeGender", + "concept": [ + { + "code": "F", + "display": "Female" + }, + { + "code": "M", + "display": "Male" + } + ] + }, + { + "system": "http://hl7.org/fhir/v3/NullFlavor", + "concept": [ + { + "code": "UNK", + "display": "Unknown" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-careteam-provider-roles.json b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-careteam-provider-roles.json new file mode 100644 index 000000000..1c633ce00 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-careteam-provider-roles.json @@ -0,0 +1,65 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-careteam-provider-roles", + "text": { + "status": "generated", + "div": "

CareTeam Provider Roles

Provider roles codes consist of NUCC Health Care Provider Taxonomy Code Set for providers and SNOMED-CT for - non clinical and organization roles including codes from the SCTID 125676002 Person (person) heirarchy and the SCTID 394730007 Healthcare related organization (qualifier value) heirarchy.

\n

Copyright Statement: This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement. This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained.

This value set includes codes from the following code systems:

  • Include all codes defined in http://nucc.org/provider-taxonomy
  • Include codes from http://snomed.info/sct where concept is-a 125676002 (Person)
  • Include codes from http://snomed.info/sct where concept is-a 394730007 (Healthcare related organization)
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-careteam-provider-roles", + "version": "2.0.0", + "name": "CareTeam Provider Roles", + "status": "draft", + "date": "2016-08-09T01:27:28+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "Provider roles codes consist of NUCC Health Care Provider Taxonomy Code Set for providers and SNOMED-CT for - non clinical and organization roles including codes from the SCTID 125676002 Person (person) heirarchy and the SCTID 394730007 Healthcare related organization (qualifier value) heirarchy.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "purpose": "Codes that may be used for implementation of the Argonaut Procedures IG and MU2015 certification.", + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement. This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained.", + "compose": { + "include": [ + { + "system": "http://nucc.org/provider-taxonomy" + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "125676002" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "394730007" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-condition-category.json b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-condition-category.json new file mode 100644 index 000000000..bb9dcf397 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-condition-category.json @@ -0,0 +1,43 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-condition-category", + "text": { + "status": "generated", + "div": "

US Core Condition Category Codes

The US core Condition Category Codes support the separate concepts of problems and health concerns in Condition.category in order for API consumers to be able to separate health concerns and problems. However this is not mandatory for 2015 certification

\n

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category", + "version": "2.0.0", + "name": "US Core Condition Category Codes", + "status": "draft", + "date": "2016-08-10T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "The US core Condition Category Codes support the separate concepts of problems and health concerns in Condition.category in order for API consumers to be able to separate health concerns and problems. However this is not mandatory for 2015 certification", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "purpose": "So API consumers can separate health concerns and problems.", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/condition-category" + }, + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/condition-category", + "concept": [ + { + "code": "health-concern", + "display": "Health Concern" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-cvx.json b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-cvx.json new file mode 100644 index 000000000..5bad36e44 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-cvx.json @@ -0,0 +1,49 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-cvx", + "text": { + "status": "generated", + "div": "

Vaccine Administered Value Set (CVX)

This identifies the vaccine substance administered - CVX codes

\n

This value set includes codes from the following code systems:

  • Include all codes defined in http://hl7.org/fhir/sid/cvx
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-cvx", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.3.88.12.80.22" + } + ], + "version": "2.0.0", + "name": "Vaccine Administered Value Set (CVX)", + "status": "active", + "date": "2016-08-10T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This identifies the vaccine substance administered - CVX codes", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/sid/cvx" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-encounter-type.json b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-encounter-type.json new file mode 100644 index 000000000..3696d776e --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-encounter-type.json @@ -0,0 +1,60 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-encounter-type", + "text": { + "status": "generated", + "div": "
\n\t\t\t

US Core Encounter Type

\n\t\t\t

The type of encounter: a specific code indicating type of service provided, from\n\t\t\t\tSNOMED CT and CPT

\n\t\t\t

\n\t\t\t\tCopyright Statement: This value set includes content from SNOMED CT, which is\n\t\t\t\tcopyright © 2002+ International Health Terminology Standards Development\n\t\t\t\tOrganisation (IHTSDO), and distributed by agreement between IHTSDO and HL7.\n\t\t\t\tImplementer use of SNOMED CT is not covered by this agreement. CPT copyright 2014\n\t\t\t\tAmerican Medical Association. All rights reserved.

\n\t\t\t

This value set includes codes from SNOMED CT decending from 308335008 patient\n\t\t\t\tencounter procedure (procedure) and codes from the Current Procedure and Terminology\n\t\t\t\tdesignated for Evaluation and Management (99200 – 99607) (subscription to AMA\n\t\t\t\tRequired). Code systems included:

\n\t\t\t
    \n\t\t\t\t
  • http://snomed.info/sct
  • \n\t\t\t\t
  • http://www.ama-assn.org/go/cpt
  • \n\t\t\t
\n\t\t
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-encounter-type", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.3.88.12.80.32" + } + ], + "version": "2.0.0", + "name": "US Core Encounter Type", + "status": "draft", + "date": "2017-12-10T00:00:00+11:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "The type of encounter: a specific code indicating type of service provided, from SNOMED CT and CPT", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement. CPT copyright 2014 American Medical Association. All rights reserved.", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "308335008" + } + ] + }, + { + "system": "http://www.ama-assn.org/go/cpt" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-medication-codes.json b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-medication-codes.json new file mode 100644 index 000000000..93abcb5b0 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-medication-codes.json @@ -0,0 +1,62 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-medication-codes", + "meta": { + "lastUpdated": "2016-05-25T16:59:08.250+10:00", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

Medication Clinical Drug (RxNorm)

\n

All prescribable medication formulations represented using either a 'generic' or 'brand-specific' concept. This includes RxNorm codes whose Term Type is SCD (semantic clinical drug), SBD (semantic brand drug), GPCK (generic pack), BPCK (brand pack), SCDG (semantic clinical drug group), SBDG (semantic brand drug group), SCDF (semantic clinical drug form), or SBDF (semantic brand drug form)

\n

This value set includes codes from the following code systems:

\n
    \n
  • Include codes from http://www.nlm.nih.gov/research/umls/rxnorm where TTY in SCD,SBD,GPCK,BPCK,SCDG,SBDG,SCDF,SBDF
  • \n
\n
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113762.1.4.1010.4" + } + ], + "version": "2.0.0", + "name": "Medication Clinical Drug (RxNorm)", + "status": "draft", + "date": "2016-05-25T16:59:08+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "All prescribable medication formulations represented using either a 'generic' or 'brand-specific' concept. This includes RxNorm codes whose Term Type is SCD (semantic clinical drug), SBD (semantic brand drug), GPCK (generic pack), BPCK (brand pack), SCDG (semantic clinical drug group), SBDG (semantic brand drug group), SCDF (semantic clinical drug form), or SBDF (semantic brand drug form)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "filter": [ + { + "property": "TTY", + "op": "in", + "value": "SCD,SBD,GPCK,BPCK,SCDG,SBDG,SCDF,SBDF" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-narrative-status.json b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-narrative-status.json new file mode 100644 index 000000000..be5d44ca7 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-narrative-status.json @@ -0,0 +1,54 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-narrative-status", + "text": { + "status": "generated", + "div": "

Narrative Status

This value set limits the text status for the resource narrative.

\n

Copyright Statement: HL7

This value set includes codes from the following code systems:

  • Include these codes as defined in http://hl7.org/fhir/narrative-status
    CodeDisplay
    additionaladditionalThe contents of the narrative may contain additional information not found in the structured data. Note that there is no computable way to determine what the extra information is, other than by human inspection
    generatedgeneratedThe contents of the narrative are entirely generated from the structured data in the content.
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-narrative-status", + "version": "2.0.0", + "name": "Narrative Status", + "status": "draft", + "date": "2018-12-04T10:36:33+11:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This value set limits the text status for the resource narrative.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "HL7", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/narrative-status", + "concept": [ + { + "code": "additional", + "display": "additional" + }, + { + "code": "generated", + "display": "generated" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-ndc-vaccine-codes.json b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-ndc-vaccine-codes.json new file mode 100644 index 000000000..61eca6d78 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-ndc-vaccine-codes.json @@ -0,0 +1,34 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-ndc-vaccine-codes", + "text": { + "status": "generated", + "div": "

Vaccine National Drug Code (NDC)

This value set includes all the Vaccine National Drug Codes (NDC). This source of this data is provided by the CDC. A crosswalk between NDC and CVX is available in the CDC NDC Lookup Crosswalk

\n

This value set includes codes from the following code systems:

  • Include all codes defined in http://hl7.org/fhir/sid/ndc
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-ndc-vaccine-codes", + "version": "2.0.0", + "name": "Vaccine National Drug Code (NDC)", + "status": "draft", + "date": "2016-08-10T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "This value set includes all the Vaccine National Drug Codes (NDC). This source of this data is provided by the [CDC](https://www2a.cdc.gov/vaccines/iis/iisstandards/ndc_crosswalk.asp). A crosswalk between NDC and CVX is available in the [CDC NDC Lookup Crosswalk](https://www2a.cdc.gov/vaccines/iis/iisstandards/vaccines.asp?rpt=ndc)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "purpose": "Codes that are used as translations for CVX code for implementation of the Argonaut Immunization IG and MU2015 certification.", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/sid/ndc" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-observation-ccdasmokingstatus.json b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-observation-ccdasmokingstatus.json new file mode 100644 index 000000000..68ea6ed6e --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-observation-ccdasmokingstatus.json @@ -0,0 +1,90 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-observation-ccdasmokingstatus", + "meta": { + "lastUpdated": "2016-05-25T16:59:08.250+10:00", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "

Smoking Status

This value set indicates the current smoking status of a patient.

\n

Copyright Statement: This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-ccdasmokingstatus", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.4.642.2.602" + } + ], + "version": "2.0.0", + "name": "Smoking Status", + "status": "active", + "date": "2016-08-10T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This value set indicates the current smoking status of a patient.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "concept": [ + { + "code": "449868002", + "display": "Current every day smoker" + }, + { + "code": "428041000124106", + "display": "Current some day smoker" + }, + { + "code": "8517006", + "display": "Former smoker" + }, + { + "code": "266919005", + "display": "Never smoker" + }, + { + "code": "77176002", + "display": "Smoker, current status unknown" + }, + { + "code": "266927001", + "display": "Unknown if ever smoked" + }, + { + "code": "428071000124103", + "display": "Current Heavy tobacco smoker" + }, + { + "code": "428061000124105", + "display": "Current Light tobacco smoker" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-observation-value-codes.json b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-observation-value-codes.json new file mode 100644 index 000000000..46221b1dd --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-observation-value-codes.json @@ -0,0 +1,55 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-observation-value-codes", + "text": { + "status": "generated", + "div": "

Observation Value Codes (SNOMED-CT)

Snomed-CT concept codes for coded results

\n

Copyright Statement: This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement

This value set includes codes from the following code systems:

" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-extensible", + "valueBoolean": true + } + ], + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-value-codes", + "version": "2.0.0", + "name": "Observation Value Codes (SNOMED-CT)", + "status": "draft", + "date": "2016-08-10T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + }, + { + "system": "email", + "value": "fhir@lists.hl7.org" + } + ] + } + ], + "description": "[Snomed-CT](http://www.ihtsdo.org/) concept codes for coded results", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "extensible": true, + "compose": { + "include": [ + { + "system": "http://snomed.info/sct" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-problem.json b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-problem.json new file mode 100644 index 000000000..1d1ace9db --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-problem.json @@ -0,0 +1,81 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-problem", + "meta": { + "lastUpdated": "2016-05-25T16:59:08.250+10:00", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

Problem Value Set

\n

This describes the problem. Diagnosis/Problem List is broadly defined as a series of brief statements that catalog a patient's medical, nursing, dental, social, preventative and psychiatric events and issues that are relevant to that patient's healthcare (e.g., signs, symptoms, and defined conditions)

\n

\n Copyright Statement: This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement\n

\n

This value set includes codes from the following code systems:

\n
    \n
  • No current problems or disability 160245001
  • \n
  • Include codes from http://snomed.info/sct where concept is-a 404684003
  • \n
  • Include codes from http://snomed.info/sct where concept is-a 243796009
  • \n
\n
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-problem", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.3.88.12.3221.7.4" + } + ], + "version": "2.0.0", + "name": "Problem Value Set", + "status": "active", + "date": "2016-05-25T16:59:08+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://phinvads.cdc.gov/vads/ViewValueSet.action?oid=2.16.840.1.113883.3.88.12.3221.7.4" + } + ] + } + ], + "description": "This describes the problem. Diagnosis/Problem List is broadly defined as a series of brief statements that catalog a patient's medical, nursing, dental, social, preventative and psychiatric events and issues that are relevant to that patient's healthcare (e.g., signs, symptoms, and defined conditions)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "concept": [ + { + "code": "160245001" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "404684003" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "243796009" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-procedure-code.json b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-procedure-code.json new file mode 100644 index 000000000..9ced688fc --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-procedure-code.json @@ -0,0 +1,66 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-procedure-code", + "meta": { + "lastUpdated": "2016-05-25T16:59:08.250+10:00", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "

US Core Procedure Codes

This example value set defines a set of codes that can be used to indicate the type of procedure: a specific code indicating type of procedure performed, from CPT or SNOMED CT.

\n

Copyright Statement: CPT copyright 2014 American Medical Association. All rights reserved. This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement

This value set includes codes from the following code systems:

  • Include all codes defined in http://www.ama-assn.org/go/cpt
  • Include codes from http://snomed.info/sct where concept is-a 71388002 (Procedure)
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.4.642.2.607" + } + ], + "version": "2.0.0", + "name": "US Core Procedure Codes", + "status": "draft", + "date": "2016-05-25T16:59:08+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This example value set defines a set of codes that can be used to indicate the type of procedure: a specific code indicating type of procedure performed, from CPT or SNOMED CT.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "CPT copyright 2014 American Medical Association. All rights reserved. This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://www.ama-assn.org/go/cpt" + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "71388002" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-procedure-icd10pcs.json b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-procedure-icd10pcs.json new file mode 100644 index 000000000..2d33db4dd --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-procedure-icd10pcs.json @@ -0,0 +1,50 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-procedure-icd10pcs", + "meta": { + "lastUpdated": "2016-05-25T16:59:08.250+10:00", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "

US Core ICD-10-PCS Procedure Codes

This value set defines a set of codes from ICD10-PCS that can be used to indicate a type of procedure performed

\n

Copyright Statement: The International Classification of Diseases, Tenth Revision, Procedure Coding System (ICD-10-PCS) was developed for the Centers for Medicare and Medicaid Services (CMS). CMS is the U.S. governmental agency responsible for overseeing all changes and modifications to the ICD-10-PCS.

This value set includes codes from the following code systems:

  • Include all codes defined in http://www.icd10data.com/icd10pcs
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-icd10pcs", + "version": "2.0.0", + "name": "US Core ICD-10-PCS Procedure Codes", + "status": "draft", + "date": "2016-08-10T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This value set defines a set of codes from ICD10-PCS that can be used to indicate a type of procedure performed", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "The International Classification of Diseases, Tenth Revision, Procedure Coding System (ICD-10-PCS) was developed for the Centers for Medicare and Medicaid Services (CMS). CMS is the U.S. governmental agency responsible for overseeing all changes and modifications to the ICD-10-PCS.", + "compose": { + "include": [ + { + "system": "http://www.icd10data.com/icd10pcs" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-provider-role.json b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-provider-role.json new file mode 100644 index 000000000..51e3d3496 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-provider-role.json @@ -0,0 +1,44 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-provider-role", + "text": { + "status": "generated", + "div": "
\n\t\t\t

US Core Provider Role (NUCC)

\n\t\t\t
\n\t\t\t\t

Provider roles codes which are composed of the NUCC Health Care Provider Taxonomy\n\t\t\t\t\tCode Set for providers. Only concepts with a classification and no specialization are included.

\n\t\t\t
\n\t\t\t

\n\t\t\t\tCopyright Statement: TODO: Permission to Use and Distribute the Health Care\n\t\t\t\tProvider Taxonomy Code Set

\n\t\t\t

This value set includes codes from the following code systems:

\n\t\t\t
    \n\t\t\t\t
  • Include only concepts with a classification and no specialization from: http://nucc.org/provider-taxonomy
  • \n\t\t\t
\n\t\t
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role", + "version": "2.0.0", + "name": "US Core Provider Role (NUCC)", + "status": "draft", + "date": "2016-08-10T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "Provider roles codes which are composed of the NUCC Health Care Provider Taxonomy Code Set classification codes for providers. Only concepts with a classification and no specialization are included. ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained.", + "compose": { + "include": [ + { + "system": "http://nucc.org/provider-taxonomy" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-provider-specialty.json b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-provider-specialty.json new file mode 100644 index 000000000..4574b52d9 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-provider-specialty.json @@ -0,0 +1,44 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-provider-specialty", + "text": { + "status": "generated", + "div": "

US Core Provider Speciality (NUCC)

Provider speciality roles codes which are composed of the NUCC Health Care Provider Taxonomy Code Set for providers

\n

Copyright Statement: This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained.

This value set includes codes from the following code systems:

  • Include all codes defined in http://nucc.org/provider-taxonomy
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-specialty", + "version": "2.0.0", + "name": "US Core Provider Speciality (NUCC)", + "status": "draft", + "date": "2016-08-10T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "Provider speciality roles codes which are composed of the NUCC Health Care Provider Taxonomy Code Set for providers", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained.", + "compose": { + "include": [ + { + "system": "http://nucc.org/provider-taxonomy" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-substance-ndfrt.json b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-substance-ndfrt.json new file mode 100644 index 000000000..8d76e11da --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-substance-ndfrt.json @@ -0,0 +1,79 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-substance-ndfrt", + "meta": { + "lastUpdated": "2016-05-25T16:59:08.250+10:00" + }, + "text": { + "status": "generated", + "div": "

US Core Substance ND-FRT codes

All ND-FRT NUIs for concepts that are subsumed by 'Mechanism of Action - N0000000223', 'Physiologic Effect - N0000009802' or 'Chemical Structure - N0000000002'.

\n

This value set includes codes from the following code systems:

  • Include codes from http://hl7.org/fhir/ndfrt where concept is-a N0000000223
  • Include codes from http://hl7.org/fhir/ndfrt where concept is-a N0000009802
  • Include codes from http://hl7.org/fhir/ndfrt where concept is-a N0000000002
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-substance-ndfrt", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.3.88.12.80.18" + } + ], + "version": "2.0.0", + "name": "US Core Substance ND-FRT codes", + "status": "draft", + "date": "2018-12-04T10:36:33+11:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "All ND-FRT NUIs for concepts that are subsumed by 'Mechanism of Action - N0000000223', 'Physiologic Effect - N0000009802' or 'Chemical Structure - N0000000002'.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/ndfrt", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "N0000000223" + } + ] + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "N0000009802" + } + ] + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "N0000000002" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-substance-rxnorm.json b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-substance-rxnorm.json new file mode 100644 index 000000000..fd4b4862f --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-substance-rxnorm.json @@ -0,0 +1,71 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-substance-rxnorm", + "meta": { + "lastUpdated": "2016-05-25T16:59:08.250+10:00" + }, + "text": { + "status": "generated", + "div": "

US Core Substance RxNorm Codes

All RxNorm codes that have TTY = IN,PIN,MIN,BN, but TTY != OCD.

\n

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-substance-rxnorm", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113762.1.4.1010.7" + } + ], + "version": "2.0.0", + "name": "US Core Substance RxNorm Codes", + "status": "draft", + "date": "2018-12-04T10:36:33+11:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "All RxNorm codes that have TTY = IN,PIN,MIN,BN, but TTY != OCD.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "filter": [ + { + "property": "TTY", + "op": "in", + "value": "IN,PIN,MIN,BN" + } + ] + } + ], + "exclude": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "filter": [ + { + "property": "TTY", + "op": "=", + "value": "OCD" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-substance-sct.json b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-substance-sct.json new file mode 100644 index 000000000..f4e3054ae --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-substance-sct.json @@ -0,0 +1,113 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-substance-sct", + "text": { + "status": "generated", + "div": "

US Core SNOMED CT Substances Other Than Clinical Drugs

SNOMED CT concepts from SCTID 716186003 No Known allergy (situation) and substance concepts Other Than Clinical Drug Substances that are not represented by RXNORM drug concepts or FDA UNII substance concepts. This value set is meant to be quite broad and includes many substances that may never be prescribed or be a reactant. It does not remove all overlap with RXNORM and UNII; for those concepts, the alternative code system should be chosen.

\n

Copyright Statement: This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement.

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-substance-sct", + "version": "2.0.0", + "name": "US Core SNOMED CT Substances Other Than Clinical Drugs", + "status": "draft", + "date": "2016-12-02T00:00:00+11:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "SNOMED CT concepts from SCTID 716186003 No Known allergy (situation) and substance concepts Other Than Clinical Drug Substances that are not represented by RXNORM drug concepts or FDA UNII substance concepts. This value set is meant to be quite broad and includes many substances that may never be prescribed or be a reactant. It does not remove all overlap with RXNORM and UNII; for those concepts, the alternative code system should be chosen.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement.", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "716186003" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "105590001" + } + ] + } + ], + "exclude": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "410942007" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "438951008" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "312412007" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "312413002" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "312417001" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-substance.json b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-substance.json new file mode 100644 index 000000000..764825204 --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/ValueSet-us-core-substance.json @@ -0,0 +1,62 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-substance", + "meta": { + "lastUpdated": "2016-05-25T16:59:08.250+10:00", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "

US Core Substance-Reactant for Intolerance and Negation Codes

A substance or other type of agent (e.g., sunshine) that may be associated with an intolerance reaction event or a propensity to such an event. These concepts are expected to be at a more general level of abstraction (ingredients versus more specific formulations). This value set is quite general and includes concepts that may never cause an adverse event, particularly the included SNOMED CT concepts. The code system-specific value sets in this grouping value set are intended to provide broad coverage of all kinds of agents, but the expectation for use is that the chosen concept identifier for a substance should be appropriately specific and drawn from the available code systems in the following priority order: 1. NDF-RT codes for drug class allergies 2. RxNorm codes limited to term types (TTY) , 'BN' Brand Name, 'IN' ingredient, 'MIN' multiple ingredient, and 'PIN' precise ingredient for drug ingredient allergies 3. SNOMED CT including concepts from SCTID 716186003 No Known allergy (situation) and if no other code from above code systems are available

\n

Copyright Statement: This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-substance", + "version": "2.0.0", + "name": "US Core Substance-Reactant for Intolerance and Negation Codes", + "status": "draft", + "date": "2016-05-25T16:59:08+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "A substance or other type of agent (e.g., sunshine) that may be associated with an intolerance reaction event or a propensity to such an event. These concepts are expected to be at a more general level of abstraction (ingredients versus more specific formulations). This value set is quite general and includes concepts that may never cause an adverse event, particularly the included SNOMED CT concepts. The code system-specific value sets in this grouping value set are intended to provide broad coverage of all kinds of agents, but the expectation for use is that the chosen concept identifier for a substance should be appropriately specific and drawn from the available code systems in the following priority order: 1. NDF-RT codes for drug class allergies 2. RxNorm codes limited to term types (TTY) , 'BN' Brand Name, 'IN' ingredient, 'MIN' multiple ingredient, and 'PIN' precise ingredient for drug ingredient allergies 3. SNOMED CT including concepts from SCTID 716186003 No Known allergy (situation) and if no other code from above code systems are available ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "valueSet": [ + "http://hl7.org/fhir/us/core/ValueSet/us-core-substance-ndfrt" + ] + }, + { + "valueSet": [ + "http://hl7.org/fhir/us/core/ValueSet/us-core-substance-rxnorm" + ] + }, + { + "valueSet": [ + "http://hl7.org/fhir/us/core/ValueSet/us-core-substance-sct" + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/valueset-marital-status.json b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/valueset-marital-status.json new file mode 100644 index 000000000..882bc9fdf --- /dev/null +++ b/evaluator.cli/src/test/resources/dstu3/vocabulary/ValueSet/valueset-marital-status.json @@ -0,0 +1 @@ +{"resourceType" : "ValueSet","id" : "marital-status","meta" : {"versionId" : "1","lastUpdated" : "2018-09-20T01:10:48.035Z","profile" : ["http://hl7.org/fhir/StructureDefinition/shareablevalueset"]},"url" : "http://hl7.org/fhir/ValueSet/marital-status","identifier" : [{"system" : "urn:ietf:rfc:3986","value" : "urn:oid:2.16.840.1.113883.4.642.3.28"}],"version" : "3.0.1","name" : "Marital Status Codes","status" : "draft","experimental" : true,"date" : "2017-04-19T07:44:43+10:00","immutable" : true,"expansion" : {"identifier" : "urn:uuid:06946f85-26c0-489b-adee-bb5486a574fb","timestamp" : "2020-05-09T22:01:35.678Z","parameter" : [{"name" : "expansion-source","valueString" : "ValueSet/marital-status"},{"name" : "displayLanguage","valueString" : "en-US,en;q=0.5"},{"name" : "version","valueString" : "http://hl7.org/fhir/v3/MaritalStatus|2016-11-11"},{"name" : "version","valueString" : "http://hl7.org/fhir/v3/NullFlavor|2016-11-11"}],"contains" : [{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "Marriage contract has been declared null and to not have existed"}],"system" : "http://hl7.org/fhir/v3/MaritalStatus","code" : "A","display" : "Annulled"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "Marriage contract has been declared dissolved and inactive"}],"system" : "http://hl7.org/fhir/v3/MaritalStatus","code" : "D","display" : "Divorced"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "Subject to an Interlocutory Decree."}],"system" : "http://hl7.org/fhir/v3/MaritalStatus","code" : "I","display" : "Interlocutory"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "Legally Separated"}],"system" : "http://hl7.org/fhir/v3/MaritalStatus","code" : "L","display" : "Legally Separated"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "A current marriage contract is active"}],"system" : "http://hl7.org/fhir/v3/MaritalStatus","code" : "M","display" : "Married"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "More than 1 current spouse"}],"system" : "http://hl7.org/fhir/v3/MaritalStatus","code" : "P","display" : "Polygamous"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "No marriage contract has ever been entered"}],"system" : "http://hl7.org/fhir/v3/MaritalStatus","code" : "S","display" : "Never Married"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "Person declares that a domestic partner relationship exists."}],"system" : "http://hl7.org/fhir/v3/MaritalStatus","code" : "T","display" : "Domestic partner"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "Currently not in a marriage contract."}],"system" : "http://hl7.org/fhir/v3/MaritalStatus","code" : "U","display" : "unmarried"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "The spouse has died"}],"system" : "http://hl7.org/fhir/v3/MaritalStatus","code" : "W","display" : "Widowed"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "Description:A proper value is applicable, but not known.\r\n\n \n Usage Notes: This means the actual value is not known. If the only thing that is unknown is how to properly express the value in the necessary constraints (value set, datatype, etc.), then the OTH or UNC flavor should be used. No properties should be included for a datatype with this property unless:\r\n\n \n Those properties themselves directly translate to a semantic of \"unknown\". (E.g. a local code sent as a translation that conveys 'unknown')\n Those properties further qualify the nature of what is unknown. (E.g. specifying a use code of \"H\" and a URL prefix of \"tel:\" to convey that it is the home phone number that is unknown.)"}],"system" : "http://hl7.org/fhir/v3/NullFlavor","code" : "UNK","display" : "unknown"}]}} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/TestQICore.cql b/evaluator.cli/src/test/resources/qicore/TestQICore.cql new file mode 100644 index 000000000..362c7d2d2 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/TestQICore.cql @@ -0,0 +1,110 @@ +library TestQICore + +using QICore version '4.0.0' + +codesystem "Marital Status Codes": 'http://terminology.hl7.org/CodeSystem/v3-MaritalStatus' +codesystem "CDC Race and Ethnicity Codes": 'urn:oid:2.16.840.1.113883.6.238' + +valueset "Marital Status": 'http://hl7.org/fhir/ValueSet/marital-status' + +code "Marital Status - Married": 'M' from "Marital Status Codes" +code "American Indian or Alaska Native": '1002-5' from "CDC Race and Ethnicity Codes" +code "Alaska Native": '1735-0' from "CDC Race and Ethnicity Codes" + +context Patient + +define TestAdverseEvent: ["AdverseEvent"] +define TestAllergyIntolerance: ["AllergyIntolerance"] +define TestBodyStructure: ["BodyStructure"] +define TestCarePlan: ["CarePlan"] +define TestCareTeam: ["CareTeam"] +define TestClaim: ["Claim"] +define TestCommunication: ["Communication"] +define TestCommunicationNotDone: ["CommunicationNotDone"] +define TestCommunicationRequest: ["CommunicationRequest"] +define TestCondition: ["Condition"] +define TestCoverage: ["Coverage"] +define TestDevice: ["Device"] +define TestDeviceNotRequested: ["DeviceNotRequested"] +define TestDeviceRequest: ["DeviceRequest"] +define TestDeviceUseStatement: ["DeviceUseStatement"] +define TestDiagnosticReport: ["DiagnosticReportLab"] +define TestDiagnosticReportNote: ["DiagnosticReportNote"] +define TestEncounter: ["Encounter"] +define TestFamilyMemberHistory: ["FamilyMemberHistory"] +define TestFlag: ["Flag"] +define TestGoal: ["Goal"] +define TestImagingStudy: ["ImagingStudy"] +define TestImmunization: ["Immunization"] +define TestImmunizationEvaluation: ["ImmunizationEvaluation"] +define TestImmunizationNotDone: ["ImmunizationNotDone"] +define TestImmunizationRecommendation: ["ImmunizationRecommendation"] +define TestImplantableDevice: ["USCoreImplantableDeviceProfile"] +define TestLaboratoryResult: ["USCoreLaboratoryResultObservationProfile"] +define TestLocation: ["Location"] +define TestMedication: ["Medication"] +define TestMedicationAdministration: ["MedicationAdministration"] +define TestMedicationAdministrationNotDone: ["MedicationAdministrationNotDone"] +define TestMedicationDispense: ["MedicationDispense"] +define TestMedicationNotDispensed: ["MedicationDispenseNotDone"] +define TestMedicationNotRequested: ["MedicationNotRequested"] +define TestMedicationRequest: ["MedicationRequest"] +define TestMedicationStatement: ["MedicationStatement"] +define TestObservation: ["Observation"] +define TestObservationNotDone: ["ObservationNotDone"] +define TestOrganization: ["Organization"] +define TestPatient: ["Patient"] +define TestVitalsPanel: ["observation-vitalspanel"] +define TestRespRate: ["observation-resprate"] +define TestHeartRate: ["observation-heartrate"] +define TestOxygenSat: ["observation-oxygensat"] +define TestBodyTemp: ["observation-bodytemp"] +define TestBodyHeight: ["observation-bodyheight"] +define TestHeadCircum: ["observation-headcircum"] +define TestBodyWeight: ["observation-bodyweight"] +define TestBMI: ["observation-bmi"] +define TestBP: ["observation-bp"] +define TestSmokingStatus: ["USCoreSmokingStatusProfile"] +define TestPulseOximetry: ["USCorePulseOximetryProfile"] +define TestPediatricBMIForAge: ["USCorePediatricBMIforAgeObservationProfile"] +define TestPediatricWeightForHeight: ["USCorePediatricWeightForHeightObservationProfile"] +define TestPractitioner: ["Practitioner"] +define TestPractitionerRole: ["PractitionerRole"] +define TestProcedure: ["Procedure"] +define TestProcedureNotDone: ["ProcedureNotDone"] +define TestRelatedPerson: ["RelatedPerson"] +define TestServiceNotRequested: ["ServiceNotRequested"] +define TestServiceRequest: ["ServiceRequest"] +define TestSpecimen: ["Specimen"] +define TestSubstsance: ["Substance"] +define TestTask: ["Task"] + +define TestPrimitives: + Patient P + where P.gender = 'male' + and P.active is true + and P.birthDate before Today() + and P.maritalStatus in "Marital Status" + and P.maritalStatus ~ "Marital Status - Married" + +define TestChoice: + Patient P + where P.deceased is false + or P.deceased before Today() + +define TestSlices: + ["observation-bp"] BP + where BP.SystolicBP.value < 140 'mm[Hg]' + and BP.DiastolicBP.value < 90 'mm[Hg]' + +define TestSimpleExtensions: + Patient P + where P.birthsex = 'M' + +define TestComplexExtensions: + Patient P + where P.race.ombCategory contains "American Indian or Alaska Native" + and P.race.detailed contains "Alaska Native" + + + diff --git a/evaluator.cli/src/test/resources/qicore/example/AdverseEvent/AdverseEvent-example.json b/evaluator.cli/src/test/resources/qicore/example/AdverseEvent/AdverseEvent-example.json new file mode 100644 index 000000000..b92139a33 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/AdverseEvent/AdverseEvent-example.json @@ -0,0 +1,50 @@ +{ + "resourceType": "AdverseEvent", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-adverseevent" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: 49476534

actuality: actual

event: O/E - itchy rash (Details : {SNOMED CT code '304386008' = 'O/E - itchy rash', given as 'O/E - itchy rash'})

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

date: Jan 29, 2017 12:34:56 PM

seriousness: Non-serious (Details : {http://terminology.hl7.org/CodeSystem/adverse-event-seriousness code 'Non-serious' = 'Non-serious', given as 'Non-serious'})

recorder: Generated Summary: id: example; 23; active; Adam Careful

SuspectEntities

-Instance
*Generated Summary: id: example; alemtuzumab 10 MG/ML [Lemtrada]; Conventional release solution for injection (dose form)
" + }, + "identifier": { + "system": "http://acme.com/ids/patients/risks", + "value": "49476534" + }, + "actuality": "actual", + "event": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "304386008", + "display": "O/E - itchy rash" + } + ] + }, + "subject": { + "reference": "Patient/example" + }, + "date": "2017-01-29T12:34:56+00:00", + "seriousness": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adverse-event-seriousness", + "code": "Non-serious", + "display": "Non-serious" + } + ] + }, + "recorder": { + "reference": "Practitioner/example" + }, + "suspectEntity": [ + { + "instance": { + "reference": "Medication/example" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/AllergyIntolerance/AllergyIntolerance-example-refuted.json b/evaluator.cli/src/test/resources/qicore/example/AllergyIntolerance/AllergyIntolerance-example-refuted.json new file mode 100644 index 000000000..33229e08a --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/AllergyIntolerance/AllergyIntolerance-example-refuted.json @@ -0,0 +1,72 @@ +{ + "resourceType": "AllergyIntolerance", + "id": "example-refuted", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-allergyintolerance" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example-refuted

meta:

identifier: 49476534

clinicalStatus: Inactive (Details : {http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical code 'inactive' = 'Inactive)

verificationStatus: Refuted (Details : {http://terminology.hl7.org/CodeSystem/allergyintolerance-verification code 'refuted' = 'Refuted)

type: allergy

category: food

code: Cashew nuts (Details : {SNOMED CT code '227493005' = 'Cashew nuts', given as 'Cashew nuts'})

patient: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

recordedDate: Oct 9, 2014 3:58:00 AM

recorder: Generated Summary: id: example; 23; active; Adam Careful

asserter: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason", + "code": "MED", + "display": "Medical Status Altered" + } + ] + } + } + ], + "identifier": [ + { + "system": "http://acme.com/ids/patients/risks", + "value": "49476534" + } + ], + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "code": "inactive" + } + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification", + "code": "refuted" + } + ] + }, + "type": "allergy", + "category": [ + "food" + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "227493005", + "display": "Cashew nuts" + } + ] + }, + "patient": { + "reference": "Patient/example" + }, + "recordedDate": "2014-10-09T14:58:00+11:00", + "recorder": { + "reference": "Practitioner/example" + }, + "asserter": { + "reference": "Patient/example" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/AllergyIntolerance/AllergyIntolerance-example.json b/evaluator.cli/src/test/resources/qicore/example/AllergyIntolerance/AllergyIntolerance-example.json new file mode 100644 index 000000000..2c6e543ce --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/AllergyIntolerance/AllergyIntolerance-example.json @@ -0,0 +1,122 @@ +{ + "resourceType": "AllergyIntolerance", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-allergyintolerance" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: 49476534

clinicalStatus: Active (Details : {http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical code 'active' = 'Active)

verificationStatus: Confirmed (Details : {http://terminology.hl7.org/CodeSystem/allergyintolerance-verification code 'confirmed' = 'Confirmed)

type: allergy

category: food

criticality: high

code: Cashew nuts (Details : {SNOMED CT code '227493005' = 'Cashew nuts', given as 'Cashew nuts'})

patient: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

onset: Jan 1, 2004 12:00:00 AM

recordedDate: Oct 9, 2014 3:58:00 AM

recorder: Generated Summary: id: example; 23; active; Adam Careful

asserter: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

lastOccurrence: Jun 2, 2012 1:45:31 AM

note: The criticality is high becasue of the observed anaphylactic reaction when challenged with cashew extract.

reaction

substance: cashew nut allergenic extract Injectable Product (Details : {RxNorm code '1160593' = 'cashew nut allergenic extract Injectable Product', given as 'cashew nut allergenic extract Injectable Product'})

manifestation: Anaphylactic reaction (Details : {SNOMED CT code '39579001' = 'Anaphylaxis', given as 'Anaphylactic reaction'})

description: Challenge Protocol. Severe reaction to subcutaneous cashew extract. Epinephrine administered

onset: Jun 12, 2012 12:00:00 AM

severity: severe

exposureRoute: Subcutaneous route (Details : {SNOMED CT code '34206005' = 'Subcutaneous route', given as 'Subcutaneous route'})

reaction

manifestation: Urticaria (Details : {SNOMED CT code '64305001' = 'Urticaria', given as 'Urticaria'})

onset: Jan 1, 2004 12:00:00 AM

severity: moderate

note: The patient reports that the onset of urticaria was within 15 minutes of eating cashews.

" + }, + "identifier": [ + { + "system": "http://acme.com/ids/patients/risks", + "value": "49476534" + } + ], + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "code": "active" + } + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification", + "code": "confirmed" + } + ] + }, + "type": "allergy", + "category": [ + "food" + ], + "criticality": "high", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "227493005", + "display": "Cashew nuts" + } + ] + }, + "patient": { + "reference": "Patient/example" + }, + "onsetDateTime": "2004", + "recordedDate": "2014-10-09T14:58:00+11:00", + "recorder": { + "reference": "Practitioner/example" + }, + "asserter": { + "reference": "Patient/example" + }, + "lastOccurrence": "2012-06-02T01:45:31+00:00", + "note": [ + { + "text": "The criticality is high becasue of the observed anaphylactic reaction when challenged with cashew extract." + } + ], + "reaction": [ + { + "substance": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "1160593", + "display": "cashew nut allergenic extract Injectable Product" + } + ] + }, + "manifestation": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "39579001", + "display": "Anaphylactic reaction" + } + ] + } + ], + "description": "Challenge Protocol. Severe reaction to subcutaneous cashew extract. Epinephrine administered", + "onset": "2012-06-12", + "severity": "severe", + "exposureRoute": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "34206005", + "display": "Subcutaneous route" + } + ] + } + }, + { + "manifestation": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "64305001", + "display": "Urticaria" + } + ] + } + ], + "onset": "2004", + "severity": "moderate", + "note": [ + { + "text": "The patient reports that the onset of urticaria was within 15 minutes of eating cashews." + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/BodyStructure/BodyStructure-example.json b/evaluator.cli/src/test/resources/qicore/example/BodyStructure/BodyStructure-example.json new file mode 100644 index 000000000..8b57a36f9 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/BodyStructure/BodyStructure-example.json @@ -0,0 +1,50 @@ +{ + "resourceType": "BodyStructure", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-bodystructure" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: 12345

active: true

morphology: Splenic mass (Details : {SNOMED CT code '4147007' = 'Mass', given as 'Mass (morphologic abnormality)'})

location: Splenic mass (Details : {SNOMED CT code '78961009' = 'Spleen', given as 'Splenic structure (body structure)'})

description: 7 cm maximum diameter

image:

patient: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

" + }, + "identifier": [ + { + "system": "http://goodhealth.org/bodystructure/identifiers", + "value": "12345" + } + ], + "active": true, + "morphology": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "4147007", + "display": "Mass (morphologic abnormality)" + } + ], + "text": "Splenic mass" + }, + "location": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "78961009", + "display": "Splenic structure (body structure)" + } + ], + "text": "Splenic mass" + }, + "description": "7 cm maximum diameter", + "image": [ + { + "contentType": "application/dicom", + "url": "http://imaging.acme.com/wado/server?requestType=WADO&wado_details" + } + ], + "patient": { + "reference": "Patient/example" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/CarePlan/CarePlan-colonoscopy.json b/evaluator.cli/src/test/resources/qicore/example/CarePlan/CarePlan-colonoscopy.json new file mode 100644 index 000000000..dda40491d --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/CarePlan/CarePlan-colonoscopy.json @@ -0,0 +1,29 @@ +{ + "resourceType": "CarePlan", + "id": "colonoscopy", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan" + ] + }, + "text": { + "status": "additional", + "div": "
\n\t\t\tAssessment\n\t\t\t
    \n\t\t\t\t
  1. Recurrent GI bleed of unknown etiology; hypotension perhaps secondary to this but as likely secondary to polypharmacy.
  2. \n\t\t\t\t
  3. Acute on chronic anemia secondary to #1.
  4. \n\t\t\t\t
  5. Azotemia, acute renal failure with volume loss secondary to #1.
  6. \n\t\t\t\t
  7. Hyperkalemia secondary to #3 and on ACE and K+ supplement.
  8. \n\t\t\t\t
  9. Other chronic diagnoses as noted above, currently stable.
  10. \n\t\t\t
\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
Planned ActivityPlanned Date
ColonoscopyApril 21, 2000
\n\t\t
" + }, + "status": "active", + "intent": "order", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "code": "assess-plan" + } + ] + } + ], + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/CarePlan/CarePlan-example.json b/evaluator.cli/src/test/resources/qicore/example/CarePlan/CarePlan-example.json new file mode 100644 index 000000000..33ee18fa3 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/CarePlan/CarePlan-example.json @@ -0,0 +1,300 @@ +{ + "resourceType": "CarePlan", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

instantiatesCanonical: http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact-schedule

status: active

intent: plan

category: Assessment and Plan of Treatment (Details : {http://hl7.org/fhir/us/core/CodeSystem/careplan-category code 'assess-plan' = 'Assessment and Plan of Treatment', given as 'Assessment and Plan of Treatment'})

subject: Eve Everywoman

period: May 24, 2019 12:00:00 AM --> Feb 24, 2020 12:00:00 AM

careTeam: Generated Summary: id: example; status: active

addresses: pregnancy

goal: pregnancy goal

activity

outcomeReference: First contact, occurred at about 12 weeks based on gestational age from LMP of 2019-03-01

Details

-KindInstantiatesCanonicalCodeStatusPerformerDescription
*ServiceRequesthttp://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contactAntenatal care (Details : {SNOMED CT code '424525001' = 'Antenatal care (regime/therapy)', given as 'Antenatal care (regime/therapy)'})in-progressMabel MidwifeFirst antenatal care contact

activity

Details

-KindInstantiatesCanonicalCodeStatusScheduled[x]PerformerDescription
*ServiceRequesthttp://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contactAntenatal care (Details : {SNOMED CT code '424525001' = 'Antenatal care (regime/therapy)', given as 'Antenatal care (regime/therapy)'})scheduledJul 26, 2019 12:00:00 AM --> (ongoing)Mabel MidwifeSecond contact to occur at 20 weeks of gestational age

activity

Details

-KindInstantiatesCanonicalCodeStatusScheduled[x]PerformerDescription
*ServiceRequesthttp://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contactAntenatal care (Details : {SNOMED CT code '424525001' = 'Antenatal care (regime/therapy)', given as 'Antenatal care (regime/therapy)'})not-startedSep 6, 2019 12:00:00 AM --> (ongoing)Mabel MidwifeThird contact to occur at 26 weeks of gestational age

activity

Details

-KindInstantiatesCanonicalCodeStatusScheduled[x]PerformerDescription
*ServiceRequesthttp://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contactAntenatal care (Details : {SNOMED CT code '424525001' = 'Antenatal care (regime/therapy)', given as 'Antenatal care (regime/therapy)'})not-startedOct 4, 2019 12:00:00 AM --> (ongoing)Mabel MidwifeFourth contact to occur at 30 weeks of gestational age

activity

Details

-KindInstantiatesCanonicalCodeStatusScheduled[x]PerformerDescription
*ServiceRequesthttp://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contactAntenatal care (Details : {SNOMED CT code '424525001' = 'Antenatal care (regime/therapy)', given as 'Antenatal care (regime/therapy)'})not-startedNov 1, 2019 12:00:00 AM --> (ongoing)Mabel MidwifeFifth contact to occur at 34 weeks of gestational age

activity

Details

-KindInstantiatesCanonicalCodeStatusScheduled[x]PerformerDescription
*ServiceRequesthttp://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contactAntenatal care (Details : {SNOMED CT code '424525001' = 'Antenatal care (regime/therapy)', given as 'Antenatal care (regime/therapy)'})not-startedNov 15, 2019 12:00:00 AM --> (ongoing)Mabel MidwifeSixth contact to occur at 36 weeks of gestational age

activity

Details

-KindInstantiatesCanonicalCodeStatusScheduled[x]PerformerDescription
*ServiceRequesthttp://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contactAntenatal care (Details : {SNOMED CT code '424525001' = 'Antenatal care (regime/therapy)', given as 'Antenatal care (regime/therapy)'})not-startedNov 29, 2019 12:00:00 AM --> (ongoing)Mabel MidwifeSeventh contact to occur at 38 weeks of gestational age

activity

Details

-KindInstantiatesCanonicalCodeStatusScheduled[x]PerformerDescription
*ServiceRequesthttp://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contactAntenatal care (Details : {SNOMED CT code '424525001' = 'Antenatal care (regime/therapy)', given as 'Antenatal care (regime/therapy)'})not-startedDec 13, 2019 12:00:00 AM --> (ongoing)Mabel MidwifeEighth contact to occur at 40 weeks of gestational age

activity

Details

-KindCodeStatusScheduled[x]PerformerDescription
*ServiceRequestDelivery procedure (Details : {http://example.org/mySystem code '236973005' = '236973005', given as 'Delivery procedure (procedure)'})not-startedDec 13, 2019 12:00:00 AM --> Dec 27, 2019 12:00:00 AMMabel MidwifeDelivery
" + }, + "instantiatesCanonical": [ + "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact-schedule" + ], + "status": "active", + "intent": "plan", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "code": "assess-plan", + "display": "Assessment and Plan of Treatment" + } + ] + } + ], + "subject": { + "display": "Eve Everywoman" + }, + "period": { + "start": "2019-05-24", + "end": "2020-02-24" + }, + "careTeam": [ + { + "reference": "CareTeam/example" + } + ], + "addresses": [ + { + "display": "pregnancy" + } + ], + "goal": [ + { + "display": "pregnancy goal" + } + ], + "activity": [ + { + "outcomeReference": [ + { + "display": "First contact, occurred at about 12 weeks based on gestational age from LMP of 2019-03-01" + } + ], + "detail": { + "kind": "ServiceRequest", + "instantiatesCanonical": [ + "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact" + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "424525001", + "display": "Antenatal care (regime/therapy)" + } + ], + "text": "Antenatal care" + }, + "status": "in-progress", + "performer": [ + { + "display": "Mabel Midwife" + } + ], + "description": "First antenatal care contact" + } + }, + { + "detail": { + "kind": "ServiceRequest", + "instantiatesCanonical": [ + "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact" + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "424525001", + "display": "Antenatal care (regime/therapy)" + } + ], + "text": "Antenatal care" + }, + "status": "scheduled", + "scheduledPeriod": { + "start": "2019-07-26" + }, + "performer": [ + { + "display": "Mabel Midwife" + } + ], + "description": "Second contact to occur at 20 weeks of gestational age" + } + }, + { + "detail": { + "kind": "ServiceRequest", + "instantiatesCanonical": [ + "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact" + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "424525001", + "display": "Antenatal care (regime/therapy)" + } + ], + "text": "Antenatal care" + }, + "status": "not-started", + "scheduledPeriod": { + "start": "2019-09-06" + }, + "performer": [ + { + "display": "Mabel Midwife" + } + ], + "description": "Third contact to occur at 26 weeks of gestational age" + } + }, + { + "detail": { + "kind": "ServiceRequest", + "instantiatesCanonical": [ + "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact" + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "424525001", + "display": "Antenatal care (regime/therapy)" + } + ], + "text": "Antenatal care" + }, + "status": "not-started", + "scheduledPeriod": { + "start": "2019-10-04" + }, + "performer": [ + { + "display": "Mabel Midwife" + } + ], + "description": "Fourth contact to occur at 30 weeks of gestational age" + } + }, + { + "detail": { + "kind": "ServiceRequest", + "instantiatesCanonical": [ + "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact" + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "424525001", + "display": "Antenatal care (regime/therapy)" + } + ], + "text": "Antenatal care" + }, + "status": "not-started", + "scheduledPeriod": { + "start": "2019-11-01" + }, + "performer": [ + { + "display": "Mabel Midwife" + } + ], + "description": "Fifth contact to occur at 34 weeks of gestational age" + } + }, + { + "detail": { + "kind": "ServiceRequest", + "instantiatesCanonical": [ + "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact" + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "424525001", + "display": "Antenatal care (regime/therapy)" + } + ], + "text": "Antenatal care" + }, + "status": "not-started", + "scheduledPeriod": { + "start": "2019-11-15" + }, + "performer": [ + { + "display": "Mabel Midwife" + } + ], + "description": "Sixth contact to occur at 36 weeks of gestational age" + } + }, + { + "detail": { + "kind": "ServiceRequest", + "instantiatesCanonical": [ + "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact" + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "424525001", + "display": "Antenatal care (regime/therapy)" + } + ], + "text": "Antenatal care" + }, + "status": "not-started", + "scheduledPeriod": { + "start": "2019-11-29" + }, + "performer": [ + { + "display": "Mabel Midwife" + } + ], + "description": "Seventh contact to occur at 38 weeks of gestational age" + } + }, + { + "detail": { + "kind": "ServiceRequest", + "instantiatesCanonical": [ + "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact" + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "424525001", + "display": "Antenatal care (regime/therapy)" + } + ], + "text": "Antenatal care" + }, + "status": "not-started", + "scheduledPeriod": { + "start": "2019-12-13" + }, + "performer": [ + { + "display": "Mabel Midwife" + } + ], + "description": "Eighth contact to occur at 40 weeks of gestational age" + } + }, + { + "detail": { + "kind": "ServiceRequest", + "code": { + "coding": [ + { + "system": "http://example.org/mySystem", + "code": "236973005", + "display": "Delivery procedure (procedure)" + } + ], + "text": "Delivery procedure" + }, + "status": "not-started", + "scheduledPeriod": { + "start": "2019-12-13", + "end": "2019-12-27" + }, + "performer": [ + { + "display": "Mabel Midwife" + } + ], + "description": "Delivery" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/CareTeam/CareTeam-example.json b/evaluator.cli/src/test/resources/qicore/example/CareTeam/CareTeam-example.json new file mode 100644 index 000000000..066a12b27 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/CareTeam/CareTeam-example.json @@ -0,0 +1,30 @@ +{ + "resourceType": "CareTeam", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

status: active

subject: Eve Everywoman

Participants

-RoleMember
*MW - Midwife (Details : {SNOMED CT code '75271001' = 'Professional midwife', given as 'MW - Midwife'})Mabel Midwife
" + }, + "status": "active", + "subject": { + "display": "Eve Everywoman" + }, + "participant": [ + { + "role": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "75271001", + "display": "MW - Midwife" + } + ] + } + ], + "member": { + "display": "Mabel Midwife" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Claim/Claim-example.json b/evaluator.cli/src/test/resources/qicore/example/Claim/Claim-example.json new file mode 100644 index 000000000..7238f465f --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Claim/Claim-example.json @@ -0,0 +1,174 @@ +{ + "resourceType": "Claim", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-claim" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: 6612346

status: active

type: Vision (Details : {http://terminology.hl7.org/CodeSystem/claim-type code 'vision' = 'Vision)

use: claim

patient: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

created: Aug 16, 2014 12:00:00 AM

insurer: Generated Summary: id: example; ??; active; Organizational team; name: Health Level Seven International; ph: (+1) 734-677-7777, fax: (+1) 734-677-6622, hq@HL7.org

provider: Generated Summary: id: example; 23; active; Adam Careful

priority: normal (Details : {[not stated] code 'normal' = 'normal)

prescription: Generated Summary: id: example; status: active; intent: order; ????; authoredOn: Mar 26, 2015 12:32:52 AM;

Payees

-TypeParty
*provider (Details : {[not stated] code 'provider' = 'provider)Generated Summary: id: example; 23; active; Adam Careful

CareTeams

-SequenceProvider
*1Generated Summary: id: example; 23; active; Adam Careful

Diagnoses

-SequenceDiagnosis[x]
*1654321 (Details : {[not stated] code '654321' = '654321)

Insurances

-SequenceFocalCoverage
*1trueGenerated Summary: id: example; 12345; status: active; Other Private Insurance; dependent: 0; self; period: May 23, 2011 12:00:00 AM --> May 23, 2012 12:00:00 AM; 9

item

sequence: 1

careTeamSequence: 1

productOrService: glasses (Details : {http://example.org/fhir/CodeSystem/ex-visionservice code 'glasses' = 'glasses)

serviced: 2014-08-16

unitPrice:

detail

sequence: 1

productOrService: frame (Details : {http://example.org/fhir/CodeSystem/ex-visionservice code 'frame' = 'frame)

unitPrice:

net:

detail

sequence: 2

productOrService: lens (Details : {http://example.org/fhir/CodeSystem/ex-visionservice code 'lens' = 'lens)

quantity: 2

unitPrice:

net:

detail

sequence: 3

productOrService: fst (Details : {http://example.org/fhir/CodeSystem/ex-visionservice code 'fst' = 'fst)

unitPrice:

factor: 0.07

net:

" + }, + "identifier": [ + { + "system": "http://happysight.com/claim", + "value": "6612346" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "vision" + } + ] + }, + "use": "claim", + "patient": { + "reference": "Patient/example" + }, + "created": "2014-08-16", + "insurer": { + "reference": "Organization/example" + }, + "provider": { + "reference": "Practitioner/example" + }, + "priority": { + "coding": [ + { + "code": "normal" + } + ] + }, + "prescription": { + "reference": "MedicationRequest/example" + }, + "payee": { + "type": { + "coding": [ + { + "code": "provider" + } + ] + }, + "party": { + "reference": "Practitioner/example" + } + }, + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "Practitioner/example" + } + } + ], + "diagnosis": [ + { + "sequence": 1, + "diagnosisCodeableConcept": { + "coding": [ + { + "code": "654321" + } + ] + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "reference": "Coverage/example" + } + } + ], + "item": [ + { + "sequence": 1, + "careTeamSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://example.org/fhir/CodeSystem/ex-visionservice", + "code": "glasses" + } + ] + }, + "servicedDate": "2014-08-16", + "unitPrice": { + "value": 214.00, + "currency": "USD" + }, + "detail": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://example.org/fhir/CodeSystem/ex-visionservice", + "code": "frame" + } + ] + }, + "unitPrice": { + "value": 100.00, + "currency": "USD" + }, + "net": { + "value": 100.00, + "currency": "USD" + } + }, + { + "sequence": 2, + "productOrService": { + "coding": [ + { + "system": "http://example.org/fhir/CodeSystem/ex-visionservice", + "code": "lens" + } + ] + }, + "quantity": { + "value": 2 + }, + "unitPrice": { + "value": 50.00, + "currency": "USD" + }, + "net": { + "value": 100.00, + "currency": "USD" + } + }, + { + "sequence": 3, + "productOrService": { + "coding": [ + { + "system": "http://example.org/fhir/CodeSystem/ex-visionservice", + "code": "fst" + } + ] + }, + "unitPrice": { + "value": 200.00, + "currency": "USD" + }, + "factor": 0.07, + "net": { + "value": 14.00, + "currency": "USD" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Communication/Communication-example.json b/evaluator.cli/src/test/resources/qicore/example/Communication/Communication-example.json new file mode 100644 index 000000000..c14a14921 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Communication/Communication-example.json @@ -0,0 +1,79 @@ +{ + "resourceType": "Communication", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-communication" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

partOf: Serum Potassium Observation

status: not-done

statusReason: Recipient Unavailable (Details : {http://terminology.hl7.org/CodeSystem/communication-not-done-reason code 'recipient-unavailable' = 'Recipient Unavailable)

category: Alert (Details : {http://acme.org/messagetypes code 'Alert' = 'Alert)

medium: written (Details : {http://terminology.hl7.org/CodeSystem/v3-ParticipationMode code 'WRITTEN' = 'written', given as 'written'})

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

topic: Hyperkalemia (Details )

encounter: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

sent: Dec 13, 2014 2:01:10 AM

received: Dec 13, 2014 2:01:11 AM

recipient: Generated Summary: id: example; 23; active; Adam Careful

sender: Generated Summary: id: example; 345675, Serial Number = AMID-342135-8464; status: active; manufacturer: Acme Devices, Inc; lotNumber: 43453424; modelNumber: AB 45-J; ECG; ph: ext 4352; Author: Practitioner/example; Made: Jun 28, 2015 4:03:32 AM; Annotation: QA Checked

payload

content: Patient 1 has a very high serum potassium value (7.2 mmol/L on 2014-Dec-12 at 5:55 pm)

payload

content: Serum Potassium Observation

" + }, + "partOf": [ + { + "display": "Serum Potassium Observation" + } + ], + "status": "not-done", + "statusReason": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/communication-not-done-reason", + "code": "recipient-unavailable" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://acme.org/messagetypes", + "code": "Alert" + } + ], + "text": "Alert" + } + ], + "medium": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationMode", + "code": "WRITTEN", + "display": "written" + } + ], + "text": "written" + } + ], + "subject": { + "reference": "Patient/example" + }, + "topic": { + "text": "Hyperkalemia" + }, + "encounter": { + "reference": "Encounter/example" + }, + "sent": "2014-12-12T18:01:10-08:00", + "received": "2014-12-12T18:01:11-08:00", + "recipient": [ + { + "reference": "Practitioner/example" + } + ], + "sender": { + "reference": "Device/example" + }, + "payload": [ + { + "contentString": "Patient 1 has a very high serum potassium value (7.2 mmol/L on 2014-Dec-12 at 5:55 pm)" + }, + { + "contentReference": { + "display": "Serum Potassium Observation" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Communication/Communication-negation-example.json b/evaluator.cli/src/test/resources/qicore/example/Communication/Communication-negation-example.json new file mode 100644 index 000000000..a416a13db --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Communication/Communication-negation-example.json @@ -0,0 +1,74 @@ +{ + "resourceType": "Communication", + "id": "negation-example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: negation-example

status: not-done

statusReason: Patient has moved away (finding) (Details : {SNOMED CT code '184081006' = 'Patient has moved away', given as 'Patient has moved away (finding)'})

category: Alert (Details : {http://acme.org/messagetypes code 'Alert' = 'Alert)

medium: written (Details : {http://terminology.hl7.org/CodeSystem/v3-ParticipationMode code 'WRITTEN' = 'written', given as 'written'})

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

encounter: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

sent: Dec 13, 2014 2:01:10 AM

received: Dec 13, 2014 2:01:11 AM

recipient: Generated Summary: id: example; 23; active; Adam Careful

sender: Generated Summary: id: example; 345675, Serial Number = AMID-342135-8464; status: active; manufacturer: Acme Devices, Inc; lotNumber: 43453424; modelNumber: AB 45-J; ECG; ph: ext 4352; Author: Practitioner/example; Made: Jun 28, 2015 4:03:32 AM; Annotation: QA Checked

Payloads

-Content[x]
*Patient 1 has moved away
" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-recorded", + "valueDateTime": "2014-12-12T18:01:10-08:00" + } + ], + "modifierExtension": [ + { + "url": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-notDone", + "valueBoolean": true + } + ], + "status": "not-done", + "statusReason": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "184081006", + "display": "Patient has moved away (finding)" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://acme.org/messagetypes", + "code": "Alert" + } + ], + "text": "Alert" + } + ], + "medium": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationMode", + "code": "WRITTEN", + "display": "written" + } + ], + "text": "written" + } + ], + "subject": { + "reference": "Patient/example" + }, + "encounter": { + "reference": "Encounter/example" + }, + "sent": "2014-12-12T18:01:10-08:00", + "received": "2014-12-12T18:01:11-08:00", + "recipient": [ + { + "reference": "Practitioner/example" + } + ], + "sender": { + "reference": "Device/example" + }, + "payload": [ + { + "contentString": "Patient 1 has moved away" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/CommunicationRequest/CommunicationRequest-example.json b/evaluator.cli/src/test/resources/qicore/example/CommunicationRequest/CommunicationRequest-example.json new file mode 100644 index 000000000..596e031ac --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/CommunicationRequest/CommunicationRequest-example.json @@ -0,0 +1,77 @@ +{ + "resourceType": "CommunicationRequest", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-communicationrequest" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: ABC123

basedOn: EligibilityRequest

replaces: prior CommunicationRequest

groupIdentifier: 12345

status: active

category: SolicitedAttachmentRequest (Details : {http://acme.org/messagetypes code 'SolicitedAttachmentRequest' = 'SolicitedAttachmentRequest)

priority: routine

medium: written (Details : {http://terminology.hl7.org/CodeSystem/v3-ParticipationMode code 'WRITTEN' = 'written', given as 'written'})

encounter: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

Payloads

-Content[x]
*Please provide the accident report and any associated pictures to support your Claim #DEF5647.

occurrence: Jun 10, 2016 7:01:10 PM

authoredOn: Jun 10, 2016 7:01:10 PM

requester: Generated Summary: id: example; 23; active; Adam Careful

recipient: Generated Summary: id: example; ??; active; Organizational team; name: Health Level Seven International; ph: (+1) 734-677-7777, fax: (+1) 734-677-6622, hq@HL7.org

sender: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

" + }, + "identifier": [ + { + "system": "http://www.jurisdiction.com/insurer/123456", + "value": "ABC123" + } + ], + "basedOn": [ + { + "display": "EligibilityRequest" + } + ], + "replaces": [ + { + "display": "prior CommunicationRequest" + } + ], + "groupIdentifier": { + "value": "12345" + }, + "status": "active", + "category": [ + { + "coding": [ + { + "system": "http://acme.org/messagetypes", + "code": "SolicitedAttachmentRequest" + } + ] + } + ], + "priority": "routine", + "medium": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationMode", + "code": "WRITTEN", + "display": "written" + } + ], + "text": "written" + } + ], + "encounter": { + "reference": "Encounter/example" + }, + "payload": [ + { + "contentString": "Please provide the accident report and any associated pictures to support your Claim #DEF5647." + } + ], + "occurrenceDateTime": "2016-06-10T11:01:10-08:00", + "authoredOn": "2016-06-10T11:01:10-08:00", + "requester": { + "reference": "Practitioner/example" + }, + "recipient": [ + { + "reference": "Organization/example" + } + ], + "sender": { + "reference": "Patient/example" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Condition/Condition-appendicitis-example.json b/evaluator.cli/src/test/resources/qicore/example/Condition/Condition-appendicitis-example.json new file mode 100644 index 000000000..aea507c6c --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Condition/Condition-appendicitis-example.json @@ -0,0 +1,78 @@ +{ + "resourceType": "Condition", + "id": "appendicitis-example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: appendicitis-example

meta:

clinicalStatus: Active (Details : {http://terminology.hl7.org/CodeSystem/condition-clinical code 'active' = 'Active)

verificationStatus: Confirmed (Details : {http://terminology.hl7.org/CodeSystem/condition-ver-status code 'confirmed' = 'Confirmed)

category: Encounter Diagnosis (Details : {http://terminology.hl7.org/CodeSystem/condition-category code 'encounter-diagnosis' = 'Encounter Diagnosis', given as 'Encounter Diagnosis'})

severity: Severe (severity modifier) (Details : {SNOMED CT code '24484000' = 'Severe', given as 'Severe (severity modifier)'})

code: Appendicitis (Details : {SNOMED CT code '74400008' = 'Appendicitis', given as 'Appendicitis (disorder)'})

bodySite: Appendix structure (Details : {SNOMED CT code '66754008' = 'Appendix', given as 'Appendix structure'})

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

encounter: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

onset: May 24, 2012 12:00:00 AM

recordedDate: May 24, 2012 12:00:00 AM

" + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "active" + } + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ] + } + ], + "severity": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "24484000", + "display": "Severe (severity modifier)" + } + ] + }, + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "74400008", + "display": "Appendicitis (disorder)" + } + ], + "text": "Appendicitis" + }, + "bodySite": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "66754008", + "display": "Appendix structure" + } + ] + } + ], + "subject": { + "reference": "Patient/example" + }, + "encounter": { + "reference": "Encounter/example" + }, + "onsetDateTime": "2012-05-24T00:00:00+00:00", + "recordedDate": "2012-05-24T00:00:00+00:00" +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Condition/Condition-example.json b/evaluator.cli/src/test/resources/qicore/example/Condition/Condition-example.json new file mode 100644 index 000000000..290db035e --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Condition/Condition-example.json @@ -0,0 +1,92 @@ +{ + "resourceType": "Condition", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

clinicalStatus: Active (Details : {http://terminology.hl7.org/CodeSystem/condition-clinical code 'active' = 'Active)

verificationStatus: Confirmed (Details : {http://terminology.hl7.org/CodeSystem/condition-ver-status code 'confirmed' = 'Confirmed)

category: Problem List Item (Details : {http://terminology.hl7.org/CodeSystem/condition-category code 'problem-list-item' = 'Problem List Item', given as 'Problem List Item'})

severity: Severe (severity modifier) (Details : {SNOMED CT code '24484000' = 'Severe', given as 'Severe (severity modifier)'})

code: Burnt Ear (Details : {SNOMED CT code '39065001' = 'Burn of ear', given as 'Burn of ear'})

bodySite: Left Ear (Details : {SNOMED CT code '49521004' = 'Left external ear', given as 'Left external ear structure'})

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

encounter: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

onset: May 24, 2012 12:00:00 AM

recordedDate: May 24, 2012 12:00:00 AM

Stages

-Summary
*stage II (Details : {SNOMED CT code '258219007' = 'Stage 2', given as 'stage II'})
" + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "active" + } + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ] + } + ], + "severity": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "24484000", + "display": "Severe (severity modifier)" + } + ] + }, + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "39065001", + "display": "Burn of ear" + } + ], + "text": "Burnt Ear" + }, + "bodySite": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "49521004", + "display": "Left external ear structure" + } + ], + "text": "Left Ear" + } + ], + "subject": { + "reference": "Patient/example" + }, + "encounter": { + "reference": "Encounter/example" + }, + "onsetDateTime": "2012-05-24T00:00:00+00:00", + "recordedDate": "2012-05-24T00:00:00+00:00", + "stage": [ + { + "summary": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "258219007", + "display": "stage II" + } + ] + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Condition/Condition-hc1.json b/evaluator.cli/src/test/resources/qicore/example/Condition/Condition-hc1.json new file mode 100644 index 000000000..b8c2c6b98 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Condition/Condition-hc1.json @@ -0,0 +1,53 @@ +{ + "resourceType": "Condition", + "id": "hc1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: hc1

meta:

clinicalStatus: Active (Details : {http://terminology.hl7.org/CodeSystem/condition-clinical code 'active' = 'Active', given as 'Active'})

verificationStatus: Confirmed (Details : {http://terminology.hl7.org/CodeSystem/condition-ver-status code 'confirmed' = 'Confirmed', given as 'Confirmed'})

category: Health Concern (Details : {http://hl7.org/fhir/us/core/CodeSystem/condition-category code 'health-concern' = 'Health Concern', given as 'Health Concern'})

code: Cost of medications (Details )

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

onset: 14/12/2007 12:00:00 AM

" + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "active", + "display": "Active" + } + ], + "text": "Active" + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/condition-category", + "code": "health-concern", + "display": "Health Concern" + } + ], + "text": "Health Concern" + } + ], + "code": { + "text": "Cost of medications" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "onsetDateTime": "2007-12-14" +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Coverage/Coverage-example.json b/evaluator.cli/src/test/resources/qicore/example/Coverage/Coverage-example.json new file mode 100644 index 000000000..a4b4004b6 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Coverage/Coverage-example.json @@ -0,0 +1,56 @@ +{ + "resourceType": "Coverage", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-coverage" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: 12345

status: active

type: Other Private Insurance (Details : {urn:oid:2.16.840.1.113883.3.221.5 code '59' = '59', given as 'Other Private Insurance'})

policyHolder: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

subscriber: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

beneficiary: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

dependent: 0

relationship: self (Details : {[not stated] code 'self' = 'self)

period: May 23, 2011 12:00:00 AM --> May 23, 2012 12:00:00 AM

payor: Generated Summary: id: example; ??; active; Organizational team; name: Health Level Seven International; ph: (+1) 734-677-7777, fax: (+1) 734-677-6622, hq@HL7.org

order: 9

" + }, + "identifier": [ + { + "system": "http://benefitsinc.com/certificate", + "value": "12345" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.221.5", + "code": "59", + "display": "Other Private Insurance" + } + ] + }, + "policyHolder": { + "reference": "Patient/example" + }, + "subscriber": { + "reference": "Patient/example" + }, + "beneficiary": { + "reference": "Patient/example" + }, + "dependent": "0", + "relationship": { + "coding": [ + { + "code": "self" + } + ] + }, + "period": { + "start": "2011-05-23", + "end": "2012-05-23" + }, + "payor": [ + { + "reference": "Organization/example" + } + ], + "order": 9 +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Device/Device-example.json b/evaluator.cli/src/test/resources/qicore/example/Device/Device-example.json new file mode 100644 index 000000000..8b0f13503 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Device/Device-example.json @@ -0,0 +1,69 @@ +{ + "resourceType": "Device", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-device" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: 345675, Serial Number = AMID-342135-8464

UdiCarriers

-DeviceIdentifierCarrierHRF
*09504000059118(01)09504000059118(17)141120(10)7654321D(21)10987654d321

status: active

manufacturer: Acme Devices, Inc

lotNumber: 43453424

modelNumber: AB 45-J

type: ECG (Details : {SNOMED CT code '86184003' = 'Electrocardiographic monitor and recorder', given as 'Electrocardiographic monitor and recorder'})

patient: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

contact: ph: ext 4352

note: QA Checked

" + }, + "identifier": [ + { + "system": "http://goodcare.org/devices/id", + "value": "345675" + }, + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/identifier-type", + "code": "SNO" + } + ], + "text": "Serial Number" + }, + "value": "AMID-342135-8464" + } + ], + "udiCarrier": [ + { + "deviceIdentifier": "09504000059118", + "carrierHRF": "(01)09504000059118(17)141120(10)7654321D(21)10987654d321" + } + ], + "status": "active", + "manufacturer": "Acme Devices, Inc", + "lotNumber": "43453424", + "modelNumber": "AB 45-J", + "type": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "86184003", + "display": "Electrocardiographic monitor and recorder" + } + ], + "text": "ECG" + }, + "patient": { + "reference": "Patient/example" + }, + "contact": [ + { + "system": "phone", + "value": "ext 4352" + } + ], + "note": [ + { + "authorReference": { + "reference": "Practitioner/example" + }, + "time": "2015-06-28T14:03:32+10:00", + "text": "QA Checked" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Device/Device-udi-1.json b/evaluator.cli/src/test/resources/qicore/example/Device/Device-udi-1.json new file mode 100644 index 000000000..e25834f1d --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Device/Device-udi-1.json @@ -0,0 +1,36 @@ +{ + "resourceType": "Device", + "id": "udi-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: udi-1

meta:

UdiCarriers

-DeviceIdentifierCarrierHRF
*09504000059118(01)09504000059118(17)141120(10)7654321D(21)10987654d321

status: active

expirationDate: 20/11/2014 12:00:00 AM

lotNumber: 7654321D

serialNumber: 10987654d321

type: Coated femoral stem prosthesis, modular (Details : {SNOMED CT code '468063009' = 'Coated femoral stem prosthesis, modular (physical object)', given as 'Coated femoral stem prosthesis, modular'})

patient: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

" + }, + "udiCarrier": [ + { + "deviceIdentifier": "09504000059118", + "carrierHRF": "(01)09504000059118(17)141120(10)7654321D(21)10987654d321" + } + ], + "status": "active", + "expirationDate": "2014-11-20", + "lotNumber": "7654321D", + "serialNumber": "10987654d321", + "type": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "468063009", + "display": "Coated femoral stem prosthesis, modular" + } + ] + }, + "patient": { + "reference": "Patient/example", + "display": "Amy Shaw" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Device/Device-udi-2.json b/evaluator.cli/src/test/resources/qicore/example/Device/Device-udi-2.json new file mode 100644 index 000000000..31b8e81e6 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Device/Device-udi-2.json @@ -0,0 +1,46 @@ +{ + "resourceType": "Device", + "id": "udi-2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: udi-2

meta:

UdiCarriers

-DeviceIdentifierCarrierHRFEntryType
*99863313444316(01)99863313444316(17)220101(10)M320(21)AC221rfid

status: active

manufacturer: ACME Biomedical

expirationDate: 01/01/2022 12:00:00 AM

lotNumber: M320

serialNumber: AC221

DeviceNames

-NameType
*ACME Defibrillator Analyzer, with Transcutaneous Pacemaker Inputudi-label-name

modelNumber: 1.0

type: Implant (Details : {SNOMED CT code '19257004' = 'Defibrillator, device', given as 'Defibrillator, device'})

patient: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

" + }, + "udiCarrier": [ + { + "deviceIdentifier": "99863313444316", + "carrierHRF": "(01)99863313444316(17)220101(10)M320(21)AC221", + "entryType": "rfid" + } + ], + "status": "active", + "manufacturer": "ACME Biomedical", + "expirationDate": "2022-01-01", + "lotNumber": "M320", + "serialNumber": "AC221", + "deviceName": [ + { + "name": "ACME Defibrillator Analyzer, with Transcutaneous Pacemaker Input", + "type": "udi-label-name" + } + ], + "modelNumber": "1.0", + "type": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "19257004", + "display": "Defibrillator, device" + } + ], + "text": "Implant" + }, + "patient": { + "reference": "Patient/example", + "display": "Amy Shaw" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Device/Device-udi-3.json b/evaluator.cli/src/test/resources/qicore/example/Device/Device-udi-3.json new file mode 100644 index 000000000..a2f243ddc --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Device/Device-udi-3.json @@ -0,0 +1,49 @@ +{ + "resourceType": "Device", + "id": "udi-3", + "meta": { + "versionId": "2", + "lastUpdated": "2019-04-11T16:21:48.921+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: udi-3

meta:

UdiCarriers

-DeviceIdentifierCarrierHRFEntryType
*987979879879(01)987979879879(11)191015(17)220101(10)M320(21)AC221rfid

status: active

manufacturer: ACME Biomedical

manufactureDate: 15/10/2015 12:00:00 AM

expirationDate: 01/01/2022 12:00:00 AM

lotNumber: M320

serialNumber: AC221

DeviceNames

-NameType
*ACME Knee Replacement Deviceudi-label-name

modelNumber: 1.0

type: Knee joint prosthesis (Details : {SNOMED CT code '109228008' = 'Knee joint prosthesis', given as 'Knee joint prosthesis'})

patient: Amy V. Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

" + }, + "udiCarrier": [ + { + "deviceIdentifier": "987979879879", + "carrierHRF": "(01)987979879879(11)191015(17)220101(10)M320(21)AC221", + "entryType": "rfid" + } + ], + "status": "active", + "manufacturer": "ACME Biomedical", + "manufactureDate": "2015-10-15", + "expirationDate": "2022-01-01", + "lotNumber": "M320", + "serialNumber": "AC221", + "deviceName": [ + { + "name": "ACME Knee Replacement Device", + "type": "udi-label-name" + } + ], + "modelNumber": "1.0", + "type": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "109228008", + "display": "Knee joint prosthesis" + } + ], + "text": "Knee joint prosthesis" + }, + "patient": { + "reference": "Patient/example", + "display": "Amy V. Shaw" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/DeviceRequest/DeviceRequest-example.json b/evaluator.cli/src/test/resources/qicore/example/DeviceRequest/DeviceRequest-example.json new file mode 100644 index 000000000..5bc40f103 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/DeviceRequest/DeviceRequest-example.json @@ -0,0 +1,16 @@ +{ + "resourceType": "DeviceRequest", + "id": "example", + "text": { + "status": "generated", + "div": "
\n

\n Generated Narrative with Details\n

\n

\n id : example\n

\n

\n status : completed\n

\n

\n intent : original-order\n

\n

\n code : Device/example\n

\n

\n subject : Patient/example\n

\n
" + }, + "status": "completed", + "intent": "original-order", + "codeReference": { + "reference": "Device/example" + }, + "subject": { + "reference": "Patient/example" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/DeviceRequest/DeviceRequest-negation-example.json b/evaluator.cli/src/test/resources/qicore/example/DeviceRequest/DeviceRequest-negation-example.json new file mode 100644 index 000000000..669569bb6 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/DeviceRequest/DeviceRequest-negation-example.json @@ -0,0 +1,47 @@ +{ + "resourceType": "DeviceRequest", + "id": "negation-example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: negation-example

status: completed

intent: original-order

code: Venous Foot Pumps (VFP) value set (Details : {[not stated] code 'null' = 'null)

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

authoredOn: Apr 5, 2016 1:20:00 PM

" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-doNotPerformReason", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "410534003", + "display": "Not indicated (qualifier value)" + } + ] + } + } + ], + "modifierExtension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/request-doNotPerform", + "valueBoolean": true + } + ], + "status": "completed", + "intent": "original-order", + "codeCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-reference", + "valueUri": "http://cts.nlm.nih.gov/fhir/2.16.840.1.113883.3.117.1.7.1.230" + } + ] + } + ], + "text": "Venous Foot Pumps (VFP) value set" + }, + "subject": { + "reference": "Patient/example" + }, + "authoredOn": "2016-04-05T09:20:00-04:00" +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/DeviceUseStatement/DeviceUseStatement-example.json b/evaluator.cli/src/test/resources/qicore/example/DeviceUseStatement/DeviceUseStatement-example.json new file mode 100644 index 000000000..c82014c3a --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/DeviceUseStatement/DeviceUseStatement-example.json @@ -0,0 +1,26 @@ +{ + "resourceType": "DeviceUseStatement", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-deviceusestatement" + ] + }, + "text": { + "status": "generated", + "div": "" + }, + "identifier": [ + { + "system": "http:goodhealth.org/identifiers", + "value": "51ebb7a9-4e3a-4360-9a05-0cc2d869086f" + } + ], + "status": "active", + "subject": { + "reference": "Patient/example" + }, + "device": { + "reference": "Device/example" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/DiagnosticReport/DiagnosticReport-cardiology-report.json b/evaluator.cli/src/test/resources/qicore/example/DiagnosticReport/DiagnosticReport-cardiology-report.json new file mode 100644 index 000000000..c65cd99ac --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/DiagnosticReport/DiagnosticReport-cardiology-report.json @@ -0,0 +1,40 @@ +{ + "resourceType": "DiagnosticReport", + "id": "cardiology-report", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: cardiology-report

meta:

status: final

category: Radiology (Details : {LOINC code 'LP29684-5' = 'LP29684-5', given as 'Radiology'})

code: MR Abdomen W contrast IV (Details : {LOINC code '36134-5' = 'MR Abdomen W contrast IV', given as 'MR Abdomen W contrast IV'})

subject: Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 02/01/2011 8:39:30 AM

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "LP29684-5", + "display": "Radiology" + } + ], + "text": "Radiology" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "36134-5", + "display": "MR Abdomen W contrast IV" + } + ], + "text": "MR Abdomen W contrast IV" + }, + "subject": { + "reference": "Patient/example" + }, + "effectiveDateTime": "2011-01-01T21:39:30.000Z" +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/DiagnosticReport/DiagnosticReport-cbc.json b/evaluator.cli/src/test/resources/qicore/example/DiagnosticReport/DiagnosticReport-cbc.json new file mode 100644 index 000000000..43c440772 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/DiagnosticReport/DiagnosticReport-cbc.json @@ -0,0 +1,66 @@ +{ + "resourceType": "DiagnosticReport", + "id": "cbc", + "meta": { + "versionId": "205814", + "lastUpdated": "2016-03-09T15:35:58.045+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: cbc

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/v2-0074 code 'LAB' = 'Laboratory', given as 'Laboratory'})

code: Complete blood count (hemogram) panel - Blood by Automated count (Details : {LOINC code '58410-2' = 'Complete blood count (hemogram) panel - Blood by Automated count', given as 'Complete blood count (hemogram) panel - Blood by Automated count'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

issued: 06/07/2005 10:45:33 AM

performer: Acme Laboratory, Inc. Generated Summary: id: acme-lab; 1144221847, 12D4567890; active; Healthcare Provider; name: Acme Labs; ph: (+1) 734-677-7777, hq@acme.org

result:

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "58410-2", + "display": "Complete blood count (hemogram) panel - Blood by Automated count" + } + ] + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "issued": "2005-07-06T11:45:33+11:00", + "performer": [ + { + "reference": "Organization/acme-lab", + "display": "Acme Laboratory, Inc" + } + ], + "result": [ + { + "reference": "Observation/neutrophils", + "display": "NEUTROPHILS" + }, + { + "reference": "Observation/mchc", + "display": "MCHC" + }, + { + "reference": "Observation/hemoglobin", + "display": "HEMOGLOBIN" + }, + { + "reference": "Observation/erythrocytes", + "display": "ERYTHROCYTES" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/DiagnosticReport/DiagnosticReport-chest-xray-report.json b/evaluator.cli/src/test/resources/qicore/example/DiagnosticReport/DiagnosticReport-chest-xray-report.json new file mode 100644 index 000000000..98ee35602 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/DiagnosticReport/DiagnosticReport-chest-xray-report.json @@ -0,0 +1,46 @@ +{ + "resourceType": "DiagnosticReport", + "id": "chest-xray-report", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: chest-xray-report

meta:

status: final

category: Radiology (Details : {LOINC code 'LP29684-5' = 'LP29684-5', given as 'Radiology'})

code: Portable XR Chest Views (Details : {LOINC code '30746-2' = 'Portable XR Chest Views', given as 'Portable XR Chest Views'})

subject: Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: Feb 20, 2007

effective: Feb 3, 2019 7:43:30 PM

presentedForm:

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "LP29684-5", + "display": "Radiology" + } + ], + "text": "Radiology" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "30746-2", + "display": "Portable XR Chest Views" + } + ], + "text": "Portable XR Chest Views" + }, + "subject": { + "reference": "Patient/example" + }, + "effectiveDateTime": "2019-02-03T19:43:30.000Z", + "presentedForm": [ + { + "contentType": "application/xhtml", + "data": "PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgVHJhbnNpdGlvbmFsLy9FTiIgIkRURC94aHRtbDEtdHJhbnNpdGlvbmFsLmR0ZCI+CgkJPGh0bWwgeG1sOmxhbmc9ImVuIiBsYW5nPSJlbiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGh0bWwiPgkJCiAgPGhlYWQ+CiAgICA8dGl0bGU+Q2hlc3QgUG9ydGFibGU8L3RpdGxlPgogIDwvaGVhZD4KICA8Ym9keT4KICAgIDxwPlJlc3VsdDwvcD4KICAgIDxici8+Q2hlc3QgUG9ydGFibGUgCiAgICAgIAogICAgICA8cD5JTkRJQ0FUSU9OL0NMSU5JQ0FMIFFVRVNUSU9OOiBGZXZlciAvIFBuZXVtb25pYTwvcD4KICAgICAgCiAgICAgIDxwPkNPTVBBUklTT046IE5vbmUuPC9wPgogICAgICAKICAgICAgPHA+RklORElOR1M6PC9wPgogICAgICAKICAgICAgPHA+TElORVMgQU5EIFRVQkVTOiBOb25lLjwvcD4KICAgICAgCiAgICAgIDxwPkxVTkdTIEFORCBQTEVVUkE6PC9wPgogICAgICA8YnIvPkNsZWFyIGx1bmdzLiBOb3JtYWwgcHVsbW9uYXJ5IHZhc2N1bGFyaXR5LgogICAgICA8YnIvPk5vIHBsZXVyYWwgZWZmdXNpb24uCiAgICAgIDxici8+Tm8gcG5ldW1vdGhvcmF4LgogICAgICAKICAgICAgPHA+SEVBUlQsIE1FRElBU1RJTlVNIEFORCBISUxBOjwvcD4KICAgICAgPGJyLz5IZWFydCBpcyBub3JtYWwgaW4gc2l6ZS4KICAgICAgPGJyLz5Ob3JtYWwgbWVkaWFzdGluYWwgYW5kIGhpbGFyIGNvbnRvdXIuCiAgICAgIAogICAgICA8cD5CT05FUyBBTkQgU09GVCBUSVNTVUVTOjwvcD4KICAgICAgPGJyLz5ObyBhY3V0ZSBhYm5vcm1hbGl0eS4KICAgICAgCiAgICAgIDxwPklNUFJFU1NJT046PC9wPgogICAgICA8YnIvPk5vIGFjdXRlIGFibm9ybWFsaXR5LgogICAgICAKICAgICAgPHA+V1NOOiBPMTlJQy1TQy0wMjExPC9wPgogICAgICAKICAgICAgPHA+RGljdGF0ZWQgQnk6IEN1cmUgTUQsIENocmlzdGluZSBKCiAgICAgICAgRGljdGF0ZWQgRGF0ZS9UaW1lOiAwMi8wMy8xOSA3OjQ0IHBtCiAgICAgICAgUmV2aWV3ZWQgQnk6IEN1cmUgTUQsIENocmlzdGluZSBKCiAgICAgICAgU2lnbmVkIEJ5OiBDdXJlIE1ELCBDaHJpc3RpbmUgSgogICAgICAgIFNpZ25lZCBEYXRlL1RpbWU6IDAyLzAzLzE5IDc6NDQgcG0KICAgICAgICBUcmFuc2NyaWJlZCBCeTogQ1NCCiAgICAgICAgVHJhbnNjcmliZWQgRGF0ZS9UaW1lOiAwMi8wMy8xOSA3OjQzIHBtPC9wPgogICAgICAKICAgICAgCiAgPC9ib2R5Pgo8L2h0bWw+Cg==" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/DiagnosticReport/DiagnosticReport-example.json b/evaluator.cli/src/test/resources/qicore/example/DiagnosticReport/DiagnosticReport-example.json new file mode 100644 index 000000000..dba33be6b --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/DiagnosticReport/DiagnosticReport-example.json @@ -0,0 +1,45 @@ +{ + "resourceType": "DiagnosticReport", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/v2-0074 code 'LAB' = 'Laboratory', given as 'Laboratory'})

code: Complete blood count (hemogram) panel - Blood by Automated count (Details : {LOINC code '58410-2' = 'Complete blood count (hemogram) panel - Blood by Automated count', given as 'Complete blood count (hemogram) panel - Blood by Automated count'})

subject: Peter Chalmers. Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

effective: Jul 5, 2005 12:00:00 AM

issued: Jul 6, 2005 12:45:33 AM

performer: Generated Summary: id: example; ??; active; Organizational team; name: Health Level Seven International; ph: (+1) 734-677-7777, fax: (+1) 734-677-6622, hq@HL7.org

result: Generated Summary: id: example; Vital Signs; Hemoglobin [Mass/volume] in Venous blood; effective: Apr 2, 2013 9:30:10 AM --> Apr 5, 2013 9:30:10 AM; issued: Apr 3, 2013 2:30:10 PM; 7.2 g/dl; Below low normal; Superficial forearm vein; Injection to forearm

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "58410-2", + "display": "Complete blood count (hemogram) panel - Blood by Automated count" + } + ] + }, + "subject": { + "reference": "Patient/example", + "display": "Peter Chalmers" + }, + "effectiveDateTime": "2005-07-05", + "issued": "2005-07-06T11:45:33+11:00", + "performer": [ + { + "reference": "Organization/example" + } + ], + "result": [ + { + "reference": "Observation/example" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/DiagnosticReport/DiagnosticReport-metabolic-panel.json b/evaluator.cli/src/test/resources/qicore/example/DiagnosticReport/DiagnosticReport-metabolic-panel.json new file mode 100644 index 000000000..0deb69f13 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/DiagnosticReport/DiagnosticReport-metabolic-panel.json @@ -0,0 +1,86 @@ +{ + "resourceType": "DiagnosticReport", + "id": "metabolic-panel", + "meta": { + "versionId": "205790", + "lastUpdated": "2016-03-09T15:35:58.018+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: metabolic-panel

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/v2-0074 code 'LAB' = 'Laboratory', given as 'Laboratory'})

code: Comprehensive metabolic 2000 panel - Serum or Plasma (Details : {LOINC code '24323-8' = 'Comprehensive metabolic 2000 panel - Serum or Plasma', given as 'Comprehensive metabolic 2000 panel - Serum or Plasma'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 04/07/2005 12:00:00 AM

issued: 06/07/2005 10:45:33 AM

performer: Acme Laboratory, Inc. Generated Summary: id: acme-lab; 1144221847, 12D4567890; active; Healthcare Provider; name: Acme Labs; ph: (+1) 734-677-7777, hq@acme.org

result:

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "24323-8", + "display": "Comprehensive metabolic 2000 panel - Serum or Plasma" + } + ] + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-04", + "issued": "2005-07-06T11:45:33+11:00", + "performer": [ + { + "reference": "Organization/acme-lab", + "display": "Acme Laboratory, Inc" + } + ], + "result": [ + { + "reference": "Observation/serum-total-bilirubin", + "display": "TOTAL BILIRUBIN" + }, + { + "reference": "Observation/serum-sodium", + "display": "SODIUM" + }, + { + "reference": "Observation/serum-potassium", + "display": "Potassium" + }, + { + "reference": "Observation/serum-creatinine", + "display": "CREATININE" + }, + { + "reference": "Observation/serum-co2", + "display": "TOTAL CO2" + }, + { + "reference": "Observation/serum-chloride", + "display": "CHLORIDE" + }, + { + "reference": "Observation/serum-calcium", + "display": "CALCIUM" + }, + { + "reference": "Observation/bun", + "display": "BUN" + }, + { + "reference": "Observation/blood-glucose", + "display": "GLUCOSE" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/DiagnosticReport/DiagnosticReport-note-example.json b/evaluator.cli/src/test/resources/qicore/example/DiagnosticReport/DiagnosticReport-note-example.json new file mode 100644 index 000000000..4b99588bf --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/DiagnosticReport/DiagnosticReport-note-example.json @@ -0,0 +1,46 @@ +{ + "resourceType": "DiagnosticReport", + "id": "note-example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-diagnosticreport-note" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: note-example

meta:

status: final

category: Radiology (Details : {LOINC code 'LP29684-5' = 'LP29684-5', given as 'Radiology'})

code: Portable XR Chest Views (Details : {LOINC code '30746-2' = 'Portable XR Chest Views', given as 'Portable XR Chest Views'})

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

effective: Feb 3, 2019 7:43:30 PM

presentedForm:

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "LP29684-5", + "display": "Radiology" + } + ], + "text": "Radiology" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "30746-2", + "display": "Portable XR Chest Views" + } + ], + "text": "Portable XR Chest Views" + }, + "subject": { + "reference": "Patient/example" + }, + "effectiveDateTime": "2019-02-03T19:43:30.000Z", + "presentedForm": [ + { + "contentType": "application/xhtml", + "data": "PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgVHJhbnNpdGlvbmFsLy9FTiIgIkRURC94aHRtbDEtdHJhbnNpdGlvbmFsLmR0ZCI+CgkJPGh0bWwgeG1sOmxhbmc9ImVuIiBsYW5nPSJlbiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGh0bWwiPgkJCiAgPGhlYWQ+CiAgICA8dGl0bGU+Q2hlc3QgUG9ydGFibGU8L3RpdGxlPgogIDwvaGVhZD4KICA8Ym9keT4KICAgIDxwPlJlc3VsdDwvcD4KICAgIDxici8+Q2hlc3QgUG9ydGFibGUgCiAgICAgIAogICAgICA8cD5JTkRJQ0FUSU9OL0NMSU5JQ0FMIFFVRVNUSU9OOiBGZXZlciAvIFBuZXVtb25pYTwvcD4KICAgICAgCiAgICAgIDxwPkNPTVBBUklTT046IE5vbmUuPC9wPgogICAgICAKICAgICAgPHA+RklORElOR1M6PC9wPgogICAgICAKICAgICAgPHA+TElORVMgQU5EIFRVQkVTOiBOb25lLjwvcD4KICAgICAgCiAgICAgIDxwPkxVTkdTIEFORCBQTEVVUkE6PC9wPgogICAgICA8YnIvPkNsZWFyIGx1bmdzLiBOb3JtYWwgcHVsbW9uYXJ5IHZhc2N1bGFyaXR5LgogICAgICA8YnIvPk5vIHBsZXVyYWwgZWZmdXNpb24uCiAgICAgIDxici8+Tm8gcG5ldW1vdGhvcmF4LgogICAgICAKICAgICAgPHA+SEVBUlQsIE1FRElBU1RJTlVNIEFORCBISUxBOjwvcD4KICAgICAgPGJyLz5IZWFydCBpcyBub3JtYWwgaW4gc2l6ZS4KICAgICAgPGJyLz5Ob3JtYWwgbWVkaWFzdGluYWwgYW5kIGhpbGFyIGNvbnRvdXIuCiAgICAgIAogICAgICA8cD5CT05FUyBBTkQgU09GVCBUSVNTVUVTOjwvcD4KICAgICAgPGJyLz5ObyBhY3V0ZSBhYm5vcm1hbGl0eS4KICAgICAgCiAgICAgIDxwPklNUFJFU1NJT046PC9wPgogICAgICA8YnIvPk5vIGFjdXRlIGFibm9ybWFsaXR5LgogICAgICAKICAgICAgPHA+V1NOOiBPMTlJQy1TQy0wMjExPC9wPgogICAgICAKICAgICAgPHA+RGljdGF0ZWQgQnk6IEN1cmUgTUQsIENocmlzdGluZSBKCiAgICAgICAgRGljdGF0ZWQgRGF0ZS9UaW1lOiAwMi8wMy8xOSA3OjQ0IHBtCiAgICAgICAgUmV2aWV3ZWQgQnk6IEN1cmUgTUQsIENocmlzdGluZSBKCiAgICAgICAgU2lnbmVkIEJ5OiBDdXJlIE1ELCBDaHJpc3RpbmUgSgogICAgICAgIFNpZ25lZCBEYXRlL1RpbWU6IDAyLzAzLzE5IDc6NDQgcG0KICAgICAgICBUcmFuc2NyaWJlZCBCeTogQ1NCCiAgICAgICAgVHJhbnNjcmliZWQgRGF0ZS9UaW1lOiAwMi8wMy8xOSA3OjQzIHBtPC9wPgogICAgICAKICAgICAgCiAgPC9ib2R5Pgo8L2h0bWw+Cg==" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/DiagnosticReport/DiagnosticReport-urinalysis.json b/evaluator.cli/src/test/resources/qicore/example/DiagnosticReport/DiagnosticReport-urinalysis.json new file mode 100644 index 000000000..01bc15bd9 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/DiagnosticReport/DiagnosticReport-urinalysis.json @@ -0,0 +1,119 @@ +{ + "resourceType": "DiagnosticReport", + "id": "urinalysis", + "meta": { + "versionId": "209563", + "lastUpdated": "2016-04-19T17:28:11.308+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urinalysis

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/v2-0074 code 'LAB' = 'Laboratory', given as 'Laboratory'})

code: Complete Urinalysis (Details : {LOINC code '24356-8' = 'Urinalysis complete panel - Urine', given as 'Urinalysis complete panel - Urine'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

issued: 06/07/2005 10:45:33 AM

performer: Acme Laboratory, Inc. Generated Summary: id: acme-lab; 1144221847, 12D4567890; active; Healthcare Provider; name: Acme Labs; ph: (+1) 734-677-7777, hq@acme.org

result:

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "24356-8", + "display": "Urinalysis complete panel - Urine" + } + ], + "text": "Complete Urinalysis" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "issued": "2005-07-06T11:45:33+11:00", + "performer": [ + { + "reference": "Organization/acme-lab", + "display": "Acme Laboratory, Inc" + } + ], + "result": [ + { + "reference": "Observation/urine-color", + "display": "COLOR=Yellow" + }, + { + "reference": "Observation/urine-clarity", + "display": "APPEARANCE=Hazy" + }, + { + "reference": "Observation/urine-glucose", + "display": "GLUCOSE=Negative" + }, + { + "reference": "Observation/urine-bilirubin", + "display": "BILIRUBIN=Negative" + }, + { + "reference": "Observation/urine-ketone", + "display": "KETONE=Negative" + }, + { + "reference": "Observation/usg", + "display": "SPEC GRAV=1.017" + }, + { + "reference": "Observation/urine-ph", + "display": "PH=6 (pH)" + }, + { + "reference": "Observation/urine-protein", + "display": "PROTEIN=Negative" + }, + { + "reference": "Observation/urobilinogen", + "display": "UROBILINOGEN=0.3 mg/dL" + }, + { + "reference": "Observation/urine-nitrite", + "display": "NITRITE=Positive" + }, + { + "reference": "Observation/urine-hemoglobin", + "display": "BLOOD=Trace" + }, + { + "reference": "Observation/urine-leukocyte-esterase", + "display": "LEUK ESTERASE=2+e" + }, + { + "reference": "Observation/urine-sediment", + "display": "COMMENT=Recommend Urine Culture" + }, + { + "reference": "Observation/urine-bacteria", + "display": "BACTERIA=4+" + }, + { + "reference": "Observation/urine-epi-cells", + "display": "EPITHELIAL CELLS=1-5 cells/HPF" + }, + { + "reference": "Observation/urine-wbcs", + "display": "WBC=20-30 cells/HPF" + }, + { + "reference": "Observation/urine-rbcs", + "display": "RBC=Occasional cells/HPF" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/DocumentReference/DocumentReference-episode-summary.json b/evaluator.cli/src/test/resources/qicore/example/DocumentReference/DocumentReference-episode-summary.json new file mode 100644 index 000000000..8c436eede --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/DocumentReference/DocumentReference-episode-summary.json @@ -0,0 +1,74 @@ +{ + "resourceType": "DocumentReference", + "id": "episode-summary", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: episode-summary

meta:

identifier: urn:oid:2.16.840.1.113883.19.5.99999.1

status: current

type: CCD Document (Details : {LOINC code '34133-9' = 'Summary of episode note', given as 'Summary of episode note'})

category: Clinical Note (Details : {http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category code 'clinical-note' = 'Clinical Note', given as 'Clinical Note'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

date: 10/03/2016 2:29:46 AM

author: Ronald Bone, MD. Generated Summary: id: practitioner-1; 9941339108, 25456; Ronald Bone

description: Pulmonology clinic acute visit

Contents

-AttachmentFormat
*Documents following C-CDA constraints using a structured body (Details: urn:oid:1.3.6.1.4.1.19376.1.2.3 code urn:hl7-org:sdwg:ccda-structuredBody:2.1 = 'urn:hl7-org:sdwg:ccda-structuredBody:2.1', stated as 'Documents following C-CDA constraints using a structured body')

Contexts

-Period
*23/12/2004 8:00:00 AM --> 23/12/2004 8:01:00 AM
" + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.19.5.99999.1" + } + ], + "status": "current", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34133-9", + "display": "Summary of episode note" + } + ], + "text": "CCD Document" + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ], + "text": "Clinical Note" + } + ], + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "date": "2016-03-09T15:29:46Z", + "author": [ + { + "reference": "Practitioner/practitioner-1", + "display": "Ronald Bone, MD" + } + ], + "description": "Pulmonology clinic acute visit", + "content": [ + { + "attachment": { + "contentType": "text/plain", + "url": "/Binary/1-note", + "title": "Uri where the data can be found: [base]/Binary/1-note" + }, + "format": { + "system": "urn:oid:1.3.6.1.4.1.19376.1.2.3", + "code": "urn:hl7-org:sdwg:ccda-structuredBody:2.1", + "display": "Documents following C-CDA constraints using a structured body" + } + } + ], + "context": { + "period": { + "start": "2004-12-23T08:00:00+11:00", + "end": "2004-12-23T08:01:00+11:00" + } + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Encounter/Encounter-1036.json b/evaluator.cli/src/test/resources/qicore/example/Encounter/Encounter-1036.json new file mode 100644 index 000000000..5c114219a --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Encounter/Encounter-1036.json @@ -0,0 +1,17 @@ +{ + "resourceType": "Encounter", + "id": "1036", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: 1036

status: in-progress

class: inpatient encounter (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode code IMP = 'inpatient encounter', stated as 'inpatient encounter')

subject: Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

" + }, + "status": "in-progress", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "IMP", + "display": "inpatient encounter" + }, + "subject": { + "reference": "Patient/example" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Encounter/Encounter-example-1.json b/evaluator.cli/src/test/resources/qicore/example/Encounter/Encounter-example-1.json new file mode 100644 index 000000000..4a77c87f2 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Encounter/Encounter-example-1.json @@ -0,0 +1,38 @@ +{ + "resourceType": "Encounter", + "id": "example-1", + "meta": { + "lastUpdated": "2017-05-26T11:56:57.250-04:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example-1

meta:

status: finished

class: ambulatory (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode code AMB = 'ambulatory', stated as 'ambulatory')

type: Office Visit (Details : {http://www.ama-assn.org/go/cpt code '99201' = '99201)

subject: Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

period: 02/11/2015 9:00:14 AM --> 02/11/2015 10:00:14 AM

" + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB", + "display": "ambulatory" + }, + "type": [ + { + "coding": [ + { + "system": "http://www.ama-assn.org/go/cpt", + "code": "99201" + } + ], + "text": "Office Visit" + } + ], + "subject": { + "reference": "Patient/example" + }, + "period": { + "start": "2015-11-01T17:00:14-05:00", + "end": "2015-11-01T18:00:14-05:00" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Encounter/Encounter-example.json b/evaluator.cli/src/test/resources/qicore/example/Encounter/Encounter-example.json new file mode 100644 index 000000000..1dc8b69db --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Encounter/Encounter-example.json @@ -0,0 +1,84 @@ +{ + "resourceType": "Encounter", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

status: in-progress

class: inpatient encounter (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode code IMP = 'inpatient encounter', stated as 'inpatient encounter')

type: Inpatient Hospital Care (Details : {http://www.ama-assn.org/go/cpt code '99223' = '99223', given as 'Inpatient Hospital Care'})

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

Diagnoses

-ExtensionCondition
*Generated Summary: id: appendicitis-example; Active; Confirmed; Encounter Diagnosis; Severe (severity modifier); Appendicitis; Appendix structure; onset: May 24, 2012 12:00:00 AM; recordedDate: May 24, 2012 12:00:00 AM
" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter-procedure", + "extension": [ + { + "url": "type", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "80146002", + "display": "Excision of appendix (procedure)" + } + ], + "text": "Excision of appendix (procedure)" + } + }, + { + "url": "rank", + "valuePositiveInt": 1 + }, + { + "url": "procedure", + "valueReference": { + "reference": "Procedure/example" + } + } + ] + } + ], + "status": "in-progress", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "IMP", + "display": "inpatient encounter" + }, + "type": [ + { + "coding": [ + { + "system": "http://www.ama-assn.org/go/cpt", + "code": "99223", + "display": "Inpatient Hospital Care" + } + ] + } + ], + "subject": { + "reference": "Patient/example" + }, + "diagnosis": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter-diagnosisPresentOnAdmission", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-diagnosis-on-admission", + "code": "y", + "display": "Yes" + } + ] + } + } + ], + "condition": { + "reference": "Condition/appendicitis-example" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/FamilyMemberHistory/FamilyMemberHistory-example.json b/evaluator.cli/src/test/resources/qicore/example/FamilyMemberHistory/FamilyMemberHistory-example.json new file mode 100644 index 000000000..5ce3952ff --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/FamilyMemberHistory/FamilyMemberHistory-example.json @@ -0,0 +1,76 @@ +{ + "resourceType": "FamilyMemberHistory", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-familymemberhistory" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

status: completed

patient: Peter Patient. Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

date: Mar 18, 2011 5:49:10 PM

relationship: FATHER (Details : {http://terminology.hl7.org/CodeSystem/v3-RoleCode code 'FTH' = 'father', given as 'FATHER'})

Conditions

-ExtensionCodeOutcomeOnset[x]Note
*Family history of myocardial infarction in male relative of first degree, age known (situation) (Details : {SNOMED CT code '315619001' = 'FH myocardial infarction male first degree age known', given as 'Family history of myocardial infarction in male relative of first degree, age known (situation)'})Congenital bent nose (Details : {SNOMED CT code '520004' = 'Congenital bent nose', given as 'Congenital bent nose'})74 yr (Details: UCUM code a = 'a')Was fishing at the time. At least he went doing something he loved.
" + }, + "status": "completed", + "patient": { + "reference": "Patient/example", + "display": "Peter Patient" + }, + "date": "2011-03-18T17:49:10+00:00", + "relationship": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "code": "FTH", + "display": "FATHER" + } + ] + }, + "condition": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "399166001", + "display": "Fatal" + } + ] + } + } + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "315619001", + "display": "Family history of myocardial infarction in male relative of first degree, age known (situation)" + } + ], + "text": "Family history of myocardial infarction in male relative of first degree, age known (situation)" + }, + "outcome": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "520004", + "display": "Congenital bent nose" + } + ] + }, + "onsetAge": { + "value": 74, + "unit": "yr", + "system": "http://unitsofmeasure.org", + "code": "a" + }, + "note": [ + { + "text": "Was fishing at the time. At least he went doing something he loved." + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Flag/Flag-example.json b/evaluator.cli/src/test/resources/qicore/example/Flag/Flag-example.json new file mode 100644 index 000000000..60f2a7262 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Flag/Flag-example.json @@ -0,0 +1,53 @@ +{ + "resourceType": "Flag", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-flag" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: 12345

status: inactive

category: admin (Details : {http://example.org/local code 'admin' = 'admin', given as 'Admin'})

code: Patient has a big dog at his home. Always always wear a suit of armor or take other active counter-measures (Details : {http://example.org/local code 'bigdog' = 'bigdog', given as 'Big dog'})

subject: Peter Patient. Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

period: Jan 17, 2015 12:00:00 AM --> Dec 1, 2016 12:00:00 AM

author: Nancy Nurse. Generated Summary: id: example; 23; active; Adam Careful

" + }, + "identifier": [ + { + "value": "12345" + } + ], + "status": "inactive", + "category": [ + { + "coding": [ + { + "system": "http://example.org/local", + "code": "admin", + "display": "Admin" + } + ], + "text": "admin" + } + ], + "code": { + "coding": [ + { + "system": "http://example.org/local", + "code": "bigdog", + "display": "Big dog" + } + ], + "text": "Patient has a big dog at his home. Always always wear a suit of armor or take other active counter-measures" + }, + "subject": { + "reference": "Patient/example", + "display": "Peter Patient" + }, + "period": { + "start": "2015-01-17", + "end": "2016-12-01" + }, + "author": { + "reference": "Practitioner/example", + "display": "Nancy Nurse" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Goal/Goal-example.json b/evaluator.cli/src/test/resources/qicore/example/Goal/Goal-example.json new file mode 100644 index 000000000..e85256ba4 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Goal/Goal-example.json @@ -0,0 +1,92 @@ +{ + "resourceType": "Goal", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-goal" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: 123

lifecycleStatus: on-hold

category: Dietary (Details : {http://terminology.hl7.org/CodeSystem/goal-category code 'dietary' = 'Dietary)

priority: high (Details : {http://terminology.hl7.org/CodeSystem/goal-priority code 'high-priority' = 'High Priority', given as 'High Priority'})

description: Target weight is 160 to 180 lbs. (Details )

subject: Peter James Chalmers. Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

start: 2015-04-05

Targets

-MeasureDetail[x]Due[x]
*Weight Measured (Details : {LOINC code '3141-9' = 'Body weight Measured', given as 'Weight Measured'})160-180 lbs2016-04-05

statusDate: 2016-02-14

statusReason: Patient wants to defer weight loss until after honeymoon.

expressedBy: Peter James Chalmers. Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

addresses: obesity condition

outcomeReference: Body Weight Measured. Generated Summary: id: example; Vital Signs; Hemoglobin [Mass/volume] in Venous blood; effective: Apr 2, 2013 9:30:10 AM --> Apr 5, 2013 9:30:10 AM; issued: Apr 3, 2013 2:30:10 PM; 7.2 g/dl; Below low normal; Superficial forearm vein; Injection to forearm

" + }, + "identifier": [ + { + "value": "123" + } + ], + "lifecycleStatus": "on-hold", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/goal-category", + "code": "dietary" + } + ] + } + ], + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/goal-priority", + "code": "high-priority", + "display": "High Priority" + } + ], + "text": "high" + }, + "description": { + "text": "Target weight is 160 to 180 lbs." + }, + "subject": { + "reference": "Patient/example", + "display": "Peter James Chalmers" + }, + "startDate": "2015-04-05", + "target": [ + { + "measure": { + "coding": [ + { + "system": "http://loinc.org", + "code": "3141-9", + "display": "Weight Measured" + } + ] + }, + "detailRange": { + "low": { + "value": 160, + "unit": "lbs", + "system": "http://unitsofmeasure.org", + "code": "[lb_av]" + }, + "high": { + "value": 180, + "unit": "lbs", + "system": "http://unitsofmeasure.org", + "code": "[lb_av]" + } + }, + "dueDate": "2016-04-05" + } + ], + "statusDate": "2016-02-14", + "statusReason": "Patient wants to defer weight loss until after honeymoon.", + "expressedBy": { + "reference": "Patient/example", + "display": "Peter James Chalmers" + }, + "addresses": [ + { + "display": "obesity condition" + } + ], + "outcomeReference": [ + { + "reference": "Observation/example", + "display": "Body Weight Measured" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Goal/Goal-goal-1.json b/evaluator.cli/src/test/resources/qicore/example/Goal/Goal-goal-1.json new file mode 100644 index 000000000..014a80f61 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Goal/Goal-goal-1.json @@ -0,0 +1,26 @@ +{ + "resourceType": "Goal", + "id": "goal-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: goal-1

meta:

lifecycleStatus: active

description: Patient is targeting a pulse oximetry of 92% and a weight of 195 lbs (Details )

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

Targets

-Due[x]
*2016-04-05
" + }, + "lifecycleStatus": "active", + "description": { + "text": "Patient is targeting a pulse oximetry of 92% and a weight of 195 lbs" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "target": [ + { + "dueDate": "2016-04-05" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/ImagingStudy/ImagingStudy-example.json b/evaluator.cli/src/test/resources/qicore/example/ImagingStudy/ImagingStudy-example.json new file mode 100644 index 000000000..bd2650d29 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/ImagingStudy/ImagingStudy-example.json @@ -0,0 +1,37 @@ +{ + "resourceType": "ImagingStudy", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-imagingstudy" + ] + }, + "text": { + "status": "generated", + "div": "
\n

CT Chest. John Smith (MRN: 09236). Accession: W12342398. Performed: 2011-01-01. 3 series, 12 images.

\n

\n uid: urn:oid:2.16.124.113543.6003.1154777499.30246.19789.3503430045\n

\n

\n patient: \n Patient/example\n

\n

\n started: 01/01/2011\n

\n

\n numberOfSeries: 1\n

\n

\n numberOfInstances: 1\n

\n
\n

series

\n

\n uid: urn:oid:2.16.124.113543.6003.2588828330.45298.17418.2723805630\n

\n

\n number: 3\n

\n

\n modality: CT\n

\n

\n description: CT Surview 180\n

\n

\n numberOfInstances: 1\n

\n

\n bodySite: { SNOMED CT code '67734004' = 'Upper Trunk Structure' })\n

\n
\n

instance

\n

\n uid: urn:oid:2.16.124.113543.6003.189642796.63084.16748.2599092903\n

\n

\n number: 1\n

\n

\n sopClass: urn:oid:1.2.840.10008.5.1.4.1.1.2\n

\n
\n
\n
" + }, + "status": "available", + "subject": { + "reference": "Patient/example" + }, + "started": "2011-01-01T11:01:20+03:00", + "numberOfSeries": 1, + "numberOfInstances": 1, + "series": [ + { + "uid": "2.16.124.113543.6003.2588828330.45298.17418.2723805630", + "number": 3, + "modality": { + "system": "http://dicom.nema.org/resources/ontology/DCM", + "code": "CT" + }, + "description": "CT Surview 180", + "numberOfInstances": 1, + "bodySite": { + "system": "http://snomed.info/sct", + "code": "67734004", + "display": "Upper Trunk Structure" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Immunization/Immunization-example.json b/evaluator.cli/src/test/resources/qicore/example/Immunization/Immunization-example.json new file mode 100644 index 000000000..d10122dd0 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Immunization/Immunization-example.json @@ -0,0 +1,141 @@ +{ + "resourceType": "Immunization", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-immunization" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234

status: completed

vaccineCode: Fluvax (Influenza) (Details : {urn:oid:1.2.36.1.2001.1005.17 code 'FLUVAX' = 'Fluvax)

patient: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

encounter: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

occurrence: Jan 1, 2013 12:00:00 AM

recorded: Jan 10, 2013 12:00:00 AM

primarySource: true

location: Generated Summary: id: example; B1-S.F2; status: active; name: South Wing, second floor; alias: Mean Joe Greene University Medical Center, South Wing, second floor, alias: BU MC, SW, F2; description: Second floor of the Old South Wing, formerly in use by Psychiatry; mode: instance; Hospital; ph: 2328(WORK), fax: 2329(WORK), second wing admissions, http://sampleorg.com/southwing(WORK); Wing

manufacturer: Generated Summary: id: example; ??; active; Organizational team; name: Health Level Seven International; ph: (+1) 734-677-7777, fax: (+1) 734-677-6622, hq@HL7.org

lotNumber: AAJN11K

expirationDate: 2015-02-15

site: left arm (Details : {http://terminology.hl7.org/CodeSystem/v3-ActSite code 'LA' = 'left arm', given as 'left arm'})

route: Injection, intramuscular (Details : {http://terminology.hl7.org/CodeSystem/v3-RouteOfAdministration code 'IM' = 'Injection, intramuscular', given as 'Injection, intramuscular'})

doseQuantity: 5 mg (Details: UCUM code mg = 'mg')

performer

function: Ordering Provider (Details : {http://terminology.hl7.org/CodeSystem/v2-0443 code 'OP' = 'Ordering Provider)

actor: Generated Summary: id: example; 23; active; Adam Careful

performer

function: Administering Provider (Details : {http://terminology.hl7.org/CodeSystem/v2-0443 code 'AP' = 'Administering Provider)

actor: Generated Summary: id: example; 23; active; Adam Careful

note: Notes on adminstration of vaccine

reasonCode: Procedure to meet occupational requirement (Details : {SNOMED CT code '429060002' = 'Procedure to meet occupational requirement)

Reactions

-DateDetailReported
*Jan 10, 2013 12:00:00 AMGenerated Summary: id: example; Vital Signs; Hemoglobin [Mass/volume] in Venous blood; effective: Apr 2, 2013 9:30:10 AM --> Apr 5, 2013 9:30:10 AM; issued: Apr 3, 2013 2:30:10 PM; 7.2 g/dl; Below low normal; Superficial forearm vein; Injection to forearmtrue

ProtocolApplieds

-SeriesAuthorityTargetDiseaseDoseNumber[x]SeriesDoses[x]
*Vaccination Series 1Generated Summary: id: example; ??; active; Organizational team; name: Health Level Seven International; ph: (+1) 734-677-7777, fax: (+1) 734-677-6622, hq@HL7.orgGestational rubella syndrome (Details : {SNOMED CT code '1857005' = 'Gestational rubella syndrome)12
" + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234" + } + ], + "status": "completed", + "vaccineCode": { + "coding": [ + { + "system": "urn:oid:1.2.36.1.2001.1005.17", + "code": "FLUVAX" + } + ], + "text": "Fluvax (Influenza)" + }, + "patient": { + "reference": "Patient/example" + }, + "encounter": { + "reference": "Encounter/example" + }, + "occurrenceDateTime": "2013-01-01", + "recorded": "2013-01-10", + "primarySource": true, + "location": { + "reference": "Location/example" + }, + "manufacturer": { + "reference": "Organization/example" + }, + "lotNumber": "AAJN11K", + "expirationDate": "2015-02-15", + "site": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActSite", + "code": "LA", + "display": "left arm" + } + ] + }, + "route": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-RouteOfAdministration", + "code": "IM", + "display": "Injection, intramuscular" + } + ] + }, + "doseQuantity": { + "value": 5, + "system": "http://unitsofmeasure.org", + "code": "mg" + }, + "performer": [ + { + "function": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "code": "OP" + } + ] + }, + "actor": { + "reference": "Practitioner/example" + } + }, + { + "function": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "code": "AP" + } + ] + }, + "actor": { + "reference": "Practitioner/example" + } + } + ], + "note": [ + { + "text": "Notes on adminstration of vaccine" + } + ], + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "429060002" + } + ] + } + ], + "reaction": [ + { + "date": "2013-01-10", + "detail": { + "reference": "Observation/example" + }, + "reported": true + } + ], + "protocolApplied": [ + { + "series": "Vaccination Series 1", + "authority": { + "reference": "Organization/example" + }, + "targetDisease": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "1857005" + } + ] + } + ], + "doseNumberPositiveInt": 1, + "seriesDosesPositiveInt": 2 + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Immunization/Immunization-imm-1.json b/evaluator.cli/src/test/resources/qicore/example/Immunization/Immunization-imm-1.json new file mode 100644 index 000000000..775a5e34f --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Immunization/Immunization-imm-1.json @@ -0,0 +1,34 @@ +{ + "resourceType": "Immunization", + "id": "imm-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: imm-1

meta:

status: completed

vaccineCode: influenza, injectable, quadrivalent, contains preservative (Details : {http://hl7.org/fhir/sid/cvx code '158' = 'influenza, injectable, quadrivalent', given as 'influenza, injectable, quadrivalent, contains preservative'}; {http://hl7.org/fhir/sid/ndc code '49281-0621-15' = '49281-0621-15', given as 'FLUZONE QUADRIVALENT'})

patient: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

occurrence: 08/01/2016 12:00:00 AM

primarySource: false

" + }, + "status": "completed", + "vaccineCode": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "158", + "display": "influenza, injectable, quadrivalent, contains preservative" + }, + { + "system": "http://hl7.org/fhir/sid/ndc", + "code": "49281-0621-15", + "display": "FLUZONE QUADRIVALENT" + } + ] + }, + "patient": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "occurrenceDateTime": "2016-01-08", + "primarySource": false +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Immunization/Immunization-negation-example.json b/evaluator.cli/src/test/resources/qicore/example/Immunization/Immunization-negation-example.json new file mode 100644 index 000000000..25f24ef96 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Immunization/Immunization-negation-example.json @@ -0,0 +1,40 @@ +{ + "resourceType": "Immunization", + "id": "negation-example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: negation-example

status: not-done

statusReason: Procedure refused for religious reason (situation) (Details : {SNOMED CT code '183945002' = 'Procedure refused for religious reason (situation)', given as 'Procedure refused for religious reason (situation)'})

vaccineCode: Influenze Vaccine value set (Details : {[not stated] code 'null' = 'null)

patient: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

encounter: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

occurrence: Jan 10, 2013 12:00:00 AM

recorded: Jan 10, 2013 12:00:00 AM

primarySource: true

" + }, + "status": "not-done", + "statusReason": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "183945002", + "display": "Procedure refused for religious reason (situation)" + } + ] + }, + "vaccineCode": { + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-reference", + "valueUri": "http://cts.nlm.nih.gov/fhir/2.16.840.1.113883.3.464.1003.196.12.1218" + } + ] + } + ], + "text": "Influenze Vaccine value set" + }, + "patient": { + "reference": "Patient/example" + }, + "encounter": { + "reference": "Encounter/example" + }, + "occurrenceDateTime": "2013-01-10", + "recorded": "2013-01-10", + "primarySource": true +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/ImmunizationEvaluation/ImmunizationEvaluation-example.json b/evaluator.cli/src/test/resources/qicore/example/ImmunizationEvaluation/ImmunizationEvaluation-example.json new file mode 100644 index 000000000..f7d3f1b9a --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/ImmunizationEvaluation/ImmunizationEvaluation-example.json @@ -0,0 +1,50 @@ +{ + "resourceType": "ImmunizationEvaluation", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-immunizationevaluation" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234

status: completed

patient: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

date: Jan 10, 2013 12:00:00 AM

authority: Generated Summary: id: example; ??; active; Organizational team; name: Health Level Seven International; ph: (+1) 734-677-7777, fax: (+1) 734-677-6622, hq@HL7.org

targetDisease: Gestational rubella syndrome (Details : {SNOMED CT code '1857005' = 'Gestational rubella syndrome)

immunizationEvent: Generated Summary: id: example; urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234; status: completed; Fluvax (Influenza); occurrence: Jan 1, 2013 12:00:00 AM; recorded: Jan 10, 2013 12:00:00 AM; primarySource; lotNumber: AAJN11K; expirationDate: 2015-02-15; left arm; Injection, intramuscular; 5 mg; Annotation: Notes on adminstration of vaccine; Procedure to meet occupational requirement

doseStatus: Valid (Details : {http://terminology.hl7.org/CodeSystem/immunization-evaluation-dose-status code 'valid' = 'Valid', given as 'Valid'})

series: Vaccination Series 1

doseNumber: 1

seriesDoses: 3

" + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234" + } + ], + "status": "completed", + "patient": { + "reference": "Patient/example" + }, + "date": "2013-01-10", + "authority": { + "reference": "Organization/example" + }, + "targetDisease": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "1857005" + } + ] + }, + "immunizationEvent": { + "reference": "Immunization/example" + }, + "doseStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/immunization-evaluation-dose-status", + "code": "valid", + "display": "Valid" + } + ] + }, + "series": "Vaccination Series 1", + "doseNumberPositiveInt": 1, + "seriesDosesPositiveInt": 3 +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/ImmunizationRecommendation/ImmunizationRecommendation-example.json b/evaluator.cli/src/test/resources/qicore/example/ImmunizationRecommendation/ImmunizationRecommendation-example.json new file mode 100644 index 000000000..b16a50a98 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/ImmunizationRecommendation/ImmunizationRecommendation-example.json @@ -0,0 +1,92 @@ +{ + "resourceType": "ImmunizationRecommendation", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-immunizationrec" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: urn:oid:1.3.6.1.4.1.21367.2005.3.7.1235

patient: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

date: Feb 9, 2015 4:04:15 PM

recommendation

vaccineCode: Hepatitis A vaccine (Details : {SNOMED CT code '14745005' = 'Hepatitis A virus vaccine', given as 'Hepatitis A vaccine'})

forecastStatus: Not Complete (Details )

dateCriterion

code: Earliest Date (Details : {http://terminology.hl7.org/CodeSystem/immunization-recommendation-date-criterion code 'earliest' = 'earliest', given as 'Earliest Date'})

value: Dec 1, 2015 5:00:00 AM

dateCriterion

code: Recommended (Details : {http://terminology.hl7.org/CodeSystem/immunization-recommendation-date-criterion code 'recommended' = 'recommended', given as 'Recommended'})

value: Dec 1, 2015 5:00:00 AM

dateCriterion

code: Past Due Date (Details : {http://terminology.hl7.org/CodeSystem/immunization-recommendation-date-criterion code 'overdue' = 'overdue', given as 'Past Due Date'})

value: Dec 28, 2016 5:00:00 AM

description: First sequence in protocol

series: Vaccination Series 1

doseNumber: 1

supportingImmunization: Generated Summary: id: example; urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234; status: completed; Fluvax (Influenza); occurrence: Jan 1, 2013 12:00:00 AM; recorded: Jan 10, 2013 12:00:00 AM; primarySource; lotNumber: AAJN11K; expirationDate: 2015-02-15; left arm; Injection, intramuscular; 5 mg; Annotation: Notes on adminstration of vaccine; Procedure to meet occupational requirement

supportingPatientInformation: Generated Summary: id: example; Vital Signs; Hemoglobin [Mass/volume] in Venous blood; effective: Apr 2, 2013 9:30:10 AM --> Apr 5, 2013 9:30:10 AM; issued: Apr 3, 2013 2:30:10 PM; 7.2 g/dl; Below low normal; Superficial forearm vein; Injection to forearm

" + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.3.6.1.4.1.21367.2005.3.7.1235" + } + ], + "patient": { + "reference": "Patient/example" + }, + "date": "2015-02-09T11:04:15.817-05:00", + "recommendation": [ + { + "vaccineCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "14745005", + "display": "Hepatitis A vaccine" + } + ] + } + ], + "forecastStatus": { + "text": "Not Complete" + }, + "dateCriterion": [ + { + "code": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/immunization-recommendation-date-criterion", + "code": "earliest", + "display": "Earliest Date" + } + ] + }, + "value": "2015-12-01T00:00:00-05:00" + }, + { + "code": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/immunization-recommendation-date-criterion", + "code": "recommended", + "display": "Recommended" + } + ] + }, + "value": "2015-12-01T00:00:00-05:00" + }, + { + "code": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/immunization-recommendation-date-criterion", + "code": "overdue", + "display": "Past Due Date" + } + ] + }, + "value": "2016-12-28T00:00:00-05:00" + } + ], + "description": "First sequence in protocol", + "series": "Vaccination Series 1", + "doseNumberPositiveInt": 1, + "supportingImmunization": [ + { + "reference": "Immunization/example" + } + ], + "supportingPatientInformation": [ + { + "reference": "Observation/example" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/ImplementationGuide/ImplementationGuide-hl7.fhir.us.qicore.json b/evaluator.cli/src/test/resources/qicore/example/ImplementationGuide/ImplementationGuide-hl7.fhir.us.qicore.json new file mode 100644 index 000000000..2a0a43469 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/ImplementationGuide/ImplementationGuide-hl7.fhir.us.qicore.json @@ -0,0 +1,2275 @@ +{ + "resourceType": "ImplementationGuide", + "id": "hl7.fhir.us.qicore", + "text": { + "status": "generated", + "div": "

QICore

The official URL for this implementation guide is:

http://hl7.org/fhir/us/qicore/ImplementationGuide/hl7.fhir.us.qicore

The QICore Implementation Guide defines a set of FHIR profiles with extensions and bindings needed to create interoperable, quality-focused applications. The profiles in this implementation guide derive from and extend the US Core profiles to provide a common foundation for building, sharing, and evaluating knowledge artifacts across quality improvement efforts in the US Realm.

\n
" + }, + "url": "http://hl7.org/fhir/us/qicore/ImplementationGuide/hl7.fhir.us.qicore", + "version": "4.0.0", + "name": "QICore", + "title": "QI-Core Implementation Guide", + "status": "draft", + "experimental": false, + "date": "2020-03-24T21:02:44+00:00", + "publisher": "Clinical Quality Improvement WG", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/special/committees/CQI" + } + ] + } + ], + "description": "The QICore Implementation Guide defines a set of FHIR profiles with extensions and bindings needed to create interoperable, quality-focused applications. The profiles in this implementation guide derive from and extend the [US Core](http://hl7.org/fhir/us/core) profiles to provide a common foundation for building, sharing, and evaluating knowledge artifacts across quality improvement efforts in the US Realm.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "packageId": "hl7.fhir.us.qicore", + "license": "CC0-1.0", + "fhirVersion": [ + "4.0.1" + ], + "dependsOn": [ + { + "uri": "http://hl7.org/fhir/us/core", + "packageId": "hl7.fhir.us.core", + "version": "3.1.0" + } + ], + "definition": { + "grouping": [ + { + "id": "careplan-profile-spreadsheet.xml", + "name": "QICoreCarePlan" + }, + { + "id": "careteam-profile-spreadsheet.xml", + "name": "QICoreCareTeam" + } + ], + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "AdverseEvent" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "AdverseEvent-example.html" + } + ], + "reference": { + "reference": "AdverseEvent/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "AllergyIntolerance" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "AllergyIntolerance-example.html" + } + ], + "reference": { + "reference": "AllergyIntolerance/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "AllergyIntolerance" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "AllergyIntolerance-example-refuted.html" + } + ], + "reference": { + "reference": "AllergyIntolerance/example-refuted" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "BodyStructure" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "BodyStructure-example.html" + } + ], + "reference": { + "reference": "BodyStructure/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CarePlan" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CarePlan-example.html" + } + ], + "reference": { + "reference": "CarePlan/example" + }, + "exampleCanonical": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-careplan" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CareTeam" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CareTeam-example.html" + } + ], + "reference": { + "reference": "CareTeam/example" + }, + "exampleCanonical": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-careteam" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Claim" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Claim-example.html" + } + ], + "reference": { + "reference": "Claim/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Communication" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Communication-example.html" + } + ], + "reference": { + "reference": "Communication/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Communication" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Communication-negation-example.html" + } + ], + "reference": { + "reference": "Communication/negation-example" + }, + "exampleCanonical": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-communicationnotdone" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CommunicationRequest" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CommunicationRequest-example.html" + } + ], + "reference": { + "reference": "CommunicationRequest/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Condition" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Condition-example.html" + } + ], + "reference": { + "reference": "Condition/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Condition" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Condition-appendicitis-example.html" + } + ], + "reference": { + "reference": "Condition/appendicitis-example" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Coverage" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Coverage-example.html" + } + ], + "reference": { + "reference": "Coverage/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Device" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Device-example.html" + } + ], + "reference": { + "reference": "Device/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DeviceRequest" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "DeviceRequest-example.html" + } + ], + "reference": { + "reference": "DeviceRequest/example" + }, + "exampleCanonical": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-devicerequest" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DeviceRequest" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "DeviceRequest-negation-example.html" + } + ], + "reference": { + "reference": "DeviceRequest/negation-example" + }, + "exampleCanonical": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-devicenotrequested" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DeviceUseStatement" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "DeviceUseStatement-example.html" + } + ], + "reference": { + "reference": "DeviceUseStatement/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "DiagnosticReport-example.html" + } + ], + "reference": { + "reference": "DiagnosticReport/example" + }, + "exampleCanonical": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-diagnosticreport-lab" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "DiagnosticReport" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "DiagnosticReport-note-example.html" + } + ], + "reference": { + "reference": "DiagnosticReport/note-example" + }, + "exampleCanonical": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-diagnosticreport-note" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Encounter" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Encounter-example.html" + } + ], + "reference": { + "reference": "Encounter/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "FamilyMemberHistory" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "FamilyMemberHistory-example.html" + } + ], + "reference": { + "reference": "FamilyMemberHistory/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Flag" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Flag-example.html" + } + ], + "reference": { + "reference": "Flag/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Goal" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Goal-example.html" + } + ], + "reference": { + "reference": "Goal/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ImagingStudy" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ImagingStudy-example.html" + } + ], + "reference": { + "reference": "ImagingStudy/example" + }, + "exampleCanonical": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-imagingstudy" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Immunization" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Immunization-example.html" + } + ], + "reference": { + "reference": "Immunization/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Immunization" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Immunization-negation-example.html" + } + ], + "reference": { + "reference": "Immunization/negation-example" + }, + "exampleCanonical": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-immunizationnotdone" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ImmunizationEvaluation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ImmunizationEvaluation-example.html" + } + ], + "reference": { + "reference": "ImmunizationEvaluation/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ImmunizationRecommendation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ImmunizationRecommendation-example.html" + } + ], + "reference": { + "reference": "ImmunizationRecommendation/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Location" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Location-example.html" + } + ], + "reference": { + "reference": "Location/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Medication" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Medication-example.html" + } + ], + "reference": { + "reference": "Medication/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "MedicationAdministration" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "MedicationAdministration-example.html" + } + ], + "reference": { + "reference": "MedicationAdministration/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "MedicationAdministration" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "MedicationAdministration-negation-example.html" + } + ], + "reference": { + "reference": "MedicationAdministration/negation-example" + }, + "exampleCanonical": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-mednotadministered" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "MedicationDispense" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "MedicationDispense-example.html" + } + ], + "reference": { + "reference": "MedicationDispense/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "MedicationDispense" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "MedicationDispense-negation-example.html" + } + ], + "reference": { + "reference": "MedicationDispense/negation-example" + }, + "exampleCanonical": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationnotdispensed" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "MedicationRequest" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "MedicationRequest-example.html" + } + ], + "reference": { + "reference": "MedicationRequest/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "MedicationRequest" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "MedicationRequest-negation-example.html" + } + ], + "reference": { + "reference": "MedicationRequest/negation-example" + }, + "exampleCanonical": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationnotrequested" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "MedicationStatement" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "MedicationStatement-example.html" + } + ], + "reference": { + "reference": "MedicationStatement/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "NutritionOrder" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "NutritionOrder-example.html" + } + ], + "reference": { + "reference": "NutritionOrder/example" + }, + "exampleCanonical": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-nutritionorder" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-example.html" + } + ], + "reference": { + "reference": "Observation/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Observation" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-negation-example.html" + } + ], + "reference": { + "reference": "Observation/negation-example" + }, + "exampleCanonical": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observationnotdone" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Organization" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Organization-example.html" + } + ], + "reference": { + "reference": "Organization/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Patient" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Patient-example.html" + } + ], + "reference": { + "reference": "Patient/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Practitioner" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Practitioner-example.html" + } + ], + "reference": { + "reference": "Practitioner/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "PractitionerRole" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "PractitionerRole-example.html" + } + ], + "reference": { + "reference": "PractitionerRole/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Procedure" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Procedure-example.html" + } + ], + "reference": { + "reference": "Procedure/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Procedure" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Procedure-negation-example.html" + } + ], + "reference": { + "reference": "Procedure/negation-example" + }, + "exampleCanonical": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedurenotdone" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ServiceRequest" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ServiceRequest-example.html" + } + ], + "reference": { + "reference": "ServiceRequest/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ServiceRequest" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ServiceRequest-appropriateness-example.html" + } + ], + "reference": { + "reference": "ServiceRequest/appropriateness-example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ServiceRequest" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ServiceRequest-negation-example.html" + } + ], + "reference": { + "reference": "ServiceRequest/negation-example" + }, + "exampleCanonical": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicenotrequested" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ServiceRequest" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ServiceRequest-referral-example.html" + } + ], + "reference": { + "reference": "ServiceRequest/referral-example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ServiceRequest" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ServiceRequest-elective-example.html" + } + ], + "reference": { + "reference": "ServiceRequest/elective-example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "RelatedPerson" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "RelatedPerson-example.html" + } + ], + "reference": { + "reference": "RelatedPerson/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Specimen" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Specimen-example.html" + } + ], + "reference": { + "reference": "Specimen/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Substance" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Substance-example.html" + } + ], + "reference": { + "reference": "Substance/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "Task" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Task-example.html" + } + ], + "reference": { + "reference": "Task/example" + }, + "exampleBoolean": true + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-appropriateness-score.html" + } + ], + "reference": { + "reference": "CodeSystem/appropriateness-score" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-communication-medium.html" + } + ], + "reference": { + "reference": "CodeSystem/communication-medium" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-condition-criticality.html" + } + ], + "reference": { + "reference": "CodeSystem/condition-criticality" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-diagnosticorder-precondition.html" + } + ], + "reference": { + "reference": "CodeSystem/diagnosticorder-precondition" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "CodeSystem" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-observation-verification.html" + } + ], + "reference": { + "reference": "CodeSystem/observation-verification" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-qicore-allergyintolerance-reason-refuted.html" + } + ], + "reference": { + "reference": "ValueSet/qicore-allergyintolerance-reason-refuted" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-qicore-appropriateness-score.html" + } + ], + "reference": { + "reference": "ValueSet/qicore-appropriateness-score" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-qicore-bodystructure-precoordinated.html" + } + ], + "reference": { + "reference": "ValueSet/qicore-bodystructure-precoordinated" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-qicore-communication-reason-not-performed.html" + } + ], + "reference": { + "reference": "ValueSet/qicore-communication-reason-not-performed" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-qicore-condition-certainty.html" + } + ], + "reference": { + "reference": "ValueSet/qicore-condition-certainty" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-qicore-condition-criticality.html" + } + ], + "reference": { + "reference": "ValueSet/qicore-condition-criticality" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-qicore-condition-stage.html" + } + ], + "reference": { + "reference": "ValueSet/qicore-condition-stage" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-qicore-encounter-canceled-reason.html" + } + ], + "reference": { + "reference": "ValueSet/qicore-encounter-canceled-reason" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-qicore-encounter-condition-role.html" + } + ], + "reference": { + "reference": "ValueSet/qicore-encounter-condition-role" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-qicore-flag-category.html" + } + ], + "reference": { + "reference": "ValueSet/qicore-flag-category" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-qicore-goal-reason-rejected.html" + } + ], + "reference": { + "reference": "ValueSet/qicore-goal-reason-rejected" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-qicore-medication-dose-type.html" + } + ], + "reference": { + "reference": "ValueSet/qicore-medication-dose-type" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-qicore-negation-reason.html" + } + ], + "reference": { + "reference": "ValueSet/qicore-negation-reason" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-qicore-observation-body-position.html" + } + ], + "reference": { + "reference": "ValueSet/qicore-observation-body-position" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-qicore-observation-delta.html" + } + ], + "reference": { + "reference": "ValueSet/qicore-observation-delta" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-qicore-observation-verification.html" + } + ], + "reference": { + "reference": "ValueSet/qicore-observation-verification" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-qicore-patient-disability.html" + } + ], + "reference": { + "reference": "ValueSet/qicore-patient-disability" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-qicore-priority.html" + } + ], + "reference": { + "reference": "ValueSet/qicore-priority" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-qicore-procedure-type.html" + } + ], + "reference": { + "reference": "ValueSet/qicore-procedure-type" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "ValueSet" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-qicore-servicerequest-reason-rejected.html" + } + ], + "reference": { + "reference": "ValueSet/qicore-servicerequest-reason-rejected" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-adverseevent.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-adverseevent" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-allergyintolerance.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-allergyintolerance" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-bodystructure.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-bodystructure" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-claim.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-claim" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-communication.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-communication" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-communicationnotdone.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-communicationnotdone" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-communicationrequest.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-communicationrequest" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-condition.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-condition" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-coverage.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-coverage" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-device.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-device" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-devicenotrequested.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-devicenotrequested" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-devicerequest.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-devicerequest" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-deviceusestatement.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-deviceusestatement" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-diagnosticreport-lab.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-diagnosticreport-lab" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-diagnosticreport-note.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-diagnosticreport-note" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-encounter.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-encounter" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-familymemberhistory.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-familymemberhistory" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-flag.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-flag" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-goal.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-goal" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-imagingstudy.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-imagingstudy" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-immunization.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-immunization" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-immunizationnotdone.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-immunizationnotdone" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-immunizationevaluation.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-immunizationevaluation" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-immunizationrec.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-immunizationrec" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-location.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-location" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-medication.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-medication" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-medicationadministration.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-medicationadministration" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-mednotadministered.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-mednotadministered" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-medicationdispense.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-medicationdispense" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-medicationnotdispensed.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-medicationnotdispensed" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-medicationnotrequested.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-medicationnotrequested" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-medicationrequest.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-medicationrequest" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-medicationstatement.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-medicationstatement" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-nutritionorder.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-nutritionorder" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-observation.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-observation" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-observationnotdone.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-observationnotdone" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-organization.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-organization" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-patient.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-patient" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-practitioner.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-practitioner" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-practitionerrole.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-practitionerrole" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-procedure.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-procedure" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-procedurenotdone.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-procedurenotdone" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-relatedperson.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-relatedperson" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-servicenotrequested.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-servicenotrequested" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-servicerequest.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-servicerequest" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-specimen.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-specimen" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-substance.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-substance" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-task.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-task" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-encounter-procedure.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-encounter-procedure" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-encounter-diagnosisPresentOnAdmission.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-encounter-diagnosisPresentOnAdmission" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-doNotPerformReason.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-doNotPerformReason" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-servicerequest-appropriatenessScore.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-servicerequest-appropriatenessScore" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-notDone.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-notDone" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-notDoneReason.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-notDoneReason" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-isElective.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-isElective" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:extension" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-recorded.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-recorded" + }, + "exampleBoolean": false + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-careplan.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-careplan" + }, + "name": "QICoreCarePlan", + "description": "Defines constraints and extensions on the CarePlan resource for the minimal set of data to query and retrieve a patient's Care Plan.", + "groupingId": "careplan-profile-spreadsheet.xml" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/tools/StructureDefinition/resource-information", + "valueString": "StructureDefinition:resource" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-qicore-careteam.html" + } + ], + "reference": { + "reference": "StructureDefinition/qicore-careteam" + }, + "name": "QICoreCareTeam", + "description": "Profile of CareTeam for decision support/quality metrics. Defines the core set of elements and extensions for quality rule and measure authors.", + "groupingId": "careteam-profile-spreadsheet.xml" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Location/Location-example.json b/evaluator.cli/src/test/resources/qicore/example/Location/Location-example.json new file mode 100644 index 000000000..a580af682 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Location/Location-example.json @@ -0,0 +1,85 @@ +{ + "resourceType": "Location", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-location" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: B1-S.F2

status: active

name: South Wing, second floor

alias: Mean Joe Greene University Medical Center, South Wing, second floor, BU MC, SW, F2

description: Second floor of the Old South Wing, formerly in use by Psychiatry

mode: instance

type: Hospital (Details : {http://terminology.hl7.org/CodeSystem/v3-RoleCode code 'HOSP' = 'Hospital', given as 'Hospital'})

telecom: ph: 2328(WORK), fax: 2329(WORK), second wing admissions, http://sampleorg.com/southwing(WORK)

address: Iron Curtain 75, Building A Pittsburgh PA 15016 US (WORK)

physicalType: Wing (Details : {http://terminology.hl7.org/CodeSystem/location-physical-type code 'wi' = 'Wing', given as 'Wing'})

Positions

-LongitudeLatitudeAltitude
*-83.694569142.254754780

managingOrganization: Generated Summary: id: example; ??; active; Organizational team; name: Health Level Seven International; ph: (+1) 734-677-7777, fax: (+1) 734-677-6622, hq@HL7.org

" + }, + "identifier": [ + { + "value": "B1-S.F2" + } + ], + "status": "active", + "name": "South Wing, second floor", + "alias": [ + "Mean Joe Greene University Medical Center, South Wing, second floor", + "BU MC, SW, F2" + ], + "description": "Second floor of the Old South Wing, formerly in use by Psychiatry", + "mode": "instance", + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "code": "HOSP", + "display": "Hospital" + } + ] + } + ], + "telecom": [ + { + "system": "phone", + "value": "2328", + "use": "work" + }, + { + "system": "fax", + "value": "2329", + "use": "work" + }, + { + "system": "email", + "value": "second wing admissions" + }, + { + "system": "url", + "value": "http://sampleorg.com/southwing", + "use": "work" + } + ], + "address": { + "use": "work", + "line": [ + "Iron Curtain 75, Building A" + ], + "city": "Pittsburgh", + "state": "PA", + "postalCode": "15016", + "country": "US" + }, + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "wi", + "display": "Wing" + } + ] + }, + "position": { + "longitude": -83.6945691, + "latitude": 42.25475478, + "altitude": 0 + }, + "managingOrganization": { + "reference": "Organization/example" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Location/Location-hl7east.json b/evaluator.cli/src/test/resources/qicore/example/Location/Location-hl7east.json new file mode 100644 index 000000000..e76477bf9 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Location/Location-hl7east.json @@ -0,0 +1,44 @@ +{ + "resourceType": "Location", + "id": "hl7east", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: hl7east

meta:

identifier: 29

status: active

name: Health Level Seven International - Amherst

description: HL7 Headquarters - East

telecom: ph: (+1) 734-677-7777

address: 3300 Washtenaw Avenue, Suite 227 Amherst MA 01002 USA

Positions

-LongitudeLatitude
*-72.51985442.373222

managingOrganization: Health Level Seven International

" + }, + "identifier": [ + { + "system": "http://www.acme.org/location", + "value": "29" + } + ], + "status": "active", + "name": "Health Level Seven International - Amherst", + "description": "HL7 Headquarters - East", + "telecom": [ + { + "system": "phone", + "value": "(+1) 734-677-7777" + } + ], + "address": { + "line": [ + "3300 Washtenaw Avenue, Suite 227" + ], + "city": "Amherst", + "state": "MA", + "postalCode": "01002", + "country": "USA" + }, + "position": { + "longitude": -72.519854, + "latitude": 42.373222 + }, + "managingOrganization": { + "display": "Health Level Seven International" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Medication/Medication-example.json b/evaluator.cli/src/test/resources/qicore/example/Medication/Medication-example.json new file mode 100644 index 000000000..8ab95c16b --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Medication/Medication-example.json @@ -0,0 +1,92 @@ +{ + "resourceType": "Medication", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medication" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

contained:

code: alemtuzumab 10 MG/ML [Lemtrada] (Details : {RxNorm code '1594660' = 'alemtuzumab 10 MG/ML [Lemtrada]', given as 'alemtuzumab 10 MG/ML [Lemtrada]'})

manufacturer: unknown resource contained

form: Conventional release solution for injection (dose form) (Details : {SNOMED CT code '385219001' = 'Solution for injection', given as 'Conventional release solution for injection (dose form)'})

Ingredients

-Item[x]Strength
*Alemtuzumab (substance) (Details : {SNOMED CT code '129472003' = 'Alemtuzumab', given as 'Alemtuzumab (substance)'})12 mg (Details: UCUM code mg = 'mg')/1.2 mL (Details: UCUM code mL = 'mL')

Batches

-LotNumberExpirationDate
*9494788May 22, 2017 12:00:00 AM
" + }, + "contained": [ + { + "resourceType": "Organization", + "id": "org6", + "identifier": [ + { + "system": "http://example.org/identifier", + "value": "ORG-006" + } + ], + "active": true, + "name": "Genzyme", + "telecom": [ + { + "system": "url", + "value": "https://www.sanofigenzyme.com/", + "use": "work" + } + ], + "address": [ + { + "use": "work", + "city": "Cambridge", + "state": "MA", + "country": "USA" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "1594660", + "display": "alemtuzumab 10 MG/ML [Lemtrada]" + } + ] + }, + "manufacturer": { + "reference": "#org6" + }, + "form": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "385219001", + "display": "Conventional release solution for injection (dose form)" + } + ] + }, + "ingredient": [ + { + "itemCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "129472003", + "display": "Alemtuzumab (substance)" + } + ] + }, + "strength": { + "numerator": { + "value": 12, + "system": "http://unitsofmeasure.org", + "code": "mg" + }, + "denominator": { + "value": 1.2, + "system": "http://unitsofmeasure.org", + "code": "mL" + } + } + } + ], + "batch": { + "lotNumber": "9494788", + "expirationDate": "2017-05-22" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Medication/Medication-uscore-med1.json b/evaluator.cli/src/test/resources/qicore/example/Medication/Medication-uscore-med1.json new file mode 100644 index 000000000..cdcac31b6 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Medication/Medication-uscore-med1.json @@ -0,0 +1,23 @@ +{ + "resourceType": "Medication", + "id": "uscore-med1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: uscore-med1

meta:

code: lisinopril oral 10 mg (Details : {RxNorm code '206765' = 'Prinivil 10 MG Oral Tablet', given as 'Lisinopril 10 MG Oral Tablet [Prinivil]'})

" + }, + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "206765", + "display": "Lisinopril 10 MG Oral Tablet [Prinivil]" + } + ], + "text": "lisinopril oral 10 mg" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Medication/Medication-uscore-med2.json b/evaluator.cli/src/test/resources/qicore/example/Medication/Medication-uscore-med2.json new file mode 100644 index 000000000..d8acda784 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Medication/Medication-uscore-med2.json @@ -0,0 +1,23 @@ +{ + "resourceType": "Medication", + "id": "uscore-med2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: uscore-med2

meta:

code: Nizatidine 15 MG/ML Oral Solution [Axid] (Details : {RxNorm code '582620' = 'Nizatidine 15 MG/ML Oral Solution [Axid]', given as 'Nizatidine 15 MG/ML Oral Solution [Axid]'})

" + }, + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "582620", + "display": "Nizatidine 15 MG/ML Oral Solution [Axid]" + } + ], + "text": "Nizatidine 15 MG/ML Oral Solution [Axid]" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/MedicationAdmnistration/MedicationAdministration-example.json b/evaluator.cli/src/test/resources/qicore/example/MedicationAdmnistration/MedicationAdministration-example.json new file mode 100644 index 000000000..0d4463378 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/MedicationAdmnistration/MedicationAdministration-example.json @@ -0,0 +1,53 @@ +{ + "resourceType": "MedicationAdministration", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationadministration" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

status: completed

medication: Generated Summary: id: example; alemtuzumab 10 MG/ML [Lemtrada]; Conventional release solution for injection (dose form)

subject: Donald Duck. Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

context: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

supportingInformation: Generated Summary: id: example; Active; Confirmed; Problem List Item; Severe (severity modifier); Burnt Ear; Left Ear; onset: May 24, 2012 12:00:00 AM; recordedDate: May 24, 2012 12:00:00 AM

effective: Jan 15, 2015 1:30:00 PM --> Jan 15, 2015 1:30:00 PM

request: Generated Summary: id: example; status: active; intent: order; ????; authoredOn: Mar 26, 2015 12:32:52 AM;

Dosages

-RouteDose
*Intravenous route (qualifier value) (Details : {SNOMED CT code '47625008' = 'Intravenous route', given as 'Intravenous route (qualifier value)'})3 mg (Details: UCUM code mg = 'mg')
" + }, + "status": "completed", + "medicationReference": { + "reference": "Medication/example" + }, + "subject": { + "reference": "Patient/example", + "display": "Donald Duck" + }, + "context": { + "reference": "Encounter/example" + }, + "supportingInformation": [ + { + "reference": "Condition/example" + } + ], + "effectivePeriod": { + "start": "2015-01-15T14:30:00+01:00", + "end": "2015-01-15T14:30:00+01:00" + }, + "request": { + "reference": "MedicationRequest/example" + }, + "dosage": { + "route": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "47625008", + "display": "Intravenous route (qualifier value)" + } + ] + }, + "dose": { + "value": 3, + "unit": "mg", + "system": "http://unitsofmeasure.org", + "code": "mg" + } + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/MedicationAdmnistration/MedicationAdministration-negation-example.json b/evaluator.cli/src/test/resources/qicore/example/MedicationAdmnistration/MedicationAdministration-negation-example.json new file mode 100644 index 000000000..963b0ff49 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/MedicationAdmnistration/MedicationAdministration-negation-example.json @@ -0,0 +1,79 @@ +{ + "resourceType": "MedicationAdministration", + "id": "negation-example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: negation-example

status: not-done

statusReason: Drug treatment not indicated (situation) (Details : {SNOMED CT code '183966005' = 'Drug treatment not indicated', given as 'Drug treatment not indicated (situation)'})

medication: Medication Brand Name value set (Details : {[not stated] code 'null' = 'null)

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

context: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

supportingInformation: Generated Summary: id: example; Active; Confirmed; Problem List Item; Severe (severity modifier); Burnt Ear; Left Ear; onset: May 24, 2012 12:00:00 AM; recordedDate: May 24, 2012 12:00:00 AM

effective: Jan 15, 2015 1:30:00 PM --> Jan 15, 2015 1:30:00 PM

request: Generated Summary: id: example; status: active; intent: order; ????; authoredOn: Mar 26, 2015 12:32:52 AM;

note: Patient started Bupropion this morning - will administer in a reduced dose tomorrow

Dosages

-RouteDose
*Intravenous route (qualifier value) (Details : {SNOMED CT code '47625008' = 'Intravenous route', given as 'Intravenous route (qualifier value)'})3 mg (Details: UCUM code mg = 'mg')
" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-recorded", + "valueDateTime": "2015-01-15" + } + ], + "status": "not-done", + "statusReason": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "183966005", + "display": "Drug treatment not indicated (situation)" + } + ] + } + ], + "medicationCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-reference", + "valueUri": "http://cts.nlm.nih.gov/fhir/2.16.840.1.113883.3.88.12.80.16" + } + ] + } + ], + "text": "Medication Brand Name value set" + }, + "subject": { + "reference": "Patient/example" + }, + "context": { + "reference": "Encounter/example" + }, + "supportingInformation": [ + { + "reference": "Condition/example" + } + ], + "effectivePeriod": { + "start": "2015-01-15T14:30:00+01:00", + "end": "2015-01-15T14:30:00+01:00" + }, + "request": { + "reference": "MedicationRequest/example" + }, + "note": [ + { + "text": "Patient started Bupropion this morning - will administer in a reduced dose tomorrow" + } + ], + "dosage": { + "route": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "47625008", + "display": "Intravenous route (qualifier value)" + } + ] + }, + "dose": { + "value": 3, + "unit": "mg", + "system": "http://unitsofmeasure.org", + "code": "mg" + } + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/MedicationDispense/MedicationDispense-example.json b/evaluator.cli/src/test/resources/qicore/example/MedicationDispense/MedicationDispense-example.json new file mode 100644 index 000000000..a58354e35 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/MedicationDispense/MedicationDispense-example.json @@ -0,0 +1,105 @@ +{ + "resourceType": "MedicationDispense", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationdispense" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

status: completed

medication: Generated Summary: id: example; alemtuzumab 10 MG/ML [Lemtrada]; Conventional release solution for injection (dose form)

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

Performers

-Actor
*Generated Summary: id: example; 23; active; Adam Careful

authorizingPrescription: Generated Summary: id: example; status: active; intent: order; ????; authoredOn: Mar 26, 2015 12:32:52 AM;

quantity: 100 ml (Details: UCUM code ml = 'ml')

daysSupply: 30 Day (Details: UCUM code d = 'd')

whenPrepared: May 30, 2012 4:20:00 PM

whenHandedOver: May 31, 2012 10:20:00 AM

destination: Generated Summary: id: example; B1-S.F2; status: active; name: South Wing, second floor; alias: Mean Joe Greene University Medical Center, South Wing, second floor, alias: BU MC, SW, F2; description: Second floor of the Old South Wing, formerly in use by Psychiatry; mode: instance; Hospital; ph: 2328(WORK), fax: 2329(WORK), second wing admissions, http://sampleorg.com/southwing(WORK); Wing

receiver: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

dosageInstruction:

Substitutions

-WasSubstitutedType
*falseNo substitution made or expected (Details : {http://example.org/MedDispSubType code 'NoSub' = 'NoSub', given as 'No substitution made or expected'})
" + }, + "status": "completed", + "medicationReference": { + "reference": "Medication/example" + }, + "subject": { + "reference": "Patient/example" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/example" + } + } + ], + "authorizingPrescription": [ + { + "reference": "MedicationRequest/example" + } + ], + "quantity": { + "value": 100, + "unit": "ml", + "system": "http://unitsofmeasure.org", + "code": "ml" + }, + "daysSupply": { + "value": 30, + "unit": "Day", + "system": "http://unitsofmeasure.org", + "code": "d" + }, + "whenPrepared": "2012-05-30T16:20:00+00:00", + "whenHandedOver": "2012-05-31T10:20:00+00:00", + "destination": { + "reference": "Location/example" + }, + "receiver": [ + { + "reference": "Patient/example" + } + ], + "dosageInstruction": [ + { + "timing": { + "repeat": { + "frequency": 3, + "period": 1, + "periodUnit": "d" + } + }, + "route": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "394899003", + "display": "oral administration of treatment" + } + ] + }, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 5, + "unit": "ml", + "system": "http://unitsofmeasure.org", + "code": "ml" + } + } + ] + } + ], + "substitution": { + "wasSubstituted": false, + "type": { + "coding": [ + { + "system": "http://example.org/MedDispSubType", + "code": "NoSub", + "display": "No substitution made or expected" + } + ] + } + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/MedicationDispense/MedicationDispense-negation-example.json b/evaluator.cli/src/test/resources/qicore/example/MedicationDispense/MedicationDispense-negation-example.json new file mode 100644 index 000000000..5b8a46710 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/MedicationDispense/MedicationDispense-negation-example.json @@ -0,0 +1,84 @@ +{ + "resourceType": "MedicationDispense", + "id": "negation-example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: negation-example

status: declined

statusReason: Drug treatment not indicated (situation) (Details : {SNOMED CT code '183966005' = 'Drug treatment not indicated', given as 'Drug treatment not indicated (situation)'})

medication: Medication Brand Name value set (Details : {[not stated] code 'null' = 'null)

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

authorizingPrescription: Generated Summary: id: example; status: active; intent: order; ????; authoredOn: Mar 26, 2015 12:32:52 AM;

dosageInstruction:

" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-recorded", + "valueDateTime": "2017-01-17" + } + ], + "status": "declined", + "statusReasonCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "183966005", + "display": "Drug treatment not indicated (situation)" + } + ] + }, + "medicationCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-reference", + "valueUri": "http://cts.nlm.nih.gov/fhir/2.16.840.1.113883.3.88.12.80.16" + } + ] + } + ], + "text": "Medication Brand Name value set" + }, + "subject": { + "reference": "Patient/example" + }, + "authorizingPrescription": [ + { + "reference": "MedicationRequest/example" + } + ], + "dosageInstruction": [ + { + "timing": { + "repeat": { + "frequency": 3, + "period": 1, + "periodUnit": "d" + } + }, + "route": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "394899003", + "display": "oral administration of treatment" + } + ] + }, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 5, + "unit": "ml", + "system": "http://unitsofmeasure.org", + "code": "ml" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/MedicationRequest/MedicationRequest-example.json b/evaluator.cli/src/test/resources/qicore/example/MedicationRequest/MedicationRequest-example.json new file mode 100644 index 000000000..1f072626b --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/MedicationRequest/MedicationRequest-example.json @@ -0,0 +1,80 @@ +{ + "resourceType": "MedicationRequest", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest" + ] + }, + "text": { + "status": "generated", + "div": "" + }, + "status": "active", + "intent": "order", + "medicationReference": { + "reference": "Medication/example" + }, + "subject": { + "reference": "Patient/example" + }, + "authoredOn": "2015-03-25T19:32:52-05:00", + "requester": { + "reference": "Practitioner/example" + }, + "dosageInstruction": [ + { + "timing": { + "repeat": { + "frequency": 3, + "period": 1, + "periodUnit": "d" + } + }, + "site": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "447964005" + } + ] + }, + "route": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "394899003", + "display": "oral administration of treatment" + } + ] + }, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 5, + "unit": "ml", + "system": "http://unitsofmeasure.org", + "code": "ml" + } + } + ] + } + ], + "dispenseRequest": { + "quantity": { + "value": 100, + "unit": "ml", + "system": "http://unitsofmeasure.org", + "code": "ml" + } + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/MedicationRequest/MedicationRequest-negation-example.json b/evaluator.cli/src/test/resources/qicore/example/MedicationRequest/MedicationRequest-negation-example.json new file mode 100644 index 000000000..6c5578ee8 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/MedicationRequest/MedicationRequest-negation-example.json @@ -0,0 +1,51 @@ +{ + "resourceType": "MedicationRequest", + "id": "negation-example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: negation-example

status: completed

intent: order

category: community (Details : {[not stated] code 'community' = 'community)

doNotPerform: true

medication: Antithrombotic Therapy value set (Details : {[not stated] code 'null' = 'null)

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

authoredOn: Mar 26, 2015 12:32:52 AM

requester: Generated Summary: id: example; 23; active; Adam Careful

reasonCode: Drug treatment not indicated (situation) (Details : {SNOMED CT code '183966005' = 'Drug treatment not indicated', given as 'Drug treatment not indicated (situation)'})

" + }, + "status": "completed", + "intent": "order", + "category": [ + { + "coding": [ + { + "code": "community" + } + ] + } + ], + "doNotPerform": true, + "medicationCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-reference", + "valueUri": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.201" + } + ] + } + ], + "text": "Antithrombotic Therapy value set" + }, + "subject": { + "reference": "Patient/example" + }, + "authoredOn": "2015-03-25T19:32:52-05:00", + "requester": { + "reference": "Practitioner/example" + }, + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "183966005", + "display": "Drug treatment not indicated (situation)" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/MedicationRequest/MedicationRequest-self-tylenol.json b/evaluator.cli/src/test/resources/qicore/example/MedicationRequest/MedicationRequest-self-tylenol.json new file mode 100644 index 000000000..e693981ed --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/MedicationRequest/MedicationRequest-self-tylenol.json @@ -0,0 +1,46 @@ +{ + "resourceType": "MedicationRequest", + "id": "self-tylenol", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: self-tylenol

identifier: 12345689 (OFFICIAL)

status: active

intent: order

reported: true

medication: Tylenol PM Pill (Details : {RxNorm code '1187314' = 'Tylenol PM Pill', given as 'Tylenol PM Pill'})

subject: Amy V. Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: Office Visit. Generated Summary: id: example-1; status: finished; ambulatory; Office Visit; period: 02/11/2015 9:00:14 AM --> 02/11/2015 10:00:14 AM

authoredOn: 24/06/2019 12:00:00 AM

requester: **self-prescribed**. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

dosageInstruction:

" + }, + "identifier": [ + { + "use": "official", + "system": "http://acme.org/prescriptions", + "value": "12345689" + } + ], + "status": "active", + "intent": "order", + "reportedBoolean": true, + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "1187314", + "display": "Tylenol PM Pill" + } + ], + "text": "Tylenol PM Pill" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy V. Shaw" + }, + "encounter": { + "reference": "Encounter/example-1", + "display": "Office Visit" + }, + "authoredOn": "2019-06-24", + "requester": { + "reference": "Patient/example", + "display": "**self-prescribed**" + }, + "dosageInstruction": [ + { + "text": "Takes 1-2 tablets once daily at bedtime as needed for restless legs" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/MedicationRequest/MedicationRequest-uscore-mo1.json b/evaluator.cli/src/test/resources/qicore/example/MedicationRequest/MedicationRequest-uscore-mo1.json new file mode 100644 index 000000000..fa3f81c48 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/MedicationRequest/MedicationRequest-uscore-mo1.json @@ -0,0 +1,61 @@ +{ + "resourceType": "MedicationRequest", + "id": "uscore-mo1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: uscore-mo1

meta:

status: active

intent: order

medication: Nizatidine 15 MG/ML Oral Solution [Axid] (Details : {RxNorm code '582620' = 'Nizatidine 15 MG/ML Oral Solution [Axid]', given as 'Nizatidine 15 MG/ML Oral Solution [Axid]'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

authoredOn: 05/04/2008 12:00:00 AM

requester: Ronald Bone, MD. Generated Summary: id: practitioner-1; 9941339108, 25456; Ronald Bone

dosageInstruction:

DispenseRequests

-NumberOfRepeatsAllowedQuantityExpectedSupplyDuration
*1480 mL (Details: UCUM code mL = 'mL')30 days (Details: UCUM code d = 'd')
" + }, + "status": "active", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "582620", + "display": "Nizatidine 15 MG/ML Oral Solution [Axid]" + } + ], + "text": "Nizatidine 15 MG/ML Oral Solution [Axid]" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "authoredOn": "2008-04-05", + "requester": { + "reference": "Practitioner/practitioner-1", + "display": "Ronald Bone, MD" + }, + "dosageInstruction": [ + { + "text": "10 mL bid", + "timing": { + "repeat": { + "boundsPeriod": { + "start": "2008-04-05" + } + } + } + } + ], + "dispenseRequest": { + "numberOfRepeatsAllowed": 1, + "quantity": { + "value": 480, + "unit": "mL", + "system": "http://unitsofmeasure.org", + "code": "mL" + }, + "expectedSupplyDuration": { + "value": 30, + "unit": "days", + "system": "http://unitsofmeasure.org", + "code": "d" + } + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/MedicationRequest/MedicationRequest-uscore-mo2.json b/evaluator.cli/src/test/resources/qicore/example/MedicationRequest/MedicationRequest-uscore-mo2.json new file mode 100644 index 000000000..891ff6140 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/MedicationRequest/MedicationRequest-uscore-mo2.json @@ -0,0 +1,71 @@ +{ + "resourceType": "MedicationRequest", + "id": "uscore-mo2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: uscore-mo2

meta:

contained:

status: active

intent: order

medication: Nizatidine 15 MG/ML Oral Solution [Axid]. Generated Summary: unknown resource contained

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

authoredOn: 05/04/2008 12:00:00 AM

requester: Ronald Bone, MD. Generated Summary: id: practitioner-1; 9941339108, 25456; Ronald Bone

dosageInstruction:

DispenseRequests

-NumberOfRepeatsAllowedQuantityExpectedSupplyDuration
*1480 mL (Details: UCUM code mL = 'mL')30 days (Details: UCUM code d = 'd')
" + }, + "contained": [ + { + "resourceType": "Medication", + "id": "med2", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "582620", + "display": "Nizatidine 15 MG/ML Oral Solution [Axid]" + } + ], + "text": "Nizatidine 15 MG/ML Oral Solution [Axid]" + } + } + ], + "status": "active", + "intent": "order", + "medicationReference": { + "reference": "#med2", + "display": "Nizatidine 15 MG/ML Oral Solution [Axid]" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "authoredOn": "2008-04-05", + "requester": { + "reference": "Practitioner/practitioner-1", + "display": "Ronald Bone, MD" + }, + "dosageInstruction": [ + { + "text": "10 mL bid", + "timing": { + "repeat": { + "boundsPeriod": { + "start": "2008-04-05" + } + } + } + } + ], + "dispenseRequest": { + "numberOfRepeatsAllowed": 1, + "quantity": { + "value": 480, + "unit": "mL", + "system": "http://unitsofmeasure.org", + "code": "mL" + }, + "expectedSupplyDuration": { + "value": 30, + "unit": "days", + "system": "http://unitsofmeasure.org", + "code": "d" + } + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/MedicationStatement/MedicationStatement-example.json b/evaluator.cli/src/test/resources/qicore/example/MedicationStatement/MedicationStatement-example.json new file mode 100644 index 000000000..d2151ed6e --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/MedicationStatement/MedicationStatement-example.json @@ -0,0 +1,60 @@ +{ + "resourceType": "MedicationStatement", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationstatement" + ] + }, + "text": { + "status": "generated", + "div": "" + }, + "status": "active", + "medicationReference": { + "reference": "Medication/example" + }, + "subject": { + "reference": "Patient/example" + }, + "effectiveDateTime": "2012-06-01T14:30:00+14:00", + "dateAsserted": "2012-05-14T15:00:00+14:00", + "informationSource": { + "reference": "Practitioner/example" + }, + "derivedFrom": [ + { + "reference": "MedicationRequest/example" + } + ], + "dosage": [ + { + "timing": { + "repeat": { + "frequency": 3, + "period": 1, + "periodUnit": "d" + } + }, + "route": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "394899003", + "display": "oral administration of treatment" + } + ] + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 10, + "unit": "ml", + "system": "http://unitsofmeasure.org", + "code": "ml" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/NutritionOrder/NutritionOrder-example.json b/evaluator.cli/src/test/resources/qicore/example/NutritionOrder/NutritionOrder-example.json new file mode 100644 index 000000000..7fc6e6953 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/NutritionOrder/NutritionOrder-example.json @@ -0,0 +1,112 @@ +{ + "resourceType": "NutritionOrder", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-nutritionorder" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: 123

status: active

intent: order

patient: Peter Chalmers. Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

encounter: Inpatient. Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

dateTime: Sep 17, 2014 12:00:00 AM

orderer: Dr Adam Careful. Generated Summary: id: example; 23; active; Adam Careful

allergyIntolerance: Cashew Nuts. Generated Summary: id: example; 49476534; Active; Confirmed; type: allergy; category: food; criticality: high; Cashew nuts; onset: Jan 1, 2004 12:00:00 AM; recordedDate: Oct 9, 2014 3:58:00 AM; lastOccurrence: Jun 2, 2012 1:45:31 AM; Annotation: The criticality is high becasue of the observed anaphylactic reaction when challenged with cashew extract.

foodPreferenceModifier: Dairy Free (Details : {http://terminology.hl7.org/CodeSystem/diet code 'dairy-free' = 'Dairy Free)

excludeFoodModifier: Cashew Nut (Details : {SNOMED CT code '227493005' = 'Cashew nuts', given as 'Cashew Nut'})

oralDiet

type: DD - Diabetic diet (Details : {SNOMED CT code '160670007' = 'DD - Diabetic diet', given as 'Diabetic diet'}; {http://goodhealthhospital.org/diet-type-codes code '1030' = '1030', given as 'DD - Diabetic diet'})

schedule: Starting Feb 10, 2015 12:00:00 AM, Do 3 per 1 days

Nutrients

-ModifierAmount
*Carbohydrate (Details : {SNOMED CT code '2331003' = 'Carbohydrate', given as 'Carbohydrate'})75 grams (Details: UCUM code g = 'g')
" + }, + "identifier": [ + { + "system": "http://goodhealthhospital.org/nutrition-requests", + "value": "123" + } + ], + "status": "active", + "intent": "order", + "patient": { + "reference": "Patient/example", + "display": "Peter Chalmers" + }, + "encounter": { + "reference": "Encounter/example", + "display": "Inpatient" + }, + "dateTime": "2014-09-17", + "orderer": { + "reference": "Practitioner/example", + "display": "Dr Adam Careful" + }, + "allergyIntolerance": [ + { + "reference": "AllergyIntolerance/example", + "display": "Cashew Nuts" + } + ], + "foodPreferenceModifier": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/diet", + "code": "dairy-free" + } + ] + } + ], + "excludeFoodModifier": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "version": "20140730", + "code": "227493005", + "display": "Cashew Nut" + } + ] + } + ], + "oralDiet": { + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "160670007", + "display": "Diabetic diet" + }, + { + "system": "http://goodhealthhospital.org/diet-type-codes", + "code": "1030", + "display": "DD - Diabetic diet" + } + ], + "text": "DD - Diabetic diet" + } + ], + "schedule": [ + { + "repeat": { + "boundsPeriod": { + "start": "2015-02-10" + }, + "frequency": 3, + "period": 1, + "periodUnit": "d" + } + } + ], + "nutrient": [ + { + "modifier": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "2331003", + "display": "Carbohydrate" + } + ] + }, + "amount": { + "value": 75, + "unit": "grams", + "system": "http://unitsofmeasure.org", + "code": "g" + } + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-blood-glucose.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-blood-glucose.json new file mode 100644 index 000000000..e2e8657d6 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-blood-glucose.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "blood-glucose", + "meta": { + "versionId": "1165", + "lastUpdated": "2016-03-09T15:29:58.328+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: blood-glucose

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Glucose Bld-mCnc (Details : {LOINC code '2339-0' = 'Glucose [Mass/volume] in Blood', given as 'Glucose Bld-mCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 76.0 mg/dL

ReferenceRanges

-LowHighAppliesTo
*40.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')109.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2339-0", + "display": "Glucose Bld-mCnc" + } + ], + "text": "Glucose Bld-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 76.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 40.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 109.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-blood-pressure.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-blood-pressure.json new file mode 100644 index 000000000..b9d253e1d --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-blood-pressure.json @@ -0,0 +1,82 @@ +{ + "resourceType": "Observation", + "id": "blood-pressure", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: blood-pressure

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: Blood pressure systolic and diastolic (Details : {LOINC code '85354-9' = 'Blood pressure panel with all children optional', given as 'Blood pressure panel with all children optional'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 02/07/1999 12:00:00 AM

component

code: Systolic blood pressure (Details : {LOINC code '8480-6' = 'Systolic blood pressure', given as 'Systolic blood pressure'})

value: 109 mmHg (Details: UCUM code mm[Hg] = 'mm[Hg]')

component

code: Diastolic blood pressure (Details : {LOINC code '8462-4' = 'Diastolic blood pressure', given as 'Diastolic blood pressure'})

value: 44 mmHg (Details: UCUM code mm[Hg] = 'mm[Hg]')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood pressure panel with all children optional" + } + ], + "text": "Blood pressure systolic and diastolic" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic blood pressure" + } + ], + "text": "Systolic blood pressure" + }, + "valueQuantity": { + "value": 109, + "unit": "mmHg", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic blood pressure" + } + ], + "text": "Diastolic blood pressure" + }, + "valueQuantity": { + "value": 44, + "unit": "mmHg", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-bmi.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-bmi.json new file mode 100644 index 000000000..7b8f3bb5d --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-bmi.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "bmi", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: bmi

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: BMI (Details : {LOINC code '39156-5' = 'Body mass index (BMI) [Ratio]', given as 'Body mass index (BMI) [Ratio]'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 02/07/1999 12:00:00 AM

value: 16.2 kg/m2 (Details: UCUM code kg/m2 = 'kg/m2')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5", + "display": "Body mass index (BMI) [Ratio]" + } + ], + "text": "BMI" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 16.2, + "unit": "kg/m2", + "system": "http://unitsofmeasure.org", + "code": "kg/m2" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-bp-data-absent.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-bp-data-absent.json new file mode 100644 index 000000000..b87ad1049 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-bp-data-absent.json @@ -0,0 +1,86 @@ +{ + "resourceType": "Observation", + "id": "bp-data-absent", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: bp-data-absent

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: Blood pressure systolic and diastolic (Details : {LOINC code '85354-9' = 'Blood pressure panel with all children optional', given as 'Blood pressure panel with all children optional'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: Generated Summary: id: 1036; status: in-progress; inpatient encounter

effective: 02/07/1999 12:00:00 AM

component

code: Systolic blood pressure (Details : {LOINC code '8480-6' = 'Systolic blood pressure', given as 'Systolic blood pressure'})

value: 109 mmHg (Details: UCUM code mm[Hg] = 'mm[Hg]')

component

code: Diastolic blood pressure (Details : {LOINC code '8462-4' = 'Diastolic blood pressure', given as 'Diastolic blood pressure'})

dataAbsentReason: Unknown (Details : {http://terminology.hl7.org/CodeSystem/data-absent-reason code 'unknown' = 'Unknown', given as 'Unknown'})

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood pressure panel with all children optional" + } + ], + "text": "Blood pressure systolic and diastolic" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "reference": "Encounter/1036" + }, + "effectiveDateTime": "1999-07-02", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic blood pressure" + } + ], + "text": "Systolic blood pressure" + }, + "valueQuantity": { + "value": 109, + "unit": "mmHg", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic blood pressure" + } + ], + "text": "Diastolic blood pressure" + }, + "dataAbsentReason": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "code": "unknown", + "display": "Unknown" + } + ], + "text": "Unknown" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-bun.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-bun.json new file mode 100644 index 000000000..1d99e6fdc --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-bun.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "bun", + "meta": { + "versionId": "1237", + "lastUpdated": "2016-03-09T15:29:58.597+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: bun

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: BUN SerPl-mCnc (Details : {LOINC code '3094-0' = 'Urea nitrogen [Mass/volume] in Serum or Plasma', given as 'BUN SerPl-mCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 10.0 mg/dL

ReferenceRanges

-LowHighAppliesTo
*5.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')20.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "3094-0", + "display": "BUN SerPl-mCnc" + } + ], + "text": "BUN SerPl-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 10.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 5.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 20.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-erythrocytes.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-erythrocytes.json new file mode 100644 index 000000000..c5002f5ba --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-erythrocytes.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "erythrocytes", + "meta": { + "versionId": "1189", + "lastUpdated": "2016-03-09T15:29:58.419+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: erythrocytes

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: RBC # Bld Auto (Details : {LOINC code '789-8' = 'Erythrocytes [#/volume] in Blood by Automated count', given as 'RBC # Bld Auto'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 4.58 10*6/uL

ReferenceRanges

-LowHighAppliesTo
*4.1 10*6/uL (Details: UCUM code 10*6/uL = '10*6/uL')6.1 10*6/uL (Details: UCUM code 10*6/uL = '10*6/uL')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "789-8", + "display": "RBC # Bld Auto" + } + ], + "text": "RBC # Bld Auto" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 4.58, + "unit": "10*6/uL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 4.1, + "unit": "10*6/uL", + "system": "http://unitsofmeasure.org", + "code": "10*6/uL" + }, + "high": { + "value": 6.1, + "unit": "10*6/uL", + "system": "http://unitsofmeasure.org", + "code": "10*6/uL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-example.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-example.json new file mode 100644 index 000000000..04477de6a --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-example.json @@ -0,0 +1,185 @@ +{ + "resourceType": "Observation", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: Hemoglobin [Mass/volume] in Venous blood (Details : {LOINC code '30350-3' = 'Hemoglobin [Mass/volume] in Venous blood', given as 'Hemoglobin [Mass/volume] in Venous blood'})

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

encounter: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

effective: Apr 2, 2013 9:30:10 AM --> Apr 5, 2013 9:30:10 AM

issued: Apr 3, 2013 2:30:10 PM

value: 7.2 g/dl (Details: UCUM code g/dL = 'g/dL')

interpretation: Below low normal (Details : {http://terminology.hl7.org/CodeSystem/v2-0078 code 'L' = 'Low', given as 'Low'})

bodySite: Superficial forearm vein (Details : {SNOMED CT code '308046002' = 'Superficial forearm vein', given as 'Superficial forearm vein'})

method: Injection to forearm (Details : {SNOMED CT code '120220003' = 'Injection to forearm', given as 'Injection to forearm'})

specimen: Generated Summary: id: example; Venous blood specimen; receivedTime: Mar 4, 2011 7:03:00 AM

derivedFrom: Generated Summary: id: example; Vital Signs; Hemoglobin [Mass/volume] in Venous blood; effective: Apr 2, 2013 9:30:10 AM --> Apr 5, 2013 9:30:10 AM; issued: Apr 3, 2013 2:30:10 PM; 7.2 g/dl; Below low normal; Superficial forearm vein; Injection to forearm

component

code: Systolic blood pressure (Details : {LOINC code '8480-6' = 'Systolic blood pressure', given as 'Systolic blood pressure'}; {SNOMED CT code '271649006' = 'Systolic blood pressure', given as 'Systolic blood pressure'}; {http://acme.org/devices/clinical-codes code 'bp-s' = 'bp-s', given as 'Systolic Blood pressure'})

value: 107 mmHg (Details: UCUM code mm[Hg] = 'mm[Hg]')

interpretation: Normal (Details : {http://terminology.hl7.org/CodeSystem/v2-0078 code 'N' = 'Normal', given as 'normal'})

component

code: Diastolic blood pressure (Details : {LOINC code '8462-4' = 'Diastolic blood pressure', given as 'Diastolic blood pressure'})

value: 60 mmHg (Details: UCUM code mm[Hg] = 'mm[Hg]')

interpretation: Below low normal (Details : {http://terminology.hl7.org/CodeSystem/v2-0078 code 'L' = 'Low', given as 'low'})

" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "33586001", + "display": "Sitting position (finding)" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/observation-delta", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "1250004", + "display": "Decreased (qualifier value)" + } + ] + } + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "30350-3", + "display": "Hemoglobin [Mass/volume] in Venous blood" + } + ] + }, + "subject": { + "reference": "Patient/example" + }, + "encounter": { + "reference": "Encounter/example" + }, + "effectivePeriod": { + "start": "2013-04-02T10:30:10+01:00", + "end": "2013-04-05T10:30:10+01:00" + }, + "issued": "2013-04-03T15:30:10+01:00", + "valueQuantity": { + "value": 7.2, + "unit": "g/dl", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0078", + "code": "L", + "display": "Low" + } + ], + "text": "Below low normal" + } + ], + "bodySite": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "308046002", + "display": "Superficial forearm vein" + } + ] + }, + "method": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "120220003", + "display": "Injection to forearm" + } + ] + }, + "specimen": { + "reference": "Specimen/example" + }, + "derivedFrom": [ + { + "reference": "Observation/example" + } + ], + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic blood pressure" + }, + { + "system": "http://snomed.info/sct", + "code": "271649006", + "display": "Systolic blood pressure" + }, + { + "system": "http://acme.org/devices/clinical-codes", + "code": "bp-s", + "display": "Systolic Blood pressure" + } + ] + }, + "valueQuantity": { + "value": 107, + "unit": "mmHg", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0078", + "code": "N", + "display": "normal" + } + ], + "text": "Normal" + } + ] + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic blood pressure" + } + ] + }, + "valueQuantity": { + "value": 60, + "unit": "mmHg", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0078", + "code": "L", + "display": "low" + } + ], + "text": "Below low normal" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-head-circumference.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-head-circumference.json new file mode 100644 index 000000000..372e5563a --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-head-circumference.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "head-circumference", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: head-circumference

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: head_circumference (Details : {LOINC code '8287-5' = 'Head Occipital-frontal circumference by Tape measure', given as 'Head Occipital-frontal circumference by Tape measure'})

subject: Amy V Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: Generated Summary: id: 1036; status: in-progress; inpatient encounter

effective: 12/08/2010 12:00:00 AM

value: 51.2 cm (Details: UCUM code cm = 'cm')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8287-5", + "display": "Head Occipital-frontal circumference by Tape measure" + } + ], + "text": "head_circumference" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy V Shaw" + }, + "encounter": { + "reference": "Encounter/1036" + }, + "effectiveDateTime": "2010-08-12", + "valueQuantity": { + "value": 51.2, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-heart-rate.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-heart-rate.json new file mode 100644 index 000000000..b8d511095 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-heart-rate.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "heart-rate", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: heart-rate

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: heart_rate (Details : {LOINC code '8867-4' = 'Heart rate', given as 'Heart Rate'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 02/07/1999 12:00:00 AM

value: 44.0 {beats}/min (Details: UCUM code {beats}/min = '{beats}/min')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4", + "display": "Heart Rate" + } + ], + "text": "heart_rate" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 44.0, + "unit": "{beats}/min", + "system": "http://unitsofmeasure.org", + "code": "{beats}/min" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-height.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-height.json new file mode 100644 index 000000000..a822b6c76 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-height.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "height", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: height

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: height (Details : {LOINC code '8302-2' = 'Body height', given as 'Body height'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 02/07/1999 12:00:00 AM

value: 111.506 cm (Details: UCUM code cm = 'cm')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2", + "display": "Body height" + } + ], + "text": "height" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 111.506, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-hemoglobin.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-hemoglobin.json new file mode 100644 index 000000000..f19616dfe --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-hemoglobin.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "hemoglobin", + "meta": { + "versionId": "1046", + "lastUpdated": "2016-03-09T15:29:57.818+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: hemoglobin

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Hgb Bld-mCnc (Details : {LOINC code '718-7' = 'Hemoglobin [Mass/volume] in Blood', given as 'Hgb Bld-mCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 17.0 g/dL

ReferenceRanges

-LowHighAppliesTo
*16.5 g/dL (Details: UCUM code g/dL = 'g/dL')21.5 g/dL (Details: UCUM code g/dL = 'g/dL')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "718-7", + "display": "Hgb Bld-mCnc" + } + ], + "text": "Hgb Bld-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 17.0, + "unit": "g/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 16.5, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + }, + "high": { + "value": 21.5, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-length.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-length.json new file mode 100644 index 000000000..9301634c3 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-length.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "length", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: length

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: length (Details : {LOINC code '8306-3' = 'Body height --lying', given as 'Body height --lying'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 02/07/1999 12:00:00 AM

value: 25 cm (Details: UCUM code cm = 'cm')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8306-3", + "display": "Body height --lying" + } + ], + "text": "length" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 25, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-mchc.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-mchc.json new file mode 100644 index 000000000..0b9f5e9ba --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-mchc.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "mchc", + "meta": { + "versionId": "879", + "lastUpdated": "2016-03-09T15:29:57.124+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: mchc

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: MCHC RBC Auto-mCnc (Details : {LOINC code '786-4' = 'MCHC [Mass/volume] by Automated count', given as 'MCHC RBC Auto-mCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 34.7 g/dL

ReferenceRanges

-LowHighAppliesTo
*30.0 g/dL (Details: UCUM code g/dL = 'g/dL')34.0 g/dL (Details: UCUM code g/dL = 'g/dL')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "786-4", + "display": "MCHC RBC Auto-mCnc" + } + ], + "text": "MCHC RBC Auto-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 34.7, + "unit": "g/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 30.0, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + }, + "high": { + "value": 34.0, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-negation-example.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-negation-example.json new file mode 100644 index 000000000..ae0c637fa --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-negation-example.json @@ -0,0 +1,64 @@ +{ + "resourceType": "Observation", + "id": "negation-example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: negation-example

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: Hemoglobin lab test (Details : {[not stated] code 'null' = 'null)

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

encounter: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

effective: Apr 2, 2013 9:30:10 AM --> Apr 5, 2013 9:30:10 AM

issued: Apr 3, 2013 2:30:10 PM

" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-notDoneReason", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "410536001", + "display": "Contraindicated (qualifier value)" + } + ] + } + } + ], + "modifierExtension": [ + { + "url": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-notDone", + "valueBoolean": true + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ] + } + ], + "code": { + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-reference", + "valueUri": "http://cts.nlm.nih.gov/fhir/2.16.840.1.113762.1.4.1045.131" + } + ] + } + ], + "text": "Hemoglobin lab test" + }, + "subject": { + "reference": "Patient/example" + }, + "encounter": { + "reference": "Encounter/example" + }, + "effectivePeriod": { + "start": "2013-04-02T10:30:10+01:00", + "end": "2013-04-05T10:30:10+01:00" + }, + "issued": "2013-04-03T15:30:10+01:00" +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-neutrophils.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-neutrophils.json new file mode 100644 index 000000000..c5c18dbe7 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-neutrophils.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "neutrophils", + "meta": { + "versionId": "1106", + "lastUpdated": "2016-03-09T15:29:58.052+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: neutrophils

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Neutrophils % (Details : {LOINC code '770-8' = 'Neutrophils/100 leukocytes in Blood by Automated count', given as 'Neutrophils/100 leukocytes in Blood by Automated count'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 40.0 %

ReferenceRanges

-LowHighAppliesTo
*37.0 % (Details: UCUM code % = '%')67.0 % (Details: UCUM code % = '%')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "770-8", + "display": "Neutrophils/100 leukocytes in Blood by Automated count" + } + ], + "text": "Neutrophils %" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 40.0, + "unit": "%", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 37.0, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + }, + "high": { + "value": 67.0, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-oxygen-saturation.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-oxygen-saturation.json new file mode 100644 index 000000000..098747b95 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-oxygen-saturation.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "oxygen-saturation", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: oxygen-saturation

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: oxygen_saturation (Details : {LOINC code '59408-5' = 'Oxygen saturation in Arterial blood by Pulse oximetry', given as 'Oxygen saturation in Arterial blood by Pulse oximetry'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 02/07/1999 12:00:00 AM

value: 99.0 %O2 (Details: UCUM code % = '%')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "59408-5", + "display": "Oxygen saturation in Arterial blood by Pulse oximetry" + } + ], + "text": "oxygen_saturation" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 99.0, + "unit": "%O2", + "system": "http://unitsofmeasure.org", + "code": "%" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-pediatric-bmi-example.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-pediatric-bmi-example.json new file mode 100644 index 000000000..7ba57d1de --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-pediatric-bmi-example.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "pediatric-bmi-example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: pediatric-bmi-example

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: BMI (Details : {LOINC code '59576-9' = 'Body mass index (BMI) [Percentile] Per age and sex', given as 'Body mass index (BMI) [Percentile] Per age and gender'})

subject: Infant Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 05/05/2019 5:12:29 AM

value: 65 % (Details: UCUM code % = '%')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "59576-9", + "display": "Body mass index (BMI) [Percentile] Per age and gender" + } + ], + "text": "BMI" + }, + "subject": { + "reference": "Patient/example", + "display": "Infant Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "2019-05-04T12:12:29-07:00", + "valueQuantity": { + "value": 65, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-pediatric-wt-example.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-pediatric-wt-example.json new file mode 100644 index 000000000..8d8ad60db --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-pediatric-wt-example.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "pediatric-wt-example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: pediatric-wt-example

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: BMI (Details : {LOINC code '77606-2' = 'Weight-for-length Per age and sex', given as 'Weight-for-length Per age and gender'})

subject: Infant Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 05/05/2019 5:12:29 AM

value: 65 % (Details: UCUM code % = '%')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "77606-2", + "display": "Weight-for-length Per age and gender" + } + ], + "text": "BMI" + }, + "subject": { + "reference": "Patient/example", + "display": "Infant Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "2019-05-04T12:12:29-07:00", + "valueQuantity": { + "value": 65, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-respiratory-rate.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-respiratory-rate.json new file mode 100644 index 000000000..3d311b574 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-respiratory-rate.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "respiratory-rate", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: respiratory-rate

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: respiratory_rate (Details : {LOINC code '9279-1' = 'Respiratory rate', given as 'Respiratory rate'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 02/07/1999 12:00:00 AM

value: 26.0 breaths per minute (Details: UCUM code /min = '/min')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1", + "display": "Respiratory rate" + } + ], + "text": "respiratory_rate" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 26.0, + "unit": "breaths per minute", + "system": "http://unitsofmeasure.org", + "code": "/min" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-satO2-fiO2.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-satO2-fiO2.json new file mode 100644 index 000000000..fcb88b08e --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-satO2-fiO2.json @@ -0,0 +1,107 @@ +{ + "resourceType": "Observation", + "id": "satO2-fiO2", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: satO2-fiO2

identifier: o1223435-10

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: Oxygen saturation in Arterial blood (Details : {LOINC code '2708-6' = 'Oxygen saturation in Arterial blood', given as 'Oxygen saturation in Arterial blood'}; {LOINC code '59408-5' = 'Oxygen saturation in Arterial blood by Pulse oximetry', given as 'Oxygen saturation in Arterial blood by Pulse oximetry'}; {urn:iso:std:iso:11073:10101 code '150456' = '150456', given as 'MDC_PULS_OXIM_SAT_O2'})

subject: Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/12/2014 7:30:10 PM

value: 95 % (Details: UCUM code % = '%')

interpretation: Normal (applies to non-numeric results) (Details : {http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation code 'N' = 'Normal', given as 'Normal'})

device: Acme Pulse Oximeter 2000

ReferenceRanges

-LowHigh
*90 % (Details: UCUM code % = '%')99 % (Details: UCUM code % = '%')

Components

-CodeValue[x]
*Inhaled oxygen flow rate (Details : {LOINC code '3151-8' = 'Inhaled oxygen flow rate', given as 'Inhaled oxygen flow rate'})6 liters/min (Details: UCUM code l/min = 'l/min')
" + }, + "identifier": [ + { + "system": "http://goodcare.org/observation/id", + "value": "o1223435-10" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2708-6", + "display": "Oxygen saturation in Arterial blood" + }, + { + "system": "http://loinc.org", + "code": "59408-5", + "display": "Oxygen saturation in Arterial blood by Pulse oximetry" + }, + { + "system": "urn:iso:std:iso:11073:10101", + "code": "150456", + "display": "MDC_PULS_OXIM_SAT_O2" + } + ] + }, + "subject": { + "reference": "Patient/example" + }, + "effectiveDateTime": "2014-12-05T09:30:10+01:00", + "valueQuantity": { + "value": 95, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "N", + "display": "Normal" + } + ], + "text": "Normal (applies to non-numeric results)" + } + ], + "device": { + "display": "Acme Pulse Oximeter 2000" + }, + "referenceRange": [ + { + "low": { + "value": 90, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + }, + "high": { + "value": 99, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + } + ], + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "3151-8", + "display": "Inhaled oxygen flow rate" + } + ], + "text": "Inhaled oxygen flow rate" + }, + "valueQuantity": { + "value": 6, + "unit": "liters/min", + "system": "http://unitsofmeasure.org", + "code": "l/min" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-serum-calcium.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-serum-calcium.json new file mode 100644 index 000000000..ecb8fbe2d --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-serum-calcium.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-calcium", + "meta": { + "versionId": "902", + "lastUpdated": "2016-03-09T15:29:57.227+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: serum-calcium

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Calcium SerPl-mCnc (Details : {LOINC code '17861-6' = 'Calcium [Mass/volume] in Serum or Plasma', given as 'Calcium SerPl-mCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 7.7 mg/dL

ReferenceRanges

-LowHighAppliesTo
*8.5 mg/dL (Details: UCUM code mg/dL = 'mg/dL')10.5 mg/dL (Details: UCUM code mg/dL = 'mg/dL')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "17861-6", + "display": "Calcium SerPl-mCnc" + } + ], + "text": "Calcium SerPl-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 7.7, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 8.5, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 10.5, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-serum-chloride.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-serum-chloride.json new file mode 100644 index 000000000..d1ce14bed --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-serum-chloride.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-chloride", + "meta": { + "versionId": "950", + "lastUpdated": "2016-03-09T15:29:57.427+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: serum-chloride

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Chloride SerPl-sCnc (Details : {LOINC code '2075-0' = 'Chloride [Moles/volume] in Serum or Plasma', given as 'Chloride SerPl-sCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 105.0 mmol/L

ReferenceRanges

-LowHighAppliesTo
*95.0 mmol/L (Details: UCUM code mmol/L = 'mmol/L')105.0 mmol/L (Details: UCUM code mmol/L = 'mmol/L')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2075-0", + "display": "Chloride SerPl-sCnc" + } + ], + "text": "Chloride SerPl-sCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 105.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 95.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "high": { + "value": 105.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-serum-co2.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-serum-co2.json new file mode 100644 index 000000000..637e44253 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-serum-co2.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-co2", + "meta": { + "versionId": "962", + "lastUpdated": "2016-03-09T15:29:57.477+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: serum-co2

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: CO2 SerPl-sCnc (Details : {LOINC code '2028-9' = 'Carbon dioxide, total [Moles/volume] in Serum or Plasma', given as 'CO2 SerPl-sCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 24.0 mmol/L

ReferenceRanges

-LowHighAppliesTo
*22.0 mmol/L (Details: UCUM code mmol/L = 'mmol/L')29.0 mmol/L (Details: UCUM code mmol/L = 'mmol/L')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2028-9", + "display": "CO2 SerPl-sCnc" + } + ], + "text": "CO2 SerPl-sCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 24.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 22.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "high": { + "value": 29.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-serum-creatinine.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-serum-creatinine.json new file mode 100644 index 000000000..f06bb9635 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-serum-creatinine.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-creatinine", + "meta": { + "versionId": "926", + "lastUpdated": "2016-03-09T15:29:57.327+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: serum-creatinine

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Creat SerPl-mCnc (Details : {LOINC code '2160-0' = 'Creatinine [Mass/volume] in Serum or Plasma', given as 'Creat SerPl-mCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 1.0 mg/dL

ReferenceRanges

-LowHighAppliesTo
*0.2 mg/dL (Details: UCUM code mg/dL = 'mg/dL')0.6 mg/dL (Details: UCUM code mg/dL = 'mg/dL')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2160-0", + "display": "Creat SerPl-mCnc" + } + ], + "text": "Creat SerPl-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 1.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 0.2, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 0.6, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-serum-potassium.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-serum-potassium.json new file mode 100644 index 000000000..6ef88b4dc --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-serum-potassium.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-potassium", + "meta": { + "versionId": "938", + "lastUpdated": "2016-03-09T15:29:57.376+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: serum-potassium

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Potassium SerPl-sCnc (Details : {LOINC code '2823-3' = 'Potassium [Moles/volume] in Serum or Plasma', given as 'Potassium SerPl-sCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 5.4 mmol/L

ReferenceRanges

-LowHighAppliesTo
*3.5 mmol/L (Details: UCUM code mmol/L = 'mmol/L')5.5 mmol/L (Details: UCUM code mmol/L = 'mmol/L')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2823-3", + "display": "Potassium SerPl-sCnc" + } + ], + "text": "Potassium SerPl-sCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 5.4, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 3.5, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "high": { + "value": 5.5, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-serum-sodium.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-serum-sodium.json new file mode 100644 index 000000000..c591145ef --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-serum-sodium.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-sodium", + "meta": { + "versionId": "914", + "lastUpdated": "2016-03-09T15:29:57.277+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: serum-sodium

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Sodium SerPl-sCnc (Details : {LOINC code '2951-2' = 'Sodium [Moles/volume] in Serum or Plasma', given as 'Sodium SerPl-sCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 137.0 mmol/L

ReferenceRanges

-LowHighAppliesTo
*135.0 mmol/L (Details: UCUM code mmol/L = 'mmol/L')145.0 mmol/L (Details: UCUM code mmol/L = 'mmol/L')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2951-2", + "display": "Sodium SerPl-sCnc" + } + ], + "text": "Sodium SerPl-sCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 137.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 135.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "high": { + "value": 145.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-serum-total-bilirubin.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-serum-total-bilirubin.json new file mode 100644 index 000000000..4a2bf6e4c --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-serum-total-bilirubin.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-total-bilirubin", + "meta": { + "versionId": "1364", + "lastUpdated": "2016-03-09T15:29:59.089+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: serum-total-bilirubin

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Bilirub SerPl-mCnc (Details : {LOINC code '1975-2' = 'Bilirubin.total [Mass/volume] in Serum or Plasma', given as 'Bilirub SerPl-mCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 07/07/2005 12:00:00 AM

value: 8.6 mg/dL

ReferenceRanges

-LowHighAppliesTo
*2.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')7.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "1975-2", + "display": "Bilirub SerPl-mCnc" + } + ], + "text": "Bilirub SerPl-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-07", + "valueQuantity": { + "value": 8.6, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 2.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 7.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-some-day-smoker.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-some-day-smoker.json new file mode 100644 index 000000000..056f1aeeb --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-some-day-smoker.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "some-day-smoker", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: some-day-smoker

meta:

status: final

category: Social History (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'social-history' = 'Social History', given as 'Social History'})

code: Tobacco smoking status NHIS (Details : {LOINC code '72166-2' = 'Tobacco smoking status', given as 'Tobacco smoking status NHIS'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

issued: 18/03/2016 4:27:04 PM

value: Current some day smoker (Details : {SNOMED CT code '428041000124106' = 'Occasional tobacco smoker)

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history", + "display": "Social History" + } + ], + "text": "Social History" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72166-2", + "display": "Tobacco smoking status NHIS" + } + ], + "text": "Tobacco smoking status NHIS" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "issued": "2016-03-18T05:27:04Z", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "428041000124106" + } + ], + "text": "Current some day smoker" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-temperature.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-temperature.json new file mode 100644 index 000000000..ebc6cf591 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-temperature.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "temperature", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: temperature

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: temperature (Details : {LOINC code '8310-5' = 'Body temperature', given as 'Body temperature'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 02/07/1999 12:00:00 AM

value: 36.55556 Cel (Details: UCUM code Cel = 'Cel')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8310-5", + "display": "Body temperature" + } + ], + "text": "temperature" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 36.55556, + "unit": "Cel", + "system": "http://unitsofmeasure.org", + "code": "Cel" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-bacteria.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-bacteria.json new file mode 100644 index 000000000..3b94b3a01 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-bacteria.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-bacteria", + "meta": { + "versionId": "206540", + "lastUpdated": "2016-04-18T03:56:41.250+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-bacteria

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: BACTERIA (Details : {LOINC code '25145-4' = 'Bacteria [Presence] in Urine sediment by Light microscopy', given as 'Bacteria [Presence] in Urine sediment by Light microscopy'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 4+ (Details : {SNOMED CT code '260350009' = 'Present ++++ out of ++++ (qualifier value)', given as '++++'})

ReferenceRanges

-Text
*0-1+
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "25145-4", + "display": "Bacteria [Presence] in Urine sediment by Light microscopy" + } + ], + "text": "BACTERIA" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260350009", + "display": "++++" + } + ], + "text": "4+" + }, + "referenceRange": [ + { + "text": "0-1+" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-bilirubin.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-bilirubin.json new file mode 100644 index 000000000..aa2680a46 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-bilirubin.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-bilirubin", + "meta": { + "versionId": "206456", + "lastUpdated": "2016-04-18T03:37:21.259+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-bilirubin

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: BILIRUBIN (Details : {LOINC code '5770-3' = 'Bilirubin.total [Presence] in Urine by Test strip', given as 'Bilirubin.total [Presence] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: Negative (Details : {SNOMED CT code '260385009' = 'Negative', given as 'Negative'})

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5770-3", + "display": "Bilirubin.total [Presence] in Urine by Test strip" + } + ], + "text": "BILIRUBIN" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260385009", + "display": "Negative" + } + ], + "text": "Negative" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-cells.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-cells.json new file mode 100644 index 000000000..7a82aaf59 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-cells.json @@ -0,0 +1,62 @@ +{ + "resourceType": "Observation", + "id": "urine-cells", + "meta": { + "versionId": "206624", + "lastUpdated": "2016-04-18T04:23:12.123+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-cells

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: EPITHELIAL CELLS (Details : {LOINC code '5787-7' = 'Epithelial cells [#/area] in Urine sediment by Microscopy high power field', given as 'Epithelial cells [#/area] in Urine sediment by Microscopy high power field'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 1-5 cells/HPF

ReferenceRanges

-Text
*None Seen/HPF
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5787-7", + "display": "Epithelial cells [#/area] in Urine sediment by Microscopy high power field" + } + ], + "text": "EPITHELIAL CELLS" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueRange": { + "low": { + "value": 1, + "unit": "cells/HPF", + "system": "http://unitsofmeasure.org", + "code": "/[HPF]" + }, + "high": { + "value": 5, + "unit": "cells/HPF", + "system": "http://unitsofmeasure.org", + "code": "/[HPF]" + } + }, + "referenceRange": [ + { + "text": "None Seen/HPF" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-clarity.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-clarity.json new file mode 100644 index 000000000..0be3b3082 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-clarity.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-clarity", + "meta": { + "versionId": "206432", + "lastUpdated": "2016-04-18T03:33:00.502+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-clarity

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: APPEARANCE (Details : {LOINC code '32167-9' = 'Clarity of Urine', given as 'Clarity of Urine'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: Hazy (Details : {SNOMED CT code '81858005' = 'Cloudy', given as 'Cloudy'})

ReferenceRanges

-Text
*Clear
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "32167-9", + "display": "Clarity of Urine" + } + ], + "text": "APPEARANCE" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "81858005", + "display": "Cloudy" + } + ], + "text": "Hazy" + }, + "referenceRange": [ + { + "text": "Clear" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-color.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-color.json new file mode 100644 index 000000000..53abaf118 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-color.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-color", + "meta": { + "versionId": "206419", + "lastUpdated": "2016-04-18T03:27:43.203+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-color

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: COLOR (Details : {LOINC code '5778-6' = 'Color of Urine', given as 'Color of Urine'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: Yellow (Details : {http://snomed.inbnm,fo/sct code '371244009' = '371244009', given as 'Yellow'})

ReferenceRanges

-Text
*Yellow
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5778-6", + "display": "Color of Urine" + } + ], + "text": "COLOR" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.inbnm,fo/sct", + "code": "371244009", + "display": "Yellow" + } + ], + "text": "Yellow" + }, + "referenceRange": [ + { + "text": "Yellow" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-epi-cells.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-epi-cells.json new file mode 100644 index 000000000..ef79b840f --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-epi-cells.json @@ -0,0 +1,62 @@ +{ + "resourceType": "Observation", + "id": "urine-epi-cells", + "meta": { + "versionId": "206624", + "lastUpdated": "2016-04-18T04:23:12.123+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-epi-cells

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: EPITHELIAL CELLS (Details : {LOINC code '5787-7' = 'Epithelial cells [#/area] in Urine sediment by Microscopy high power field', given as 'Epithelial cells [#/area] in Urine sediment by Microscopy high power field'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 1-5 cells/HPF

ReferenceRanges

-Text
*None Seen/HPF
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5787-7", + "display": "Epithelial cells [#/area] in Urine sediment by Microscopy high power field" + } + ], + "text": "EPITHELIAL CELLS" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueRange": { + "low": { + "value": 1, + "unit": "cells/HPF", + "system": "http://unitsofmeasure.org", + "code": "/[HPF]" + }, + "high": { + "value": 5, + "unit": "cells/HPF", + "system": "http://unitsofmeasure.org", + "code": "/[HPF]" + } + }, + "referenceRange": [ + { + "text": "None Seen/HPF" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-glucose.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-glucose.json new file mode 100644 index 000000000..c597b631e --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-glucose.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-glucose", + "meta": { + "versionId": "206444", + "lastUpdated": "2016-04-18T03:35:42.751+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-glucose

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: GLUCOSE (Details : {LOINC code '25428-4' = 'Glucose [Presence] in Urine by Test strip', given as 'Glucose [Presence] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: Negative (Details : {SNOMED CT code '260385009' = 'Negative', given as 'Negative'})

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "25428-4", + "display": "Glucose [Presence] in Urine by Test strip" + } + ], + "text": "GLUCOSE" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260385009", + "display": "Negative" + } + ], + "text": "Negative" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-hemoglobin.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-hemoglobin.json new file mode 100644 index 000000000..2e64c49f0 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-hemoglobin.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-hemoglobin", + "meta": { + "versionId": "206504", + "lastUpdated": "2016-04-18T03:45:25.300+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-hemoglobin

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: BLOOD (Details : {LOINC code '5794-3' = 'Hemoglobin [Presence] in Urine by Test strip', given as 'Hemoglobin [Presence] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: Trace (Details : {SNOMED CT code '260405006' = 'Trace', given as 'Trace'})

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5794-3", + "display": "Hemoglobin [Presence] in Urine by Test strip" + } + ], + "text": "BLOOD" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260405006", + "display": "Trace" + } + ], + "text": "Trace" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-ketone.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-ketone.json new file mode 100644 index 000000000..55d73a113 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-ketone.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-ketone", + "meta": { + "versionId": "206468", + "lastUpdated": "2016-04-18T03:39:00.812+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-ketone

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: KETONE (Details : {LOINC code '2514-8' = 'Ketones [Presence] in Urine by Test strip', given as 'Ketones [Presence] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: Negative (Details : {SNOMED CT code '260385009' = 'Negative', given as 'Negative'})

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2514-8", + "display": "Ketones [Presence] in Urine by Test strip" + } + ], + "text": "KETONE" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260385009", + "display": "Negative" + } + ], + "text": "Negative" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-leukocyte-esterase.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-leukocyte-esterase.json new file mode 100644 index 000000000..eeeac52a3 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-leukocyte-esterase.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-leukocyte-esterase", + "meta": { + "versionId": "206552", + "lastUpdated": "2016-04-18T03:58:45.747+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-leukocyte-esterase

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: LEUK ESTERASE (Details : {LOINC code '5799-2' = 'Leukocyte esterase [Presence] in Urine by Test strip', given as 'Leukocyte esterase [Presence] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 2+ (Details : {SNOMED CT code '260348001' = 'Present ++ out of ++++ (qualifier value)', given as '++'})

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5799-2", + "display": "Leukocyte esterase [Presence] in Urine by Test strip" + } + ], + "text": "LEUK ESTERASE" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260348001", + "display": "++" + } + ], + "text": "2+" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-nitrite.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-nitrite.json new file mode 100644 index 000000000..98ae91ee5 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-nitrite.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-nitrite", + "meta": { + "versionId": "206492", + "lastUpdated": "2016-04-18T03:42:34.440+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-nitrite

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: NITRITE (Details : {LOINC code '5802-4' = 'Nitrite [Presence] in Urine by Test strip', given as 'Nitrite [Presence] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: Positive (Details : {SNOMED CT code '10828004' = 'Positive', given as 'Positive'})

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5802-4", + "display": "Nitrite [Presence] in Urine by Test strip" + } + ], + "text": "NITRITE" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "10828004", + "display": "Positive" + } + ], + "text": "Positive" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-ph.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-ph.json new file mode 100644 index 000000000..fd8dfe3a6 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-ph.json @@ -0,0 +1,65 @@ +{ + "resourceType": "Observation", + "id": "urine-ph", + "meta": { + "versionId": "206600", + "lastUpdated": "2016-04-18T04:12:25.425+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-ph

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: PH (Details : {LOINC code '5803-2' = 'pH of Urine by Test strip', given as 'pH of Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 6.0 (pH) (Details: UCUM code [pH] = '[pH]')

ReferenceRanges

-LowHigh
*5.0 (pH) (Details: UCUM code [pH] = '[pH]')8.0 (pH) (Details: UCUM code [pH] = '[pH]')
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5803-2", + "display": "pH of Urine by Test strip" + } + ], + "text": "PH" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 6.0, + "unit": "(pH)", + "system": "http://unitsofmeasure.org", + "code": "[pH]" + }, + "referenceRange": [ + { + "low": { + "value": 5.0, + "unit": "(pH)", + "system": "http://unitsofmeasure.org", + "code": "[pH]" + }, + "high": { + "value": 8.0, + "unit": "(pH)", + "system": "http://unitsofmeasure.org", + "code": "[pH]" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-protein.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-protein.json new file mode 100644 index 000000000..afabfc90b --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-protein.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-protein", + "meta": { + "versionId": "206480", + "lastUpdated": "2016-04-18T03:40:36.404+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-protein

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: PROTEIN (Details : {LOINC code '20454-5' = 'Protein [Presence] in Urine by Test strip', given as 'Protein [Presence] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: Negative (Details : {SNOMED CT code '260385009' = 'Negative', given as 'Negative'})

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "20454-5", + "display": "Protein [Presence] in Urine by Test strip" + } + ], + "text": "PROTEIN" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260385009", + "display": "Negative" + } + ], + "text": "Negative" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-rbcs.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-rbcs.json new file mode 100644 index 000000000..e16a73570 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-rbcs.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-rbcs", + "meta": { + "versionId": "206565", + "lastUpdated": "2016-04-18T04:00:52.434+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-rbcs

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: RBC (Details : {LOINC code '13945-1' = 'Erythrocytes [#/area] in Urine sediment by Microscopy high power field', given as 'Erythrocytes [#/area] in Urine sediment by Microscopy high power field'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: Occasional (Details : {SNOMED CT code '84638005' = 'Occasional (qualifier value)', given as 'Occasional'})

ReferenceRanges

-Text
*None Seen/HPF
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "13945-1", + "display": "Erythrocytes [#/area] in Urine sediment by Microscopy high power field" + } + ], + "text": "RBC" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "84638005", + "display": "Occasional" + } + ], + "text": "Occasional" + }, + "referenceRange": [ + { + "text": "None Seen/HPF" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-sediment.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-sediment.json new file mode 100644 index 000000000..a8a7e079d --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-sediment.json @@ -0,0 +1,44 @@ +{ + "resourceType": "Observation", + "id": "urine-sediment", + "meta": { + "versionId": "206577", + "lastUpdated": "2016-04-18T04:07:12.383+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-sediment

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: COMMENT (Details : {LOINC code '11279-7' = 'Urine sediment comments by Light microscopy Narrative', given as 'Urine sediment comments by Light microscopy Narrative'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: Recommend Urine Culture

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11279-7", + "display": "Urine sediment comments by Light microscopy Narrative" + } + ], + "text": "COMMENT" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueString": "Recommend Urine Culture" +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-wbcs.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-wbcs.json new file mode 100644 index 000000000..76c61ab7a --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urine-wbcs.json @@ -0,0 +1,62 @@ +{ + "resourceType": "Observation", + "id": "urine-wbcs", + "meta": { + "versionId": "206635", + "lastUpdated": "2016-04-18T04:25:02.064+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-wbcs

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: WBC (Details : {LOINC code '5821-4' = 'Leukocytes [#/area] in Urine sediment by Microscopy high power field', given as 'Leukocytes [#/area] in Urine sediment by Microscopy high power field'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 20-30 cells/HPF

ReferenceRanges

-Text
*None Seen/HPF
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5821-4", + "display": "Leukocytes [#/area] in Urine sediment by Microscopy high power field" + } + ], + "text": "WBC" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueRange": { + "low": { + "value": 20, + "unit": "cells/HPF", + "system": "http://unitsofmeasure.org", + "code": "/[HPF]" + }, + "high": { + "value": 30, + "unit": "cells/HPF", + "system": "http://unitsofmeasure.org", + "code": "/[HPF]" + } + }, + "referenceRange": [ + { + "text": "None Seen/HPF" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urobilinogen.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urobilinogen.json new file mode 100644 index 000000000..977b10ed9 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-urobilinogen.json @@ -0,0 +1,65 @@ +{ + "resourceType": "Observation", + "id": "urobilinogen", + "meta": { + "versionId": "206612", + "lastUpdated": "2016-04-18T04:20:46.618+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urobilinogen

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: UROBILINOGEN (Details : {LOINC code '20405-7' = 'Urobilinogen [Mass/volume] in Urine by Test strip', given as 'Urobilinogen [Mass/volume] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 0.3 mg/dL (Details: UCUM code mg/dL = 'mg/dL')

ReferenceRanges

-LowHigh
*0.1 mg/dL (Details: UCUM code mg/dL = 'mg/dL')1.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "20405-7", + "display": "Urobilinogen [Mass/volume] in Urine by Test strip" + } + ], + "text": "UROBILINOGEN" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 0.3, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "referenceRange": [ + { + "low": { + "value": 0.1, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 1.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-usg.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-usg.json new file mode 100644 index 000000000..b2b761bc3 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-usg.json @@ -0,0 +1,62 @@ +{ + "resourceType": "Observation", + "id": "usg", + "meta": { + "versionId": "206588", + "lastUpdated": "2016-04-18T04:10:12.426+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: usg

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: SPEC GRAV (Details : {LOINC code '5811-5' = 'Specific gravity of Urine by Test strip', given as 'Specific gravity of Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 1.017 {urine specific gravity} (Details: UCUM code {urine specific gravity} = '{urine specific gravity}')

ReferenceRanges

-LowHigh
*1.003 {urine specific gravity} (Details: UCUM code {urine specific gravity} = '{urine specific gravity}')1.035 {urine specific gravity} (Details: UCUM code {urine specific gravity} = '{urine specific gravity}')
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5811-5", + "display": "Specific gravity of Urine by Test strip" + } + ], + "text": "SPEC GRAV" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 1.017, + "system": "http://unitsofmeasure.org", + "code": "{urine specific gravity}" + }, + "referenceRange": [ + { + "low": { + "value": 1.003, + "system": "http://unitsofmeasure.org", + "code": "{urine specific gravity}" + }, + "high": { + "value": 1.035, + "system": "http://unitsofmeasure.org", + "code": "{urine specific gravity}" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-vitals-panel.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-vitals-panel.json new file mode 100644 index 000000000..150c18dc5 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-vitals-panel.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "vitals-panel", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: vitals-panel

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: Vital signs panel (Details : {LOINC code '85353-1' = 'Vital signs, weight, height, head circumference, oxygen saturation and BMI panel', given as 'Vital signs, weight, height, head circumference, oxygen saturation and BMI panel'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 02/07/1999 12:00:00 AM

hasMember:

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85353-1", + "display": "Vital signs, weight, height, head circumference, oxygen saturation and BMI panel" + } + ], + "text": "Vital signs panel" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "hasMember": [ + { + "reference": "Observation/respiratory-rate", + "display": "Respiratory rate" + }, + { + "reference": "Observation/heart-rate", + "display": "Heart rate" + }, + { + "reference": "Observation/blood-pressure", + "display": "Blood Pressure" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-weight.json b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-weight.json new file mode 100644 index 000000000..5392f19c8 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Observation/Observation-weight.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "weight", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: weight

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: weight (Details : {LOINC code '29463-7' = 'Body weight', given as 'Body Weight'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 02/07/1999 12:00:00 AM

value: 20.09414 kg (Details: UCUM code kg = 'kg')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7", + "display": "Body Weight" + } + ], + "text": "weight" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 20.09414, + "unit": "kg", + "system": "http://unitsofmeasure.org", + "code": "kg" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Organization/Organization-acme-lab.json b/evaluator.cli/src/test/resources/qicore/example/Organization/Organization-acme-lab.json new file mode 100644 index 000000000..0f0d9cd83 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Organization/Organization-acme-lab.json @@ -0,0 +1,57 @@ +{ + "resourceType": "Organization", + "id": "acme-lab", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: acme-lab

meta:

identifier: 1144221847, 12D4567890

active: true

type: Healthcare Provider (Details : {http://terminology.hl7.org/CodeSystem/organization-type code 'prov' = 'Healthcare Provider', given as 'Healthcare Provider'})

name: Acme Labs

telecom: ph: (+1) 734-677-7777, hq@acme.org

address: 3300 Washtenaw Avenue, Suite 227 Amherst MA 01002 USA

" + }, + "identifier": [ + { + "system": "http://hl7.org.fhir/sid/us-npi", + "value": "1144221847" + }, + { + "system": "urn:oid:2.16.840.1.113883.4.7", + "value": "12D4567890" + } + ], + "active": true, + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/organization-type", + "code": "prov", + "display": "Healthcare Provider" + } + ] + } + ], + "name": "Acme Labs", + "telecom": [ + { + "system": "phone", + "value": "(+1) 734-677-7777" + }, + { + "system": "email", + "value": "hq@acme.org" + } + ], + "address": [ + { + "line": [ + "3300 Washtenaw Avenue, Suite 227" + ], + "city": "Amherst", + "state": "MA", + "postalCode": "01002", + "country": "USA" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Organization/Organization-example-organization-2.json b/evaluator.cli/src/test/resources/qicore/example/Organization/Organization-example-organization-2.json new file mode 100644 index 000000000..fc8292e53 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Organization/Organization-example-organization-2.json @@ -0,0 +1,57 @@ +{ + "resourceType": "Organization", + "id": "example-organization-2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example-organization-2

meta:

identifier: 1407071236, 121111111

active: true

type: Healthcare Provider (Details : {http://terminology.hl7.org/CodeSystem/organization-type code 'prov' = 'Healthcare Provider', given as 'Healthcare Provider'})

name: Acme Clinic

telecom: ph: (+1) 734-677-7777, customer-service@acme-clinic.org

address: 3300 Washtenaw Avenue, Suite 227 Amherst MA 01002 USA

" + }, + "identifier": [ + { + "system": "http://hl7.org.fhir/sid/us-npi", + "value": "1407071236" + }, + { + "system": "http://example.org/fhir/sid/us-tin", + "value": "121111111" + } + ], + "active": true, + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/organization-type", + "code": "prov", + "display": "Healthcare Provider" + } + ] + } + ], + "name": "Acme Clinic", + "telecom": [ + { + "system": "phone", + "value": "(+1) 734-677-7777" + }, + { + "system": "email", + "value": "customer-service@acme-clinic.org" + } + ], + "address": [ + { + "line": [ + "3300 Washtenaw Avenue, Suite 227" + ], + "city": "Amherst", + "state": "MA", + "postalCode": "01002", + "country": "USA" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Organization/Organization-example.json b/evaluator.cli/src/test/resources/qicore/example/Organization/Organization-example.json new file mode 100644 index 000000000..124e1c0d2 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Organization/Organization-example.json @@ -0,0 +1,56 @@ +{ + "resourceType": "Organization", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-organization" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: ??

active: true

type: Organizational team (Details : {http://terminology.hl7.org/CodeSystem/organization-type code 'team' = 'Organizational team', given as 'Organizational team'})

name: Health Level Seven International

telecom: ph: (+1) 734-677-7777, fax: (+1) 734-677-6622, hq@HL7.org

address: 3300 Washtenaw Avenue, Suite 227 Ann Arbor MI 48104 USA

" + }, + "identifier": [ + { + "system": "http://hl7.org" + } + ], + "active": true, + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/organization-type", + "code": "team", + "display": "Organizational team" + } + ] + } + ], + "name": "Health Level Seven International", + "telecom": [ + { + "system": "phone", + "value": "(+1) 734-677-7777" + }, + { + "system": "fax", + "value": "(+1) 734-677-6622" + }, + { + "system": "email", + "value": "hq@HL7.org" + } + ], + "address": [ + { + "line": [ + "3300 Washtenaw Avenue, Suite 227" + ], + "city": "Ann Arbor", + "state": "MI", + "postalCode": "48104", + "country": "USA" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Organization/Organization-saint-luke-w-endpoint.json b/evaluator.cli/src/test/resources/qicore/example/Organization/Organization-saint-luke-w-endpoint.json new file mode 100644 index 000000000..e4eb098ea --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Organization/Organization-saint-luke-w-endpoint.json @@ -0,0 +1,82 @@ +{ + "resourceType": "Organization", + "id": "saint-luke-w-endpoint", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + }, + "text": { + "status": "generated", + "div": "
\n

Organization

\n
\n

ID: 393872

\n

Name: Saint Luke's Hospital of Kansas City

\n

NPI: 1063494177

\n

Phone:(816)932-2000

\n

Address:4401 Wornall Rd,, MO, 64111

\n
\n
" + }, + "contained": [ + { + "resourceType": "Endpoint", + "id": "75", + "status": "active", + "connectionType": { + "system": "http://terminology.hl7.org/CodeSystem/endpoint-connection-type", + "code": "direct-project" + }, + "name": "Dr. Ronald Bone Direct Address", + "managingOrganization": { + "reference": "Organization/example-organization-2" + }, + "payloadType": [ + { + "coding": [ + { + "system": "urn:oid:1.3.6.1.4.1.19376.1.2.3", + "code": "urn:hl7-org:sdwg:ccda-structuredBody:1.1" + } + ] + } + ], + "payloadMimeType": [ + "text/xml" + ], + "address": "mailto:Interoperability@DirectAddress.com" + } + ], + "identifier": [ + { + "system": "http://example.org/fhir/sid/us-npi", + "value": "1063494177" + }, + { + "system": "http://example.org/fhir/us/argo/sid/us-ein", + "value": "00-0000000" + } + ], + "active": true, + "name": "Saint Luke's Hospital of Kansas City", + "telecom": [ + { + "system": "phone", + "value": "(816)932-2000", + "use": "work" + }, + { + "system": "other", + "value": "http://www.saintlukeshealthsystem.org/locations/saint-lukes-hospital-kansas-city", + "use": "work" + } + ], + "address": [ + { + "text": "3300 Washtenaw Avenue, Suite 227 Amherst MA 01002", + "line": [ + "4401 Wornall Rd," + ], + "city": "Amherst", + "state": "MA", + "postalCode": "64111" + } + ], + "endpoint": [ + { + "reference": "#75" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Patient/Patient-example.json b/evaluator.cli/src/test/resources/qicore/example/Patient/Patient-example.json new file mode 100644 index 000000000..44c6c8d96 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Patient/Patient-example.json @@ -0,0 +1,272 @@ +{ + "resourceType": "Patient", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: Medical record number = 12345 (USUAL)

active: true

name: Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN)

telecom: ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD)

gender: male

birthDate: 1974-12-25

deceased: false

address: 534 Erewhon St PeasantVille, Utah 84414(HOME)

Contacts

-RelationshipNameTelecomAddressGenderPeriod
*Next-of-Kin (Details : {http://terminology.hl7.org/CodeSystem/v2-0131 code 'N' = 'Next-of-Kin)Bénédicte du Marché ph: +33 (237) 998327534 Erewhon St PleasantVille VT 3999 (HOME)femaleJan 1, 2012 12:00:00 AM --> (ongoing)

managingOrganization: Generated Summary: id: example; ??; active; Organizational team; name: Health Level Seven International; ph: (+1) 734-677-7777, fax: (+1) 734-677-6622, hq@HL7.org

" + }, + "extension": [ + { + "url" : "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension" : [ + { + "url" : "ombCategory", + "valueCoding" : { + "system" : "urn:oid:2.16.840.1.113883.6.238", + "code" : "2106-3", + "display" : "White" + } + }, + { + "url" : "ombCategory", + "valueCoding" : { + "system" : "urn:oid:2.16.840.1.113883.6.238", + "code" : "1002-5", + "display" : "American Indian or Alaska Native" + } + }, + { + "url" : "ombCategory", + "valueCoding" : { + "system" : "urn:oid:2.16.840.1.113883.6.238", + "code" : "2028-9", + "display" : "Asian" + } + }, + { + "url" : "detailed", + "valueCoding" : { + "system" : "urn:oid:2.16.840.1.113883.6.238", + "code" : "1586-7", + "display" : "Shoshone" + } + }, + { + "url" : "detailed", + "valueCoding" : { + "system" : "urn:oid:2.16.840.1.113883.6.238", + "code" : "2036-2", + "display" : "Filipino" + } + }, + { + "url" : "detailed", + "valueCoding" : { + "system" : "urn:oid:2.16.840.1.113883.6.238", + "code" : "1735-0", + "display" : "Alaska Native" + } + }, + { + "url" : "text", + "valueString" : "Mixed" + } + ] + }, + { + "url" : "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension" : [ + { + "url" : "ombCategory", + "valueCoding" : { + "system" : "urn:oid:2.16.840.1.113883.6.238", + "code" : "2135-2", + "display" : "Hispanic or Latino" + } + }, + { + "url" : "detailed", + "valueCoding" : { + "system" : "urn:oid:2.16.840.1.113883.6.238", + "code" : "2184-0", + "display" : "Dominican" + } + }, + { + "url" : "detailed", + "valueCoding" : { + "system" : "urn:oid:2.16.840.1.113883.6.238", + "code" : "2148-5", + "display" : "Mexican" + } + }, + { + "url" : "text", + "valueString" : "Hispanic or Latino" + } + ] + }, + { + "url" : "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex", + "valueCode" : "M" + } + ], + "identifier": [ + { + "use": "usual", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "MR" + } + ] + }, + "system": "urn:oid:1.2.36.146.595.217.0.1", + "value": "12345", + "period": { + "start": "2001-05-06" + }, + "assigner": { + "display": "Acme Healthcare" + } + } + ], + "active": true, + "name": [ + { + "use": "official", + "family": "Chalmers", + "given": [ + "Peter", + "James" + ] + }, + { + "use": "usual", + "family": "Chalmers", + "given": [ + "Jim" + ] + }, + { + "use": "maiden", + "family": "Windsor", + "given": [ + "Peter", + "James" + ], + "period": { + "end": "2002" + } + } + ], + "telecom": [ + { + "system": "phone", + "value": "(03) 5555 6473", + "use": "work", + "rank": 1 + }, + { + "system": "phone", + "value": "(03) 3410 5613", + "use": "mobile", + "rank": 2 + }, + { + "system": "phone", + "value": "(03) 5555 8834", + "use": "old", + "period": { + "end": "2014" + } + } + ], + "gender": "male", + "birthDate": "1974-12-25", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1974-12-25T14:35:45-05:00" + } + ] + }, + "deceasedBoolean": false, + "address": [ + { + "use": "home", + "type": "both", + "text": "534 Erewhon St PeasantVille, Utah 84414", + "line": [ + "534 Erewhon St" + ], + "city": "PleasantVille", + "district": "Rainbow", + "state": "UT", + "postalCode": "84414", + "period": { + "start": "1974-12-25" + } + } + ], + "maritalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus", + "code": "M" + } + ] + }, + "contact": [ + { + "relationship": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "code": "N" + } + ] + } + ], + "name": { + "family": "du Marché", + "_family": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix", + "valueString": "VV" + } + ] + }, + "given": [ + "Bénédicte" + ] + }, + "telecom": [ + { + "system": "phone", + "value": "+33 (237) 998327" + } + ], + "address": { + "use": "home", + "type": "both", + "line": [ + "534 Erewhon St" + ], + "city": "PleasantVille", + "district": "Rainbow", + "state": "VT", + "postalCode": "3999", + "period": { + "start": "1974-12-25" + } + }, + "gender": "female", + "period": { + "start": "2012" + } + } + ], + "managingOrganization": { + "reference": "Organization/example" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Practitioner/Practitioner-example.json b/evaluator.cli/src/test/resources/qicore/example/Practitioner/Practitioner-example.json new file mode 100644 index 000000000..3b1491923 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Practitioner/Practitioner-example.json @@ -0,0 +1,68 @@ +{ + "resourceType": "Practitioner", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-practitioner" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: 23

active: true

name: Adam Careful

address: 534 Erewhon St PleasantVille UT 84414 (HOME)

Qualifications

-IdentifierCodePeriodIssuer
*12345Bachelor of Science (Details : {http://terminology.hl7.org/CodeSystem/v2-0360|2.7 code 'BS' = 'Bachelor of Science', given as 'Bachelor of Science'})Jan 1, 1995 12:00:00 AM --> (ongoing)Example University
" + }, + "identifier": [ + { + "system": "http://www.acme.org/practitioners", + "value": "23" + } + ], + "active": true, + "name": [ + { + "family": "Careful", + "given": [ + "Adam" + ], + "prefix": [ + "Dr" + ] + } + ], + "address": [ + { + "use": "home", + "line": [ + "534 Erewhon St" + ], + "city": "PleasantVille", + "state": "UT", + "postalCode": "84414" + } + ], + "qualification": [ + { + "identifier": [ + { + "system": "http://example.org/UniversityIdentifier", + "value": "12345" + } + ], + "code": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0360|2.7", + "code": "BS", + "display": "Bachelor of Science" + } + ], + "text": "Bachelor of Science" + }, + "period": { + "start": "1995" + }, + "issuer": { + "display": "Example University" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Practitioner/Practitioner-practitioner-1.json b/evaluator.cli/src/test/resources/qicore/example/Practitioner/Practitioner-practitioner-1.json new file mode 100644 index 000000000..c1a1bb45b --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Practitioner/Practitioner-practitioner-1.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Practitioner", + "id": "practitioner-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: practitioner-1

meta:

identifier: 9941339108, 25456

name: Ronald Bone

address: 1003 Healthcare Drive Amherst MA 01002 (HOME)

" + }, + "identifier": [ + { + "system": "http://hl7.org.fhir/sid/us-npi", + "value": "9941339108" + }, + { + "system": "http://www.acme.org/practitioners", + "value": "25456" + } + ], + "name": [ + { + "family": "Bone", + "given": [ + "Ronald" + ], + "prefix": [ + "Dr" + ] + } + ], + "address": [ + { + "use": "home", + "line": [ + "1003 Healthcare Drive" + ], + "city": "Amherst", + "state": "MA", + "postalCode": "01002" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Practitioner/Practitioner-practitioner-2.json b/evaluator.cli/src/test/resources/qicore/example/Practitioner/Practitioner-practitioner-2.json new file mode 100644 index 000000000..cf1a442ff --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Practitioner/Practitioner-practitioner-2.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Practitioner", + "id": "practitioner-2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: practitioner-2

meta:

identifier: 1245319599, 456789

name: Fielding Kathy

address: 1080 FIRST COLONIAL RD Virginia Beach VA 21454-2406 (WORK)

" + }, + "identifier": [ + { + "system": "http://hl7.org.fhir/sid/us-npi", + "value": "1245319599" + }, + { + "system": "http://www.acme.org/practitioners", + "value": "456789" + } + ], + "name": [ + { + "family": "Kathy", + "given": [ + "Fielding" + ], + "prefix": [ + "Dr" + ] + } + ], + "address": [ + { + "use": "work", + "line": [ + "1080 FIRST COLONIAL RD" + ], + "city": "Virginia Beach", + "state": "VA", + "postalCode": "21454-2406" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/PractitionerRole/PractitionerRole-example.json b/evaluator.cli/src/test/resources/qicore/example/PractitionerRole/PractitionerRole-example.json new file mode 100644 index 000000000..3cf722e54 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/PractitionerRole/PractitionerRole-example.json @@ -0,0 +1,63 @@ +{ + "resourceType": "PractitionerRole", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-practitionerrole" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: 31

active: true

period: Jan 1, 1995 12:00:00 AM --> (ongoing)

practitioner: Dr Adam Careful. Generated Summary: id: example; 23; active; Adam Careful

organization: Generated Summary: id: example; ??; active; Organizational team; name: Health Level Seven International; ph: (+1) 734-677-7777, fax: (+1) 734-677-6622, hq@HL7.org

code: Primary Care (Details : {http://nucc.org/provider-taxonomy code '261QP2300X' = 'Primary Care', given as 'Primary Care'})

specialty: General Practice (Details : {http://nucc.org/provider-taxonomy code '1223G0001X' = 'General Practice', given as 'General Practice'})

location: Generated Summary: id: example; B1-S.F2; status: active; name: South Wing, second floor; alias: Mean Joe Greene University Medical Center, South Wing, second floor, alias: BU MC, SW, F2; description: Second floor of the Old South Wing, formerly in use by Psychiatry; mode: instance; Hospital; ph: 2328(WORK), fax: 2329(WORK), second wing admissions, http://sampleorg.com/southwing(WORK); Wing

telecom: ph: 801-123-4567

" + }, + "identifier": [ + { + "system": "http://www.acme.org/practitionerroles", + "value": "31" + } + ], + "active": true, + "period": { + "start": "1995" + }, + "practitioner": { + "reference": "Practitioner/example", + "display": "Dr Adam Careful" + }, + "organization": { + "reference": "Organization/example" + }, + "code": [ + { + "coding": [ + { + "system": "http://nucc.org/provider-taxonomy", + "code": "261QP2300X", + "display": "Primary Care" + } + ] + } + ], + "specialty": [ + { + "coding": [ + { + "system": "http://nucc.org/provider-taxonomy", + "code": "1223G0001X", + "display": "General Practice" + } + ] + } + ], + "location": [ + { + "reference": "Location/example" + } + ], + "telecom": [ + { + "system": "phone", + "value": "801-123-4567" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Procedure/Procedure-defib-implant.json b/evaluator.cli/src/test/resources/qicore/example/Procedure/Procedure-defib-implant.json new file mode 100644 index 000000000..8c4e6a623 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Procedure/Procedure-defib-implant.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Procedure", + "id": "defib-implant", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: defib-implant

meta:

identifier: urn:uuid:b2a737f2-2fdb-49c1-b097-dac173d07aff

status: completed

code: Insertion or replacement of permanent implantable defibrillator system with transvenous lead(s), single or dual chamber (Details : {http://www.ama-assn.org/go/cpt code '33249' = '33249)

subject: Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

performed: 27/03/2019 6:55:26 AM --> 27/03/2019 7:25:26 AM

Performers

-Actor
*Generated Summary: id: practitioner-1; 9941339108, 25456; Ronald Bone

FocalDevices

-Manipulated
*Generated Summary: id: udi-2; status: active; manufacturer: ACME Biomedical; expirationDate: 01/01/2022 12:00:00 AM; lotNumber: M320; serialNumber: AC221; modelNumber: 1.0; Implant
" + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:b2a737f2-2fdb-49c1-b097-dac173d07aff" + } + ], + "status": "completed", + "code": { + "coding": [ + { + "system": "http://www.ama-assn.org/go/cpt", + "code": "33249" + } + ], + "text": "Insertion or replacement of permanent implantable defibrillator system with transvenous lead(s), single or dual chamber" + }, + "subject": { + "reference": "Patient/example" + }, + "performedPeriod": { + "start": "2019-03-26T12:55:26-07:00", + "end": "2019-03-26T13:25:26-07:00" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/practitioner-1" + } + } + ], + "focalDevice": [ + { + "manipulated": { + "reference": "Device/udi-2" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Procedure/Procedure-example.json b/evaluator.cli/src/test/resources/qicore/example/Procedure/Procedure-example.json new file mode 100644 index 000000000..130b40141 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Procedure/Procedure-example.json @@ -0,0 +1,81 @@ +{ + "resourceType": "Procedure", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

status: completed

code: Excision of appendix (procedure) (Details : {SNOMED CT code '80146002' = 'Appendectomy', given as 'Excision of appendix (procedure)'})

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

encounter: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

performed: Apr 5, 2013 1:20:00 PM --> Apr 5, 2013 2:30:00 PM

Performers

-Actor
*Dr Cecil Surgeon. Generated Summary: id: example; 23; active; Adam Careful

reasonCode: On examination - abdominal pain - right iliac (Details : {SNOMED CT code '163220003' = 'On examination - abdominal pain - right iliac (finding)', given as 'On examination - abdominal pain - right iliac'})

bodySite: Appendix structure (Details : {SNOMED CT code '66754008' = 'Appendix', given as 'Appendix structure'})

report: Generated Summary: id: example; status: final; Laboratory; Complete blood count (hemogram) panel - Blood by Automated count; effective: Jul 5, 2005 12:00:00 AM; issued: Jul 6, 2005 12:45:33 AM

" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure", + "valueReference": { + "reference": "BodyStructure/example" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime", + "valueDateTime": "2013-04-05T09:30:00-04:00" + } + ], + "status": "completed", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "80146002", + "display": "Excision of appendix (procedure)" + } + ], + "text": "Excision of appendix (procedure)" + }, + "subject": { + "reference": "Patient/example" + }, + "encounter": { + "reference": "Encounter/example" + }, + "performedPeriod": { + "start": "2013-04-05T09:20:00-04:00", + "end": "2013-04-05T10:30:00-04:00" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/example", + "display": "Dr Cecil Surgeon" + } + } + ], + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "163220003", + "display": "On examination - abdominal pain - right iliac" + } + ] + } + ], + "bodySite": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "66754008", + "display": "Appendix structure" + } + ] + } + ], + "report": [ + { + "reference": "DiagnosticReport/example" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Procedure/Procedure-negation-example.json b/evaluator.cli/src/test/resources/qicore/example/Procedure/Procedure-negation-example.json new file mode 100644 index 000000000..881ff0539 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Procedure/Procedure-negation-example.json @@ -0,0 +1,57 @@ +{ + "resourceType": "Procedure", + "id": "negation-example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: negation-example

status: not-done

statusReason: Complication of medical care (disorder) (Details : {SNOMED CT code '35688006' = 'Complication of medical care', given as 'Complication of medical care (disorder)'})

code: Excision of appendix (procedure) (Details : {[not stated] code 'null' = 'null)

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

encounter: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

Performers

-Actor
*Dr Cecil Surgeon. Generated Summary: id: example; 23; active; Adam Careful
" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-recorded", + "valueDateTime": "2013-04-05T10:30:00-04:00" + } + ], + "modifierExtension": [ + { + "url": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-notDone", + "valueBoolean": true + } + ], + "status": "not-done", + "statusReason": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "35688006", + "display": "Complication of medical care (disorder)" + } + ] + }, + "code": { + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-reference", + "valueUri": "http://cts.nlm.nih.gov/fhir/2.16.840.1.113762.1.4.1018.240" + } + ] + } + ], + "text": "Excision of appendix (procedure)" + }, + "subject": { + "reference": "Patient/example" + }, + "encounter": { + "reference": "Encounter/example" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/example", + "display": "Dr Cecil Surgeon" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Procedure/Procedure-rehab.json b/evaluator.cli/src/test/resources/qicore/example/Procedure/Procedure-rehab.json new file mode 100644 index 000000000..6c10f8547 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Procedure/Procedure-rehab.json @@ -0,0 +1,34 @@ +{ + "resourceType": "Procedure", + "id": "rehab", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: rehab

meta:

status: completed

code: Alcohol rehabilitation (Details : {SNOMED CT code '35637008' = 'Alcohol rehabilitation (regime/therapy)', given as 'Alcohol rehabilitation'}; {http://www.icd10data.com/icd10pcs code 'HZ30ZZZ' = 'HZ30ZZZ', given as 'Individual Counseling for Substance Abuse Treatment, Cognitive'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

performed: 23/05/2002 12:00:00 AM

" + }, + "status": "completed", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "35637008", + "display": "Alcohol rehabilitation" + }, + { + "system": "http://www.icd10data.com/icd10pcs", + "code": "HZ30ZZZ", + "display": "Individual Counseling for Substance Abuse Treatment, Cognitive" + } + ], + "text": "Alcohol rehabilitation" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "performedDateTime": "2002-05-23" +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/RelatedPerson/RelatedPerson-example.json b/evaluator.cli/src/test/resources/qicore/example/RelatedPerson/RelatedPerson-example.json new file mode 100644 index 000000000..93e83273f --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/RelatedPerson/RelatedPerson-example.json @@ -0,0 +1,64 @@ +{ + "resourceType": "RelatedPerson", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-relatedperson" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

patient: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

relationship: Emergency Contact (Details : {http://terminology.hl7.org/CodeSystem/v2-0131 code 'C' = 'Emergency Contact)

name: Peter James Chalmers (OFFICIAL)

telecom: ph: (03) 5555 6473(WORK)

gender: male

address: 534 Erewhon St PleasantVille UT 84414 (HOME)

photo:

period: Mar 11, 2012 12:00:00 AM --> (ongoing)

" + }, + "patient": { + "reference": "Patient/example" + }, + "relationship": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "code": "C" + } + ] + } + ], + "name": [ + { + "use": "official", + "family": "Chalmers", + "given": [ + "Peter", + "James" + ] + } + ], + "telecom": [ + { + "system": "phone", + "value": "(03) 5555 6473", + "use": "work" + } + ], + "gender": "male", + "address": [ + { + "use": "home", + "line": [ + "534 Erewhon St" + ], + "city": "PleasantVille", + "state": "UT", + "postalCode": "84414" + } + ], + "photo": [ + { + "contentType": "image/jpeg", + "url": "Binary/f012" + } + ], + "period": { + "start": "2012-03-11" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/ServiceRequest/ServiceRequest-appropriateness-example.json b/evaluator.cli/src/test/resources/qicore/example/ServiceRequest/ServiceRequest-appropriateness-example.json new file mode 100644 index 000000000..82ee6cf05 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/ServiceRequest/ServiceRequest-appropriateness-example.json @@ -0,0 +1,43 @@ +{ + "resourceType": "ServiceRequest", + "id": "appropriateness-example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: appropriateness-example

status: completed

intent: order

code: CT, head, wo iv contrast (Details : {http://www.ama-assn.org/go/cpt code '70450' = '70450', given as 'CT, head, wo iv contrast'})

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

authoredOn: Mar 30, 2015 12:00:00 AM

requester: Dr. Beverly Crusher

reasonCode: Headache, Chronic, no new features (Details : {http://hl7.org/fhir/sid/icd-9-cm code '70450' = '70450', given as 'Headache, Chronic, no new features'})

" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicerequest-appropriatenessScore", + "valueCode": "appropriate" + } + ], + "status": "completed", + "intent": "order", + "code": { + "coding": [ + { + "system": "http://www.ama-assn.org/go/cpt", + "code": "70450", + "display": "CT, head, wo iv contrast" + } + ] + }, + "subject": { + "reference": "Patient/example" + }, + "authoredOn": "2015-03-30", + "requester": { + "display": "Dr. Beverly Crusher" + }, + "reasonCode": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "70450", + "display": "Headache, Chronic, no new features" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/ServiceRequest/ServiceRequest-elective-example.json b/evaluator.cli/src/test/resources/qicore/example/ServiceRequest/ServiceRequest-elective-example.json new file mode 100644 index 000000000..811148978 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/ServiceRequest/ServiceRequest-elective-example.json @@ -0,0 +1,39 @@ +{ + "resourceType": "ServiceRequest", + "id": "elective-example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: elective-example

status: completed

intent: order

code: Stomach Bypass (Details : {SNOMED CT code '442338001' = 'Bypass of stomach', given as 'Bypass of stomach (procedure)'})

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

authoredOn: Mar 30, 2015 12:00:00 AM

requester: Dr. Beverly Crusher

performer: Dr Cecil Surgeon. Generated Summary: id: example; 23; active; Adam Careful

" + }, + "modifierExtension": [ + { + "url": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-isElective", + "valueBoolean": true + } + ], + "status": "completed", + "intent": "order", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "442338001", + "display": "Bypass of stomach (procedure)" + } + ], + "text": "Stomach Bypass" + }, + "subject": { + "reference": "Patient/example" + }, + "authoredOn": "2015-03-30", + "requester": { + "display": "Dr. Beverly Crusher" + }, + "performer": [ + { + "reference": "Practitioner/example", + "display": "Dr Cecil Surgeon" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/ServiceRequest/ServiceRequest-example.json b/evaluator.cli/src/test/resources/qicore/example/ServiceRequest/ServiceRequest-example.json new file mode 100644 index 000000000..71dd894b0 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/ServiceRequest/ServiceRequest-example.json @@ -0,0 +1,57 @@ +{ + "resourceType": "ServiceRequest", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicerequest" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

status: completed

intent: order

priority: urgent

code: Excision of appendix (procedure) (Details : {SNOMED CT code '80146002' = 'Appendectomy', given as 'Excision of appendix (procedure)'})

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

encounter: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

occurrence: Apr 5, 2013 12:00:00 AM

asNeeded: true

authoredOn: Apr 4, 2013 12:00:00 AM

reasonCode: On examination - abdominal pain - right iliac (Details : {SNOMED CT code '163220003' = 'On examination - abdominal pain - right iliac (finding)', given as 'On examination - abdominal pain - right iliac'})

bodySite: Appendix structure (Details : {SNOMED CT code '66754008' = 'Appendix', given as 'Appendix structure'})

" + }, + "status": "completed", + "intent": "order", + "priority": "urgent", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "80146002", + "display": "Excision of appendix (procedure)" + } + ], + "text": "Excision of appendix (procedure)" + }, + "subject": { + "reference": "Patient/example" + }, + "encounter": { + "reference": "Encounter/example" + }, + "occurrenceDateTime": "2013-04-05", + "asNeededBoolean": true, + "authoredOn": "2013-04-04", + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "163220003", + "display": "On examination - abdominal pain - right iliac" + } + ] + } + ], + "bodySite": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "66754008", + "display": "Appendix structure" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/ServiceRequest/ServiceRequest-negation-example.json b/evaluator.cli/src/test/resources/qicore/example/ServiceRequest/ServiceRequest-negation-example.json new file mode 100644 index 000000000..09393ed2d --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/ServiceRequest/ServiceRequest-negation-example.json @@ -0,0 +1,58 @@ +{ + "resourceType": "ServiceRequest", + "id": "negation-example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: negation-example

status: completed

intent: order

priority: urgent

doNotPerform: true

code: Excision of appendix (procedure) (Details : {[not stated] code 'null' = 'null)

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

encounter: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

occurrence: Apr 5, 2013 12:00:00 AM

authoredOn: Apr 4, 2013 12:00:00 AM

bodySite: Appendix structure (Details : {SNOMED CT code '66754008' = 'Appendix', given as 'Appendix structure'})

" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-doNotPerformReason", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "416406003", + "display": "Procedure discontinued (situation)" + } + ] + } + } + ], + "status": "completed", + "intent": "order", + "priority": "urgent", + "doNotPerform": true, + "code": { + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-reference", + "valueUri": "http://cts.nlm.nih.gov/fhir/2.16.840.1.113762.1.4.1018.240" + } + ] + } + ], + "text": "Excision of appendix (procedure)" + }, + "subject": { + "reference": "Patient/example" + }, + "encounter": { + "reference": "Encounter/example" + }, + "occurrenceDateTime": "2013-04-05", + "authoredOn": "2013-04-04", + "bodySite": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "66754008", + "display": "Appendix structure" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/ServiceRequest/ServiceRequest-referral-example.json b/evaluator.cli/src/test/resources/qicore/example/ServiceRequest/ServiceRequest-referral-example.json new file mode 100644 index 000000000..6729f5305 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/ServiceRequest/ServiceRequest-referral-example.json @@ -0,0 +1,78 @@ +{ + "resourceType": "ServiceRequest", + "id": "referral-example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicerequest" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: referral-example

meta:

status: revoked

intent: order

category: Referral for procedure (Details : {SNOMED CT code '700274009' = 'Referral for procedure', given as 'Referral for procedure'})

priority: routine

code: Myringotomy and insertion of short-term tympanic ventilation tube (procedure) (Details : {SNOMED CT code '172676009' = 'Myringotomy and insertion of short-term grommet', given as 'Myringotomy and insertion of short-term tympanic ventilation tube (procedure)'})

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

encounter: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

occurrence: Feb 13, 2014 12:00:00 AM

authoredOn: Feb 14, 2014 12:00:00 AM

performerType: Pediatric otolaryngology (Details : {SNOMED CT code '417887005' = 'Pediatric otolaryngology', given as 'Pediatric otolaryngology'})

reasonCode: Otitis media (Details : {SNOMED CT code '65363002' = 'Otitis media', given as 'Otitis media'})

" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/request-statusReason", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "609589008", + "display": "Refused by parents of subject" + } + ] + } + } + ], + "status": "revoked", + "intent": "order", + "category": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "700274009", + "display": "Referral for procedure" + } + ] + } + ], + "priority": "routine", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "172676009", + "display": "Myringotomy and insertion of short-term tympanic ventilation tube (procedure)" + } + ] + }, + "subject": { + "reference": "Patient/example" + }, + "encounter": { + "reference": "Encounter/example" + }, + "occurrenceDateTime": "2014-02-13", + "authoredOn": "2014-02-14", + "performerType": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "417887005", + "display": "Pediatric otolaryngology" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "65363002", + "display": "Otitis media" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Specimen/Specimen-example.json b/evaluator.cli/src/test/resources/qicore/example/Specimen/Specimen-example.json new file mode 100644 index 000000000..c4538040b --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Specimen/Specimen-example.json @@ -0,0 +1,125 @@ +{ + "resourceType": "Specimen", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-specimen" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

type: Venous blood specimen (Details : {SNOMED CT code '122555007' = 'Venous blood specimen', given as 'Venous blood specimen'})

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

receivedTime: Mar 4, 2011 7:03:00 AM

Collections

-ExtensionCollected[x]QuantityBodySite
*Mar 6, 2011 6:15:00 AM6 mLAnterior surface of arm (Details : {SNOMED CT code '7311008' = 'Anterior surface of arm', given as 'Anterior surface of arm'})

Processings

-ExtensionDescriptionProcedureAdditive
*Treated with anticoagulants.Defibrination (Details : {http://terminology.hl7.org/CodeSystem/v2-0373 code 'DEFB' = 'Defibrination', given as 'Defibrination'})Generated Summary: id: example; 1463; status: active; Allergen; apitoxin (Honey Bee Venom)

Containers

-ExtensionTypeCapacity
*Specimen vial (Details : {SNOMED CT code '434746001' = 'Specimen vial (physical object)', given as 'Specimen vial'})10 mL
" + }, + "type": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "122555007", + "display": "Venous blood specimen" + } + ] + }, + "subject": { + "reference": "Patient/example" + }, + "receivedTime": "2011-03-04T07:03:00Z", + "collection": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://example.com", + "code": "5", + "display": "ROUTINE" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "NOPERSISTP", + "display": "no collection beyond purpose of use" + } + ] + } + } + ], + "collectedDateTime": "2011-03-06T06:15:00Z", + "quantity": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight", + "valueBoolean": false + } + ], + "value": 6, + "unit": "mL" + }, + "bodySite": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "7311008", + "display": "Anterior surface of arm" + } + ] + } + }, + "processing": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/specimen-processingTime", + "valuePeriod": { + "start": "2011-03-04T07:03:00Z", + "end": "2011-03-04T07:03:00Z" + } + } + ], + "description": "Treated with anticoagulants.", + "procedure": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0373", + "code": "DEFB", + "display": "Defibrination" + } + ] + }, + "additive": [ + { + "reference": "Substance/example" + } + ] + } + ], + "container": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber", + "valueInteger": 1 + } + ], + "type": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "434746001", + "display": "Specimen vial" + } + ] + }, + "capacity": { + "value": 10, + "unit": "mL" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Substance/Substance-example.json b/evaluator.cli/src/test/resources/qicore/example/Substance/Substance-example.json new file mode 100644 index 000000000..222389bb3 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Substance/Substance-example.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Substance", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-substance" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: 1463

status: active

category: Allergen (Details : {http://terminology.hl7.org/CodeSystem/substance-category code 'allergen' = 'Allergen', given as 'Allergen'})

code: apitoxin (Honey Bee Venom) (Details )

Ingredients

-QuantitySubstance[x]
*0.150 mg/1Generated Summary: id: example; 1463; status: active; Allergen; apitoxin (Honey Bee Venom)
" + }, + "identifier": [ + { + "system": "http://acme.org/identifiers/substances", + "value": "1463" + } + ], + "status": "active", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/substance-category", + "code": "allergen", + "display": "Allergen" + } + ] + } + ], + "code": { + "text": "apitoxin (Honey Bee Venom)" + }, + "ingredient": [ + { + "quantity": { + "numerator": { + "value": 0.150, + "unit": "mg" + }, + "denominator": { + "value": 1 + } + }, + "substanceReference": { + "reference": "Substance/example" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/example/Task/Task-example.json b/evaluator.cli/src/test/resources/qicore/example/Task/Task-example.json new file mode 100644 index 000000000..05e53ef21 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/example/Task/Task-example.json @@ -0,0 +1,32 @@ +{ + "resourceType": "Task", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-task" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: 19009

status: draft

intent: proposal

priority: routine

code: Medication Reconciliation (Details )

for: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

executionPeriod: Jun 11, 2018 12:00:00 AM --> Jun 11, 2018 12:00:00 AM

" + }, + "identifier": [ + { + "system": "http://www.acme.org/tasks", + "value": "19009" + } + ], + "status": "draft", + "intent": "proposal", + "priority": "routine", + "code": { + "text": "Medication Reconciliation" + }, + "for": { + "reference": "Patient/example" + }, + "executionPeriod": { + "start": "2018-06-11", + "end": "2018-06-11" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/CodeSystem/CodeSystem-appropriateness-score.json b/evaluator.cli/src/test/resources/qicore/vocabulary/CodeSystem/CodeSystem-appropriateness-score.json new file mode 100644 index 000000000..3088750b0 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/CodeSystem/CodeSystem-appropriateness-score.json @@ -0,0 +1,93 @@ +{ + "resourceType": "CodeSystem", + "id": "appropriateness-score", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablecodesystem" + ] + }, + "text": { + "status": "generated", + "div": "

RAND Appropriateness Scores

The RAND scoring for appropriateness of the procedure.

\n

This code system http://hl7.org/fhir/us/qicore/CodeSystem/appropriateness-score defines the following codes:

CodeDisplayDefinition
extremely-inappropriate Extremely InappropriateThe procedure is extremely inappropriate
inappropriate InappropriateThe procedure is inappropriate
probably-inappropriate Probably InappropriateThe procedure is probably inappropriate
uncertain-inappropriate Uncertain InappropriateThe appropriateness of the procedure is uncertain, leaning towards inappropriate
uncertain UncertainThe appropriateness of the procedure is uncertain
uncertain-appropriate Uncertain AppropriateThe appropriateness of the procedure is uncertain, leaning towards appropriate
probably-appropriate Probably AppropriateThe procedure is probably appropriate
appropriate AppropriateThe procedure is appropriate
extremely-appropriate Extremely AppropriateThe procedure is extremely appropriate
" + }, + "url": "http://hl7.org/fhir/us/qicore/CodeSystem/appropriateness-score", + "version": "4.0.0", + "name": "AppropriatenessScore", + "title": "RAND Appropriateness Scores", + "status": "draft", + "experimental": false, + "date": "2018-08-22T00:00:00+00:00", + "publisher": "Health Level Seven, Inc. - CQI WG", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/special/committees/CQI" + } + ] + } + ], + "description": "The RAND scoring for appropriateness of the procedure.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "caseSensitive": true, + "valueSet": "http://hl7.org/fhir/us/qicore/ValueSet/qicore-appropriateness-score", + "content": "complete", + "concept": [ + { + "code": "extremely-inappropriate", + "display": "Extremely Inappropriate", + "definition": "The procedure is extremely inappropriate" + }, + { + "code": "inappropriate", + "display": "Inappropriate", + "definition": "The procedure is inappropriate" + }, + { + "code": "probably-inappropriate", + "display": "Probably Inappropriate", + "definition": "The procedure is probably inappropriate" + }, + { + "code": "uncertain-inappropriate", + "display": "Uncertain Inappropriate", + "definition": "The appropriateness of the procedure is uncertain, leaning towards inappropriate" + }, + { + "code": "uncertain", + "display": "Uncertain", + "definition": "The appropriateness of the procedure is uncertain" + }, + { + "code": "uncertain-appropriate", + "display": "Uncertain Appropriate", + "definition": "The appropriateness of the procedure is uncertain, leaning towards appropriate" + }, + { + "code": "probably-appropriate", + "display": "Probably Appropriate", + "definition": "The procedure is probably appropriate" + }, + { + "code": "appropriate", + "display": "Appropriate", + "definition": "The procedure is appropriate" + }, + { + "code": "extremely-appropriate", + "display": "Extremely Appropriate", + "definition": "The procedure is extremely appropriate" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/CodeSystem/CodeSystem-careplan-category.json b/evaluator.cli/src/test/resources/qicore/vocabulary/CodeSystem/CodeSystem-careplan-category.json new file mode 100644 index 000000000..0d9f7a6df --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/CodeSystem/CodeSystem-careplan-category.json @@ -0,0 +1,36 @@ +{ + "resourceType": "CodeSystem", + "id": "careplan-category", + "text": { + "status": "generated", + "div": "

US Core CarePlan Category Extension Codes

Set of codes that are needed for implementation of the US-Core profiles. These codes are used as extensions to the FHIR and US Core value sets.

\n

This code system http://hl7.org/fhir/us/core/CodeSystem/careplan-category defines the following codes:

CodeDisplayDefinition
assess-plan Assessment and Plan of TreatmentThe clinical conclusions and assumptions that guide the patient's treatment and the clinical activities formulated for a patient.
" + }, + "url": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "version": "3.1.0", + "name": "USCoreCarePlanCategoryExtensionCodes", + "title": "US Core CarePlan Category Extension Codes", + "status": "active", + "date": "2019-11-06T12:37:38+11:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "Set of codes that are needed for implementation of the US-Core profiles. These codes are used as extensions to the FHIR and US Core value sets.\n", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "caseSensitive": true, + "content": "complete", + "concept": [ + { + "code": "assess-plan", + "display": "Assessment and Plan of Treatment", + "definition": "The clinical conclusions and assumptions that guide the patient's treatment and the clinical activities formulated for a patient." + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/CodeSystem/CodeSystem-cdcrec.json b/evaluator.cli/src/test/resources/qicore/vocabulary/CodeSystem/CodeSystem-cdcrec.json new file mode 100644 index 000000000..e406795b8 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/CodeSystem/CodeSystem-cdcrec.json @@ -0,0 +1,4914 @@ +{ + "resourceType": "CodeSystem", + "id": "cdcrec", + "text": { + "status": "generated", + "div": "

Race & Ethnicity - CDC

The U.S. Centers for Disease Control and Prevention (CDC) has prepared a code set for use in codingrace and ethnicity data. This code set is based on current federal standards for classifying data onrace and ethnicity, specifically the minimum race and ethnicity categories defined by the U.S. Office ofManagement and Budget (OMB) and a more detailed set of race and ethnicity categories maintainedby the U.S. Bureau of the Census (BC). The main purpose of the code set is to facilitate use of federalstandards for classifying data on race and ethnicity when these data are exchanged, stored, retrieved,or analyzed in electronic form. At the same time, the code set can be applied to paper-based recordsystems to the extent that these systems are used to collect, maintain, and report data on race andethnicity in accordance with current federal standards. Source: Race and Ethnicity Code Set Version 1.0.

\n

Properties

CodeURLDescriptionType
abstractTrue if an element is considered 'abstract' - in other words, the code is not for use as a real conceptboolean

This code system urn:oid:2.16.840.1.113883.6.238 defines the following codes:

LvlCodeDisplayDefinition
11000-9 RaceRace, Note that this is an abstract 'grouping' concept and not for use as a real concept
2  1002-5 American Indian or Alaska NativeAmerican Indian or Alaska Native
3    1004-1 American IndianAmerican Indian
3    1735-0 Alaska NativeAlaska Native
3    1006-6 AbenakiAbenaki
3    1008-2 AlgonquianAlgonquian
3    1010-8 ApacheApache
3    1021-5 ArapahoArapaho
3    1026-4 ArikaraArikara
3    1028-0 AssiniboineAssiniboine
3    1030-6 Assiniboine SiouxAssiniboine Sioux
3    1033-0 BannockBannock
3    1035-5 BlackfeetBlackfeet
3    1037-1 BrothertonBrotherton
3    1039-7 Burt Lake BandBurt Lake Band
3    1041-3 CaddoCaddo
3    1044-7 CahuillaCahuilla
3    1053-8 California TribesCalifornia Tribes
3    1068-6 Canadian and Latin American IndianCanadian and Latin American Indian
3    1076-9 CatawbaCatawba
3    1078-5 CayuseCayuse
3    1080-1 ChehalisChehalis
3    1082-7 ChemakuanChemakuan
3    1086-8 ChemehueviChemehuevi
3    1088-4 CherokeeCherokee
3    1100-7 Cherokee ShawneeCherokee Shawnee
3    1102-3 CheyenneCheyenne
3    1106-4 Cheyenne-ArapahoCheyenne-Arapaho
3    1108-0 ChickahominyChickahominy
3    1112-2 ChickasawChickasaw
3    1114-8 ChinookChinook
3    1123-9 ChippewaChippewa
3    1150-2 Chippewa CreeChippewa Cree
3    1153-6 ChitimachaChitimacha
3    1155-1 ChoctawChoctaw
3    1162-7 ChumashChumash
3    1165-0 Clear LakeClear Lake
3    1167-6 Coeur D'AleneCoeur D'Alene
3    1169-2 CoharieCoharie
3    1171-8 Colorado RiverColorado River
3    1173-4 ColvilleColville
3    1175-9 ComancheComanche
3    1178-3 Coos, Lower Umpqua, SiuslawCoos, Lower Umpqua, Siuslaw
3    1180-9 CoosCoos
3    1182-5 CoquillesCoquilles
3    1184-1 CostanoanCostanoan
3    1186-6 CoushattaCoushatta
3    1189-0 CowlitzCowlitz
3    1191-6 CreeCree
3    1193-2 CreekCreek
3    1207-0 CroatanCroatan
3    1209-6 CrowCrow
3    1211-2 CupenoCupeno
3    1214-6 DelawareDelaware
3    1222-9 DieguenoDiegueno
3    1233-6 Eastern TribesEastern Tribes
3    1250-0 EsselenEsselen
3    1252-6 Fort BelknapFort Belknap
3    1254-2 Fort BertholdFort Berthold
3    1256-7 Fort McdowellFort Mcdowell
3    1258-3 Fort HallFort Hall
3    1260-9 GabrielenoGabrieleno
3    1262-5 Grand RondeGrand Ronde
3    1264-1 Gros VentresGros Ventres
3    1267-4 HaliwaHaliwa
3    1269-0 HidatsaHidatsa
3    1271-6 HoopaHoopa
3    1275-7 Hoopa ExtensionHoopa Extension
3    1277-3 HoumaHouma
3    1279-9 Inaja-CosmitInaja-Cosmit
3    1281-5 IowaIowa
3    1285-6 IroquoisIroquois
3    1297-1 JuanenoJuaneno
3    1299-7 KalispelKalispel
3    1301-1 KarukKaruk
3    1303-7 KawKaw
3    1305-2 KickapooKickapoo
3    1309-4 KiowaKiowa
3    1312-8 KlallamKlallam
3    1317-7 KlamathKlamath
3    1319-3 KonkowKonkow
3    1321-9 KootenaiKootenai
3    1323-5 LassikLassik
3    1325-0 Long IslandLong Island
3    1331-8 LuisenoLuiseno
3    1340-9 LumbeeLumbee
3    1342-5 LummiLummi
3    1344-1 MaiduMaidu
3    1348-2 MakahMakah
3    1350-8 MaliseetMaliseet
3    1352-4 MandanMandan
3    1354-0 MattaponiMattaponi
3    1356-5 MenomineeMenominee
3    1358-1 MiamiMiami
3    1363-1 MiccosukeeMiccosukee
3    1365-6 MicmacMicmac
3    1368-0 Mission IndiansMission Indians
3    1370-6 MiwokMiwok
3    1372-2 ModocModoc
3    1374-8 MoheganMohegan
3    1376-3 MonoMono
3    1378-9 NanticokeNanticoke
3    1380-5 NarragansettNarragansett
3    1382-1 NavajoNavajo
3    1387-0 Nez PerceNez Perce
3    1389-6 NomalakiNomalaki
3    1391-2 Northwest TribesNorthwest Tribes
3    1403-5 OmahaOmaha
3    1405-0 Oregon AthabaskanOregon Athabaskan
3    1407-6 OsageOsage
3    1409-2 Otoe-MissouriaOtoe-Missouria
3    1411-8 OttawaOttawa
3    1416-7 PaiutePaiute
3    1439-9 PamunkeyPamunkey
3    1441-5 PassamaquoddyPassamaquoddy
3    1445-6 PawneePawnee
3    1448-0 PenobscotPenobscot
3    1450-6 PeoriaPeoria
3    1453-0 PequotPequot
3    1456-3 PimaPima
3    1460-5 PiscatawayPiscataway
3    1462-1 Pit RiverPit River
3    1464-7 PomoPomo
3    1474-6 PoncaPonca
3    1478-7 PotawatomiPotawatomi
3    1487-8 PowhatanPowhatan
3    1489-4 PuebloPueblo
3    1518-0 Puget Sound SalishPuget Sound Salish
3    1541-2 QuapawQuapaw
3    1543-8 QuinaultQuinault
3    1545-3 RappahannockRappahannock
3    1547-9 Reno-SparksReno-Sparks
3    1549-5 Round ValleyRound Valley
3    1551-1 Sac and FoxSac and Fox
3    1556-0 SalinanSalinan
3    1558-6 SalishSalish
3    1560-2 Salish and KootenaiSalish and Kootenai
3    1562-8 SchaghticokeSchaghticoke
3    1564-4 Scott ValleyScott Valley
3    1566-9 SeminoleSeminole
3    1573-5 SerranoSerrano
3    1576-8 ShastaShasta
3    1578-4 ShawneeShawnee
3    1582-6 ShinnecockShinnecock
3    1584-2 Shoalwater BayShoalwater Bay
3    1586-7 ShoshoneShoshone
3    1602-2 Shoshone PaiuteShoshone Paiute
3    1607-1 SiletzSiletz
3    1609-7 SiouxSioux
3    1643-6 SiuslawSiuslaw
3    1645-1 SpokaneSpokane
3    1647-7 StewartStewart
3    1649-3 StockbridgeStockbridge
3    1651-9 SusanvilleSusanville
3    1653-5 Tohono O'OdhamTohono O'Odham
3    1659-2 TolowaTolowa
3    1661-8 TonkawaTonkawa
3    1663-4 TyghTygh
3    1665-9 UmatillaUmatilla
3    1667-5 UmpquaUmpqua
3    1670-9 UteUte
3    1675-8 WailakiWailaki
3    1677-4 Walla-WallaWalla-Walla
3    1679-0 WampanoagWampanoag
3    1683-2 Warm SpringsWarm Springs
3    1685-7 WascopumWascopum
3    1687-3 WashoeWashoe
3    1692-3 WichitaWichita
3    1694-9 Wind RiverWind River
3    1696-4 WinnebagoWinnebago
3    1700-4 WinnemuccaWinnemucca
3    1702-0 WintunWintun
3    1704-6 WiyotWiyot
3    1707-9 YakamaYakama
3    1709-5 Yakama CowlitzYakama Cowlitz
3    1711-1 YaquiYaqui
3    1715-2 Yavapai ApacheYavapai Apache
3    1717-8 YokutsYokuts
3    1722-8 YuchiYuchi
3    1724-4 YumanYuman
3    1732-7 YurokYurok
3    1011-6 ChiricahuaChiricahua
3    1012-4 Fort Sill ApacheFort Sill Apache
3    1013-2 Jicarilla ApacheJicarilla Apache
3    1014-0 Lipan ApacheLipan Apache
3    1015-7 Mescalero ApacheMescalero Apache
3    1016-5 Oklahoma ApacheOklahoma Apache
3    1017-3 Payson ApachePayson Apache
3    1018-1 San Carlos ApacheSan Carlos Apache
3    1019-9 White Mountain ApacheWhite Mountain Apache
3    1022-3 Northern ArapahoNorthern Arapaho
3    1023-1 Southern ArapahoSouthern Arapaho
3    1024-9 Wind River ArapahoWind River Arapaho
3    1031-4 Fort Peck Assiniboine SiouxFort Peck Assiniboine Sioux
3    1042-1 Oklahoma CadoOklahoma Cado
3    1045-4 Agua Caliente CahuillaAgua Caliente Cahuilla
3    1046-2 AugustineAugustine
3    1047-0 CabazonCabazon
3    1048-8 Los CoyotesLos Coyotes
3    1049-6 MorongoMorongo
3    1050-4 Santa Rosa CahuillaSanta Rosa Cahuilla
3    1051-2 Torres-MartinezTorres-Martinez
3    1054-6 CahtoCahto
3    1055-3 ChimarikoChimariko
3    1056-1 Coast MiwokCoast Miwok
3    1057-9 DiggerDigger
3    1058-7 KawaiisuKawaiisu
3    1059-5 Kern RiverKern River
3    1060-3 MattoleMattole
3    1061-1 Red WoodRed Wood
3    1062-9 Santa RosaSanta Rosa
3    1063-7 TakelmaTakelma
3    1064-5 WappoWappo
3    1065-2 YanaYana
3    1066-0 YukiYuki
3    1069-4 Canadian IndianCanadian Indian
3    1070-2 Central American IndianCentral American Indian
3    1071-0 French American IndianFrench American Indian
3    1072-8 Mexican American IndianMexican American Indian
3    1073-6 South American IndianSouth American Indian
3    1074-4 Spanish American IndianSpanish American Indian
3    1083-5 HohHoh
3    1084-3 QuileuteQuileute
3    1089-2 Cherokee AlabamaCherokee Alabama
3    1090-0 Cherokees of Northeast AlabamaCherokees of Northeast Alabama
3    1091-8 Cherokees of Southeast AlabamaCherokees of Southeast Alabama
3    1092-6 Eastern CherokeeEastern Cherokee
3    1093-4 Echota CherokeeEchota Cherokee
3    1094-2 Etowah CherokeeEtowah Cherokee
3    1095-9 Northern CherokeeNorthern Cherokee
3    1096-7 TuscolaTuscola
3    1097-5 United Keetowah Band of CherokeeUnited Keetowah Band of Cherokee
3    1098-3 Western CherokeeWestern Cherokee
3    1103-1 Northern CheyenneNorthern Cheyenne
3    1104-9 Southern CheyenneSouthern Cheyenne
3    1109-8 Eastern ChickahominyEastern Chickahominy
3    1110-6 Western ChickahominyWestern Chickahominy
3    1115-5 ClatsopClatsop
3    1116-3 Columbia River ChinookColumbia River Chinook
3    1117-1 KathlametKathlamet
3    1118-9 Upper ChinookUpper Chinook
3    1119-7 Wakiakum ChinookWakiakum Chinook
3    1120-5 Willapa ChinookWillapa Chinook
3    1121-3 WishramWishram
3    1124-7 Bad RiverBad River
3    1125-4 Bay Mills ChippewaBay Mills Chippewa
3    1126-2 Bois ForteBois Forte
3    1127-0 Burt Lake ChippewaBurt Lake Chippewa
3    1128-8 Fond du LacFond du Lac
3    1129-6 Grand PortageGrand Portage
3    1130-4 Grand Traverse Band of Ottawa/ChippewaGrand Traverse Band of Ottawa/Chippewa
3    1131-2 KeweenawKeweenaw
3    1132-0 Lac Courte OreillesLac Courte Oreilles
3    1133-8 Lac du FlambeauLac du Flambeau
3    1134-6 Lac Vieux Desert ChippewaLac Vieux Desert Chippewa
3    1135-3 Lake SuperiorLake Superior
3    1136-1 Leech LakeLeech Lake
3    1137-9 Little Shell ChippewaLittle Shell Chippewa
3    1138-7 Mille LacsMille Lacs
3    1139-5 Minnesota ChippewaMinnesota Chippewa
3    1140-3 OntonagonOntonagon
3    1141-1 Red Cliff ChippewaRed Cliff Chippewa
3    1142-9 Red Lake ChippewaRed Lake Chippewa
3    1143-7 Saginaw ChippewaSaginaw Chippewa
3    1144-5 St. Croix ChippewaSt. Croix Chippewa
3    1145-2 Sault Ste. Marie ChippewaSault Ste. Marie Chippewa
3    1146-0 Sokoagon ChippewaSokoagon Chippewa
3    1147-8 Turtle MountainTurtle Mountain
3    1148-6 White EarthWhite Earth
3    1151-0 Rocky Boy's Chippewa CreeRocky Boy's Chippewa Cree
3    1156-9 Clifton ChoctawClifton Choctaw
3    1157-7 Jena ChoctawJena Choctaw
3    1158-5 Mississippi ChoctawMississippi Choctaw
3    1159-3 Mowa Band of ChoctawMowa Band of Choctaw
3    1160-1 Oklahoma ChoctawOklahoma Choctaw
3    1163-5 Santa YnezSanta Ynez
3    1176-7 Oklahoma ComancheOklahoma Comanche
3    1187-4 Alabama CoushattaAlabama Coushatta
3    1194-0 Alabama CreekAlabama Creek
3    1195-7 Alabama QuassarteAlabama Quassarte
3    1196-5 Eastern CreekEastern Creek
3    1197-3 Eastern MuscogeeEastern Muscogee
3    1198-1 KialegeeKialegee
3    1199-9 Lower MuscogeeLower Muscogee
3    1200-5 Machis Lower Creek IndianMachis Lower Creek Indian
3    1201-3 Poarch BandPoarch Band
3    1202-1 Principal Creek Indian NationPrincipal Creek Indian Nation
3    1203-9 Star Clan of Muscogee CreeksStar Clan of Muscogee Creeks
3    1204-7 ThlopthloccoThlopthlocco
3    1205-4 TuckabacheeTuckabachee
3    1212-0 Agua CalienteAgua Caliente
3    1215-3 Eastern DelawareEastern Delaware
3    1216-1 Lenni-LenapeLenni-Lenape
3    1217-9 MunseeMunsee
3    1218-7 Oklahoma DelawareOklahoma Delaware
3    1219-5 Rampough MountainRampough Mountain
3    1220-3 Sand HillSand Hill
3    1223-7 CampoCampo
3    1224-5 Capitan GrandeCapitan Grande
3    1225-2 CuyapaipeCuyapaipe
3    1226-0 La PostaLa Posta
3    1227-8 ManzanitaManzanita
3    1228-6 Mesa GrandeMesa Grande
3    1229-4 San PasqualSan Pasqual
3    1230-2 Santa YsabelSanta Ysabel
3    1231-0 SycuanSycuan
3    1234-4 AttacapaAttacapa
3    1235-1 BiloxiBiloxi
3    1236-9 Georgetown (Eastern Tribes)Georgetown (Eastern Tribes)
3    1237-7 MoorMoor
3    1238-5 NansemondNansemond
3    1239-3 NatchezNatchez
3    1240-1 Nausu WaiwashNausu Waiwash
3    1241-9 NipmucNipmuc
3    1242-7 PaugussettPaugussett
3    1243-5 Pocomoke AcohonockPocomoke Acohonock
3    1244-3 Southeastern IndiansSoutheastern Indians
3    1245-0 SusquehanockSusquehanock
3    1246-8 Tunica BiloxiTunica Biloxi
3    1247-6 Waccamaw-SiousanWaccamaw-Siousan
3    1248-4 WicomicoWicomico
3    1265-8 AtsinaAtsina
3    1272-4 TrinityTrinity
3    1273-2 WhilkutWhilkut
3    1282-3 Iowa of Kansas-NebraskaIowa of Kansas-Nebraska
3    1283-1 Iowa of OklahomaIowa of Oklahoma
3    1286-4 CayugaCayuga
3    1287-2 MohawkMohawk
3    1288-0 OneidaOneida
3    1289-8 OnondagaOnondaga
3    1290-6 SenecaSeneca
3    1291-4 Seneca NationSeneca Nation
3    1292-2 Seneca-CayugaSeneca-Cayuga
3    1293-0 Tonawanda SenecaTonawanda Seneca
3    1294-8 TuscaroraTuscarora
3    1295-5 WyandotteWyandotte
3    1306-0 Oklahoma KickapooOklahoma Kickapoo
3    1307-8 Texas KickapooTexas Kickapoo
3    1310-2 Oklahoma KiowaOklahoma Kiowa
3    1313-6 JamestownJamestown
3    1314-4 Lower ElwhaLower Elwha
3    1315-1 Port Gamble KlallamPort Gamble Klallam
3    1326-8 MatinecockMatinecock
3    1327-6 MontaukMontauk
3    1328-4 PoospatuckPoospatuck
3    1329-2 SetauketSetauket
3    1332-6 La JollaLa Jolla
3    1333-4 PalaPala
3    1334-2 PaumaPauma
3    1335-9 PechangaPechanga
3    1336-7 SobobaSoboba
3    1337-5 Twenty-Nine PalmsTwenty-Nine Palms
3    1338-3 TemeculaTemecula
3    1345-8 Mountain MaiduMountain Maidu
3    1346-6 NishinamNishinam
3    1359-9 Illinois MiamiIllinois Miami
3    1360-7 Indiana MiamiIndiana Miami
3    1361-5 Oklahoma MiamiOklahoma Miami
3    1366-4 AroostookAroostook
3    1383-9 Alamo NavajoAlamo Navajo
3    1384-7 Canoncito NavajoCanoncito Navajo
3    1385-4 Ramah NavajoRamah Navajo
3    1392-0 AlseaAlsea
3    1393-8 CeliloCelilo
3    1394-6 ColumbiaColumbia
3    1395-3 KalapuyaKalapuya
3    1396-1 MolalaMolala
3    1397-9 TalakamishTalakamish
3    1398-7 TeninoTenino
3    1399-5 TillamookTillamook
3    1400-1 WenatcheeWenatchee
3    1401-9 YahooskinYahooskin
3    1412-6 Burt Lake OttawaBurt Lake Ottawa
3    1413-4 Michigan OttawaMichigan Ottawa
3    1414-2 Oklahoma OttawaOklahoma Ottawa
3    1417-5 BishopBishop
3    1418-3 BridgeportBridgeport
3    1419-1 Burns PaiuteBurns Paiute
3    1420-9 CedarvilleCedarville
3    1421-7 Fort BidwellFort Bidwell
3    1422-5 Fort IndependenceFort Independence
3    1423-3 KaibabKaibab
3    1424-1 Las VegasLas Vegas
3    1425-8 Lone PineLone Pine
3    1426-6 LovelockLovelock
3    1427-4 Malheur PaiuteMalheur Paiute
3    1428-2 MoapaMoapa
3    1429-0 Northern PaiuteNorthern Paiute
3    1430-8 Owens ValleyOwens Valley
3    1431-6 Pyramid LakePyramid Lake
3    1432-4 San Juan Southern PaiuteSan Juan Southern Paiute
3    1433-2 Southern PaiuteSouthern Paiute
3    1434-0 Summit LakeSummit Lake
3    1435-7 Utu Utu Gwaitu PaiuteUtu Utu Gwaitu Paiute
3    1436-5 Walker RiverWalker River
3    1437-3 Yerington PaiuteYerington Paiute
3    1442-3 Indian TownshipIndian Township
3    1443-1 Pleasant Point PassamaquoddyPleasant Point Passamaquoddy
3    1446-4 Oklahoma PawneeOklahoma Pawnee
3    1451-4 Oklahoma PeoriaOklahoma Peoria
3    1454-8 Marshantucket PequotMarshantucket Pequot
3    1457-1 Gila River Pima-MaricopaGila River Pima-Maricopa
3    1458-9 Salt River Pima-MaricopaSalt River Pima-Maricopa
3    1465-4 Central PomoCentral Pomo
3    1466-2 Dry CreekDry Creek
3    1467-0 Eastern PomoEastern Pomo
3    1468-8 KashiaKashia
3    1469-6 Northern PomoNorthern Pomo
3    1470-4 Scotts ValleyScotts Valley
3    1471-2 StonyfordStonyford
3    1472-0 Sulphur BankSulphur Bank
3    1475-3 Nebraska PoncaNebraska Ponca
3    1476-1 Oklahoma PoncaOklahoma Ponca
3    1479-5 Citizen Band PotawatomiCitizen Band Potawatomi
3    1480-3 Forest CountyForest County
3    1481-1 HannahvilleHannahville
3    1482-9 Huron PotawatomiHuron Potawatomi
3    1483-7 Pokagon PotawatomiPokagon Potawatomi
3    1484-5 Prairie BandPrairie Band
3    1485-2 Wisconsin PotawatomiWisconsin Potawatomi
3    1490-2 AcomaAcoma
3    1491-0 Arizona TewaArizona Tewa
3    1492-8 CochitiCochiti
3    1493-6 HopiHopi
3    1494-4 IsletaIsleta
3    1495-1 JemezJemez
3    1496-9 KeresKeres
3    1497-7 LagunaLaguna
3    1498-5 NambeNambe
3    1499-3 PicurisPicuris
3    1500-8 PiroPiro
3    1501-6 PojoaquePojoaque
3    1502-4 San FelipeSan Felipe
3    1503-2 San IldefonsoSan Ildefonso
3    1504-0 San Juan PuebloSan Juan Pueblo
3    1505-7 San Juan DeSan Juan De
3    1506-5 San JuanSan Juan
3    1507-3 SandiaSandia
3    1508-1 Santa AnaSanta Ana
3    1509-9 Santa ClaraSanta Clara
3    1510-7 Santo DomingoSanto Domingo
3    1511-5 TaosTaos
3    1512-3 TesuqueTesuque
3    1513-1 TewaTewa
3    1514-9 TiguaTigua
3    1515-6 ZiaZia
3    1516-4 ZuniZuni
3    1519-8 DuwamishDuwamish
3    1520-6 KikiallusKikiallus
3    1521-4 Lower SkagitLower Skagit
3    1522-2 MuckleshootMuckleshoot
3    1523-0 NisquallyNisqually
3    1524-8 NooksackNooksack
3    1525-5 Port MadisonPort Madison
3    1526-3 PuyallupPuyallup
3    1527-1 SamishSamish
3    1528-9 Sauk-SuiattleSauk-Suiattle
3    1529-7 SkokomishSkokomish
3    1530-5 SkykomishSkykomish
3    1531-3 SnohomishSnohomish
3    1532-1 SnoqualmieSnoqualmie
3    1533-9 Squaxin IslandSquaxin Island
3    1534-7 SteilacoomSteilacoom
3    1535-4 StillaguamishStillaguamish
3    1536-2 SuquamishSuquamish
3    1537-0 SwinomishSwinomish
3    1538-8 TulalipTulalip
3    1539-6 Upper SkagitUpper Skagit
3    1552-9 Iowa Sac and FoxIowa Sac and Fox
3    1553-7 Missouri Sac and FoxMissouri Sac and Fox
3    1554-5 Oklahoma Sac and FoxOklahoma Sac and Fox
3    1567-7 Big CypressBig Cypress
3    1568-5 BrightonBrighton
3    1569-3 Florida SeminoleFlorida Seminole
3    1570-1 Hollywood SeminoleHollywood Seminole
3    1571-9 Oklahoma SeminoleOklahoma Seminole
3    1574-3 San ManualSan Manual
3    1579-2 Absentee ShawneeAbsentee Shawnee
3    1580-0 Eastern ShawneeEastern Shawnee
3    1587-5 Battle MountainBattle Mountain
3    1588-3 DuckwaterDuckwater
3    1589-1 ElkoElko
3    1590-9 ElyEly
3    1591-7 GoshuteGoshute
3    1592-5 PanamintPanamint
3    1593-3 Ruby ValleyRuby Valley
3    1594-1 Skull ValleySkull Valley
3    1595-8 South Fork ShoshoneSouth Fork Shoshone
3    1596-6 Te-Moak Western ShoshoneTe-Moak Western Shoshone
3    1597-4 Timbi-Sha ShoshoneTimbi-Sha Shoshone
3    1598-2 WashakieWashakie
3    1599-0 Wind River ShoshoneWind River Shoshone
3    1600-6 YombaYomba
3    1603-0 Duck ValleyDuck Valley
3    1604-8 FallonFallon
3    1605-5 Fort McDermittFort McDermitt
3    1610-5 Blackfoot SiouxBlackfoot Sioux
3    1611-3 Brule SiouxBrule Sioux
3    1612-1 Cheyenne River SiouxCheyenne River Sioux
3    1613-9 Crow Creek SiouxCrow Creek Sioux
3    1614-7 Dakota SiouxDakota Sioux
3    1615-4 Flandreau SanteeFlandreau Santee
3    1616-2 Fort PeckFort Peck
3    1617-0 Lake Traverse SiouxLake Traverse Sioux
3    1618-8 Lower Brule SiouxLower Brule Sioux
3    1619-6 Lower SiouxLower Sioux
3    1620-4 Mdewakanton SiouxMdewakanton Sioux
3    1621-2 MiniconjouMiniconjou
3    1622-0 Oglala SiouxOglala Sioux
3    1623-8 Pine Ridge SiouxPine Ridge Sioux
3    1624-6 Pipestone SiouxPipestone Sioux
3    1625-3 Prairie Island SiouxPrairie Island Sioux
3    1626-1 Prior Lake SiouxPrior Lake Sioux
3    1627-9 Rosebud SiouxRosebud Sioux
3    1628-7 Sans Arc SiouxSans Arc Sioux
3    1629-5 Santee SiouxSantee Sioux
3    1630-3 Sisseton-WahpetonSisseton-Wahpeton
3    1631-1 Sisseton SiouxSisseton Sioux
3    1632-9 Spirit Lake SiouxSpirit Lake Sioux
3    1633-7 Standing Rock SiouxStanding Rock Sioux
3    1634-5 Teton SiouxTeton Sioux
3    1635-2 Two Kettle SiouxTwo Kettle Sioux
3    1636-0 Upper SiouxUpper Sioux
3    1637-8 Wahpekute SiouxWahpekute Sioux
3    1638-6 Wahpeton SiouxWahpeton Sioux
3    1639-4 Wazhaza SiouxWazhaza Sioux
3    1640-2 Yankton SiouxYankton Sioux
3    1641-0 Yanktonai SiouxYanktonai Sioux
3    1654-3 Ak-ChinAk-Chin
3    1655-0 Gila BendGila Bend
3    1656-8 San XavierSan Xavier
3    1657-6 SellsSells
3    1668-3 Cow Creek UmpquaCow Creek Umpqua
3    1671-7 Allen CanyonAllen Canyon
3    1672-5 Uintah UteUintah Ute
3    1673-3 Ute Mountain UteUte Mountain Ute
3    1680-8 Gay Head WampanoagGay Head Wampanoag
3    1681-6 Mashpee WampanoagMashpee Wampanoag
3    1688-1 AlpineAlpine
3    1689-9 CarsonCarson
3    1690-7 DresslervilleDresslerville
3    1697-2 Ho-chunkHo-chunk
3    1698-0 Nebraska WinnebagoNebraska Winnebago
3    1705-3 Table BluffTable Bluff
3    1712-9 Barrio LibreBarrio Libre
3    1713-7 Pascua YaquiPascua Yaqui
3    1718-6 ChukchansiChukchansi
3    1719-4 TachiTachi
3    1720-2 Tule RiverTule River
3    1725-1 CocopahCocopah
3    1726-9 HavasupaiHavasupai
3    1727-7 HualapaiHualapai
3    1728-5 MaricopaMaricopa
3    1729-3 MohaveMohave
3    1730-1 QuechanQuechan
3    1731-9 YavapaiYavapai
3    1733-5 Coast YurokCoast Yurok
3    1737-6 Alaska IndianAlaska Indian
3    1840-8 EskimoEskimo
3    1966-1 AleutAleut
3    1739-2 Alaskan AthabascanAlaskan Athabascan
3    1811-9 Southeast AlaskaSoutheast Alaska
3    1740-0 AhtnaAhtna
3    1741-8 AlatnaAlatna
3    1742-6 AlexanderAlexander
3    1743-4 AllakaketAllakaket
3    1744-2 AlanvikAlanvik
3    1745-9 AnvikAnvik
3    1746-7 ArcticArctic
3    1747-5 BeaverBeaver
3    1748-3 Birch CreekBirch Creek
3    1749-1 CantwellCantwell
3    1750-9 ChalkyitsikChalkyitsik
3    1751-7 ChickaloonChickaloon
3    1752-5 ChistochinaChistochina
3    1753-3 ChitinaChitina
3    1754-1 CircleCircle
3    1755-8 Cook InletCook Inlet
3    1756-6 Copper CenterCopper Center
3    1757-4 Copper RiverCopper River
3    1758-2 Dot LakeDot Lake
3    1759-0 DoyonDoyon
3    1760-8 EagleEagle
3    1761-6 EklutnaEklutna
3    1762-4 EvansvilleEvansville
3    1763-2 Fort YukonFort Yukon
3    1764-0 GakonaGakona
3    1765-7 GalenaGalena
3    1766-5 GraylingGrayling
3    1767-3 GulkanaGulkana
3    1768-1 Healy LakeHealy Lake
3    1769-9 Holy CrossHoly Cross
3    1770-7 HughesHughes
3    1771-5 HusliaHuslia
3    1772-3 IliamnaIliamna
3    1773-1 KaltagKaltag
3    1774-9 Kluti KaahKluti Kaah
3    1775-6 KnikKnik
3    1776-4 KoyukukKoyukuk
3    1777-2 Lake MinchuminaLake Minchumina
3    1778-0 LimeLime
3    1779-8 McgrathMcgrath
3    1780-6 Manley Hot SpringsManley Hot Springs
3    1781-4 Mentasta LakeMentasta Lake
3    1782-2 MintoMinto
3    1783-0 NenanaNenana
3    1784-8 NikolaiNikolai
3    1785-5 NinilchikNinilchik
3    1786-3 NondaltonNondalton
3    1787-1 NorthwayNorthway
3    1788-9 NulatoNulato
3    1789-7 Pedro BayPedro Bay
3    1790-5 RampartRampart
3    1791-3 RubyRuby
3    1792-1 SalamatofSalamatof
3    1793-9 SeldoviaSeldovia
3    1794-7 SlanaSlana
3    1795-4 ShagelukShageluk
3    1796-2 StevensStevens
3    1797-0 Stony RiverStony River
3    1798-8 TakotnaTakotna
3    1799-6 TanacrossTanacross
3    1800-2 TanainaTanaina
3    1801-0 TananaTanana
3    1802-8 Tanana ChiefsTanana Chiefs
3    1803-6 TazlinaTazlina
3    1804-4 TelidaTelida
3    1805-1 TetlinTetlin
3    1806-9 TokTok
3    1807-7 TyonekTyonek
3    1808-5 VenetieVenetie
3    1809-3 WisemanWiseman
3    1813-5 Tlingit-HaidaTlingit-Haida
3    1837-4 TsimshianTsimshian
3    1814-3 AngoonAngoon
3    1815-0 Central Council of Tlingit and Haida TribesCentral Council of Tlingit and Haida Tribes
3    1816-8 ChilkatChilkat
3    1817-6 ChilkootChilkoot
3    1818-4 CraigCraig
3    1819-2 DouglasDouglas
3    1820-0 HaidaHaida
3    1821-8 HoonahHoonah
3    1822-6 HydaburgHydaburg
3    1823-4 KakeKake
3    1824-2 KasaanKasaan
3    1825-9 KenaitzeKenaitze
3    1826-7 KetchikanKetchikan
3    1827-5 KlawockKlawock
3    1828-3 PelicanPelican
3    1829-1 PetersburgPetersburg
3    1830-9 SaxmanSaxman
3    1831-7 SitkaSitka
3    1832-5 Tenakee SpringsTenakee Springs
3    1833-3 TlingitTlingit
3    1834-1 WrangellWrangell
3    1835-8 YakutatYakutat
3    1838-2 MetlakatlaMetlakatla
3    1842-4 Greenland EskimoGreenland Eskimo
3    1844-0 Inupiat EskimoInupiat Eskimo
3    1891-1 Siberian EskimoSiberian Eskimo
3    1896-0 Yupik EskimoYupik Eskimo
3    1845-7 AmblerAmbler
3    1846-5 AnaktuvukAnaktuvuk
3    1847-3 Anaktuvuk PassAnaktuvuk Pass
3    1848-1 Arctic Slope InupiatArctic Slope Inupiat
3    1849-9 Arctic Slope CorporationArctic Slope Corporation
3    1850-7 AtqasukAtqasuk
3    1851-5 BarrowBarrow
3    1852-3 Bering Straits InupiatBering Straits Inupiat
3    1853-1 Brevig MissionBrevig Mission
3    1854-9 BucklandBuckland
3    1855-6 ChinikChinik
3    1856-4 CouncilCouncil
3    1857-2 DeeringDeering
3    1858-0 ElimElim
3    1859-8 GolovinGolovin
3    1860-6 Inalik DiomedeInalik Diomede
3    1861-4 InupiaqInupiaq
3    1862-2 KaktovikKaktovik
3    1863-0 KawerakKawerak
3    1864-8 KianaKiana
3    1865-5 KivalinaKivalina
3    1866-3 KobukKobuk
3    1867-1 KotzebueKotzebue
3    1868-9 KoyukKoyuk
3    1869-7 KwigukKwiguk
3    1870-5 Mauneluk InupiatMauneluk Inupiat
3    1871-3 Nana InupiatNana Inupiat
3    1872-1 NoatakNoatak
3    1873-9 NomeNome
3    1874-7 NoorvikNoorvik
3    1875-4 NuiqsutNuiqsut
3    1876-2 Point HopePoint Hope
3    1877-0 Point LayPoint Lay
3    1878-8 SelawikSelawik
3    1879-6 ShaktoolikShaktoolik
3    1880-4 ShishmarefShishmaref
3    1881-2 ShungnakShungnak
3    1882-0 SolomonSolomon
3    1883-8 TellerTeller
3    1884-6 UnalakleetUnalakleet
3    1885-3 WainwrightWainwright
3    1886-1 WalesWales
3    1887-9 White MountainWhite Mountain
3    1888-7 White Mountain InupiatWhite Mountain Inupiat
3    1889-5 Mary's IglooMary's Igloo
3    1892-9 GambellGambell
3    1893-7 SavoongaSavoonga
3    1894-5 Siberian YupikSiberian Yupik
3    1897-8 AkiachakAkiachak
3    1898-6 AkiakAkiak
3    1899-4 AlakanukAlakanuk
3    1900-0 AleknagikAleknagik
3    1901-8 AndreafskyAndreafsky
3    1902-6 AniakAniak
3    1903-4 AtmautluakAtmautluak
3    1904-2 BethelBethel
3    1905-9 Bill Moore's SloughBill Moore's Slough
3    1906-7 Bristol Bay YupikBristol Bay Yupik
3    1907-5 Calista YupikCalista Yupik
3    1908-3 ChefornakChefornak
3    1909-1 ChevakChevak
3    1910-9 ChuathbalukChuathbaluk
3    1911-7 Clark's PointClark's Point
3    1912-5 Crooked CreekCrooked Creek
3    1913-3 DillinghamDillingham
3    1914-1 EekEek
3    1915-8 EkukEkuk
3    1916-6 EkwokEkwok
3    1917-4 EmmonakEmmonak
3    1918-2 Goodnews BayGoodnews Bay
3    1919-0 Hooper BayHooper Bay
3    1920-8 Iqurmuit (Russian Mission)Iqurmuit (Russian Mission)
3    1921-6 KalskagKalskag
3    1922-4 KasiglukKasigluk
3    1923-2 KipnukKipnuk
3    1924-0 KoliganekKoliganek
3    1925-7 KongiganakKongiganak
3    1926-5 KotlikKotlik
3    1927-3 KwethlukKwethluk
3    1928-1 KwigillingokKwigillingok
3    1929-9 LevelockLevelock
3    1930-7 Lower KalskagLower Kalskag
3    1931-5 ManokotakManokotak
3    1932-3 MarshallMarshall
3    1933-1 MekoryukMekoryuk
3    1934-9 Mountain VillageMountain Village
3    1935-6 NaknekNaknek
3    1936-4 NapaumuteNapaumute
3    1937-2 NapakiakNapakiak
3    1938-0 NapaskiakNapaskiak
3    1939-8 NewhalenNewhalen
3    1940-6 New StuyahokNew Stuyahok
3    1941-4 NewtokNewtok
3    1942-2 NightmuteNightmute
3    1943-0 NunapitchukvNunapitchukv
3    1944-8 OscarvilleOscarville
3    1945-5 Pilot StationPilot Station
3    1946-3 Pitkas PointPitkas Point
3    1947-1 PlatinumPlatinum
3    1948-9 Portage CreekPortage Creek
3    1949-7 QuinhagakQuinhagak
3    1950-5 Red DevilRed Devil
3    1951-3 St. MichaelSt. Michael
3    1952-1 Scammon BayScammon Bay
3    1953-9 Sheldon's PointSheldon's Point
3    1954-7 SleetmuteSleetmute
3    1955-4 StebbinsStebbins
3    1956-2 TogiakTogiak
3    1957-0 ToksookToksook
3    1958-8 TulukskakTulukskak
3    1959-6 TuntutuliakTuntutuliak
3    1960-4 TununakTununak
3    1961-2 Twin HillsTwin Hills
3    1962-0 Georgetown (Yupik-Eskimo)Georgetown (Yupik-Eskimo)
3    1963-8 St. Mary'sSt. Mary's
3    1964-6 UmkumiateUmkumiate
3    1968-7 Alutiiq AleutAlutiiq Aleut
3    1972-9 Bristol Bay AleutBristol Bay Aleut
3    1984-4 Chugach AleutChugach Aleut
3    1990-1 EyakEyak
3    1992-7 Koniag AleutKoniag Aleut
3    2002-4 SugpiaqSugpiaq
3    2004-0 SuqpigaqSuqpigaq
3    2006-5 Unangan AleutUnangan Aleut
3    1969-5 TatitlekTatitlek
3    1970-3 UgashikUgashik
3    1973-7 ChignikChignik
3    1974-5 Chignik LakeChignik Lake
3    1975-2 EgegikEgegik
3    1976-0 IgiugigIgiugig
3    1977-8 Ivanof BayIvanof Bay
3    1978-6 King SalmonKing Salmon
3    1979-4 KokhanokKokhanok
3    1980-2 PerryvillePerryville
3    1981-0 Pilot PointPilot Point
3    1982-8 Port HeidenPort Heiden
3    1985-1 ChenegaChenega
3    1986-9 Chugach CorporationChugach Corporation
3    1987-7 English BayEnglish Bay
3    1988-5 Port GrahamPort Graham
3    1993-5 AkhiokAkhiok
3    1994-3 AgdaaguxAgdaagux
3    1995-0 KarlukKarluk
3    1996-8 KodiakKodiak
3    1997-6 Larsen BayLarsen Bay
3    1998-4 Old HarborOld Harbor
3    1999-2 OuzinkieOuzinkie
3    2000-8 Port LionsPort Lions
3    2007-3 AkutanAkutan
3    2008-1 Aleut CorporationAleut Corporation
3    2009-9 AleutianAleutian
3    2010-7 Aleutian IslanderAleutian Islander
3    2011-5 AtkaAtka
3    2012-3 BelkofskiBelkofski
3    2013-1 Chignik LagoonChignik Lagoon
3    2014-9 King CoveKing Cove
3    2015-6 False PassFalse Pass
3    2016-4 Nelson LagoonNelson Lagoon
3    2017-2 NikolskiNikolski
3    2018-0 Pauloff HarborPauloff Harbor
3    2019-8 Qagan ToyagunginQagan Toyagungin
3    2020-6 QawalanginQawalangin
3    2021-4 St. GeorgeSt. George
3    2022-2 St. PaulSt. Paul
3    2023-0 Sand PointSand Point
3    2024-8 South NaknekSouth Naknek
3    2025-5 UnalaskaUnalaska
3    2026-3 UngaUnga
2  2028-9 AsianAsian
3    2029-7 Asian IndianAsian Indian
3    2030-5 BangladeshiBangladeshi
3    2031-3 BhutaneseBhutanese
3    2032-1 BurmeseBurmese
3    2033-9 CambodianCambodian
3    2034-7 ChineseChinese
3    2035-4 TaiwaneseTaiwanese
3    2036-2 FilipinoFilipino
3    2037-0 HmongHmong
3    2038-8 IndonesianIndonesian
3    2039-6 JapaneseJapanese
3    2040-4 KoreanKorean
3    2041-2 LaotianLaotian
3    2042-0 MalaysianMalaysian
3    2043-8 OkinawanOkinawan
3    2044-6 PakistaniPakistani
3    2045-3 Sri LankanSri Lankan
3    2046-1 ThaiThai
3    2047-9 VietnameseVietnamese
3    2048-7 Iwo JimanIwo Jiman
3    2049-5 MaldivianMaldivian
3    2050-3 NepaleseNepalese
3    2051-1 SingaporeanSingaporean
3    2052-9 MadagascarMadagascar
2  2054-5 Black or African AmericanBlack or African American
3    2056-0 BlackBlack
3    2058-6 African AmericanAfrican American
3    2060-2 AfricanAfrican
3    2067-7 BahamianBahamian
3    2068-5 BarbadianBarbadian
3    2069-3 DominicanDominican
3    2070-1 Dominica IslanderDominica Islander
3    2071-9 HaitianHaitian
3    2072-7 JamaicanJamaican
3    2073-5 TobagoanTobagoan
3    2074-3 TrinidadianTrinidadian
3    2075-0 West IndianWest Indian
3    2061-0 BotswananBotswanan
3    2062-8 EthiopianEthiopian
3    2063-6 LiberianLiberian
3    2064-4 NamibianNamibian
3    2065-1 NigerianNigerian
3    2066-9 ZaireanZairean
2  2076-8 Native Hawaiian or Other Pacific IslanderNative Hawaiian or Other Pacific Islander
3    2078-4 PolynesianPolynesian
3    2085-9 MicronesianMicronesian
3    2100-6 MelanesianMelanesian
3    2500-7 Other Pacific IslanderOther Pacific Islander
3    2079-2 Native HawaiianNative Hawaiian
3    2080-0 SamoanSamoan
3    2081-8 TahitianTahitian
3    2082-6 TonganTongan
3    2083-4 TokelauanTokelauan
3    2086-7 Guamanian or ChamorroGuamanian or Chamorro
3    2087-5 GuamanianGuamanian
3    2088-3 ChamorroChamorro
3    2089-1 Mariana IslanderMariana Islander
3    2090-9 MarshalleseMarshallese
3    2091-7 PalauanPalauan
3    2092-5 CarolinianCarolinian
3    2093-3 KosraeanKosraean
3    2094-1 PohnpeianPohnpeian
3    2095-8 SaipaneseSaipanese
3    2096-6 KiribatiKiribati
3    2097-4 ChuukeseChuukese
3    2098-2 YapeseYapese
3    2101-4 FijianFijian
3    2102-2 Papua New GuineanPapua New Guinean
3    2103-0 Solomon IslanderSolomon Islander
3    2104-8 New HebridesNew Hebrides
2  2106-3 WhiteWhite
3    2108-9 EuropeanEuropean
3    2118-8 Middle Eastern or North AfricanMiddle Eastern or North African
3    2129-5 ArabArab
3    2109-7 ArmenianArmenian
3    2110-5 EnglishEnglish
3    2111-3 FrenchFrench
3    2112-1 GermanGerman
3    2113-9 IrishIrish
3    2114-7 ItalianItalian
3    2115-4 PolishPolish
3    2116-2 ScottishScottish
3    2119-6 AssyrianAssyrian
3    2120-4 EgyptianEgyptian
3    2121-2 IranianIranian
3    2122-0 IraqiIraqi
3    2123-8 LebaneseLebanese
3    2124-6 PalestinianPalestinian
3    2125-3 SyrianSyrian
3    2126-1 AfghanistaniAfghanistani
3    2127-9 IsraeiliIsraeili
2  2131-1 Other RaceNote that this term remains in the table for completeness, even though within HL7, the notion of Other code is deprecated.
12133-7 EthnicityEthnicity Note that this is an abstract 'grouping' concept and not for use as a real concept
2  2135-2 Hispanic or LatinoHispanic or Latino
3    2137-8 SpaniardSpaniard
3    2148-5 MexicanMexican
3    2155-0 Central AmericanCentral American
3    2165-9 South AmericanSouth American
3    2178-2 Latin AmericanLatin American
3    2180-8 Puerto RicanPuerto Rican
3    2182-4 CubanCuban
3    2184-0 DominicanDominican
3    2138-6 AndalusianAndalusian
3    2139-4 AsturianAsturian
3    2140-2 CastillianCastillian
3    2141-0 CatalonianCatalonian
3    2142-8 Belearic IslanderBelearic Islander
3    2143-6 GallegoGallego
3    2144-4 ValencianValencian
3    2145-1 CanarianCanarian
3    2146-9 Spanish BasqueSpanish Basque
3    2149-3 Mexican AmericanMexican American
3    2150-1 MexicanoMexicano
3    2151-9 ChicanoChicano
3    2152-7 La RazaLa Raza
3    2153-5 Mexican American IndianMexican American Indian
3    2156-8 Costa RicanCosta Rican
3    2157-6 GuatemalanGuatemalan
3    2158-4 HonduranHonduran
3    2159-2 NicaraguanNicaraguan
3    2160-0 PanamanianPanamanian
3    2161-8 SalvadoranSalvadoran
3    2162-6 Central American IndianCentral American Indian
3    2163-4 Canal ZoneCanal Zone
3    2166-7 ArgentineanArgentinean
3    2167-5 BolivianBolivian
3    2168-3 ChileanChilean
3    2169-1 ColombianColombian
3    2170-9 EcuadorianEcuadorian
3    2171-7 ParaguayanParaguayan
3    2172-5 PeruvianPeruvian
3    2173-3 UruguayanUruguayan
3    2174-1 VenezuelanVenezuelan
3    2175-8 South American IndianSouth American Indian
3    2176-6 CriolloCriollo
2  2186-5 Not Hispanic or LatinoNote that this term remains in the table for completeness, even though within HL7, the notion of "not otherwise coded" term is deprecated.
" + }, + "url": "urn:oid:2.16.840.1.113883.6.238", + "identifier": [ + { + "value": "2.16.840.1.113883.6.238" + } + ], + "version": "3.1.0", + "name": "RaceAndEthnicityCDC", + "title": "Race & Ethnicity - CDC", + "status": "active", + "experimental": false, + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org" + } + ] + } + ], + "description": " The U.S. Centers for Disease Control and Prevention (CDC) has prepared a code set for use in codingrace and ethnicity data. This code set is based on current federal standards for classifying data onrace and ethnicity, specifically the minimum race and ethnicity categories defined by the U.S. Office ofManagement and Budget (OMB) and a more detailed set of race and ethnicity categories maintainedby the U.S. Bureau of the Census (BC). The main purpose of the code set is to facilitate use of federalstandards for classifying data on race and ethnicity when these data are exchanged, stored, retrieved,or analyzed in electronic form. At the same time, the code set can be applied to paper-based recordsystems to the extent that these systems are used to collect, maintain, and report data on race andethnicity in accordance with current federal standards. Source: [Race and Ethnicity Code Set Version 1.0](https://www.cdc.gov/phin/resources/vocabulary/documents/cdc-race--ethnicity-background-and-purpose.pdf).", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "caseSensitive": true, + "hierarchyMeaning": "is-a", + "content": "complete", + "count": 966, + "property": [ + { + "code": "abstract", + "description": "True if an element is considered 'abstract' - in other words, the code is not for use as a real concept", + "type": "boolean" + } + ], + "concept": [ + { + "code": "1000-9", + "display": "Race", + "definition": "Race, Note that this is an abstract 'grouping' concept and not for use as a real concept", + "property": [ + { + "code": "abstract", + "valueBoolean": true + } + ], + "concept": [ + { + "code": "1002-5", + "display": "American Indian or Alaska Native", + "definition": "American Indian or Alaska Native", + "concept": [ + { + "code": "1004-1", + "display": "American Indian", + "definition": "American Indian" + }, + { + "code": "1735-0", + "display": "Alaska Native", + "definition": "Alaska Native" + }, + { + "code": "1006-6", + "display": "Abenaki", + "definition": "Abenaki" + }, + { + "code": "1008-2", + "display": "Algonquian", + "definition": "Algonquian" + }, + { + "code": "1010-8", + "display": "Apache", + "definition": "Apache" + }, + { + "code": "1021-5", + "display": "Arapaho", + "definition": "Arapaho" + }, + { + "code": "1026-4", + "display": "Arikara", + "definition": "Arikara" + }, + { + "code": "1028-0", + "display": "Assiniboine", + "definition": "Assiniboine" + }, + { + "code": "1030-6", + "display": "Assiniboine Sioux", + "definition": "Assiniboine Sioux" + }, + { + "code": "1033-0", + "display": "Bannock", + "definition": "Bannock" + }, + { + "code": "1035-5", + "display": "Blackfeet", + "definition": "Blackfeet" + }, + { + "code": "1037-1", + "display": "Brotherton", + "definition": "Brotherton" + }, + { + "code": "1039-7", + "display": "Burt Lake Band", + "definition": "Burt Lake Band" + }, + { + "code": "1041-3", + "display": "Caddo", + "definition": "Caddo" + }, + { + "code": "1044-7", + "display": "Cahuilla", + "definition": "Cahuilla" + }, + { + "code": "1053-8", + "display": "California Tribes", + "definition": "California Tribes" + }, + { + "code": "1068-6", + "display": "Canadian and Latin American Indian", + "definition": "Canadian and Latin American Indian" + }, + { + "code": "1076-9", + "display": "Catawba", + "definition": "Catawba" + }, + { + "code": "1078-5", + "display": "Cayuse", + "definition": "Cayuse" + }, + { + "code": "1080-1", + "display": "Chehalis", + "definition": "Chehalis" + }, + { + "code": "1082-7", + "display": "Chemakuan", + "definition": "Chemakuan" + }, + { + "code": "1086-8", + "display": "Chemehuevi", + "definition": "Chemehuevi" + }, + { + "code": "1088-4", + "display": "Cherokee", + "definition": "Cherokee" + }, + { + "code": "1100-7", + "display": "Cherokee Shawnee", + "definition": "Cherokee Shawnee" + }, + { + "code": "1102-3", + "display": "Cheyenne", + "definition": "Cheyenne" + }, + { + "code": "1106-4", + "display": "Cheyenne-Arapaho", + "definition": "Cheyenne-Arapaho" + }, + { + "code": "1108-0", + "display": "Chickahominy", + "definition": "Chickahominy" + }, + { + "code": "1112-2", + "display": "Chickasaw", + "definition": "Chickasaw" + }, + { + "code": "1114-8", + "display": "Chinook", + "definition": "Chinook" + }, + { + "code": "1123-9", + "display": "Chippewa", + "definition": "Chippewa" + }, + { + "code": "1150-2", + "display": "Chippewa Cree", + "definition": "Chippewa Cree" + }, + { + "code": "1153-6", + "display": "Chitimacha", + "definition": "Chitimacha" + }, + { + "code": "1155-1", + "display": "Choctaw", + "definition": "Choctaw" + }, + { + "code": "1162-7", + "display": "Chumash", + "definition": "Chumash" + }, + { + "code": "1165-0", + "display": "Clear Lake", + "definition": "Clear Lake" + }, + { + "code": "1167-6", + "display": "Coeur D'Alene", + "definition": "Coeur D'Alene" + }, + { + "code": "1169-2", + "display": "Coharie", + "definition": "Coharie" + }, + { + "code": "1171-8", + "display": "Colorado River", + "definition": "Colorado River" + }, + { + "code": "1173-4", + "display": "Colville", + "definition": "Colville" + }, + { + "code": "1175-9", + "display": "Comanche", + "definition": "Comanche" + }, + { + "code": "1178-3", + "display": "Coos, Lower Umpqua, Siuslaw", + "definition": "Coos, Lower Umpqua, Siuslaw" + }, + { + "code": "1180-9", + "display": "Coos", + "definition": "Coos" + }, + { + "code": "1182-5", + "display": "Coquilles", + "definition": "Coquilles" + }, + { + "code": "1184-1", + "display": "Costanoan", + "definition": "Costanoan" + }, + { + "code": "1186-6", + "display": "Coushatta", + "definition": "Coushatta" + }, + { + "code": "1189-0", + "display": "Cowlitz", + "definition": "Cowlitz" + }, + { + "code": "1191-6", + "display": "Cree", + "definition": "Cree" + }, + { + "code": "1193-2", + "display": "Creek", + "definition": "Creek" + }, + { + "code": "1207-0", + "display": "Croatan", + "definition": "Croatan" + }, + { + "code": "1209-6", + "display": "Crow", + "definition": "Crow" + }, + { + "code": "1211-2", + "display": "Cupeno", + "definition": "Cupeno" + }, + { + "code": "1214-6", + "display": "Delaware", + "definition": "Delaware" + }, + { + "code": "1222-9", + "display": "Diegueno", + "definition": "Diegueno" + }, + { + "code": "1233-6", + "display": "Eastern Tribes", + "definition": "Eastern Tribes" + }, + { + "code": "1250-0", + "display": "Esselen", + "definition": "Esselen" + }, + { + "code": "1252-6", + "display": "Fort Belknap", + "definition": "Fort Belknap" + }, + { + "code": "1254-2", + "display": "Fort Berthold", + "definition": "Fort Berthold" + }, + { + "code": "1256-7", + "display": "Fort Mcdowell", + "definition": "Fort Mcdowell" + }, + { + "code": "1258-3", + "display": "Fort Hall", + "definition": "Fort Hall" + }, + { + "code": "1260-9", + "display": "Gabrieleno", + "definition": "Gabrieleno" + }, + { + "code": "1262-5", + "display": "Grand Ronde", + "definition": "Grand Ronde" + }, + { + "code": "1264-1", + "display": "Gros Ventres", + "definition": "Gros Ventres" + }, + { + "code": "1267-4", + "display": "Haliwa", + "definition": "Haliwa" + }, + { + "code": "1269-0", + "display": "Hidatsa", + "definition": "Hidatsa" + }, + { + "code": "1271-6", + "display": "Hoopa", + "definition": "Hoopa" + }, + { + "code": "1275-7", + "display": "Hoopa Extension", + "definition": "Hoopa Extension" + }, + { + "code": "1277-3", + "display": "Houma", + "definition": "Houma" + }, + { + "code": "1279-9", + "display": "Inaja-Cosmit", + "definition": "Inaja-Cosmit" + }, + { + "code": "1281-5", + "display": "Iowa", + "definition": "Iowa" + }, + { + "code": "1285-6", + "display": "Iroquois", + "definition": "Iroquois" + }, + { + "code": "1297-1", + "display": "Juaneno", + "definition": "Juaneno" + }, + { + "code": "1299-7", + "display": "Kalispel", + "definition": "Kalispel" + }, + { + "code": "1301-1", + "display": "Karuk", + "definition": "Karuk" + }, + { + "code": "1303-7", + "display": "Kaw", + "definition": "Kaw" + }, + { + "code": "1305-2", + "display": "Kickapoo", + "definition": "Kickapoo" + }, + { + "code": "1309-4", + "display": "Kiowa", + "definition": "Kiowa" + }, + { + "code": "1312-8", + "display": "Klallam", + "definition": "Klallam" + }, + { + "code": "1317-7", + "display": "Klamath", + "definition": "Klamath" + }, + { + "code": "1319-3", + "display": "Konkow", + "definition": "Konkow" + }, + { + "code": "1321-9", + "display": "Kootenai", + "definition": "Kootenai" + }, + { + "code": "1323-5", + "display": "Lassik", + "definition": "Lassik" + }, + { + "code": "1325-0", + "display": "Long Island", + "definition": "Long Island" + }, + { + "code": "1331-8", + "display": "Luiseno", + "definition": "Luiseno" + }, + { + "code": "1340-9", + "display": "Lumbee", + "definition": "Lumbee" + }, + { + "code": "1342-5", + "display": "Lummi", + "definition": "Lummi" + }, + { + "code": "1344-1", + "display": "Maidu", + "definition": "Maidu" + }, + { + "code": "1348-2", + "display": "Makah", + "definition": "Makah" + }, + { + "code": "1350-8", + "display": "Maliseet", + "definition": "Maliseet" + }, + { + "code": "1352-4", + "display": "Mandan", + "definition": "Mandan" + }, + { + "code": "1354-0", + "display": "Mattaponi", + "definition": "Mattaponi" + }, + { + "code": "1356-5", + "display": "Menominee", + "definition": "Menominee" + }, + { + "code": "1358-1", + "display": "Miami", + "definition": "Miami" + }, + { + "code": "1363-1", + "display": "Miccosukee", + "definition": "Miccosukee" + }, + { + "code": "1365-6", + "display": "Micmac", + "definition": "Micmac" + }, + { + "code": "1368-0", + "display": "Mission Indians", + "definition": "Mission Indians" + }, + { + "code": "1370-6", + "display": "Miwok", + "definition": "Miwok" + }, + { + "code": "1372-2", + "display": "Modoc", + "definition": "Modoc" + }, + { + "code": "1374-8", + "display": "Mohegan", + "definition": "Mohegan" + }, + { + "code": "1376-3", + "display": "Mono", + "definition": "Mono" + }, + { + "code": "1378-9", + "display": "Nanticoke", + "definition": "Nanticoke" + }, + { + "code": "1380-5", + "display": "Narragansett", + "definition": "Narragansett" + }, + { + "code": "1382-1", + "display": "Navajo", + "definition": "Navajo" + }, + { + "code": "1387-0", + "display": "Nez Perce", + "definition": "Nez Perce" + }, + { + "code": "1389-6", + "display": "Nomalaki", + "definition": "Nomalaki" + }, + { + "code": "1391-2", + "display": "Northwest Tribes", + "definition": "Northwest Tribes" + }, + { + "code": "1403-5", + "display": "Omaha", + "definition": "Omaha" + }, + { + "code": "1405-0", + "display": "Oregon Athabaskan", + "definition": "Oregon Athabaskan" + }, + { + "code": "1407-6", + "display": "Osage", + "definition": "Osage" + }, + { + "code": "1409-2", + "display": "Otoe-Missouria", + "definition": "Otoe-Missouria" + }, + { + "code": "1411-8", + "display": "Ottawa", + "definition": "Ottawa" + }, + { + "code": "1416-7", + "display": "Paiute", + "definition": "Paiute" + }, + { + "code": "1439-9", + "display": "Pamunkey", + "definition": "Pamunkey" + }, + { + "code": "1441-5", + "display": "Passamaquoddy", + "definition": "Passamaquoddy" + }, + { + "code": "1445-6", + "display": "Pawnee", + "definition": "Pawnee" + }, + { + "code": "1448-0", + "display": "Penobscot", + "definition": "Penobscot" + }, + { + "code": "1450-6", + "display": "Peoria", + "definition": "Peoria" + }, + { + "code": "1453-0", + "display": "Pequot", + "definition": "Pequot" + }, + { + "code": "1456-3", + "display": "Pima", + "definition": "Pima" + }, + { + "code": "1460-5", + "display": "Piscataway", + "definition": "Piscataway" + }, + { + "code": "1462-1", + "display": "Pit River", + "definition": "Pit River" + }, + { + "code": "1464-7", + "display": "Pomo", + "definition": "Pomo" + }, + { + "code": "1474-6", + "display": "Ponca", + "definition": "Ponca" + }, + { + "code": "1478-7", + "display": "Potawatomi", + "definition": "Potawatomi" + }, + { + "code": "1487-8", + "display": "Powhatan", + "definition": "Powhatan" + }, + { + "code": "1489-4", + "display": "Pueblo", + "definition": "Pueblo" + }, + { + "code": "1518-0", + "display": "Puget Sound Salish", + "definition": "Puget Sound Salish" + }, + { + "code": "1541-2", + "display": "Quapaw", + "definition": "Quapaw" + }, + { + "code": "1543-8", + "display": "Quinault", + "definition": "Quinault" + }, + { + "code": "1545-3", + "display": "Rappahannock", + "definition": "Rappahannock" + }, + { + "code": "1547-9", + "display": "Reno-Sparks", + "definition": "Reno-Sparks" + }, + { + "code": "1549-5", + "display": "Round Valley", + "definition": "Round Valley" + }, + { + "code": "1551-1", + "display": "Sac and Fox", + "definition": "Sac and Fox" + }, + { + "code": "1556-0", + "display": "Salinan", + "definition": "Salinan" + }, + { + "code": "1558-6", + "display": "Salish", + "definition": "Salish" + }, + { + "code": "1560-2", + "display": "Salish and Kootenai", + "definition": "Salish and Kootenai" + }, + { + "code": "1562-8", + "display": "Schaghticoke", + "definition": "Schaghticoke" + }, + { + "code": "1564-4", + "display": "Scott Valley", + "definition": "Scott Valley" + }, + { + "code": "1566-9", + "display": "Seminole", + "definition": "Seminole" + }, + { + "code": "1573-5", + "display": "Serrano", + "definition": "Serrano" + }, + { + "code": "1576-8", + "display": "Shasta", + "definition": "Shasta" + }, + { + "code": "1578-4", + "display": "Shawnee", + "definition": "Shawnee" + }, + { + "code": "1582-6", + "display": "Shinnecock", + "definition": "Shinnecock" + }, + { + "code": "1584-2", + "display": "Shoalwater Bay", + "definition": "Shoalwater Bay" + }, + { + "code": "1586-7", + "display": "Shoshone", + "definition": "Shoshone" + }, + { + "code": "1602-2", + "display": "Shoshone Paiute", + "definition": "Shoshone Paiute" + }, + { + "code": "1607-1", + "display": "Siletz", + "definition": "Siletz" + }, + { + "code": "1609-7", + "display": "Sioux", + "definition": "Sioux" + }, + { + "code": "1643-6", + "display": "Siuslaw", + "definition": "Siuslaw" + }, + { + "code": "1645-1", + "display": "Spokane", + "definition": "Spokane" + }, + { + "code": "1647-7", + "display": "Stewart", + "definition": "Stewart" + }, + { + "code": "1649-3", + "display": "Stockbridge", + "definition": "Stockbridge" + }, + { + "code": "1651-9", + "display": "Susanville", + "definition": "Susanville" + }, + { + "code": "1653-5", + "display": "Tohono O'Odham", + "definition": "Tohono O'Odham" + }, + { + "code": "1659-2", + "display": "Tolowa", + "definition": "Tolowa" + }, + { + "code": "1661-8", + "display": "Tonkawa", + "definition": "Tonkawa" + }, + { + "code": "1663-4", + "display": "Tygh", + "definition": "Tygh" + }, + { + "code": "1665-9", + "display": "Umatilla", + "definition": "Umatilla" + }, + { + "code": "1667-5", + "display": "Umpqua", + "definition": "Umpqua" + }, + { + "code": "1670-9", + "display": "Ute", + "definition": "Ute" + }, + { + "code": "1675-8", + "display": "Wailaki", + "definition": "Wailaki" + }, + { + "code": "1677-4", + "display": "Walla-Walla", + "definition": "Walla-Walla" + }, + { + "code": "1679-0", + "display": "Wampanoag", + "definition": "Wampanoag" + }, + { + "code": "1683-2", + "display": "Warm Springs", + "definition": "Warm Springs" + }, + { + "code": "1685-7", + "display": "Wascopum", + "definition": "Wascopum" + }, + { + "code": "1687-3", + "display": "Washoe", + "definition": "Washoe" + }, + { + "code": "1692-3", + "display": "Wichita", + "definition": "Wichita" + }, + { + "code": "1694-9", + "display": "Wind River", + "definition": "Wind River" + }, + { + "code": "1696-4", + "display": "Winnebago", + "definition": "Winnebago" + }, + { + "code": "1700-4", + "display": "Winnemucca", + "definition": "Winnemucca" + }, + { + "code": "1702-0", + "display": "Wintun", + "definition": "Wintun" + }, + { + "code": "1704-6", + "display": "Wiyot", + "definition": "Wiyot" + }, + { + "code": "1707-9", + "display": "Yakama", + "definition": "Yakama" + }, + { + "code": "1709-5", + "display": "Yakama Cowlitz", + "definition": "Yakama Cowlitz" + }, + { + "code": "1711-1", + "display": "Yaqui", + "definition": "Yaqui" + }, + { + "code": "1715-2", + "display": "Yavapai Apache", + "definition": "Yavapai Apache" + }, + { + "code": "1717-8", + "display": "Yokuts", + "definition": "Yokuts" + }, + { + "code": "1722-8", + "display": "Yuchi", + "definition": "Yuchi" + }, + { + "code": "1724-4", + "display": "Yuman", + "definition": "Yuman" + }, + { + "code": "1732-7", + "display": "Yurok", + "definition": "Yurok" + }, + { + "code": "1011-6", + "display": "Chiricahua", + "definition": "Chiricahua" + }, + { + "code": "1012-4", + "display": "Fort Sill Apache", + "definition": "Fort Sill Apache" + }, + { + "code": "1013-2", + "display": "Jicarilla Apache", + "definition": "Jicarilla Apache" + }, + { + "code": "1014-0", + "display": "Lipan Apache", + "definition": "Lipan Apache" + }, + { + "code": "1015-7", + "display": "Mescalero Apache", + "definition": "Mescalero Apache" + }, + { + "code": "1016-5", + "display": "Oklahoma Apache", + "definition": "Oklahoma Apache" + }, + { + "code": "1017-3", + "display": "Payson Apache", + "definition": "Payson Apache" + }, + { + "code": "1018-1", + "display": "San Carlos Apache", + "definition": "San Carlos Apache" + }, + { + "code": "1019-9", + "display": "White Mountain Apache", + "definition": "White Mountain Apache" + }, + { + "code": "1022-3", + "display": "Northern Arapaho", + "definition": "Northern Arapaho" + }, + { + "code": "1023-1", + "display": "Southern Arapaho", + "definition": "Southern Arapaho" + }, + { + "code": "1024-9", + "display": "Wind River Arapaho", + "definition": "Wind River Arapaho" + }, + { + "code": "1031-4", + "display": "Fort Peck Assiniboine Sioux", + "definition": "Fort Peck Assiniboine Sioux" + }, + { + "code": "1042-1", + "display": "Oklahoma Cado", + "definition": "Oklahoma Cado" + }, + { + "code": "1045-4", + "display": "Agua Caliente Cahuilla", + "definition": "Agua Caliente Cahuilla" + }, + { + "code": "1046-2", + "display": "Augustine", + "definition": "Augustine" + }, + { + "code": "1047-0", + "display": "Cabazon", + "definition": "Cabazon" + }, + { + "code": "1048-8", + "display": "Los Coyotes", + "definition": "Los Coyotes" + }, + { + "code": "1049-6", + "display": "Morongo", + "definition": "Morongo" + }, + { + "code": "1050-4", + "display": "Santa Rosa Cahuilla", + "definition": "Santa Rosa Cahuilla" + }, + { + "code": "1051-2", + "display": "Torres-Martinez", + "definition": "Torres-Martinez" + }, + { + "code": "1054-6", + "display": "Cahto", + "definition": "Cahto" + }, + { + "code": "1055-3", + "display": "Chimariko", + "definition": "Chimariko" + }, + { + "code": "1056-1", + "display": "Coast Miwok", + "definition": "Coast Miwok" + }, + { + "code": "1057-9", + "display": "Digger", + "definition": "Digger" + }, + { + "code": "1058-7", + "display": "Kawaiisu", + "definition": "Kawaiisu" + }, + { + "code": "1059-5", + "display": "Kern River", + "definition": "Kern River" + }, + { + "code": "1060-3", + "display": "Mattole", + "definition": "Mattole" + }, + { + "code": "1061-1", + "display": "Red Wood", + "definition": "Red Wood" + }, + { + "code": "1062-9", + "display": "Santa Rosa", + "definition": "Santa Rosa" + }, + { + "code": "1063-7", + "display": "Takelma", + "definition": "Takelma" + }, + { + "code": "1064-5", + "display": "Wappo", + "definition": "Wappo" + }, + { + "code": "1065-2", + "display": "Yana", + "definition": "Yana" + }, + { + "code": "1066-0", + "display": "Yuki", + "definition": "Yuki" + }, + { + "code": "1069-4", + "display": "Canadian Indian", + "definition": "Canadian Indian" + }, + { + "code": "1070-2", + "display": "Central American Indian", + "definition": "Central American Indian" + }, + { + "code": "1071-0", + "display": "French American Indian", + "definition": "French American Indian" + }, + { + "code": "1072-8", + "display": "Mexican American Indian", + "definition": "Mexican American Indian" + }, + { + "code": "1073-6", + "display": "South American Indian", + "definition": "South American Indian" + }, + { + "code": "1074-4", + "display": "Spanish American Indian", + "definition": "Spanish American Indian" + }, + { + "code": "1083-5", + "display": "Hoh", + "definition": "Hoh" + }, + { + "code": "1084-3", + "display": "Quileute", + "definition": "Quileute" + }, + { + "code": "1089-2", + "display": "Cherokee Alabama", + "definition": "Cherokee Alabama" + }, + { + "code": "1090-0", + "display": "Cherokees of Northeast Alabama", + "definition": "Cherokees of Northeast Alabama" + }, + { + "code": "1091-8", + "display": "Cherokees of Southeast Alabama", + "definition": "Cherokees of Southeast Alabama" + }, + { + "code": "1092-6", + "display": "Eastern Cherokee", + "definition": "Eastern Cherokee" + }, + { + "code": "1093-4", + "display": "Echota Cherokee", + "definition": "Echota Cherokee" + }, + { + "code": "1094-2", + "display": "Etowah Cherokee", + "definition": "Etowah Cherokee" + }, + { + "code": "1095-9", + "display": "Northern Cherokee", + "definition": "Northern Cherokee" + }, + { + "code": "1096-7", + "display": "Tuscola", + "definition": "Tuscola" + }, + { + "code": "1097-5", + "display": "United Keetowah Band of Cherokee", + "definition": "United Keetowah Band of Cherokee" + }, + { + "code": "1098-3", + "display": "Western Cherokee", + "definition": "Western Cherokee" + }, + { + "code": "1103-1", + "display": "Northern Cheyenne", + "definition": "Northern Cheyenne" + }, + { + "code": "1104-9", + "display": "Southern Cheyenne", + "definition": "Southern Cheyenne" + }, + { + "code": "1109-8", + "display": "Eastern Chickahominy", + "definition": "Eastern Chickahominy" + }, + { + "code": "1110-6", + "display": "Western Chickahominy", + "definition": "Western Chickahominy" + }, + { + "code": "1115-5", + "display": "Clatsop", + "definition": "Clatsop" + }, + { + "code": "1116-3", + "display": "Columbia River Chinook", + "definition": "Columbia River Chinook" + }, + { + "code": "1117-1", + "display": "Kathlamet", + "definition": "Kathlamet" + }, + { + "code": "1118-9", + "display": "Upper Chinook", + "definition": "Upper Chinook" + }, + { + "code": "1119-7", + "display": "Wakiakum Chinook", + "definition": "Wakiakum Chinook" + }, + { + "code": "1120-5", + "display": "Willapa Chinook", + "definition": "Willapa Chinook" + }, + { + "code": "1121-3", + "display": "Wishram", + "definition": "Wishram" + }, + { + "code": "1124-7", + "display": "Bad River", + "definition": "Bad River" + }, + { + "code": "1125-4", + "display": "Bay Mills Chippewa", + "definition": "Bay Mills Chippewa" + }, + { + "code": "1126-2", + "display": "Bois Forte", + "definition": "Bois Forte" + }, + { + "code": "1127-0", + "display": "Burt Lake Chippewa", + "definition": "Burt Lake Chippewa" + }, + { + "code": "1128-8", + "display": "Fond du Lac", + "definition": "Fond du Lac" + }, + { + "code": "1129-6", + "display": "Grand Portage", + "definition": "Grand Portage" + }, + { + "code": "1130-4", + "display": "Grand Traverse Band of Ottawa/Chippewa", + "definition": "Grand Traverse Band of Ottawa/Chippewa" + }, + { + "code": "1131-2", + "display": "Keweenaw", + "definition": "Keweenaw" + }, + { + "code": "1132-0", + "display": "Lac Courte Oreilles", + "definition": "Lac Courte Oreilles" + }, + { + "code": "1133-8", + "display": "Lac du Flambeau", + "definition": "Lac du Flambeau" + }, + { + "code": "1134-6", + "display": "Lac Vieux Desert Chippewa", + "definition": "Lac Vieux Desert Chippewa" + }, + { + "code": "1135-3", + "display": "Lake Superior", + "definition": "Lake Superior" + }, + { + "code": "1136-1", + "display": "Leech Lake", + "definition": "Leech Lake" + }, + { + "code": "1137-9", + "display": "Little Shell Chippewa", + "definition": "Little Shell Chippewa" + }, + { + "code": "1138-7", + "display": "Mille Lacs", + "definition": "Mille Lacs" + }, + { + "code": "1139-5", + "display": "Minnesota Chippewa", + "definition": "Minnesota Chippewa" + }, + { + "code": "1140-3", + "display": "Ontonagon", + "definition": "Ontonagon" + }, + { + "code": "1141-1", + "display": "Red Cliff Chippewa", + "definition": "Red Cliff Chippewa" + }, + { + "code": "1142-9", + "display": "Red Lake Chippewa", + "definition": "Red Lake Chippewa" + }, + { + "code": "1143-7", + "display": "Saginaw Chippewa", + "definition": "Saginaw Chippewa" + }, + { + "code": "1144-5", + "display": "St. Croix Chippewa", + "definition": "St. Croix Chippewa" + }, + { + "code": "1145-2", + "display": "Sault Ste. Marie Chippewa", + "definition": "Sault Ste. Marie Chippewa" + }, + { + "code": "1146-0", + "display": "Sokoagon Chippewa", + "definition": "Sokoagon Chippewa" + }, + { + "code": "1147-8", + "display": "Turtle Mountain", + "definition": "Turtle Mountain" + }, + { + "code": "1148-6", + "display": "White Earth", + "definition": "White Earth" + }, + { + "code": "1151-0", + "display": "Rocky Boy's Chippewa Cree", + "definition": "Rocky Boy's Chippewa Cree" + }, + { + "code": "1156-9", + "display": "Clifton Choctaw", + "definition": "Clifton Choctaw" + }, + { + "code": "1157-7", + "display": "Jena Choctaw", + "definition": "Jena Choctaw" + }, + { + "code": "1158-5", + "display": "Mississippi Choctaw", + "definition": "Mississippi Choctaw" + }, + { + "code": "1159-3", + "display": "Mowa Band of Choctaw", + "definition": "Mowa Band of Choctaw" + }, + { + "code": "1160-1", + "display": "Oklahoma Choctaw", + "definition": "Oklahoma Choctaw" + }, + { + "code": "1163-5", + "display": "Santa Ynez", + "definition": "Santa Ynez" + }, + { + "code": "1176-7", + "display": "Oklahoma Comanche", + "definition": "Oklahoma Comanche" + }, + { + "code": "1187-4", + "display": "Alabama Coushatta", + "definition": "Alabama Coushatta" + }, + { + "code": "1194-0", + "display": "Alabama Creek", + "definition": "Alabama Creek" + }, + { + "code": "1195-7", + "display": "Alabama Quassarte", + "definition": "Alabama Quassarte" + }, + { + "code": "1196-5", + "display": "Eastern Creek", + "definition": "Eastern Creek" + }, + { + "code": "1197-3", + "display": "Eastern Muscogee", + "definition": "Eastern Muscogee" + }, + { + "code": "1198-1", + "display": "Kialegee", + "definition": "Kialegee" + }, + { + "code": "1199-9", + "display": "Lower Muscogee", + "definition": "Lower Muscogee" + }, + { + "code": "1200-5", + "display": "Machis Lower Creek Indian", + "definition": "Machis Lower Creek Indian" + }, + { + "code": "1201-3", + "display": "Poarch Band", + "definition": "Poarch Band" + }, + { + "code": "1202-1", + "display": "Principal Creek Indian Nation", + "definition": "Principal Creek Indian Nation" + }, + { + "code": "1203-9", + "display": "Star Clan of Muscogee Creeks", + "definition": "Star Clan of Muscogee Creeks" + }, + { + "code": "1204-7", + "display": "Thlopthlocco", + "definition": "Thlopthlocco" + }, + { + "code": "1205-4", + "display": "Tuckabachee", + "definition": "Tuckabachee" + }, + { + "code": "1212-0", + "display": "Agua Caliente", + "definition": "Agua Caliente" + }, + { + "code": "1215-3", + "display": "Eastern Delaware", + "definition": "Eastern Delaware" + }, + { + "code": "1216-1", + "display": "Lenni-Lenape", + "definition": "Lenni-Lenape" + }, + { + "code": "1217-9", + "display": "Munsee", + "definition": "Munsee" + }, + { + "code": "1218-7", + "display": "Oklahoma Delaware", + "definition": "Oklahoma Delaware" + }, + { + "code": "1219-5", + "display": "Rampough Mountain", + "definition": "Rampough Mountain" + }, + { + "code": "1220-3", + "display": "Sand Hill", + "definition": "Sand Hill" + }, + { + "code": "1223-7", + "display": "Campo", + "definition": "Campo" + }, + { + "code": "1224-5", + "display": "Capitan Grande", + "definition": "Capitan Grande" + }, + { + "code": "1225-2", + "display": "Cuyapaipe", + "definition": "Cuyapaipe" + }, + { + "code": "1226-0", + "display": "La Posta", + "definition": "La Posta" + }, + { + "code": "1227-8", + "display": "Manzanita", + "definition": "Manzanita" + }, + { + "code": "1228-6", + "display": "Mesa Grande", + "definition": "Mesa Grande" + }, + { + "code": "1229-4", + "display": "San Pasqual", + "definition": "San Pasqual" + }, + { + "code": "1230-2", + "display": "Santa Ysabel", + "definition": "Santa Ysabel" + }, + { + "code": "1231-0", + "display": "Sycuan", + "definition": "Sycuan" + }, + { + "code": "1234-4", + "display": "Attacapa", + "definition": "Attacapa" + }, + { + "code": "1235-1", + "display": "Biloxi", + "definition": "Biloxi" + }, + { + "code": "1236-9", + "display": "Georgetown (Eastern Tribes)", + "definition": "Georgetown (Eastern Tribes)" + }, + { + "code": "1237-7", + "display": "Moor", + "definition": "Moor" + }, + { + "code": "1238-5", + "display": "Nansemond", + "definition": "Nansemond" + }, + { + "code": "1239-3", + "display": "Natchez", + "definition": "Natchez" + }, + { + "code": "1240-1", + "display": "Nausu Waiwash", + "definition": "Nausu Waiwash" + }, + { + "code": "1241-9", + "display": "Nipmuc", + "definition": "Nipmuc" + }, + { + "code": "1242-7", + "display": "Paugussett", + "definition": "Paugussett" + }, + { + "code": "1243-5", + "display": "Pocomoke Acohonock", + "definition": "Pocomoke Acohonock" + }, + { + "code": "1244-3", + "display": "Southeastern Indians", + "definition": "Southeastern Indians" + }, + { + "code": "1245-0", + "display": "Susquehanock", + "definition": "Susquehanock" + }, + { + "code": "1246-8", + "display": "Tunica Biloxi", + "definition": "Tunica Biloxi" + }, + { + "code": "1247-6", + "display": "Waccamaw-Siousan", + "definition": "Waccamaw-Siousan" + }, + { + "code": "1248-4", + "display": "Wicomico", + "definition": "Wicomico" + }, + { + "code": "1265-8", + "display": "Atsina", + "definition": "Atsina" + }, + { + "code": "1272-4", + "display": "Trinity", + "definition": "Trinity" + }, + { + "code": "1273-2", + "display": "Whilkut", + "definition": "Whilkut" + }, + { + "code": "1282-3", + "display": "Iowa of Kansas-Nebraska", + "definition": "Iowa of Kansas-Nebraska" + }, + { + "code": "1283-1", + "display": "Iowa of Oklahoma", + "definition": "Iowa of Oklahoma" + }, + { + "code": "1286-4", + "display": "Cayuga", + "definition": "Cayuga" + }, + { + "code": "1287-2", + "display": "Mohawk", + "definition": "Mohawk" + }, + { + "code": "1288-0", + "display": "Oneida", + "definition": "Oneida" + }, + { + "code": "1289-8", + "display": "Onondaga", + "definition": "Onondaga" + }, + { + "code": "1290-6", + "display": "Seneca", + "definition": "Seneca" + }, + { + "code": "1291-4", + "display": "Seneca Nation", + "definition": "Seneca Nation" + }, + { + "code": "1292-2", + "display": "Seneca-Cayuga", + "definition": "Seneca-Cayuga" + }, + { + "code": "1293-0", + "display": "Tonawanda Seneca", + "definition": "Tonawanda Seneca" + }, + { + "code": "1294-8", + "display": "Tuscarora", + "definition": "Tuscarora" + }, + { + "code": "1295-5", + "display": "Wyandotte", + "definition": "Wyandotte" + }, + { + "code": "1306-0", + "display": "Oklahoma Kickapoo", + "definition": "Oklahoma Kickapoo" + }, + { + "code": "1307-8", + "display": "Texas Kickapoo", + "definition": "Texas Kickapoo" + }, + { + "code": "1310-2", + "display": "Oklahoma Kiowa", + "definition": "Oklahoma Kiowa" + }, + { + "code": "1313-6", + "display": "Jamestown", + "definition": "Jamestown" + }, + { + "code": "1314-4", + "display": "Lower Elwha", + "definition": "Lower Elwha" + }, + { + "code": "1315-1", + "display": "Port Gamble Klallam", + "definition": "Port Gamble Klallam" + }, + { + "code": "1326-8", + "display": "Matinecock", + "definition": "Matinecock" + }, + { + "code": "1327-6", + "display": "Montauk", + "definition": "Montauk" + }, + { + "code": "1328-4", + "display": "Poospatuck", + "definition": "Poospatuck" + }, + { + "code": "1329-2", + "display": "Setauket", + "definition": "Setauket" + }, + { + "code": "1332-6", + "display": "La Jolla", + "definition": "La Jolla" + }, + { + "code": "1333-4", + "display": "Pala", + "definition": "Pala" + }, + { + "code": "1334-2", + "display": "Pauma", + "definition": "Pauma" + }, + { + "code": "1335-9", + "display": "Pechanga", + "definition": "Pechanga" + }, + { + "code": "1336-7", + "display": "Soboba", + "definition": "Soboba" + }, + { + "code": "1337-5", + "display": "Twenty-Nine Palms", + "definition": "Twenty-Nine Palms" + }, + { + "code": "1338-3", + "display": "Temecula", + "definition": "Temecula" + }, + { + "code": "1345-8", + "display": "Mountain Maidu", + "definition": "Mountain Maidu" + }, + { + "code": "1346-6", + "display": "Nishinam", + "definition": "Nishinam" + }, + { + "code": "1359-9", + "display": "Illinois Miami", + "definition": "Illinois Miami" + }, + { + "code": "1360-7", + "display": "Indiana Miami", + "definition": "Indiana Miami" + }, + { + "code": "1361-5", + "display": "Oklahoma Miami", + "definition": "Oklahoma Miami" + }, + { + "code": "1366-4", + "display": "Aroostook", + "definition": "Aroostook" + }, + { + "code": "1383-9", + "display": "Alamo Navajo", + "definition": "Alamo Navajo" + }, + { + "code": "1384-7", + "display": "Canoncito Navajo", + "definition": "Canoncito Navajo" + }, + { + "code": "1385-4", + "display": "Ramah Navajo", + "definition": "Ramah Navajo" + }, + { + "code": "1392-0", + "display": "Alsea", + "definition": "Alsea" + }, + { + "code": "1393-8", + "display": "Celilo", + "definition": "Celilo" + }, + { + "code": "1394-6", + "display": "Columbia", + "definition": "Columbia" + }, + { + "code": "1395-3", + "display": "Kalapuya", + "definition": "Kalapuya" + }, + { + "code": "1396-1", + "display": "Molala", + "definition": "Molala" + }, + { + "code": "1397-9", + "display": "Talakamish", + "definition": "Talakamish" + }, + { + "code": "1398-7", + "display": "Tenino", + "definition": "Tenino" + }, + { + "code": "1399-5", + "display": "Tillamook", + "definition": "Tillamook" + }, + { + "code": "1400-1", + "display": "Wenatchee", + "definition": "Wenatchee" + }, + { + "code": "1401-9", + "display": "Yahooskin", + "definition": "Yahooskin" + }, + { + "code": "1412-6", + "display": "Burt Lake Ottawa", + "definition": "Burt Lake Ottawa" + }, + { + "code": "1413-4", + "display": "Michigan Ottawa", + "definition": "Michigan Ottawa" + }, + { + "code": "1414-2", + "display": "Oklahoma Ottawa", + "definition": "Oklahoma Ottawa" + }, + { + "code": "1417-5", + "display": "Bishop", + "definition": "Bishop" + }, + { + "code": "1418-3", + "display": "Bridgeport", + "definition": "Bridgeport" + }, + { + "code": "1419-1", + "display": "Burns Paiute", + "definition": "Burns Paiute" + }, + { + "code": "1420-9", + "display": "Cedarville", + "definition": "Cedarville" + }, + { + "code": "1421-7", + "display": "Fort Bidwell", + "definition": "Fort Bidwell" + }, + { + "code": "1422-5", + "display": "Fort Independence", + "definition": "Fort Independence" + }, + { + "code": "1423-3", + "display": "Kaibab", + "definition": "Kaibab" + }, + { + "code": "1424-1", + "display": "Las Vegas", + "definition": "Las Vegas" + }, + { + "code": "1425-8", + "display": "Lone Pine", + "definition": "Lone Pine" + }, + { + "code": "1426-6", + "display": "Lovelock", + "definition": "Lovelock" + }, + { + "code": "1427-4", + "display": "Malheur Paiute", + "definition": "Malheur Paiute" + }, + { + "code": "1428-2", + "display": "Moapa", + "definition": "Moapa" + }, + { + "code": "1429-0", + "display": "Northern Paiute", + "definition": "Northern Paiute" + }, + { + "code": "1430-8", + "display": "Owens Valley", + "definition": "Owens Valley" + }, + { + "code": "1431-6", + "display": "Pyramid Lake", + "definition": "Pyramid Lake" + }, + { + "code": "1432-4", + "display": "San Juan Southern Paiute", + "definition": "San Juan Southern Paiute" + }, + { + "code": "1433-2", + "display": "Southern Paiute", + "definition": "Southern Paiute" + }, + { + "code": "1434-0", + "display": "Summit Lake", + "definition": "Summit Lake" + }, + { + "code": "1435-7", + "display": "Utu Utu Gwaitu Paiute", + "definition": "Utu Utu Gwaitu Paiute" + }, + { + "code": "1436-5", + "display": "Walker River", + "definition": "Walker River" + }, + { + "code": "1437-3", + "display": "Yerington Paiute", + "definition": "Yerington Paiute" + }, + { + "code": "1442-3", + "display": "Indian Township", + "definition": "Indian Township" + }, + { + "code": "1443-1", + "display": "Pleasant Point Passamaquoddy", + "definition": "Pleasant Point Passamaquoddy" + }, + { + "code": "1446-4", + "display": "Oklahoma Pawnee", + "definition": "Oklahoma Pawnee" + }, + { + "code": "1451-4", + "display": "Oklahoma Peoria", + "definition": "Oklahoma Peoria" + }, + { + "code": "1454-8", + "display": "Marshantucket Pequot", + "definition": "Marshantucket Pequot" + }, + { + "code": "1457-1", + "display": "Gila River Pima-Maricopa", + "definition": "Gila River Pima-Maricopa" + }, + { + "code": "1458-9", + "display": "Salt River Pima-Maricopa", + "definition": "Salt River Pima-Maricopa" + }, + { + "code": "1465-4", + "display": "Central Pomo", + "definition": "Central Pomo" + }, + { + "code": "1466-2", + "display": "Dry Creek", + "definition": "Dry Creek" + }, + { + "code": "1467-0", + "display": "Eastern Pomo", + "definition": "Eastern Pomo" + }, + { + "code": "1468-8", + "display": "Kashia", + "definition": "Kashia" + }, + { + "code": "1469-6", + "display": "Northern Pomo", + "definition": "Northern Pomo" + }, + { + "code": "1470-4", + "display": "Scotts Valley", + "definition": "Scotts Valley" + }, + { + "code": "1471-2", + "display": "Stonyford", + "definition": "Stonyford" + }, + { + "code": "1472-0", + "display": "Sulphur Bank", + "definition": "Sulphur Bank" + }, + { + "code": "1475-3", + "display": "Nebraska Ponca", + "definition": "Nebraska Ponca" + }, + { + "code": "1476-1", + "display": "Oklahoma Ponca", + "definition": "Oklahoma Ponca" + }, + { + "code": "1479-5", + "display": "Citizen Band Potawatomi", + "definition": "Citizen Band Potawatomi" + }, + { + "code": "1480-3", + "display": "Forest County", + "definition": "Forest County" + }, + { + "code": "1481-1", + "display": "Hannahville", + "definition": "Hannahville" + }, + { + "code": "1482-9", + "display": "Huron Potawatomi", + "definition": "Huron Potawatomi" + }, + { + "code": "1483-7", + "display": "Pokagon Potawatomi", + "definition": "Pokagon Potawatomi" + }, + { + "code": "1484-5", + "display": "Prairie Band", + "definition": "Prairie Band" + }, + { + "code": "1485-2", + "display": "Wisconsin Potawatomi", + "definition": "Wisconsin Potawatomi" + }, + { + "code": "1490-2", + "display": "Acoma", + "definition": "Acoma" + }, + { + "code": "1491-0", + "display": "Arizona Tewa", + "definition": "Arizona Tewa" + }, + { + "code": "1492-8", + "display": "Cochiti", + "definition": "Cochiti" + }, + { + "code": "1493-6", + "display": "Hopi", + "definition": "Hopi" + }, + { + "code": "1494-4", + "display": "Isleta", + "definition": "Isleta" + }, + { + "code": "1495-1", + "display": "Jemez", + "definition": "Jemez" + }, + { + "code": "1496-9", + "display": "Keres", + "definition": "Keres" + }, + { + "code": "1497-7", + "display": "Laguna", + "definition": "Laguna" + }, + { + "code": "1498-5", + "display": "Nambe", + "definition": "Nambe" + }, + { + "code": "1499-3", + "display": "Picuris", + "definition": "Picuris" + }, + { + "code": "1500-8", + "display": "Piro", + "definition": "Piro" + }, + { + "code": "1501-6", + "display": "Pojoaque", + "definition": "Pojoaque" + }, + { + "code": "1502-4", + "display": "San Felipe", + "definition": "San Felipe" + }, + { + "code": "1503-2", + "display": "San Ildefonso", + "definition": "San Ildefonso" + }, + { + "code": "1504-0", + "display": "San Juan Pueblo", + "definition": "San Juan Pueblo" + }, + { + "code": "1505-7", + "display": "San Juan De", + "definition": "San Juan De" + }, + { + "code": "1506-5", + "display": "San Juan", + "definition": "San Juan" + }, + { + "code": "1507-3", + "display": "Sandia", + "definition": "Sandia" + }, + { + "code": "1508-1", + "display": "Santa Ana", + "definition": "Santa Ana" + }, + { + "code": "1509-9", + "display": "Santa Clara", + "definition": "Santa Clara" + }, + { + "code": "1510-7", + "display": "Santo Domingo", + "definition": "Santo Domingo" + }, + { + "code": "1511-5", + "display": "Taos", + "definition": "Taos" + }, + { + "code": "1512-3", + "display": "Tesuque", + "definition": "Tesuque" + }, + { + "code": "1513-1", + "display": "Tewa", + "definition": "Tewa" + }, + { + "code": "1514-9", + "display": "Tigua", + "definition": "Tigua" + }, + { + "code": "1515-6", + "display": "Zia", + "definition": "Zia" + }, + { + "code": "1516-4", + "display": "Zuni", + "definition": "Zuni" + }, + { + "code": "1519-8", + "display": "Duwamish", + "definition": "Duwamish" + }, + { + "code": "1520-6", + "display": "Kikiallus", + "definition": "Kikiallus" + }, + { + "code": "1521-4", + "display": "Lower Skagit", + "definition": "Lower Skagit" + }, + { + "code": "1522-2", + "display": "Muckleshoot", + "definition": "Muckleshoot" + }, + { + "code": "1523-0", + "display": "Nisqually", + "definition": "Nisqually" + }, + { + "code": "1524-8", + "display": "Nooksack", + "definition": "Nooksack" + }, + { + "code": "1525-5", + "display": "Port Madison", + "definition": "Port Madison" + }, + { + "code": "1526-3", + "display": "Puyallup", + "definition": "Puyallup" + }, + { + "code": "1527-1", + "display": "Samish", + "definition": "Samish" + }, + { + "code": "1528-9", + "display": "Sauk-Suiattle", + "definition": "Sauk-Suiattle" + }, + { + "code": "1529-7", + "display": "Skokomish", + "definition": "Skokomish" + }, + { + "code": "1530-5", + "display": "Skykomish", + "definition": "Skykomish" + }, + { + "code": "1531-3", + "display": "Snohomish", + "definition": "Snohomish" + }, + { + "code": "1532-1", + "display": "Snoqualmie", + "definition": "Snoqualmie" + }, + { + "code": "1533-9", + "display": "Squaxin Island", + "definition": "Squaxin Island" + }, + { + "code": "1534-7", + "display": "Steilacoom", + "definition": "Steilacoom" + }, + { + "code": "1535-4", + "display": "Stillaguamish", + "definition": "Stillaguamish" + }, + { + "code": "1536-2", + "display": "Suquamish", + "definition": "Suquamish" + }, + { + "code": "1537-0", + "display": "Swinomish", + "definition": "Swinomish" + }, + { + "code": "1538-8", + "display": "Tulalip", + "definition": "Tulalip" + }, + { + "code": "1539-6", + "display": "Upper Skagit", + "definition": "Upper Skagit" + }, + { + "code": "1552-9", + "display": "Iowa Sac and Fox", + "definition": "Iowa Sac and Fox" + }, + { + "code": "1553-7", + "display": "Missouri Sac and Fox", + "definition": "Missouri Sac and Fox" + }, + { + "code": "1554-5", + "display": "Oklahoma Sac and Fox", + "definition": "Oklahoma Sac and Fox" + }, + { + "code": "1567-7", + "display": "Big Cypress", + "definition": "Big Cypress" + }, + { + "code": "1568-5", + "display": "Brighton", + "definition": "Brighton" + }, + { + "code": "1569-3", + "display": "Florida Seminole", + "definition": "Florida Seminole" + }, + { + "code": "1570-1", + "display": "Hollywood Seminole", + "definition": "Hollywood Seminole" + }, + { + "code": "1571-9", + "display": "Oklahoma Seminole", + "definition": "Oklahoma Seminole" + }, + { + "code": "1574-3", + "display": "San Manual", + "definition": "San Manual" + }, + { + "code": "1579-2", + "display": "Absentee Shawnee", + "definition": "Absentee Shawnee" + }, + { + "code": "1580-0", + "display": "Eastern Shawnee", + "definition": "Eastern Shawnee" + }, + { + "code": "1587-5", + "display": "Battle Mountain", + "definition": "Battle Mountain" + }, + { + "code": "1588-3", + "display": "Duckwater", + "definition": "Duckwater" + }, + { + "code": "1589-1", + "display": "Elko", + "definition": "Elko" + }, + { + "code": "1590-9", + "display": "Ely", + "definition": "Ely" + }, + { + "code": "1591-7", + "display": "Goshute", + "definition": "Goshute" + }, + { + "code": "1592-5", + "display": "Panamint", + "definition": "Panamint" + }, + { + "code": "1593-3", + "display": "Ruby Valley", + "definition": "Ruby Valley" + }, + { + "code": "1594-1", + "display": "Skull Valley", + "definition": "Skull Valley" + }, + { + "code": "1595-8", + "display": "South Fork Shoshone", + "definition": "South Fork Shoshone" + }, + { + "code": "1596-6", + "display": "Te-Moak Western Shoshone", + "definition": "Te-Moak Western Shoshone" + }, + { + "code": "1597-4", + "display": "Timbi-Sha Shoshone", + "definition": "Timbi-Sha Shoshone" + }, + { + "code": "1598-2", + "display": "Washakie", + "definition": "Washakie" + }, + { + "code": "1599-0", + "display": "Wind River Shoshone", + "definition": "Wind River Shoshone" + }, + { + "code": "1600-6", + "display": "Yomba", + "definition": "Yomba" + }, + { + "code": "1603-0", + "display": "Duck Valley", + "definition": "Duck Valley" + }, + { + "code": "1604-8", + "display": "Fallon", + "definition": "Fallon" + }, + { + "code": "1605-5", + "display": "Fort McDermitt", + "definition": "Fort McDermitt" + }, + { + "code": "1610-5", + "display": "Blackfoot Sioux", + "definition": "Blackfoot Sioux" + }, + { + "code": "1611-3", + "display": "Brule Sioux", + "definition": "Brule Sioux" + }, + { + "code": "1612-1", + "display": "Cheyenne River Sioux", + "definition": "Cheyenne River Sioux" + }, + { + "code": "1613-9", + "display": "Crow Creek Sioux", + "definition": "Crow Creek Sioux" + }, + { + "code": "1614-7", + "display": "Dakota Sioux", + "definition": "Dakota Sioux" + }, + { + "code": "1615-4", + "display": "Flandreau Santee", + "definition": "Flandreau Santee" + }, + { + "code": "1616-2", + "display": "Fort Peck", + "definition": "Fort Peck" + }, + { + "code": "1617-0", + "display": "Lake Traverse Sioux", + "definition": "Lake Traverse Sioux" + }, + { + "code": "1618-8", + "display": "Lower Brule Sioux", + "definition": "Lower Brule Sioux" + }, + { + "code": "1619-6", + "display": "Lower Sioux", + "definition": "Lower Sioux" + }, + { + "code": "1620-4", + "display": "Mdewakanton Sioux", + "definition": "Mdewakanton Sioux" + }, + { + "code": "1621-2", + "display": "Miniconjou", + "definition": "Miniconjou" + }, + { + "code": "1622-0", + "display": "Oglala Sioux", + "definition": "Oglala Sioux" + }, + { + "code": "1623-8", + "display": "Pine Ridge Sioux", + "definition": "Pine Ridge Sioux" + }, + { + "code": "1624-6", + "display": "Pipestone Sioux", + "definition": "Pipestone Sioux" + }, + { + "code": "1625-3", + "display": "Prairie Island Sioux", + "definition": "Prairie Island Sioux" + }, + { + "code": "1626-1", + "display": "Prior Lake Sioux", + "definition": "Prior Lake Sioux" + }, + { + "code": "1627-9", + "display": "Rosebud Sioux", + "definition": "Rosebud Sioux" + }, + { + "code": "1628-7", + "display": "Sans Arc Sioux", + "definition": "Sans Arc Sioux" + }, + { + "code": "1629-5", + "display": "Santee Sioux", + "definition": "Santee Sioux" + }, + { + "code": "1630-3", + "display": "Sisseton-Wahpeton", + "definition": "Sisseton-Wahpeton" + }, + { + "code": "1631-1", + "display": "Sisseton Sioux", + "definition": "Sisseton Sioux" + }, + { + "code": "1632-9", + "display": "Spirit Lake Sioux", + "definition": "Spirit Lake Sioux" + }, + { + "code": "1633-7", + "display": "Standing Rock Sioux", + "definition": "Standing Rock Sioux" + }, + { + "code": "1634-5", + "display": "Teton Sioux", + "definition": "Teton Sioux" + }, + { + "code": "1635-2", + "display": "Two Kettle Sioux", + "definition": "Two Kettle Sioux" + }, + { + "code": "1636-0", + "display": "Upper Sioux", + "definition": "Upper Sioux" + }, + { + "code": "1637-8", + "display": "Wahpekute Sioux", + "definition": "Wahpekute Sioux" + }, + { + "code": "1638-6", + "display": "Wahpeton Sioux", + "definition": "Wahpeton Sioux" + }, + { + "code": "1639-4", + "display": "Wazhaza Sioux", + "definition": "Wazhaza Sioux" + }, + { + "code": "1640-2", + "display": "Yankton Sioux", + "definition": "Yankton Sioux" + }, + { + "code": "1641-0", + "display": "Yanktonai Sioux", + "definition": "Yanktonai Sioux" + }, + { + "code": "1654-3", + "display": "Ak-Chin", + "definition": "Ak-Chin" + }, + { + "code": "1655-0", + "display": "Gila Bend", + "definition": "Gila Bend" + }, + { + "code": "1656-8", + "display": "San Xavier", + "definition": "San Xavier" + }, + { + "code": "1657-6", + "display": "Sells", + "definition": "Sells" + }, + { + "code": "1668-3", + "display": "Cow Creek Umpqua", + "definition": "Cow Creek Umpqua" + }, + { + "code": "1671-7", + "display": "Allen Canyon", + "definition": "Allen Canyon" + }, + { + "code": "1672-5", + "display": "Uintah Ute", + "definition": "Uintah Ute" + }, + { + "code": "1673-3", + "display": "Ute Mountain Ute", + "definition": "Ute Mountain Ute" + }, + { + "code": "1680-8", + "display": "Gay Head Wampanoag", + "definition": "Gay Head Wampanoag" + }, + { + "code": "1681-6", + "display": "Mashpee Wampanoag", + "definition": "Mashpee Wampanoag" + }, + { + "code": "1688-1", + "display": "Alpine", + "definition": "Alpine" + }, + { + "code": "1689-9", + "display": "Carson", + "definition": "Carson" + }, + { + "code": "1690-7", + "display": "Dresslerville", + "definition": "Dresslerville" + }, + { + "code": "1697-2", + "display": "Ho-chunk", + "definition": "Ho-chunk" + }, + { + "code": "1698-0", + "display": "Nebraska Winnebago", + "definition": "Nebraska Winnebago" + }, + { + "code": "1705-3", + "display": "Table Bluff", + "definition": "Table Bluff" + }, + { + "code": "1712-9", + "display": "Barrio Libre", + "definition": "Barrio Libre" + }, + { + "code": "1713-7", + "display": "Pascua Yaqui", + "definition": "Pascua Yaqui" + }, + { + "code": "1718-6", + "display": "Chukchansi", + "definition": "Chukchansi" + }, + { + "code": "1719-4", + "display": "Tachi", + "definition": "Tachi" + }, + { + "code": "1720-2", + "display": "Tule River", + "definition": "Tule River" + }, + { + "code": "1725-1", + "display": "Cocopah", + "definition": "Cocopah" + }, + { + "code": "1726-9", + "display": "Havasupai", + "definition": "Havasupai" + }, + { + "code": "1727-7", + "display": "Hualapai", + "definition": "Hualapai" + }, + { + "code": "1728-5", + "display": "Maricopa", + "definition": "Maricopa" + }, + { + "code": "1729-3", + "display": "Mohave", + "definition": "Mohave" + }, + { + "code": "1730-1", + "display": "Quechan", + "definition": "Quechan" + }, + { + "code": "1731-9", + "display": "Yavapai", + "definition": "Yavapai" + }, + { + "code": "1733-5", + "display": "Coast Yurok", + "definition": "Coast Yurok" + }, + { + "code": "1737-6", + "display": "Alaska Indian", + "definition": "Alaska Indian" + }, + { + "code": "1840-8", + "display": "Eskimo", + "definition": "Eskimo" + }, + { + "code": "1966-1", + "display": "Aleut", + "definition": "Aleut" + }, + { + "code": "1739-2", + "display": "Alaskan Athabascan", + "definition": "Alaskan Athabascan" + }, + { + "code": "1811-9", + "display": "Southeast Alaska", + "definition": "Southeast Alaska" + }, + { + "code": "1740-0", + "display": "Ahtna", + "definition": "Ahtna" + }, + { + "code": "1741-8", + "display": "Alatna", + "definition": "Alatna" + }, + { + "code": "1742-6", + "display": "Alexander", + "definition": "Alexander" + }, + { + "code": "1743-4", + "display": "Allakaket", + "definition": "Allakaket" + }, + { + "code": "1744-2", + "display": "Alanvik", + "definition": "Alanvik" + }, + { + "code": "1745-9", + "display": "Anvik", + "definition": "Anvik" + }, + { + "code": "1746-7", + "display": "Arctic", + "definition": "Arctic" + }, + { + "code": "1747-5", + "display": "Beaver", + "definition": "Beaver" + }, + { + "code": "1748-3", + "display": "Birch Creek", + "definition": "Birch Creek" + }, + { + "code": "1749-1", + "display": "Cantwell", + "definition": "Cantwell" + }, + { + "code": "1750-9", + "display": "Chalkyitsik", + "definition": "Chalkyitsik" + }, + { + "code": "1751-7", + "display": "Chickaloon", + "definition": "Chickaloon" + }, + { + "code": "1752-5", + "display": "Chistochina", + "definition": "Chistochina" + }, + { + "code": "1753-3", + "display": "Chitina", + "definition": "Chitina" + }, + { + "code": "1754-1", + "display": "Circle", + "definition": "Circle" + }, + { + "code": "1755-8", + "display": "Cook Inlet", + "definition": "Cook Inlet" + }, + { + "code": "1756-6", + "display": "Copper Center", + "definition": "Copper Center" + }, + { + "code": "1757-4", + "display": "Copper River", + "definition": "Copper River" + }, + { + "code": "1758-2", + "display": "Dot Lake", + "definition": "Dot Lake" + }, + { + "code": "1759-0", + "display": "Doyon", + "definition": "Doyon" + }, + { + "code": "1760-8", + "display": "Eagle", + "definition": "Eagle" + }, + { + "code": "1761-6", + "display": "Eklutna", + "definition": "Eklutna" + }, + { + "code": "1762-4", + "display": "Evansville", + "definition": "Evansville" + }, + { + "code": "1763-2", + "display": "Fort Yukon", + "definition": "Fort Yukon" + }, + { + "code": "1764-0", + "display": "Gakona", + "definition": "Gakona" + }, + { + "code": "1765-7", + "display": "Galena", + "definition": "Galena" + }, + { + "code": "1766-5", + "display": "Grayling", + "definition": "Grayling" + }, + { + "code": "1767-3", + "display": "Gulkana", + "definition": "Gulkana" + }, + { + "code": "1768-1", + "display": "Healy Lake", + "definition": "Healy Lake" + }, + { + "code": "1769-9", + "display": "Holy Cross", + "definition": "Holy Cross" + }, + { + "code": "1770-7", + "display": "Hughes", + "definition": "Hughes" + }, + { + "code": "1771-5", + "display": "Huslia", + "definition": "Huslia" + }, + { + "code": "1772-3", + "display": "Iliamna", + "definition": "Iliamna" + }, + { + "code": "1773-1", + "display": "Kaltag", + "definition": "Kaltag" + }, + { + "code": "1774-9", + "display": "Kluti Kaah", + "definition": "Kluti Kaah" + }, + { + "code": "1775-6", + "display": "Knik", + "definition": "Knik" + }, + { + "code": "1776-4", + "display": "Koyukuk", + "definition": "Koyukuk" + }, + { + "code": "1777-2", + "display": "Lake Minchumina", + "definition": "Lake Minchumina" + }, + { + "code": "1778-0", + "display": "Lime", + "definition": "Lime" + }, + { + "code": "1779-8", + "display": "Mcgrath", + "definition": "Mcgrath" + }, + { + "code": "1780-6", + "display": "Manley Hot Springs", + "definition": "Manley Hot Springs" + }, + { + "code": "1781-4", + "display": "Mentasta Lake", + "definition": "Mentasta Lake" + }, + { + "code": "1782-2", + "display": "Minto", + "definition": "Minto" + }, + { + "code": "1783-0", + "display": "Nenana", + "definition": "Nenana" + }, + { + "code": "1784-8", + "display": "Nikolai", + "definition": "Nikolai" + }, + { + "code": "1785-5", + "display": "Ninilchik", + "definition": "Ninilchik" + }, + { + "code": "1786-3", + "display": "Nondalton", + "definition": "Nondalton" + }, + { + "code": "1787-1", + "display": "Northway", + "definition": "Northway" + }, + { + "code": "1788-9", + "display": "Nulato", + "definition": "Nulato" + }, + { + "code": "1789-7", + "display": "Pedro Bay", + "definition": "Pedro Bay" + }, + { + "code": "1790-5", + "display": "Rampart", + "definition": "Rampart" + }, + { + "code": "1791-3", + "display": "Ruby", + "definition": "Ruby" + }, + { + "code": "1792-1", + "display": "Salamatof", + "definition": "Salamatof" + }, + { + "code": "1793-9", + "display": "Seldovia", + "definition": "Seldovia" + }, + { + "code": "1794-7", + "display": "Slana", + "definition": "Slana" + }, + { + "code": "1795-4", + "display": "Shageluk", + "definition": "Shageluk" + }, + { + "code": "1796-2", + "display": "Stevens", + "definition": "Stevens" + }, + { + "code": "1797-0", + "display": "Stony River", + "definition": "Stony River" + }, + { + "code": "1798-8", + "display": "Takotna", + "definition": "Takotna" + }, + { + "code": "1799-6", + "display": "Tanacross", + "definition": "Tanacross" + }, + { + "code": "1800-2", + "display": "Tanaina", + "definition": "Tanaina" + }, + { + "code": "1801-0", + "display": "Tanana", + "definition": "Tanana" + }, + { + "code": "1802-8", + "display": "Tanana Chiefs", + "definition": "Tanana Chiefs" + }, + { + "code": "1803-6", + "display": "Tazlina", + "definition": "Tazlina" + }, + { + "code": "1804-4", + "display": "Telida", + "definition": "Telida" + }, + { + "code": "1805-1", + "display": "Tetlin", + "definition": "Tetlin" + }, + { + "code": "1806-9", + "display": "Tok", + "definition": "Tok" + }, + { + "code": "1807-7", + "display": "Tyonek", + "definition": "Tyonek" + }, + { + "code": "1808-5", + "display": "Venetie", + "definition": "Venetie" + }, + { + "code": "1809-3", + "display": "Wiseman", + "definition": "Wiseman" + }, + { + "code": "1813-5", + "display": "Tlingit-Haida", + "definition": "Tlingit-Haida" + }, + { + "code": "1837-4", + "display": "Tsimshian", + "definition": "Tsimshian" + }, + { + "code": "1814-3", + "display": "Angoon", + "definition": "Angoon" + }, + { + "code": "1815-0", + "display": "Central Council of Tlingit and Haida Tribes", + "definition": "Central Council of Tlingit and Haida Tribes" + }, + { + "code": "1816-8", + "display": "Chilkat", + "definition": "Chilkat" + }, + { + "code": "1817-6", + "display": "Chilkoot", + "definition": "Chilkoot" + }, + { + "code": "1818-4", + "display": "Craig", + "definition": "Craig" + }, + { + "code": "1819-2", + "display": "Douglas", + "definition": "Douglas" + }, + { + "code": "1820-0", + "display": "Haida", + "definition": "Haida" + }, + { + "code": "1821-8", + "display": "Hoonah", + "definition": "Hoonah" + }, + { + "code": "1822-6", + "display": "Hydaburg", + "definition": "Hydaburg" + }, + { + "code": "1823-4", + "display": "Kake", + "definition": "Kake" + }, + { + "code": "1824-2", + "display": "Kasaan", + "definition": "Kasaan" + }, + { + "code": "1825-9", + "display": "Kenaitze", + "definition": "Kenaitze" + }, + { + "code": "1826-7", + "display": "Ketchikan", + "definition": "Ketchikan" + }, + { + "code": "1827-5", + "display": "Klawock", + "definition": "Klawock" + }, + { + "code": "1828-3", + "display": "Pelican", + "definition": "Pelican" + }, + { + "code": "1829-1", + "display": "Petersburg", + "definition": "Petersburg" + }, + { + "code": "1830-9", + "display": "Saxman", + "definition": "Saxman" + }, + { + "code": "1831-7", + "display": "Sitka", + "definition": "Sitka" + }, + { + "code": "1832-5", + "display": "Tenakee Springs", + "definition": "Tenakee Springs" + }, + { + "code": "1833-3", + "display": "Tlingit", + "definition": "Tlingit" + }, + { + "code": "1834-1", + "display": "Wrangell", + "definition": "Wrangell" + }, + { + "code": "1835-8", + "display": "Yakutat", + "definition": "Yakutat" + }, + { + "code": "1838-2", + "display": "Metlakatla", + "definition": "Metlakatla" + }, + { + "code": "1842-4", + "display": "Greenland Eskimo", + "definition": "Greenland Eskimo" + }, + { + "code": "1844-0", + "display": "Inupiat Eskimo", + "definition": "Inupiat Eskimo" + }, + { + "code": "1891-1", + "display": "Siberian Eskimo", + "definition": "Siberian Eskimo" + }, + { + "code": "1896-0", + "display": "Yupik Eskimo", + "definition": "Yupik Eskimo" + }, + { + "code": "1845-7", + "display": "Ambler", + "definition": "Ambler" + }, + { + "code": "1846-5", + "display": "Anaktuvuk", + "definition": "Anaktuvuk" + }, + { + "code": "1847-3", + "display": "Anaktuvuk Pass", + "definition": "Anaktuvuk Pass" + }, + { + "code": "1848-1", + "display": "Arctic Slope Inupiat", + "definition": "Arctic Slope Inupiat" + }, + { + "code": "1849-9", + "display": "Arctic Slope Corporation", + "definition": "Arctic Slope Corporation" + }, + { + "code": "1850-7", + "display": "Atqasuk", + "definition": "Atqasuk" + }, + { + "code": "1851-5", + "display": "Barrow", + "definition": "Barrow" + }, + { + "code": "1852-3", + "display": "Bering Straits Inupiat", + "definition": "Bering Straits Inupiat" + }, + { + "code": "1853-1", + "display": "Brevig Mission", + "definition": "Brevig Mission" + }, + { + "code": "1854-9", + "display": "Buckland", + "definition": "Buckland" + }, + { + "code": "1855-6", + "display": "Chinik", + "definition": "Chinik" + }, + { + "code": "1856-4", + "display": "Council", + "definition": "Council" + }, + { + "code": "1857-2", + "display": "Deering", + "definition": "Deering" + }, + { + "code": "1858-0", + "display": "Elim", + "definition": "Elim" + }, + { + "code": "1859-8", + "display": "Golovin", + "definition": "Golovin" + }, + { + "code": "1860-6", + "display": "Inalik Diomede", + "definition": "Inalik Diomede" + }, + { + "code": "1861-4", + "display": "Inupiaq", + "definition": "Inupiaq" + }, + { + "code": "1862-2", + "display": "Kaktovik", + "definition": "Kaktovik" + }, + { + "code": "1863-0", + "display": "Kawerak", + "definition": "Kawerak" + }, + { + "code": "1864-8", + "display": "Kiana", + "definition": "Kiana" + }, + { + "code": "1865-5", + "display": "Kivalina", + "definition": "Kivalina" + }, + { + "code": "1866-3", + "display": "Kobuk", + "definition": "Kobuk" + }, + { + "code": "1867-1", + "display": "Kotzebue", + "definition": "Kotzebue" + }, + { + "code": "1868-9", + "display": "Koyuk", + "definition": "Koyuk" + }, + { + "code": "1869-7", + "display": "Kwiguk", + "definition": "Kwiguk" + }, + { + "code": "1870-5", + "display": "Mauneluk Inupiat", + "definition": "Mauneluk Inupiat" + }, + { + "code": "1871-3", + "display": "Nana Inupiat", + "definition": "Nana Inupiat" + }, + { + "code": "1872-1", + "display": "Noatak", + "definition": "Noatak" + }, + { + "code": "1873-9", + "display": "Nome", + "definition": "Nome" + }, + { + "code": "1874-7", + "display": "Noorvik", + "definition": "Noorvik" + }, + { + "code": "1875-4", + "display": "Nuiqsut", + "definition": "Nuiqsut" + }, + { + "code": "1876-2", + "display": "Point Hope", + "definition": "Point Hope" + }, + { + "code": "1877-0", + "display": "Point Lay", + "definition": "Point Lay" + }, + { + "code": "1878-8", + "display": "Selawik", + "definition": "Selawik" + }, + { + "code": "1879-6", + "display": "Shaktoolik", + "definition": "Shaktoolik" + }, + { + "code": "1880-4", + "display": "Shishmaref", + "definition": "Shishmaref" + }, + { + "code": "1881-2", + "display": "Shungnak", + "definition": "Shungnak" + }, + { + "code": "1882-0", + "display": "Solomon", + "definition": "Solomon" + }, + { + "code": "1883-8", + "display": "Teller", + "definition": "Teller" + }, + { + "code": "1884-6", + "display": "Unalakleet", + "definition": "Unalakleet" + }, + { + "code": "1885-3", + "display": "Wainwright", + "definition": "Wainwright" + }, + { + "code": "1886-1", + "display": "Wales", + "definition": "Wales" + }, + { + "code": "1887-9", + "display": "White Mountain", + "definition": "White Mountain" + }, + { + "code": "1888-7", + "display": "White Mountain Inupiat", + "definition": "White Mountain Inupiat" + }, + { + "code": "1889-5", + "display": "Mary's Igloo", + "definition": "Mary's Igloo" + }, + { + "code": "1892-9", + "display": "Gambell", + "definition": "Gambell" + }, + { + "code": "1893-7", + "display": "Savoonga", + "definition": "Savoonga" + }, + { + "code": "1894-5", + "display": "Siberian Yupik", + "definition": "Siberian Yupik" + }, + { + "code": "1897-8", + "display": "Akiachak", + "definition": "Akiachak" + }, + { + "code": "1898-6", + "display": "Akiak", + "definition": "Akiak" + }, + { + "code": "1899-4", + "display": "Alakanuk", + "definition": "Alakanuk" + }, + { + "code": "1900-0", + "display": "Aleknagik", + "definition": "Aleknagik" + }, + { + "code": "1901-8", + "display": "Andreafsky", + "definition": "Andreafsky" + }, + { + "code": "1902-6", + "display": "Aniak", + "definition": "Aniak" + }, + { + "code": "1903-4", + "display": "Atmautluak", + "definition": "Atmautluak" + }, + { + "code": "1904-2", + "display": "Bethel", + "definition": "Bethel" + }, + { + "code": "1905-9", + "display": "Bill Moore's Slough", + "definition": "Bill Moore's Slough" + }, + { + "code": "1906-7", + "display": "Bristol Bay Yupik", + "definition": "Bristol Bay Yupik" + }, + { + "code": "1907-5", + "display": "Calista Yupik", + "definition": "Calista Yupik" + }, + { + "code": "1908-3", + "display": "Chefornak", + "definition": "Chefornak" + }, + { + "code": "1909-1", + "display": "Chevak", + "definition": "Chevak" + }, + { + "code": "1910-9", + "display": "Chuathbaluk", + "definition": "Chuathbaluk" + }, + { + "code": "1911-7", + "display": "Clark's Point", + "definition": "Clark's Point" + }, + { + "code": "1912-5", + "display": "Crooked Creek", + "definition": "Crooked Creek" + }, + { + "code": "1913-3", + "display": "Dillingham", + "definition": "Dillingham" + }, + { + "code": "1914-1", + "display": "Eek", + "definition": "Eek" + }, + { + "code": "1915-8", + "display": "Ekuk", + "definition": "Ekuk" + }, + { + "code": "1916-6", + "display": "Ekwok", + "definition": "Ekwok" + }, + { + "code": "1917-4", + "display": "Emmonak", + "definition": "Emmonak" + }, + { + "code": "1918-2", + "display": "Goodnews Bay", + "definition": "Goodnews Bay" + }, + { + "code": "1919-0", + "display": "Hooper Bay", + "definition": "Hooper Bay" + }, + { + "code": "1920-8", + "display": "Iqurmuit (Russian Mission)", + "definition": "Iqurmuit (Russian Mission)" + }, + { + "code": "1921-6", + "display": "Kalskag", + "definition": "Kalskag" + }, + { + "code": "1922-4", + "display": "Kasigluk", + "definition": "Kasigluk" + }, + { + "code": "1923-2", + "display": "Kipnuk", + "definition": "Kipnuk" + }, + { + "code": "1924-0", + "display": "Koliganek", + "definition": "Koliganek" + }, + { + "code": "1925-7", + "display": "Kongiganak", + "definition": "Kongiganak" + }, + { + "code": "1926-5", + "display": "Kotlik", + "definition": "Kotlik" + }, + { + "code": "1927-3", + "display": "Kwethluk", + "definition": "Kwethluk" + }, + { + "code": "1928-1", + "display": "Kwigillingok", + "definition": "Kwigillingok" + }, + { + "code": "1929-9", + "display": "Levelock", + "definition": "Levelock" + }, + { + "code": "1930-7", + "display": "Lower Kalskag", + "definition": "Lower Kalskag" + }, + { + "code": "1931-5", + "display": "Manokotak", + "definition": "Manokotak" + }, + { + "code": "1932-3", + "display": "Marshall", + "definition": "Marshall" + }, + { + "code": "1933-1", + "display": "Mekoryuk", + "definition": "Mekoryuk" + }, + { + "code": "1934-9", + "display": "Mountain Village", + "definition": "Mountain Village" + }, + { + "code": "1935-6", + "display": "Naknek", + "definition": "Naknek" + }, + { + "code": "1936-4", + "display": "Napaumute", + "definition": "Napaumute" + }, + { + "code": "1937-2", + "display": "Napakiak", + "definition": "Napakiak" + }, + { + "code": "1938-0", + "display": "Napaskiak", + "definition": "Napaskiak" + }, + { + "code": "1939-8", + "display": "Newhalen", + "definition": "Newhalen" + }, + { + "code": "1940-6", + "display": "New Stuyahok", + "definition": "New Stuyahok" + }, + { + "code": "1941-4", + "display": "Newtok", + "definition": "Newtok" + }, + { + "code": "1942-2", + "display": "Nightmute", + "definition": "Nightmute" + }, + { + "code": "1943-0", + "display": "Nunapitchukv", + "definition": "Nunapitchukv" + }, + { + "code": "1944-8", + "display": "Oscarville", + "definition": "Oscarville" + }, + { + "code": "1945-5", + "display": "Pilot Station", + "definition": "Pilot Station" + }, + { + "code": "1946-3", + "display": "Pitkas Point", + "definition": "Pitkas Point" + }, + { + "code": "1947-1", + "display": "Platinum", + "definition": "Platinum" + }, + { + "code": "1948-9", + "display": "Portage Creek", + "definition": "Portage Creek" + }, + { + "code": "1949-7", + "display": "Quinhagak", + "definition": "Quinhagak" + }, + { + "code": "1950-5", + "display": "Red Devil", + "definition": "Red Devil" + }, + { + "code": "1951-3", + "display": "St. Michael", + "definition": "St. Michael" + }, + { + "code": "1952-1", + "display": "Scammon Bay", + "definition": "Scammon Bay" + }, + { + "code": "1953-9", + "display": "Sheldon's Point", + "definition": "Sheldon's Point" + }, + { + "code": "1954-7", + "display": "Sleetmute", + "definition": "Sleetmute" + }, + { + "code": "1955-4", + "display": "Stebbins", + "definition": "Stebbins" + }, + { + "code": "1956-2", + "display": "Togiak", + "definition": "Togiak" + }, + { + "code": "1957-0", + "display": "Toksook", + "definition": "Toksook" + }, + { + "code": "1958-8", + "display": "Tulukskak", + "definition": "Tulukskak" + }, + { + "code": "1959-6", + "display": "Tuntutuliak", + "definition": "Tuntutuliak" + }, + { + "code": "1960-4", + "display": "Tununak", + "definition": "Tununak" + }, + { + "code": "1961-2", + "display": "Twin Hills", + "definition": "Twin Hills" + }, + { + "code": "1962-0", + "display": "Georgetown (Yupik-Eskimo)", + "definition": "Georgetown (Yupik-Eskimo)" + }, + { + "code": "1963-8", + "display": "St. Mary's", + "definition": "St. Mary's" + }, + { + "code": "1964-6", + "display": "Umkumiate", + "definition": "Umkumiate" + }, + { + "code": "1968-7", + "display": "Alutiiq Aleut", + "definition": "Alutiiq Aleut" + }, + { + "code": "1972-9", + "display": "Bristol Bay Aleut", + "definition": "Bristol Bay Aleut" + }, + { + "code": "1984-4", + "display": "Chugach Aleut", + "definition": "Chugach Aleut" + }, + { + "code": "1990-1", + "display": "Eyak", + "definition": "Eyak" + }, + { + "code": "1992-7", + "display": "Koniag Aleut", + "definition": "Koniag Aleut" + }, + { + "code": "2002-4", + "display": "Sugpiaq", + "definition": "Sugpiaq" + }, + { + "code": "2004-0", + "display": "Suqpigaq", + "definition": "Suqpigaq" + }, + { + "code": "2006-5", + "display": "Unangan Aleut", + "definition": "Unangan Aleut" + }, + { + "code": "1969-5", + "display": "Tatitlek", + "definition": "Tatitlek" + }, + { + "code": "1970-3", + "display": "Ugashik", + "definition": "Ugashik" + }, + { + "code": "1973-7", + "display": "Chignik", + "definition": "Chignik" + }, + { + "code": "1974-5", + "display": "Chignik Lake", + "definition": "Chignik Lake" + }, + { + "code": "1975-2", + "display": "Egegik", + "definition": "Egegik" + }, + { + "code": "1976-0", + "display": "Igiugig", + "definition": "Igiugig" + }, + { + "code": "1977-8", + "display": "Ivanof Bay", + "definition": "Ivanof Bay" + }, + { + "code": "1978-6", + "display": "King Salmon", + "definition": "King Salmon" + }, + { + "code": "1979-4", + "display": "Kokhanok", + "definition": "Kokhanok" + }, + { + "code": "1980-2", + "display": "Perryville", + "definition": "Perryville" + }, + { + "code": "1981-0", + "display": "Pilot Point", + "definition": "Pilot Point" + }, + { + "code": "1982-8", + "display": "Port Heiden", + "definition": "Port Heiden" + }, + { + "code": "1985-1", + "display": "Chenega", + "definition": "Chenega" + }, + { + "code": "1986-9", + "display": "Chugach Corporation", + "definition": "Chugach Corporation" + }, + { + "code": "1987-7", + "display": "English Bay", + "definition": "English Bay" + }, + { + "code": "1988-5", + "display": "Port Graham", + "definition": "Port Graham" + }, + { + "code": "1993-5", + "display": "Akhiok", + "definition": "Akhiok" + }, + { + "code": "1994-3", + "display": "Agdaagux", + "definition": "Agdaagux" + }, + { + "code": "1995-0", + "display": "Karluk", + "definition": "Karluk" + }, + { + "code": "1996-8", + "display": "Kodiak", + "definition": "Kodiak" + }, + { + "code": "1997-6", + "display": "Larsen Bay", + "definition": "Larsen Bay" + }, + { + "code": "1998-4", + "display": "Old Harbor", + "definition": "Old Harbor" + }, + { + "code": "1999-2", + "display": "Ouzinkie", + "definition": "Ouzinkie" + }, + { + "code": "2000-8", + "display": "Port Lions", + "definition": "Port Lions" + }, + { + "code": "2007-3", + "display": "Akutan", + "definition": "Akutan" + }, + { + "code": "2008-1", + "display": "Aleut Corporation", + "definition": "Aleut Corporation" + }, + { + "code": "2009-9", + "display": "Aleutian", + "definition": "Aleutian" + }, + { + "code": "2010-7", + "display": "Aleutian Islander", + "definition": "Aleutian Islander" + }, + { + "code": "2011-5", + "display": "Atka", + "definition": "Atka" + }, + { + "code": "2012-3", + "display": "Belkofski", + "definition": "Belkofski" + }, + { + "code": "2013-1", + "display": "Chignik Lagoon", + "definition": "Chignik Lagoon" + }, + { + "code": "2014-9", + "display": "King Cove", + "definition": "King Cove" + }, + { + "code": "2015-6", + "display": "False Pass", + "definition": "False Pass" + }, + { + "code": "2016-4", + "display": "Nelson Lagoon", + "definition": "Nelson Lagoon" + }, + { + "code": "2017-2", + "display": "Nikolski", + "definition": "Nikolski" + }, + { + "code": "2018-0", + "display": "Pauloff Harbor", + "definition": "Pauloff Harbor" + }, + { + "code": "2019-8", + "display": "Qagan Toyagungin", + "definition": "Qagan Toyagungin" + }, + { + "code": "2020-6", + "display": "Qawalangin", + "definition": "Qawalangin" + }, + { + "code": "2021-4", + "display": "St. George", + "definition": "St. George" + }, + { + "code": "2022-2", + "display": "St. Paul", + "definition": "St. Paul" + }, + { + "code": "2023-0", + "display": "Sand Point", + "definition": "Sand Point" + }, + { + "code": "2024-8", + "display": "South Naknek", + "definition": "South Naknek" + }, + { + "code": "2025-5", + "display": "Unalaska", + "definition": "Unalaska" + }, + { + "code": "2026-3", + "display": "Unga", + "definition": "Unga" + } + ] + }, + { + "code": "2028-9", + "display": "Asian", + "definition": "Asian", + "concept": [ + { + "code": "2029-7", + "display": "Asian Indian", + "definition": "Asian Indian" + }, + { + "code": "2030-5", + "display": "Bangladeshi", + "definition": "Bangladeshi" + }, + { + "code": "2031-3", + "display": "Bhutanese", + "definition": "Bhutanese" + }, + { + "code": "2032-1", + "display": "Burmese", + "definition": "Burmese" + }, + { + "code": "2033-9", + "display": "Cambodian", + "definition": "Cambodian" + }, + { + "code": "2034-7", + "display": "Chinese", + "definition": "Chinese" + }, + { + "code": "2035-4", + "display": "Taiwanese", + "definition": "Taiwanese" + }, + { + "code": "2036-2", + "display": "Filipino", + "definition": "Filipino" + }, + { + "code": "2037-0", + "display": "Hmong", + "definition": "Hmong" + }, + { + "code": "2038-8", + "display": "Indonesian", + "definition": "Indonesian" + }, + { + "code": "2039-6", + "display": "Japanese", + "definition": "Japanese" + }, + { + "code": "2040-4", + "display": "Korean", + "definition": "Korean" + }, + { + "code": "2041-2", + "display": "Laotian", + "definition": "Laotian" + }, + { + "code": "2042-0", + "display": "Malaysian", + "definition": "Malaysian" + }, + { + "code": "2043-8", + "display": "Okinawan", + "definition": "Okinawan" + }, + { + "code": "2044-6", + "display": "Pakistani", + "definition": "Pakistani" + }, + { + "code": "2045-3", + "display": "Sri Lankan", + "definition": "Sri Lankan" + }, + { + "code": "2046-1", + "display": "Thai", + "definition": "Thai" + }, + { + "code": "2047-9", + "display": "Vietnamese", + "definition": "Vietnamese" + }, + { + "code": "2048-7", + "display": "Iwo Jiman", + "definition": "Iwo Jiman" + }, + { + "code": "2049-5", + "display": "Maldivian", + "definition": "Maldivian" + }, + { + "code": "2050-3", + "display": "Nepalese", + "definition": "Nepalese" + }, + { + "code": "2051-1", + "display": "Singaporean", + "definition": "Singaporean" + }, + { + "code": "2052-9", + "display": "Madagascar", + "definition": "Madagascar" + } + ] + }, + { + "code": "2054-5", + "display": "Black or African American", + "definition": "Black or African American", + "concept": [ + { + "code": "2056-0", + "display": "Black", + "definition": "Black" + }, + { + "code": "2058-6", + "display": "African American", + "definition": "African American" + }, + { + "code": "2060-2", + "display": "African", + "definition": "African" + }, + { + "code": "2067-7", + "display": "Bahamian", + "definition": "Bahamian" + }, + { + "code": "2068-5", + "display": "Barbadian", + "definition": "Barbadian" + }, + { + "code": "2069-3", + "display": "Dominican", + "definition": "Dominican" + }, + { + "code": "2070-1", + "display": "Dominica Islander", + "definition": "Dominica Islander" + }, + { + "code": "2071-9", + "display": "Haitian", + "definition": "Haitian" + }, + { + "code": "2072-7", + "display": "Jamaican", + "definition": "Jamaican" + }, + { + "code": "2073-5", + "display": "Tobagoan", + "definition": "Tobagoan" + }, + { + "code": "2074-3", + "display": "Trinidadian", + "definition": "Trinidadian" + }, + { + "code": "2075-0", + "display": "West Indian", + "definition": "West Indian" + }, + { + "code": "2061-0", + "display": "Botswanan", + "definition": "Botswanan" + }, + { + "code": "2062-8", + "display": "Ethiopian", + "definition": "Ethiopian" + }, + { + "code": "2063-6", + "display": "Liberian", + "definition": "Liberian" + }, + { + "code": "2064-4", + "display": "Namibian", + "definition": "Namibian" + }, + { + "code": "2065-1", + "display": "Nigerian", + "definition": "Nigerian" + }, + { + "code": "2066-9", + "display": "Zairean", + "definition": "Zairean" + } + ] + }, + { + "code": "2076-8", + "display": "Native Hawaiian or Other Pacific Islander", + "definition": "Native Hawaiian or Other Pacific Islander", + "concept": [ + { + "code": "2078-4", + "display": "Polynesian", + "definition": "Polynesian" + }, + { + "code": "2085-9", + "display": "Micronesian", + "definition": "Micronesian" + }, + { + "code": "2100-6", + "display": "Melanesian", + "definition": "Melanesian" + }, + { + "code": "2500-7", + "display": "Other Pacific Islander", + "definition": "Other Pacific Islander" + }, + { + "code": "2079-2", + "display": "Native Hawaiian", + "definition": "Native Hawaiian" + }, + { + "code": "2080-0", + "display": "Samoan", + "definition": "Samoan" + }, + { + "code": "2081-8", + "display": "Tahitian", + "definition": "Tahitian" + }, + { + "code": "2082-6", + "display": "Tongan", + "definition": "Tongan" + }, + { + "code": "2083-4", + "display": "Tokelauan", + "definition": "Tokelauan" + }, + { + "code": "2086-7", + "display": "Guamanian or Chamorro", + "definition": "Guamanian or Chamorro" + }, + { + "code": "2087-5", + "display": "Guamanian", + "definition": "Guamanian" + }, + { + "code": "2088-3", + "display": "Chamorro", + "definition": "Chamorro" + }, + { + "code": "2089-1", + "display": "Mariana Islander", + "definition": "Mariana Islander" + }, + { + "code": "2090-9", + "display": "Marshallese", + "definition": "Marshallese" + }, + { + "code": "2091-7", + "display": "Palauan", + "definition": "Palauan" + }, + { + "code": "2092-5", + "display": "Carolinian", + "definition": "Carolinian" + }, + { + "code": "2093-3", + "display": "Kosraean", + "definition": "Kosraean" + }, + { + "code": "2094-1", + "display": "Pohnpeian", + "definition": "Pohnpeian" + }, + { + "code": "2095-8", + "display": "Saipanese", + "definition": "Saipanese" + }, + { + "code": "2096-6", + "display": "Kiribati", + "definition": "Kiribati" + }, + { + "code": "2097-4", + "display": "Chuukese", + "definition": "Chuukese" + }, + { + "code": "2098-2", + "display": "Yapese", + "definition": "Yapese" + }, + { + "code": "2101-4", + "display": "Fijian", + "definition": "Fijian" + }, + { + "code": "2102-2", + "display": "Papua New Guinean", + "definition": "Papua New Guinean" + }, + { + "code": "2103-0", + "display": "Solomon Islander", + "definition": "Solomon Islander" + }, + { + "code": "2104-8", + "display": "New Hebrides", + "definition": "New Hebrides" + } + ] + }, + { + "code": "2106-3", + "display": "White", + "definition": "White", + "concept": [ + { + "code": "2108-9", + "display": "European", + "definition": "European" + }, + { + "code": "2118-8", + "display": "Middle Eastern or North African", + "definition": "Middle Eastern or North African" + }, + { + "code": "2129-5", + "display": "Arab", + "definition": "Arab" + }, + { + "code": "2109-7", + "display": "Armenian", + "definition": "Armenian" + }, + { + "code": "2110-5", + "display": "English", + "definition": "English" + }, + { + "code": "2111-3", + "display": "French", + "definition": "French" + }, + { + "code": "2112-1", + "display": "German", + "definition": "German" + }, + { + "code": "2113-9", + "display": "Irish", + "definition": "Irish" + }, + { + "code": "2114-7", + "display": "Italian", + "definition": "Italian" + }, + { + "code": "2115-4", + "display": "Polish", + "definition": "Polish" + }, + { + "code": "2116-2", + "display": "Scottish", + "definition": "Scottish" + }, + { + "code": "2119-6", + "display": "Assyrian", + "definition": "Assyrian" + }, + { + "code": "2120-4", + "display": "Egyptian", + "definition": "Egyptian" + }, + { + "code": "2121-2", + "display": "Iranian", + "definition": "Iranian" + }, + { + "code": "2122-0", + "display": "Iraqi", + "definition": "Iraqi" + }, + { + "code": "2123-8", + "display": "Lebanese", + "definition": "Lebanese" + }, + { + "code": "2124-6", + "display": "Palestinian", + "definition": "Palestinian" + }, + { + "code": "2125-3", + "display": "Syrian", + "definition": "Syrian" + }, + { + "code": "2126-1", + "display": "Afghanistani", + "definition": "Afghanistani" + }, + { + "code": "2127-9", + "display": "Israeili", + "definition": "Israeili" + } + ] + }, + { + "code": "2131-1", + "display": "Other Race", + "definition": "Note that this term remains in the table for completeness, even though within HL7, the notion of Other code is deprecated." + } + ] + }, + { + "code": "2133-7", + "display": "Ethnicity", + "definition": "Ethnicity Note that this is an abstract 'grouping' concept and not for use as a real concept", + "property": [ + { + "code": "abstract", + "valueBoolean": true + } + ], + "concept": [ + { + "code": "2135-2", + "display": "Hispanic or Latino", + "definition": "Hispanic or Latino", + "concept": [ + { + "code": "2137-8", + "display": "Spaniard", + "definition": "Spaniard" + }, + { + "code": "2148-5", + "display": "Mexican", + "definition": "Mexican" + }, + { + "code": "2155-0", + "display": "Central American", + "definition": "Central American" + }, + { + "code": "2165-9", + "display": "South American", + "definition": "South American" + }, + { + "code": "2178-2", + "display": "Latin American", + "definition": "Latin American" + }, + { + "code": "2180-8", + "display": "Puerto Rican", + "definition": "Puerto Rican" + }, + { + "code": "2182-4", + "display": "Cuban", + "definition": "Cuban" + }, + { + "code": "2184-0", + "display": "Dominican", + "definition": "Dominican" + }, + { + "code": "2138-6", + "display": "Andalusian", + "definition": "Andalusian" + }, + { + "code": "2139-4", + "display": "Asturian", + "definition": "Asturian" + }, + { + "code": "2140-2", + "display": "Castillian", + "definition": "Castillian" + }, + { + "code": "2141-0", + "display": "Catalonian", + "definition": "Catalonian" + }, + { + "code": "2142-8", + "display": "Belearic Islander", + "definition": "Belearic Islander" + }, + { + "code": "2143-6", + "display": "Gallego", + "definition": "Gallego" + }, + { + "code": "2144-4", + "display": "Valencian", + "definition": "Valencian" + }, + { + "code": "2145-1", + "display": "Canarian", + "definition": "Canarian" + }, + { + "code": "2146-9", + "display": "Spanish Basque", + "definition": "Spanish Basque" + }, + { + "code": "2149-3", + "display": "Mexican American", + "definition": "Mexican American" + }, + { + "code": "2150-1", + "display": "Mexicano", + "definition": "Mexicano" + }, + { + "code": "2151-9", + "display": "Chicano", + "definition": "Chicano" + }, + { + "code": "2152-7", + "display": "La Raza", + "definition": "La Raza" + }, + { + "code": "2153-5", + "display": "Mexican American Indian", + "definition": "Mexican American Indian" + }, + { + "code": "2156-8", + "display": "Costa Rican", + "definition": "Costa Rican" + }, + { + "code": "2157-6", + "display": "Guatemalan", + "definition": "Guatemalan" + }, + { + "code": "2158-4", + "display": "Honduran", + "definition": "Honduran" + }, + { + "code": "2159-2", + "display": "Nicaraguan", + "definition": "Nicaraguan" + }, + { + "code": "2160-0", + "display": "Panamanian", + "definition": "Panamanian" + }, + { + "code": "2161-8", + "display": "Salvadoran", + "definition": "Salvadoran" + }, + { + "code": "2162-6", + "display": "Central American Indian", + "definition": "Central American Indian" + }, + { + "code": "2163-4", + "display": "Canal Zone", + "definition": "Canal Zone" + }, + { + "code": "2166-7", + "display": "Argentinean", + "definition": "Argentinean" + }, + { + "code": "2167-5", + "display": "Bolivian", + "definition": "Bolivian" + }, + { + "code": "2168-3", + "display": "Chilean", + "definition": "Chilean" + }, + { + "code": "2169-1", + "display": "Colombian", + "definition": "Colombian" + }, + { + "code": "2170-9", + "display": "Ecuadorian", + "definition": "Ecuadorian" + }, + { + "code": "2171-7", + "display": "Paraguayan", + "definition": "Paraguayan" + }, + { + "code": "2172-5", + "display": "Peruvian", + "definition": "Peruvian" + }, + { + "code": "2173-3", + "display": "Uruguayan", + "definition": "Uruguayan" + }, + { + "code": "2174-1", + "display": "Venezuelan", + "definition": "Venezuelan" + }, + { + "code": "2175-8", + "display": "South American Indian", + "definition": "South American Indian" + }, + { + "code": "2176-6", + "display": "Criollo", + "definition": "Criollo" + } + ] + }, + { + "code": "2186-5", + "display": "Not Hispanic or Latino", + "definition": "Note that this term remains in the table for completeness, even though within HL7, the notion of \"not otherwise coded\" term is deprecated." + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/CodeSystem/CodeSystem-communication-medium.json b/evaluator.cli/src/test/resources/qicore/vocabulary/CodeSystem/CodeSystem-communication-medium.json new file mode 100644 index 000000000..db71adad2 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/CodeSystem/CodeSystem-communication-medium.json @@ -0,0 +1,107 @@ +{ + "resourceType": "CodeSystem", + "id": "communication-medium", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablecodesystem" + ] + }, + "text": { + "status": "generated", + "div": "

QICore Communication Medium Codes

Value Set for QICore Communication Medium (Example)

\n

This code system http://hl7.org/fhir/us/qicore/CodeSystem/communication-medium defines the following codes:

CodeDisplayDefinition
unspecified Not SpecifiedThe communication medium has not been specified
telephone TelephoneThe message was communicated via telephone
fax Facsimile (fax)The message was sent via a fax transmission
device Via medical deviceThe message was communicated via a medical device
video Video callThe message was communicated via a video call
voicemail Voice message (voicemail)The message was left on the recipient's voicemail system
text Text message (SMS)The message was sent via text message (SMS)
social-media Social mediaThe message was communicated via a social media platform
in-person In personThe message was communicated in person
mail Mail (conventional)The message was posted via conventional mail
email Electronic mail (email)The message was sent as an email
portal Patient portalThe message was communicated via a patient portal
" + }, + "url": "http://hl7.org/fhir/us/qicore/CodeSystem/communication-medium", + "version": "4.0.0", + "name": "CommunicationMedium", + "title": "QICore Communication Medium Codes", + "status": "draft", + "experimental": false, + "date": "2018-08-22T00:00:00+00:00", + "publisher": "Health Level Seven, Inc. - CQI WG", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/special/committees/CQI" + } + ] + } + ], + "description": "Value Set for QICore Communication Medium (Example)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "caseSensitive": true, + "content": "complete", + "concept": [ + { + "code": "unspecified", + "display": "Not Specified", + "definition": "The communication medium has not been specified" + }, + { + "code": "telephone", + "display": "Telephone", + "definition": "The message was communicated via telephone" + }, + { + "code": "fax", + "display": "Facsimile (fax)", + "definition": "The message was sent via a fax transmission" + }, + { + "code": "device", + "display": "Via medical device", + "definition": "The message was communicated via a medical device" + }, + { + "code": "video", + "display": "Video call", + "definition": "The message was communicated via a video call" + }, + { + "code": "voicemail", + "display": "Voice message (voicemail)", + "definition": "The message was left on the recipient's voicemail system" + }, + { + "code": "text", + "display": "Text message (SMS)", + "definition": "The message was sent via text message (SMS)" + }, + { + "code": "social-media", + "display": "Social media", + "definition": "The message was communicated via a social media platform" + }, + { + "code": "in-person", + "display": "In person", + "definition": "The message was communicated in person" + }, + { + "code": "mail", + "display": "Mail (conventional)", + "definition": "The message was posted via conventional mail" + }, + { + "code": "email", + "display": "Electronic mail (email)", + "definition": "The message was sent as an email" + }, + { + "code": "portal", + "display": "Patient portal", + "definition": "The message was communicated via a patient portal" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/CodeSystem/CodeSystem-condition-category.json b/evaluator.cli/src/test/resources/qicore/vocabulary/CodeSystem/CodeSystem-condition-category.json new file mode 100644 index 000000000..ab6e5ccff --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/CodeSystem/CodeSystem-condition-category.json @@ -0,0 +1,65 @@ +{ + "resourceType": "CodeSystem", + "id": "condition-category", + "text": { + "status": "extensions", + "div": "

US Core Condition Category Extension Codes

Set of codes that are needed for implementation of the US-Core profiles. These codes are used as extensions to the FHIR and US Core value sets.

\n

Properties

CodeURLDescriptionType
statushttp://hl7.org/fhir/concept-properties#statusA property that indicates the status of the concept. One of active, experimental, deprecated, retiredcode

This code system http://hl7.org/fhir/us/core/CodeSystem/condition-category defines the following codes:

CodeDisplayDefinitionDeprecated
problem ProblemThe patients problems as identified by the provider(s). Items on the provider’s problem listDeprecated
health-concern Health ConcernAdditional health concerns from other stakeholders which are outside the provider’s problem list.
" + }, + "url": "http://hl7.org/fhir/us/core/CodeSystem/condition-category", + "version": "3.1.0", + "name": "USCoreConditionCategoryExtensionCodes", + "title": "US Core Condition Category Extension Codes", + "status": "active", + "date": "2019-11-06T12:37:38+11:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "Set of codes that are needed for implementation of the US-Core profiles. These codes are used as extensions to the FHIR and US Core value sets.\n", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "caseSensitive": true, + "content": "complete", + "property": [ + { + "code": "status", + "uri": "http://hl7.org/fhir/concept-properties#status", + "description": "A property that indicates the status of the concept. One of active, experimental, deprecated, retired", + "type": "code" + } + ], + "concept": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/codesystem-replacedby", + "valueCoding": { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + } + ], + "code": "problem", + "display": "Problem", + "definition": "The patients problems as identified by the provider(s). Items on the provider’s problem list", + "property": [ + { + "code": "status", + "valueCode": "deprecated" + } + ] + }, + { + "code": "health-concern", + "display": "Health Concern", + "definition": "Additional health concerns from other stakeholders which are outside the provider’s problem list." + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/CodeSystem/CodeSystem-condition-criticality.json b/evaluator.cli/src/test/resources/qicore/vocabulary/CodeSystem/CodeSystem-condition-criticality.json new file mode 100644 index 000000000..4d88aed08 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/CodeSystem/CodeSystem-condition-criticality.json @@ -0,0 +1,77 @@ +{ + "resourceType": "CodeSystem", + "id": "condition-criticality", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablecodesystem" + ] + }, + "text": { + "status": "generated", + "div": "

QICore Condition Criticality Codes

Value Set for QICore Condition Criticality (Example)

\n

This code system http://hl7.org/fhir/us/qicore/CodeSystem/condition-criticality defines the following codes:

CodeDisplayDefinition
unspecified Not SpecifiedThe criticality of the condition is not specified
self-resolving Expected to Self-ResolveThe condition is expected to resolve on its own
controllable ControllableThe condition is considered to be controllable
functional-loss Potential loss of function or capacityThe condition may result in partial or full loss of function or capacity
life-threatening Life ThreateningThe condition is considered to be life-threatening
requires-hospitalization Requires HospitalizationThe condition requires hospitalization
" + }, + "url": "http://hl7.org/fhir/us/qicore/CodeSystem/condition-criticality", + "version": "4.0.0", + "name": "ConditionCriticality", + "title": "QICore Condition Criticality Codes", + "status": "draft", + "experimental": false, + "date": "2018-08-22T00:00:00+00:00", + "publisher": "Health Level Seven, Inc. - CQI WG", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/special/committees/CQI" + } + ] + } + ], + "description": "Value Set for QICore Condition Criticality (Example)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "caseSensitive": true, + "content": "complete", + "concept": [ + { + "code": "unspecified", + "display": "Not Specified", + "definition": "The criticality of the condition is not specified" + }, + { + "code": "self-resolving", + "display": "Expected to Self-Resolve", + "definition": "The condition is expected to resolve on its own" + }, + { + "code": "controllable", + "display": "Controllable", + "definition": "The condition is considered to be controllable" + }, + { + "code": "functional-loss", + "display": "Potential loss of function or capacity", + "definition": "The condition may result in partial or full loss of function or capacity" + }, + { + "code": "life-threatening", + "display": "Life Threatening", + "definition": "The condition is considered to be life-threatening" + }, + { + "code": "requires-hospitalization", + "display": "Requires Hospitalization", + "definition": "The condition requires hospitalization" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/CodeSystem/CodeSystem-diagnosticorder-precondition.json b/evaluator.cli/src/test/resources/qicore/vocabulary/CodeSystem/CodeSystem-diagnosticorder-precondition.json new file mode 100644 index 000000000..42da106bc --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/CodeSystem/CodeSystem-diagnosticorder-precondition.json @@ -0,0 +1,62 @@ +{ + "resourceType": "CodeSystem", + "id": "diagnosticorder-precondition", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablecodesystem" + ] + }, + "text": { + "status": "generated", + "div": "

QICore Diagnostic Order Precondition

The condition, state, or problem that the patient is in or has prior to a therapy or procedure. This captures temporal (temporary circumstances) that have bearing on the data that it qualifies but will not necessarily modify its meaning. Things like 'after activity', 'at rest', or 'post-op'.

\n

This code system http://hl7.org/fhir/us/qicore/CodeSystem/diagnosticorder-precondition defines the following codes:

CodeDisplayDefinition
1 After activityThe diagnostic test was or should be performed after the patient has engaged in physical activity
2 At restThe diagnostic test was or should be performed while the patient is at rest
3 Post-opThe diagnostic test was or should be performed after the patient operation
" + }, + "url": "http://hl7.org/fhir/us/qicore/CodeSystem/diagnosticorder-precondition", + "version": "4.0.0", + "name": "DiagnosticOrderPrecondition", + "title": "QICore Diagnostic Order Precondition", + "status": "draft", + "experimental": false, + "date": "2018-08-22T00:00:00+00:00", + "publisher": "Health Level Seven, Inc. - CQI WG", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/special/committees/CQI" + } + ] + } + ], + "description": "The condition, state, or problem that the patient is in or has prior to a therapy or procedure. This captures temporal (temporary circumstances) that have bearing on the data that it qualifies but will not necessarily modify its meaning. Things like 'after activity', 'at rest', or 'post-op'. ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "caseSensitive": true, + "content": "complete", + "concept": [ + { + "code": "1", + "display": "After activity", + "definition": "The diagnostic test was or should be performed after the patient has engaged in physical activity" + }, + { + "code": "2", + "display": "At rest", + "definition": "The diagnostic test was or should be performed while the patient is at rest" + }, + { + "code": "3", + "display": "Post-op", + "definition": "The diagnostic test was or should be performed after the patient operation" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/CodeSystem/CodeSystem-observation-verification.json b/evaluator.cli/src/test/resources/qicore/vocabulary/CodeSystem/CodeSystem-observation-verification.json new file mode 100644 index 000000000..ee90cb214 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/CodeSystem/CodeSystem-observation-verification.json @@ -0,0 +1,57 @@ +{ + "resourceType": "CodeSystem", + "id": "observation-verification", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablecodesystem" + ] + }, + "text": { + "status": "generated", + "div": "

QICore Observation Verification Method

Code for method by which the observation result was validated, e.g., human review, sliding average.

\n

This code system http://hl7.org/fhir/us/qicore/CodeSystem/observation-verification defines the following codes:

CodeDisplayDefinition
1 Human reviewThe observation was reviewed and verified by a person
2 Sliding averageThe observation was verified against a sliding average
" + }, + "url": "http://hl7.org/fhir/us/qicore/CodeSystem/observation-verification", + "version": "4.0.0", + "name": "ObservationVerification", + "title": "QICore Observation Verification Method", + "status": "draft", + "experimental": false, + "date": "2018-08-22T00:00:00+00:00", + "publisher": "Health Level Seven, Inc. - CQI WG", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/special/committees/CQI" + } + ] + } + ], + "description": "Code for method by which the observation result was validated, e.g., human review, sliding average.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "caseSensitive": true, + "content": "complete", + "concept": [ + { + "code": "1", + "display": "Human review", + "definition": "The observation was reviewed and verified by a person" + }, + { + "code": "2", + "display": "Sliding average", + "definition": "The observation was verified against a sliding average" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/CodeSystem/CodeSystem-us-core-documentreference-category.json b/evaluator.cli/src/test/resources/qicore/vocabulary/CodeSystem/CodeSystem-us-core-documentreference-category.json new file mode 100644 index 000000000..1048f8a3d --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/CodeSystem/CodeSystem-us-core-documentreference-category.json @@ -0,0 +1,37 @@ +{ + "resourceType": "CodeSystem", + "id": "us-core-documentreference-category", + "text": { + "status": "generated", + "div": "

US Core DocumentReferences Category Codes

The US Core DocumentReferences Type Code System is a 'starter set' of categories supported for fetching and storing DocumentReference Resources.

\n

This code system http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category defines the following codes:

CodeDisplayDefinition
clinical-note Clinical NotePart of health record where healthcare professionals record details to document a patient's clinical status or achievements during the course of a hospitalization or over the course of outpatient care ([Wikipedia](https://en.wikipedia.org/wiki/Progress_note))
" + }, + "url": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "version": "3.1.0", + "name": "USCoreDocumentReferencesCategoryCodes", + "title": "US Core DocumentReferences Category Codes", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "description": "The US Core DocumentReferences Type Code System is a 'starter set' of categories supported for fetching and storing DocumentReference Resources.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "caseSensitive": true, + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category", + "content": "complete", + "count": 2, + "concept": [ + { + "code": "clinical-note", + "display": "Clinical Note", + "definition": "Part of health record where healthcare professionals record details to document a patient's clinical status or achievements during the course of a hospitalization or over the course of outpatient care ([Wikipedia](https://en.wikipedia.org/wiki/Progress_note))" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/CodeSystem/CodeSystem-us-core-provenance-participant-type.json b/evaluator.cli/src/test/resources/qicore/vocabulary/CodeSystem/CodeSystem-us-core-provenance-participant-type.json new file mode 100644 index 000000000..f4901f721 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/CodeSystem/CodeSystem-us-core-provenance-participant-type.json @@ -0,0 +1,36 @@ +{ + "resourceType": "CodeSystem", + "id": "us-core-provenance-participant-type", + "text": { + "status": "generated", + "div": "

US Core Provenance Participant Type Extension Codes

Set of codes that are needed for implementation of the US-Core profiles. These codes are used as extensions to the FHIR and US Core value sets.

\n

This code system http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type defines the following codes:

CodeDisplayDefinition
transmitter TransmitterThe entity that provided the copy to your system.
" + }, + "url": "http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type", + "version": "3.1.0", + "name": "USCoreProvenancePaticipantTypeExtensionCodes", + "title": "US Core Provenance Participant Type Extension Codes", + "status": "active", + "date": "2019-11-06T12:37:38+11:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "Set of codes that are needed for implementation of the US-Core profiles. These codes are used as extensions to the FHIR and US Core value sets.\n", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "caseSensitive": true, + "content": "complete", + "concept": [ + { + "code": "transmitter", + "display": "Transmitter", + "definition": "The entity that provided the copy to your system." + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-birthsex.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-birthsex.json new file mode 100644 index 000000000..51230be3a --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-birthsex.json @@ -0,0 +1,69 @@ +{ + "resourceType": "ValueSet", + "id": "birthsex", + "text": { + "status": "generated", + "div": "

Birth Sex

Codes for assigning sex at birth as specified by the Office of the National Coordinator for Health IT (ONC)

\n

This value set includes codes from the following code systems:

  • Include these codes as defined in http://terminology.hl7.org/CodeSystem/v3-AdministrativeGender
    CodeDisplay
    FFemaleFemale
    MMaleMale
  • Include these codes as defined in http://terminology.hl7.org/CodeSystem/v3-NullFlavor
    CodeDisplay
    UNKUnknownDescription:A proper value is applicable, but not known.
    \n \n Usage Notes: This means the actual value is not known. If the only thing that is unknown is how to properly express the value in the necessary constraints (value set, datatype, etc.), then the OTH or UNC flavor should be used. No properties should be included for a datatype with this property unless:
    \n \n Those properties themselves directly translate to a semantic of "unknown". (E.g. a local code sent as a translation that conveys 'unknown')\n Those properties further qualify the nature of what is unknown. (E.g. specifying a use code of "H" and a URL prefix of "tel:" to convey that it is the home phone number that is unknown.)
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/birthsex", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113762.1.4.1021.24" + } + ], + "version": "3.1.0", + "name": "BirthSex", + "title": "Birth Sex", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "Codes for assigning sex at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-AdministrativeGender", + "concept": [ + { + "code": "F", + "display": "Female" + }, + { + "code": "M", + "display": "Male" + } + ] + }, + { + "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor", + "concept": [ + { + "code": "UNK", + "display": "Unknown" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-detailed-ethnicity.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-detailed-ethnicity.json new file mode 100644 index 000000000..90af3ae3b --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-detailed-ethnicity.json @@ -0,0 +1,54 @@ +{ + "resourceType": "ValueSet", + "id": "detailed-ethnicity", + "text": { + "status": "generated", + "div": "

Detailed ethnicity

The 41 CDC ethnicity codes that are grouped under one of the 2 OMB ethnicity category codes.

\n

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/detailed-ethnicity", + "version": "3.1.0", + "name": "DetailedEthnicity", + "title": "Detailed ethnicity", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "The 41 [CDC ethnicity codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 2 OMB ethnicity category codes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "2133-7" + } + ] + } + ], + "exclude": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "concept": [ + { + "code": "2135-2" + }, + { + "code": "2186-5" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-detailed-race.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-detailed-race.json new file mode 100644 index 000000000..46df4b0d4 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-detailed-race.json @@ -0,0 +1,63 @@ +{ + "resourceType": "ValueSet", + "id": "detailed-race", + "text": { + "status": "generated", + "div": "

Detailed Race

The 900+ CDC Race codes that are grouped under one of the 5 OMB race category codes.

\n

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/detailed-race", + "version": "3.1.0", + "name": "DetailedRace", + "title": "Detailed Race", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "The 900+ [CDC Race codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 5 OMB race category codes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "1000-9" + } + ] + } + ], + "exclude": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "concept": [ + { + "code": "1002-5" + }, + { + "code": "2028-9" + }, + { + "code": "2054-5" + }, + { + "code": "2076-8" + }, + { + "code": "2106-3" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-omb-ethnicity-category.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-omb-ethnicity-category.json new file mode 100644 index 000000000..1629de405 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-omb-ethnicity-category.json @@ -0,0 +1,44 @@ +{ + "resourceType": "ValueSet", + "id": "omb-ethnicity-category", + "text": { + "status": "generated", + "div": "

OMB Ethnicity Categories

The codes for the ethnicity categories - 'Hispanic or Latino' and 'Non Hispanic or Latino' - as defined by the OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997.

\n

This value set includes codes from the following code systems:

  • Include these codes as defined in urn:oid:2.16.840.1.113883.6.238
    CodeDisplay
    2135-2Hispanic or LatinoHispanic or Latino
    2186-5Non Hispanic or LatinoNote that this term remains in the table for completeness, even though within HL7, the notion of "not otherwise coded" term is deprecated.
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/omb-ethnicity-category", + "version": "3.1.0", + "name": "OmbEthnicityCategories", + "title": "OMB Ethnicity Categories", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "The codes for the ethnicity categories - 'Hispanic or Latino' and 'Non Hispanic or Latino' - as defined by the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.whitehouse.gov/omb/fedreg_1997standards).", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "concept": [ + { + "code": "2135-2", + "display": "Hispanic or Latino" + }, + { + "code": "2186-5", + "display": "Non Hispanic or Latino" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-omb-race-category.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-omb-race-category.json new file mode 100644 index 000000000..2098ae997 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-omb-race-category.json @@ -0,0 +1,93 @@ +{ + "resourceType": "ValueSet", + "id": "omb-race-category", + "text": { + "status": "generated", + "div": "

OMB Race Categories

The codes for the concepts 'Unknown' and 'Asked but no answer' and the the codes for the five race categories - 'American Indian' or 'Alaska Native', 'Asian', 'Black or African American', 'Native Hawaiian or Other Pacific Islander', and 'White' - as defined by the OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997 .

\n

This value set includes codes from the following code systems:

  • Include these codes as defined in urn:oid:2.16.840.1.113883.6.238
    CodeDisplay
    1002-5American Indian or Alaska NativeAmerican Indian or Alaska Native
    2028-9AsianAsian
    2054-5Black or African AmericanBlack or African American
    2076-8Native Hawaiian or Other Pacific IslanderNative Hawaiian or Other Pacific Islander
    2106-3WhiteWhite
  • Include these codes as defined in http://terminology.hl7.org/CodeSystem/v3-NullFlavor
    CodeDisplay
    UNKUnknownDescription:A proper value is applicable, but not known.
    \n \n Usage Notes: This means the actual value is not known. If the only thing that is unknown is how to properly express the value in the necessary constraints (value set, datatype, etc.), then the OTH or UNC flavor should be used. No properties should be included for a datatype with this property unless:
    \n \n Those properties themselves directly translate to a semantic of "unknown". (E.g. a local code sent as a translation that conveys 'unknown')\n Those properties further qualify the nature of what is unknown. (E.g. specifying a use code of "H" and a URL prefix of "tel:" to convey that it is the home phone number that is unknown.)
    ASKUAsked but no answerInformation was sought but not found (e.g., patient was asked but didn't know)
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/omb-race-category", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.4.642.2.575" + } + ], + "version": "3.1.0", + "name": "OmbRaceCategories", + "title": "OMB Race Categories", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + }, + { + "telecom": [ + { + "system": "other", + "value": "http://wiki.siframework.org/Data+Access+Framework+Homepage" + } + ] + } + ], + "description": "The codes for the concepts 'Unknown' and 'Asked but no answer' and the the codes for the five race categories - 'American Indian' or 'Alaska Native', 'Asian', 'Black or African American', 'Native Hawaiian or Other Pacific Islander', and 'White' - as defined by the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.whitehouse.gov/omb/fedreg_1997standards) .", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "concept": [ + { + "code": "1002-5", + "display": "American Indian or Alaska Native" + }, + { + "code": "2028-9", + "display": "Asian" + }, + { + "code": "2054-5", + "display": "Black or African American" + }, + { + "code": "2076-8", + "display": "Native Hawaiian or Other Pacific Islander" + }, + { + "code": "2106-3", + "display": "White" + } + ] + }, + { + "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor", + "concept": [ + { + "code": "UNK", + "display": "Unknown" + }, + { + "code": "ASKU", + "display": "Asked but no answer" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-allergyintolerance-reason-refuted.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-allergyintolerance-reason-refuted.json new file mode 100644 index 000000000..f25f080ac --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-allergyintolerance-reason-refuted.json @@ -0,0 +1,63 @@ +{ + "resourceType": "ValueSet", + "id": "qicore-allergyintolerance-reason-refuted", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset" + ] + }, + "text": { + "status": "generated", + "div": "

Reasons for refuting allergy or intolerance codes

The value set to instantiate this attribute should be drawn from a terminologically robust code system for reasons of refuting an allergy or intolerance. This value set is provided as a suggestive example.

\n

Copyright Statement:

This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement.

\n
  • Include codes from http://snomed.info/sct where concept is-a 272519000 (Absence findings) and concept is-a 410516002 (Known absent (qualifier value))
" + }, + "url": "http://hl7.org/fhir/us/qicore/ValueSet/qicore-allergyintolerance-reason-refuted", + "version": "4.0.0", + "name": "QICoreAllergyIntoleranceReasonRefuted", + "title": "Reasons for refuting allergy or intolerance codes", + "status": "draft", + "experimental": false, + "date": "2018-08-22T00:00:00+00:00", + "publisher": "Health Level Seven, Inc. - CQI WG", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/special/committees/CQI" + } + ] + } + ], + "description": "The value set to instantiate this attribute should be drawn from a terminologically robust code system for reasons of refuting an allergy or intolerance. This value set is provided as a suggestive example.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement.", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "272519000" + }, + { + "property": "concept", + "op": "is-a", + "value": "410516002" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-appropriateness-score.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-appropriateness-score.json new file mode 100644 index 000000000..32dc3171f --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-appropriateness-score.json @@ -0,0 +1,51 @@ +{ + "resourceType": "ValueSet", + "id": "qicore-appropriateness-score", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset" + ] + }, + "text": { + "status": "generated", + "div": "
\n

QICoreAppropriatenessScore

\n

The RAND scoring for appropriateness of the procedure.

\n

This value set has an inline code system which defines the following codes:

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n Code\n \n Display\n \n Definition\n
extremely-inappropriate\n \n Extremely InappropriateThe procedure is extremely inappropriate
inappropriate\n \n InappropriateThe procedure is inappropriate
probably-inappropriate\n \n Probably InappropriateThe procedure is probably inappropriate
uncertain-inappropriate\n \n Uncertain InappropriateThe appropriateness of the procedure is uncertain, leaning towards inappropriate
uncertain\n \n UncertainThe appropriateness of the procedure is uncertain
uncertain-appropriate\n \n Uncertain AppropriateThe appropriateness of the procedure is uncertain, leaning towards appropriate
probably-appropriate\n \n Probably AppropriateThe procedure is probably appropriate
appropriate\n \n AppropriateThe procedure is appropriate
extremely-appropriate\n \n Extremely AppropriateThe procedure is extremely appropriate
\n
" + }, + "url": "http://hl7.org/fhir/us/qicore/ValueSet/qicore-appropriateness-score", + "version": "4.0.0", + "name": "QICoreAppropriatenessScore", + "title": "RAND Appropriateness Scores", + "status": "draft", + "experimental": false, + "date": "2018-08-22T00:00:00+00:00", + "publisher": "Health Level Seven, Inc. - CQI WG", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/special/committees/CQI" + } + ] + } + ], + "description": "The RAND scoring for appropriateness of the procedure.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "immutable": true, + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/us/qicore/CodeSystem/appropriateness-score" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-bodystructure-precoordinated.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-bodystructure-precoordinated.json new file mode 100644 index 000000000..589a4e098 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-bodystructure-precoordinated.json @@ -0,0 +1,65 @@ +{ + "resourceType": "ValueSet", + "id": "qicore-bodystructure-precoordinated", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset" + ] + }, + "text": { + "status": "generated", + "div": "

Precoordinated Body Structures

SELECT SNOMED CT code system values representing precoordinated body structures.

\n

Copyright Statement:

This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement

\n
" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-extensible", + "valueBoolean": true + } + ], + "url": "http://hl7.org/fhir/us/qicore/ValueSet/qicore-bodystructure-precoordinated", + "version": "4.0.0", + "name": "QICoreBodyStructurePreCoordinated", + "title": "Precoordinated Body Structures", + "status": "draft", + "experimental": false, + "date": "2018-08-22T00:00:00+00:00", + "publisher": "Health Level Seven, Inc. - CQI WG", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/special/committees/CQI" + } + ] + } + ], + "description": "SELECT SNOMED CT code system values representing precoordinated body structures.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "immutable": true, + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "91723000" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-communication-reason-not-performed.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-communication-reason-not-performed.json new file mode 100644 index 000000000..cd382a4ea --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-communication-reason-not-performed.json @@ -0,0 +1,58 @@ +{ + "resourceType": "ValueSet", + "id": "qicore-communication-reason-not-performed", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset" + ] + }, + "text": { + "status": "generated", + "div": "

Communication reason not performed codes

Reason communication was not performed. A set of codes specifying the motivation, cause, or rationale of not performing a communication such as being rejected or refused. This value set is provided as a suggestive example.

\n

Copyright Statement:

This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement.

\n
" + }, + "url": "http://hl7.org/fhir/us/qicore/ValueSet/qicore-communication-reason-not-performed", + "version": "4.0.0", + "name": "QICoreCommunicationReasonNotPerformed", + "title": "Communication reason not performed codes", + "status": "draft", + "experimental": false, + "date": "2018-08-22T00:00:00+00:00", + "publisher": "Health Level Seven, Inc. - CQI WG", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/special/committees/CQI" + } + ] + } + ], + "description": "Reason communication was not performed. A set of codes specifying the motivation, cause, or rationale of not performing a communication such as being rejected or refused. This value set is provided as a suggestive example.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement.", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "410521004" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-condition-certainty.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-condition-certainty.json new file mode 100644 index 000000000..0cd36bdc5 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-condition-certainty.json @@ -0,0 +1,58 @@ +{ + "resourceType": "ValueSet", + "id": "qicore-condition-certainty", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset" + ] + }, + "text": { + "status": "generated", + "div": "

Condition/Diagnosis Certainty

Example value set for Condition/Problem/Diagnosis certainty

\n

Copyright Statement:

This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement

\n
" + }, + "url": "http://hl7.org/fhir/us/qicore/ValueSet/qicore-condition-certainty", + "version": "4.0.0", + "name": "QICoreConditionCertainty", + "title": "Condition/Diagnosis Certainty", + "status": "draft", + "experimental": false, + "date": "2018-08-22T00:00:00+00:00", + "publisher": "Health Level Seven, Inc. - CQI WG", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/special/committees/CQI" + } + ] + } + ], + "description": "Example value set for Condition/Problem/Diagnosis certainty", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "36692007" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-condition-criticality.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-condition-criticality.json new file mode 100644 index 000000000..1b3303103 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-condition-criticality.json @@ -0,0 +1,50 @@ +{ + "resourceType": "ValueSet", + "id": "qicore-condition-criticality", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset" + ] + }, + "text": { + "status": "generated", + "div": "

QICore Condition Criticality Codes

Value Set for QICore Condition Criticality (Example)

\n
" + }, + "url": "http://hl7.org/fhir/us/qicore/ValueSet/qicore-condition-criticality", + "version": "4.0.0", + "name": "QICoreConditionCriticality", + "title": "QICore Condition Criticality Codes", + "status": "draft", + "experimental": false, + "date": "2018-08-22T00:00:00+00:00", + "publisher": "Health Level Seven, Inc. - CQI WG", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/special/committees/CQI" + } + ] + } + ], + "description": "Value Set for QICore Condition Criticality (Example)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/us/qicore/CodeSystem/condition-criticality" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-condition-stage.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-condition-stage.json new file mode 100644 index 000000000..af66761dc --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-condition-stage.json @@ -0,0 +1,58 @@ +{ + "resourceType": "ValueSet", + "id": "qicore-condition-stage", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset" + ] + }, + "text": { + "status": "generated", + "div": "

Disease Stage Value Set

A period or phase in the course of a disease, or the degree of involvement or severity of a disease. Stage acts as a qualifier for the condition.

\n

Copyright Statement:

This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement

\n
" + }, + "url": "http://hl7.org/fhir/us/qicore/ValueSet/qicore-condition-stage", + "version": "4.0.0", + "name": "QICoreConditionStage", + "title": "Disease Stage Value Set", + "status": "active", + "experimental": false, + "date": "2018-08-22T00:00:00+00:00", + "publisher": "Health Level Seven, Inc. - CQI WG", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/special/committees/CQI" + } + ] + } + ], + "description": "A period or phase in the course of a disease, or the degree of involvement or severity of a disease. Stage acts as a qualifier for the condition.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "261612004" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-encounter-canceled-reason.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-encounter-canceled-reason.json new file mode 100644 index 000000000..458811dd3 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-encounter-canceled-reason.json @@ -0,0 +1,78 @@ +{ + "resourceType": "ValueSet", + "id": "qicore-encounter-canceled-reason", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset" + ] + }, + "text": { + "status": "generated", + "div": "

Reasons for canceled or refused encounter codes

The value set to instantiate this attribute should be drawn from a terminologically robust code system that consists of or contains concepts to support the encounter process, in particular the process and reasons for canceling or refusing an encounter. This value set is provided as a suggestive example

\n

Copyright Statement:

This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement

\n
  • Include these codes as defined in http://terminology.hl7.org/CodeSystem/v3-ActReason
    CodeDisplay
    BLKUnexpected Block (of Schedule)The time slots previously allocated are now blocked and no longer available for booking Appointments
    DECPatient DeceasedThe Patient is deceased
    FINNo Financial BackingPatient unable to pay and not covered by insurance
    MEDMedical Status AlteredThe medical condition of the Patient has changed
    ALTDaltered decisionDescription:The decision on which the recorded information was based was changed before the decision had an effect.
    \n \n Example:Aborted prescription before patient left office, released prescription before suspend took effect.
  • Include codes from http://snomed.info/sct where concept is-a 410521004 (Not to be done (qualifier value))

This value set includes codes based on the following rules:

" + }, + "url": "http://hl7.org/fhir/us/qicore/ValueSet/qicore-encounter-canceled-reason", + "version": "4.0.0", + "name": "QICoreEncounterCanceledReason", + "title": "Reasons for canceled or refused encounter codes", + "status": "draft", + "experimental": false, + "date": "2018-08-22T00:00:00+00:00", + "publisher": "Health Level Seven, Inc. - CQI WG", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/special/committees/CQI" + } + ] + } + ], + "description": "The value set to instantiate this attribute should be drawn from a terminologically robust code system that consists of or contains concepts to support the encounter process, in particular the process and reasons for canceling or refusing an encounter. This value set is provided as a suggestive example", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason", + "concept": [ + { + "code": "BLK" + }, + { + "code": "DEC" + }, + { + "code": "FIN" + }, + { + "code": "MED" + }, + { + "code": "ALTD" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "410521004" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-encounter-condition-role.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-encounter-condition-role.json new file mode 100644 index 000000000..7999514b6 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-encounter-condition-role.json @@ -0,0 +1,58 @@ +{ + "resourceType": "ValueSet", + "id": "qicore-encounter-condition-role", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset" + ] + }, + "text": { + "status": "generated", + "div": "

SNOMED CT Qualifier For Type of Diagnosis Codes

This value set includes all the "Qualifier for type of diagnosis" SNOMED CT codes (i.e. codes with an is-a relationship with 106229004: Qualifier for type of diagnosis).

\n

Copyright Statement:

This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement

\n
" + }, + "url": "http://hl7.org/fhir/us/qicore/ValueSet/qicore-encounter-condition-role", + "version": "4.0.0", + "name": "QICoreEncounterConditionRole", + "title": "SNOMED CT Qualifier For Type of Diagnosis Codes", + "status": "draft", + "experimental": false, + "date": "2018-08-22T00:00:00+00:00", + "publisher": "Health Level Seven, Inc. - CQI WG", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/special/committees/CQI" + } + ] + } + ], + "description": "This value set includes all the \"Qualifier for type of diagnosis\" SNOMED CT codes (i.e. codes with an is-a relationship with 106229004: Qualifier for type of diagnosis).", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "106229004" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-flag-category.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-flag-category.json new file mode 100644 index 000000000..a13622d84 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-flag-category.json @@ -0,0 +1,50 @@ +{ + "resourceType": "ValueSet", + "id": "qicore-flag-category", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset" + ] + }, + "text": { + "status": "generated", + "div": "

Flag Category Codes

Value Set for Flag Category (Example). This value set defines category codes for Patient Record Flags. Patient record flags is a mechanism in which an alert can be assigned to patients who have certain high risk clinical needs or behavior problems. Flags can be configured to appear during the patient look-up process.

\n
" + }, + "url": "http://hl7.org/fhir/us/qicore/ValueSet/qicore-flag-category", + "version": "4.0.0", + "name": "QICoreFlagCategory", + "title": "Flag Category Codes", + "status": "draft", + "experimental": false, + "date": "2018-08-22T00:00:00+00:00", + "publisher": "Health Level Seven, Inc. - CQI WG", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/special/committees/CQI" + } + ] + } + ], + "description": "Value Set for Flag Category (Example). This value set defines category codes for Patient Record Flags. Patient record flags is a mechanism in which an alert can be assigned to patients who have certain high risk clinical needs or behavior problems. Flags can be configured to appear during the patient look-up process.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "http://terminology.hl7.org/CodeSystem/flag-category" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-goal-reason-rejected.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-goal-reason-rejected.json new file mode 100644 index 000000000..9a3997178 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-goal-reason-rejected.json @@ -0,0 +1,78 @@ +{ + "resourceType": "ValueSet", + "id": "qicore-goal-reason-rejected", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset" + ] + }, + "text": { + "status": "generated", + "div": "

Reasons for rejecting goal codes

The value set to instantiate this attribute should be drawn from a terminologically robust code system that consists of or contains concepts to support the goal process, in particular the process and reasons for rejecting a goal. This value set is provided as a suggestive example.

\n

Copyright Statement:

This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement.

\n
  • Include these codes as defined in http://terminology.hl7.org/CodeSystem/v3-ActReason
    CodeDisplay
    BLKUnexpected Block (of Schedule)The time slots previously allocated are now blocked and no longer available for booking Appointments
    DECPatient DeceasedThe Patient is deceased
    FINNo Financial BackingPatient unable to pay and not covered by insurance
    MEDMedical Status AlteredThe medical condition of the Patient has changed
    ALTDaltered decisionDescription:The decision on which the recorded information was based was changed before the decision had an effect.
    \n \n Example:Aborted prescription before patient left office, released prescription before suspend took effect.
  • Include codes from http://snomed.info/sct where concept is-a 410521004 (Not to be done (qualifier value))

This value set includes codes based on the following rules:

" + }, + "url": "http://hl7.org/fhir/us/qicore/ValueSet/qicore-goal-reason-rejected", + "version": "4.0.0", + "name": "QICoreGoalReasonRejected", + "title": "Reasons for rejecting goal codes", + "status": "draft", + "experimental": false, + "date": "2018-08-22T00:00:00+00:00", + "publisher": "Health Level Seven, Inc. - CQI WG", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/special/committees/CQI" + } + ] + } + ], + "description": "The value set to instantiate this attribute should be drawn from a terminologically robust code system that consists of or contains concepts to support the goal process, in particular the process and reasons for rejecting a goal. This value set is provided as a suggestive example.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement.", + "compose": { + "include": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason", + "concept": [ + { + "code": "BLK" + }, + { + "code": "DEC" + }, + { + "code": "FIN" + }, + { + "code": "MED" + }, + { + "code": "ALTD" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "410521004" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-medication-dose-type.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-medication-dose-type.json new file mode 100644 index 000000000..217482172 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-medication-dose-type.json @@ -0,0 +1,58 @@ +{ + "resourceType": "ValueSet", + "id": "qicore-medication-dose-type", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset" + ] + }, + "text": { + "status": "generated", + "div": "

SNOMED CT Dosages Codes

This value set includes all the "Dosages" SNOMED CT codes (i.e. codes with an is-a relationship with 277406006: Dosages).

\n

Copyright Statement:

This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement

\n
" + }, + "url": "http://hl7.org/fhir/us/qicore/ValueSet/qicore-medication-dose-type", + "version": "4.0.0", + "name": "QICoreMedicationDoseType", + "title": "SNOMED CT Dosages Codes", + "status": "draft", + "experimental": false, + "date": "2018-08-22T00:00:00+00:00", + "publisher": "Health Level Seven, Inc. - CQI WG", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/special/committees/CQI" + } + ] + } + ], + "description": "This value set includes all the \"Dosages\" SNOMED CT codes (i.e. codes with an is-a relationship with 277406006: Dosages).", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "277406006" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-negation-reason.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-negation-reason.json new file mode 100644 index 000000000..dfd1c466a --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-negation-reason.json @@ -0,0 +1,39 @@ +{ + "resourceType": "ValueSet", + "id": "qicore-negation-reason", + "text": { + "status": "generated", + "div": "

Negation Reason Codes

This value set defines the set of codes that can be used to indicate the reason an action was not taken

\n
  • Import all the codes that are contained in http://cts.nlm.nih.gov/fhir/2.16.840.1.113762.1.4.1021.56, http://cts.nlm.nih.gov/fhir/2.16.840.1.113762.1.4.1021.58, http://cts.nlm.nih.gov/fhir/2.16.840.1.113883.3.526.3.1009
" + }, + "url": "http://hl7.org/fhir/us/qicore/ValueSet/qicore-negation-reason", + "version": "4.0.0", + "name": "NegationReasonCodes", + "title": "Negation Reason Codes", + "status": "active", + "date": "2018-12-05T00:00:00+00:00", + "publisher": "Health Level Seven, Inc. - CQI WG", + "description": "This value set defines the set of codes that can be used to indicate the reason an action was not taken", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "purpose": "This value set was defined to support identifying any of the possible negation reason codes as part of QICore profiles. The value set is composed of the codes from [Medical Reason Not Done SCT](http://cts.nlm.nih.gov/fhir/2.16.840.1.113762.1.4.1021.56), [Patient Reason Not Done SCT](http://cts.nlm.nih.gov/fhir/2.16.840.1.113762.1.4.1021.58), and [System Reason](http://cts.nlm.nih.gov/fhir/2.16.840.1.113883.3.526.3.1009) as defined and available in the Value Set Authority Center.", + "compose": { + "include": [ + { + "valueSet": [ + "http://cts.nlm.nih.gov/fhir/2.16.840.1.113762.1.4.1021.56", + "http://cts.nlm.nih.gov/fhir/2.16.840.1.113762.1.4.1021.58", + "http://cts.nlm.nih.gov/fhir/2.16.840.1.113883.3.526.3.1009" + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-observation-body-position.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-observation-body-position.json new file mode 100644 index 000000000..e519691af --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-observation-body-position.json @@ -0,0 +1,65 @@ +{ + "resourceType": "ValueSet", + "id": "qicore-observation-body-position", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset" + ] + }, + "text": { + "status": "generated", + "div": "

Body Position

SNOMED CT code system values descending from the following:'body position finding' 9851009

\n

Copyright Statement:

This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement

\n
" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-extensible", + "valueBoolean": true + } + ], + "url": "http://hl7.org/fhir/us/qicore/ValueSet/qicore-observation-body-position", + "version": "4.0.0", + "name": "QICoreObservationBodyPosition", + "title": "Body Position", + "status": "draft", + "experimental": false, + "date": "2018-08-22T00:00:00+00:00", + "publisher": "Health Level Seven, Inc. - CQI WG", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/special/committees/CQI" + } + ] + } + ], + "description": "SNOMED CT code system values descending from the following:'body position finding' 9851009", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "immutable": true, + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "9851009" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-observation-delta.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-observation-delta.json new file mode 100644 index 000000000..6d14a6342 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-observation-delta.json @@ -0,0 +1,74 @@ +{ + "resourceType": "ValueSet", + "id": "qicore-observation-delta", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset" + ] + }, + "text": { + "status": "generated", + "div": "

QICore Observation Delta Value Set Definition

Code indicating how the current observation compares to previous observations - e.g., no change, rising trend, decreasing trend, etc...

\n
" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-extensible", + "valueBoolean": true + } + ], + "url": "http://hl7.org/fhir/us/qicore/ValueSet/qicore-observation-delta", + "version": "4.0.0", + "name": "QICoreObservationDelta", + "title": "QICore Observation Delta Value Set Definition", + "status": "draft", + "experimental": false, + "date": "2018-08-22T00:00:00+00:00", + "publisher": "Health Level Seven, Inc. - CQI WG", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/special/committees/CQI" + } + ] + } + ], + "description": "Code indicating how the current observation compares to previous observations - e.g., no change, rising trend, decreasing trend, etc...", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0078", + "concept": [ + { + "code": "B", + "display": "Better-use when direction not relevant" + }, + { + "code": "D", + "display": "Significant change down" + }, + { + "code": "U", + "display": "Significant change up" + }, + { + "code": "W", + "display": "Worse-use when direction not relevant" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-observation-verification.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-observation-verification.json new file mode 100644 index 000000000..ad67fd8a6 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-observation-verification.json @@ -0,0 +1,50 @@ +{ + "resourceType": "ValueSet", + "id": "qicore-observation-verification", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset" + ] + }, + "text": { + "status": "generated", + "div": "

QICore Observation Verification Method

Code for method by which the observation result was validated, e.g., human review, sliding average.

\n
" + }, + "url": "http://hl7.org/fhir/us/qicore/ValueSet/qicore-observation-verification", + "version": "4.0.0", + "name": "QICoreObservationVerification", + "title": "QICore Observation Verification Method", + "status": "draft", + "experimental": false, + "date": "2018-08-22T00:00:00+00:00", + "publisher": "Health Level Seven, Inc. - CQI WG", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/special/committees/CQI" + } + ] + } + ], + "description": "Code for method by which the observation result was validated, e.g., human review, sliding average.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/us/qicore/CodeSystem/observation-verification" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-patient-disability.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-patient-disability.json new file mode 100644 index 000000000..d912a7097 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-patient-disability.json @@ -0,0 +1,58 @@ +{ + "resourceType": "ValueSet", + "id": "qicore-patient-disability", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset" + ] + }, + "text": { + "status": "generated", + "div": "

Disability Value Set

Disability is broadly defined as a physical or mental condition that limits a person's movements, senses, or activities. This includes items such as handicap, impairment, invalidism, functional dependency, and incompetence.

\n

Copyright Statement:

This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement

\n
" + }, + "url": "http://hl7.org/fhir/us/qicore/ValueSet/qicore-patient-disability", + "version": "4.0.0", + "name": "QICorePatientDisability", + "title": "Disability Value Set", + "status": "active", + "experimental": false, + "date": "2018-08-22T00:00:00+00:00", + "publisher": "Health Level Seven, Inc. - CQI WG", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/special/committees/CQI" + } + ] + } + ], + "description": "Disability is broadly defined as a physical or mental condition that limits a person's movements, senses, or activities. This includes items such as handicap, impairment, invalidism, functional dependency, and incompetence.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "105719004" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-priority.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-priority.json new file mode 100644 index 000000000..d41195392 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-priority.json @@ -0,0 +1,58 @@ +{ + "resourceType": "ValueSet", + "id": "qicore-priority", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset" + ] + }, + "text": { + "status": "generated", + "div": "

SNOMED CT Priorities Codes

This value set includes all the "Priorities" SNOMED CT codes (i.e. codes with an is-a relationship with 272125009: Priorities).

\n

Copyright Statement:

This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement

\n
" + }, + "url": "http://hl7.org/fhir/us/qicore/ValueSet/qicore-priority", + "version": "4.0.0", + "name": "QICorePriority", + "title": "SNOMED CT Priorities Codes", + "status": "draft", + "experimental": false, + "date": "2018-08-22T00:00:00+00:00", + "publisher": "Health Level Seven, Inc. - CQI WG", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/special/committees/CQI" + } + ] + } + ], + "description": "This value set includes all the \"Priorities\" SNOMED CT codes (i.e. codes with an is-a relationship with 272125009: Priorities).", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "272125009" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-procedure-type.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-procedure-type.json new file mode 100644 index 000000000..ed3c2847d --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-procedure-type.json @@ -0,0 +1,26 @@ +{ + "resourceType": "ValueSet", + "id": "qicore-procedure-type", + "text": { + "status": "generated", + "div": "

QiCoreProcedureType

This value set includes example Procedure Type codes

\n

    This value set includes codes based on the following rules:

" + }, + "url": "http://hl7.org/fhir/us/qicore/ValueSet/qicore-procedure-type", + "version": "4.0.0", + "name": "QiCoreProcedureType", + "status": "active", + "date": "2019-12-05T01:00:00+00:00", + "publisher": "Health Level Seven, Inc. - CQI WG", + "description": "This value set includes example Procedure Type codes", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-servicerequest-reason-rejected.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-servicerequest-reason-rejected.json new file mode 100644 index 000000000..dbdb2c977 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-qicore-servicerequest-reason-rejected.json @@ -0,0 +1,78 @@ +{ + "resourceType": "ValueSet", + "id": "qicore-servicerequest-reason-rejected", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/shareablevalueset" + ] + }, + "text": { + "status": "generated", + "div": "

Reasons for rejecting a service request

The value set to instantiate this attribute should be drawn from a terminologically robust code system for reasons of rejecting or canceling a referral request. This value set is provided as a suggestive example.

\n

Copyright Statement:

This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement.

\n
  • Include codes from http://snomed.info/sct where concept is-a 416406003 (Procedure discontinued), concept is-a 428119001 (Procedure not indicated (situation)), concept is-a 416064006 (Procedure not offered), concept is-a 416432009 (Procedure not wanted) and concept is-a 410521004 (Not to be done (qualifier value))
" + }, + "url": "http://hl7.org/fhir/us/qicore/ValueSet/qicore-servicerequest-reason-rejected", + "version": "4.0.0", + "name": "QICoreServiceRequestReasonRejected", + "title": "Reasons for rejecting a service request", + "status": "draft", + "experimental": false, + "date": "2018-08-22T00:00:00+00:00", + "publisher": "Health Level Seven, Inc. - CQI WG", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/special/committees/CQI" + } + ] + } + ], + "description": "The value set to instantiate this attribute should be drawn from a terminologically robust code system for reasons of rejecting or canceling a referral request. This value set is provided as a suggestive example.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement.", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "416406003" + }, + { + "property": "concept", + "op": "is-a", + "value": "428119001" + }, + { + "property": "concept", + "op": "is-a", + "value": "416064006" + }, + { + "property": "concept", + "op": "is-a", + "value": "416432009" + }, + { + "property": "concept", + "op": "is-a", + "value": "410521004" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-simple-language.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-simple-language.json new file mode 100644 index 000000000..398eff795 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-simple-language.json @@ -0,0 +1,71 @@ +{ + "resourceType": "ValueSet", + "id": "simple-language", + "text": { + "status": "generated", + "div": "

Language codes with language and optionally a region modifier

This value set includes codes from BCP-47. This value set matches the ONC 2015 Edition LanguageCommunication data element value set within C-CDA to use a 2 character language code if one exists, and a 3 character code if a 2 character code does not exist. It points back to RFC 5646, however only the language codes are required, all other elements are optional.

\n

This value set includes codes from the following code systems:

  • Include codes from urn:ietf:bcp:47 where ext-lang doesn't exist, script doesn't exist, variant doesn't exist, extension doesn't exist and private-use doesn't exist
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/simple-language", + "version": "3.1.0", + "name": "LanguageCodesWithLanguageAndOptionallyARegionModifier", + "title": "Language codes with language and optionally a region modifier", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This value set includes codes from [BCP-47](http://tools.ietf.org/html/bcp47). This value set matches the ONC 2015 Edition LanguageCommunication data element value set within C-CDA to use a 2 character language code if one exists, and a 3 character code if a 2 character code does not exist. It points back to [RFC 5646](https://tools.ietf.org/html/rfc5646), however only the language codes are required, all other elements are optional.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "urn:ietf:bcp:47", + "filter": [ + { + "property": "ext-lang", + "op": "exists", + "value": "false" + }, + { + "property": "script", + "op": "exists", + "value": "false" + }, + { + "property": "variant", + "op": "exists", + "value": "false" + }, + { + "property": "extension", + "op": "exists", + "value": "false" + }, + { + "property": "private-use", + "op": "exists", + "value": "false" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-allergy-substance.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-allergy-substance.json new file mode 100644 index 000000000..b10301feb --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-allergy-substance.json @@ -0,0 +1,3118 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-allergy-substance", + "text": { + "status": "generated", + "div": "

US Core Common substances for allergy and intolerance documentation including refutations

Documentation of substances suspected of (or not suspected of) causing an allergy or intolerance reaction in an individual. Inclusion Criteria: specific or general substances to which a patient may be exposed and which may be suspected of causing an adverse reaction; assertions refuting these suspicions. This includes: 1. Common dietary substances for allergy and intolerance documentation (SNOMEDCT) 2. Common drug classes for allergy and intolerance documentation (SNOMEDCT) 3. Common drug substances for allergy and intolerance documentation (RXNORM) 4. Common environmental substances for allergy and intolerance documentation (SNOMEDCT) 5. Common refutations and null values for substance causes for allergy and intolerance documentation (SNOMEDCT) Exclusion Criteria: actual conditions caused by exposure (reactions, allergies)

\n

Copyright Statement: This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement

This value set includes codes from the following code systems:

  • Include these codes as defined in http://www.nlm.nih.gov/research/umls/rxnorm
    CodeDisplay
    1002293formoterol / Mometasone
    1007388Lactase / rennet
    1008298Acetaminophen / Caffeine / Chlorpheniramine / Hydrocodone / Phenylephrine
    1008519guaiacolsulfonate / Hydrocodone
    1009148Ampicillin / Sulbactam
    10109Streptomycin
    10154Succinylcholine
    10156Sucralfate
    10169Sulfacetamide
    10171Sulfadiazine
    10180Sulfamethoxazole
    10207Sulfisoxazole
    10223Sulfur
    10237Sulindac
    10324Tamoxifen
    10355Temazepam
    10368Terbutaline
    1037042dabigatran etexilate
    10379Testosterone
    10395Tetracycline
    103990Carbidopa / Levodopa
    1040028lurasidone
    10438Theophylline
    10472Thimerosal
    10493Thiopental
    10502Thioridazine
    10510Thiothixene
    10582levothyroxine
    10594Ticlopidine
    10600Timolol
    10627Tobramycin
    10636Tolmetin
    10689Tramadol
    10737Trazodone
    10759Triamcinolone
    107602Epinephrine / Lidocaine
    10763Triamterene
    10767Triazolam
    10800Trifluoperazine
    108118Mometasone
    10829Trimethoprim
    10831Sulfamethoxazole / Trimethoprim
    11124Vancomycin
    1114195rivaroxaban
    1116632Ticagrelor
    11170Verapamil
    11248Vitamin B 12
    11253Vitamin D
    11256Vitamin E
    11289Warfarin
    113588Erythromycin / Sulfisoxazole
    11416Zinc
    11423Zinc Oxide
    114477Levetiracetam
    114970zafirlukast
    114979rabeprazole
    1151Ascorbic Acid
    115264Ibandronate
    115552trovafloxacin
    115698ziprasidone
    1191Aspirin
    119565tolterodine
    1202Atenolol
    121191rituximab
    1223Atropine
    1256Azathioprine
    1272Aztreonam
    1291Bacitracin
    1292Baclofen
    1310171Gadolinium
    1311085xanthine
    1311524Aspartame
    1311629nickel
    1314891Latex
    1331Barium Sulfate
    134615brimonidine
    1347Beclomethasone
    135447donepezil
    135775zolmitriptan
    1359Belladonna Alkaloids
    1362879Sulfur Dioxide
    1363043ethyl ether
    136411sildenafil
    1364430apixaban
    138099gemifloxacin
    139462moxifloxacin
    1399Benzocaine
    140587celecoxib
    1406benzoin resin
    141626colesevelam
    1418Benzoyl Peroxide
    1424Benztropine
    1514Betamethasone
    153970Hyoscyamine
    1596450Gentamicin
    15996Mirtazapine
    161Acetaminophen
    16681Acarbose
    167Acetazolamide
    17128lansoprazole
    1727875Tetanus immune globulin
    17300alfuzosin
    17767Amlodipine
    1827Buspirone
    183379rivastigmine
    1841Butorphanol
    18631Azithromycin
    187832pregabalin
    1886Caffeine
    18867benazepril
    1895Calcium
    1897Calcium Carbonate
    18993benzonatate
    190376linezolid
    191831infliximab
    19478bismuth subsalicylate
    19552cefprozil
    19711Amoxicillin / Clavulanate
    19831Budesonide
    1998Captopril
    2002Carbamazepine
    20352carvedilol
    20481cefepime
    20489cefpodoxime
    20610Cetirizine
    2101Carisoprodol
    21107cilostazol
    21183Citric Acid
    21212Clarithromycin
    214130Acetaminophen / butalbital / Caffeine
    214153Acetaminophen / dichloralphenazone / isometheptene
    214159Aspirin / butalbital / Caffeine
    214160Aspirin / butalbital / Caffeine / Codeine
    214181Acetaminophen / Diphenhydramine
    214182Acetaminophen / Hydrocodone
    214183Acetaminophen / Oxycodone
    214199Albuterol / Ipratropium
    214223Amlodipine / benazepril
    214250Aspirin / Caffeine
    214256Aspirin / Oxycodone
    214257Aspirin / Pentazocine
    214317Bisoprolol / Hydrochlorothiazide
    214336Caffeine / Ergotamine
    214354candesartan
    214364carbinoxamine / Pseudoephedrine
    214392Chlorpheniramine / Hydrocodone
    214442Codeine / Guaifenesin
    214445Codeine / Pseudoephedrine
    214488Dextromethorphan / Guaifenesin
    214502Diclofenac / Misoprostol
    214555Etanercept
    214558Ethinyl Estradiol / Levonorgestrel
    214565fexofenadine / Pseudoephedrine
    214599Guaifenesin / Pseudoephedrine
    214614homatropine / Hydrocodone
    214617Hydrochlorothiazide / irbesartan
    214618Hydrochlorothiazide / Lisinopril
    214619Hydrochlorothiazide / Losartan
    214626Hydrochlorothiazide / valsartan
    214627Hydrocodone / Ibuprofen
    214631Hydrocodone / Pseudoephedrine
    214682Loratadine / Pseudoephedrine
    214721Naloxone / Pentazocine
    214807Pseudoephedrine / Triprolidine
    2176Cefaclor
    217627Hydrocortisone / Neomycin / Polymyxin B
    2177Cefadroxil
    2180Cefazolin
    2189Cefoxitin
    2191Ceftazidime
    2193Ceftriaxone
    219314Polymyxin B / Trimethoprim
    219315Iron polysaccharide
    2194Cefuroxime
    21949cyclobenzaprine
    221147POLYETHYLENE GLYCOL 3350
    22299Daptomycin
    2231Cephalexin
    226716Aspirin / Dipyridamole
    228476gatifloxacin
    228790Dutasteride
    232158rofecoxib
    233698dronedarone
    2348Chloramphenicol
    2356Chlordiazepoxide
    2358Chlorhexidine
    236778Trospium
    237159Levalbuterol
    2393Chloroquine
    2400Chlorpheniramine
    2403Chlorpromazine
    2409Chlorthalidone
    2410Chlorzoxazone
    2418Cholecalciferol
    2447Cholestyramine Resin
    24605Etodolac
    24947ferrous sulfate
    25025Finasteride
    25033Cefixime
    25037cefdinir
    25120flunisolide
    25255formoterol
    253157Bee pollen
    2541Cimetidine
    25480gabapentin
    2551Ciprofloxacin
    2556Citalopram
    25789glimepiride
    2582Clindamycin
    258337Hydrochlorothiazide / Triamterene
    2598Clonazepam
    2599Clonidine
    260101Oseltamivir
    26225Ondansetron
    2623Clotrimazole
    2670Codeine
    2683Colchicine
    2685Colestipol
    27169leflunomide
    274783Insulin Glargine
    274786telithromycin
    27723iodinated glycerol
    278567valdecoxib
    28031Itraconazole
    281Acyclovir
    283742Esomeprazole
    283809travoprost
    28439lamotrigine
    284635fluticasone / salmeterol
    2878Cortisone
    28889Loratadine
    28981loracarbef
    29046Lisinopril
    29542Mercury, Ammoniated
    29561meropenem
    296Adenosine
    3008Cyclosporine
    301542rosuvastatin
    306674vardenafil
    3108Dapsone
    3143prasterone
    31448nabumetone
    31555nebivolol
    31565nefazodone
    31738nickel sulfate
    318340Aloe vera preparation
    321064olmesartan
    321988Escitalopram
    322167Solifenacin
    3247Desipramine
    325642ertapenem
    32592oxaliplatin
    32613oxaprozin
    32624oxcarbazepine
    3264Dexamethasone
    32675oxybutynin
    327361adalimumab
    3289Dextromethorphan
    32937Paroxetine
    32968clopidogrel
    3322Diazepam
    33408phenyltoloxamine
    3355Diclofenac
    3356Dicloxacillin
    3361Dicyclomine
    33738pioglitazone
    3393Diflunisal
    3407Digoxin
    341248ezetimibe
    3418Dihydroergotamine
    3423Hydromorphone
    3443Diltiazem
    3444Dimenhydrinate
    3498Diphenhydramine
    35208quinapril
    3521Dipyridamole
    352362Acetaminophen / Tramadol
    35296Ramipril
    35382resorcinol
    35636Risperidone
    358263tadalafil
    35827Ketorolac
    35829ranolazine
    36108Salsalate
    36117salmeterol
    3616Dobutamine
    3638Doxepin
    3640Doxycycline
    36437Sertraline
    3648Droperidol
    36567Simvastatin
    37418Sumatriptan
    37617tazobactam
    37798Terazosin
    37801terbinafine
    3827Enalapril
    3829Enalaprilat
    38400atomoxetine
    38404topiramate
    38413torsemide
    38574trichloroacetaldehyde
    38685trimethobenzamide
    389132Budesonide / formoterol
    3966Ephedrine
    39786venlafaxine
    3992Epinephrine
    39993zolpidem
    39998zonisamide
    40048Carboplatin
    400674dexbrompheniramine / Pseudoephedrine
    4025Ergotamine
    40254Valproate
    4053Erythromycin
    40575zileuton
    40790pantoprazole
    4083Estradiol
    4099Estrogens, Conjugated (USP)
    41126fluticasone
    41127fluvastatin
    4124Ethinyl Estradiol
    41397Lactase
    41493meloxicam
    42330Terfenadine
    42331Misoprostol
    42347Bupropion
    42351Lithium Carbonate
    42372Mupirocin
    42463Pravastatin
    4278Famotidine
    4316Felodipine
    4337Fentanyl
    435Albuterol
    43611latanoprost
    4419Fish Oils
    4441Flecainide
    4450Fluconazole
    448Ethanol
    4492Fluorouracil
    4493Fluoxetine
    4496Fluphenazine
    4500Flurandrenolide
    4530Formaldehyde
    4603Furosemide
    46041Alendronate
    461016Eszopiclone
    4637Galantamine
    465397Ciprofloxacin / Dexamethasone
    466522Diphenhydramine / Zinc Acetate
    466541Neomycin / Polymyxin B
    466549Aspirin / Caffeine / Orphenadrine
    466553penicillin G benzathine / penicillin G procaine
    466566Acetaminophen / Dextromethorphan / Diphenhydramine / Pseudoephedrine
    466584Acetaminophen / Aspirin / Caffeine
    4719Gemfibrozil
    475968liraglutide
    4815Glyburide
    48203Clavulanate
    4821Glipizide
    48274Acetaminophen / Propoxyphene
    484139Chlorhexidine / Isopropyl Alcohol
    484211ezetimibe / Simvastatin
    4850Glucose
    4917Nitroglycerin
    49276Doxazosin
    50166Fosinopril
    5021Griseofulvin
    5032Guaifenesin
    5093Haloperidol
    51272quetiapine
    519Allopurinol
    52175Losartan
    5224heparin
    52582mesalamine
    5470Hydralazine
    5487Hydrochlorothiazide
    5489Hydrocodone
    5492Hydrocortisone
    5499Hydrogen Peroxide
    5521Hydroxychloroquine
    5553Hydroxyzine
    5640Ibuprofen
    5691Imipramine
    56946Paclitaxel
    57258tizanidine
    5764Indapamide
    5781Indomethacin
    588250milnacipran
    59078metaxalone
    591622varenicline
    5933Iodine
    593411sitagliptin
    594040Atropine / Diphenoxylate
    5956Iohexol
    596Alprazolam
    596723cerivastatin
    597142brimonidine / Timolol
    5992Iron-Dextran Complex
    60207dorzolamide
    6038isoniazid
    60548exenatide
    6057Isosorbide
    6058Isosorbide Dinitrate
    611854Chlordiazepoxide / clidinium
    6130Ketamine
    6135Ketoconazole
    61381olanzapine
    6142Ketoprofen
    6185Labetalol
    620Amantadine
    6218Lactulose
    6227Lanolin
    6387Lidocaine
    6398Lincomycin
    6448Lithium
    645555Bacitracin / Polymyxin B
    6468Loperamide
    6470Lorazepam
    6472Lovastatin
    6574Magnesium
    6585Magnesium Sulfate
    662263dorzolamide / Timolol
    6676Meclizine
    6691Medroxyprogesterone
    67108Enoxaparin
    6711Melatonin
    6719Memantine
    6750Menthol
    6754Meperidine
    6809Metformin
    6813Methadone
    6835Methimazole
    6845Methocarbamol
    6851Methotrexate
    6876Methyldopa
    689Aminophylline
    689467Oxytetracycline / Polymyxin B
    689518Aspirin / Caffeine / Propoxyphene
    689556Acetaminophen / Aspirin / Phenylpropanolamine
    689558Acetaminophen / Brompheniramine / Pseudoephedrine
    689561Acetaminophen / butalbital / Caffeine / Codeine
    689582Acetaminophen / Chlorpheniramine / Dextromethorphan / Pseudoephedrine
    689606Atropine / Hyoscyamine / Phenobarbital / Scopolamine
    689623Bacitracin / Hydrocortisone / Neomycin / Polymyxin B
    690077Benzalkonium / Lidocaine
    6901Methylphenidate
    6902Methylprednisolone
    690693Diphenhydramine / Phenylephrine
    690808Brompheniramine / Dextromethorphan / Pseudoephedrine
    69120tiotropium
    6915Metoclopramide
    6916Metolazone
    6918Metoprolol
    6922Metronidazole
    692572Bacitracin / Neomycin / Polymyxin B
    692794Gramicidin / Neomycin / Polymyxin B
    6932Miconazole
    6960Midazolam
    69749valsartan
    6980Minocycline
    6984Minoxidil
    703Amiodarone
    704Amitriptyline
    7052Morphine
    705258Acetaminophen / Dextromethorphan / Doxylamine
    7213Ipratropium
    72143Raloxifene
    72236fosphenytoin
    723Amoxicillin
    72302ropinirole
    7233Nafcillin
    7238Nalbuphine
    7243Naltrexone
    725Amphetamine
    7258Naproxen
    72625duloxetine
    7299Neomycin
    73056Risedronate
    733Ampicillin
    73494telmisartan
    73645valacyclovir
    7393Niacin
    7407Nicotine
    74169Piperacillin / tazobactam
    7417Nifedipine
    7454Nitrofurantoin
    746741Pramipexole
    7486Nitrous Oxide
    7517Norfloxacin
    7531Nortriptyline
    7597Nystatin
    7623Ofloxacin
    7646Omeprazole
    7676Opium
    7715Orphenadrine
    77492tamsulosin
    7804Oxycodone
    7821Oxytetracycline
    787390tapentadol
    7975Penicillamine
    797541Isopropyl Alcohol
    7980Penicillin G
    7984Penicillin V
    7994Pentamidine
    8001Pentazocine
    8120Phenazopyridine
    8134Phenobarbital
    815166Dextromethorphan / Doxylamine
    8163Phenylephrine
    816346dexlansoprazole
    8175Phenylpropanolamine
    817579Acetaminophen / Codeine
    817958Aspirin / Calcium Carbonate
    8183Phenytoin
    82122Levofloxacin
    822929Amphetamine aspartate / Amphetamine Sulfate / Dextroamphetamine saccharate / Dextroamphetamine Sulfate
    83367atorvastatin
    8356Piroxicam
    83818irbesartan
    84108rosiglitazone
    8536Polymyxin B
    857974saxagliptin
    8588Potassium
    8591Potassium Chloride
    8610Povidone
    8611Povidone-Iodine
    861634pitavastatin
    8629Prazosin
    8638prednisolone
    8640Prednisone
    8687Primaquine
    8691Primidone
    8698Probenecid
    8700Procainamide
    8701Procaine
    8703Fenofibrate
    8704Prochlorperazine
    8727Progesterone
    8745Promethazine
    8754Propafenone
    87636fexofenadine
    8782Propofol
    8785Propoxyphene
    8787Propranolol
    8794Propylthiouracil
    88014rizatriptan
    88249montelukast
    883815Dexamethasone / Tobramycin
    8896Pseudoephedrine
    89013aripiprazole
    8928Psyllium
    8948Purified Protein Derivative of Tuberculin
    90176Iron
    9068Quinidine
    9071Quinine
    91263Aloe Extract
    9143Ranitidine
    9384Rifampin
    9524Sulfasalazine
    9601Scopolamine
    9778Silicones
    9793silver sulfadiazine
    9947Sotalol
    9997Spironolactone
  • Include these codes as defined in http://snomed.info/sct
    CodeDisplay
    102259006Citrus fruit (substance)
    102261002Strawberry (substance)
    102262009Chocolate (substance)
    102263004Eggs (edible) (substance)
    102264005Cheese (substance)
    111088007Latex (substance)
    111151007Anabolic steroid (substance)
    11526002Aspartame (substance)
    116274004Artificial sweetener (substance)
    116566001Steroid (substance)
    13577000Nut (substance)
    14443002Substance with aminoglycoside structure and antibacterial mechanism of action (substance)
    226723006Buckwheat - cereal (substance)
    226734009Wheatgerm (substance)
    226760005Dairy foods (substance)
    226915003Red meat (substance)
    226916002Beef (substance)
    226934003Pork (substance)
    226955001Chicken - meat (substance)
    226967004Turkey - meat (substance)
    227144008Tuna fish (substance)
    227151004Prawns (substance)
    227208008Abalone canned in brine (substance)
    227219006Aubergine (substance)
    227313005Pulse vegetables (substance)
    227388008Cinnamon (substance)
    227400003Ginger (substance)
    227421003Cranberries (substance)
    227444000Raspberries (substance)
    227493005Cashew nut (substance)
    227512001Pistachio nut (substance)
    227598003Honey (substance)
    228102000Sodium nitrate (substance)
    255632006Anticonvulsant (substance)
    255637000Salicylate (substance)
    255641001Caffeine (substance)
    256259004Pollen (substance)
    256277009Grass pollen (substance)
    256306003Orange - fruit (substance)
    256307007Banana (substance)
    256313003Pineapple (substance)
    256315005Grapefruit (substance)
    256317002Grapes (substance)
    256319004Carrot (substance)
    256326004Celery (substance)
    256329006Spinach (substance)
    256350002Almond (substance)
    256351003Brazil nut (substance)
    256352005Walnut - nut (substance)
    256353000Hazelnut (substance)
    256354006Bean (substance)
    256417003Horse dander (substance)
    256440004Wasp venom (substance)
    259858000Varicella-zoster virus antibody (substance)
    260152009Cat dander (substance)
    260154005Dog dander (substance)
    260167008Sesame seed (substance)
    260176001Kiwi fruit (substance)
    260177005Melon (substance)
    260179008Mango fruit (substance)
    260184002Peas (substance)
    260189007Pecan nut (substance)
    260205009Sunflower seed (substance)
    264287008Animal dander (substance)
    264337003Seed (substance)
    28230009Poultry (substance)
    288328004Bee venom (substance)
    28942008Coconut oil (substance)
    29263009Coffee (substance)
    304275008Corticosteroid and corticosteroid derivative (substance)
    33008008Dust (substance)
    350327004Diphtheria + tetanus vaccine (product)
    35748005Wine (substance)
    360201004Nitrofuran derivative (substance)
    3692009Sodium sulfite (substance)
    372480009Substance with macrolide structure and antibacterial mechanism of action (substance)
    372664007Benzodiazepine (substance)
    372665008Non-steroidal anti-inflammatory agent (substance)
    372711004Sulfonylurea (substance)
    372722000Substance with quinolone structure and antibacterial mechanism of action (substance)
    372733002Substance with angiotensin-converting enzyme inhibitor mechanism of action (substance)
    372747003Thiazide diuretic (substance)
    372783007Antiparkinsonian agent (substance)
    372798009Barbiturate (substance)
    372806008Substance with histamine receptor antagonist mechanism of action (substance)
    372889003First generation cephalosporin (substance)
    372912004Substance with 3-hydroxy-3-methylglutaryl-coenzyme A reductase inhibitor mechanism of action (substance)
    372913009Substance with angiotensin II receptor antagonist mechanism of action (substance)
    373206009Substance with tetracycline structure and antibacterial mechanism of action (substance)
    373253007Tricyclic antidepressant (substance)
    373254001Substance with beta adrenergic receptor antagonist mechanism of action (substance)
    373262009Substance with cephalosporin structure and antibacterial mechanism of action (substance)
    373270004Substance with penicillin structure and antibacterial mechanism of action (substance)
    373297006Substance with beta-lactam structure and antibacterial mechanism of action (substance)
    373304005Substance with calcium channel blocker mechanism of action (substance)
    373531009Gelatin (substance)
    385420005Contrast media (substance)
    386127005Formula milk (substance)
    386962001Plasma protein fraction (substance)
    387050005Substance with prostaglandin-endoperoxide synthase isoform 2 inhibitor mechanism of action (substance)
    387406002Sulfonamide (substance)
    391737006Almond oil (substance)
    391739009Aloe (substance)
    396345004Carbapenem (substance)
    396420001Anthrax vaccine (substance)
    396425006Influenza virus vaccine (substance)
    396433007Pertussis vaccine (substance)
    396439006Smallpox vaccine (substance)
    396441007Typhoid vaccine (substance)
    396442000Varicella virus vaccine (substance)
    398730001Pneumococcal vaccine (substance)
    400872007Hydrocolloid (substance)
    404642006Substance with opioid receptor agonist mechanism of action (substance)
    406748003Carbamate (substance)
    409137002No known drug allergy (situation)
    412061001Blueberries (substance)
    412062008Cantaloupe (substance)
    412066006Pepper (substance)
    412068007Rye (substance)
    412071004Wheat (substance)
    412138001Horse serum protein (substance)
    412357001Corn (substance)
    412373007Diphtheria + pertussis + tetanus + Haemophilus influenzae type b vaccine (product)
    412375000Tetanus vaccine (substance)
    412533000Wheat bran (substance)
    412534006Yeast (substance)
    412583005Bee pollen (substance)
    41598000Estrogen (substance)
    417889008Arachis oil (substance)
    418000008Methadone analog (substance)
    418504009Oats (substance)
    418920007Adhesive agent (substance)
    419420009Watermelon (substance)
    419933005Glucocorticoid (substance)
    421245007Diphtheria + pertussis + tetanus vaccine (product)
    424369009Product containing beta-galactosidase (medicinal product)
    426722004Iodinated contrast media (substance)
    428607008No known environmental allergy (situation)
    429625007No known food allergy (situation)
    43735007Sulfur (substance)
    43921001Nickel compound (substance)
    44027008Seafood (substance)
    442381000124103Blue food coloring (substance)
    442571000124108Tree nut (substance)
    442771000124102Pepperoni (substance)
    44588005Iodine (substance)
    446273004Red food coloring (substance)
    446274005Yellow food coloring (substance)
    47703008Lactose (substance)
    51386004Food preservative (substance)
    51905005Mustard (substance)
    53041004Alcohol (substance)
    61789006Dye (substance)
    63045006Berry (substance)
    67324005Rice (substance)
    67866001Insulin (substance)
    70813002Milk (substance)
    710179004Lupine seed (substance)
    716184000No known latex allergy (situation)
    716186003No known allergy (situation)
    720687003Dust mite protein (substance)
    72511004Fruit (substance)
    726730005Yam (substance)
    734881000Tomato (substance)
    735006003Squid (substance)
    735009005Salmon (substance)
    735029006Shellfish (substance)
    735030001Garlic (substance)
    735043001Mackerel (substance)
    735045008Mushroom (substance)
    735047000Onion (substance)
    735049002Peach (substance)
    735050002Pear (substance)
    735051003Plum (substance)
    735053000Potato (substance)
    735123009Broccoli (substance)
    735124003Barley (substance)
    735211005Coconut (substance)
    735212003Papaya (substance)
    735213008Cucumber (substance)
    735214002Apricot (substance)
    735215001Apple (substance)
    735248001Cherry (substance)
    735249009Avocado (substance)
    735340006Lemon (substance)
    735959004Marine mollusk (substance)
    735971005Fish (substance)
    735977009Marine crustacean (substance)
    736027000Scallop (substance)
    736030007Clam (substance)
    736031006Oyster (substance)
    736159005Crab (substance)
    736162008Lobster (substance)
    74801000Sugar (substance)
    75665004Monosodium glutamate (substance)
    762952008Peanut (substance)
    7791007Soy protein (substance)
    80259003Food flavoring agent (substance)
    84489001Mold (organism)
    89119000Nitrate salt (substance)
    89707004Sesame oil (substance)
    89811004Gluten (substance)
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-allergy-substance", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113762.1.4.1186.8" + } + ], + "version": "3.1.0", + "name": "USCoreAllergySubstance", + "title": "US Core Common substances for allergy and intolerance documentation including refutations", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Documentation of substances suspected of (or not suspected of) causing an allergy or intolerance reaction in an individual. **Inclusion Criteria:** specific or general substances to which a patient may be exposed and which may be suspected of causing an adverse reaction; assertions refuting these suspicions. This includes: 1. Common dietary substances for allergy and intolerance documentation (SNOMEDCT) 2. Common drug classes for allergy and intolerance documentation (SNOMEDCT) 3. Common drug substances for allergy and intolerance documentation (RXNORM) 4. Common environmental substances for allergy and intolerance documentation (SNOMEDCT) 5. Common refutations and null values for substance causes for allergy and intolerance documentation (SNOMEDCT) **Exclusion Criteria:** actual conditions caused by exposure (reactions, allergies)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "concept": [ + { + "code": "1002293", + "display": "formoterol / Mometasone" + }, + { + "code": "1007388", + "display": "Lactase / rennet" + }, + { + "code": "1008298", + "display": "Acetaminophen / Caffeine / Chlorpheniramine / Hydrocodone / Phenylephrine" + }, + { + "code": "1008519", + "display": "guaiacolsulfonate / Hydrocodone" + }, + { + "code": "1009148", + "display": "Ampicillin / Sulbactam" + }, + { + "code": "10109", + "display": "Streptomycin" + }, + { + "code": "10154", + "display": "Succinylcholine" + }, + { + "code": "10156", + "display": "Sucralfate" + }, + { + "code": "10169", + "display": "Sulfacetamide" + }, + { + "code": "10171", + "display": "Sulfadiazine" + }, + { + "code": "10180", + "display": "Sulfamethoxazole" + }, + { + "code": "10207", + "display": "Sulfisoxazole" + }, + { + "code": "10223", + "display": "Sulfur" + }, + { + "code": "10237", + "display": "Sulindac" + }, + { + "code": "10324", + "display": "Tamoxifen" + }, + { + "code": "10355", + "display": "Temazepam" + }, + { + "code": "10368", + "display": "Terbutaline" + }, + { + "code": "1037042", + "display": "dabigatran etexilate" + }, + { + "code": "10379", + "display": "Testosterone" + }, + { + "code": "10395", + "display": "Tetracycline" + }, + { + "code": "103990", + "display": "Carbidopa / Levodopa" + }, + { + "code": "1040028", + "display": "lurasidone" + }, + { + "code": "10438", + "display": "Theophylline" + }, + { + "code": "10472", + "display": "Thimerosal" + }, + { + "code": "10493", + "display": "Thiopental" + }, + { + "code": "10502", + "display": "Thioridazine" + }, + { + "code": "10510", + "display": "Thiothixene" + }, + { + "code": "10582", + "display": "levothyroxine" + }, + { + "code": "10594", + "display": "Ticlopidine" + }, + { + "code": "10600", + "display": "Timolol" + }, + { + "code": "10627", + "display": "Tobramycin" + }, + { + "code": "10636", + "display": "Tolmetin" + }, + { + "code": "10689", + "display": "Tramadol" + }, + { + "code": "10737", + "display": "Trazodone" + }, + { + "code": "10759", + "display": "Triamcinolone" + }, + { + "code": "107602", + "display": "Epinephrine / Lidocaine" + }, + { + "code": "10763", + "display": "Triamterene" + }, + { + "code": "10767", + "display": "Triazolam" + }, + { + "code": "10800", + "display": "Trifluoperazine" + }, + { + "code": "108118", + "display": "Mometasone" + }, + { + "code": "10829", + "display": "Trimethoprim" + }, + { + "code": "10831", + "display": "Sulfamethoxazole / Trimethoprim" + }, + { + "code": "11124", + "display": "Vancomycin" + }, + { + "code": "1114195", + "display": "rivaroxaban" + }, + { + "code": "1116632", + "display": "Ticagrelor" + }, + { + "code": "11170", + "display": "Verapamil" + }, + { + "code": "11248", + "display": "Vitamin B 12" + }, + { + "code": "11253", + "display": "Vitamin D" + }, + { + "code": "11256", + "display": "Vitamin E" + }, + { + "code": "11289", + "display": "Warfarin" + }, + { + "code": "113588", + "display": "Erythromycin / Sulfisoxazole" + }, + { + "code": "11416", + "display": "Zinc" + }, + { + "code": "11423", + "display": "Zinc Oxide" + }, + { + "code": "114477", + "display": "Levetiracetam" + }, + { + "code": "114970", + "display": "zafirlukast" + }, + { + "code": "114979", + "display": "rabeprazole" + }, + { + "code": "1151", + "display": "Ascorbic Acid" + }, + { + "code": "115264", + "display": "Ibandronate" + }, + { + "code": "115552", + "display": "trovafloxacin" + }, + { + "code": "115698", + "display": "ziprasidone" + }, + { + "code": "1191", + "display": "Aspirin" + }, + { + "code": "119565", + "display": "tolterodine" + }, + { + "code": "1202", + "display": "Atenolol" + }, + { + "code": "121191", + "display": "rituximab" + }, + { + "code": "1223", + "display": "Atropine" + }, + { + "code": "1256", + "display": "Azathioprine" + }, + { + "code": "1272", + "display": "Aztreonam" + }, + { + "code": "1291", + "display": "Bacitracin" + }, + { + "code": "1292", + "display": "Baclofen" + }, + { + "code": "1310171", + "display": "Gadolinium" + }, + { + "code": "1311085", + "display": "xanthine" + }, + { + "code": "1311524", + "display": "Aspartame" + }, + { + "code": "1311629", + "display": "nickel" + }, + { + "code": "1314891", + "display": "Latex" + }, + { + "code": "1331", + "display": "Barium Sulfate" + }, + { + "code": "134615", + "display": "brimonidine" + }, + { + "code": "1347", + "display": "Beclomethasone" + }, + { + "code": "135447", + "display": "donepezil" + }, + { + "code": "135775", + "display": "zolmitriptan" + }, + { + "code": "1359", + "display": "Belladonna Alkaloids" + }, + { + "code": "1362879", + "display": "Sulfur Dioxide" + }, + { + "code": "1363043", + "display": "ethyl ether" + }, + { + "code": "136411", + "display": "sildenafil" + }, + { + "code": "1364430", + "display": "apixaban" + }, + { + "code": "138099", + "display": "gemifloxacin" + }, + { + "code": "139462", + "display": "moxifloxacin" + }, + { + "code": "1399", + "display": "Benzocaine" + }, + { + "code": "140587", + "display": "celecoxib" + }, + { + "code": "1406", + "display": "benzoin resin" + }, + { + "code": "141626", + "display": "colesevelam" + }, + { + "code": "1418", + "display": "Benzoyl Peroxide" + }, + { + "code": "1424", + "display": "Benztropine" + }, + { + "code": "1514", + "display": "Betamethasone" + }, + { + "code": "153970", + "display": "Hyoscyamine" + }, + { + "code": "1596450", + "display": "Gentamicin" + }, + { + "code": "15996", + "display": "Mirtazapine" + }, + { + "code": "161", + "display": "Acetaminophen" + }, + { + "code": "16681", + "display": "Acarbose" + }, + { + "code": "167", + "display": "Acetazolamide" + }, + { + "code": "17128", + "display": "lansoprazole" + }, + { + "code": "1727875", + "display": "Tetanus immune globulin" + }, + { + "code": "17300", + "display": "alfuzosin" + }, + { + "code": "17767", + "display": "Amlodipine" + }, + { + "code": "1827", + "display": "Buspirone" + }, + { + "code": "183379", + "display": "rivastigmine" + }, + { + "code": "1841", + "display": "Butorphanol" + }, + { + "code": "18631", + "display": "Azithromycin" + }, + { + "code": "187832", + "display": "pregabalin" + }, + { + "code": "1886", + "display": "Caffeine" + }, + { + "code": "18867", + "display": "benazepril" + }, + { + "code": "1895", + "display": "Calcium" + }, + { + "code": "1897", + "display": "Calcium Carbonate" + }, + { + "code": "18993", + "display": "benzonatate" + }, + { + "code": "190376", + "display": "linezolid" + }, + { + "code": "191831", + "display": "infliximab" + }, + { + "code": "19478", + "display": "bismuth subsalicylate" + }, + { + "code": "19552", + "display": "cefprozil" + }, + { + "code": "19711", + "display": "Amoxicillin / Clavulanate" + }, + { + "code": "19831", + "display": "Budesonide" + }, + { + "code": "1998", + "display": "Captopril" + }, + { + "code": "2002", + "display": "Carbamazepine" + }, + { + "code": "20352", + "display": "carvedilol" + }, + { + "code": "20481", + "display": "cefepime" + }, + { + "code": "20489", + "display": "cefpodoxime" + }, + { + "code": "20610", + "display": "Cetirizine" + }, + { + "code": "2101", + "display": "Carisoprodol" + }, + { + "code": "21107", + "display": "cilostazol" + }, + { + "code": "21183", + "display": "Citric Acid" + }, + { + "code": "21212", + "display": "Clarithromycin" + }, + { + "code": "214130", + "display": "Acetaminophen / butalbital / Caffeine" + }, + { + "code": "214153", + "display": "Acetaminophen / dichloralphenazone / isometheptene" + }, + { + "code": "214159", + "display": "Aspirin / butalbital / Caffeine" + }, + { + "code": "214160", + "display": "Aspirin / butalbital / Caffeine / Codeine" + }, + { + "code": "214181", + "display": "Acetaminophen / Diphenhydramine" + }, + { + "code": "214182", + "display": "Acetaminophen / Hydrocodone" + }, + { + "code": "214183", + "display": "Acetaminophen / Oxycodone" + }, + { + "code": "214199", + "display": "Albuterol / Ipratropium" + }, + { + "code": "214223", + "display": "Amlodipine / benazepril" + }, + { + "code": "214250", + "display": "Aspirin / Caffeine" + }, + { + "code": "214256", + "display": "Aspirin / Oxycodone" + }, + { + "code": "214257", + "display": "Aspirin / Pentazocine" + }, + { + "code": "214317", + "display": "Bisoprolol / Hydrochlorothiazide" + }, + { + "code": "214336", + "display": "Caffeine / Ergotamine" + }, + { + "code": "214354", + "display": "candesartan" + }, + { + "code": "214364", + "display": "carbinoxamine / Pseudoephedrine" + }, + { + "code": "214392", + "display": "Chlorpheniramine / Hydrocodone" + }, + { + "code": "214442", + "display": "Codeine / Guaifenesin" + }, + { + "code": "214445", + "display": "Codeine / Pseudoephedrine" + }, + { + "code": "214488", + "display": "Dextromethorphan / Guaifenesin" + }, + { + "code": "214502", + "display": "Diclofenac / Misoprostol" + }, + { + "code": "214555", + "display": "Etanercept" + }, + { + "code": "214558", + "display": "Ethinyl Estradiol / Levonorgestrel" + }, + { + "code": "214565", + "display": "fexofenadine / Pseudoephedrine" + }, + { + "code": "214599", + "display": "Guaifenesin / Pseudoephedrine" + }, + { + "code": "214614", + "display": "homatropine / Hydrocodone" + }, + { + "code": "214617", + "display": "Hydrochlorothiazide / irbesartan" + }, + { + "code": "214618", + "display": "Hydrochlorothiazide / Lisinopril" + }, + { + "code": "214619", + "display": "Hydrochlorothiazide / Losartan" + }, + { + "code": "214626", + "display": "Hydrochlorothiazide / valsartan" + }, + { + "code": "214627", + "display": "Hydrocodone / Ibuprofen" + }, + { + "code": "214631", + "display": "Hydrocodone / Pseudoephedrine" + }, + { + "code": "214682", + "display": "Loratadine / Pseudoephedrine" + }, + { + "code": "214721", + "display": "Naloxone / Pentazocine" + }, + { + "code": "214807", + "display": "Pseudoephedrine / Triprolidine" + }, + { + "code": "2176", + "display": "Cefaclor" + }, + { + "code": "217627", + "display": "Hydrocortisone / Neomycin / Polymyxin B" + }, + { + "code": "2177", + "display": "Cefadroxil" + }, + { + "code": "2180", + "display": "Cefazolin" + }, + { + "code": "2189", + "display": "Cefoxitin" + }, + { + "code": "2191", + "display": "Ceftazidime" + }, + { + "code": "2193", + "display": "Ceftriaxone" + }, + { + "code": "219314", + "display": "Polymyxin B / Trimethoprim" + }, + { + "code": "219315", + "display": "Iron polysaccharide" + }, + { + "code": "2194", + "display": "Cefuroxime" + }, + { + "code": "21949", + "display": "cyclobenzaprine" + }, + { + "code": "221147", + "display": "POLYETHYLENE GLYCOL 3350" + }, + { + "code": "22299", + "display": "Daptomycin" + }, + { + "code": "2231", + "display": "Cephalexin" + }, + { + "code": "226716", + "display": "Aspirin / Dipyridamole" + }, + { + "code": "228476", + "display": "gatifloxacin" + }, + { + "code": "228790", + "display": "Dutasteride" + }, + { + "code": "232158", + "display": "rofecoxib" + }, + { + "code": "233698", + "display": "dronedarone" + }, + { + "code": "2348", + "display": "Chloramphenicol" + }, + { + "code": "2356", + "display": "Chlordiazepoxide" + }, + { + "code": "2358", + "display": "Chlorhexidine" + }, + { + "code": "236778", + "display": "Trospium" + }, + { + "code": "237159", + "display": "Levalbuterol" + }, + { + "code": "2393", + "display": "Chloroquine" + }, + { + "code": "2400", + "display": "Chlorpheniramine" + }, + { + "code": "2403", + "display": "Chlorpromazine" + }, + { + "code": "2409", + "display": "Chlorthalidone" + }, + { + "code": "2410", + "display": "Chlorzoxazone" + }, + { + "code": "2418", + "display": "Cholecalciferol" + }, + { + "code": "2447", + "display": "Cholestyramine Resin" + }, + { + "code": "24605", + "display": "Etodolac" + }, + { + "code": "24947", + "display": "ferrous sulfate" + }, + { + "code": "25025", + "display": "Finasteride" + }, + { + "code": "25033", + "display": "Cefixime" + }, + { + "code": "25037", + "display": "cefdinir" + }, + { + "code": "25120", + "display": "flunisolide" + }, + { + "code": "25255", + "display": "formoterol" + }, + { + "code": "253157", + "display": "Bee pollen" + }, + { + "code": "2541", + "display": "Cimetidine" + }, + { + "code": "25480", + "display": "gabapentin" + }, + { + "code": "2551", + "display": "Ciprofloxacin" + }, + { + "code": "2556", + "display": "Citalopram" + }, + { + "code": "25789", + "display": "glimepiride" + }, + { + "code": "2582", + "display": "Clindamycin" + }, + { + "code": "258337", + "display": "Hydrochlorothiazide / Triamterene" + }, + { + "code": "2598", + "display": "Clonazepam" + }, + { + "code": "2599", + "display": "Clonidine" + }, + { + "code": "260101", + "display": "Oseltamivir" + }, + { + "code": "26225", + "display": "Ondansetron" + }, + { + "code": "2623", + "display": "Clotrimazole" + }, + { + "code": "2670", + "display": "Codeine" + }, + { + "code": "2683", + "display": "Colchicine" + }, + { + "code": "2685", + "display": "Colestipol" + }, + { + "code": "27169", + "display": "leflunomide" + }, + { + "code": "274783", + "display": "Insulin Glargine" + }, + { + "code": "274786", + "display": "telithromycin" + }, + { + "code": "27723", + "display": "iodinated glycerol" + }, + { + "code": "278567", + "display": "valdecoxib" + }, + { + "code": "28031", + "display": "Itraconazole" + }, + { + "code": "281", + "display": "Acyclovir" + }, + { + "code": "283742", + "display": "Esomeprazole" + }, + { + "code": "283809", + "display": "travoprost" + }, + { + "code": "28439", + "display": "lamotrigine" + }, + { + "code": "284635", + "display": "fluticasone / salmeterol" + }, + { + "code": "2878", + "display": "Cortisone" + }, + { + "code": "28889", + "display": "Loratadine" + }, + { + "code": "28981", + "display": "loracarbef" + }, + { + "code": "29046", + "display": "Lisinopril" + }, + { + "code": "29542", + "display": "Mercury, Ammoniated" + }, + { + "code": "29561", + "display": "meropenem" + }, + { + "code": "296", + "display": "Adenosine" + }, + { + "code": "3008", + "display": "Cyclosporine" + }, + { + "code": "301542", + "display": "rosuvastatin" + }, + { + "code": "306674", + "display": "vardenafil" + }, + { + "code": "3108", + "display": "Dapsone" + }, + { + "code": "3143", + "display": "prasterone" + }, + { + "code": "31448", + "display": "nabumetone" + }, + { + "code": "31555", + "display": "nebivolol" + }, + { + "code": "31565", + "display": "nefazodone" + }, + { + "code": "31738", + "display": "nickel sulfate" + }, + { + "code": "318340", + "display": "Aloe vera preparation" + }, + { + "code": "321064", + "display": "olmesartan" + }, + { + "code": "321988", + "display": "Escitalopram" + }, + { + "code": "322167", + "display": "Solifenacin" + }, + { + "code": "3247", + "display": "Desipramine" + }, + { + "code": "325642", + "display": "ertapenem" + }, + { + "code": "32592", + "display": "oxaliplatin" + }, + { + "code": "32613", + "display": "oxaprozin" + }, + { + "code": "32624", + "display": "oxcarbazepine" + }, + { + "code": "3264", + "display": "Dexamethasone" + }, + { + "code": "32675", + "display": "oxybutynin" + }, + { + "code": "327361", + "display": "adalimumab" + }, + { + "code": "3289", + "display": "Dextromethorphan" + }, + { + "code": "32937", + "display": "Paroxetine" + }, + { + "code": "32968", + "display": "clopidogrel" + }, + { + "code": "3322", + "display": "Diazepam" + }, + { + "code": "33408", + "display": "phenyltoloxamine" + }, + { + "code": "3355", + "display": "Diclofenac" + }, + { + "code": "3356", + "display": "Dicloxacillin" + }, + { + "code": "3361", + "display": "Dicyclomine" + }, + { + "code": "33738", + "display": "pioglitazone" + }, + { + "code": "3393", + "display": "Diflunisal" + }, + { + "code": "3407", + "display": "Digoxin" + }, + { + "code": "341248", + "display": "ezetimibe" + }, + { + "code": "3418", + "display": "Dihydroergotamine" + }, + { + "code": "3423", + "display": "Hydromorphone" + }, + { + "code": "3443", + "display": "Diltiazem" + }, + { + "code": "3444", + "display": "Dimenhydrinate" + }, + { + "code": "3498", + "display": "Diphenhydramine" + }, + { + "code": "35208", + "display": "quinapril" + }, + { + "code": "3521", + "display": "Dipyridamole" + }, + { + "code": "352362", + "display": "Acetaminophen / Tramadol" + }, + { + "code": "35296", + "display": "Ramipril" + }, + { + "code": "35382", + "display": "resorcinol" + }, + { + "code": "35636", + "display": "Risperidone" + }, + { + "code": "358263", + "display": "tadalafil" + }, + { + "code": "35827", + "display": "Ketorolac" + }, + { + "code": "35829", + "display": "ranolazine" + }, + { + "code": "36108", + "display": "Salsalate" + }, + { + "code": "36117", + "display": "salmeterol" + }, + { + "code": "3616", + "display": "Dobutamine" + }, + { + "code": "3638", + "display": "Doxepin" + }, + { + "code": "3640", + "display": "Doxycycline" + }, + { + "code": "36437", + "display": "Sertraline" + }, + { + "code": "3648", + "display": "Droperidol" + }, + { + "code": "36567", + "display": "Simvastatin" + }, + { + "code": "37418", + "display": "Sumatriptan" + }, + { + "code": "37617", + "display": "tazobactam" + }, + { + "code": "37798", + "display": "Terazosin" + }, + { + "code": "37801", + "display": "terbinafine" + }, + { + "code": "3827", + "display": "Enalapril" + }, + { + "code": "3829", + "display": "Enalaprilat" + }, + { + "code": "38400", + "display": "atomoxetine" + }, + { + "code": "38404", + "display": "topiramate" + }, + { + "code": "38413", + "display": "torsemide" + }, + { + "code": "38574", + "display": "trichloroacetaldehyde" + }, + { + "code": "38685", + "display": "trimethobenzamide" + }, + { + "code": "389132", + "display": "Budesonide / formoterol" + }, + { + "code": "3966", + "display": "Ephedrine" + }, + { + "code": "39786", + "display": "venlafaxine" + }, + { + "code": "3992", + "display": "Epinephrine" + }, + { + "code": "39993", + "display": "zolpidem" + }, + { + "code": "39998", + "display": "zonisamide" + }, + { + "code": "40048", + "display": "Carboplatin" + }, + { + "code": "400674", + "display": "dexbrompheniramine / Pseudoephedrine" + }, + { + "code": "4025", + "display": "Ergotamine" + }, + { + "code": "40254", + "display": "Valproate" + }, + { + "code": "4053", + "display": "Erythromycin" + }, + { + "code": "40575", + "display": "zileuton" + }, + { + "code": "40790", + "display": "pantoprazole" + }, + { + "code": "4083", + "display": "Estradiol" + }, + { + "code": "4099", + "display": "Estrogens, Conjugated (USP)" + }, + { + "code": "41126", + "display": "fluticasone" + }, + { + "code": "41127", + "display": "fluvastatin" + }, + { + "code": "4124", + "display": "Ethinyl Estradiol" + }, + { + "code": "41397", + "display": "Lactase" + }, + { + "code": "41493", + "display": "meloxicam" + }, + { + "code": "42330", + "display": "Terfenadine" + }, + { + "code": "42331", + "display": "Misoprostol" + }, + { + "code": "42347", + "display": "Bupropion" + }, + { + "code": "42351", + "display": "Lithium Carbonate" + }, + { + "code": "42372", + "display": "Mupirocin" + }, + { + "code": "42463", + "display": "Pravastatin" + }, + { + "code": "4278", + "display": "Famotidine" + }, + { + "code": "4316", + "display": "Felodipine" + }, + { + "code": "4337", + "display": "Fentanyl" + }, + { + "code": "435", + "display": "Albuterol" + }, + { + "code": "43611", + "display": "latanoprost" + }, + { + "code": "4419", + "display": "Fish Oils" + }, + { + "code": "4441", + "display": "Flecainide" + }, + { + "code": "4450", + "display": "Fluconazole" + }, + { + "code": "448", + "display": "Ethanol" + }, + { + "code": "4492", + "display": "Fluorouracil" + }, + { + "code": "4493", + "display": "Fluoxetine" + }, + { + "code": "4496", + "display": "Fluphenazine" + }, + { + "code": "4500", + "display": "Flurandrenolide" + }, + { + "code": "4530", + "display": "Formaldehyde" + }, + { + "code": "4603", + "display": "Furosemide" + }, + { + "code": "46041", + "display": "Alendronate" + }, + { + "code": "461016", + "display": "Eszopiclone" + }, + { + "code": "4637", + "display": "Galantamine" + }, + { + "code": "465397", + "display": "Ciprofloxacin / Dexamethasone" + }, + { + "code": "466522", + "display": "Diphenhydramine / Zinc Acetate" + }, + { + "code": "466541", + "display": "Neomycin / Polymyxin B" + }, + { + "code": "466549", + "display": "Aspirin / Caffeine / Orphenadrine" + }, + { + "code": "466553", + "display": "penicillin G benzathine / penicillin G procaine" + }, + { + "code": "466566", + "display": "Acetaminophen / Dextromethorphan / Diphenhydramine / Pseudoephedrine" + }, + { + "code": "466584", + "display": "Acetaminophen / Aspirin / Caffeine" + }, + { + "code": "4719", + "display": "Gemfibrozil" + }, + { + "code": "475968", + "display": "liraglutide" + }, + { + "code": "4815", + "display": "Glyburide" + }, + { + "code": "48203", + "display": "Clavulanate" + }, + { + "code": "4821", + "display": "Glipizide" + }, + { + "code": "48274", + "display": "Acetaminophen / Propoxyphene" + }, + { + "code": "484139", + "display": "Chlorhexidine / Isopropyl Alcohol" + }, + { + "code": "484211", + "display": "ezetimibe / Simvastatin" + }, + { + "code": "4850", + "display": "Glucose" + }, + { + "code": "4917", + "display": "Nitroglycerin" + }, + { + "code": "49276", + "display": "Doxazosin" + }, + { + "code": "50166", + "display": "Fosinopril" + }, + { + "code": "5021", + "display": "Griseofulvin" + }, + { + "code": "5032", + "display": "Guaifenesin" + }, + { + "code": "5093", + "display": "Haloperidol" + }, + { + "code": "51272", + "display": "quetiapine" + }, + { + "code": "519", + "display": "Allopurinol" + }, + { + "code": "52175", + "display": "Losartan" + }, + { + "code": "5224", + "display": "heparin" + }, + { + "code": "52582", + "display": "mesalamine" + }, + { + "code": "5470", + "display": "Hydralazine" + }, + { + "code": "5487", + "display": "Hydrochlorothiazide" + }, + { + "code": "5489", + "display": "Hydrocodone" + }, + { + "code": "5492", + "display": "Hydrocortisone" + }, + { + "code": "5499", + "display": "Hydrogen Peroxide" + }, + { + "code": "5521", + "display": "Hydroxychloroquine" + }, + { + "code": "5553", + "display": "Hydroxyzine" + }, + { + "code": "5640", + "display": "Ibuprofen" + }, + { + "code": "5691", + "display": "Imipramine" + }, + { + "code": "56946", + "display": "Paclitaxel" + }, + { + "code": "57258", + "display": "tizanidine" + }, + { + "code": "5764", + "display": "Indapamide" + }, + { + "code": "5781", + "display": "Indomethacin" + }, + { + "code": "588250", + "display": "milnacipran" + }, + { + "code": "59078", + "display": "metaxalone" + }, + { + "code": "591622", + "display": "varenicline" + }, + { + "code": "5933", + "display": "Iodine" + }, + { + "code": "593411", + "display": "sitagliptin" + }, + { + "code": "594040", + "display": "Atropine / Diphenoxylate" + }, + { + "code": "5956", + "display": "Iohexol" + }, + { + "code": "596", + "display": "Alprazolam" + }, + { + "code": "596723", + "display": "cerivastatin" + }, + { + "code": "597142", + "display": "brimonidine / Timolol" + }, + { + "code": "5992", + "display": "Iron-Dextran Complex" + }, + { + "code": "60207", + "display": "dorzolamide" + }, + { + "code": "6038", + "display": "isoniazid" + }, + { + "code": "60548", + "display": "exenatide" + }, + { + "code": "6057", + "display": "Isosorbide" + }, + { + "code": "6058", + "display": "Isosorbide Dinitrate" + }, + { + "code": "611854", + "display": "Chlordiazepoxide / clidinium" + }, + { + "code": "6130", + "display": "Ketamine" + }, + { + "code": "6135", + "display": "Ketoconazole" + }, + { + "code": "61381", + "display": "olanzapine" + }, + { + "code": "6142", + "display": "Ketoprofen" + }, + { + "code": "6185", + "display": "Labetalol" + }, + { + "code": "620", + "display": "Amantadine" + }, + { + "code": "6218", + "display": "Lactulose" + }, + { + "code": "6227", + "display": "Lanolin" + }, + { + "code": "6387", + "display": "Lidocaine" + }, + { + "code": "6398", + "display": "Lincomycin" + }, + { + "code": "6448", + "display": "Lithium" + }, + { + "code": "645555", + "display": "Bacitracin / Polymyxin B" + }, + { + "code": "6468", + "display": "Loperamide" + }, + { + "code": "6470", + "display": "Lorazepam" + }, + { + "code": "6472", + "display": "Lovastatin" + }, + { + "code": "6574", + "display": "Magnesium" + }, + { + "code": "6585", + "display": "Magnesium Sulfate" + }, + { + "code": "662263", + "display": "dorzolamide / Timolol" + }, + { + "code": "6676", + "display": "Meclizine" + }, + { + "code": "6691", + "display": "Medroxyprogesterone" + }, + { + "code": "67108", + "display": "Enoxaparin" + }, + { + "code": "6711", + "display": "Melatonin" + }, + { + "code": "6719", + "display": "Memantine" + }, + { + "code": "6750", + "display": "Menthol" + }, + { + "code": "6754", + "display": "Meperidine" + }, + { + "code": "6809", + "display": "Metformin" + }, + { + "code": "6813", + "display": "Methadone" + }, + { + "code": "6835", + "display": "Methimazole" + }, + { + "code": "6845", + "display": "Methocarbamol" + }, + { + "code": "6851", + "display": "Methotrexate" + }, + { + "code": "6876", + "display": "Methyldopa" + }, + { + "code": "689", + "display": "Aminophylline" + }, + { + "code": "689467", + "display": "Oxytetracycline / Polymyxin B" + }, + { + "code": "689518", + "display": "Aspirin / Caffeine / Propoxyphene" + }, + { + "code": "689556", + "display": "Acetaminophen / Aspirin / Phenylpropanolamine" + }, + { + "code": "689558", + "display": "Acetaminophen / Brompheniramine / Pseudoephedrine" + }, + { + "code": "689561", + "display": "Acetaminophen / butalbital / Caffeine / Codeine" + }, + { + "code": "689582", + "display": "Acetaminophen / Chlorpheniramine / Dextromethorphan / Pseudoephedrine" + }, + { + "code": "689606", + "display": "Atropine / Hyoscyamine / Phenobarbital / Scopolamine" + }, + { + "code": "689623", + "display": "Bacitracin / Hydrocortisone / Neomycin / Polymyxin B" + }, + { + "code": "690077", + "display": "Benzalkonium / Lidocaine" + }, + { + "code": "6901", + "display": "Methylphenidate" + }, + { + "code": "6902", + "display": "Methylprednisolone" + }, + { + "code": "690693", + "display": "Diphenhydramine / Phenylephrine" + }, + { + "code": "690808", + "display": "Brompheniramine / Dextromethorphan / Pseudoephedrine" + }, + { + "code": "69120", + "display": "tiotropium" + }, + { + "code": "6915", + "display": "Metoclopramide" + }, + { + "code": "6916", + "display": "Metolazone" + }, + { + "code": "6918", + "display": "Metoprolol" + }, + { + "code": "6922", + "display": "Metronidazole" + }, + { + "code": "692572", + "display": "Bacitracin / Neomycin / Polymyxin B" + }, + { + "code": "692794", + "display": "Gramicidin / Neomycin / Polymyxin B" + }, + { + "code": "6932", + "display": "Miconazole" + }, + { + "code": "6960", + "display": "Midazolam" + }, + { + "code": "69749", + "display": "valsartan" + }, + { + "code": "6980", + "display": "Minocycline" + }, + { + "code": "6984", + "display": "Minoxidil" + }, + { + "code": "703", + "display": "Amiodarone" + }, + { + "code": "704", + "display": "Amitriptyline" + }, + { + "code": "7052", + "display": "Morphine" + }, + { + "code": "705258", + "display": "Acetaminophen / Dextromethorphan / Doxylamine" + }, + { + "code": "7213", + "display": "Ipratropium" + }, + { + "code": "72143", + "display": "Raloxifene" + }, + { + "code": "72236", + "display": "fosphenytoin" + }, + { + "code": "723", + "display": "Amoxicillin" + }, + { + "code": "72302", + "display": "ropinirole" + }, + { + "code": "7233", + "display": "Nafcillin" + }, + { + "code": "7238", + "display": "Nalbuphine" + }, + { + "code": "7243", + "display": "Naltrexone" + }, + { + "code": "725", + "display": "Amphetamine" + }, + { + "code": "7258", + "display": "Naproxen" + }, + { + "code": "72625", + "display": "duloxetine" + }, + { + "code": "7299", + "display": "Neomycin" + }, + { + "code": "73056", + "display": "Risedronate" + }, + { + "code": "733", + "display": "Ampicillin" + }, + { + "code": "73494", + "display": "telmisartan" + }, + { + "code": "73645", + "display": "valacyclovir" + }, + { + "code": "7393", + "display": "Niacin" + }, + { + "code": "7407", + "display": "Nicotine" + }, + { + "code": "74169", + "display": "Piperacillin / tazobactam" + }, + { + "code": "7417", + "display": "Nifedipine" + }, + { + "code": "7454", + "display": "Nitrofurantoin" + }, + { + "code": "746741", + "display": "Pramipexole" + }, + { + "code": "7486", + "display": "Nitrous Oxide" + }, + { + "code": "7517", + "display": "Norfloxacin" + }, + { + "code": "7531", + "display": "Nortriptyline" + }, + { + "code": "7597", + "display": "Nystatin" + }, + { + "code": "7623", + "display": "Ofloxacin" + }, + { + "code": "7646", + "display": "Omeprazole" + }, + { + "code": "7676", + "display": "Opium" + }, + { + "code": "7715", + "display": "Orphenadrine" + }, + { + "code": "77492", + "display": "tamsulosin" + }, + { + "code": "7804", + "display": "Oxycodone" + }, + { + "code": "7821", + "display": "Oxytetracycline" + }, + { + "code": "787390", + "display": "tapentadol" + }, + { + "code": "7975", + "display": "Penicillamine" + }, + { + "code": "797541", + "display": "Isopropyl Alcohol" + }, + { + "code": "7980", + "display": "Penicillin G" + }, + { + "code": "7984", + "display": "Penicillin V" + }, + { + "code": "7994", + "display": "Pentamidine" + }, + { + "code": "8001", + "display": "Pentazocine" + }, + { + "code": "8120", + "display": "Phenazopyridine" + }, + { + "code": "8134", + "display": "Phenobarbital" + }, + { + "code": "815166", + "display": "Dextromethorphan / Doxylamine" + }, + { + "code": "8163", + "display": "Phenylephrine" + }, + { + "code": "816346", + "display": "dexlansoprazole" + }, + { + "code": "8175", + "display": "Phenylpropanolamine" + }, + { + "code": "817579", + "display": "Acetaminophen / Codeine" + }, + { + "code": "817958", + "display": "Aspirin / Calcium Carbonate" + }, + { + "code": "8183", + "display": "Phenytoin" + }, + { + "code": "82122", + "display": "Levofloxacin" + }, + { + "code": "822929", + "display": "Amphetamine aspartate / Amphetamine Sulfate / Dextroamphetamine saccharate / Dextroamphetamine Sulfate" + }, + { + "code": "83367", + "display": "atorvastatin" + }, + { + "code": "8356", + "display": "Piroxicam" + }, + { + "code": "83818", + "display": "irbesartan" + }, + { + "code": "84108", + "display": "rosiglitazone" + }, + { + "code": "8536", + "display": "Polymyxin B" + }, + { + "code": "857974", + "display": "saxagliptin" + }, + { + "code": "8588", + "display": "Potassium" + }, + { + "code": "8591", + "display": "Potassium Chloride" + }, + { + "code": "8610", + "display": "Povidone" + }, + { + "code": "8611", + "display": "Povidone-Iodine" + }, + { + "code": "861634", + "display": "pitavastatin" + }, + { + "code": "8629", + "display": "Prazosin" + }, + { + "code": "8638", + "display": "prednisolone" + }, + { + "code": "8640", + "display": "Prednisone" + }, + { + "code": "8687", + "display": "Primaquine" + }, + { + "code": "8691", + "display": "Primidone" + }, + { + "code": "8698", + "display": "Probenecid" + }, + { + "code": "8700", + "display": "Procainamide" + }, + { + "code": "8701", + "display": "Procaine" + }, + { + "code": "8703", + "display": "Fenofibrate" + }, + { + "code": "8704", + "display": "Prochlorperazine" + }, + { + "code": "8727", + "display": "Progesterone" + }, + { + "code": "8745", + "display": "Promethazine" + }, + { + "code": "8754", + "display": "Propafenone" + }, + { + "code": "87636", + "display": "fexofenadine" + }, + { + "code": "8782", + "display": "Propofol" + }, + { + "code": "8785", + "display": "Propoxyphene" + }, + { + "code": "8787", + "display": "Propranolol" + }, + { + "code": "8794", + "display": "Propylthiouracil" + }, + { + "code": "88014", + "display": "rizatriptan" + }, + { + "code": "88249", + "display": "montelukast" + }, + { + "code": "883815", + "display": "Dexamethasone / Tobramycin" + }, + { + "code": "8896", + "display": "Pseudoephedrine" + }, + { + "code": "89013", + "display": "aripiprazole" + }, + { + "code": "8928", + "display": "Psyllium" + }, + { + "code": "8948", + "display": "Purified Protein Derivative of Tuberculin" + }, + { + "code": "90176", + "display": "Iron" + }, + { + "code": "9068", + "display": "Quinidine" + }, + { + "code": "9071", + "display": "Quinine" + }, + { + "code": "91263", + "display": "Aloe Extract" + }, + { + "code": "9143", + "display": "Ranitidine" + }, + { + "code": "9384", + "display": "Rifampin" + }, + { + "code": "9524", + "display": "Sulfasalazine" + }, + { + "code": "9601", + "display": "Scopolamine" + }, + { + "code": "9778", + "display": "Silicones" + }, + { + "code": "9793", + "display": "silver sulfadiazine" + }, + { + "code": "9947", + "display": "Sotalol" + }, + { + "code": "9997", + "display": "Spironolactone" + } + ] + }, + { + "system": "http://snomed.info/sct", + "concept": [ + { + "code": "102259006", + "display": "Citrus fruit (substance)" + }, + { + "code": "102261002", + "display": "Strawberry (substance)" + }, + { + "code": "102262009", + "display": "Chocolate (substance)" + }, + { + "code": "102263004", + "display": "Eggs (edible) (substance)" + }, + { + "code": "102264005", + "display": "Cheese (substance)" + }, + { + "code": "111088007", + "display": "Latex (substance)" + }, + { + "code": "111151007", + "display": "Anabolic steroid (substance)" + }, + { + "code": "11526002", + "display": "Aspartame (substance)" + }, + { + "code": "116274004", + "display": "Artificial sweetener (substance)" + }, + { + "code": "116566001", + "display": "Steroid (substance)" + }, + { + "code": "13577000", + "display": "Nut (substance)" + }, + { + "code": "14443002", + "display": "Substance with aminoglycoside structure and antibacterial mechanism of action (substance)" + }, + { + "code": "226723006", + "display": "Buckwheat - cereal (substance)" + }, + { + "code": "226734009", + "display": "Wheatgerm (substance)" + }, + { + "code": "226760005", + "display": "Dairy foods (substance)" + }, + { + "code": "226915003", + "display": "Red meat (substance)" + }, + { + "code": "226916002", + "display": "Beef (substance)" + }, + { + "code": "226934003", + "display": "Pork (substance)" + }, + { + "code": "226955001", + "display": "Chicken - meat (substance)" + }, + { + "code": "226967004", + "display": "Turkey - meat (substance)" + }, + { + "code": "227144008", + "display": "Tuna fish (substance)" + }, + { + "code": "227151004", + "display": "Prawns (substance)" + }, + { + "code": "227208008", + "display": "Abalone canned in brine (substance)" + }, + { + "code": "227219006", + "display": "Aubergine (substance)" + }, + { + "code": "227313005", + "display": "Pulse vegetables (substance)" + }, + { + "code": "227388008", + "display": "Cinnamon (substance)" + }, + { + "code": "227400003", + "display": "Ginger (substance)" + }, + { + "code": "227421003", + "display": "Cranberries (substance)" + }, + { + "code": "227444000", + "display": "Raspberries (substance)" + }, + { + "code": "227493005", + "display": "Cashew nut (substance)" + }, + { + "code": "227512001", + "display": "Pistachio nut (substance)" + }, + { + "code": "227598003", + "display": "Honey (substance)" + }, + { + "code": "228102000", + "display": "Sodium nitrate (substance)" + }, + { + "code": "255632006", + "display": "Anticonvulsant (substance)" + }, + { + "code": "255637000", + "display": "Salicylate (substance)" + }, + { + "code": "255641001", + "display": "Caffeine (substance)" + }, + { + "code": "256259004", + "display": "Pollen (substance)" + }, + { + "code": "256277009", + "display": "Grass pollen (substance)" + }, + { + "code": "256306003", + "display": "Orange - fruit (substance)" + }, + { + "code": "256307007", + "display": "Banana (substance)" + }, + { + "code": "256313003", + "display": "Pineapple (substance)" + }, + { + "code": "256315005", + "display": "Grapefruit (substance)" + }, + { + "code": "256317002", + "display": "Grapes (substance)" + }, + { + "code": "256319004", + "display": "Carrot (substance)" + }, + { + "code": "256326004", + "display": "Celery (substance)" + }, + { + "code": "256329006", + "display": "Spinach (substance)" + }, + { + "code": "256350002", + "display": "Almond (substance)" + }, + { + "code": "256351003", + "display": "Brazil nut (substance)" + }, + { + "code": "256352005", + "display": "Walnut - nut (substance)" + }, + { + "code": "256353000", + "display": "Hazelnut (substance)" + }, + { + "code": "256354006", + "display": "Bean (substance)" + }, + { + "code": "256417003", + "display": "Horse dander (substance)" + }, + { + "code": "256440004", + "display": "Wasp venom (substance)" + }, + { + "code": "259858000", + "display": "Varicella-zoster virus antibody (substance)" + }, + { + "code": "260152009", + "display": "Cat dander (substance)" + }, + { + "code": "260154005", + "display": "Dog dander (substance)" + }, + { + "code": "260167008", + "display": "Sesame seed (substance)" + }, + { + "code": "260176001", + "display": "Kiwi fruit (substance)" + }, + { + "code": "260177005", + "display": "Melon (substance)" + }, + { + "code": "260179008", + "display": "Mango fruit (substance)" + }, + { + "code": "260184002", + "display": "Peas (substance)" + }, + { + "code": "260189007", + "display": "Pecan nut (substance)" + }, + { + "code": "260205009", + "display": "Sunflower seed (substance)" + }, + { + "code": "264287008", + "display": "Animal dander (substance)" + }, + { + "code": "264337003", + "display": "Seed (substance)" + }, + { + "code": "28230009", + "display": "Poultry (substance)" + }, + { + "code": "288328004", + "display": "Bee venom (substance)" + }, + { + "code": "28942008", + "display": "Coconut oil (substance)" + }, + { + "code": "29263009", + "display": "Coffee (substance)" + }, + { + "code": "304275008", + "display": "Corticosteroid and corticosteroid derivative (substance)" + }, + { + "code": "33008008", + "display": "Dust (substance)" + }, + { + "code": "350327004", + "display": "Diphtheria + tetanus vaccine (product)" + }, + { + "code": "35748005", + "display": "Wine (substance)" + }, + { + "code": "360201004", + "display": "Nitrofuran derivative (substance)" + }, + { + "code": "3692009", + "display": "Sodium sulfite (substance)" + }, + { + "code": "372480009", + "display": "Substance with macrolide structure and antibacterial mechanism of action (substance)" + }, + { + "code": "372664007", + "display": "Benzodiazepine (substance)" + }, + { + "code": "372665008", + "display": "Non-steroidal anti-inflammatory agent (substance)" + }, + { + "code": "372711004", + "display": "Sulfonylurea (substance)" + }, + { + "code": "372722000", + "display": "Substance with quinolone structure and antibacterial mechanism of action (substance)" + }, + { + "code": "372733002", + "display": "Substance with angiotensin-converting enzyme inhibitor mechanism of action (substance)" + }, + { + "code": "372747003", + "display": "Thiazide diuretic (substance)" + }, + { + "code": "372783007", + "display": "Antiparkinsonian agent (substance)" + }, + { + "code": "372798009", + "display": "Barbiturate (substance)" + }, + { + "code": "372806008", + "display": "Substance with histamine receptor antagonist mechanism of action (substance)" + }, + { + "code": "372889003", + "display": "First generation cephalosporin (substance)" + }, + { + "code": "372912004", + "display": "Substance with 3-hydroxy-3-methylglutaryl-coenzyme A reductase inhibitor mechanism of action (substance)" + }, + { + "code": "372913009", + "display": "Substance with angiotensin II receptor antagonist mechanism of action (substance)" + }, + { + "code": "373206009", + "display": "Substance with tetracycline structure and antibacterial mechanism of action (substance)" + }, + { + "code": "373253007", + "display": "Tricyclic antidepressant (substance)" + }, + { + "code": "373254001", + "display": "Substance with beta adrenergic receptor antagonist mechanism of action (substance)" + }, + { + "code": "373262009", + "display": "Substance with cephalosporin structure and antibacterial mechanism of action (substance)" + }, + { + "code": "373270004", + "display": "Substance with penicillin structure and antibacterial mechanism of action (substance)" + }, + { + "code": "373297006", + "display": "Substance with beta-lactam structure and antibacterial mechanism of action (substance)" + }, + { + "code": "373304005", + "display": "Substance with calcium channel blocker mechanism of action (substance)" + }, + { + "code": "373531009", + "display": "Gelatin (substance)" + }, + { + "code": "385420005", + "display": "Contrast media (substance)" + }, + { + "code": "386127005", + "display": "Formula milk (substance)" + }, + { + "code": "386962001", + "display": "Plasma protein fraction (substance)" + }, + { + "code": "387050005", + "display": "Substance with prostaglandin-endoperoxide synthase isoform 2 inhibitor mechanism of action (substance)" + }, + { + "code": "387406002", + "display": "Sulfonamide (substance)" + }, + { + "code": "391737006", + "display": "Almond oil (substance)" + }, + { + "code": "391739009", + "display": "Aloe (substance)" + }, + { + "code": "396345004", + "display": "Carbapenem (substance)" + }, + { + "code": "396420001", + "display": "Anthrax vaccine (substance)" + }, + { + "code": "396425006", + "display": "Influenza virus vaccine (substance)" + }, + { + "code": "396433007", + "display": "Pertussis vaccine (substance)" + }, + { + "code": "396439006", + "display": "Smallpox vaccine (substance)" + }, + { + "code": "396441007", + "display": "Typhoid vaccine (substance)" + }, + { + "code": "396442000", + "display": "Varicella virus vaccine (substance)" + }, + { + "code": "398730001", + "display": "Pneumococcal vaccine (substance)" + }, + { + "code": "400872007", + "display": "Hydrocolloid (substance)" + }, + { + "code": "404642006", + "display": "Substance with opioid receptor agonist mechanism of action (substance)" + }, + { + "code": "406748003", + "display": "Carbamate (substance)" + }, + { + "code": "409137002", + "display": "No known drug allergy (situation)" + }, + { + "code": "412061001", + "display": "Blueberries (substance)" + }, + { + "code": "412062008", + "display": "Cantaloupe (substance)" + }, + { + "code": "412066006", + "display": "Pepper (substance)" + }, + { + "code": "412068007", + "display": "Rye (substance)" + }, + { + "code": "412071004", + "display": "Wheat (substance)" + }, + { + "code": "412138001", + "display": "Horse serum protein (substance)" + }, + { + "code": "412357001", + "display": "Corn (substance)" + }, + { + "code": "412373007", + "display": "Diphtheria + pertussis + tetanus + Haemophilus influenzae type b vaccine (product)" + }, + { + "code": "412375000", + "display": "Tetanus vaccine (substance)" + }, + { + "code": "412533000", + "display": "Wheat bran (substance)" + }, + { + "code": "412534006", + "display": "Yeast (substance)" + }, + { + "code": "412583005", + "display": "Bee pollen (substance)" + }, + { + "code": "41598000", + "display": "Estrogen (substance)" + }, + { + "code": "417889008", + "display": "Arachis oil (substance)" + }, + { + "code": "418000008", + "display": "Methadone analog (substance)" + }, + { + "code": "418504009", + "display": "Oats (substance)" + }, + { + "code": "418920007", + "display": "Adhesive agent (substance)" + }, + { + "code": "419420009", + "display": "Watermelon (substance)" + }, + { + "code": "419933005", + "display": "Glucocorticoid (substance)" + }, + { + "code": "421245007", + "display": "Diphtheria + pertussis + tetanus vaccine (product)" + }, + { + "code": "424369009", + "display": "Product containing beta-galactosidase (medicinal product)" + }, + { + "code": "426722004", + "display": "Iodinated contrast media (substance)" + }, + { + "code": "428607008", + "display": "No known environmental allergy (situation)" + }, + { + "code": "429625007", + "display": "No known food allergy (situation)" + }, + { + "code": "43735007", + "display": "Sulfur (substance)" + }, + { + "code": "43921001", + "display": "Nickel compound (substance)" + }, + { + "code": "44027008", + "display": "Seafood (substance)" + }, + { + "code": "442381000124103", + "display": "Blue food coloring (substance)" + }, + { + "code": "442571000124108", + "display": "Tree nut (substance)" + }, + { + "code": "442771000124102", + "display": "Pepperoni (substance)" + }, + { + "code": "44588005", + "display": "Iodine (substance)" + }, + { + "code": "446273004", + "display": "Red food coloring (substance)" + }, + { + "code": "446274005", + "display": "Yellow food coloring (substance)" + }, + { + "code": "47703008", + "display": "Lactose (substance)" + }, + { + "code": "51386004", + "display": "Food preservative (substance)" + }, + { + "code": "51905005", + "display": "Mustard (substance)" + }, + { + "code": "53041004", + "display": "Alcohol (substance)" + }, + { + "code": "61789006", + "display": "Dye (substance)" + }, + { + "code": "63045006", + "display": "Berry (substance)" + }, + { + "code": "67324005", + "display": "Rice (substance)" + }, + { + "code": "67866001", + "display": "Insulin (substance)" + }, + { + "code": "70813002", + "display": "Milk (substance)" + }, + { + "code": "710179004", + "display": "Lupine seed (substance)" + }, + { + "code": "716184000", + "display": "No known latex allergy (situation)" + }, + { + "code": "716186003", + "display": "No known allergy (situation)" + }, + { + "code": "720687003", + "display": "Dust mite protein (substance)" + }, + { + "code": "72511004", + "display": "Fruit (substance)" + }, + { + "code": "726730005", + "display": "Yam (substance)" + }, + { + "code": "734881000", + "display": "Tomato (substance)" + }, + { + "code": "735006003", + "display": "Squid (substance)" + }, + { + "code": "735009005", + "display": "Salmon (substance)" + }, + { + "code": "735029006", + "display": "Shellfish (substance)" + }, + { + "code": "735030001", + "display": "Garlic (substance)" + }, + { + "code": "735043001", + "display": "Mackerel (substance)" + }, + { + "code": "735045008", + "display": "Mushroom (substance)" + }, + { + "code": "735047000", + "display": "Onion (substance)" + }, + { + "code": "735049002", + "display": "Peach (substance)" + }, + { + "code": "735050002", + "display": "Pear (substance)" + }, + { + "code": "735051003", + "display": "Plum (substance)" + }, + { + "code": "735053000", + "display": "Potato (substance)" + }, + { + "code": "735123009", + "display": "Broccoli (substance)" + }, + { + "code": "735124003", + "display": "Barley (substance)" + }, + { + "code": "735211005", + "display": "Coconut (substance)" + }, + { + "code": "735212003", + "display": "Papaya (substance)" + }, + { + "code": "735213008", + "display": "Cucumber (substance)" + }, + { + "code": "735214002", + "display": "Apricot (substance)" + }, + { + "code": "735215001", + "display": "Apple (substance)" + }, + { + "code": "735248001", + "display": "Cherry (substance)" + }, + { + "code": "735249009", + "display": "Avocado (substance)" + }, + { + "code": "735340006", + "display": "Lemon (substance)" + }, + { + "code": "735959004", + "display": "Marine mollusk (substance)" + }, + { + "code": "735971005", + "display": "Fish (substance)" + }, + { + "code": "735977009", + "display": "Marine crustacean (substance)" + }, + { + "code": "736027000", + "display": "Scallop (substance)" + }, + { + "code": "736030007", + "display": "Clam (substance)" + }, + { + "code": "736031006", + "display": "Oyster (substance)" + }, + { + "code": "736159005", + "display": "Crab (substance)" + }, + { + "code": "736162008", + "display": "Lobster (substance)" + }, + { + "code": "74801000", + "display": "Sugar (substance)" + }, + { + "code": "75665004", + "display": "Monosodium glutamate (substance)" + }, + { + "code": "762952008", + "display": "Peanut (substance)" + }, + { + "code": "7791007", + "display": "Soy protein (substance)" + }, + { + "code": "80259003", + "display": "Food flavoring agent (substance)" + }, + { + "code": "84489001", + "display": "Mold (organism)" + }, + { + "code": "89119000", + "display": "Nitrate salt (substance)" + }, + { + "code": "89707004", + "display": "Sesame oil (substance)" + }, + { + "code": "89811004", + "display": "Gluten (substance)" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-careteam-provider-roles.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-careteam-provider-roles.json new file mode 100644 index 000000000..2ba4f8b2f --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-careteam-provider-roles.json @@ -0,0 +1,66 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-careteam-provider-roles", + "text": { + "status": "generated", + "div": "

US Core CareTeam Provider Roles

Provider roles codes consist of NUCC Health Care Provider Taxonomy Code Set for providers and SNOMED-CT for - non clinical and organization roles including codes from the SCTID 223366009 Healthcare professional (occupation) heirarchy and the SCTID 224930009 Services (qualifier value) heirarchy.

\n

Copyright Statement: This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement. This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained.

This value set includes codes from the following code systems:

  • Include all codes defined in http://nucc.org/provider-taxonomy
  • Include codes from http://snomed.info/sct where concept is-a 223366009 (Healthcare professional)
  • Include codes from http://snomed.info/sct where concept is-a 224930009 (Services)
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-careteam-provider-roles", + "version": "3.1.0", + "name": "USCoreCareTeamProviderRoles", + "title": "US Core CareTeam Provider Roles", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "Provider roles codes consist of NUCC Health Care Provider Taxonomy Code Set for providers and SNOMED-CT for - non clinical and organization roles including codes from the SCTID 223366009 Healthcare professional (occupation) heirarchy and the SCTID 224930009 Services (qualifier value) heirarchy.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "purpose": "Codes that may be used for implementation of the Argonaut Procedures IG and MU2015 certification.", + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement. This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained.", + "compose": { + "include": [ + { + "system": "http://nucc.org/provider-taxonomy" + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "223366009" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "224930009" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-clinical-note-type.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-clinical-note-type.json new file mode 100644 index 000000000..50f8dc48f --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-clinical-note-type.json @@ -0,0 +1,62 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-clinical-note-type", + "text": { + "status": "generated", + "div": "

US Core Clinical Note Type

The US Core Clinical Note Type Value Set is a 'starter set' of types supported for fetching and storing clinical notes.

\n

Copyright Statement: This content LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-note-type", + "version": "3.1.0", + "name": "USCoreClinicalNoteType", + "title": "US Core Clinical Note Type", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "The US Core Clinical Note Type Value Set is a 'starter set' of types supported for fetching and storing clinical notes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": " This content LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use", + "compose": { + "include": [ + { + "system": "http://loinc.org", + "concept": [ + { + "code": "18842-5" + }, + { + "code": "11488-4" + }, + { + "code": "34117-2" + }, + { + "code": "11506-3" + }, + { + "code": "28570-0" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-condition-category.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-condition-category.json new file mode 100644 index 000000000..027c981b2 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-condition-category.json @@ -0,0 +1,44 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-condition-category", + "text": { + "status": "generated", + "div": "

US Core Condition Category Codes

The US Core Condition Category Codes support the separate concepts of problems and health concerns in Condition.category in order for API consumers to be able to separate health concerns and problems. However this is not mandatory for 2015 certification

\n

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category", + "version": "3.1.0", + "name": "USCoreConditionCategoryCodes", + "title": "US Core Condition Category Codes", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "The US Core Condition Category Codes support the separate concepts of problems and health concerns in Condition.category in order for API consumers to be able to separate health concerns and problems. However this is not mandatory for 2015 certification", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "purpose": "So API consumers can separate health concerns and problems.", + "compose": { + "include": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category" + }, + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/condition-category", + "concept": [ + { + "code": "health-concern", + "display": "Health Concern" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-condition-code.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-condition-code.json new file mode 100644 index 000000000..46f97ad24 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-condition-code.json @@ -0,0 +1,76 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-condition-code", + "text": { + "status": "generated", + "div": "

US Core Condition Code

This describes the problem. Diagnosis/Problem List is broadly defined as a series of brief statements that catalog a patient's medical, nursing, dental, social, preventative and psychiatric events and issues that are relevant to that patient's healthcare (e.g., signs, symptoms, and defined conditions). ICD-10 is appropriate for Diagnosis information, and ICD-9 for historical information.

\n

Copyright Statement: This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement. ICD-9 and ICD-10 are copyrighted by the World Health Organization (WHO) which owns and publishes the classification. See https://www.who.int/classifications/icd/en. WHO has authorized the development of an adaptation of ICD-9 and ICD-10 to ICD-9-CM to ICD-10-CM for use in the United States for U.S. government purposes.

This value set includes codes from the following code systems:

  • Include these codes as defined in http://snomed.info/sct
    CodeDisplay
    160245001No current problems or disability
  • Include codes from http://snomed.info/sct where concept is-a 404684003 (Clinical finding (finding))
  • Include codes from http://snomed.info/sct where concept is-a 243796009 (Context-dependent category)
  • Include all codes defined in http://hl7.org/fhir/sid/icd-10-cm
  • Include all codes defined in http://hl7.org/fhir/sid/icd-9-cm
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code", + "version": "3.1.0", + "name": "USCoreConditionCode", + "title": "US Core Condition Code", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This describes the problem. Diagnosis/Problem List is broadly defined as a series of brief statements that catalog a patient's medical, nursing, dental, social, preventative and psychiatric events and issues that are relevant to that patient's healthcare (e.g., signs, symptoms, and defined conditions). ICD-10 is appropriate for Diagnosis information, and ICD-9 for historical information.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement. ICD-9 and ICD-10 are copyrighted by the World Health Organization (WHO) which owns and publishes the classification. See https://www.who.int/classifications/icd/en. WHO has authorized the development of an adaptation of ICD-9 and ICD-10 to ICD-9-CM to ICD-10-CM for use in the United States for U.S. government purposes. ", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "concept": [ + { + "code": "160245001" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "404684003" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "243796009" + } + ] + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-diagnosticreport-category.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-diagnosticreport-category.json new file mode 100644 index 000000000..761e226ff --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-diagnosticreport-category.json @@ -0,0 +1,48 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-diagnosticreport-category", + "text": { + "status": "generated", + "div": "

US Core DiagnosticReport Category

The US Core Diagnostic Report Category Value Set is a 'starter set' of categories supported for fetching and Diagnostic Reports and notes.

\n

Copyright Statement: This content LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-category", + "version": "3.1.0", + "name": "USCoreDiagnosticReportCategory", + "title": "US Core DiagnosticReport Category", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "description": "The US Core Diagnostic Report Category Value Set is a 'starter set' of categories supported for fetching and Diagnostic Reports and notes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": " This content LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use", + "compose": { + "include": [ + { + "system": "http://loinc.org", + "concept": [ + { + "code": "LP29684-5", + "display": "Radiology" + }, + { + "code": "LP29708-2", + "display": "Cardiology" + }, + { + "code": "LP7839-6", + "display": "Pathology" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-diagnosticreport-lab-codes.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-diagnosticreport-lab-codes.json new file mode 100644 index 000000000..97dec8614 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-diagnosticreport-lab-codes.json @@ -0,0 +1,52 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-diagnosticreport-lab-codes", + "text": { + "status": "generated", + "div": "

US Core Diagnostic Report Laboratory Codes

The Document Type value set includes all LOINC values whose CLASSTYPE is LABORATORY in the LOINC database

\n

Copyright Statement: This content from LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use.

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-lab-codes", + "version": "3.1.0", + "name": "USCoreDiagnosticReportLabCodes", + "title": "US Core Diagnostic Report Laboratory Codes", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "The Document Type value set includes all LOINC values whose CLASSTYPE is LABORATORY in the LOINC database", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This content from LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use.", + "compose": { + "include": [ + { + "system": "http://loinc.org", + "filter": [ + { + "property": "CLASSTYPE", + "op": "=", + "value": "1" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-diagnosticreport-report-and-note-codes.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-diagnosticreport-report-and-note-codes.json new file mode 100644 index 000000000..46ad220bc --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-diagnosticreport-report-and-note-codes.json @@ -0,0 +1,46 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-diagnosticreport-report-and-note-codes", + "text": { + "status": "generated", + "div": "

US Core Diagnosticreport Report And Note Codes

This value set currently contains all of LOINC. The codes selected should represent discrete and narrative diagnostic observations and reports

\n

Copyright Statement: This content from LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use.

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-report-and-note-codes", + "version": "3.1.0", + "name": "USCoreDiagnosticreportReportAndNoteCodes", + "title": "US Core Diagnosticreport Report And Note Codes", + "status": "active", + "experimental": false, + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This value set currently contains all of LOINC. The codes selected should represent discrete and narrative diagnostic observations and reports", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This content from LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use.", + "compose": { + "include": [ + { + "system": "http://loinc.org" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-documentreference-category.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-documentreference-category.json new file mode 100644 index 000000000..4e15eac92 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-documentreference-category.json @@ -0,0 +1,44 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-documentreference-category", + "text": { + "status": "generated", + "div": "

US Core DocumentReference Category

The US Core DocumentReferences Category Value Set is a 'starter set' of categories supported for fetching and storing clinical notes.

\n

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category", + "version": "3.1.0", + "name": "USCoreDocumentReferenceCategory", + "title": "US Core DocumentReference Category", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "The US Core DocumentReferences Category Value Set is a 'starter set' of categories supported for fetching and storing clinical notes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-documentreference-type.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-documentreference-type.json new file mode 100644 index 000000000..b9803cdaf --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-documentreference-type.json @@ -0,0 +1,61 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-documentreference-type", + "text": { + "status": "generated", + "div": "

US Core DocumentReference Type

The US Core DocumentReference Type Value Set includes all LOINC values whose SCALE is DOC in the LOINC database and the HL7 v3 Code System NullFlavor concept 'unknown'

\n

Copyright Statement: This content from LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use.

This value set includes codes from the following code systems:

  • Include these codes as defined in http://terminology.hl7.org/CodeSystem/v3-NullFlavor
    CodeDisplay
    UNKunknownDescription:A proper value is applicable, but not known.
    \n \n Usage Notes: This means the actual value is not known. If the only thing that is unknown is how to properly express the value in the necessary constraints (value set, datatype, etc.), then the OTH or UNC flavor should be used. No properties should be included for a datatype with this property unless:
    \n \n Those properties themselves directly translate to a semantic of "unknown". (E.g. a local code sent as a translation that conveys 'unknown')\n Those properties further qualify the nature of what is unknown. (E.g. specifying a use code of "H" and a URL prefix of "tel:" to convey that it is the home phone number that is unknown.)
  • Include codes from http://loinc.org where SCALE_TYP = DOC
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type", + "version": "3.1.0", + "name": "USCoreDocumentReferenceType", + "title": "US Core DocumentReference Type", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "The US Core DocumentReference Type Value Set includes all LOINC values whose SCALE is DOC in the LOINC database and the HL7 v3 Code System NullFlavor concept 'unknown'", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This content from LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use.", + "compose": { + "include": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor", + "concept": [ + { + "code": "UNK", + "display": "unknown" + } + ] + }, + { + "system": "http://loinc.org", + "filter": [ + { + "property": "SCALE_TYP", + "op": "=", + "value": "DOC" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-encounter-type.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-encounter-type.json new file mode 100644 index 000000000..7fec0f893 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-encounter-type.json @@ -0,0 +1,61 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-encounter-type", + "text": { + "status": "generated", + "div": "

US Core Encounter Type

The type of encounter: a specific code indicating type of service provided. This value set includes codes from SNOMED CT decending from the concept 308335008 (Patient encounter procedure (procedure)) and from the Current Procedure and Terminology(CPT) designated for Evaluation and Management (99200 – 99607) (subscription to AMA Required)

\n

Copyright Statement: This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement. This value set includes content from CPT copyright 2014 American Medical Association. All rights reserved.

This value set includes codes from the following code systems:

  • Include codes from http://snomed.info/sct where concept is-a 308335008 (Patient encounter procedure)
  • Include all codes defined in http://www.ama-assn.org/go/cpt
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-encounter-type", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.3.88.12.80.32" + } + ], + "version": "3.1.0", + "name": "USCoreEncounterType", + "title": "US Core Encounter Type", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "The type of encounter: a specific code indicating type of service provided. This value set includes codes from SNOMED CT decending from the concept 308335008 (Patient encounter procedure (procedure)) and from the Current Procedure and Terminology(CPT) designated for Evaluation and Management (99200 – 99607) (subscription to AMA Required)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement. This value set includes content from CPT copyright 2014 American Medical Association. All rights reserved.", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "308335008" + } + ] + }, + { + "system": "http://www.ama-assn.org/go/cpt" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-medication-codes.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-medication-codes.json new file mode 100644 index 000000000..8f6b17afd --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-medication-codes.json @@ -0,0 +1,57 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-medication-codes", + "text": { + "status": "generated", + "div": "
\n\t\t\t

Medication Clinical Drug (RxNorm)

\n\t\t\t

All prescribable medication formulations represented using either a 'generic' or 'brand-specific' concept. This includes RxNorm codes whose Term Type is SCD (semantic clinical drug), SBD (semantic brand drug), GPCK (generic pack), BPCK (brand pack), SCDG (semantic clinical drug group), SBDG (semantic brand drug group), SCDF (semantic clinical drug form), or SBDF (semantic brand drug form)

\n\t\t\t

This value set includes codes from the following code systems:

\n\t\t\t
    \n\t\t\t\t
  • Include codes from http://www.nlm.nih.gov/research/umls/rxnorm where TTY in SCD,SBD,GPCK,BPCK,SCDG,SBDG,SCDF,SBDF
  • \n\t\t\t
\n\t\t
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113762.1.4.1010.4" + } + ], + "version": "3.1.0", + "name": "USCoreMedicationCodes", + "title": "US Core Medication Codes (RxNorm)", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "All prescribable medication formulations represented using either a 'generic' or 'brand-specific' concept. This includes RxNorm codes whose Term Type is SCD (semantic clinical drug), SBD (semantic brand drug), GPCK (generic pack), BPCK (brand pack), SCDG (semantic clinical drug group), SBDG (semantic brand drug group), SCDF (semantic clinical drug form), or SBDF (semantic brand drug form)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "filter": [ + { + "property": "TTY", + "op": "in", + "value": "SCD,SBD,GPCK,BPCK,SCDG,SBDG,SCDF,SBDF" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-narrative-status.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-narrative-status.json new file mode 100644 index 000000000..3ab84c165 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-narrative-status.json @@ -0,0 +1,55 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-narrative-status", + "text": { + "status": "generated", + "div": "

US Core Narrative Status

The US Core Narrative Status Value Set limits the text status for the resource narrative.

\n

Copyright Statement: HL7

This value set includes codes from the following code systems:

  • Include these codes as defined in http://hl7.org/fhir/narrative-status
    CodeDisplay
    additionaladditionalThe contents of the narrative may contain additional information not found in the structured data. Note that there is no computable way to determine what the extra information is, other than by human inspection.
    generatedgeneratedThe contents of the narrative are entirely generated from the core elements in the content.
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-narrative-status", + "version": "3.1.0", + "name": "NarrativeStatus", + "title": "US Core Narrative Status", + "status": "active", + "date": "2019-11-06T12:37:38+11:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "The US Core Narrative Status Value Set limits the text status for the resource narrative.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "HL7", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/narrative-status", + "concept": [ + { + "code": "additional", + "display": "additional" + }, + { + "code": "generated", + "display": "generated" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-ndc-vaccine-codes.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-ndc-vaccine-codes.json new file mode 100644 index 000000000..f4751fbe8 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-ndc-vaccine-codes.json @@ -0,0 +1,1297 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-ndc-vaccine-codes", + "text": { + "status": "generated", + "div": "

US Core Vaccine National Drug Codes (NDC)

This value set includes all the Vaccine National Drug Codes (NDC). This source of this data is provided by the CDC

\n

This value set includes codes from the following code systems:

  • Include these codes as defined in http://hl7.org/fhir/sid/ndc
    CodeDisplay
    49281-0703-55FLUZONE INTRADERMAL
    49281-0790-20Typhim Vi
    33332-0316-01AFLURIA QUADRIVALENT
    49281-0712-40FLUZONE INTRADERMAL QUADRIVALENT
    66521-0112-02Fluvirin
    58160-0816-05Hiberix
    00006-4837-02PNEUMOVAX 23
    58160-0808-15Influenza A (H5N1) Monovalent Vaccine, Adjuvanted
    58160-0842-51BOOSTRIX
    49281-0418-50FLUZONE QUADRIVALENT
    00006-4943-00PNEUMOVAX 23
    49281-0708-40FLUZONE INTRADERMAL QUADRIVALENT
    54868-0734-00ENGERIX-B
    58160-0819-12Shingrix
    49281-0517-25FLUZONE QUADRIVALENT
    00006-4133-41Tetanus and Diphtheria Toxoids Adsorbed
    50090-3096-00RabAvert
    33332-0118-10AFLURIA
    19515-0909-52Flulaval Quadrivalent
    49281-0650-10INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE
    58160-0820-11ENGERIX-B
    42515-0001-01IXIARO
    49281-0625-15FLUZONE QUADRIVALENT
    49281-0516-25FLUZONE QUADRIVALENT
    66521-0114-02FLUVIRIN
    19515-0896-11Flulaval Quadrivalent
    33332-0117-10AFLURIA
    33332-0416-10AFLURIA QUADRIVALENT
    66521-0118-02Fluvirin
    58160-0821-11ENGERIX-B
    00005-1971-05PREVNAR 13
    66019-0109-10FLUMIST
    49281-0278-10DIPHTHERIA AND TETANUS TOXOIDS ADSORBED
    49281-0011-10FLUZONE
    54868-2219-00RECOMBIVAX HB
    49281-0415-10FLUZONE QUADRIVALENT
    33332-0016-01AFLURIA
    49281-0705-55FLUZONE
    49281-0621-15FLUZONE QUADRIVALENT
    58160-0842-34BOOSTRIX
    49281-0010-10FLUZONE
    66521-0113-02FLUVIRIN
    49281-0514-25FLUZONE QUADRIVALENT
    58160-0842-52BOOSTRIX
    19515-0901-52Flulaval Quadrivalent
    62577-0613-01Flucelvax
    66019-0303-10FluMist Quadrivalent
    49281-0388-15FLUZONE
    00006-4841-41VAQTA
    58160-0900-52FLUARIX QUADRIVALENT
    70461-0200-01FLUCELVAX QUADRIVALENT
    49281-0915-05YF-VAX
    49281-0650-50INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE
    33332-0116-10AFLURIA
    54868-3339-01PNEUMOVAX 23
    49281-0418-10FLUZONE QUADRIVALENT
    58160-0812-52KINRIX
    49281-0286-05DAPTACEL
    63851-0612-01Flucelvax
    19515-0908-52Flulaval Quadrivalent
    54868-0980-00M-M-R II
    58160-0830-52CERVARIX
    49281-0113-25FLUZONE
    49281-0650-70INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE
    66521-0115-10FLUVIRIN
    49281-0417-50FLUZONE QUADRIVALENT
    33332-0113-10AFLURIA
    49281-0629-15FLUZONE QUADRIVALENT
    58160-0823-11Shingrix
    00006-4897-00PedvaxHIB
    58160-0821-34ENGERIX-B
    66521-0115-02FLUVIRIN
    33332-0014-01AFLURIA
    49281-0562-10QUADRACEL
    42874-0014-10Flublok
    42874-0013-10Flublok
    33332-0115-10AFLURIA
    00006-4963-00ZOSTAVAX
    49281-0010-25FLUZONE
    33332-0519-01Influenza A
    58160-0898-52FLUARIX QUADRIVALENT
    49281-0112-25FLUZONE
    19515-0898-11Flulaval Quadrivalent
    00006-4109-09GARDASIL
    49281-0414-50FLUZONE QUADRIVALENT
    00006-4095-09VAQTA
    00006-4045-00GARDASIL
    19515-0912-52Flulaval Quadrivalent
    58160-0801-11Menhibrix
    49281-0489-01MENOMUNE - A/C/Y/W-135 COMBINED
    42874-0017-10Flublok
    66521-0116-02Fluvirin
    46028-0208-01Menveo
    49281-0627-15FLUZONE QUADRIVALENT
    00005-0100-02Trumenba
    69401-0000-01Vivotif
    21695-0413-01Tetanus and Diphtheria Toxoids Adsorbed
    49281-0416-10FLUZONE QUADRIVALENT
    49281-0650-25INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE
    49281-0800-83TETANUS TOXOID ADSORBED
    49281-0291-83DECAVAC
    00006-4095-02VAQTA
    58160-0854-52ROTARIX
    19515-0889-07FLULAVAL
    49281-0392-15FLUZONE
    19515-0891-11Flulaval Quadrivalent
    49281-0400-05Adacel
    49281-0913-01STAMARIL
    49281-0640-15INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE
    49281-0513-25FLUZONE QUADRIVALENT
    00006-4171-00ProQuad
    00006-4096-09VAQTA
    58160-0830-34CERVARIX
    00006-4980-00RECOMBIVAX HB
    17478-0131-01Tetanus and Diphtheria Toxoids Adsorbed
    49281-0414-10FLUZONE QUADRIVALENT
    43528-0002-05HEPLISAV-B
    66521-0200-02Influenza A (H1N1) 2009 Monovalent Vaccine
    49281-0011-50FLUZONE
    70461-0120-10Fluvirin
    66019-0304-10FluMist Quadrivalent
    58160-0976-20Bexsero
    00006-4826-00VARIVAX
    66521-0116-10Fluvirin
    00006-4963-41ZOSTAVAX
    49281-0510-05PENTACEL
    42874-0012-10Flublok
    58160-0955-09Menveo
    00005-0100-05Trumenba
    49281-0707-55FLUZONE
    14362-0111-04Tetanus and Diphtheria Toxoids Adsorbed
    66521-0112-10Fluvirin
    66521-0117-10Fluvirin
    00006-4045-41GARDASIL
    49281-0389-65FLUZONE HIGH DOSE
    69401-0000-02Vivotif
    49281-0915-01YF-VAX
    00006-4093-02RECOMBIVAX HB
    58160-0815-48TWINRIX
    70460-0001-01Vaxchora
    58160-0826-11HAVRIX
    00006-4992-00RECOMBIVAX HB
    49281-0111-25FLUZONE
    00006-4093-09RECOMBIVAX HB
    50090-3469-00HEPLISAV-B
    49281-0403-65FLUZONE High-Dose
    70461-0119-10Fluvirin
    00006-4995-00RECOMBIVAX HB
    58160-0815-34TWINRIX
    49281-0393-65FLUZONE High-Dose
    00005-1970-50Prevnar
    33332-0017-01AFLURIA
    63851-0501-01RabAvert
    58160-0881-52FLUARIX
    64678-0211-01BioThrax
    49281-0394-15FLUZONE
    00006-4827-00VARIVAX
    58160-0806-05HIBERIX
    49281-0518-25FLUZONE QUADRIVALENT
    62195-0051-10Ixiaro
    63361-0245-10VAXELIS
    49281-0709-55FLUZONE Intradermal
    66019-0300-10FluMist Quadrivalent
    49281-0215-15TENIVAC
    58160-0825-52HAVRIX
    00005-0100-10Trumenba
    66521-0117-02Fluvirin
    49281-0650-90INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE
    42874-0015-10Flublok
    33332-0018-01AFLURIA
    00006-4999-00ProQuad
    00005-1971-04PREVNAR 13
    19515-0850-52FLULAVAL
    00005-1971-02PREVNAR 13
    00006-4094-02RECOMBIVAX HB
    00006-4096-02VAQTA
    58160-0825-11HAVRIX
    58160-0811-52PEDIARIX
    42515-0002-01IXIARO
    49281-0013-50FLUZONE
    76420-0483-01Medical Provider Single Use EZ Flu Shot 2013-2014
    66521-0118-10Fluvirin
    49281-0399-65FLUZONE High-Dose
    49281-0396-15FLUZONE
    66019-0107-01FLUMIST
    19515-0890-07FLULAVAL
    76420-0482-01Medical Provider Single Use EZ Flu Shot 2013-2014
    33332-0015-01AFLURIA
    66019-0302-10FluMist Quadrivalent
    49281-0012-10FLUZONE
    49281-0710-40FLUZONE INTRADERMAL QUADRIVALENT
    63851-0501-02RabAvert
    58160-0879-52FLUARIX
    49281-0397-65FLUZONE High-Dose
    00006-4831-41VAQTA
    58160-0815-46TWINRIX
    33332-0110-10AFLURIA
    54868-4320-00PNEUMOVAX 23
    42874-0016-10Flublok
    49281-0012-50FLUZONE
    58160-0818-11Hiberix
    49281-0386-15FLUZONE
    46028-0114-01Bexsero
    00006-4898-00COMVAX
    58160-0826-52HAVRIX
    49281-0545-05ActHIB
    66019-0108-10FLUMIST
    70461-0418-10FLUCELVAX QUADRIVALENT (MULTI-DOSE VIAL)
    00006-4094-09RECOMBIVAX HB
    49281-0298-10TRIPEDIA
    33332-0629-10Influenza A
    58160-0880-52FLUARIX
    00006-4047-20RotaTeq
    00006-4119-02GARDASIL 9
    58160-0842-11BOOSTRIX
    19515-0903-11Flulaval Quadrivalent
    00006-4981-00RECOMBIVAX HB
    58160-0905-52FLUARIX QUADRIVALENT
    49281-0401-65FLUZONE High-Dose
    33332-0114-10AFLURIA
    49281-0860-10IPOL
    70461-0318-03FLUCELVAX QUADRIVALENT (PREFILLED SYRINGE)
    54868-2219-01RECOMBIVAX HB
    49281-0718-10Flublok Quadrivalent
    49281-0400-15Adacel
    70461-0120-02Fluvirin
    49281-0416-50FLUZONE QUADRIVALENT
    49281-0413-50FLUZONE QUADRIVALENT
    58160-0883-52FLUARIX
    49281-0790-51Typhim Vi
    49281-0286-10DAPTACEL
    66019-0110-10FluMist
    46028-0114-02Bexsero
    58160-0821-52ENGERIX-B
    49281-0013-10FLUZONE
    19515-0894-52Flulaval Quadrivalent
    66019-0305-10FluMist Quadrivalent
    49281-0400-10Adacel
    49281-0390-15FLUZONE
    00052-0603-02BCG VACCINE
    51285-0138-50Adenovirus Type 4 and Type 7 Vaccine, Live
    33332-0417-10AFLURIA QUADRIVALENT
    49281-0395-65FLUZONE High-Dose
    66019-0301-10FluMist Quadrivalent
    49281-0215-10TENIVAC
    19515-0895-11Flulaval Quadrivalent
    70461-0201-01FLUCELVAX QUADRIVALENT (PREFILLED SYRINGE)
    58160-0907-52FLUARIX QUADRIVALENT
    55045-3841-01HAVRIX
    50090-2883-00INFANRIX
    49281-0820-10TETANUS TOXOID ADSORBED
    49281-0417-10FLUZONE QUADRIVALENT
    33332-0010-01AFLURIA
    33332-0013-01AFLURIA
    66521-0200-10Influenza A (H1N1) 2009 Monovalent Vaccine
    58160-0976-06Bexsero
    58160-0809-05MENHIBRIX
    00006-4739-00PNEUMOVAX 23
    70461-0018-03FLUAD
    49281-0413-10FLUZONE QUADRIVALENT
    13533-0131-01Tetanus and Diphtheria Toxoids Adsorbed
    58160-0812-11KINRIX
    49281-0391-65FLUZONE High-Dose
    19515-0845-11FLULAVAL
    58160-0811-51PEDIARIX
    58160-0815-52TWINRIX
    70461-0119-02Fluvirin
    58160-0810-52INFANRIX
    62577-0614-01Flucelvax
    42874-0117-10Flublok Quadrivalent
    49281-0489-91MENOMUNE - A/C/Y/W-135 COMBINED
    58160-0964-12RabAvert
    49281-0014-50FLUZONE
    00006-4109-02GARDASIL
    70461-0002-01FLUAD
    49281-0286-01DAPTACEL
    58160-0810-11INFANRIX
    19515-0900-11Flulaval Quadrivalent
    00006-4837-03PNEUMOVAX 23
    66521-0113-10FLUVIRIN
    58160-0826-34HAVRIX
    58160-0903-52FLUARIX QUADRIVALENT
    00006-4841-00VAQTA
    54868-6180-00FLUZONE
    00006-4681-00M-M-R II
    33332-0317-01AFLURIA QUADRIVALENT
    70461-0001-01FLUAD
    49281-0589-05Menactra
    49281-0387-65FLUZONE
    49281-0860-55IPOL
    19515-0893-07FLULAVAL
    33332-0519-25Influenza A
    70461-0301-10FLUCELVAX QUADRIVALENT (MULTI-DOSE VIAL)
    66019-0200-10Influenza A H1N1 Intranasal
    43528-0003-05HEPLISAV-B
    58160-0820-52ENGERIX-B
    66521-0000-01FLUAD
    49281-0250-51IMOVAX RABIES
    49281-0291-10DECAVAC
    33332-0418-10AFLURIA QUADRIVALENT
    00006-4121-02GARDASIL 9
    63851-0613-01FLUCELVAX
    66521-0114-10FLUVIRIN
    00006-4047-41RotaTeq
    58160-0901-52FLUARIX QUADRIVALENT
    33332-0318-01AFLURIA QUADRIVALENT
    00006-4119-03GARDASIL 9
    49281-0225-10DIPHTHERIA AND TETANUS TOXOIDS ADSORBED
    58160-0815-11TWINRIX
    54868-6177-00FLUZONE
    49281-0010-50FLUZONE
    49281-0400-20Adacel
    49281-0545-03ActHIB
    50090-1693-09IPOL
    00006-4995-41RECOMBIVAX HB
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-ndc-vaccine-codes", + "version": "3.1.0", + "name": "USCoreVaccineNationalDrugCode", + "title": "US Core Vaccine National Drug Codes (NDC)", + "status": "active", + "date": "2019-05-21T10:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "This value set includes all the Vaccine National Drug Codes (NDC). This source of this data is provided by the [CDC](https://www2a.cdc.gov/vaccines/iis/iisstandards/ndc_crosswalk.asp)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "purpose": "Codes that are used as translations for CVS code for implementation of the Argonaut Immunization IG and MU2015 certification.", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/sid/ndc", + "concept": [ + { + "code": "49281-0703-55", + "display": "FLUZONE INTRADERMAL" + }, + { + "code": "49281-0790-20", + "display": "Typhim Vi" + }, + { + "code": "33332-0316-01", + "display": "AFLURIA QUADRIVALENT" + }, + { + "code": "49281-0712-40", + "display": "FLUZONE INTRADERMAL QUADRIVALENT" + }, + { + "code": "66521-0112-02", + "display": "Fluvirin" + }, + { + "code": "58160-0816-05", + "display": "Hiberix" + }, + { + "code": "00006-4837-02", + "display": "PNEUMOVAX 23" + }, + { + "code": "58160-0808-15", + "display": "Influenza A (H5N1) Monovalent Vaccine, Adjuvanted" + }, + { + "code": "58160-0842-51", + "display": "BOOSTRIX" + }, + { + "code": "49281-0418-50", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "00006-4943-00", + "display": "PNEUMOVAX 23" + }, + { + "code": "49281-0708-40", + "display": "FLUZONE INTRADERMAL QUADRIVALENT" + }, + { + "code": "54868-0734-00", + "display": "ENGERIX-B" + }, + { + "code": "58160-0819-12", + "display": "Shingrix" + }, + { + "code": "49281-0517-25", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "00006-4133-41", + "display": "Tetanus and Diphtheria Toxoids Adsorbed" + }, + { + "code": "50090-3096-00", + "display": "RabAvert" + }, + { + "code": "33332-0118-10", + "display": "AFLURIA" + }, + { + "code": "19515-0909-52", + "display": "Flulaval Quadrivalent" + }, + { + "code": "49281-0650-10", + "display": "INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE" + }, + { + "code": "58160-0820-11", + "display": "ENGERIX-B" + }, + { + "code": "42515-0001-01", + "display": "IXIARO" + }, + { + "code": "49281-0625-15", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "49281-0516-25", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "66521-0114-02", + "display": "FLUVIRIN" + }, + { + "code": "19515-0896-11", + "display": "Flulaval Quadrivalent" + }, + { + "code": "33332-0117-10", + "display": "AFLURIA" + }, + { + "code": "33332-0416-10", + "display": "AFLURIA QUADRIVALENT" + }, + { + "code": "66521-0118-02", + "display": "Fluvirin" + }, + { + "code": "58160-0821-11", + "display": "ENGERIX-B" + }, + { + "code": "00005-1971-05", + "display": "PREVNAR 13" + }, + { + "code": "66019-0109-10", + "display": "FLUMIST" + }, + { + "code": "49281-0278-10", + "display": "DIPHTHERIA AND TETANUS TOXOIDS ADSORBED" + }, + { + "code": "49281-0011-10", + "display": "FLUZONE" + }, + { + "code": "54868-2219-00", + "display": "RECOMBIVAX HB" + }, + { + "code": "49281-0415-10", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "33332-0016-01", + "display": "AFLURIA" + }, + { + "code": "49281-0705-55", + "display": "FLUZONE" + }, + { + "code": "49281-0621-15", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "58160-0842-34", + "display": "BOOSTRIX" + }, + { + "code": "49281-0010-10", + "display": "FLUZONE" + }, + { + "code": "66521-0113-02", + "display": "FLUVIRIN" + }, + { + "code": "49281-0514-25", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "58160-0842-52", + "display": "BOOSTRIX" + }, + { + "code": "19515-0901-52", + "display": "Flulaval Quadrivalent" + }, + { + "code": "62577-0613-01", + "display": "Flucelvax" + }, + { + "code": "66019-0303-10", + "display": "FluMist Quadrivalent" + }, + { + "code": "49281-0388-15", + "display": "FLUZONE" + }, + { + "code": "00006-4841-41", + "display": "VAQTA" + }, + { + "code": "58160-0900-52", + "display": "FLUARIX QUADRIVALENT" + }, + { + "code": "70461-0200-01", + "display": "FLUCELVAX QUADRIVALENT" + }, + { + "code": "49281-0915-05", + "display": "YF-VAX" + }, + { + "code": "49281-0650-50", + "display": "INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE" + }, + { + "code": "33332-0116-10", + "display": "AFLURIA" + }, + { + "code": "54868-3339-01", + "display": "PNEUMOVAX 23" + }, + { + "code": "49281-0418-10", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "58160-0812-52", + "display": "KINRIX" + }, + { + "code": "49281-0286-05", + "display": "DAPTACEL" + }, + { + "code": "63851-0612-01", + "display": "Flucelvax" + }, + { + "code": "19515-0908-52", + "display": "Flulaval Quadrivalent" + }, + { + "code": "54868-0980-00", + "display": "M-M-R II" + }, + { + "code": "58160-0830-52", + "display": "CERVARIX" + }, + { + "code": "49281-0113-25", + "display": "FLUZONE" + }, + { + "code": "49281-0650-70", + "display": "INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE" + }, + { + "code": "66521-0115-10", + "display": "FLUVIRIN" + }, + { + "code": "49281-0417-50", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "33332-0113-10", + "display": "AFLURIA" + }, + { + "code": "49281-0629-15", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "58160-0823-11", + "display": "Shingrix" + }, + { + "code": "00006-4897-00", + "display": "PedvaxHIB" + }, + { + "code": "58160-0821-34", + "display": "ENGERIX-B" + }, + { + "code": "66521-0115-02", + "display": "FLUVIRIN" + }, + { + "code": "33332-0014-01", + "display": "AFLURIA" + }, + { + "code": "49281-0562-10", + "display": "QUADRACEL" + }, + { + "code": "42874-0014-10", + "display": "Flublok" + }, + { + "code": "42874-0013-10", + "display": "Flublok" + }, + { + "code": "33332-0115-10", + "display": "AFLURIA" + }, + { + "code": "00006-4963-00", + "display": "ZOSTAVAX" + }, + { + "code": "49281-0010-25", + "display": "FLUZONE" + }, + { + "code": "33332-0519-01", + "display": "Influenza A" + }, + { + "code": "58160-0898-52", + "display": "FLUARIX QUADRIVALENT" + }, + { + "code": "49281-0112-25", + "display": "FLUZONE" + }, + { + "code": "19515-0898-11", + "display": "Flulaval Quadrivalent" + }, + { + "code": "00006-4109-09", + "display": "GARDASIL" + }, + { + "code": "49281-0414-50", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "00006-4095-09", + "display": "VAQTA" + }, + { + "code": "00006-4045-00", + "display": "GARDASIL" + }, + { + "code": "19515-0912-52", + "display": "Flulaval Quadrivalent" + }, + { + "code": "58160-0801-11", + "display": "Menhibrix" + }, + { + "code": "49281-0489-01", + "display": "MENOMUNE - A/C/Y/W-135 COMBINED" + }, + { + "code": "42874-0017-10", + "display": "Flublok" + }, + { + "code": "66521-0116-02", + "display": "Fluvirin" + }, + { + "code": "46028-0208-01", + "display": "Menveo" + }, + { + "code": "49281-0627-15", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "00005-0100-02", + "display": "Trumenba" + }, + { + "code": "69401-0000-01", + "display": "Vivotif" + }, + { + "code": "21695-0413-01", + "display": "Tetanus and Diphtheria Toxoids Adsorbed" + }, + { + "code": "49281-0416-10", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "49281-0650-25", + "display": "INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE" + }, + { + "code": "49281-0800-83", + "display": "TETANUS TOXOID ADSORBED" + }, + { + "code": "49281-0291-83", + "display": "DECAVAC" + }, + { + "code": "00006-4095-02", + "display": "VAQTA" + }, + { + "code": "58160-0854-52", + "display": "ROTARIX" + }, + { + "code": "19515-0889-07", + "display": "FLULAVAL" + }, + { + "code": "49281-0392-15", + "display": "FLUZONE" + }, + { + "code": "19515-0891-11", + "display": "Flulaval Quadrivalent" + }, + { + "code": "49281-0400-05", + "display": "Adacel" + }, + { + "code": "49281-0913-01", + "display": "STAMARIL" + }, + { + "code": "49281-0640-15", + "display": "INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE" + }, + { + "code": "49281-0513-25", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "00006-4171-00", + "display": "ProQuad" + }, + { + "code": "00006-4096-09", + "display": "VAQTA" + }, + { + "code": "58160-0830-34", + "display": "CERVARIX" + }, + { + "code": "00006-4980-00", + "display": "RECOMBIVAX HB" + }, + { + "code": "17478-0131-01", + "display": "Tetanus and Diphtheria Toxoids Adsorbed" + }, + { + "code": "49281-0414-10", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "43528-0002-05", + "display": "HEPLISAV-B" + }, + { + "code": "66521-0200-02", + "display": "Influenza A (H1N1) 2009 Monovalent Vaccine" + }, + { + "code": "49281-0011-50", + "display": "FLUZONE" + }, + { + "code": "70461-0120-10", + "display": "Fluvirin" + }, + { + "code": "66019-0304-10", + "display": "FluMist Quadrivalent" + }, + { + "code": "58160-0976-20", + "display": "Bexsero" + }, + { + "code": "00006-4826-00", + "display": "VARIVAX" + }, + { + "code": "66521-0116-10", + "display": "Fluvirin" + }, + { + "code": "00006-4963-41", + "display": "ZOSTAVAX" + }, + { + "code": "49281-0510-05", + "display": "PENTACEL" + }, + { + "code": "42874-0012-10", + "display": "Flublok" + }, + { + "code": "58160-0955-09", + "display": "Menveo" + }, + { + "code": "00005-0100-05", + "display": "Trumenba" + }, + { + "code": "49281-0707-55", + "display": "FLUZONE" + }, + { + "code": "14362-0111-04", + "display": "Tetanus and Diphtheria Toxoids Adsorbed" + }, + { + "code": "66521-0112-10", + "display": "Fluvirin" + }, + { + "code": "66521-0117-10", + "display": "Fluvirin" + }, + { + "code": "00006-4045-41", + "display": "GARDASIL" + }, + { + "code": "49281-0389-65", + "display": "FLUZONE HIGH DOSE" + }, + { + "code": "69401-0000-02", + "display": "Vivotif" + }, + { + "code": "49281-0915-01", + "display": "YF-VAX" + }, + { + "code": "00006-4093-02", + "display": "RECOMBIVAX HB" + }, + { + "code": "58160-0815-48", + "display": "TWINRIX" + }, + { + "code": "70460-0001-01", + "display": "Vaxchora" + }, + { + "code": "58160-0826-11", + "display": "HAVRIX" + }, + { + "code": "00006-4992-00", + "display": "RECOMBIVAX HB" + }, + { + "code": "49281-0111-25", + "display": "FLUZONE" + }, + { + "code": "00006-4093-09", + "display": "RECOMBIVAX HB" + }, + { + "code": "50090-3469-00", + "display": "HEPLISAV-B" + }, + { + "code": "49281-0403-65", + "display": "FLUZONE High-Dose" + }, + { + "code": "70461-0119-10", + "display": "Fluvirin" + }, + { + "code": "00006-4995-00", + "display": "RECOMBIVAX HB" + }, + { + "code": "58160-0815-34", + "display": "TWINRIX" + }, + { + "code": "49281-0393-65", + "display": "FLUZONE High-Dose" + }, + { + "code": "00005-1970-50", + "display": "Prevnar" + }, + { + "code": "33332-0017-01", + "display": "AFLURIA" + }, + { + "code": "63851-0501-01", + "display": "RabAvert" + }, + { + "code": "58160-0881-52", + "display": "FLUARIX" + }, + { + "code": "64678-0211-01", + "display": "BioThrax" + }, + { + "code": "49281-0394-15", + "display": "FLUZONE" + }, + { + "code": "00006-4827-00", + "display": "VARIVAX" + }, + { + "code": "58160-0806-05", + "display": "HIBERIX" + }, + { + "code": "49281-0518-25", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "62195-0051-10", + "display": "Ixiaro" + }, + { + "code": "63361-0245-10", + "display": "VAXELIS" + }, + { + "code": "49281-0709-55", + "display": "FLUZONE Intradermal" + }, + { + "code": "66019-0300-10", + "display": "FluMist Quadrivalent" + }, + { + "code": "49281-0215-15", + "display": "TENIVAC" + }, + { + "code": "58160-0825-52", + "display": "HAVRIX" + }, + { + "code": "00005-0100-10", + "display": "Trumenba" + }, + { + "code": "66521-0117-02", + "display": "Fluvirin" + }, + { + "code": "49281-0650-90", + "display": "INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE" + }, + { + "code": "42874-0015-10", + "display": "Flublok" + }, + { + "code": "33332-0018-01", + "display": "AFLURIA" + }, + { + "code": "00006-4999-00", + "display": "ProQuad" + }, + { + "code": "00005-1971-04", + "display": "PREVNAR 13" + }, + { + "code": "19515-0850-52", + "display": "FLULAVAL" + }, + { + "code": "00005-1971-02", + "display": "PREVNAR 13" + }, + { + "code": "00006-4094-02", + "display": "RECOMBIVAX HB" + }, + { + "code": "00006-4096-02", + "display": "VAQTA" + }, + { + "code": "58160-0825-11", + "display": "HAVRIX" + }, + { + "code": "58160-0811-52", + "display": "PEDIARIX" + }, + { + "code": "42515-0002-01", + "display": "IXIARO" + }, + { + "code": "49281-0013-50", + "display": "FLUZONE" + }, + { + "code": "76420-0483-01", + "display": "Medical Provider Single Use EZ Flu Shot 2013-2014" + }, + { + "code": "66521-0118-10", + "display": "Fluvirin" + }, + { + "code": "49281-0399-65", + "display": "FLUZONE High-Dose" + }, + { + "code": "49281-0396-15", + "display": "FLUZONE" + }, + { + "code": "66019-0107-01", + "display": "FLUMIST" + }, + { + "code": "19515-0890-07", + "display": "FLULAVAL" + }, + { + "code": "76420-0482-01", + "display": "Medical Provider Single Use EZ Flu Shot 2013-2014" + }, + { + "code": "33332-0015-01", + "display": "AFLURIA" + }, + { + "code": "66019-0302-10", + "display": "FluMist Quadrivalent" + }, + { + "code": "49281-0012-10", + "display": "FLUZONE" + }, + { + "code": "49281-0710-40", + "display": "FLUZONE INTRADERMAL QUADRIVALENT" + }, + { + "code": "63851-0501-02", + "display": "RabAvert" + }, + { + "code": "58160-0879-52", + "display": "FLUARIX" + }, + { + "code": "49281-0397-65", + "display": "FLUZONE High-Dose" + }, + { + "code": "00006-4831-41", + "display": "VAQTA" + }, + { + "code": "58160-0815-46", + "display": "TWINRIX" + }, + { + "code": "33332-0110-10", + "display": "AFLURIA" + }, + { + "code": "54868-4320-00", + "display": "PNEUMOVAX 23" + }, + { + "code": "42874-0016-10", + "display": "Flublok" + }, + { + "code": "49281-0012-50", + "display": "FLUZONE" + }, + { + "code": "58160-0818-11", + "display": "Hiberix" + }, + { + "code": "49281-0386-15", + "display": "FLUZONE" + }, + { + "code": "46028-0114-01", + "display": "Bexsero" + }, + { + "code": "00006-4898-00", + "display": "COMVAX" + }, + { + "code": "58160-0826-52", + "display": "HAVRIX" + }, + { + "code": "49281-0545-05", + "display": "ActHIB" + }, + { + "code": "66019-0108-10", + "display": "FLUMIST" + }, + { + "code": "70461-0418-10", + "display": "FLUCELVAX QUADRIVALENT (MULTI-DOSE VIAL)" + }, + { + "code": "00006-4094-09", + "display": "RECOMBIVAX HB" + }, + { + "code": "49281-0298-10", + "display": "TRIPEDIA" + }, + { + "code": "33332-0629-10", + "display": "Influenza A" + }, + { + "code": "58160-0880-52", + "display": "FLUARIX" + }, + { + "code": "00006-4047-20", + "display": "RotaTeq" + }, + { + "code": "00006-4119-02", + "display": "GARDASIL 9" + }, + { + "code": "58160-0842-11", + "display": "BOOSTRIX" + }, + { + "code": "19515-0903-11", + "display": "Flulaval Quadrivalent" + }, + { + "code": "00006-4981-00", + "display": "RECOMBIVAX HB" + }, + { + "code": "58160-0905-52", + "display": "FLUARIX QUADRIVALENT" + }, + { + "code": "49281-0401-65", + "display": "FLUZONE High-Dose" + }, + { + "code": "33332-0114-10", + "display": "AFLURIA" + }, + { + "code": "49281-0860-10", + "display": "IPOL" + }, + { + "code": "70461-0318-03", + "display": "FLUCELVAX QUADRIVALENT (PREFILLED SYRINGE)" + }, + { + "code": "54868-2219-01", + "display": "RECOMBIVAX HB" + }, + { + "code": "49281-0718-10", + "display": "Flublok Quadrivalent" + }, + { + "code": "49281-0400-15", + "display": "Adacel" + }, + { + "code": "70461-0120-02", + "display": "Fluvirin" + }, + { + "code": "49281-0416-50", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "49281-0413-50", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "58160-0883-52", + "display": "FLUARIX" + }, + { + "code": "49281-0790-51", + "display": "Typhim Vi" + }, + { + "code": "49281-0286-10", + "display": "DAPTACEL" + }, + { + "code": "66019-0110-10", + "display": "FluMist" + }, + { + "code": "46028-0114-02", + "display": "Bexsero" + }, + { + "code": "58160-0821-52", + "display": "ENGERIX-B" + }, + { + "code": "49281-0013-10", + "display": "FLUZONE" + }, + { + "code": "19515-0894-52", + "display": "Flulaval Quadrivalent" + }, + { + "code": "66019-0305-10", + "display": "FluMist Quadrivalent" + }, + { + "code": "49281-0400-10", + "display": "Adacel" + }, + { + "code": "49281-0390-15", + "display": "FLUZONE" + }, + { + "code": "00052-0603-02", + "display": "BCG VACCINE" + }, + { + "code": "51285-0138-50", + "display": "Adenovirus Type 4 and Type 7 Vaccine, Live" + }, + { + "code": "33332-0417-10", + "display": "AFLURIA QUADRIVALENT" + }, + { + "code": "49281-0395-65", + "display": "FLUZONE High-Dose" + }, + { + "code": "66019-0301-10", + "display": "FluMist Quadrivalent" + }, + { + "code": "49281-0215-10", + "display": "TENIVAC" + }, + { + "code": "19515-0895-11", + "display": "Flulaval Quadrivalent" + }, + { + "code": "70461-0201-01", + "display": "FLUCELVAX QUADRIVALENT (PREFILLED SYRINGE)" + }, + { + "code": "58160-0907-52", + "display": "FLUARIX QUADRIVALENT" + }, + { + "code": "55045-3841-01", + "display": "HAVRIX" + }, + { + "code": "50090-2883-00", + "display": "INFANRIX" + }, + { + "code": "49281-0820-10", + "display": "TETANUS TOXOID ADSORBED" + }, + { + "code": "49281-0417-10", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "33332-0010-01", + "display": "AFLURIA" + }, + { + "code": "33332-0013-01", + "display": "AFLURIA" + }, + { + "code": "66521-0200-10", + "display": "Influenza A (H1N1) 2009 Monovalent Vaccine" + }, + { + "code": "58160-0976-06", + "display": "Bexsero" + }, + { + "code": "58160-0809-05", + "display": "MENHIBRIX" + }, + { + "code": "00006-4739-00", + "display": "PNEUMOVAX 23" + }, + { + "code": "70461-0018-03", + "display": "FLUAD" + }, + { + "code": "49281-0413-10", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "13533-0131-01", + "display": "Tetanus and Diphtheria Toxoids Adsorbed" + }, + { + "code": "58160-0812-11", + "display": "KINRIX" + }, + { + "code": "49281-0391-65", + "display": "FLUZONE High-Dose" + }, + { + "code": "19515-0845-11", + "display": "FLULAVAL" + }, + { + "code": "58160-0811-51", + "display": "PEDIARIX" + }, + { + "code": "58160-0815-52", + "display": "TWINRIX" + }, + { + "code": "70461-0119-02", + "display": "Fluvirin" + }, + { + "code": "58160-0810-52", + "display": "INFANRIX" + }, + { + "code": "62577-0614-01", + "display": "Flucelvax" + }, + { + "code": "42874-0117-10", + "display": "Flublok Quadrivalent" + }, + { + "code": "49281-0489-91", + "display": "MENOMUNE - A/C/Y/W-135 COMBINED" + }, + { + "code": "58160-0964-12", + "display": "RabAvert" + }, + { + "code": "49281-0014-50", + "display": "FLUZONE" + }, + { + "code": "00006-4109-02", + "display": "GARDASIL" + }, + { + "code": "70461-0002-01", + "display": "FLUAD" + }, + { + "code": "49281-0286-01", + "display": "DAPTACEL" + }, + { + "code": "58160-0810-11", + "display": "INFANRIX" + }, + { + "code": "19515-0900-11", + "display": "Flulaval Quadrivalent" + }, + { + "code": "00006-4837-03", + "display": "PNEUMOVAX 23" + }, + { + "code": "66521-0113-10", + "display": "FLUVIRIN" + }, + { + "code": "58160-0826-34", + "display": "HAVRIX" + }, + { + "code": "58160-0903-52", + "display": "FLUARIX QUADRIVALENT" + }, + { + "code": "00006-4841-00", + "display": "VAQTA" + }, + { + "code": "54868-6180-00", + "display": "FLUZONE" + }, + { + "code": "00006-4681-00", + "display": "M-M-R II" + }, + { + "code": "33332-0317-01", + "display": "AFLURIA QUADRIVALENT" + }, + { + "code": "70461-0001-01", + "display": "FLUAD" + }, + { + "code": "49281-0589-05", + "display": "Menactra" + }, + { + "code": "49281-0387-65", + "display": "FLUZONE" + }, + { + "code": "49281-0860-55", + "display": "IPOL" + }, + { + "code": "19515-0893-07", + "display": "FLULAVAL" + }, + { + "code": "33332-0519-25", + "display": "Influenza A" + }, + { + "code": "70461-0301-10", + "display": "FLUCELVAX QUADRIVALENT (MULTI-DOSE VIAL)" + }, + { + "code": "66019-0200-10", + "display": "Influenza A H1N1 Intranasal" + }, + { + "code": "43528-0003-05", + "display": "HEPLISAV-B" + }, + { + "code": "58160-0820-52", + "display": "ENGERIX-B" + }, + { + "code": "66521-0000-01", + "display": "FLUAD" + }, + { + "code": "49281-0250-51", + "display": "IMOVAX RABIES" + }, + { + "code": "49281-0291-10", + "display": "DECAVAC" + }, + { + "code": "33332-0418-10", + "display": "AFLURIA QUADRIVALENT" + }, + { + "code": "00006-4121-02", + "display": "GARDASIL 9" + }, + { + "code": "63851-0613-01", + "display": "FLUCELVAX" + }, + { + "code": "66521-0114-10", + "display": "FLUVIRIN" + }, + { + "code": "00006-4047-41", + "display": "RotaTeq" + }, + { + "code": "58160-0901-52", + "display": "FLUARIX QUADRIVALENT" + }, + { + "code": "33332-0318-01", + "display": "AFLURIA QUADRIVALENT" + }, + { + "code": "00006-4119-03", + "display": "GARDASIL 9" + }, + { + "code": "49281-0225-10", + "display": "DIPHTHERIA AND TETANUS TOXOIDS ADSORBED" + }, + { + "code": "58160-0815-11", + "display": "TWINRIX" + }, + { + "code": "54868-6177-00", + "display": "FLUZONE" + }, + { + "code": "49281-0010-50", + "display": "FLUZONE" + }, + { + "code": "49281-0400-20", + "display": "Adacel" + }, + { + "code": "49281-0545-03", + "display": "ActHIB" + }, + { + "code": "50090-1693-09", + "display": "IPOL" + }, + { + "code": "00006-4995-41", + "display": "RECOMBIVAX HB" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-observation-smoking-status-status.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-observation-smoking-status-status.json new file mode 100644 index 000000000..8b8c61d5f --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-observation-smoking-status-status.json @@ -0,0 +1,52 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-observation-smoking-status-status", + "text": { + "status": "generated", + "div": "

US Core Status for Smoking Status Observation

Codes providing the status of an observation for smoking status. Constrained to finaland entered-in-error.

\n

This value set includes codes from the following code systems:

  • Include these codes as defined in http://hl7.org/fhir/observation-status
    CodeDisplay
    finalFinalThe observation is complete and there are no further actions needed. Additional information such "released", "signed", etc would be represented using [Provenance](provenance.html) which provides not only the act but also the actors and dates and other related data. These act states would be associated with an observation status of `preliminary` until they are all completed and then a status of `final` would be applied.
    entered-in-errorEntered in ErrorThe observation has been withdrawn following previous final release. This electronic record should never have existed, though it is possible that real-world decisions were based on it. (If real-world activity has occurred, the status should be "cancelled" rather than "entered-in-error".).
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smoking-status-status", + "version": "3.1.0", + "name": "USCoreObservationSmokingStatusStatus", + "title": "US Core Status for Smoking Status Observation", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "Codes providing the status of an observation for smoking status. Constrained to `final`and `entered-in-error`.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/observation-status", + "concept": [ + { + "code": "final" + }, + { + "code": "entered-in-error" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-observation-smokingstatus.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-observation-smokingstatus.json new file mode 100644 index 000000000..836b6a564 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-observation-smokingstatus.json @@ -0,0 +1,85 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-observation-smokingstatus", + "text": { + "status": "generated", + "div": "

US Core Smoking Status

This value set indicates the current smoking status of a patient.

\n

Copyright Statement: This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.4.642.2.602" + } + ], + "version": "3.1.0", + "name": "USCoreSmokingStatus", + "title": "US Core Smoking Status", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This value set indicates the current smoking status of a patient.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "concept": [ + { + "code": "449868002", + "display": "Current every day smoker" + }, + { + "code": "428041000124106", + "display": "Current some day smoker" + }, + { + "code": "8517006", + "display": "Former smoker" + }, + { + "code": "266919005", + "display": "Never smoker" + }, + { + "code": "77176002", + "display": "Smoker, current status unknown" + }, + { + "code": "266927001", + "display": "Unknown if ever smoked" + }, + { + "code": "428071000124103", + "display": "Current Heavy tobacco smoker" + }, + { + "code": "428061000124105", + "display": "Current Light tobacco smoker" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-observation-value-codes.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-observation-value-codes.json new file mode 100644 index 000000000..e8c1a39e8 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-observation-value-codes.json @@ -0,0 +1,49 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-observation-value-codes", + "text": { + "status": "generated", + "div": "

US Core Observation Value Codes (SNOMED-CT)

Snomed-CT concept codes for coded results

\n

Copyright Statement: This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-value-codes", + "version": "3.1.0", + "name": "USCoreObservationValueCodes", + "title": "US Core Observation Value Codes (SNOMED-CT)", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + }, + { + "system": "email", + "value": "fhir@lists.hl7.org" + } + ] + } + ], + "description": "[Snomed-CT](http://www.ihtsdo.org/) concept codes for coded results", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-procedure-code.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-procedure-code.json new file mode 100644 index 000000000..87e6c6ebe --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-procedure-code.json @@ -0,0 +1,58 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-procedure-code", + "text": { + "status": "generated", + "div": "

US Core Procedure Codes

This example value set defines a set of codes that can be used to indicate the type of procedure: a specific code indicating type of procedure performed, from CPT, SNOMED CT, or HCPCS Level II Alphanumeric Codes.

\n

Copyright Statement: CPT copyright 2014 American Medical Association. All rights reserved. This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement

This value set includes codes from the following code systems:

  • Include all codes defined in http://www.ama-assn.org/go/cpt
  • Include codes from http://snomed.info/sct where concept is-a 71388002 (Procedure)
  • Include all codes defined in urn:oid:2.16.840.1.113883.6.285
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code", + "version": "3.1.0", + "name": "USCoreProcedureCodes", + "title": "US Core Procedure Codes", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This example value set defines a set of codes that can be used to indicate the type of procedure: a specific code indicating type of procedure performed, from CPT, SNOMED CT, or HCPCS Level II Alphanumeric Codes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "CPT copyright 2014 American Medical Association. All rights reserved. This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://www.ama-assn.org/go/cpt" + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "71388002" + } + ] + }, + { + "system": "urn:oid:2.16.840.1.113883.6.285" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-procedure-icd10pcs.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-procedure-icd10pcs.json new file mode 100644 index 000000000..346a73e9d --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-procedure-icd10pcs.json @@ -0,0 +1,45 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-procedure-icd10pcs", + "text": { + "status": "generated", + "div": "

US Core ICD-10-PCS Procedure Codes

This value set defines a set of codes from ICD10-PCS that can be used to indicate a type of procedure performed

\n

Copyright Statement: The International Classification of Diseases, Tenth Revision, Procedure Coding System (ICD-10-PCS) was developed for the Centers for Medicare and Medicaid Services (CMS). CMS is the U.S. governmental agency responsible for overseeing all changes and modifications to the ICD-10-PCS.

This value set includes codes from the following code systems:

  • Include all codes defined in http://www.icd10data.com/icd10pcs
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-icd10pcs", + "version": "3.1.0", + "name": "USCoreIcd_10PcsProcedureCodes", + "title": "US Core ICD-10-PCS Procedure Codes", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This value set defines a set of codes from ICD10-PCS that can be used to indicate a type of procedure performed", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "The International Classification of Diseases, Tenth Revision, Procedure Coding System (ICD-10-PCS) was developed for the Centers for Medicare and Medicaid Services (CMS). CMS is the U.S. governmental agency responsible for overseeing all changes and modifications to the ICD-10-PCS.", + "compose": { + "include": [ + { + "system": "http://www.icd10data.com/icd10pcs" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-provenance-participant-type.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-provenance-participant-type.json new file mode 100644 index 000000000..94e875c6d --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-provenance-participant-type.json @@ -0,0 +1,38 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-provenance-participant-type", + "text": { + "status": "generated", + "div": "

US Core Provenance Participant Type Codes

The type of participation a provenance agent played for a given target.

\n

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provenance-participant-type", + "version": "3.1.0", + "name": "USCoreProvenancePaticipantTypeCodes", + "title": "US Core Provenance Participant Type Codes", + "status": "active", + "date": "2019-08-28T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "The type of participation a provenance agent played for a given target.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "purpose": "So API consumers can identify the provenance participant type.", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-provider-role.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-provider-role.json new file mode 100644 index 000000000..946226f4b --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-provider-role.json @@ -0,0 +1,995 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-provider-role", + "text": { + "status": "generated", + "div": "

US Core Provider Role (NUCC)

Provider roles codes which are composed of the NUCC Health Care Provider Taxonomy Code Set classification codes for providers. Only concepts with a classification and no specialization are included.

\n

Copyright Statement: This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained.

This value set includes codes from the following code systems:

  • Include these codes as defined in http://nucc.org/provider-taxonomy
    CodeDisplay
    101Y00000XCounselor
    102L00000XPsychoanalyst
    102X00000XPoetry Therapist
    103G00000XClinical Neuropsychologist
    103K00000XBehavior Analyst
    103T00000XPsychologist
    104100000XSocial Worker
    106E00000XAssistant Behavior Analyst
    106H00000XMarriage & Family Therapist
    106S00000XBehavior Technician
    111N00000XChiropractor
    122300000XDentist
    122400000XDenturist
    124Q00000XDental Hygienist
    125J00000XDental Therapist
    125K00000XAdvanced Practice Dental Therapist
    125Q00000XOral Medicinist
    126800000XDental Assistant
    126900000XDental Laboratory Technician
    132700000XDietary Manager
    133N00000XNutritionist
    133V00000XDietitian, Registered
    136A00000XDietetic Technician, Registered
    146D00000XPersonal Emergency Response Attendant
    146L00000XEmergency Medical Technician, Paramedic
    146M00000XEmergency Medical Technician, Intermediate
    146N00000XEmergency Medical Technician, Basic
    152W00000XOptometrist
    156F00000XTechnician/Technologist
    163W00000XRegistered Nurse
    164W00000XLicensed Practical Nurse
    164X00000XLicensed Vocational Nurse
    167G00000XLicensed Psychiatric Technician
    170100000XMedical Genetics, Ph.D. Medical Genetics
    170300000XGenetic Counselor, MS
    171000000XMilitary Health Care Provider
    171100000XAcupuncturist
    171M00000XCase Manager/Care Coordinator
    171R00000XInterpreter
    171W00000XContractor
    172A00000XDriver
    172M00000XMechanotherapist
    172P00000XNaprapath
    172V00000XCommunity Health Worker
    173000000XLegal Medicine
    173C00000XReflexologist
    173F00000XSleep Specialist, PhD
    174200000XMeals
    174400000XSpecialist
    174H00000XHealth Educator
    174M00000XVeterinarian
    174N00000XLactation Consultant, Non-RN
    174V00000XClinical Ethicist
    175F00000XNaturopath
    175L00000XHomeopath
    175M00000XMidwife, Lay
    175T00000XPeer Specialist
    176B00000XMidwife
    176P00000XFuneral Director
    177F00000XLodging
    183500000XPharmacist
    183700000XPharmacy Technician
    193200000XMulti-Specialty
    193400000XSingle Specialty
    202C00000XIndependent Medical Examiner
    202K00000XPhlebology
    204C00000XNeuromusculoskeletal Medicine, Sports Medicine
    204D00000XNeuromusculoskeletal Medicine & OMM
    204E00000XOral & Maxillofacial Surgery
    204F00000XTransplant Surgery
    204R00000XElectrodiagnostic Medicine
    207K00000XAllergy & Immunology
    207L00000XAnesthesiology
    207N00000XDermatology
    207P00000XEmergency Medicine
    207Q00000XFamily Medicine
    207R00000XInternal Medicine
    207T00000XNeurological Surgery
    207U00000XNuclear Medicine
    207V00000XObstetrics & Gynecology
    207W00000XOphthalmology
    207X00000XOrthopaedic Surgery
    207Y00000XOtolaryngology
    208000000XPediatrics
    208100000XPhysical Medicine & Rehabilitation
    208200000XPlastic Surgery
    208600000XSurgery
    208800000XUrology
    208C00000XColon & Rectal Surgery
    208D00000XGeneral Practice
    208G00000XThoracic Surgery (Cardiothoracic Vascular Surgery)
    208M00000XHospitalist
    208U00000XClinical Pharmacology
    209800000XLegal Medicine
    211D00000XAssistant, Podiatric
    213E00000XPodiatrist
    221700000XArt Therapist
    222Q00000XDevelopmental Therapist
    222Z00000XOrthotist
    224900000XMastectomy Fitter
    224L00000XPedorthist
    224P00000XProsthetist
    224Y00000XClinical Exercise Physiologist
    224Z00000XOccupational Therapy Assistant
    225000000XOrthotic Fitter
    225100000XPhysical Therapist
    225200000XPhysical Therapy Assistant
    225400000XRehabilitation Practitioner
    225500000XSpecialist/Technologist
    225600000XDance Therapist
    225700000XMassage Therapist
    225800000XRecreation Therapist
    225A00000XMusic Therapist
    225B00000XPulmonary Function Technologist
    225C00000XRehabilitation Counselor
    225X00000XOccupational Therapist
    226000000XRecreational Therapist Assistant
    226300000XKinesiotherapist
    227800000XRespiratory Therapist, Certified
    227900000XRespiratory Therapist, Registered
    229N00000XAnaplastologist
    231H00000XAudiologist
    235500000XSpecialist/Technologist
    235Z00000XSpeech-Language Pathologist
    237600000XAudiologist-Hearing Aid Fitter
    237700000XHearing Instrument Specialist
    242T00000XPerfusionist
    243U00000XRadiology Practitioner Assistant
    246Q00000XSpecialist/Technologist, Pathology
    246R00000XTechnician, Pathology
    246W00000XTechnician, Cardiology
    246X00000XSpecialist/Technologist Cardiovascular
    246Y00000XSpecialist/Technologist, Health Information
    246Z00000XSpecialist/Technologist, Other
    247000000XTechnician, Health Information
    247100000XRadiologic Technologist
    247200000XTechnician, Other
    251300000XLocal Education Agency (LEA)
    251B00000XCase Management
    251C00000XDay Training, Developmentally Disabled Services
    251E00000XHome Health
    251F00000XHome Infusion
    251G00000XHospice Care, Community Based
    251J00000XNursing Care
    251K00000XPublic Health or Welfare
    251S00000XCommunity/Behavioral Health
    251T00000XProgram of All-Inclusive Care for the Elderly (PACE) Provider Organization
    251V00000XVoluntary or Charitable
    251X00000XSupports Brokerage
    252Y00000XEarly Intervention Provider Agency
    253J00000XFoster Care Agency
    253Z00000XIn Home Supportive Care
    261Q00000XClinic/Center
    273100000XEpilepsy Unit
    273R00000XPsychiatric Unit
    273Y00000XRehabilitation Unit
    275N00000XMedicare Defined Swing Bed Unit
    276400000XRehabilitation, Substance Use Disorder Unit
    281P00000XChronic Disease Hospital
    282E00000XLong Term Care Hospital
    282J00000XReligious Nonmedical Health Care Institution
    282N00000XGeneral Acute Care Hospital
    283Q00000XPsychiatric Hospital
    283X00000XRehabilitation Hospital
    284300000XSpecial Hospital
    286500000XMilitary Hospital
    287300000XChristian Science Sanitorium
    291900000XMilitary Clinical Medical Laboratory
    291U00000XClinical Medical Laboratory
    292200000XDental Laboratory
    293D00000XPhysiological Laboratory
    302F00000XExclusive Provider Organization
    302R00000XHealth Maintenance Organization
    305R00000XPreferred Provider Organization
    305S00000XPoint of Service
    310400000XAssisted Living Facility
    310500000XIntermediate Care Facility, Mental Illness
    311500000XAlzheimer Center (Dementia Center)
    311Z00000XCustodial Care Facility
    313M00000XNursing Facility/Intermediate Care Facility
    314000000XSkilled Nursing Facility
    315D00000XHospice, Inpatient
    315P00000XIntermediate Care Facility, Mentally Retarded
    317400000XChristian Science Facility
    320600000XResidential Treatment Facility, Mental Retardation and/or Developmental Disabilities
    320700000XResidential Treatment Facility, Physical Disabilities
    320800000XCommunity Based Residential Treatment Facility, Mental Illness
    320900000XCommunity Based Residential Treatment Facility, Mental Retardation and/or Developmental Disabilities
    322D00000XResidential Treatment Facility, Emotionally Disturbed Children
    323P00000XPsychiatric Residential Treatment Facility
    324500000XSubstance Abuse Rehabilitation Facility
    331L00000XBlood Bank
    332000000XMilitary/U.S. Coast Guard Pharmacy
    332100000XDepartment of Veterans Affairs (VA) Pharmacy
    332800000XIndian Health Service/Tribal/Urban Indian Health (I/T/U) Pharmacy
    332900000XNon-Pharmacy Dispensing Site
    332B00000XDurable Medical Equipment & Medical Supplies
    332G00000XEye Bank
    332H00000XEyewear Supplier
    332S00000XHearing Aid Equipment
    332U00000XHome Delivered Meals
    333300000XEmergency Response System Companies
    333600000XPharmacy
    335E00000XProsthetic/Orthotic Supplier
    335G00000XMedical Foods Supplier
    335U00000XOrgan Procurement Organization
    335V00000XPortable X-ray and/or Other Portable Diagnostic Imaging Supplier
    341600000XAmbulance
    341800000XMilitary/U.S. Coast Guard Transport
    343800000XSecured Medical Transport (VAN)
    343900000XNon-emergency Medical Transport (VAN)
    344600000XTaxi
    344800000XAir Carrier
    347B00000XBus
    347C00000XPrivate Vehicle
    347D00000XTrain
    347E00000XTransportation Broker
    363A00000XPhysician Assistant
    363L00000XNurse Practitioner
    364S00000XClinical Nurse Specialist
    367500000XNurse Anesthetist, Certified Registered
    367A00000XAdvanced Practice Midwife
    367H00000XAnesthesiologist Assistant
    372500000XChore Provider
    372600000XAdult Companion
    373H00000XDay Training/Habilitation Specialist
    374700000XTechnician
    374J00000XDoula
    374K00000XReligious Nonmedical Practitioner
    374T00000XReligious Nonmedical Nursing Personnel
    374U00000XHome Health Aide
    376G00000XNursing Home Administrator
    376J00000XHomemaker
    376K00000XNurse's Aide
    385H00000XRespite Care
    390200000XStudent in an Organized Health Care Education/Training Program
    405300000XPrevention Professional
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role", + "version": "3.1.0", + "name": "USCoreProviderRoleNucc", + "title": "US Core Provider Role (NUCC)", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "Provider roles codes which are composed of the NUCC Health Care Provider Taxonomy Code Set classification codes for providers. Only concepts with a classification and no specialization are included. ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained.", + "compose": { + "include": [ + { + "system": "http://nucc.org/provider-taxonomy", + "concept": [ + { + "code": "101Y00000X", + "display": "Counselor" + }, + { + "code": "102L00000X", + "display": "Psychoanalyst" + }, + { + "code": "102X00000X", + "display": "Poetry Therapist" + }, + { + "code": "103G00000X", + "display": "Clinical Neuropsychologist" + }, + { + "code": "103K00000X", + "display": "Behavior Analyst" + }, + { + "code": "103T00000X", + "display": "Psychologist" + }, + { + "code": "104100000X", + "display": "Social Worker" + }, + { + "code": "106E00000X", + "display": "Assistant Behavior Analyst" + }, + { + "code": "106H00000X", + "display": "Marriage & Family Therapist" + }, + { + "code": "106S00000X", + "display": "Behavior Technician" + }, + { + "code": "111N00000X", + "display": "Chiropractor" + }, + { + "code": "122300000X", + "display": "Dentist" + }, + { + "code": "122400000X", + "display": "Denturist" + }, + { + "code": "124Q00000X", + "display": "Dental Hygienist" + }, + { + "code": "125J00000X", + "display": "Dental Therapist" + }, + { + "code": "125K00000X", + "display": "Advanced Practice Dental Therapist" + }, + { + "code": "125Q00000X", + "display": "Oral Medicinist" + }, + { + "code": "126800000X", + "display": "Dental Assistant" + }, + { + "code": "126900000X", + "display": "Dental Laboratory Technician" + }, + { + "code": "132700000X", + "display": "Dietary Manager" + }, + { + "code": "133N00000X", + "display": "Nutritionist" + }, + { + "code": "133V00000X", + "display": "Dietitian, Registered" + }, + { + "code": "136A00000X", + "display": "Dietetic Technician, Registered" + }, + { + "code": "146D00000X", + "display": "Personal Emergency Response Attendant" + }, + { + "code": "146L00000X", + "display": "Emergency Medical Technician, Paramedic" + }, + { + "code": "146M00000X", + "display": "Emergency Medical Technician, Intermediate" + }, + { + "code": "146N00000X", + "display": "Emergency Medical Technician, Basic" + }, + { + "code": "152W00000X", + "display": "Optometrist" + }, + { + "code": "156F00000X", + "display": "Technician/Technologist" + }, + { + "code": "163W00000X", + "display": "Registered Nurse" + }, + { + "code": "164W00000X", + "display": "Licensed Practical Nurse" + }, + { + "code": "164X00000X", + "display": "Licensed Vocational Nurse" + }, + { + "code": "167G00000X", + "display": "Licensed Psychiatric Technician" + }, + { + "code": "170100000X", + "display": "Medical Genetics, Ph.D. Medical Genetics" + }, + { + "code": "170300000X", + "display": "Genetic Counselor, MS" + }, + { + "code": "171000000X", + "display": "Military Health Care Provider" + }, + { + "code": "171100000X", + "display": "Acupuncturist" + }, + { + "code": "171M00000X", + "display": "Case Manager/Care Coordinator" + }, + { + "code": "171R00000X", + "display": "Interpreter" + }, + { + "code": "171W00000X", + "display": "Contractor" + }, + { + "code": "172A00000X", + "display": "Driver" + }, + { + "code": "172M00000X", + "display": "Mechanotherapist" + }, + { + "code": "172P00000X", + "display": "Naprapath" + }, + { + "code": "172V00000X", + "display": "Community Health Worker" + }, + { + "code": "173000000X", + "display": "Legal Medicine" + }, + { + "code": "173C00000X", + "display": "Reflexologist" + }, + { + "code": "173F00000X", + "display": "Sleep Specialist, PhD" + }, + { + "code": "174200000X", + "display": "Meals" + }, + { + "code": "174400000X", + "display": "Specialist" + }, + { + "code": "174H00000X", + "display": "Health Educator" + }, + { + "code": "174M00000X", + "display": "Veterinarian" + }, + { + "code": "174N00000X", + "display": "Lactation Consultant, Non-RN" + }, + { + "code": "174V00000X", + "display": "Clinical Ethicist" + }, + { + "code": "175F00000X", + "display": "Naturopath" + }, + { + "code": "175L00000X", + "display": "Homeopath" + }, + { + "code": "175M00000X", + "display": "Midwife, Lay" + }, + { + "code": "175T00000X", + "display": "Peer Specialist" + }, + { + "code": "176B00000X", + "display": "Midwife" + }, + { + "code": "176P00000X", + "display": "Funeral Director" + }, + { + "code": "177F00000X", + "display": "Lodging" + }, + { + "code": "183500000X", + "display": "Pharmacist" + }, + { + "code": "183700000X", + "display": "Pharmacy Technician" + }, + { + "code": "193200000X", + "display": "Multi-Specialty" + }, + { + "code": "193400000X", + "display": "Single Specialty" + }, + { + "code": "202C00000X", + "display": "Independent Medical Examiner" + }, + { + "code": "202K00000X", + "display": "Phlebology" + }, + { + "code": "204C00000X", + "display": "Neuromusculoskeletal Medicine, Sports Medicine" + }, + { + "code": "204D00000X", + "display": "Neuromusculoskeletal Medicine & OMM" + }, + { + "code": "204E00000X", + "display": "Oral & Maxillofacial Surgery" + }, + { + "code": "204F00000X", + "display": "Transplant Surgery" + }, + { + "code": "204R00000X", + "display": "Electrodiagnostic Medicine" + }, + { + "code": "207K00000X", + "display": "Allergy & Immunology" + }, + { + "code": "207L00000X", + "display": "Anesthesiology" + }, + { + "code": "207N00000X", + "display": "Dermatology" + }, + { + "code": "207P00000X", + "display": "Emergency Medicine" + }, + { + "code": "207Q00000X", + "display": "Family Medicine" + }, + { + "code": "207R00000X", + "display": "Internal Medicine" + }, + { + "code": "207T00000X", + "display": "Neurological Surgery" + }, + { + "code": "207U00000X", + "display": "Nuclear Medicine" + }, + { + "code": "207V00000X", + "display": "Obstetrics & Gynecology" + }, + { + "code": "207W00000X", + "display": "Ophthalmology" + }, + { + "code": "207X00000X", + "display": "Orthopaedic Surgery" + }, + { + "code": "207Y00000X", + "display": "Otolaryngology" + }, + { + "code": "208000000X", + "display": "Pediatrics" + }, + { + "code": "208100000X", + "display": "Physical Medicine & Rehabilitation" + }, + { + "code": "208200000X", + "display": "Plastic Surgery" + }, + { + "code": "208600000X", + "display": "Surgery" + }, + { + "code": "208800000X", + "display": "Urology" + }, + { + "code": "208C00000X", + "display": "Colon & Rectal Surgery" + }, + { + "code": "208D00000X", + "display": "General Practice" + }, + { + "code": "208G00000X", + "display": "Thoracic Surgery (Cardiothoracic Vascular Surgery)" + }, + { + "code": "208M00000X", + "display": "Hospitalist" + }, + { + "code": "208U00000X", + "display": "Clinical Pharmacology" + }, + { + "code": "209800000X", + "display": "Legal Medicine" + }, + { + "code": "211D00000X", + "display": "Assistant, Podiatric" + }, + { + "code": "213E00000X", + "display": "Podiatrist" + }, + { + "code": "221700000X", + "display": "Art Therapist" + }, + { + "code": "222Q00000X", + "display": "Developmental Therapist" + }, + { + "code": "222Z00000X", + "display": "Orthotist" + }, + { + "code": "224900000X", + "display": "Mastectomy Fitter" + }, + { + "code": "224L00000X", + "display": "Pedorthist" + }, + { + "code": "224P00000X", + "display": "Prosthetist" + }, + { + "code": "224Y00000X", + "display": "Clinical Exercise Physiologist" + }, + { + "code": "224Z00000X", + "display": "Occupational Therapy Assistant" + }, + { + "code": "225000000X", + "display": "Orthotic Fitter" + }, + { + "code": "225100000X", + "display": "Physical Therapist" + }, + { + "code": "225200000X", + "display": "Physical Therapy Assistant" + }, + { + "code": "225400000X", + "display": "Rehabilitation Practitioner" + }, + { + "code": "225500000X", + "display": "Specialist/Technologist" + }, + { + "code": "225600000X", + "display": "Dance Therapist" + }, + { + "code": "225700000X", + "display": "Massage Therapist" + }, + { + "code": "225800000X", + "display": "Recreation Therapist" + }, + { + "code": "225A00000X", + "display": "Music Therapist" + }, + { + "code": "225B00000X", + "display": "Pulmonary Function Technologist" + }, + { + "code": "225C00000X", + "display": "Rehabilitation Counselor" + }, + { + "code": "225X00000X", + "display": "Occupational Therapist" + }, + { + "code": "226000000X", + "display": "Recreational Therapist Assistant" + }, + { + "code": "226300000X", + "display": "Kinesiotherapist" + }, + { + "code": "227800000X", + "display": "Respiratory Therapist, Certified" + }, + { + "code": "227900000X", + "display": "Respiratory Therapist, Registered" + }, + { + "code": "229N00000X", + "display": "Anaplastologist" + }, + { + "code": "231H00000X", + "display": "Audiologist" + }, + { + "code": "235500000X", + "display": "Specialist/Technologist" + }, + { + "code": "235Z00000X", + "display": "Speech-Language Pathologist" + }, + { + "code": "237600000X", + "display": "Audiologist-Hearing Aid Fitter" + }, + { + "code": "237700000X", + "display": "Hearing Instrument Specialist" + }, + { + "code": "242T00000X", + "display": "Perfusionist" + }, + { + "code": "243U00000X", + "display": "Radiology Practitioner Assistant" + }, + { + "code": "246Q00000X", + "display": "Specialist/Technologist, Pathology" + }, + { + "code": "246R00000X", + "display": "Technician, Pathology" + }, + { + "code": "246W00000X", + "display": "Technician, Cardiology" + }, + { + "code": "246X00000X", + "display": "Specialist/Technologist Cardiovascular" + }, + { + "code": "246Y00000X", + "display": "Specialist/Technologist, Health Information" + }, + { + "code": "246Z00000X", + "display": "Specialist/Technologist, Other" + }, + { + "code": "247000000X", + "display": "Technician, Health Information" + }, + { + "code": "247100000X", + "display": "Radiologic Technologist" + }, + { + "code": "247200000X", + "display": "Technician, Other" + }, + { + "code": "251300000X", + "display": "Local Education Agency (LEA)" + }, + { + "code": "251B00000X", + "display": "Case Management" + }, + { + "code": "251C00000X", + "display": "Day Training, Developmentally Disabled Services" + }, + { + "code": "251E00000X", + "display": "Home Health" + }, + { + "code": "251F00000X", + "display": "Home Infusion" + }, + { + "code": "251G00000X", + "display": "Hospice Care, Community Based" + }, + { + "code": "251J00000X", + "display": "Nursing Care" + }, + { + "code": "251K00000X", + "display": "Public Health or Welfare" + }, + { + "code": "251S00000X", + "display": "Community/Behavioral Health" + }, + { + "code": "251T00000X", + "display": "Program of All-Inclusive Care for the Elderly (PACE) Provider Organization" + }, + { + "code": "251V00000X", + "display": "Voluntary or Charitable" + }, + { + "code": "251X00000X", + "display": "Supports Brokerage" + }, + { + "code": "252Y00000X", + "display": "Early Intervention Provider Agency" + }, + { + "code": "253J00000X", + "display": "Foster Care Agency" + }, + { + "code": "253Z00000X", + "display": "In Home Supportive Care" + }, + { + "code": "261Q00000X", + "display": "Clinic/Center" + }, + { + "code": "273100000X", + "display": "Epilepsy Unit" + }, + { + "code": "273R00000X", + "display": "Psychiatric Unit" + }, + { + "code": "273Y00000X", + "display": "Rehabilitation Unit" + }, + { + "code": "275N00000X", + "display": "Medicare Defined Swing Bed Unit" + }, + { + "code": "276400000X", + "display": "Rehabilitation, Substance Use Disorder Unit" + }, + { + "code": "281P00000X", + "display": "Chronic Disease Hospital" + }, + { + "code": "282E00000X", + "display": "Long Term Care Hospital" + }, + { + "code": "282J00000X", + "display": "Religious Nonmedical Health Care Institution" + }, + { + "code": "282N00000X", + "display": "General Acute Care Hospital" + }, + { + "code": "283Q00000X", + "display": "Psychiatric Hospital" + }, + { + "code": "283X00000X", + "display": "Rehabilitation Hospital" + }, + { + "code": "284300000X", + "display": "Special Hospital" + }, + { + "code": "286500000X", + "display": "Military Hospital" + }, + { + "code": "287300000X", + "display": "Christian Science Sanitorium" + }, + { + "code": "291900000X", + "display": "Military Clinical Medical Laboratory" + }, + { + "code": "291U00000X", + "display": "Clinical Medical Laboratory" + }, + { + "code": "292200000X", + "display": "Dental Laboratory" + }, + { + "code": "293D00000X", + "display": "Physiological Laboratory" + }, + { + "code": "302F00000X", + "display": "Exclusive Provider Organization" + }, + { + "code": "302R00000X", + "display": "Health Maintenance Organization" + }, + { + "code": "305R00000X", + "display": "Preferred Provider Organization" + }, + { + "code": "305S00000X", + "display": "Point of Service" + }, + { + "code": "310400000X", + "display": "Assisted Living Facility" + }, + { + "code": "310500000X", + "display": "Intermediate Care Facility, Mental Illness" + }, + { + "code": "311500000X", + "display": "Alzheimer Center (Dementia Center)" + }, + { + "code": "311Z00000X", + "display": "Custodial Care Facility" + }, + { + "code": "313M00000X", + "display": "Nursing Facility/Intermediate Care Facility" + }, + { + "code": "314000000X", + "display": "Skilled Nursing Facility" + }, + { + "code": "315D00000X", + "display": "Hospice, Inpatient" + }, + { + "code": "315P00000X", + "display": "Intermediate Care Facility, Mentally Retarded" + }, + { + "code": "317400000X", + "display": "Christian Science Facility" + }, + { + "code": "320600000X", + "display": "Residential Treatment Facility, Mental Retardation and/or Developmental Disabilities" + }, + { + "code": "320700000X", + "display": "Residential Treatment Facility, Physical Disabilities" + }, + { + "code": "320800000X", + "display": "Community Based Residential Treatment Facility, Mental Illness" + }, + { + "code": "320900000X", + "display": "Community Based Residential Treatment Facility, Mental Retardation and/or Developmental Disabilities" + }, + { + "code": "322D00000X", + "display": "Residential Treatment Facility, Emotionally Disturbed Children" + }, + { + "code": "323P00000X", + "display": "Psychiatric Residential Treatment Facility" + }, + { + "code": "324500000X", + "display": "Substance Abuse Rehabilitation Facility" + }, + { + "code": "331L00000X", + "display": "Blood Bank" + }, + { + "code": "332000000X", + "display": "Military/U.S. Coast Guard Pharmacy" + }, + { + "code": "332100000X", + "display": "Department of Veterans Affairs (VA) Pharmacy" + }, + { + "code": "332800000X", + "display": "Indian Health Service/Tribal/Urban Indian Health (I/T/U) Pharmacy" + }, + { + "code": "332900000X", + "display": "Non-Pharmacy Dispensing Site" + }, + { + "code": "332B00000X", + "display": "Durable Medical Equipment & Medical Supplies" + }, + { + "code": "332G00000X", + "display": "Eye Bank" + }, + { + "code": "332H00000X", + "display": "Eyewear Supplier" + }, + { + "code": "332S00000X", + "display": "Hearing Aid Equipment" + }, + { + "code": "332U00000X", + "display": "Home Delivered Meals" + }, + { + "code": "333300000X", + "display": "Emergency Response System Companies" + }, + { + "code": "333600000X", + "display": "Pharmacy" + }, + { + "code": "335E00000X", + "display": "Prosthetic/Orthotic Supplier" + }, + { + "code": "335G00000X", + "display": "Medical Foods Supplier" + }, + { + "code": "335U00000X", + "display": "Organ Procurement Organization" + }, + { + "code": "335V00000X", + "display": "Portable X-ray and/or Other Portable Diagnostic Imaging Supplier" + }, + { + "code": "341600000X", + "display": "Ambulance" + }, + { + "code": "341800000X", + "display": "Military/U.S. Coast Guard Transport" + }, + { + "code": "343800000X", + "display": "Secured Medical Transport (VAN)" + }, + { + "code": "343900000X", + "display": "Non-emergency Medical Transport (VAN)" + }, + { + "code": "344600000X", + "display": "Taxi" + }, + { + "code": "344800000X", + "display": "Air Carrier" + }, + { + "code": "347B00000X", + "display": "Bus" + }, + { + "code": "347C00000X", + "display": "Private Vehicle" + }, + { + "code": "347D00000X", + "display": "Train" + }, + { + "code": "347E00000X", + "display": "Transportation Broker" + }, + { + "code": "363A00000X", + "display": "Physician Assistant" + }, + { + "code": "363L00000X", + "display": "Nurse Practitioner" + }, + { + "code": "364S00000X", + "display": "Clinical Nurse Specialist" + }, + { + "code": "367500000X", + "display": "Nurse Anesthetist, Certified Registered" + }, + { + "code": "367A00000X", + "display": "Advanced Practice Midwife" + }, + { + "code": "367H00000X", + "display": "Anesthesiologist Assistant" + }, + { + "code": "372500000X", + "display": "Chore Provider" + }, + { + "code": "372600000X", + "display": "Adult Companion" + }, + { + "code": "373H00000X", + "display": "Day Training/Habilitation Specialist" + }, + { + "code": "374700000X", + "display": "Technician" + }, + { + "code": "374J00000X", + "display": "Doula" + }, + { + "code": "374K00000X", + "display": "Religious Nonmedical Practitioner" + }, + { + "code": "374T00000X", + "display": "Religious Nonmedical Nursing Personnel" + }, + { + "code": "374U00000X", + "display": "Home Health Aide" + }, + { + "code": "376G00000X", + "display": "Nursing Home Administrator" + }, + { + "code": "376J00000X", + "display": "Homemaker" + }, + { + "code": "376K00000X", + "display": "Nurse's Aide" + }, + { + "code": "385H00000X", + "display": "Respite Care" + }, + { + "code": "390200000X", + "display": "Student in an Organized Health Care Education/Training Program" + }, + { + "code": "405300000X", + "display": "Prevention Professional" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-provider-specialty.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-provider-specialty.json new file mode 100644 index 000000000..c66dc58fa --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-provider-specialty.json @@ -0,0 +1,45 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-provider-specialty", + "text": { + "status": "generated", + "div": "

US Core Provider Speciality (NUCC)

Provider speciality roles codes which are composed of the NUCC Health Care Provider Taxonomy Code Set for providers

\n

Copyright Statement: This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained.

This value set includes codes from the following code systems:

  • Include all codes defined in http://nucc.org/provider-taxonomy
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-specialty", + "version": "3.1.0", + "name": "USCoreProviderSpecialityNucc", + "title": "US Core Provider Speciality (NUCC)", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "Provider speciality roles codes which are composed of the NUCC Health Care Provider Taxonomy Code Set for providers", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained.", + "compose": { + "include": [ + { + "system": "http://nucc.org/provider-taxonomy" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-smoking-status-observation-codes.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-smoking-status-observation-codes.json new file mode 100644 index 000000000..18a5dd208 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-smoking-status-observation-codes.json @@ -0,0 +1,50 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-smoking-status-observation-codes", + "text": { + "status": "generated", + "div": "

US Core Smoking Status Observation Codes

The US Core Smoking Status Observation Codes Value Set is a 'starter set' of concepts to capture smoking status.

\n

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-smoking-status-observation-codes", + "version": "3.1.0", + "name": "USCoreSmokingStatusObservationCodes", + "title": "US Core Smoking Status Observation Codes", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "The US Core Smoking Status Observation Codes Value Set is a 'starter set' of concepts to capture smoking status.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "http://loinc.org", + "concept": [ + { + "code": "72166-2", + "display": "Tobacco smoking status NHIS" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-usps-state.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-usps-state.json new file mode 100644 index 000000000..8d304c3c6 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-usps-state.json @@ -0,0 +1,293 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-usps-state", + "text": { + "status": "generated", + "div": "

USPS Two Letter Alphabetic Codes

This value set defines two letter USPS alphabetic codes.

\n

Copyright Statement: On July 1, 1963, the Post Office Department implemented the five-digit ZIP Code, which was placed after the state name in the last line of an address. To provide room for the ZIP Code, the Department issued two-letter abbreviations for all states and territories. Publication 59, Abbreviations for Use with ZIP Code, issued by the Department in October 1963. Currently there is no copyright restriction on this value set.

This value set includes codes from the following code systems:

  • Include these codes as defined in https://www.usps.com/
    CodeDisplay
    AKAlaska
    ALAlabama
    ARArkansas
    ASAmerican Samoa
    AZArizona
    CACalifornia
    COColorado
    CTConnecticut
    DCDistrict of Columbia
    DEDelaware
    FLFlorida
    FMFederated States of Micronesia
    GAGeorgia
    GUGuam
    HIHawaii
    IAIowa
    IDIdaho
    ILIllinois
    INIndiana
    KSKansas
    KYKentucky
    LALouisiana
    MAMassachusetts
    MDMaryland
    MEMaine
    MHMarshall Islands
    MIMichigan
    MNMinnesota
    MOMissouri
    MPNorthern Mariana Islands
    MSMississippi
    MTMontana
    NCNorth Carolina
    NDNorth Dakota
    NENebraska
    NHNew Hampshire
    NJNew Jersey
    NMNew Mexico
    NVNevada
    NYNew York
    OHOhio
    OKOklahoma
    OROregon
    PAPennsylvania
    PRPuerto Rico
    PWPalau
    RIRhode Island
    SCSouth Carolina
    SDSouth Dakota
    TNTennessee
    TXTexas
    UMU.S. Minor Outlying Islands
    UTUtah
    VAVirginia
    VIVirgin Islands of the U.S.
    VTVermont
    WAWashington
    WIWisconsin
    WVWest Virginia
    WYWyoming
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.4.642.3.40" + } + ], + "version": "3.1.0", + "name": "UspsTwoLetterAlphabeticCodes", + "title": "USPS Two Letter Alphabetic Codes", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This value set defines two letter USPS alphabetic codes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "On July 1, 1963, the Post Office Department implemented the five-digit ZIP Code, which was placed after the state name in the last line of an address. To provide room for the ZIP Code, the Department issued two-letter abbreviations for all states and territories. Publication 59, Abbreviations for Use with ZIP Code, issued by the Department in October 1963. Currently there is no copyright restriction on this value set.", + "compose": { + "include": [ + { + "system": "https://www.usps.com/", + "concept": [ + { + "code": "AK", + "display": "Alaska" + }, + { + "code": "AL", + "display": "Alabama" + }, + { + "code": "AR", + "display": "Arkansas" + }, + { + "code": "AS", + "display": "American Samoa" + }, + { + "code": "AZ", + "display": "Arizona" + }, + { + "code": "CA", + "display": "California" + }, + { + "code": "CO", + "display": "Colorado" + }, + { + "code": "CT", + "display": "Connecticut" + }, + { + "code": "DC", + "display": "District of Columbia" + }, + { + "code": "DE", + "display": "Delaware" + }, + { + "code": "FL", + "display": "Florida" + }, + { + "code": "FM", + "display": "Federated States of Micronesia" + }, + { + "code": "GA", + "display": "Georgia" + }, + { + "code": "GU", + "display": "Guam" + }, + { + "code": "HI", + "display": "Hawaii" + }, + { + "code": "IA", + "display": "Iowa" + }, + { + "code": "ID", + "display": "Idaho" + }, + { + "code": "IL", + "display": "Illinois" + }, + { + "code": "IN", + "display": "Indiana" + }, + { + "code": "KS", + "display": "Kansas" + }, + { + "code": "KY", + "display": "Kentucky" + }, + { + "code": "LA", + "display": "Louisiana" + }, + { + "code": "MA", + "display": "Massachusetts" + }, + { + "code": "MD", + "display": "Maryland" + }, + { + "code": "ME", + "display": "Maine" + }, + { + "code": "MH", + "display": "Marshall Islands" + }, + { + "code": "MI", + "display": "Michigan" + }, + { + "code": "MN", + "display": "Minnesota" + }, + { + "code": "MO", + "display": "Missouri" + }, + { + "code": "MP", + "display": "Northern Mariana Islands" + }, + { + "code": "MS", + "display": "Mississippi" + }, + { + "code": "MT", + "display": "Montana" + }, + { + "code": "NC", + "display": "North Carolina" + }, + { + "code": "ND", + "display": "North Dakota" + }, + { + "code": "NE", + "display": "Nebraska" + }, + { + "code": "NH", + "display": "New Hampshire" + }, + { + "code": "NJ", + "display": "New Jersey" + }, + { + "code": "NM", + "display": "New Mexico" + }, + { + "code": "NV", + "display": "Nevada" + }, + { + "code": "NY", + "display": "New York" + }, + { + "code": "OH", + "display": "Ohio" + }, + { + "code": "OK", + "display": "Oklahoma" + }, + { + "code": "OR", + "display": "Oregon" + }, + { + "code": "PA", + "display": "Pennsylvania" + }, + { + "code": "PR", + "display": "Puerto Rico" + }, + { + "code": "PW", + "display": "Palau" + }, + { + "code": "RI", + "display": "Rhode Island" + }, + { + "code": "SC", + "display": "South Carolina" + }, + { + "code": "SD", + "display": "South Dakota" + }, + { + "code": "TN", + "display": "Tennessee" + }, + { + "code": "TX", + "display": "Texas" + }, + { + "code": "UM", + "display": "U.S. Minor Outlying Islands" + }, + { + "code": "UT", + "display": "Utah" + }, + { + "code": "VA", + "display": "Virginia" + }, + { + "code": "VI", + "display": "Virgin Islands of the U.S." + }, + { + "code": "VT", + "display": "Vermont" + }, + { + "code": "WA", + "display": "Washington" + }, + { + "code": "WI", + "display": "Wisconsin" + }, + { + "code": "WV", + "display": "West Virginia" + }, + { + "code": "WY", + "display": "Wyoming" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-vaccines-cvx.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-vaccines-cvx.json new file mode 100644 index 000000000..9ecb7bc48 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/ValueSet-us-core-vaccines-cvx.json @@ -0,0 +1,744 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-vaccines-cvx", + "text": { + "status": "generated", + "div": "

US Core Vaccine Administered Value Set (CVX)

This identifies the vaccine substance administered - CVX codes. Inclusion Criteria: Any CVX code with CVX 'status' (VSAC Property) = Active,Inactive, Non-US except those noted in exclusions. Exclusion Criteria: CVX codes that have a CVX 'status' of either Pending or Never Active AND CVX codes with CVX 'Nonvaccine' property = True. Available at http://www2a.cdc.gov/vaccines/iis/iisstandards/vaccines.asp?rpt=cvx

\n

This value set includes codes from the following code systems:

  • Include these codes as defined in http://hl7.org/fhir/sid/cvx
    CodeDisplay
    01diphtheria, tetanus toxoids and pertussis vaccine
    02trivalent poliovirus vaccine, live, oral
    03measles, mumps and rubella virus vaccine
    04measles and rubella virus vaccine
    05measles virus vaccine
    06rubella virus vaccine
    07mumps virus vaccine
    08hepatitis B vaccine, pediatric or pediatric/adolescent dosage
    09tetanus and diphtheria toxoids, adsorbed, preservative free, for adult use (2 Lf of tetanus toxoid and 2 Lf of diphtheria toxoid)
    10poliovirus vaccine, inactivated
    100pneumococcal conjugate vaccine, 7 valent
    101typhoid Vi capsular polysaccharide vaccine
    102DTP- Haemophilus influenzae type b conjugate and hepatitis b vaccine
    103meningococcal C conjugate vaccine
    104hepatitis A and hepatitis B vaccine
    105vaccinia (smallpox) vaccine, diluted
    106diphtheria, tetanus toxoids and acellular pertussis vaccine, 5 pertussis antigens
    107diphtheria, tetanus toxoids and acellular pertussis vaccine, unspecified formulation
    108meningococcal ACWY vaccine, unspecified formulation
    109pneumococcal vaccine, unspecified formulation
    11pertussis vaccine
    110DTaP-hepatitis B and poliovirus vaccine
    111influenza virus vaccine, live, attenuated, for intranasal use
    112tetanus toxoid, unspecified formulation
    113tetanus and diphtheria toxoids, adsorbed, preservative free, for adult use (5 Lf of tetanus toxoid and 2 Lf of diphtheria toxoid)
    114meningococcal polysaccharide (groups A, C, Y and W-135) diphtheria toxoid conjugate vaccine (MCV4P)
    115tetanus toxoid, reduced diphtheria toxoid, and acellular pertussis vaccine, adsorbed
    116rotavirus, live, pentavalent vaccine
    117varicella zoster immune globulin (Investigational New Drug)
    118human papilloma virus vaccine, bivalent
    119rotavirus, live, monovalent vaccine
    12diphtheria antitoxin
    120diphtheria, tetanus toxoids and acellular pertussis vaccine, Haemophilus influenzae type b conjugate, and poliovirus vaccine, inactivated (DTaP-Hib-IPV)
    121zoster vaccine, live
    122rotavirus vaccine, unspecified formulation
    123influenza virus vaccine, H5N1, A/Vietnam/1203/2004 (national stockpile)
    125Novel Influenza-H1N1-09, live virus for nasal administration
    126Novel influenza-H1N1-09, preservative-free, injectable
    127Novel influenza-H1N1-09, injectable
    128Novel influenza-H1N1-09, all formulations
    129Japanese Encephalitis vaccine, unspecified formulation
    13tetanus immune globulin
    130Diphtheria, tetanus toxoids and acellular pertussis vaccine, and poliovirus vaccine, inactivated
    131Historical record of a typhus vaccination
    132Historical diphtheria and tetanus toxoids and acellular pertussis, poliovirus, Haemophilus b conjugate and hepatitis B (recombinant) vaccine.
    133pneumococcal conjugate vaccine, 13 valent
    134Japanese Encephalitis vaccine for intramuscular administration
    135influenza, high dose seasonal, preservative-free
    136meningococcal oligosaccharide (groups A, C, Y and W-135) diphtheria toxoid conjugate vaccine (MCV4O)
    137HPV, unspecified formulation
    138tetanus and diphtheria toxoids, not adsorbed, for adult use
    139Td(adult) unspecified formulation
    14immune globulin, unspecified formulation
    140Influenza, seasonal, injectable, preservative free
    141Influenza, seasonal, injectable
    142tetanus toxoid, not adsorbed
    143Adenovirus, type 4 and type 7, live, oral
    144seasonal influenza, intradermal, preservative free
    147Meningococcal, MCV4, unspecified conjugate formulation(groups A, C, Y and W-135)
    148Meningococcal Groups C and Y and Haemophilus b Tetanus Toxoid Conjugate Vaccine
    149influenza, live, intranasal, quadrivalent
    15influenza virus vaccine, split virus (incl. purified surface antigen)-retired CODE
    150Influenza, injectable, quadrivalent, preservative free
    151influenza nasal, unspecified formulation
    152Pneumococcal Conjugate, unspecified formulation
    153Influenza, injectable, Madin Darby Canine Kidney, preservative free
    155Seasonal, trivalent, recombinant, injectable influenza vaccine, preservative free
    156Rho(D) Immune globulin- IV or IM
    157Rho(D) Immune globulin - IM
    158influenza, injectable, quadrivalent, contains preservative
    159Rho(D) Unspecified formulation
    16influenza virus vaccine, whole virus
    160Influenza A monovalent (H5N1), adjuvanted, National stockpile 2013
    161Influenza, injectable,quadrivalent, preservative free, pediatric
    162meningococcal B vaccine, fully recombinant
    163meningococcal B vaccine, recombinant, OMV, adjuvanted
    164meningococcal B, unspecified formulation
    165Human Papillomavirus 9-valent vaccine
    166influenza, intradermal, quadrivalent, preservative free, injectable
    167meningococcal vaccine of unknown formulation and unknown serogroups
    168Seasonal trivalent influenza vaccine, adjuvanted, preservative free
    169Hep A, live attenuated-IM
    17Haemophilus influenzae type b vaccine, conjugate unspecified formulation
    170non-US diphtheria, tetanus toxoids and acellular pertussis vaccine, Haemophilus influenzae type b conjugate, and poliovirus vaccine, inactivated (DTaP-Hib-IPV)
    171Influenza, injectable, Madin Darby Canine Kidney, preservative free, quadrivalent
    172cholera, WC-rBS
    173cholera, BivWC
    174cholera, live attenuated
    175Human Rabies vaccine from human diploid cell culture
    176Human rabies vaccine from Chicken fibroblast culture
    177pneumococcal conjugate vaccine, 10 valent
    178Non-US bivalent oral polio vaccine (types 1 and 3)
    179Non-US monovalent oral polio vaccine, unspecified formulation
    18rabies vaccine, for intramuscular injection RETIRED CODE
    180tetanus immune globulin
    181anthrax immune globulin
    182Oral Polio Vaccine, Unspecified formulation
    183Yellow fever vaccine alternative formulation
    184Yellow fever vaccine, unspecified formulation
    185Seasonal, quadrivalent, recombinant, injectable influenza vaccine, preservative free
    186Influenza, injectable, Madin Darby Canine Kidney, quadrivalent with preservative
    187zoster vaccine recombinant
    188zoster vaccine, unspecified formulation
    189Hepatitis B vaccine (recombinant), CpG adjuvanted
    19Bacillus Calmette-Guerin vaccine
    20diphtheria, tetanus toxoids and acellular pertussis vaccine
    21varicella virus vaccine
    22DTP-Haemophilus influenzae type b conjugate vaccine
    23plague vaccine
    24anthrax vaccine
    25typhoid vaccine, live, oral
    26cholera vaccine, unspecified formulation
    27botulinum antitoxin
    28diphtheria and tetanus toxoids, adsorbed for pediatric use
    29cytomegalovirus immune globulin, intravenous
    30hepatitis B immune globulin
    31hepatitis A vaccine, pediatric dosage, unspecified formulation
    32meningococcal polysaccharide vaccine (MPSV4)
    33pneumococcal polysaccharide vaccine, 23 valent
    34rabies immune globulin
    35tetanus toxoid, adsorbed
    36varicella zoster immune globulin
    37yellow fever vaccine
    38rubella and mumps virus vaccine
    39Japanese Encephalitis Vaccine SC
    40rabies vaccine, for intradermal injection
    41typhoid vaccine, parenteral, other than acetone-killed, dried
    42hepatitis B vaccine, adolescent/high risk infant dosage
    43hepatitis B vaccine, adult dosage
    44hepatitis B vaccine, dialysis patient dosage
    45hepatitis B vaccine, unspecified formulation
    46Haemophilus influenzae type b vaccine, PRP-D conjugate
    47Haemophilus influenzae type b vaccine, HbOC conjugate
    48Haemophilus influenzae type b vaccine, PRP-T conjugate
    49Haemophilus influenzae type b vaccine, PRP-OMP conjugate
    50DTaP-Haemophilus influenzae type b conjugate vaccine
    51Haemophilus influenzae type b conjugate and Hepatitis B vaccine
    52hepatitis A vaccine, adult dosage
    53typhoid vaccine, parenteral, acetone-killed, dried (U.S. military)
    54adenovirus vaccine, type 4, live, oral
    55adenovirus vaccine, type 7, live, oral
    62human papilloma virus vaccine, quadrivalent
    66Lyme disease vaccine
    69parainfluenza-3 virus vaccine
    71respiratory syncytial virus immune globulin, intravenous
    74rotavirus, live, tetravalent vaccine
    75vaccinia (smallpox) vaccine
    76Staphylococcus bacteriophage lysate
    77tick-borne encephalitis vaccine
    78tularemia vaccine
    79vaccinia immune globulin
    80Venezuelan equine encephalitis, live, attenuated
    801AS03 Adjuvant
    81Venezuelan equine encephalitis, inactivated
    82adenovirus vaccine, unspecified formulation
    83hepatitis A vaccine, pediatric/adolescent dosage, 2 dose schedule
    84hepatitis A vaccine, pediatric/adolescent dosage, 3 dose schedule
    85hepatitis A vaccine, unspecified formulation
    86immune globulin, intramuscular
    87immune globulin, intravenous
    88influenza virus vaccine, unspecified formulation
    89poliovirus vaccine, unspecified formulation
    90rabies vaccine, unspecified formulation
    91typhoid vaccine, unspecified formulation
    92Venezuelan equine encephalitis vaccine, unspecified formulation
    93respiratory syncytial virus monoclonal antibody (palivizumab), intramuscular
    94measles, mumps, rubella, and varicella virus vaccine
    95tuberculin skin test; old tuberculin, multipuncture device
    96tuberculin skin test; purified protein derivative solution, intradermal
    97tuberculin skin test; purified protein derivative, multipuncture device
    98tuberculin skin test; unspecified formulation
    998no vaccine administered
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-vaccines-cvx", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113762.1.4.1010.6" + }, + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.3.88.12.80.22" + } + ], + "version": "3.1.0", + "name": "USCoreVaccineAdministeredValueSetCvx", + "title": "US Core Vaccine Administered Value Set (CVX)", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This identifies the vaccine substance administered - CVX codes. **Inclusion Criteria:** Any CVX code with CVX 'status' (VSAC Property) = `Active`,` Inactive`, `Non-US` except those noted in exclusions. **Exclusion Criteria:** CVX codes that have a CVX 'status' of either `Pending` or `Never Active` AND CVX codes with CVX 'Nonvaccine' property = True. Available at http://www2a.cdc.gov/vaccines/iis/iisstandards/vaccines.asp?rpt=cvx", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "concept": [ + { + "code": "01", + "display": "diphtheria, tetanus toxoids and pertussis vaccine" + }, + { + "code": "02", + "display": "trivalent poliovirus vaccine, live, oral" + }, + { + "code": "03", + "display": "measles, mumps and rubella virus vaccine" + }, + { + "code": "04", + "display": "measles and rubella virus vaccine" + }, + { + "code": "05", + "display": "measles virus vaccine" + }, + { + "code": "06", + "display": "rubella virus vaccine" + }, + { + "code": "07", + "display": "mumps virus vaccine" + }, + { + "code": "08", + "display": "hepatitis B vaccine, pediatric or pediatric/adolescent dosage" + }, + { + "code": "09", + "display": "tetanus and diphtheria toxoids, adsorbed, preservative free, for adult use (2 Lf of tetanus toxoid and 2 Lf of diphtheria toxoid)" + }, + { + "code": "10", + "display": "poliovirus vaccine, inactivated" + }, + { + "code": "100", + "display": "pneumococcal conjugate vaccine, 7 valent" + }, + { + "code": "101", + "display": "typhoid Vi capsular polysaccharide vaccine" + }, + { + "code": "102", + "display": "DTP- Haemophilus influenzae type b conjugate and hepatitis b vaccine" + }, + { + "code": "103", + "display": "meningococcal C conjugate vaccine" + }, + { + "code": "104", + "display": "hepatitis A and hepatitis B vaccine" + }, + { + "code": "105", + "display": "vaccinia (smallpox) vaccine, diluted" + }, + { + "code": "106", + "display": "diphtheria, tetanus toxoids and acellular pertussis vaccine, 5 pertussis antigens" + }, + { + "code": "107", + "display": "diphtheria, tetanus toxoids and acellular pertussis vaccine, unspecified formulation" + }, + { + "code": "108", + "display": "meningococcal ACWY vaccine, unspecified formulation" + }, + { + "code": "109", + "display": "pneumococcal vaccine, unspecified formulation" + }, + { + "code": "11", + "display": "pertussis vaccine" + }, + { + "code": "110", + "display": "DTaP-hepatitis B and poliovirus vaccine" + }, + { + "code": "111", + "display": "influenza virus vaccine, live, attenuated, for intranasal use" + }, + { + "code": "112", + "display": "tetanus toxoid, unspecified formulation" + }, + { + "code": "113", + "display": "tetanus and diphtheria toxoids, adsorbed, preservative free, for adult use (5 Lf of tetanus toxoid and 2 Lf of diphtheria toxoid)" + }, + { + "code": "114", + "display": "meningococcal polysaccharide (groups A, C, Y and W-135) diphtheria toxoid conjugate vaccine (MCV4P)" + }, + { + "code": "115", + "display": "tetanus toxoid, reduced diphtheria toxoid, and acellular pertussis vaccine, adsorbed" + }, + { + "code": "116", + "display": "rotavirus, live, pentavalent vaccine" + }, + { + "code": "117", + "display": "varicella zoster immune globulin (Investigational New Drug)" + }, + { + "code": "118", + "display": "human papilloma virus vaccine, bivalent" + }, + { + "code": "119", + "display": "rotavirus, live, monovalent vaccine" + }, + { + "code": "12", + "display": "diphtheria antitoxin" + }, + { + "code": "120", + "display": "diphtheria, tetanus toxoids and acellular pertussis vaccine, Haemophilus influenzae type b conjugate, and poliovirus vaccine, inactivated (DTaP-Hib-IPV)" + }, + { + "code": "121", + "display": "zoster vaccine, live" + }, + { + "code": "122", + "display": "rotavirus vaccine, unspecified formulation" + }, + { + "code": "123", + "display": "influenza virus vaccine, H5N1, A/Vietnam/1203/2004 (national stockpile)" + }, + { + "code": "125", + "display": "Novel Influenza-H1N1-09, live virus for nasal administration" + }, + { + "code": "126", + "display": "Novel influenza-H1N1-09, preservative-free, injectable" + }, + { + "code": "127", + "display": "Novel influenza-H1N1-09, injectable" + }, + { + "code": "128", + "display": "Novel influenza-H1N1-09, all formulations" + }, + { + "code": "129", + "display": "Japanese Encephalitis vaccine, unspecified formulation" + }, + { + "code": "13", + "display": "tetanus immune globulin" + }, + { + "code": "130", + "display": "Diphtheria, tetanus toxoids and acellular pertussis vaccine, and poliovirus vaccine, inactivated" + }, + { + "code": "131", + "display": "Historical record of a typhus vaccination" + }, + { + "code": "132", + "display": "Historical diphtheria and tetanus toxoids and acellular pertussis, poliovirus, Haemophilus b conjugate and hepatitis B (recombinant) vaccine." + }, + { + "code": "133", + "display": "pneumococcal conjugate vaccine, 13 valent" + }, + { + "code": "134", + "display": "Japanese Encephalitis vaccine for intramuscular administration" + }, + { + "code": "135", + "display": "influenza, high dose seasonal, preservative-free" + }, + { + "code": "136", + "display": "meningococcal oligosaccharide (groups A, C, Y and W-135) diphtheria toxoid conjugate vaccine (MCV4O)" + }, + { + "code": "137", + "display": "HPV, unspecified formulation" + }, + { + "code": "138", + "display": "tetanus and diphtheria toxoids, not adsorbed, for adult use" + }, + { + "code": "139", + "display": "Td(adult) unspecified formulation" + }, + { + "code": "14", + "display": "immune globulin, unspecified formulation" + }, + { + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + }, + { + "code": "141", + "display": "Influenza, seasonal, injectable" + }, + { + "code": "142", + "display": "tetanus toxoid, not adsorbed" + }, + { + "code": "143", + "display": "Adenovirus, type 4 and type 7, live, oral" + }, + { + "code": "144", + "display": "seasonal influenza, intradermal, preservative free" + }, + { + "code": "147", + "display": "Meningococcal, MCV4, unspecified conjugate formulation(groups A, C, Y and W-135)" + }, + { + "code": "148", + "display": "Meningococcal Groups C and Y and Haemophilus b Tetanus Toxoid Conjugate Vaccine" + }, + { + "code": "149", + "display": "influenza, live, intranasal, quadrivalent" + }, + { + "code": "15", + "display": "influenza virus vaccine, split virus (incl. purified surface antigen)-retired CODE" + }, + { + "code": "150", + "display": "Influenza, injectable, quadrivalent, preservative free" + }, + { + "code": "151", + "display": "influenza nasal, unspecified formulation" + }, + { + "code": "152", + "display": "Pneumococcal Conjugate, unspecified formulation" + }, + { + "code": "153", + "display": "Influenza, injectable, Madin Darby Canine Kidney, preservative free" + }, + { + "code": "155", + "display": "Seasonal, trivalent, recombinant, injectable influenza vaccine, preservative free" + }, + { + "code": "156", + "display": "Rho(D) Immune globulin- IV or IM" + }, + { + "code": "157", + "display": "Rho(D) Immune globulin - IM" + }, + { + "code": "158", + "display": "influenza, injectable, quadrivalent, contains preservative" + }, + { + "code": "159", + "display": "Rho(D) Unspecified formulation" + }, + { + "code": "16", + "display": "influenza virus vaccine, whole virus" + }, + { + "code": "160", + "display": "Influenza A monovalent (H5N1), adjuvanted, National stockpile 2013" + }, + { + "code": "161", + "display": "Influenza, injectable,quadrivalent, preservative free, pediatric" + }, + { + "code": "162", + "display": "meningococcal B vaccine, fully recombinant" + }, + { + "code": "163", + "display": "meningococcal B vaccine, recombinant, OMV, adjuvanted" + }, + { + "code": "164", + "display": "meningococcal B, unspecified formulation" + }, + { + "code": "165", + "display": "Human Papillomavirus 9-valent vaccine" + }, + { + "code": "166", + "display": "influenza, intradermal, quadrivalent, preservative free, injectable" + }, + { + "code": "167", + "display": "meningococcal vaccine of unknown formulation and unknown serogroups" + }, + { + "code": "168", + "display": "Seasonal trivalent influenza vaccine, adjuvanted, preservative free" + }, + { + "code": "169", + "display": "Hep A, live attenuated-IM" + }, + { + "code": "17", + "display": "Haemophilus influenzae type b vaccine, conjugate unspecified formulation" + }, + { + "code": "170", + "display": "non-US diphtheria, tetanus toxoids and acellular pertussis vaccine, Haemophilus influenzae type b conjugate, and poliovirus vaccine, inactivated (DTaP-Hib-IPV)" + }, + { + "code": "171", + "display": "Influenza, injectable, Madin Darby Canine Kidney, preservative free, quadrivalent" + }, + { + "code": "172", + "display": "cholera, WC-rBS" + }, + { + "code": "173", + "display": "cholera, BivWC" + }, + { + "code": "174", + "display": "cholera, live attenuated" + }, + { + "code": "175", + "display": "Human Rabies vaccine from human diploid cell culture" + }, + { + "code": "176", + "display": "Human rabies vaccine from Chicken fibroblast culture" + }, + { + "code": "177", + "display": "pneumococcal conjugate vaccine, 10 valent" + }, + { + "code": "178", + "display": "Non-US bivalent oral polio vaccine (types 1 and 3)" + }, + { + "code": "179", + "display": "Non-US monovalent oral polio vaccine, unspecified formulation" + }, + { + "code": "18", + "display": "rabies vaccine, for intramuscular injection RETIRED CODE" + }, + { + "code": "180", + "display": "tetanus immune globulin" + }, + { + "code": "181", + "display": "anthrax immune globulin" + }, + { + "code": "182", + "display": "Oral Polio Vaccine, Unspecified formulation" + }, + { + "code": "183", + "display": "Yellow fever vaccine alternative formulation" + }, + { + "code": "184", + "display": "Yellow fever vaccine, unspecified formulation" + }, + { + "code": "185", + "display": "Seasonal, quadrivalent, recombinant, injectable influenza vaccine, preservative free" + }, + { + "code": "186", + "display": "Influenza, injectable, Madin Darby Canine Kidney, quadrivalent with preservative" + }, + { + "code": "187", + "display": "zoster vaccine recombinant" + }, + { + "code": "188", + "display": "zoster vaccine, unspecified formulation" + }, + { + "code": "189", + "display": "Hepatitis B vaccine (recombinant), CpG adjuvanted" + }, + { + "code": "19", + "display": "Bacillus Calmette-Guerin vaccine" + }, + { + "code": "20", + "display": "diphtheria, tetanus toxoids and acellular pertussis vaccine" + }, + { + "code": "21", + "display": "varicella virus vaccine" + }, + { + "code": "22", + "display": "DTP-Haemophilus influenzae type b conjugate vaccine" + }, + { + "code": "23", + "display": "plague vaccine" + }, + { + "code": "24", + "display": "anthrax vaccine" + }, + { + "code": "25", + "display": "typhoid vaccine, live, oral" + }, + { + "code": "26", + "display": "cholera vaccine, unspecified formulation" + }, + { + "code": "27", + "display": "botulinum antitoxin" + }, + { + "code": "28", + "display": "diphtheria and tetanus toxoids, adsorbed for pediatric use" + }, + { + "code": "29", + "display": "cytomegalovirus immune globulin, intravenous" + }, + { + "code": "30", + "display": "hepatitis B immune globulin" + }, + { + "code": "31", + "display": "hepatitis A vaccine, pediatric dosage, unspecified formulation" + }, + { + "code": "32", + "display": "meningococcal polysaccharide vaccine (MPSV4)" + }, + { + "code": "33", + "display": "pneumococcal polysaccharide vaccine, 23 valent" + }, + { + "code": "34", + "display": "rabies immune globulin" + }, + { + "code": "35", + "display": "tetanus toxoid, adsorbed" + }, + { + "code": "36", + "display": "varicella zoster immune globulin" + }, + { + "code": "37", + "display": "yellow fever vaccine" + }, + { + "code": "38", + "display": "rubella and mumps virus vaccine" + }, + { + "code": "39", + "display": "Japanese Encephalitis Vaccine SC" + }, + { + "code": "40", + "display": "rabies vaccine, for intradermal injection" + }, + { + "code": "41", + "display": "typhoid vaccine, parenteral, other than acetone-killed, dried" + }, + { + "code": "42", + "display": "hepatitis B vaccine, adolescent/high risk infant dosage" + }, + { + "code": "43", + "display": "hepatitis B vaccine, adult dosage" + }, + { + "code": "44", + "display": "hepatitis B vaccine, dialysis patient dosage" + }, + { + "code": "45", + "display": "hepatitis B vaccine, unspecified formulation" + }, + { + "code": "46", + "display": "Haemophilus influenzae type b vaccine, PRP-D conjugate" + }, + { + "code": "47", + "display": "Haemophilus influenzae type b vaccine, HbOC conjugate" + }, + { + "code": "48", + "display": "Haemophilus influenzae type b vaccine, PRP-T conjugate" + }, + { + "code": "49", + "display": "Haemophilus influenzae type b vaccine, PRP-OMP conjugate" + }, + { + "code": "50", + "display": "DTaP-Haemophilus influenzae type b conjugate vaccine" + }, + { + "code": "51", + "display": "Haemophilus influenzae type b conjugate and Hepatitis B vaccine" + }, + { + "code": "52", + "display": "hepatitis A vaccine, adult dosage" + }, + { + "code": "53", + "display": "typhoid vaccine, parenteral, acetone-killed, dried (U.S. military)" + }, + { + "code": "54", + "display": "adenovirus vaccine, type 4, live, oral" + }, + { + "code": "55", + "display": "adenovirus vaccine, type 7, live, oral" + }, + { + "code": "62", + "display": "human papilloma virus vaccine, quadrivalent" + }, + { + "code": "66", + "display": "Lyme disease vaccine" + }, + { + "code": "69", + "display": "parainfluenza-3 virus vaccine" + }, + { + "code": "71", + "display": "respiratory syncytial virus immune globulin, intravenous" + }, + { + "code": "74", + "display": "rotavirus, live, tetravalent vaccine" + }, + { + "code": "75", + "display": "vaccinia (smallpox) vaccine" + }, + { + "code": "76", + "display": "Staphylococcus bacteriophage lysate" + }, + { + "code": "77", + "display": "tick-borne encephalitis vaccine" + }, + { + "code": "78", + "display": "tularemia vaccine" + }, + { + "code": "79", + "display": "vaccinia immune globulin" + }, + { + "code": "80", + "display": "Venezuelan equine encephalitis, live, attenuated" + }, + { + "code": "801", + "display": "AS03 Adjuvant" + }, + { + "code": "81", + "display": "Venezuelan equine encephalitis, inactivated" + }, + { + "code": "82", + "display": "adenovirus vaccine, unspecified formulation" + }, + { + "code": "83", + "display": "hepatitis A vaccine, pediatric/adolescent dosage, 2 dose schedule" + }, + { + "code": "84", + "display": "hepatitis A vaccine, pediatric/adolescent dosage, 3 dose schedule" + }, + { + "code": "85", + "display": "hepatitis A vaccine, unspecified formulation" + }, + { + "code": "86", + "display": "immune globulin, intramuscular" + }, + { + "code": "87", + "display": "immune globulin, intravenous" + }, + { + "code": "88", + "display": "influenza virus vaccine, unspecified formulation" + }, + { + "code": "89", + "display": "poliovirus vaccine, unspecified formulation" + }, + { + "code": "90", + "display": "rabies vaccine, unspecified formulation" + }, + { + "code": "91", + "display": "typhoid vaccine, unspecified formulation" + }, + { + "code": "92", + "display": "Venezuelan equine encephalitis vaccine, unspecified formulation" + }, + { + "code": "93", + "display": "respiratory syncytial virus monoclonal antibody (palivizumab), intramuscular" + }, + { + "code": "94", + "display": "measles, mumps, rubella, and varicella virus vaccine" + }, + { + "code": "95", + "display": "tuberculin skin test; old tuberculin, multipuncture device" + }, + { + "code": "96", + "display": "tuberculin skin test; purified protein derivative solution, intradermal" + }, + { + "code": "97", + "display": "tuberculin skin test; purified protein derivative, multipuncture device" + }, + { + "code": "98", + "display": "tuberculin skin test; unspecified formulation" + }, + { + "code": "998", + "display": "no vaccine administered" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/valueset-marital-status.json b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/valueset-marital-status.json new file mode 100644 index 000000000..5c6a88c46 --- /dev/null +++ b/evaluator.cli/src/test/resources/qicore/vocabulary/ValueSet/valueset-marital-status.json @@ -0,0 +1 @@ +{"resourceType" : "ValueSet","id" : "marital-status","meta" : {"versionId" : "1","lastUpdated" : "2018-12-14T02:05:07.332Z","profile" : ["http://hl7.org/fhir/StructureDefinition/shareablevalueset"]},"url" : "http://hl7.org/fhir/ValueSet/marital-status","identifier" : [{"system" : "urn:ietf:rfc:3986","value" : "urn:oid:2.16.840.1.113883.4.642.3.29"}],"version" : "4.0.0","name" : "Marital Status Codes","title" : "MaritalStatus","status" : "active","experimental" : false,"date" : "2018-12-14T01:14:32+00:00","expansion" : {"identifier" : "urn:uuid:239279b7-49a9-4e5b-a9c3-c1653cf6ffd8","timestamp" : "2020-05-09T22:02:37.490Z","parameter" : [{"name" : "expansion-source","valueString" : "ValueSet/marital-status"},{"name" : "displayLanguage","valueString" : "en-US,en;q=0.5"},{"name" : "version","valueString" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus|2018-08-12"},{"name" : "version","valueString" : "http://terminology.hl7.org/CodeSystem/v3-NullFlavor|2018-08-12"}],"contains" : [{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "Marriage contract has been declared null and to not have existed"}],"system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus","code" : "A","display" : "Annulled"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "Marriage contract has been declared dissolved and inactive"}],"system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus","code" : "D","display" : "Divorced"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "Subject to an Interlocutory Decree."}],"system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus","code" : "I","display" : "Interlocutory"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "Legally Separated"}],"system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus","code" : "L","display" : "Legally Separated"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "A current marriage contract is active"}],"system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus","code" : "M","display" : "Married"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "More than 1 current spouse"}],"system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus","code" : "P","display" : "Polygamous"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "No marriage contract has ever been entered"}],"system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus","code" : "S","display" : "Never Married"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "Person declares that a domestic partner relationship exists."}],"system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus","code" : "T","display" : "Domestic partner"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "Currently not in a marriage contract."}],"system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus","code" : "U","display" : "unmarried"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "The spouse has died"}],"system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus","code" : "W","display" : "Widowed"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "Description:A proper value is applicable, but not known.\r\n\n \n Usage Notes: This means the actual value is not known. If the only thing that is unknown is how to properly express the value in the necessary constraints (value set, datatype, etc.), then the OTH or UNC flavor should be used. No properties should be included for a datatype with this property unless:\r\n\n \n Those properties themselves directly translate to a semantic of \"unknown\". (E.g. a local code sent as a translation that conveys 'unknown')\n Those properties further qualify the nature of what is unknown. (E.g. specifying a use code of \"H\" and a URL prefix of \"tel:\" to convey that it is the home phone number that is unknown.)"}],"system" : "http://terminology.hl7.org/CodeSystem/v3-NullFlavor","code" : "UNK","display" : "unknown"}]}} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/TestFHIR.cql b/evaluator.cli/src/test/resources/r4/TestFHIR.cql new file mode 100644 index 000000000..77fd96d22 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/TestFHIR.cql @@ -0,0 +1,155 @@ +library TestFHIR + +/* +Every expression in this library should return non-null or a list with at least one element, +with the exception of TestPatientDeceasedDateTime, which should return null + */ + +using FHIR version '4.0.1' + +codesystem "LOINC": 'http://loinc.org' +codesystem "Marital Status Codes": 'http://terminology.hl7.org/CodeSystem/v3-MaritalStatus' +codesystem "CDC Race and Ethnicity Codes": 'urn:oid:2.16.840.1.113883.6.238' + +valueset "Marital Status": 'http://hl7.org/fhir/ValueSet/marital-status' + +code "Marital Status - Married": 'M' from "Marital Status Codes" +code "American Indian or Alaska Native": '1002-5' from "CDC Race and Ethnicity Codes" +code "Alaska Native": '1735-0' from "CDC Race and Ethnicity Codes" +code "Blood pressure": '85354-9' from "LOINC" display 'blood pressure' +code "Diastolic blood pressure": '8462-4' from "LOINC" display 'Diastolic blood pressure' +code "Systolic blood pressure": '8480-6' from "LOINC" display 'Systolic blood pressure' + +context Patient + +define TestAdverseEvent: ["AdverseEvent"] +define TestAllergyIntolerance: ["AllergyIntolerance"] +define TestBodyStructure: ["BodyStructure"] +define TestCarePlan: ["CarePlan"] +define TestCareTeam: ["CareTeam"] +define TestClaim: ["Claim"] +define TestCommunication: ["Communication"] +define TestCommunicationRequest: ["CommunicationRequest"] +define TestCondition: ["Condition"] +define TestCoverage: ["Coverage"] +define TestDevice: ["Device"] +define TestDeviceRequest: ["DeviceRequest"] +define TestDeviceUseStatement: ["DeviceUseStatement"] +define TestDiagnosticReport: ["DiagnosticReport"] +define TestDocumentReference: ["DocumentReference"] +define TestEncounter: ["Encounter"] +define TestFamilyMemberHistory: ["FamilyMemberHistory"] +define TestFlag: ["Flag"] +define TestGoal: ["Goal"] +define TestImagingStudy: ["ImagingStudy"] +define TestImmunization: ["Immunization"] +define TestImmunizationEvaluation: ["ImmunizationEvaluation"] +define TestImmunizationRecommendation: ["ImmunizationRecommendation"] +define TestLocation: ["Location"] +define TestMedication: ["Medication"] +define TestMedicationAdministration: ["MedicationAdministration"] +define TestMedicationDispense: ["MedicationDispense"] +define TestMedicationRequest: ["MedicationRequest"] +define TestMedicationStatement: ["MedicationStatement"] +define TestObservation: ["Observation"] +define TestOrganization: ["Organization"] +define TestPatient: ["Patient"] +define TestPractitioner: ["Practitioner"] +define TestPractitionerRole: ["PractitionerRole"] +define TestProcedure: ["Procedure"] +define TestRelatedPerson: ["RelatedPerson"] +define TestServiceRequest: ["ServiceRequest"] +define TestSpecimen: ["Specimen"] +define TestSubstsance: ["Substance"] +define TestTask: ["Task"] + +define TestPatientGender: + Patient P + where P.gender.value = 'male' + +define TestPatientActive: + Patient P + where P.active.value is true + +define TestPatientBirthDate: + Patient P + where P.birthDate.value before Today() + +define TestPatientMaritalStatusMembership: + Patient P + where ToConcept(P.maritalStatus) in "Marital Status" + +define TestPatientMartialStatusComparison: + Patient P + where ToConcept(P.maritalStatus) ~ "Marital Status - Married" + +define TestPatientDeceasedAsBoolean: + Patient P + where (P.deceased as FHIR.boolean).value is false + +define TestPatientDeceasedAsDateTime: + Patient P + where (P.deceased as FHIR.dateTime).value before Today() + +define TestSlices: + [Observation: "Blood pressure"] BP + let + SystolicBP: singleton from (BP.component C where ToConcept(C.code) ~ "Systolic blood pressure"), + DiastolicBP: singleton from (BP.component C where ToConcept(C.code) ~ "Diastolic blood pressure") + where ToQuantity(SystolicBP.value as FHIR.Quantity) < 140 'mm[Hg]' + and ToQuantity(DiastolicBP.value as FHIR.Quantity) < 90 'mm[Hg]' + +define TestSimpleExtensions: + Patient P + let birthsex: singleton from (P.extension E where E.url.value = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex') + where (birthsex.value as FHIR.code).value = 'M' + +define TestComplexExtensions: + Patient P + let + race: singleton from (P.extension E where E.url.value = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race'), + ombCategory: race.extension E where E.url.value = 'ombCategory', + detailed: race.extension E where E.url.value = 'detailed' + where exists (ombCategory O where ToCode(O.value as FHIR.Coding) ~ "American Indian or Alaska Native") + and exists (detailed O where ToCode(O.value as FHIR.Coding) ~ "Alaska Native") + +define function ToInterval(period FHIR.Period): + if period is null then + null + else + Interval[period."start".value, period."end".value] + +define function ToQuantity(quantity FHIR.Quantity): + if quantity is null then + null + else + System.Quantity { value: quantity.value.value, unit: quantity.unit.value } + +define function ToInterval(range FHIR.Range): + if range is null then + null + else + Interval[ToQuantity(range.low), ToQuantity(range.high)] + +define function ToCode(coding FHIR.Coding): + if coding is null then + null + else + System.Code { + code: coding.code.value, + system: coding.system.value, + version: coding.version.value, + display: coding.display.value + } + +define function ToConcept(concept FHIR.CodeableConcept): + if concept is null then + null + else + System.Concept { + codes: concept.coding C return ToCode(C), + display: concept.text.value + } + + + diff --git a/evaluator.cli/src/test/resources/r4/TestFHIRWithHelpers.cql b/evaluator.cli/src/test/resources/r4/TestFHIRWithHelpers.cql new file mode 100644 index 000000000..fb48f5a95 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/TestFHIRWithHelpers.cql @@ -0,0 +1,118 @@ +library TestFHIRWithHelpers + +/* +Every expression in this library should return non-null or a list with at least one element, +with the exception of TestPatientDeceasedDateTime, which should return null + */ + +using FHIR version '4.0.1' + +include FHIRHelpers version '4.0.1' + +codesystem "LOINC": 'http://loinc.org' +codesystem "Marital Status Codes": 'http://terminology.hl7.org/CodeSystem/v3-MaritalStatus' +codesystem "CDC Race and Ethnicity Codes": 'urn:oid:2.16.840.1.113883.6.238' + +valueset "Marital Status": 'http://hl7.org/fhir/ValueSet/marital-status' + +code "Marital Status - Married": 'M' from "Marital Status Codes" +code "American Indian or Alaska Native": '1002-5' from "CDC Race and Ethnicity Codes" +code "Alaska Native": '1735-0' from "CDC Race and Ethnicity Codes" +code "Blood pressure": '85354-9' from "LOINC" display 'blood pressure' +code "Diastolic blood pressure": '8462-4' from "LOINC" display 'Diastolic blood pressure' +code "Systolic blood pressure": '8480-6' from "LOINC" display 'Systolic blood pressure' + +context Patient + +define TestAdverseEvent: ["AdverseEvent"] +define TestAllergyIntolerance: ["AllergyIntolerance"] +define TestBodyStructure: ["BodyStructure"] +define TestCarePlan: ["CarePlan"] +define TestCareTeam: ["CareTeam"] +define TestClaim: ["Claim"] +define TestCommunication: ["Communication"] +define TestCommunicationRequest: ["CommunicationRequest"] +define TestCondition: ["Condition"] +define TestCoverage: ["Coverage"] +define TestDevice: ["Device"] +define TestDeviceRequest: ["DeviceRequest"] +define TestDeviceUseStatement: ["DeviceUseStatement"] +define TestDiagnosticReport: ["DiagnosticReport"] +define TestDocumentReference: ["DocumentReference"] +define TestEncounter: ["Encounter"] +define TestFamilyMemberHistory: ["FamilyMemberHistory"] +define TestFlag: ["Flag"] +define TestGoal: ["Goal"] +define TestImagingStudy: ["ImagingStudy"] +define TestImmunization: ["Immunization"] +define TestImmunizationEvaluation: ["ImmunizationEvaluation"] +define TestImmunizationRecommendation: ["ImmunizationRecommendation"] +define TestLocation: ["Location"] +define TestMedication: ["Medication"] +define TestMedicationAdministration: ["MedicationAdministration"] +define TestMedicationDispense: ["MedicationDispense"] +define TestMedicationRequest: ["MedicationRequest"] +define TestMedicationStatement: ["MedicationStatement"] +define TestObservation: ["Observation"] +define TestOrganization: ["Organization"] +define TestPatient: ["Patient"] +define TestPractitioner: ["Practitioner"] +define TestPractitionerRole: ["PractitionerRole"] +define TestProcedure: ["Procedure"] +define TestRelatedPerson: ["RelatedPerson"] +define TestServiceRequest: ["ServiceRequest"] +define TestSpecimen: ["Specimen"] +define TestSubstsance: ["Substance"] +define TestTask: ["Task"] + +define TestPatientGender: + Patient P + where P.gender = 'female' + +define TestPatientActive: + Patient P + where P.active is true + +define TestPatientBirthDate: + Patient P + where P.birthDate before Today() + +define TestPatientMaritalStatusMembership: + Patient P + where FHIRHelpers.ToConcept(P.maritalStatus) in "Marital Status" + +define TestPatientMartialStatusComparison: + Patient P + where FHIRHelpers.ToConcept(P.maritalStatus) ~ "Marital Status - Married" + +define TestPatientDeceasedAsBoolean: + Patient P + where P.deceased is false + +define TestPatientDeceasedAsDateTime: + Patient P + where P.deceased before Today() + +define TestSlices: + [Observation: "Blood pressure"] BP + let + SystolicBP: singleton from (BP.component C where C.code ~ "Systolic blood pressure"), + DiastolicBP: singleton from (BP.component C where C.code ~ "Diastolic blood pressure") + where SystolicBP.value < 140 'mm[Hg]' + and DiastolicBP.value < 90 'mm[Hg]' + +define TestSimpleExtensions: + Patient P + let birthsex: singleton from (P.extension E where E.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex') + where birthsex.value = 'M' + +define TestComplexExtensions: + Patient P + let + race: singleton from (P.extension E + where E.url = 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-race'), + ombCategory: race.extension E where E.url = 'ombCategory', + detailed: race.extension E where E.url = 'detailed' + where exists (ombCategory O where O.value ~ "American Indian or Alaska Native") + and exists (detailed O where O.value ~ "Alaska Native") + diff --git a/service/src/test/resources/r4/TestValueSet.json b/evaluator.cli/src/test/resources/r4/TestValueSet.json similarity index 100% rename from service/src/test/resources/r4/TestValueSet.json rename to evaluator.cli/src/test/resources/r4/TestValueSet.json diff --git a/evaluator.cli/src/test/resources/r4/example/AdverseEvent/AdverseEvent-example.json b/evaluator.cli/src/test/resources/r4/example/AdverseEvent/AdverseEvent-example.json new file mode 100644 index 000000000..b92139a33 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/AdverseEvent/AdverseEvent-example.json @@ -0,0 +1,50 @@ +{ + "resourceType": "AdverseEvent", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-adverseevent" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: 49476534

actuality: actual

event: O/E - itchy rash (Details : {SNOMED CT code '304386008' = 'O/E - itchy rash', given as 'O/E - itchy rash'})

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

date: Jan 29, 2017 12:34:56 PM

seriousness: Non-serious (Details : {http://terminology.hl7.org/CodeSystem/adverse-event-seriousness code 'Non-serious' = 'Non-serious', given as 'Non-serious'})

recorder: Generated Summary: id: example; 23; active; Adam Careful

SuspectEntities

-Instance
*Generated Summary: id: example; alemtuzumab 10 MG/ML [Lemtrada]; Conventional release solution for injection (dose form)
" + }, + "identifier": { + "system": "http://acme.com/ids/patients/risks", + "value": "49476534" + }, + "actuality": "actual", + "event": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "304386008", + "display": "O/E - itchy rash" + } + ] + }, + "subject": { + "reference": "Patient/example" + }, + "date": "2017-01-29T12:34:56+00:00", + "seriousness": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/adverse-event-seriousness", + "code": "Non-serious", + "display": "Non-serious" + } + ] + }, + "recorder": { + "reference": "Practitioner/example" + }, + "suspectEntity": [ + { + "instance": { + "reference": "Medication/example" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/AllergyIntolerance/AllergyIntolerance-example-refuted.json b/evaluator.cli/src/test/resources/r4/example/AllergyIntolerance/AllergyIntolerance-example-refuted.json new file mode 100644 index 000000000..33229e08a --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/AllergyIntolerance/AllergyIntolerance-example-refuted.json @@ -0,0 +1,72 @@ +{ + "resourceType": "AllergyIntolerance", + "id": "example-refuted", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-allergyintolerance" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example-refuted

meta:

identifier: 49476534

clinicalStatus: Inactive (Details : {http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical code 'inactive' = 'Inactive)

verificationStatus: Refuted (Details : {http://terminology.hl7.org/CodeSystem/allergyintolerance-verification code 'refuted' = 'Refuted)

type: allergy

category: food

code: Cashew nuts (Details : {SNOMED CT code '227493005' = 'Cashew nuts', given as 'Cashew nuts'})

patient: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

recordedDate: Oct 9, 2014 3:58:00 AM

recorder: Generated Summary: id: example; 23; active; Adam Careful

asserter: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason", + "code": "MED", + "display": "Medical Status Altered" + } + ] + } + } + ], + "identifier": [ + { + "system": "http://acme.com/ids/patients/risks", + "value": "49476534" + } + ], + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "code": "inactive" + } + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification", + "code": "refuted" + } + ] + }, + "type": "allergy", + "category": [ + "food" + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "227493005", + "display": "Cashew nuts" + } + ] + }, + "patient": { + "reference": "Patient/example" + }, + "recordedDate": "2014-10-09T14:58:00+11:00", + "recorder": { + "reference": "Practitioner/example" + }, + "asserter": { + "reference": "Patient/example" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/AllergyIntolerance/AllergyIntolerance-example.json b/evaluator.cli/src/test/resources/r4/example/AllergyIntolerance/AllergyIntolerance-example.json new file mode 100644 index 000000000..2c6e543ce --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/AllergyIntolerance/AllergyIntolerance-example.json @@ -0,0 +1,122 @@ +{ + "resourceType": "AllergyIntolerance", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-allergyintolerance" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: 49476534

clinicalStatus: Active (Details : {http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical code 'active' = 'Active)

verificationStatus: Confirmed (Details : {http://terminology.hl7.org/CodeSystem/allergyintolerance-verification code 'confirmed' = 'Confirmed)

type: allergy

category: food

criticality: high

code: Cashew nuts (Details : {SNOMED CT code '227493005' = 'Cashew nuts', given as 'Cashew nuts'})

patient: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

onset: Jan 1, 2004 12:00:00 AM

recordedDate: Oct 9, 2014 3:58:00 AM

recorder: Generated Summary: id: example; 23; active; Adam Careful

asserter: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

lastOccurrence: Jun 2, 2012 1:45:31 AM

note: The criticality is high becasue of the observed anaphylactic reaction when challenged with cashew extract.

reaction

substance: cashew nut allergenic extract Injectable Product (Details : {RxNorm code '1160593' = 'cashew nut allergenic extract Injectable Product', given as 'cashew nut allergenic extract Injectable Product'})

manifestation: Anaphylactic reaction (Details : {SNOMED CT code '39579001' = 'Anaphylaxis', given as 'Anaphylactic reaction'})

description: Challenge Protocol. Severe reaction to subcutaneous cashew extract. Epinephrine administered

onset: Jun 12, 2012 12:00:00 AM

severity: severe

exposureRoute: Subcutaneous route (Details : {SNOMED CT code '34206005' = 'Subcutaneous route', given as 'Subcutaneous route'})

reaction

manifestation: Urticaria (Details : {SNOMED CT code '64305001' = 'Urticaria', given as 'Urticaria'})

onset: Jan 1, 2004 12:00:00 AM

severity: moderate

note: The patient reports that the onset of urticaria was within 15 minutes of eating cashews.

" + }, + "identifier": [ + { + "system": "http://acme.com/ids/patients/risks", + "value": "49476534" + } + ], + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "code": "active" + } + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification", + "code": "confirmed" + } + ] + }, + "type": "allergy", + "category": [ + "food" + ], + "criticality": "high", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "227493005", + "display": "Cashew nuts" + } + ] + }, + "patient": { + "reference": "Patient/example" + }, + "onsetDateTime": "2004", + "recordedDate": "2014-10-09T14:58:00+11:00", + "recorder": { + "reference": "Practitioner/example" + }, + "asserter": { + "reference": "Patient/example" + }, + "lastOccurrence": "2012-06-02T01:45:31+00:00", + "note": [ + { + "text": "The criticality is high becasue of the observed anaphylactic reaction when challenged with cashew extract." + } + ], + "reaction": [ + { + "substance": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "1160593", + "display": "cashew nut allergenic extract Injectable Product" + } + ] + }, + "manifestation": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "39579001", + "display": "Anaphylactic reaction" + } + ] + } + ], + "description": "Challenge Protocol. Severe reaction to subcutaneous cashew extract. Epinephrine administered", + "onset": "2012-06-12", + "severity": "severe", + "exposureRoute": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "34206005", + "display": "Subcutaneous route" + } + ] + } + }, + { + "manifestation": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "64305001", + "display": "Urticaria" + } + ] + } + ], + "onset": "2004", + "severity": "moderate", + "note": [ + { + "text": "The patient reports that the onset of urticaria was within 15 minutes of eating cashews." + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/BodyStructure/BodyStructure-example.json b/evaluator.cli/src/test/resources/r4/example/BodyStructure/BodyStructure-example.json new file mode 100644 index 000000000..8b57a36f9 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/BodyStructure/BodyStructure-example.json @@ -0,0 +1,50 @@ +{ + "resourceType": "BodyStructure", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-bodystructure" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: 12345

active: true

morphology: Splenic mass (Details : {SNOMED CT code '4147007' = 'Mass', given as 'Mass (morphologic abnormality)'})

location: Splenic mass (Details : {SNOMED CT code '78961009' = 'Spleen', given as 'Splenic structure (body structure)'})

description: 7 cm maximum diameter

image:

patient: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

" + }, + "identifier": [ + { + "system": "http://goodhealth.org/bodystructure/identifiers", + "value": "12345" + } + ], + "active": true, + "morphology": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "4147007", + "display": "Mass (morphologic abnormality)" + } + ], + "text": "Splenic mass" + }, + "location": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "78961009", + "display": "Splenic structure (body structure)" + } + ], + "text": "Splenic mass" + }, + "description": "7 cm maximum diameter", + "image": [ + { + "contentType": "application/dicom", + "url": "http://imaging.acme.com/wado/server?requestType=WADO&wado_details" + } + ], + "patient": { + "reference": "Patient/example" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/CarePlan/CarePlan-colonoscopy.json b/evaluator.cli/src/test/resources/r4/example/CarePlan/CarePlan-colonoscopy.json new file mode 100644 index 000000000..dda40491d --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/CarePlan/CarePlan-colonoscopy.json @@ -0,0 +1,29 @@ +{ + "resourceType": "CarePlan", + "id": "colonoscopy", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan" + ] + }, + "text": { + "status": "additional", + "div": "
\n\t\t\tAssessment\n\t\t\t
    \n\t\t\t\t
  1. Recurrent GI bleed of unknown etiology; hypotension perhaps secondary to this but as likely secondary to polypharmacy.
  2. \n\t\t\t\t
  3. Acute on chronic anemia secondary to #1.
  4. \n\t\t\t\t
  5. Azotemia, acute renal failure with volume loss secondary to #1.
  6. \n\t\t\t\t
  7. Hyperkalemia secondary to #3 and on ACE and K+ supplement.
  8. \n\t\t\t\t
  9. Other chronic diagnoses as noted above, currently stable.
  10. \n\t\t\t
\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
Planned ActivityPlanned Date
ColonoscopyApril 21, 2000
\n\t\t
" + }, + "status": "active", + "intent": "order", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "code": "assess-plan" + } + ] + } + ], + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/CarePlan/CarePlan-example.json b/evaluator.cli/src/test/resources/r4/example/CarePlan/CarePlan-example.json new file mode 100644 index 000000000..33ee18fa3 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/CarePlan/CarePlan-example.json @@ -0,0 +1,300 @@ +{ + "resourceType": "CarePlan", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

instantiatesCanonical: http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact-schedule

status: active

intent: plan

category: Assessment and Plan of Treatment (Details : {http://hl7.org/fhir/us/core/CodeSystem/careplan-category code 'assess-plan' = 'Assessment and Plan of Treatment', given as 'Assessment and Plan of Treatment'})

subject: Eve Everywoman

period: May 24, 2019 12:00:00 AM --> Feb 24, 2020 12:00:00 AM

careTeam: Generated Summary: id: example; status: active

addresses: pregnancy

goal: pregnancy goal

activity

outcomeReference: First contact, occurred at about 12 weeks based on gestational age from LMP of 2019-03-01

Details

-KindInstantiatesCanonicalCodeStatusPerformerDescription
*ServiceRequesthttp://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contactAntenatal care (Details : {SNOMED CT code '424525001' = 'Antenatal care (regime/therapy)', given as 'Antenatal care (regime/therapy)'})in-progressMabel MidwifeFirst antenatal care contact

activity

Details

-KindInstantiatesCanonicalCodeStatusScheduled[x]PerformerDescription
*ServiceRequesthttp://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contactAntenatal care (Details : {SNOMED CT code '424525001' = 'Antenatal care (regime/therapy)', given as 'Antenatal care (regime/therapy)'})scheduledJul 26, 2019 12:00:00 AM --> (ongoing)Mabel MidwifeSecond contact to occur at 20 weeks of gestational age

activity

Details

-KindInstantiatesCanonicalCodeStatusScheduled[x]PerformerDescription
*ServiceRequesthttp://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contactAntenatal care (Details : {SNOMED CT code '424525001' = 'Antenatal care (regime/therapy)', given as 'Antenatal care (regime/therapy)'})not-startedSep 6, 2019 12:00:00 AM --> (ongoing)Mabel MidwifeThird contact to occur at 26 weeks of gestational age

activity

Details

-KindInstantiatesCanonicalCodeStatusScheduled[x]PerformerDescription
*ServiceRequesthttp://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contactAntenatal care (Details : {SNOMED CT code '424525001' = 'Antenatal care (regime/therapy)', given as 'Antenatal care (regime/therapy)'})not-startedOct 4, 2019 12:00:00 AM --> (ongoing)Mabel MidwifeFourth contact to occur at 30 weeks of gestational age

activity

Details

-KindInstantiatesCanonicalCodeStatusScheduled[x]PerformerDescription
*ServiceRequesthttp://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contactAntenatal care (Details : {SNOMED CT code '424525001' = 'Antenatal care (regime/therapy)', given as 'Antenatal care (regime/therapy)'})not-startedNov 1, 2019 12:00:00 AM --> (ongoing)Mabel MidwifeFifth contact to occur at 34 weeks of gestational age

activity

Details

-KindInstantiatesCanonicalCodeStatusScheduled[x]PerformerDescription
*ServiceRequesthttp://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contactAntenatal care (Details : {SNOMED CT code '424525001' = 'Antenatal care (regime/therapy)', given as 'Antenatal care (regime/therapy)'})not-startedNov 15, 2019 12:00:00 AM --> (ongoing)Mabel MidwifeSixth contact to occur at 36 weeks of gestational age

activity

Details

-KindInstantiatesCanonicalCodeStatusScheduled[x]PerformerDescription
*ServiceRequesthttp://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contactAntenatal care (Details : {SNOMED CT code '424525001' = 'Antenatal care (regime/therapy)', given as 'Antenatal care (regime/therapy)'})not-startedNov 29, 2019 12:00:00 AM --> (ongoing)Mabel MidwifeSeventh contact to occur at 38 weeks of gestational age

activity

Details

-KindInstantiatesCanonicalCodeStatusScheduled[x]PerformerDescription
*ServiceRequesthttp://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contactAntenatal care (Details : {SNOMED CT code '424525001' = 'Antenatal care (regime/therapy)', given as 'Antenatal care (regime/therapy)'})not-startedDec 13, 2019 12:00:00 AM --> (ongoing)Mabel MidwifeEighth contact to occur at 40 weeks of gestational age

activity

Details

-KindCodeStatusScheduled[x]PerformerDescription
*ServiceRequestDelivery procedure (Details : {http://example.org/mySystem code '236973005' = '236973005', given as 'Delivery procedure (procedure)'})not-startedDec 13, 2019 12:00:00 AM --> Dec 27, 2019 12:00:00 AMMabel MidwifeDelivery
" + }, + "instantiatesCanonical": [ + "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact-schedule" + ], + "status": "active", + "intent": "plan", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "code": "assess-plan", + "display": "Assessment and Plan of Treatment" + } + ] + } + ], + "subject": { + "display": "Eve Everywoman" + }, + "period": { + "start": "2019-05-24", + "end": "2020-02-24" + }, + "careTeam": [ + { + "reference": "CareTeam/example" + } + ], + "addresses": [ + { + "display": "pregnancy" + } + ], + "goal": [ + { + "display": "pregnancy goal" + } + ], + "activity": [ + { + "outcomeReference": [ + { + "display": "First contact, occurred at about 12 weeks based on gestational age from LMP of 2019-03-01" + } + ], + "detail": { + "kind": "ServiceRequest", + "instantiatesCanonical": [ + "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact" + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "424525001", + "display": "Antenatal care (regime/therapy)" + } + ], + "text": "Antenatal care" + }, + "status": "in-progress", + "performer": [ + { + "display": "Mabel Midwife" + } + ], + "description": "First antenatal care contact" + } + }, + { + "detail": { + "kind": "ServiceRequest", + "instantiatesCanonical": [ + "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact" + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "424525001", + "display": "Antenatal care (regime/therapy)" + } + ], + "text": "Antenatal care" + }, + "status": "scheduled", + "scheduledPeriod": { + "start": "2019-07-26" + }, + "performer": [ + { + "display": "Mabel Midwife" + } + ], + "description": "Second contact to occur at 20 weeks of gestational age" + } + }, + { + "detail": { + "kind": "ServiceRequest", + "instantiatesCanonical": [ + "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact" + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "424525001", + "display": "Antenatal care (regime/therapy)" + } + ], + "text": "Antenatal care" + }, + "status": "not-started", + "scheduledPeriod": { + "start": "2019-09-06" + }, + "performer": [ + { + "display": "Mabel Midwife" + } + ], + "description": "Third contact to occur at 26 weeks of gestational age" + } + }, + { + "detail": { + "kind": "ServiceRequest", + "instantiatesCanonical": [ + "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact" + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "424525001", + "display": "Antenatal care (regime/therapy)" + } + ], + "text": "Antenatal care" + }, + "status": "not-started", + "scheduledPeriod": { + "start": "2019-10-04" + }, + "performer": [ + { + "display": "Mabel Midwife" + } + ], + "description": "Fourth contact to occur at 30 weeks of gestational age" + } + }, + { + "detail": { + "kind": "ServiceRequest", + "instantiatesCanonical": [ + "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact" + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "424525001", + "display": "Antenatal care (regime/therapy)" + } + ], + "text": "Antenatal care" + }, + "status": "not-started", + "scheduledPeriod": { + "start": "2019-11-01" + }, + "performer": [ + { + "display": "Mabel Midwife" + } + ], + "description": "Fifth contact to occur at 34 weeks of gestational age" + } + }, + { + "detail": { + "kind": "ServiceRequest", + "instantiatesCanonical": [ + "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact" + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "424525001", + "display": "Antenatal care (regime/therapy)" + } + ], + "text": "Antenatal care" + }, + "status": "not-started", + "scheduledPeriod": { + "start": "2019-11-15" + }, + "performer": [ + { + "display": "Mabel Midwife" + } + ], + "description": "Sixth contact to occur at 36 weeks of gestational age" + } + }, + { + "detail": { + "kind": "ServiceRequest", + "instantiatesCanonical": [ + "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact" + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "424525001", + "display": "Antenatal care (regime/therapy)" + } + ], + "text": "Antenatal care" + }, + "status": "not-started", + "scheduledPeriod": { + "start": "2019-11-29" + }, + "performer": [ + { + "display": "Mabel Midwife" + } + ], + "description": "Seventh contact to occur at 38 weeks of gestational age" + } + }, + { + "detail": { + "kind": "ServiceRequest", + "instantiatesCanonical": [ + "http://fhir.org/guides/who/anc-cds/PlanDefinition/anc-contact" + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "424525001", + "display": "Antenatal care (regime/therapy)" + } + ], + "text": "Antenatal care" + }, + "status": "not-started", + "scheduledPeriod": { + "start": "2019-12-13" + }, + "performer": [ + { + "display": "Mabel Midwife" + } + ], + "description": "Eighth contact to occur at 40 weeks of gestational age" + } + }, + { + "detail": { + "kind": "ServiceRequest", + "code": { + "coding": [ + { + "system": "http://example.org/mySystem", + "code": "236973005", + "display": "Delivery procedure (procedure)" + } + ], + "text": "Delivery procedure" + }, + "status": "not-started", + "scheduledPeriod": { + "start": "2019-12-13", + "end": "2019-12-27" + }, + "performer": [ + { + "display": "Mabel Midwife" + } + ], + "description": "Delivery" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/CareTeam/CareTeam-example.json b/evaluator.cli/src/test/resources/r4/example/CareTeam/CareTeam-example.json new file mode 100644 index 000000000..066a12b27 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/CareTeam/CareTeam-example.json @@ -0,0 +1,30 @@ +{ + "resourceType": "CareTeam", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

status: active

subject: Eve Everywoman

Participants

-RoleMember
*MW - Midwife (Details : {SNOMED CT code '75271001' = 'Professional midwife', given as 'MW - Midwife'})Mabel Midwife
" + }, + "status": "active", + "subject": { + "display": "Eve Everywoman" + }, + "participant": [ + { + "role": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "75271001", + "display": "MW - Midwife" + } + ] + } + ], + "member": { + "display": "Mabel Midwife" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Claim/Claim-example.json b/evaluator.cli/src/test/resources/r4/example/Claim/Claim-example.json new file mode 100644 index 000000000..7238f465f --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Claim/Claim-example.json @@ -0,0 +1,174 @@ +{ + "resourceType": "Claim", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-claim" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: 6612346

status: active

type: Vision (Details : {http://terminology.hl7.org/CodeSystem/claim-type code 'vision' = 'Vision)

use: claim

patient: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

created: Aug 16, 2014 12:00:00 AM

insurer: Generated Summary: id: example; ??; active; Organizational team; name: Health Level Seven International; ph: (+1) 734-677-7777, fax: (+1) 734-677-6622, hq@HL7.org

provider: Generated Summary: id: example; 23; active; Adam Careful

priority: normal (Details : {[not stated] code 'normal' = 'normal)

prescription: Generated Summary: id: example; status: active; intent: order; ????; authoredOn: Mar 26, 2015 12:32:52 AM;

Payees

-TypeParty
*provider (Details : {[not stated] code 'provider' = 'provider)Generated Summary: id: example; 23; active; Adam Careful

CareTeams

-SequenceProvider
*1Generated Summary: id: example; 23; active; Adam Careful

Diagnoses

-SequenceDiagnosis[x]
*1654321 (Details : {[not stated] code '654321' = '654321)

Insurances

-SequenceFocalCoverage
*1trueGenerated Summary: id: example; 12345; status: active; Other Private Insurance; dependent: 0; self; period: May 23, 2011 12:00:00 AM --> May 23, 2012 12:00:00 AM; 9

item

sequence: 1

careTeamSequence: 1

productOrService: glasses (Details : {http://example.org/fhir/CodeSystem/ex-visionservice code 'glasses' = 'glasses)

serviced: 2014-08-16

unitPrice:

detail

sequence: 1

productOrService: frame (Details : {http://example.org/fhir/CodeSystem/ex-visionservice code 'frame' = 'frame)

unitPrice:

net:

detail

sequence: 2

productOrService: lens (Details : {http://example.org/fhir/CodeSystem/ex-visionservice code 'lens' = 'lens)

quantity: 2

unitPrice:

net:

detail

sequence: 3

productOrService: fst (Details : {http://example.org/fhir/CodeSystem/ex-visionservice code 'fst' = 'fst)

unitPrice:

factor: 0.07

net:

" + }, + "identifier": [ + { + "system": "http://happysight.com/claim", + "value": "6612346" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/claim-type", + "code": "vision" + } + ] + }, + "use": "claim", + "patient": { + "reference": "Patient/example" + }, + "created": "2014-08-16", + "insurer": { + "reference": "Organization/example" + }, + "provider": { + "reference": "Practitioner/example" + }, + "priority": { + "coding": [ + { + "code": "normal" + } + ] + }, + "prescription": { + "reference": "MedicationRequest/example" + }, + "payee": { + "type": { + "coding": [ + { + "code": "provider" + } + ] + }, + "party": { + "reference": "Practitioner/example" + } + }, + "careTeam": [ + { + "sequence": 1, + "provider": { + "reference": "Practitioner/example" + } + } + ], + "diagnosis": [ + { + "sequence": 1, + "diagnosisCodeableConcept": { + "coding": [ + { + "code": "654321" + } + ] + } + } + ], + "insurance": [ + { + "sequence": 1, + "focal": true, + "coverage": { + "reference": "Coverage/example" + } + } + ], + "item": [ + { + "sequence": 1, + "careTeamSequence": [ + 1 + ], + "productOrService": { + "coding": [ + { + "system": "http://example.org/fhir/CodeSystem/ex-visionservice", + "code": "glasses" + } + ] + }, + "servicedDate": "2014-08-16", + "unitPrice": { + "value": 214.00, + "currency": "USD" + }, + "detail": [ + { + "sequence": 1, + "productOrService": { + "coding": [ + { + "system": "http://example.org/fhir/CodeSystem/ex-visionservice", + "code": "frame" + } + ] + }, + "unitPrice": { + "value": 100.00, + "currency": "USD" + }, + "net": { + "value": 100.00, + "currency": "USD" + } + }, + { + "sequence": 2, + "productOrService": { + "coding": [ + { + "system": "http://example.org/fhir/CodeSystem/ex-visionservice", + "code": "lens" + } + ] + }, + "quantity": { + "value": 2 + }, + "unitPrice": { + "value": 50.00, + "currency": "USD" + }, + "net": { + "value": 100.00, + "currency": "USD" + } + }, + { + "sequence": 3, + "productOrService": { + "coding": [ + { + "system": "http://example.org/fhir/CodeSystem/ex-visionservice", + "code": "fst" + } + ] + }, + "unitPrice": { + "value": 200.00, + "currency": "USD" + }, + "factor": 0.07, + "net": { + "value": 14.00, + "currency": "USD" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Communication/Communication-example.json b/evaluator.cli/src/test/resources/r4/example/Communication/Communication-example.json new file mode 100644 index 000000000..c14a14921 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Communication/Communication-example.json @@ -0,0 +1,79 @@ +{ + "resourceType": "Communication", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-communication" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

partOf: Serum Potassium Observation

status: not-done

statusReason: Recipient Unavailable (Details : {http://terminology.hl7.org/CodeSystem/communication-not-done-reason code 'recipient-unavailable' = 'Recipient Unavailable)

category: Alert (Details : {http://acme.org/messagetypes code 'Alert' = 'Alert)

medium: written (Details : {http://terminology.hl7.org/CodeSystem/v3-ParticipationMode code 'WRITTEN' = 'written', given as 'written'})

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

topic: Hyperkalemia (Details )

encounter: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

sent: Dec 13, 2014 2:01:10 AM

received: Dec 13, 2014 2:01:11 AM

recipient: Generated Summary: id: example; 23; active; Adam Careful

sender: Generated Summary: id: example; 345675, Serial Number = AMID-342135-8464; status: active; manufacturer: Acme Devices, Inc; lotNumber: 43453424; modelNumber: AB 45-J; ECG; ph: ext 4352; Author: Practitioner/example; Made: Jun 28, 2015 4:03:32 AM; Annotation: QA Checked

payload

content: Patient 1 has a very high serum potassium value (7.2 mmol/L on 2014-Dec-12 at 5:55 pm)

payload

content: Serum Potassium Observation

" + }, + "partOf": [ + { + "display": "Serum Potassium Observation" + } + ], + "status": "not-done", + "statusReason": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/communication-not-done-reason", + "code": "recipient-unavailable" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://acme.org/messagetypes", + "code": "Alert" + } + ], + "text": "Alert" + } + ], + "medium": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationMode", + "code": "WRITTEN", + "display": "written" + } + ], + "text": "written" + } + ], + "subject": { + "reference": "Patient/example" + }, + "topic": { + "text": "Hyperkalemia" + }, + "encounter": { + "reference": "Encounter/example" + }, + "sent": "2014-12-12T18:01:10-08:00", + "received": "2014-12-12T18:01:11-08:00", + "recipient": [ + { + "reference": "Practitioner/example" + } + ], + "sender": { + "reference": "Device/example" + }, + "payload": [ + { + "contentString": "Patient 1 has a very high serum potassium value (7.2 mmol/L on 2014-Dec-12 at 5:55 pm)" + }, + { + "contentReference": { + "display": "Serum Potassium Observation" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Communication/Communication-negation-example.json b/evaluator.cli/src/test/resources/r4/example/Communication/Communication-negation-example.json new file mode 100644 index 000000000..a416a13db --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Communication/Communication-negation-example.json @@ -0,0 +1,74 @@ +{ + "resourceType": "Communication", + "id": "negation-example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: negation-example

status: not-done

statusReason: Patient has moved away (finding) (Details : {SNOMED CT code '184081006' = 'Patient has moved away', given as 'Patient has moved away (finding)'})

category: Alert (Details : {http://acme.org/messagetypes code 'Alert' = 'Alert)

medium: written (Details : {http://terminology.hl7.org/CodeSystem/v3-ParticipationMode code 'WRITTEN' = 'written', given as 'written'})

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

encounter: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

sent: Dec 13, 2014 2:01:10 AM

received: Dec 13, 2014 2:01:11 AM

recipient: Generated Summary: id: example; 23; active; Adam Careful

sender: Generated Summary: id: example; 345675, Serial Number = AMID-342135-8464; status: active; manufacturer: Acme Devices, Inc; lotNumber: 43453424; modelNumber: AB 45-J; ECG; ph: ext 4352; Author: Practitioner/example; Made: Jun 28, 2015 4:03:32 AM; Annotation: QA Checked

Payloads

-Content[x]
*Patient 1 has moved away
" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-recorded", + "valueDateTime": "2014-12-12T18:01:10-08:00" + } + ], + "modifierExtension": [ + { + "url": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-notDone", + "valueBoolean": true + } + ], + "status": "not-done", + "statusReason": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "184081006", + "display": "Patient has moved away (finding)" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://acme.org/messagetypes", + "code": "Alert" + } + ], + "text": "Alert" + } + ], + "medium": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationMode", + "code": "WRITTEN", + "display": "written" + } + ], + "text": "written" + } + ], + "subject": { + "reference": "Patient/example" + }, + "encounter": { + "reference": "Encounter/example" + }, + "sent": "2014-12-12T18:01:10-08:00", + "received": "2014-12-12T18:01:11-08:00", + "recipient": [ + { + "reference": "Practitioner/example" + } + ], + "sender": { + "reference": "Device/example" + }, + "payload": [ + { + "contentString": "Patient 1 has moved away" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/CommunicationRequest/CommunicationRequest-example.json b/evaluator.cli/src/test/resources/r4/example/CommunicationRequest/CommunicationRequest-example.json new file mode 100644 index 000000000..596e031ac --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/CommunicationRequest/CommunicationRequest-example.json @@ -0,0 +1,77 @@ +{ + "resourceType": "CommunicationRequest", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-communicationrequest" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: ABC123

basedOn: EligibilityRequest

replaces: prior CommunicationRequest

groupIdentifier: 12345

status: active

category: SolicitedAttachmentRequest (Details : {http://acme.org/messagetypes code 'SolicitedAttachmentRequest' = 'SolicitedAttachmentRequest)

priority: routine

medium: written (Details : {http://terminology.hl7.org/CodeSystem/v3-ParticipationMode code 'WRITTEN' = 'written', given as 'written'})

encounter: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

Payloads

-Content[x]
*Please provide the accident report and any associated pictures to support your Claim #DEF5647.

occurrence: Jun 10, 2016 7:01:10 PM

authoredOn: Jun 10, 2016 7:01:10 PM

requester: Generated Summary: id: example; 23; active; Adam Careful

recipient: Generated Summary: id: example; ??; active; Organizational team; name: Health Level Seven International; ph: (+1) 734-677-7777, fax: (+1) 734-677-6622, hq@HL7.org

sender: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

" + }, + "identifier": [ + { + "system": "http://www.jurisdiction.com/insurer/123456", + "value": "ABC123" + } + ], + "basedOn": [ + { + "display": "EligibilityRequest" + } + ], + "replaces": [ + { + "display": "prior CommunicationRequest" + } + ], + "groupIdentifier": { + "value": "12345" + }, + "status": "active", + "category": [ + { + "coding": [ + { + "system": "http://acme.org/messagetypes", + "code": "SolicitedAttachmentRequest" + } + ] + } + ], + "priority": "routine", + "medium": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationMode", + "code": "WRITTEN", + "display": "written" + } + ], + "text": "written" + } + ], + "encounter": { + "reference": "Encounter/example" + }, + "payload": [ + { + "contentString": "Please provide the accident report and any associated pictures to support your Claim #DEF5647." + } + ], + "occurrenceDateTime": "2016-06-10T11:01:10-08:00", + "authoredOn": "2016-06-10T11:01:10-08:00", + "requester": { + "reference": "Practitioner/example" + }, + "recipient": [ + { + "reference": "Organization/example" + } + ], + "sender": { + "reference": "Patient/example" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Condition/Condition-appendicitis-example.json b/evaluator.cli/src/test/resources/r4/example/Condition/Condition-appendicitis-example.json new file mode 100644 index 000000000..aea507c6c --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Condition/Condition-appendicitis-example.json @@ -0,0 +1,78 @@ +{ + "resourceType": "Condition", + "id": "appendicitis-example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: appendicitis-example

meta:

clinicalStatus: Active (Details : {http://terminology.hl7.org/CodeSystem/condition-clinical code 'active' = 'Active)

verificationStatus: Confirmed (Details : {http://terminology.hl7.org/CodeSystem/condition-ver-status code 'confirmed' = 'Confirmed)

category: Encounter Diagnosis (Details : {http://terminology.hl7.org/CodeSystem/condition-category code 'encounter-diagnosis' = 'Encounter Diagnosis', given as 'Encounter Diagnosis'})

severity: Severe (severity modifier) (Details : {SNOMED CT code '24484000' = 'Severe', given as 'Severe (severity modifier)'})

code: Appendicitis (Details : {SNOMED CT code '74400008' = 'Appendicitis', given as 'Appendicitis (disorder)'})

bodySite: Appendix structure (Details : {SNOMED CT code '66754008' = 'Appendix', given as 'Appendix structure'})

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

encounter: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

onset: May 24, 2012 12:00:00 AM

recordedDate: May 24, 2012 12:00:00 AM

" + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "active" + } + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ] + } + ], + "severity": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "24484000", + "display": "Severe (severity modifier)" + } + ] + }, + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "74400008", + "display": "Appendicitis (disorder)" + } + ], + "text": "Appendicitis" + }, + "bodySite": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "66754008", + "display": "Appendix structure" + } + ] + } + ], + "subject": { + "reference": "Patient/example" + }, + "encounter": { + "reference": "Encounter/example" + }, + "onsetDateTime": "2012-05-24T00:00:00+00:00", + "recordedDate": "2012-05-24T00:00:00+00:00" +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Condition/Condition-example.json b/evaluator.cli/src/test/resources/r4/example/Condition/Condition-example.json new file mode 100644 index 000000000..290db035e --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Condition/Condition-example.json @@ -0,0 +1,92 @@ +{ + "resourceType": "Condition", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-condition" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

clinicalStatus: Active (Details : {http://terminology.hl7.org/CodeSystem/condition-clinical code 'active' = 'Active)

verificationStatus: Confirmed (Details : {http://terminology.hl7.org/CodeSystem/condition-ver-status code 'confirmed' = 'Confirmed)

category: Problem List Item (Details : {http://terminology.hl7.org/CodeSystem/condition-category code 'problem-list-item' = 'Problem List Item', given as 'Problem List Item'})

severity: Severe (severity modifier) (Details : {SNOMED CT code '24484000' = 'Severe', given as 'Severe (severity modifier)'})

code: Burnt Ear (Details : {SNOMED CT code '39065001' = 'Burn of ear', given as 'Burn of ear'})

bodySite: Left Ear (Details : {SNOMED CT code '49521004' = 'Left external ear', given as 'Left external ear structure'})

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

encounter: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

onset: May 24, 2012 12:00:00 AM

recordedDate: May 24, 2012 12:00:00 AM

Stages

-Summary
*stage II (Details : {SNOMED CT code '258219007' = 'Stage 2', given as 'stage II'})
" + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "active" + } + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ] + } + ], + "severity": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "24484000", + "display": "Severe (severity modifier)" + } + ] + }, + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "39065001", + "display": "Burn of ear" + } + ], + "text": "Burnt Ear" + }, + "bodySite": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "49521004", + "display": "Left external ear structure" + } + ], + "text": "Left Ear" + } + ], + "subject": { + "reference": "Patient/example" + }, + "encounter": { + "reference": "Encounter/example" + }, + "onsetDateTime": "2012-05-24T00:00:00+00:00", + "recordedDate": "2012-05-24T00:00:00+00:00", + "stage": [ + { + "summary": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "258219007", + "display": "stage II" + } + ] + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Condition/Condition-hc1.json b/evaluator.cli/src/test/resources/r4/example/Condition/Condition-hc1.json new file mode 100644 index 000000000..b8c2c6b98 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Condition/Condition-hc1.json @@ -0,0 +1,53 @@ +{ + "resourceType": "Condition", + "id": "hc1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: hc1

meta:

clinicalStatus: Active (Details : {http://terminology.hl7.org/CodeSystem/condition-clinical code 'active' = 'Active', given as 'Active'})

verificationStatus: Confirmed (Details : {http://terminology.hl7.org/CodeSystem/condition-ver-status code 'confirmed' = 'Confirmed', given as 'Confirmed'})

category: Health Concern (Details : {http://hl7.org/fhir/us/core/CodeSystem/condition-category code 'health-concern' = 'Health Concern', given as 'Health Concern'})

code: Cost of medications (Details )

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

onset: 14/12/2007 12:00:00 AM

" + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "active", + "display": "Active" + } + ], + "text": "Active" + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/condition-category", + "code": "health-concern", + "display": "Health Concern" + } + ], + "text": "Health Concern" + } + ], + "code": { + "text": "Cost of medications" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "onsetDateTime": "2007-12-14" +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Coverage/Coverage-example.json b/evaluator.cli/src/test/resources/r4/example/Coverage/Coverage-example.json new file mode 100644 index 000000000..a4b4004b6 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Coverage/Coverage-example.json @@ -0,0 +1,56 @@ +{ + "resourceType": "Coverage", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-coverage" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: 12345

status: active

type: Other Private Insurance (Details : {urn:oid:2.16.840.1.113883.3.221.5 code '59' = '59', given as 'Other Private Insurance'})

policyHolder: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

subscriber: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

beneficiary: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

dependent: 0

relationship: self (Details : {[not stated] code 'self' = 'self)

period: May 23, 2011 12:00:00 AM --> May 23, 2012 12:00:00 AM

payor: Generated Summary: id: example; ??; active; Organizational team; name: Health Level Seven International; ph: (+1) 734-677-7777, fax: (+1) 734-677-6622, hq@HL7.org

order: 9

" + }, + "identifier": [ + { + "system": "http://benefitsinc.com/certificate", + "value": "12345" + } + ], + "status": "active", + "type": { + "coding": [ + { + "system": "urn:oid:2.16.840.1.113883.3.221.5", + "code": "59", + "display": "Other Private Insurance" + } + ] + }, + "policyHolder": { + "reference": "Patient/example" + }, + "subscriber": { + "reference": "Patient/example" + }, + "beneficiary": { + "reference": "Patient/example" + }, + "dependent": "0", + "relationship": { + "coding": [ + { + "code": "self" + } + ] + }, + "period": { + "start": "2011-05-23", + "end": "2012-05-23" + }, + "payor": [ + { + "reference": "Organization/example" + } + ], + "order": 9 +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Device/Device-example.json b/evaluator.cli/src/test/resources/r4/example/Device/Device-example.json new file mode 100644 index 000000000..8b0f13503 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Device/Device-example.json @@ -0,0 +1,69 @@ +{ + "resourceType": "Device", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-device" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: 345675, Serial Number = AMID-342135-8464

UdiCarriers

-DeviceIdentifierCarrierHRF
*09504000059118(01)09504000059118(17)141120(10)7654321D(21)10987654d321

status: active

manufacturer: Acme Devices, Inc

lotNumber: 43453424

modelNumber: AB 45-J

type: ECG (Details : {SNOMED CT code '86184003' = 'Electrocardiographic monitor and recorder', given as 'Electrocardiographic monitor and recorder'})

patient: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

contact: ph: ext 4352

note: QA Checked

" + }, + "identifier": [ + { + "system": "http://goodcare.org/devices/id", + "value": "345675" + }, + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/identifier-type", + "code": "SNO" + } + ], + "text": "Serial Number" + }, + "value": "AMID-342135-8464" + } + ], + "udiCarrier": [ + { + "deviceIdentifier": "09504000059118", + "carrierHRF": "(01)09504000059118(17)141120(10)7654321D(21)10987654d321" + } + ], + "status": "active", + "manufacturer": "Acme Devices, Inc", + "lotNumber": "43453424", + "modelNumber": "AB 45-J", + "type": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "86184003", + "display": "Electrocardiographic monitor and recorder" + } + ], + "text": "ECG" + }, + "patient": { + "reference": "Patient/example" + }, + "contact": [ + { + "system": "phone", + "value": "ext 4352" + } + ], + "note": [ + { + "authorReference": { + "reference": "Practitioner/example" + }, + "time": "2015-06-28T14:03:32+10:00", + "text": "QA Checked" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Device/Device-udi-1.json b/evaluator.cli/src/test/resources/r4/example/Device/Device-udi-1.json new file mode 100644 index 000000000..e25834f1d --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Device/Device-udi-1.json @@ -0,0 +1,36 @@ +{ + "resourceType": "Device", + "id": "udi-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: udi-1

meta:

UdiCarriers

-DeviceIdentifierCarrierHRF
*09504000059118(01)09504000059118(17)141120(10)7654321D(21)10987654d321

status: active

expirationDate: 20/11/2014 12:00:00 AM

lotNumber: 7654321D

serialNumber: 10987654d321

type: Coated femoral stem prosthesis, modular (Details : {SNOMED CT code '468063009' = 'Coated femoral stem prosthesis, modular (physical object)', given as 'Coated femoral stem prosthesis, modular'})

patient: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

" + }, + "udiCarrier": [ + { + "deviceIdentifier": "09504000059118", + "carrierHRF": "(01)09504000059118(17)141120(10)7654321D(21)10987654d321" + } + ], + "status": "active", + "expirationDate": "2014-11-20", + "lotNumber": "7654321D", + "serialNumber": "10987654d321", + "type": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "468063009", + "display": "Coated femoral stem prosthesis, modular" + } + ] + }, + "patient": { + "reference": "Patient/example", + "display": "Amy Shaw" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Device/Device-udi-2.json b/evaluator.cli/src/test/resources/r4/example/Device/Device-udi-2.json new file mode 100644 index 000000000..31b8e81e6 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Device/Device-udi-2.json @@ -0,0 +1,46 @@ +{ + "resourceType": "Device", + "id": "udi-2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: udi-2

meta:

UdiCarriers

-DeviceIdentifierCarrierHRFEntryType
*99863313444316(01)99863313444316(17)220101(10)M320(21)AC221rfid

status: active

manufacturer: ACME Biomedical

expirationDate: 01/01/2022 12:00:00 AM

lotNumber: M320

serialNumber: AC221

DeviceNames

-NameType
*ACME Defibrillator Analyzer, with Transcutaneous Pacemaker Inputudi-label-name

modelNumber: 1.0

type: Implant (Details : {SNOMED CT code '19257004' = 'Defibrillator, device', given as 'Defibrillator, device'})

patient: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

" + }, + "udiCarrier": [ + { + "deviceIdentifier": "99863313444316", + "carrierHRF": "(01)99863313444316(17)220101(10)M320(21)AC221", + "entryType": "rfid" + } + ], + "status": "active", + "manufacturer": "ACME Biomedical", + "expirationDate": "2022-01-01", + "lotNumber": "M320", + "serialNumber": "AC221", + "deviceName": [ + { + "name": "ACME Defibrillator Analyzer, with Transcutaneous Pacemaker Input", + "type": "udi-label-name" + } + ], + "modelNumber": "1.0", + "type": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "19257004", + "display": "Defibrillator, device" + } + ], + "text": "Implant" + }, + "patient": { + "reference": "Patient/example", + "display": "Amy Shaw" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Device/Device-udi-3.json b/evaluator.cli/src/test/resources/r4/example/Device/Device-udi-3.json new file mode 100644 index 000000000..a2f243ddc --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Device/Device-udi-3.json @@ -0,0 +1,49 @@ +{ + "resourceType": "Device", + "id": "udi-3", + "meta": { + "versionId": "2", + "lastUpdated": "2019-04-11T16:21:48.921+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: udi-3

meta:

UdiCarriers

-DeviceIdentifierCarrierHRFEntryType
*987979879879(01)987979879879(11)191015(17)220101(10)M320(21)AC221rfid

status: active

manufacturer: ACME Biomedical

manufactureDate: 15/10/2015 12:00:00 AM

expirationDate: 01/01/2022 12:00:00 AM

lotNumber: M320

serialNumber: AC221

DeviceNames

-NameType
*ACME Knee Replacement Deviceudi-label-name

modelNumber: 1.0

type: Knee joint prosthesis (Details : {SNOMED CT code '109228008' = 'Knee joint prosthesis', given as 'Knee joint prosthesis'})

patient: Amy V. Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

" + }, + "udiCarrier": [ + { + "deviceIdentifier": "987979879879", + "carrierHRF": "(01)987979879879(11)191015(17)220101(10)M320(21)AC221", + "entryType": "rfid" + } + ], + "status": "active", + "manufacturer": "ACME Biomedical", + "manufactureDate": "2015-10-15", + "expirationDate": "2022-01-01", + "lotNumber": "M320", + "serialNumber": "AC221", + "deviceName": [ + { + "name": "ACME Knee Replacement Device", + "type": "udi-label-name" + } + ], + "modelNumber": "1.0", + "type": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "109228008", + "display": "Knee joint prosthesis" + } + ], + "text": "Knee joint prosthesis" + }, + "patient": { + "reference": "Patient/example", + "display": "Amy V. Shaw" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/DeviceRequest/DeviceRequest-example.json b/evaluator.cli/src/test/resources/r4/example/DeviceRequest/DeviceRequest-example.json new file mode 100644 index 000000000..5bc40f103 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/DeviceRequest/DeviceRequest-example.json @@ -0,0 +1,16 @@ +{ + "resourceType": "DeviceRequest", + "id": "example", + "text": { + "status": "generated", + "div": "
\n

\n Generated Narrative with Details\n

\n

\n id : example\n

\n

\n status : completed\n

\n

\n intent : original-order\n

\n

\n code : Device/example\n

\n

\n subject : Patient/example\n

\n
" + }, + "status": "completed", + "intent": "original-order", + "codeReference": { + "reference": "Device/example" + }, + "subject": { + "reference": "Patient/example" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/DeviceRequest/DeviceRequest-negation-example.json b/evaluator.cli/src/test/resources/r4/example/DeviceRequest/DeviceRequest-negation-example.json new file mode 100644 index 000000000..669569bb6 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/DeviceRequest/DeviceRequest-negation-example.json @@ -0,0 +1,47 @@ +{ + "resourceType": "DeviceRequest", + "id": "negation-example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: negation-example

status: completed

intent: original-order

code: Venous Foot Pumps (VFP) value set (Details : {[not stated] code 'null' = 'null)

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

authoredOn: Apr 5, 2016 1:20:00 PM

" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-doNotPerformReason", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "410534003", + "display": "Not indicated (qualifier value)" + } + ] + } + } + ], + "modifierExtension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/request-doNotPerform", + "valueBoolean": true + } + ], + "status": "completed", + "intent": "original-order", + "codeCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-reference", + "valueUri": "http://cts.nlm.nih.gov/fhir/2.16.840.1.113883.3.117.1.7.1.230" + } + ] + } + ], + "text": "Venous Foot Pumps (VFP) value set" + }, + "subject": { + "reference": "Patient/example" + }, + "authoredOn": "2016-04-05T09:20:00-04:00" +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/DeviceUseStatement/DeviceUseStatement-example.json b/evaluator.cli/src/test/resources/r4/example/DeviceUseStatement/DeviceUseStatement-example.json new file mode 100644 index 000000000..c82014c3a --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/DeviceUseStatement/DeviceUseStatement-example.json @@ -0,0 +1,26 @@ +{ + "resourceType": "DeviceUseStatement", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-deviceusestatement" + ] + }, + "text": { + "status": "generated", + "div": "" + }, + "identifier": [ + { + "system": "http:goodhealth.org/identifiers", + "value": "51ebb7a9-4e3a-4360-9a05-0cc2d869086f" + } + ], + "status": "active", + "subject": { + "reference": "Patient/example" + }, + "device": { + "reference": "Device/example" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/DiagnosticReport/DiagnosticReport-cardiology-report.json b/evaluator.cli/src/test/resources/r4/example/DiagnosticReport/DiagnosticReport-cardiology-report.json new file mode 100644 index 000000000..c65cd99ac --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/DiagnosticReport/DiagnosticReport-cardiology-report.json @@ -0,0 +1,40 @@ +{ + "resourceType": "DiagnosticReport", + "id": "cardiology-report", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: cardiology-report

meta:

status: final

category: Radiology (Details : {LOINC code 'LP29684-5' = 'LP29684-5', given as 'Radiology'})

code: MR Abdomen W contrast IV (Details : {LOINC code '36134-5' = 'MR Abdomen W contrast IV', given as 'MR Abdomen W contrast IV'})

subject: Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 02/01/2011 8:39:30 AM

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "LP29684-5", + "display": "Radiology" + } + ], + "text": "Radiology" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "36134-5", + "display": "MR Abdomen W contrast IV" + } + ], + "text": "MR Abdomen W contrast IV" + }, + "subject": { + "reference": "Patient/example" + }, + "effectiveDateTime": "2011-01-01T21:39:30.000Z" +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/DiagnosticReport/DiagnosticReport-cbc.json b/evaluator.cli/src/test/resources/r4/example/DiagnosticReport/DiagnosticReport-cbc.json new file mode 100644 index 000000000..43c440772 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/DiagnosticReport/DiagnosticReport-cbc.json @@ -0,0 +1,66 @@ +{ + "resourceType": "DiagnosticReport", + "id": "cbc", + "meta": { + "versionId": "205814", + "lastUpdated": "2016-03-09T15:35:58.045+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: cbc

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/v2-0074 code 'LAB' = 'Laboratory', given as 'Laboratory'})

code: Complete blood count (hemogram) panel - Blood by Automated count (Details : {LOINC code '58410-2' = 'Complete blood count (hemogram) panel - Blood by Automated count', given as 'Complete blood count (hemogram) panel - Blood by Automated count'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

issued: 06/07/2005 10:45:33 AM

performer: Acme Laboratory, Inc. Generated Summary: id: acme-lab; 1144221847, 12D4567890; active; Healthcare Provider; name: Acme Labs; ph: (+1) 734-677-7777, hq@acme.org

result:

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "58410-2", + "display": "Complete blood count (hemogram) panel - Blood by Automated count" + } + ] + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "issued": "2005-07-06T11:45:33+11:00", + "performer": [ + { + "reference": "Organization/acme-lab", + "display": "Acme Laboratory, Inc" + } + ], + "result": [ + { + "reference": "Observation/neutrophils", + "display": "NEUTROPHILS" + }, + { + "reference": "Observation/mchc", + "display": "MCHC" + }, + { + "reference": "Observation/hemoglobin", + "display": "HEMOGLOBIN" + }, + { + "reference": "Observation/erythrocytes", + "display": "ERYTHROCYTES" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/DiagnosticReport/DiagnosticReport-chest-xray-report.json b/evaluator.cli/src/test/resources/r4/example/DiagnosticReport/DiagnosticReport-chest-xray-report.json new file mode 100644 index 000000000..98ee35602 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/DiagnosticReport/DiagnosticReport-chest-xray-report.json @@ -0,0 +1,46 @@ +{ + "resourceType": "DiagnosticReport", + "id": "chest-xray-report", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: chest-xray-report

meta:

status: final

category: Radiology (Details : {LOINC code 'LP29684-5' = 'LP29684-5', given as 'Radiology'})

code: Portable XR Chest Views (Details : {LOINC code '30746-2' = 'Portable XR Chest Views', given as 'Portable XR Chest Views'})

subject: Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: Feb 20, 2007

effective: Feb 3, 2019 7:43:30 PM

presentedForm:

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "LP29684-5", + "display": "Radiology" + } + ], + "text": "Radiology" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "30746-2", + "display": "Portable XR Chest Views" + } + ], + "text": "Portable XR Chest Views" + }, + "subject": { + "reference": "Patient/example" + }, + "effectiveDateTime": "2019-02-03T19:43:30.000Z", + "presentedForm": [ + { + "contentType": "application/xhtml", + "data": "PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgVHJhbnNpdGlvbmFsLy9FTiIgIkRURC94aHRtbDEtdHJhbnNpdGlvbmFsLmR0ZCI+CgkJPGh0bWwgeG1sOmxhbmc9ImVuIiBsYW5nPSJlbiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGh0bWwiPgkJCiAgPGhlYWQ+CiAgICA8dGl0bGU+Q2hlc3QgUG9ydGFibGU8L3RpdGxlPgogIDwvaGVhZD4KICA8Ym9keT4KICAgIDxwPlJlc3VsdDwvcD4KICAgIDxici8+Q2hlc3QgUG9ydGFibGUgCiAgICAgIAogICAgICA8cD5JTkRJQ0FUSU9OL0NMSU5JQ0FMIFFVRVNUSU9OOiBGZXZlciAvIFBuZXVtb25pYTwvcD4KICAgICAgCiAgICAgIDxwPkNPTVBBUklTT046IE5vbmUuPC9wPgogICAgICAKICAgICAgPHA+RklORElOR1M6PC9wPgogICAgICAKICAgICAgPHA+TElORVMgQU5EIFRVQkVTOiBOb25lLjwvcD4KICAgICAgCiAgICAgIDxwPkxVTkdTIEFORCBQTEVVUkE6PC9wPgogICAgICA8YnIvPkNsZWFyIGx1bmdzLiBOb3JtYWwgcHVsbW9uYXJ5IHZhc2N1bGFyaXR5LgogICAgICA8YnIvPk5vIHBsZXVyYWwgZWZmdXNpb24uCiAgICAgIDxici8+Tm8gcG5ldW1vdGhvcmF4LgogICAgICAKICAgICAgPHA+SEVBUlQsIE1FRElBU1RJTlVNIEFORCBISUxBOjwvcD4KICAgICAgPGJyLz5IZWFydCBpcyBub3JtYWwgaW4gc2l6ZS4KICAgICAgPGJyLz5Ob3JtYWwgbWVkaWFzdGluYWwgYW5kIGhpbGFyIGNvbnRvdXIuCiAgICAgIAogICAgICA8cD5CT05FUyBBTkQgU09GVCBUSVNTVUVTOjwvcD4KICAgICAgPGJyLz5ObyBhY3V0ZSBhYm5vcm1hbGl0eS4KICAgICAgCiAgICAgIDxwPklNUFJFU1NJT046PC9wPgogICAgICA8YnIvPk5vIGFjdXRlIGFibm9ybWFsaXR5LgogICAgICAKICAgICAgPHA+V1NOOiBPMTlJQy1TQy0wMjExPC9wPgogICAgICAKICAgICAgPHA+RGljdGF0ZWQgQnk6IEN1cmUgTUQsIENocmlzdGluZSBKCiAgICAgICAgRGljdGF0ZWQgRGF0ZS9UaW1lOiAwMi8wMy8xOSA3OjQ0IHBtCiAgICAgICAgUmV2aWV3ZWQgQnk6IEN1cmUgTUQsIENocmlzdGluZSBKCiAgICAgICAgU2lnbmVkIEJ5OiBDdXJlIE1ELCBDaHJpc3RpbmUgSgogICAgICAgIFNpZ25lZCBEYXRlL1RpbWU6IDAyLzAzLzE5IDc6NDQgcG0KICAgICAgICBUcmFuc2NyaWJlZCBCeTogQ1NCCiAgICAgICAgVHJhbnNjcmliZWQgRGF0ZS9UaW1lOiAwMi8wMy8xOSA3OjQzIHBtPC9wPgogICAgICAKICAgICAgCiAgPC9ib2R5Pgo8L2h0bWw+Cg==" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/DiagnosticReport/DiagnosticReport-example.json b/evaluator.cli/src/test/resources/r4/example/DiagnosticReport/DiagnosticReport-example.json new file mode 100644 index 000000000..dba33be6b --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/DiagnosticReport/DiagnosticReport-example.json @@ -0,0 +1,45 @@ +{ + "resourceType": "DiagnosticReport", + "id": "example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/v2-0074 code 'LAB' = 'Laboratory', given as 'Laboratory'})

code: Complete blood count (hemogram) panel - Blood by Automated count (Details : {LOINC code '58410-2' = 'Complete blood count (hemogram) panel - Blood by Automated count', given as 'Complete blood count (hemogram) panel - Blood by Automated count'})

subject: Peter Chalmers. Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

effective: Jul 5, 2005 12:00:00 AM

issued: Jul 6, 2005 12:45:33 AM

performer: Generated Summary: id: example; ??; active; Organizational team; name: Health Level Seven International; ph: (+1) 734-677-7777, fax: (+1) 734-677-6622, hq@HL7.org

result: Generated Summary: id: example; Vital Signs; Hemoglobin [Mass/volume] in Venous blood; effective: Apr 2, 2013 9:30:10 AM --> Apr 5, 2013 9:30:10 AM; issued: Apr 3, 2013 2:30:10 PM; 7.2 g/dl; Below low normal; Superficial forearm vein; Injection to forearm

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "58410-2", + "display": "Complete blood count (hemogram) panel - Blood by Automated count" + } + ] + }, + "subject": { + "reference": "Patient/example", + "display": "Peter Chalmers" + }, + "effectiveDateTime": "2005-07-05", + "issued": "2005-07-06T11:45:33+11:00", + "performer": [ + { + "reference": "Organization/example" + } + ], + "result": [ + { + "reference": "Observation/example" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/DiagnosticReport/DiagnosticReport-metabolic-panel.json b/evaluator.cli/src/test/resources/r4/example/DiagnosticReport/DiagnosticReport-metabolic-panel.json new file mode 100644 index 000000000..0deb69f13 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/DiagnosticReport/DiagnosticReport-metabolic-panel.json @@ -0,0 +1,86 @@ +{ + "resourceType": "DiagnosticReport", + "id": "metabolic-panel", + "meta": { + "versionId": "205790", + "lastUpdated": "2016-03-09T15:35:58.018+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: metabolic-panel

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/v2-0074 code 'LAB' = 'Laboratory', given as 'Laboratory'})

code: Comprehensive metabolic 2000 panel - Serum or Plasma (Details : {LOINC code '24323-8' = 'Comprehensive metabolic 2000 panel - Serum or Plasma', given as 'Comprehensive metabolic 2000 panel - Serum or Plasma'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 04/07/2005 12:00:00 AM

issued: 06/07/2005 10:45:33 AM

performer: Acme Laboratory, Inc. Generated Summary: id: acme-lab; 1144221847, 12D4567890; active; Healthcare Provider; name: Acme Labs; ph: (+1) 734-677-7777, hq@acme.org

result:

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "24323-8", + "display": "Comprehensive metabolic 2000 panel - Serum or Plasma" + } + ] + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-04", + "issued": "2005-07-06T11:45:33+11:00", + "performer": [ + { + "reference": "Organization/acme-lab", + "display": "Acme Laboratory, Inc" + } + ], + "result": [ + { + "reference": "Observation/serum-total-bilirubin", + "display": "TOTAL BILIRUBIN" + }, + { + "reference": "Observation/serum-sodium", + "display": "SODIUM" + }, + { + "reference": "Observation/serum-potassium", + "display": "Potassium" + }, + { + "reference": "Observation/serum-creatinine", + "display": "CREATININE" + }, + { + "reference": "Observation/serum-co2", + "display": "TOTAL CO2" + }, + { + "reference": "Observation/serum-chloride", + "display": "CHLORIDE" + }, + { + "reference": "Observation/serum-calcium", + "display": "CALCIUM" + }, + { + "reference": "Observation/bun", + "display": "BUN" + }, + { + "reference": "Observation/blood-glucose", + "display": "GLUCOSE" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/DiagnosticReport/DiagnosticReport-note-example.json b/evaluator.cli/src/test/resources/r4/example/DiagnosticReport/DiagnosticReport-note-example.json new file mode 100644 index 000000000..4b99588bf --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/DiagnosticReport/DiagnosticReport-note-example.json @@ -0,0 +1,46 @@ +{ + "resourceType": "DiagnosticReport", + "id": "note-example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-diagnosticreport-note" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: note-example

meta:

status: final

category: Radiology (Details : {LOINC code 'LP29684-5' = 'LP29684-5', given as 'Radiology'})

code: Portable XR Chest Views (Details : {LOINC code '30746-2' = 'Portable XR Chest Views', given as 'Portable XR Chest Views'})

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

effective: Feb 3, 2019 7:43:30 PM

presentedForm:

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "LP29684-5", + "display": "Radiology" + } + ], + "text": "Radiology" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "30746-2", + "display": "Portable XR Chest Views" + } + ], + "text": "Portable XR Chest Views" + }, + "subject": { + "reference": "Patient/example" + }, + "effectiveDateTime": "2019-02-03T19:43:30.000Z", + "presentedForm": [ + { + "contentType": "application/xhtml", + "data": "PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgVHJhbnNpdGlvbmFsLy9FTiIgIkRURC94aHRtbDEtdHJhbnNpdGlvbmFsLmR0ZCI+CgkJPGh0bWwgeG1sOmxhbmc9ImVuIiBsYW5nPSJlbiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGh0bWwiPgkJCiAgPGhlYWQ+CiAgICA8dGl0bGU+Q2hlc3QgUG9ydGFibGU8L3RpdGxlPgogIDwvaGVhZD4KICA8Ym9keT4KICAgIDxwPlJlc3VsdDwvcD4KICAgIDxici8+Q2hlc3QgUG9ydGFibGUgCiAgICAgIAogICAgICA8cD5JTkRJQ0FUSU9OL0NMSU5JQ0FMIFFVRVNUSU9OOiBGZXZlciAvIFBuZXVtb25pYTwvcD4KICAgICAgCiAgICAgIDxwPkNPTVBBUklTT046IE5vbmUuPC9wPgogICAgICAKICAgICAgPHA+RklORElOR1M6PC9wPgogICAgICAKICAgICAgPHA+TElORVMgQU5EIFRVQkVTOiBOb25lLjwvcD4KICAgICAgCiAgICAgIDxwPkxVTkdTIEFORCBQTEVVUkE6PC9wPgogICAgICA8YnIvPkNsZWFyIGx1bmdzLiBOb3JtYWwgcHVsbW9uYXJ5IHZhc2N1bGFyaXR5LgogICAgICA8YnIvPk5vIHBsZXVyYWwgZWZmdXNpb24uCiAgICAgIDxici8+Tm8gcG5ldW1vdGhvcmF4LgogICAgICAKICAgICAgPHA+SEVBUlQsIE1FRElBU1RJTlVNIEFORCBISUxBOjwvcD4KICAgICAgPGJyLz5IZWFydCBpcyBub3JtYWwgaW4gc2l6ZS4KICAgICAgPGJyLz5Ob3JtYWwgbWVkaWFzdGluYWwgYW5kIGhpbGFyIGNvbnRvdXIuCiAgICAgIAogICAgICA8cD5CT05FUyBBTkQgU09GVCBUSVNTVUVTOjwvcD4KICAgICAgPGJyLz5ObyBhY3V0ZSBhYm5vcm1hbGl0eS4KICAgICAgCiAgICAgIDxwPklNUFJFU1NJT046PC9wPgogICAgICA8YnIvPk5vIGFjdXRlIGFibm9ybWFsaXR5LgogICAgICAKICAgICAgPHA+V1NOOiBPMTlJQy1TQy0wMjExPC9wPgogICAgICAKICAgICAgPHA+RGljdGF0ZWQgQnk6IEN1cmUgTUQsIENocmlzdGluZSBKCiAgICAgICAgRGljdGF0ZWQgRGF0ZS9UaW1lOiAwMi8wMy8xOSA3OjQ0IHBtCiAgICAgICAgUmV2aWV3ZWQgQnk6IEN1cmUgTUQsIENocmlzdGluZSBKCiAgICAgICAgU2lnbmVkIEJ5OiBDdXJlIE1ELCBDaHJpc3RpbmUgSgogICAgICAgIFNpZ25lZCBEYXRlL1RpbWU6IDAyLzAzLzE5IDc6NDQgcG0KICAgICAgICBUcmFuc2NyaWJlZCBCeTogQ1NCCiAgICAgICAgVHJhbnNjcmliZWQgRGF0ZS9UaW1lOiAwMi8wMy8xOSA3OjQzIHBtPC9wPgogICAgICAKICAgICAgCiAgPC9ib2R5Pgo8L2h0bWw+Cg==" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/DiagnosticReport/DiagnosticReport-urinalysis.json b/evaluator.cli/src/test/resources/r4/example/DiagnosticReport/DiagnosticReport-urinalysis.json new file mode 100644 index 000000000..01bc15bd9 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/DiagnosticReport/DiagnosticReport-urinalysis.json @@ -0,0 +1,119 @@ +{ + "resourceType": "DiagnosticReport", + "id": "urinalysis", + "meta": { + "versionId": "209563", + "lastUpdated": "2016-04-19T17:28:11.308+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urinalysis

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/v2-0074 code 'LAB' = 'Laboratory', given as 'Laboratory'})

code: Complete Urinalysis (Details : {LOINC code '24356-8' = 'Urinalysis complete panel - Urine', given as 'Urinalysis complete panel - Urine'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

issued: 06/07/2005 10:45:33 AM

performer: Acme Laboratory, Inc. Generated Summary: id: acme-lab; 1144221847, 12D4567890; active; Healthcare Provider; name: Acme Labs; ph: (+1) 734-677-7777, hq@acme.org

result:

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "24356-8", + "display": "Urinalysis complete panel - Urine" + } + ], + "text": "Complete Urinalysis" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "issued": "2005-07-06T11:45:33+11:00", + "performer": [ + { + "reference": "Organization/acme-lab", + "display": "Acme Laboratory, Inc" + } + ], + "result": [ + { + "reference": "Observation/urine-color", + "display": "COLOR=Yellow" + }, + { + "reference": "Observation/urine-clarity", + "display": "APPEARANCE=Hazy" + }, + { + "reference": "Observation/urine-glucose", + "display": "GLUCOSE=Negative" + }, + { + "reference": "Observation/urine-bilirubin", + "display": "BILIRUBIN=Negative" + }, + { + "reference": "Observation/urine-ketone", + "display": "KETONE=Negative" + }, + { + "reference": "Observation/usg", + "display": "SPEC GRAV=1.017" + }, + { + "reference": "Observation/urine-ph", + "display": "PH=6 (pH)" + }, + { + "reference": "Observation/urine-protein", + "display": "PROTEIN=Negative" + }, + { + "reference": "Observation/urobilinogen", + "display": "UROBILINOGEN=0.3 mg/dL" + }, + { + "reference": "Observation/urine-nitrite", + "display": "NITRITE=Positive" + }, + { + "reference": "Observation/urine-hemoglobin", + "display": "BLOOD=Trace" + }, + { + "reference": "Observation/urine-leukocyte-esterase", + "display": "LEUK ESTERASE=2+e" + }, + { + "reference": "Observation/urine-sediment", + "display": "COMMENT=Recommend Urine Culture" + }, + { + "reference": "Observation/urine-bacteria", + "display": "BACTERIA=4+" + }, + { + "reference": "Observation/urine-epi-cells", + "display": "EPITHELIAL CELLS=1-5 cells/HPF" + }, + { + "reference": "Observation/urine-wbcs", + "display": "WBC=20-30 cells/HPF" + }, + { + "reference": "Observation/urine-rbcs", + "display": "RBC=Occasional cells/HPF" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/DocumentReference/DocumentReference-episode-summary.json b/evaluator.cli/src/test/resources/r4/example/DocumentReference/DocumentReference-episode-summary.json new file mode 100644 index 000000000..8c436eede --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/DocumentReference/DocumentReference-episode-summary.json @@ -0,0 +1,74 @@ +{ + "resourceType": "DocumentReference", + "id": "episode-summary", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: episode-summary

meta:

identifier: urn:oid:2.16.840.1.113883.19.5.99999.1

status: current

type: CCD Document (Details : {LOINC code '34133-9' = 'Summary of episode note', given as 'Summary of episode note'})

category: Clinical Note (Details : {http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category code 'clinical-note' = 'Clinical Note', given as 'Clinical Note'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

date: 10/03/2016 2:29:46 AM

author: Ronald Bone, MD. Generated Summary: id: practitioner-1; 9941339108, 25456; Ronald Bone

description: Pulmonology clinic acute visit

Contents

-AttachmentFormat
*Documents following C-CDA constraints using a structured body (Details: urn:oid:1.3.6.1.4.1.19376.1.2.3 code urn:hl7-org:sdwg:ccda-structuredBody:2.1 = 'urn:hl7-org:sdwg:ccda-structuredBody:2.1', stated as 'Documents following C-CDA constraints using a structured body')

Contexts

-Period
*23/12/2004 8:00:00 AM --> 23/12/2004 8:01:00 AM
" + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.19.5.99999.1" + } + ], + "status": "current", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34133-9", + "display": "Summary of episode note" + } + ], + "text": "CCD Document" + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ], + "text": "Clinical Note" + } + ], + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "date": "2016-03-09T15:29:46Z", + "author": [ + { + "reference": "Practitioner/practitioner-1", + "display": "Ronald Bone, MD" + } + ], + "description": "Pulmonology clinic acute visit", + "content": [ + { + "attachment": { + "contentType": "text/plain", + "url": "/Binary/1-note", + "title": "Uri where the data can be found: [base]/Binary/1-note" + }, + "format": { + "system": "urn:oid:1.3.6.1.4.1.19376.1.2.3", + "code": "urn:hl7-org:sdwg:ccda-structuredBody:2.1", + "display": "Documents following C-CDA constraints using a structured body" + } + } + ], + "context": { + "period": { + "start": "2004-12-23T08:00:00+11:00", + "end": "2004-12-23T08:01:00+11:00" + } + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Encounter/Encounter-1036.json b/evaluator.cli/src/test/resources/r4/example/Encounter/Encounter-1036.json new file mode 100644 index 000000000..5c114219a --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Encounter/Encounter-1036.json @@ -0,0 +1,17 @@ +{ + "resourceType": "Encounter", + "id": "1036", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: 1036

status: in-progress

class: inpatient encounter (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode code IMP = 'inpatient encounter', stated as 'inpatient encounter')

subject: Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

" + }, + "status": "in-progress", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "IMP", + "display": "inpatient encounter" + }, + "subject": { + "reference": "Patient/example" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Encounter/Encounter-example-1.json b/evaluator.cli/src/test/resources/r4/example/Encounter/Encounter-example-1.json new file mode 100644 index 000000000..4a77c87f2 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Encounter/Encounter-example-1.json @@ -0,0 +1,38 @@ +{ + "resourceType": "Encounter", + "id": "example-1", + "meta": { + "lastUpdated": "2017-05-26T11:56:57.250-04:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example-1

meta:

status: finished

class: ambulatory (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode code AMB = 'ambulatory', stated as 'ambulatory')

type: Office Visit (Details : {http://www.ama-assn.org/go/cpt code '99201' = '99201)

subject: Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

period: 02/11/2015 9:00:14 AM --> 02/11/2015 10:00:14 AM

" + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB", + "display": "ambulatory" + }, + "type": [ + { + "coding": [ + { + "system": "http://www.ama-assn.org/go/cpt", + "code": "99201" + } + ], + "text": "Office Visit" + } + ], + "subject": { + "reference": "Patient/example" + }, + "period": { + "start": "2015-11-01T17:00:14-05:00", + "end": "2015-11-01T18:00:14-05:00" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Encounter/Encounter-example.json b/evaluator.cli/src/test/resources/r4/example/Encounter/Encounter-example.json new file mode 100644 index 000000000..1dc8b69db --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Encounter/Encounter-example.json @@ -0,0 +1,84 @@ +{ + "resourceType": "Encounter", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

status: in-progress

class: inpatient encounter (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode code IMP = 'inpatient encounter', stated as 'inpatient encounter')

type: Inpatient Hospital Care (Details : {http://www.ama-assn.org/go/cpt code '99223' = '99223', given as 'Inpatient Hospital Care'})

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

Diagnoses

-ExtensionCondition
*Generated Summary: id: appendicitis-example; Active; Confirmed; Encounter Diagnosis; Severe (severity modifier); Appendicitis; Appendix structure; onset: May 24, 2012 12:00:00 AM; recordedDate: May 24, 2012 12:00:00 AM
" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter-procedure", + "extension": [ + { + "url": "type", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "80146002", + "display": "Excision of appendix (procedure)" + } + ], + "text": "Excision of appendix (procedure)" + } + }, + { + "url": "rank", + "valuePositiveInt": 1 + }, + { + "url": "procedure", + "valueReference": { + "reference": "Procedure/example" + } + } + ] + } + ], + "status": "in-progress", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "IMP", + "display": "inpatient encounter" + }, + "type": [ + { + "coding": [ + { + "system": "http://www.ama-assn.org/go/cpt", + "code": "99223", + "display": "Inpatient Hospital Care" + } + ] + } + ], + "subject": { + "reference": "Patient/example" + }, + "diagnosis": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter-diagnosisPresentOnAdmission", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/ex-diagnosis-on-admission", + "code": "y", + "display": "Yes" + } + ] + } + } + ], + "condition": { + "reference": "Condition/appendicitis-example" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/FamilyMemberHistory/FamilyMemberHistory-example.json b/evaluator.cli/src/test/resources/r4/example/FamilyMemberHistory/FamilyMemberHistory-example.json new file mode 100644 index 000000000..5ce3952ff --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/FamilyMemberHistory/FamilyMemberHistory-example.json @@ -0,0 +1,76 @@ +{ + "resourceType": "FamilyMemberHistory", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-familymemberhistory" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

status: completed

patient: Peter Patient. Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

date: Mar 18, 2011 5:49:10 PM

relationship: FATHER (Details : {http://terminology.hl7.org/CodeSystem/v3-RoleCode code 'FTH' = 'father', given as 'FATHER'})

Conditions

-ExtensionCodeOutcomeOnset[x]Note
*Family history of myocardial infarction in male relative of first degree, age known (situation) (Details : {SNOMED CT code '315619001' = 'FH myocardial infarction male first degree age known', given as 'Family history of myocardial infarction in male relative of first degree, age known (situation)'})Congenital bent nose (Details : {SNOMED CT code '520004' = 'Congenital bent nose', given as 'Congenital bent nose'})74 yr (Details: UCUM code a = 'a')Was fishing at the time. At least he went doing something he loved.
" + }, + "status": "completed", + "patient": { + "reference": "Patient/example", + "display": "Peter Patient" + }, + "date": "2011-03-18T17:49:10+00:00", + "relationship": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "code": "FTH", + "display": "FATHER" + } + ] + }, + "condition": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "399166001", + "display": "Fatal" + } + ] + } + } + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "315619001", + "display": "Family history of myocardial infarction in male relative of first degree, age known (situation)" + } + ], + "text": "Family history of myocardial infarction in male relative of first degree, age known (situation)" + }, + "outcome": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "520004", + "display": "Congenital bent nose" + } + ] + }, + "onsetAge": { + "value": 74, + "unit": "yr", + "system": "http://unitsofmeasure.org", + "code": "a" + }, + "note": [ + { + "text": "Was fishing at the time. At least he went doing something he loved." + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Flag/Flag-example.json b/evaluator.cli/src/test/resources/r4/example/Flag/Flag-example.json new file mode 100644 index 000000000..60f2a7262 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Flag/Flag-example.json @@ -0,0 +1,53 @@ +{ + "resourceType": "Flag", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-flag" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: 12345

status: inactive

category: admin (Details : {http://example.org/local code 'admin' = 'admin', given as 'Admin'})

code: Patient has a big dog at his home. Always always wear a suit of armor or take other active counter-measures (Details : {http://example.org/local code 'bigdog' = 'bigdog', given as 'Big dog'})

subject: Peter Patient. Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

period: Jan 17, 2015 12:00:00 AM --> Dec 1, 2016 12:00:00 AM

author: Nancy Nurse. Generated Summary: id: example; 23; active; Adam Careful

" + }, + "identifier": [ + { + "value": "12345" + } + ], + "status": "inactive", + "category": [ + { + "coding": [ + { + "system": "http://example.org/local", + "code": "admin", + "display": "Admin" + } + ], + "text": "admin" + } + ], + "code": { + "coding": [ + { + "system": "http://example.org/local", + "code": "bigdog", + "display": "Big dog" + } + ], + "text": "Patient has a big dog at his home. Always always wear a suit of armor or take other active counter-measures" + }, + "subject": { + "reference": "Patient/example", + "display": "Peter Patient" + }, + "period": { + "start": "2015-01-17", + "end": "2016-12-01" + }, + "author": { + "reference": "Practitioner/example", + "display": "Nancy Nurse" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Goal/Goal-example.json b/evaluator.cli/src/test/resources/r4/example/Goal/Goal-example.json new file mode 100644 index 000000000..e85256ba4 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Goal/Goal-example.json @@ -0,0 +1,92 @@ +{ + "resourceType": "Goal", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-goal" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: 123

lifecycleStatus: on-hold

category: Dietary (Details : {http://terminology.hl7.org/CodeSystem/goal-category code 'dietary' = 'Dietary)

priority: high (Details : {http://terminology.hl7.org/CodeSystem/goal-priority code 'high-priority' = 'High Priority', given as 'High Priority'})

description: Target weight is 160 to 180 lbs. (Details )

subject: Peter James Chalmers. Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

start: 2015-04-05

Targets

-MeasureDetail[x]Due[x]
*Weight Measured (Details : {LOINC code '3141-9' = 'Body weight Measured', given as 'Weight Measured'})160-180 lbs2016-04-05

statusDate: 2016-02-14

statusReason: Patient wants to defer weight loss until after honeymoon.

expressedBy: Peter James Chalmers. Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

addresses: obesity condition

outcomeReference: Body Weight Measured. Generated Summary: id: example; Vital Signs; Hemoglobin [Mass/volume] in Venous blood; effective: Apr 2, 2013 9:30:10 AM --> Apr 5, 2013 9:30:10 AM; issued: Apr 3, 2013 2:30:10 PM; 7.2 g/dl; Below low normal; Superficial forearm vein; Injection to forearm

" + }, + "identifier": [ + { + "value": "123" + } + ], + "lifecycleStatus": "on-hold", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/goal-category", + "code": "dietary" + } + ] + } + ], + "priority": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/goal-priority", + "code": "high-priority", + "display": "High Priority" + } + ], + "text": "high" + }, + "description": { + "text": "Target weight is 160 to 180 lbs." + }, + "subject": { + "reference": "Patient/example", + "display": "Peter James Chalmers" + }, + "startDate": "2015-04-05", + "target": [ + { + "measure": { + "coding": [ + { + "system": "http://loinc.org", + "code": "3141-9", + "display": "Weight Measured" + } + ] + }, + "detailRange": { + "low": { + "value": 160, + "unit": "lbs", + "system": "http://unitsofmeasure.org", + "code": "[lb_av]" + }, + "high": { + "value": 180, + "unit": "lbs", + "system": "http://unitsofmeasure.org", + "code": "[lb_av]" + } + }, + "dueDate": "2016-04-05" + } + ], + "statusDate": "2016-02-14", + "statusReason": "Patient wants to defer weight loss until after honeymoon.", + "expressedBy": { + "reference": "Patient/example", + "display": "Peter James Chalmers" + }, + "addresses": [ + { + "display": "obesity condition" + } + ], + "outcomeReference": [ + { + "reference": "Observation/example", + "display": "Body Weight Measured" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Goal/Goal-goal-1.json b/evaluator.cli/src/test/resources/r4/example/Goal/Goal-goal-1.json new file mode 100644 index 000000000..014a80f61 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Goal/Goal-goal-1.json @@ -0,0 +1,26 @@ +{ + "resourceType": "Goal", + "id": "goal-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: goal-1

meta:

lifecycleStatus: active

description: Patient is targeting a pulse oximetry of 92% and a weight of 195 lbs (Details )

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

Targets

-Due[x]
*2016-04-05
" + }, + "lifecycleStatus": "active", + "description": { + "text": "Patient is targeting a pulse oximetry of 92% and a weight of 195 lbs" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "target": [ + { + "dueDate": "2016-04-05" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/ImagingStudy/ImagingStudy-example.json b/evaluator.cli/src/test/resources/r4/example/ImagingStudy/ImagingStudy-example.json new file mode 100644 index 000000000..bd2650d29 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/ImagingStudy/ImagingStudy-example.json @@ -0,0 +1,37 @@ +{ + "resourceType": "ImagingStudy", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-imagingstudy" + ] + }, + "text": { + "status": "generated", + "div": "
\n

CT Chest. John Smith (MRN: 09236). Accession: W12342398. Performed: 2011-01-01. 3 series, 12 images.

\n

\n uid: urn:oid:2.16.124.113543.6003.1154777499.30246.19789.3503430045\n

\n

\n patient: \n Patient/example\n

\n

\n started: 01/01/2011\n

\n

\n numberOfSeries: 1\n

\n

\n numberOfInstances: 1\n

\n
\n

series

\n

\n uid: urn:oid:2.16.124.113543.6003.2588828330.45298.17418.2723805630\n

\n

\n number: 3\n

\n

\n modality: CT\n

\n

\n description: CT Surview 180\n

\n

\n numberOfInstances: 1\n

\n

\n bodySite: { SNOMED CT code '67734004' = 'Upper Trunk Structure' })\n

\n
\n

instance

\n

\n uid: urn:oid:2.16.124.113543.6003.189642796.63084.16748.2599092903\n

\n

\n number: 1\n

\n

\n sopClass: urn:oid:1.2.840.10008.5.1.4.1.1.2\n

\n
\n
\n
" + }, + "status": "available", + "subject": { + "reference": "Patient/example" + }, + "started": "2011-01-01T11:01:20+03:00", + "numberOfSeries": 1, + "numberOfInstances": 1, + "series": [ + { + "uid": "2.16.124.113543.6003.2588828330.45298.17418.2723805630", + "number": 3, + "modality": { + "system": "http://dicom.nema.org/resources/ontology/DCM", + "code": "CT" + }, + "description": "CT Surview 180", + "numberOfInstances": 1, + "bodySite": { + "system": "http://snomed.info/sct", + "code": "67734004", + "display": "Upper Trunk Structure" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Immunization/Immunization-example.json b/evaluator.cli/src/test/resources/r4/example/Immunization/Immunization-example.json new file mode 100644 index 000000000..d10122dd0 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Immunization/Immunization-example.json @@ -0,0 +1,141 @@ +{ + "resourceType": "Immunization", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-immunization" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234

status: completed

vaccineCode: Fluvax (Influenza) (Details : {urn:oid:1.2.36.1.2001.1005.17 code 'FLUVAX' = 'Fluvax)

patient: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

encounter: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

occurrence: Jan 1, 2013 12:00:00 AM

recorded: Jan 10, 2013 12:00:00 AM

primarySource: true

location: Generated Summary: id: example; B1-S.F2; status: active; name: South Wing, second floor; alias: Mean Joe Greene University Medical Center, South Wing, second floor, alias: BU MC, SW, F2; description: Second floor of the Old South Wing, formerly in use by Psychiatry; mode: instance; Hospital; ph: 2328(WORK), fax: 2329(WORK), second wing admissions, http://sampleorg.com/southwing(WORK); Wing

manufacturer: Generated Summary: id: example; ??; active; Organizational team; name: Health Level Seven International; ph: (+1) 734-677-7777, fax: (+1) 734-677-6622, hq@HL7.org

lotNumber: AAJN11K

expirationDate: 2015-02-15

site: left arm (Details : {http://terminology.hl7.org/CodeSystem/v3-ActSite code 'LA' = 'left arm', given as 'left arm'})

route: Injection, intramuscular (Details : {http://terminology.hl7.org/CodeSystem/v3-RouteOfAdministration code 'IM' = 'Injection, intramuscular', given as 'Injection, intramuscular'})

doseQuantity: 5 mg (Details: UCUM code mg = 'mg')

performer

function: Ordering Provider (Details : {http://terminology.hl7.org/CodeSystem/v2-0443 code 'OP' = 'Ordering Provider)

actor: Generated Summary: id: example; 23; active; Adam Careful

performer

function: Administering Provider (Details : {http://terminology.hl7.org/CodeSystem/v2-0443 code 'AP' = 'Administering Provider)

actor: Generated Summary: id: example; 23; active; Adam Careful

note: Notes on adminstration of vaccine

reasonCode: Procedure to meet occupational requirement (Details : {SNOMED CT code '429060002' = 'Procedure to meet occupational requirement)

Reactions

-DateDetailReported
*Jan 10, 2013 12:00:00 AMGenerated Summary: id: example; Vital Signs; Hemoglobin [Mass/volume] in Venous blood; effective: Apr 2, 2013 9:30:10 AM --> Apr 5, 2013 9:30:10 AM; issued: Apr 3, 2013 2:30:10 PM; 7.2 g/dl; Below low normal; Superficial forearm vein; Injection to forearmtrue

ProtocolApplieds

-SeriesAuthorityTargetDiseaseDoseNumber[x]SeriesDoses[x]
*Vaccination Series 1Generated Summary: id: example; ??; active; Organizational team; name: Health Level Seven International; ph: (+1) 734-677-7777, fax: (+1) 734-677-6622, hq@HL7.orgGestational rubella syndrome (Details : {SNOMED CT code '1857005' = 'Gestational rubella syndrome)12
" + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234" + } + ], + "status": "completed", + "vaccineCode": { + "coding": [ + { + "system": "urn:oid:1.2.36.1.2001.1005.17", + "code": "FLUVAX" + } + ], + "text": "Fluvax (Influenza)" + }, + "patient": { + "reference": "Patient/example" + }, + "encounter": { + "reference": "Encounter/example" + }, + "occurrenceDateTime": "2013-01-01", + "recorded": "2013-01-10", + "primarySource": true, + "location": { + "reference": "Location/example" + }, + "manufacturer": { + "reference": "Organization/example" + }, + "lotNumber": "AAJN11K", + "expirationDate": "2015-02-15", + "site": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActSite", + "code": "LA", + "display": "left arm" + } + ] + }, + "route": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-RouteOfAdministration", + "code": "IM", + "display": "Injection, intramuscular" + } + ] + }, + "doseQuantity": { + "value": 5, + "system": "http://unitsofmeasure.org", + "code": "mg" + }, + "performer": [ + { + "function": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "code": "OP" + } + ] + }, + "actor": { + "reference": "Practitioner/example" + } + }, + { + "function": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0443", + "code": "AP" + } + ] + }, + "actor": { + "reference": "Practitioner/example" + } + } + ], + "note": [ + { + "text": "Notes on adminstration of vaccine" + } + ], + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "429060002" + } + ] + } + ], + "reaction": [ + { + "date": "2013-01-10", + "detail": { + "reference": "Observation/example" + }, + "reported": true + } + ], + "protocolApplied": [ + { + "series": "Vaccination Series 1", + "authority": { + "reference": "Organization/example" + }, + "targetDisease": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "1857005" + } + ] + } + ], + "doseNumberPositiveInt": 1, + "seriesDosesPositiveInt": 2 + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Immunization/Immunization-imm-1.json b/evaluator.cli/src/test/resources/r4/example/Immunization/Immunization-imm-1.json new file mode 100644 index 000000000..775a5e34f --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Immunization/Immunization-imm-1.json @@ -0,0 +1,34 @@ +{ + "resourceType": "Immunization", + "id": "imm-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: imm-1

meta:

status: completed

vaccineCode: influenza, injectable, quadrivalent, contains preservative (Details : {http://hl7.org/fhir/sid/cvx code '158' = 'influenza, injectable, quadrivalent', given as 'influenza, injectable, quadrivalent, contains preservative'}; {http://hl7.org/fhir/sid/ndc code '49281-0621-15' = '49281-0621-15', given as 'FLUZONE QUADRIVALENT'})

patient: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

occurrence: 08/01/2016 12:00:00 AM

primarySource: false

" + }, + "status": "completed", + "vaccineCode": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "158", + "display": "influenza, injectable, quadrivalent, contains preservative" + }, + { + "system": "http://hl7.org/fhir/sid/ndc", + "code": "49281-0621-15", + "display": "FLUZONE QUADRIVALENT" + } + ] + }, + "patient": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "occurrenceDateTime": "2016-01-08", + "primarySource": false +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Immunization/Immunization-negation-example.json b/evaluator.cli/src/test/resources/r4/example/Immunization/Immunization-negation-example.json new file mode 100644 index 000000000..25f24ef96 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Immunization/Immunization-negation-example.json @@ -0,0 +1,40 @@ +{ + "resourceType": "Immunization", + "id": "negation-example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: negation-example

status: not-done

statusReason: Procedure refused for religious reason (situation) (Details : {SNOMED CT code '183945002' = 'Procedure refused for religious reason (situation)', given as 'Procedure refused for religious reason (situation)'})

vaccineCode: Influenze Vaccine value set (Details : {[not stated] code 'null' = 'null)

patient: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

encounter: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

occurrence: Jan 10, 2013 12:00:00 AM

recorded: Jan 10, 2013 12:00:00 AM

primarySource: true

" + }, + "status": "not-done", + "statusReason": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "183945002", + "display": "Procedure refused for religious reason (situation)" + } + ] + }, + "vaccineCode": { + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-reference", + "valueUri": "http://cts.nlm.nih.gov/fhir/2.16.840.1.113883.3.464.1003.196.12.1218" + } + ] + } + ], + "text": "Influenze Vaccine value set" + }, + "patient": { + "reference": "Patient/example" + }, + "encounter": { + "reference": "Encounter/example" + }, + "occurrenceDateTime": "2013-01-10", + "recorded": "2013-01-10", + "primarySource": true +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/ImmunizationEvaluation/ImmunizationEvaluation-example.json b/evaluator.cli/src/test/resources/r4/example/ImmunizationEvaluation/ImmunizationEvaluation-example.json new file mode 100644 index 000000000..f7d3f1b9a --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/ImmunizationEvaluation/ImmunizationEvaluation-example.json @@ -0,0 +1,50 @@ +{ + "resourceType": "ImmunizationEvaluation", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-immunizationevaluation" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234

status: completed

patient: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

date: Jan 10, 2013 12:00:00 AM

authority: Generated Summary: id: example; ??; active; Organizational team; name: Health Level Seven International; ph: (+1) 734-677-7777, fax: (+1) 734-677-6622, hq@HL7.org

targetDisease: Gestational rubella syndrome (Details : {SNOMED CT code '1857005' = 'Gestational rubella syndrome)

immunizationEvent: Generated Summary: id: example; urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234; status: completed; Fluvax (Influenza); occurrence: Jan 1, 2013 12:00:00 AM; recorded: Jan 10, 2013 12:00:00 AM; primarySource; lotNumber: AAJN11K; expirationDate: 2015-02-15; left arm; Injection, intramuscular; 5 mg; Annotation: Notes on adminstration of vaccine; Procedure to meet occupational requirement

doseStatus: Valid (Details : {http://terminology.hl7.org/CodeSystem/immunization-evaluation-dose-status code 'valid' = 'Valid', given as 'Valid'})

series: Vaccination Series 1

doseNumber: 1

seriesDoses: 3

" + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234" + } + ], + "status": "completed", + "patient": { + "reference": "Patient/example" + }, + "date": "2013-01-10", + "authority": { + "reference": "Organization/example" + }, + "targetDisease": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "1857005" + } + ] + }, + "immunizationEvent": { + "reference": "Immunization/example" + }, + "doseStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/immunization-evaluation-dose-status", + "code": "valid", + "display": "Valid" + } + ] + }, + "series": "Vaccination Series 1", + "doseNumberPositiveInt": 1, + "seriesDosesPositiveInt": 3 +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/ImmunizationRecommendation/ImmunizationRecommendation-example.json b/evaluator.cli/src/test/resources/r4/example/ImmunizationRecommendation/ImmunizationRecommendation-example.json new file mode 100644 index 000000000..b16a50a98 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/ImmunizationRecommendation/ImmunizationRecommendation-example.json @@ -0,0 +1,92 @@ +{ + "resourceType": "ImmunizationRecommendation", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-immunizationrec" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: urn:oid:1.3.6.1.4.1.21367.2005.3.7.1235

patient: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

date: Feb 9, 2015 4:04:15 PM

recommendation

vaccineCode: Hepatitis A vaccine (Details : {SNOMED CT code '14745005' = 'Hepatitis A virus vaccine', given as 'Hepatitis A vaccine'})

forecastStatus: Not Complete (Details )

dateCriterion

code: Earliest Date (Details : {http://terminology.hl7.org/CodeSystem/immunization-recommendation-date-criterion code 'earliest' = 'earliest', given as 'Earliest Date'})

value: Dec 1, 2015 5:00:00 AM

dateCriterion

code: Recommended (Details : {http://terminology.hl7.org/CodeSystem/immunization-recommendation-date-criterion code 'recommended' = 'recommended', given as 'Recommended'})

value: Dec 1, 2015 5:00:00 AM

dateCriterion

code: Past Due Date (Details : {http://terminology.hl7.org/CodeSystem/immunization-recommendation-date-criterion code 'overdue' = 'overdue', given as 'Past Due Date'})

value: Dec 28, 2016 5:00:00 AM

description: First sequence in protocol

series: Vaccination Series 1

doseNumber: 1

supportingImmunization: Generated Summary: id: example; urn:oid:1.3.6.1.4.1.21367.2005.3.7.1234; status: completed; Fluvax (Influenza); occurrence: Jan 1, 2013 12:00:00 AM; recorded: Jan 10, 2013 12:00:00 AM; primarySource; lotNumber: AAJN11K; expirationDate: 2015-02-15; left arm; Injection, intramuscular; 5 mg; Annotation: Notes on adminstration of vaccine; Procedure to meet occupational requirement

supportingPatientInformation: Generated Summary: id: example; Vital Signs; Hemoglobin [Mass/volume] in Venous blood; effective: Apr 2, 2013 9:30:10 AM --> Apr 5, 2013 9:30:10 AM; issued: Apr 3, 2013 2:30:10 PM; 7.2 g/dl; Below low normal; Superficial forearm vein; Injection to forearm

" + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:1.3.6.1.4.1.21367.2005.3.7.1235" + } + ], + "patient": { + "reference": "Patient/example" + }, + "date": "2015-02-09T11:04:15.817-05:00", + "recommendation": [ + { + "vaccineCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "14745005", + "display": "Hepatitis A vaccine" + } + ] + } + ], + "forecastStatus": { + "text": "Not Complete" + }, + "dateCriterion": [ + { + "code": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/immunization-recommendation-date-criterion", + "code": "earliest", + "display": "Earliest Date" + } + ] + }, + "value": "2015-12-01T00:00:00-05:00" + }, + { + "code": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/immunization-recommendation-date-criterion", + "code": "recommended", + "display": "Recommended" + } + ] + }, + "value": "2015-12-01T00:00:00-05:00" + }, + { + "code": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/immunization-recommendation-date-criterion", + "code": "overdue", + "display": "Past Due Date" + } + ] + }, + "value": "2016-12-28T00:00:00-05:00" + } + ], + "description": "First sequence in protocol", + "series": "Vaccination Series 1", + "doseNumberPositiveInt": 1, + "supportingImmunization": [ + { + "reference": "Immunization/example" + } + ], + "supportingPatientInformation": [ + { + "reference": "Observation/example" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Location/Location-example.json b/evaluator.cli/src/test/resources/r4/example/Location/Location-example.json new file mode 100644 index 000000000..a580af682 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Location/Location-example.json @@ -0,0 +1,85 @@ +{ + "resourceType": "Location", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-location" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: B1-S.F2

status: active

name: South Wing, second floor

alias: Mean Joe Greene University Medical Center, South Wing, second floor, BU MC, SW, F2

description: Second floor of the Old South Wing, formerly in use by Psychiatry

mode: instance

type: Hospital (Details : {http://terminology.hl7.org/CodeSystem/v3-RoleCode code 'HOSP' = 'Hospital', given as 'Hospital'})

telecom: ph: 2328(WORK), fax: 2329(WORK), second wing admissions, http://sampleorg.com/southwing(WORK)

address: Iron Curtain 75, Building A Pittsburgh PA 15016 US (WORK)

physicalType: Wing (Details : {http://terminology.hl7.org/CodeSystem/location-physical-type code 'wi' = 'Wing', given as 'Wing'})

Positions

-LongitudeLatitudeAltitude
*-83.694569142.254754780

managingOrganization: Generated Summary: id: example; ??; active; Organizational team; name: Health Level Seven International; ph: (+1) 734-677-7777, fax: (+1) 734-677-6622, hq@HL7.org

" + }, + "identifier": [ + { + "value": "B1-S.F2" + } + ], + "status": "active", + "name": "South Wing, second floor", + "alias": [ + "Mean Joe Greene University Medical Center, South Wing, second floor", + "BU MC, SW, F2" + ], + "description": "Second floor of the Old South Wing, formerly in use by Psychiatry", + "mode": "instance", + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", + "code": "HOSP", + "display": "Hospital" + } + ] + } + ], + "telecom": [ + { + "system": "phone", + "value": "2328", + "use": "work" + }, + { + "system": "fax", + "value": "2329", + "use": "work" + }, + { + "system": "email", + "value": "second wing admissions" + }, + { + "system": "url", + "value": "http://sampleorg.com/southwing", + "use": "work" + } + ], + "address": { + "use": "work", + "line": [ + "Iron Curtain 75, Building A" + ], + "city": "Pittsburgh", + "state": "PA", + "postalCode": "15016", + "country": "US" + }, + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "wi", + "display": "Wing" + } + ] + }, + "position": { + "longitude": -83.6945691, + "latitude": 42.25475478, + "altitude": 0 + }, + "managingOrganization": { + "reference": "Organization/example" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Location/Location-hl7east.json b/evaluator.cli/src/test/resources/r4/example/Location/Location-hl7east.json new file mode 100644 index 000000000..e76477bf9 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Location/Location-hl7east.json @@ -0,0 +1,44 @@ +{ + "resourceType": "Location", + "id": "hl7east", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: hl7east

meta:

identifier: 29

status: active

name: Health Level Seven International - Amherst

description: HL7 Headquarters - East

telecom: ph: (+1) 734-677-7777

address: 3300 Washtenaw Avenue, Suite 227 Amherst MA 01002 USA

Positions

-LongitudeLatitude
*-72.51985442.373222

managingOrganization: Health Level Seven International

" + }, + "identifier": [ + { + "system": "http://www.acme.org/location", + "value": "29" + } + ], + "status": "active", + "name": "Health Level Seven International - Amherst", + "description": "HL7 Headquarters - East", + "telecom": [ + { + "system": "phone", + "value": "(+1) 734-677-7777" + } + ], + "address": { + "line": [ + "3300 Washtenaw Avenue, Suite 227" + ], + "city": "Amherst", + "state": "MA", + "postalCode": "01002", + "country": "USA" + }, + "position": { + "longitude": -72.519854, + "latitude": 42.373222 + }, + "managingOrganization": { + "display": "Health Level Seven International" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Medication/Medication-example.json b/evaluator.cli/src/test/resources/r4/example/Medication/Medication-example.json new file mode 100644 index 000000000..8ab95c16b --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Medication/Medication-example.json @@ -0,0 +1,92 @@ +{ + "resourceType": "Medication", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medication" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

contained:

code: alemtuzumab 10 MG/ML [Lemtrada] (Details : {RxNorm code '1594660' = 'alemtuzumab 10 MG/ML [Lemtrada]', given as 'alemtuzumab 10 MG/ML [Lemtrada]'})

manufacturer: unknown resource contained

form: Conventional release solution for injection (dose form) (Details : {SNOMED CT code '385219001' = 'Solution for injection', given as 'Conventional release solution for injection (dose form)'})

Ingredients

-Item[x]Strength
*Alemtuzumab (substance) (Details : {SNOMED CT code '129472003' = 'Alemtuzumab', given as 'Alemtuzumab (substance)'})12 mg (Details: UCUM code mg = 'mg')/1.2 mL (Details: UCUM code mL = 'mL')

Batches

-LotNumberExpirationDate
*9494788May 22, 2017 12:00:00 AM
" + }, + "contained": [ + { + "resourceType": "Organization", + "id": "org6", + "identifier": [ + { + "system": "http://example.org/identifier", + "value": "ORG-006" + } + ], + "active": true, + "name": "Genzyme", + "telecom": [ + { + "system": "url", + "value": "https://www.sanofigenzyme.com/", + "use": "work" + } + ], + "address": [ + { + "use": "work", + "city": "Cambridge", + "state": "MA", + "country": "USA" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "1594660", + "display": "alemtuzumab 10 MG/ML [Lemtrada]" + } + ] + }, + "manufacturer": { + "reference": "#org6" + }, + "form": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "385219001", + "display": "Conventional release solution for injection (dose form)" + } + ] + }, + "ingredient": [ + { + "itemCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "129472003", + "display": "Alemtuzumab (substance)" + } + ] + }, + "strength": { + "numerator": { + "value": 12, + "system": "http://unitsofmeasure.org", + "code": "mg" + }, + "denominator": { + "value": 1.2, + "system": "http://unitsofmeasure.org", + "code": "mL" + } + } + } + ], + "batch": { + "lotNumber": "9494788", + "expirationDate": "2017-05-22" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Medication/Medication-uscore-med1.json b/evaluator.cli/src/test/resources/r4/example/Medication/Medication-uscore-med1.json new file mode 100644 index 000000000..cdcac31b6 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Medication/Medication-uscore-med1.json @@ -0,0 +1,23 @@ +{ + "resourceType": "Medication", + "id": "uscore-med1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: uscore-med1

meta:

code: lisinopril oral 10 mg (Details : {RxNorm code '206765' = 'Prinivil 10 MG Oral Tablet', given as 'Lisinopril 10 MG Oral Tablet [Prinivil]'})

" + }, + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "206765", + "display": "Lisinopril 10 MG Oral Tablet [Prinivil]" + } + ], + "text": "lisinopril oral 10 mg" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Medication/Medication-uscore-med2.json b/evaluator.cli/src/test/resources/r4/example/Medication/Medication-uscore-med2.json new file mode 100644 index 000000000..d8acda784 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Medication/Medication-uscore-med2.json @@ -0,0 +1,23 @@ +{ + "resourceType": "Medication", + "id": "uscore-med2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: uscore-med2

meta:

code: Nizatidine 15 MG/ML Oral Solution [Axid] (Details : {RxNorm code '582620' = 'Nizatidine 15 MG/ML Oral Solution [Axid]', given as 'Nizatidine 15 MG/ML Oral Solution [Axid]'})

" + }, + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "582620", + "display": "Nizatidine 15 MG/ML Oral Solution [Axid]" + } + ], + "text": "Nizatidine 15 MG/ML Oral Solution [Axid]" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/MedicationAdministration/MedicationAdministration-example.json b/evaluator.cli/src/test/resources/r4/example/MedicationAdministration/MedicationAdministration-example.json new file mode 100644 index 000000000..0d4463378 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/MedicationAdministration/MedicationAdministration-example.json @@ -0,0 +1,53 @@ +{ + "resourceType": "MedicationAdministration", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationadministration" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

status: completed

medication: Generated Summary: id: example; alemtuzumab 10 MG/ML [Lemtrada]; Conventional release solution for injection (dose form)

subject: Donald Duck. Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

context: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

supportingInformation: Generated Summary: id: example; Active; Confirmed; Problem List Item; Severe (severity modifier); Burnt Ear; Left Ear; onset: May 24, 2012 12:00:00 AM; recordedDate: May 24, 2012 12:00:00 AM

effective: Jan 15, 2015 1:30:00 PM --> Jan 15, 2015 1:30:00 PM

request: Generated Summary: id: example; status: active; intent: order; ????; authoredOn: Mar 26, 2015 12:32:52 AM;

Dosages

-RouteDose
*Intravenous route (qualifier value) (Details : {SNOMED CT code '47625008' = 'Intravenous route', given as 'Intravenous route (qualifier value)'})3 mg (Details: UCUM code mg = 'mg')
" + }, + "status": "completed", + "medicationReference": { + "reference": "Medication/example" + }, + "subject": { + "reference": "Patient/example", + "display": "Donald Duck" + }, + "context": { + "reference": "Encounter/example" + }, + "supportingInformation": [ + { + "reference": "Condition/example" + } + ], + "effectivePeriod": { + "start": "2015-01-15T14:30:00+01:00", + "end": "2015-01-15T14:30:00+01:00" + }, + "request": { + "reference": "MedicationRequest/example" + }, + "dosage": { + "route": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "47625008", + "display": "Intravenous route (qualifier value)" + } + ] + }, + "dose": { + "value": 3, + "unit": "mg", + "system": "http://unitsofmeasure.org", + "code": "mg" + } + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/MedicationAdministration/MedicationAdministration-negation-example.json b/evaluator.cli/src/test/resources/r4/example/MedicationAdministration/MedicationAdministration-negation-example.json new file mode 100644 index 000000000..963b0ff49 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/MedicationAdministration/MedicationAdministration-negation-example.json @@ -0,0 +1,79 @@ +{ + "resourceType": "MedicationAdministration", + "id": "negation-example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: negation-example

status: not-done

statusReason: Drug treatment not indicated (situation) (Details : {SNOMED CT code '183966005' = 'Drug treatment not indicated', given as 'Drug treatment not indicated (situation)'})

medication: Medication Brand Name value set (Details : {[not stated] code 'null' = 'null)

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

context: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

supportingInformation: Generated Summary: id: example; Active; Confirmed; Problem List Item; Severe (severity modifier); Burnt Ear; Left Ear; onset: May 24, 2012 12:00:00 AM; recordedDate: May 24, 2012 12:00:00 AM

effective: Jan 15, 2015 1:30:00 PM --> Jan 15, 2015 1:30:00 PM

request: Generated Summary: id: example; status: active; intent: order; ????; authoredOn: Mar 26, 2015 12:32:52 AM;

note: Patient started Bupropion this morning - will administer in a reduced dose tomorrow

Dosages

-RouteDose
*Intravenous route (qualifier value) (Details : {SNOMED CT code '47625008' = 'Intravenous route', given as 'Intravenous route (qualifier value)'})3 mg (Details: UCUM code mg = 'mg')
" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-recorded", + "valueDateTime": "2015-01-15" + } + ], + "status": "not-done", + "statusReason": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "183966005", + "display": "Drug treatment not indicated (situation)" + } + ] + } + ], + "medicationCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-reference", + "valueUri": "http://cts.nlm.nih.gov/fhir/2.16.840.1.113883.3.88.12.80.16" + } + ] + } + ], + "text": "Medication Brand Name value set" + }, + "subject": { + "reference": "Patient/example" + }, + "context": { + "reference": "Encounter/example" + }, + "supportingInformation": [ + { + "reference": "Condition/example" + } + ], + "effectivePeriod": { + "start": "2015-01-15T14:30:00+01:00", + "end": "2015-01-15T14:30:00+01:00" + }, + "request": { + "reference": "MedicationRequest/example" + }, + "note": [ + { + "text": "Patient started Bupropion this morning - will administer in a reduced dose tomorrow" + } + ], + "dosage": { + "route": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "47625008", + "display": "Intravenous route (qualifier value)" + } + ] + }, + "dose": { + "value": 3, + "unit": "mg", + "system": "http://unitsofmeasure.org", + "code": "mg" + } + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/MedicationDispense/MedicationDispense-example.json b/evaluator.cli/src/test/resources/r4/example/MedicationDispense/MedicationDispense-example.json new file mode 100644 index 000000000..a58354e35 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/MedicationDispense/MedicationDispense-example.json @@ -0,0 +1,105 @@ +{ + "resourceType": "MedicationDispense", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationdispense" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

status: completed

medication: Generated Summary: id: example; alemtuzumab 10 MG/ML [Lemtrada]; Conventional release solution for injection (dose form)

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

Performers

-Actor
*Generated Summary: id: example; 23; active; Adam Careful

authorizingPrescription: Generated Summary: id: example; status: active; intent: order; ????; authoredOn: Mar 26, 2015 12:32:52 AM;

quantity: 100 ml (Details: UCUM code ml = 'ml')

daysSupply: 30 Day (Details: UCUM code d = 'd')

whenPrepared: May 30, 2012 4:20:00 PM

whenHandedOver: May 31, 2012 10:20:00 AM

destination: Generated Summary: id: example; B1-S.F2; status: active; name: South Wing, second floor; alias: Mean Joe Greene University Medical Center, South Wing, second floor, alias: BU MC, SW, F2; description: Second floor of the Old South Wing, formerly in use by Psychiatry; mode: instance; Hospital; ph: 2328(WORK), fax: 2329(WORK), second wing admissions, http://sampleorg.com/southwing(WORK); Wing

receiver: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

dosageInstruction:

Substitutions

-WasSubstitutedType
*falseNo substitution made or expected (Details : {http://example.org/MedDispSubType code 'NoSub' = 'NoSub', given as 'No substitution made or expected'})
" + }, + "status": "completed", + "medicationReference": { + "reference": "Medication/example" + }, + "subject": { + "reference": "Patient/example" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/example" + } + } + ], + "authorizingPrescription": [ + { + "reference": "MedicationRequest/example" + } + ], + "quantity": { + "value": 100, + "unit": "ml", + "system": "http://unitsofmeasure.org", + "code": "ml" + }, + "daysSupply": { + "value": 30, + "unit": "Day", + "system": "http://unitsofmeasure.org", + "code": "d" + }, + "whenPrepared": "2012-05-30T16:20:00+00:00", + "whenHandedOver": "2012-05-31T10:20:00+00:00", + "destination": { + "reference": "Location/example" + }, + "receiver": [ + { + "reference": "Patient/example" + } + ], + "dosageInstruction": [ + { + "timing": { + "repeat": { + "frequency": 3, + "period": 1, + "periodUnit": "d" + } + }, + "route": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "394899003", + "display": "oral administration of treatment" + } + ] + }, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 5, + "unit": "ml", + "system": "http://unitsofmeasure.org", + "code": "ml" + } + } + ] + } + ], + "substitution": { + "wasSubstituted": false, + "type": { + "coding": [ + { + "system": "http://example.org/MedDispSubType", + "code": "NoSub", + "display": "No substitution made or expected" + } + ] + } + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/MedicationDispense/MedicationDispense-negation-example.json b/evaluator.cli/src/test/resources/r4/example/MedicationDispense/MedicationDispense-negation-example.json new file mode 100644 index 000000000..5b8a46710 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/MedicationDispense/MedicationDispense-negation-example.json @@ -0,0 +1,84 @@ +{ + "resourceType": "MedicationDispense", + "id": "negation-example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: negation-example

status: declined

statusReason: Drug treatment not indicated (situation) (Details : {SNOMED CT code '183966005' = 'Drug treatment not indicated', given as 'Drug treatment not indicated (situation)'})

medication: Medication Brand Name value set (Details : {[not stated] code 'null' = 'null)

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

authorizingPrescription: Generated Summary: id: example; status: active; intent: order; ????; authoredOn: Mar 26, 2015 12:32:52 AM;

dosageInstruction:

" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-recorded", + "valueDateTime": "2017-01-17" + } + ], + "status": "declined", + "statusReasonCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "183966005", + "display": "Drug treatment not indicated (situation)" + } + ] + }, + "medicationCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-reference", + "valueUri": "http://cts.nlm.nih.gov/fhir/2.16.840.1.113883.3.88.12.80.16" + } + ] + } + ], + "text": "Medication Brand Name value set" + }, + "subject": { + "reference": "Patient/example" + }, + "authorizingPrescription": [ + { + "reference": "MedicationRequest/example" + } + ], + "dosageInstruction": [ + { + "timing": { + "repeat": { + "frequency": 3, + "period": 1, + "periodUnit": "d" + } + }, + "route": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "394899003", + "display": "oral administration of treatment" + } + ] + }, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 5, + "unit": "ml", + "system": "http://unitsofmeasure.org", + "code": "ml" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/MedicationRequest/MedicationRequest-example.json b/evaluator.cli/src/test/resources/r4/example/MedicationRequest/MedicationRequest-example.json new file mode 100644 index 000000000..1f072626b --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/MedicationRequest/MedicationRequest-example.json @@ -0,0 +1,80 @@ +{ + "resourceType": "MedicationRequest", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest" + ] + }, + "text": { + "status": "generated", + "div": "" + }, + "status": "active", + "intent": "order", + "medicationReference": { + "reference": "Medication/example" + }, + "subject": { + "reference": "Patient/example" + }, + "authoredOn": "2015-03-25T19:32:52-05:00", + "requester": { + "reference": "Practitioner/example" + }, + "dosageInstruction": [ + { + "timing": { + "repeat": { + "frequency": 3, + "period": 1, + "periodUnit": "d" + } + }, + "site": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "447964005" + } + ] + }, + "route": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "394899003", + "display": "oral administration of treatment" + } + ] + }, + "doseAndRate": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type", + "code": "ordered", + "display": "Ordered" + } + ] + }, + "doseQuantity": { + "value": 5, + "unit": "ml", + "system": "http://unitsofmeasure.org", + "code": "ml" + } + } + ] + } + ], + "dispenseRequest": { + "quantity": { + "value": 100, + "unit": "ml", + "system": "http://unitsofmeasure.org", + "code": "ml" + } + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/MedicationRequest/MedicationRequest-negation-example.json b/evaluator.cli/src/test/resources/r4/example/MedicationRequest/MedicationRequest-negation-example.json new file mode 100644 index 000000000..6c5578ee8 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/MedicationRequest/MedicationRequest-negation-example.json @@ -0,0 +1,51 @@ +{ + "resourceType": "MedicationRequest", + "id": "negation-example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: negation-example

status: completed

intent: order

category: community (Details : {[not stated] code 'community' = 'community)

doNotPerform: true

medication: Antithrombotic Therapy value set (Details : {[not stated] code 'null' = 'null)

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

authoredOn: Mar 26, 2015 12:32:52 AM

requester: Generated Summary: id: example; 23; active; Adam Careful

reasonCode: Drug treatment not indicated (situation) (Details : {SNOMED CT code '183966005' = 'Drug treatment not indicated', given as 'Drug treatment not indicated (situation)'})

" + }, + "status": "completed", + "intent": "order", + "category": [ + { + "coding": [ + { + "code": "community" + } + ] + } + ], + "doNotPerform": true, + "medicationCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-reference", + "valueUri": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.3.117.1.7.1.201" + } + ] + } + ], + "text": "Antithrombotic Therapy value set" + }, + "subject": { + "reference": "Patient/example" + }, + "authoredOn": "2015-03-25T19:32:52-05:00", + "requester": { + "reference": "Practitioner/example" + }, + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "183966005", + "display": "Drug treatment not indicated (situation)" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/MedicationRequest/MedicationRequest-self-tylenol.json b/evaluator.cli/src/test/resources/r4/example/MedicationRequest/MedicationRequest-self-tylenol.json new file mode 100644 index 000000000..e693981ed --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/MedicationRequest/MedicationRequest-self-tylenol.json @@ -0,0 +1,46 @@ +{ + "resourceType": "MedicationRequest", + "id": "self-tylenol", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: self-tylenol

identifier: 12345689 (OFFICIAL)

status: active

intent: order

reported: true

medication: Tylenol PM Pill (Details : {RxNorm code '1187314' = 'Tylenol PM Pill', given as 'Tylenol PM Pill'})

subject: Amy V. Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: Office Visit. Generated Summary: id: example-1; status: finished; ambulatory; Office Visit; period: 02/11/2015 9:00:14 AM --> 02/11/2015 10:00:14 AM

authoredOn: 24/06/2019 12:00:00 AM

requester: **self-prescribed**. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

dosageInstruction:

" + }, + "identifier": [ + { + "use": "official", + "system": "http://acme.org/prescriptions", + "value": "12345689" + } + ], + "status": "active", + "intent": "order", + "reportedBoolean": true, + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "1187314", + "display": "Tylenol PM Pill" + } + ], + "text": "Tylenol PM Pill" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy V. Shaw" + }, + "encounter": { + "reference": "Encounter/example-1", + "display": "Office Visit" + }, + "authoredOn": "2019-06-24", + "requester": { + "reference": "Patient/example", + "display": "**self-prescribed**" + }, + "dosageInstruction": [ + { + "text": "Takes 1-2 tablets once daily at bedtime as needed for restless legs" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/MedicationRequest/MedicationRequest-uscore-mo1.json b/evaluator.cli/src/test/resources/r4/example/MedicationRequest/MedicationRequest-uscore-mo1.json new file mode 100644 index 000000000..fa3f81c48 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/MedicationRequest/MedicationRequest-uscore-mo1.json @@ -0,0 +1,61 @@ +{ + "resourceType": "MedicationRequest", + "id": "uscore-mo1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: uscore-mo1

meta:

status: active

intent: order

medication: Nizatidine 15 MG/ML Oral Solution [Axid] (Details : {RxNorm code '582620' = 'Nizatidine 15 MG/ML Oral Solution [Axid]', given as 'Nizatidine 15 MG/ML Oral Solution [Axid]'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

authoredOn: 05/04/2008 12:00:00 AM

requester: Ronald Bone, MD. Generated Summary: id: practitioner-1; 9941339108, 25456; Ronald Bone

dosageInstruction:

DispenseRequests

-NumberOfRepeatsAllowedQuantityExpectedSupplyDuration
*1480 mL (Details: UCUM code mL = 'mL')30 days (Details: UCUM code d = 'd')
" + }, + "status": "active", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "582620", + "display": "Nizatidine 15 MG/ML Oral Solution [Axid]" + } + ], + "text": "Nizatidine 15 MG/ML Oral Solution [Axid]" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "authoredOn": "2008-04-05", + "requester": { + "reference": "Practitioner/practitioner-1", + "display": "Ronald Bone, MD" + }, + "dosageInstruction": [ + { + "text": "10 mL bid", + "timing": { + "repeat": { + "boundsPeriod": { + "start": "2008-04-05" + } + } + } + } + ], + "dispenseRequest": { + "numberOfRepeatsAllowed": 1, + "quantity": { + "value": 480, + "unit": "mL", + "system": "http://unitsofmeasure.org", + "code": "mL" + }, + "expectedSupplyDuration": { + "value": 30, + "unit": "days", + "system": "http://unitsofmeasure.org", + "code": "d" + } + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/MedicationRequest/MedicationRequest-uscore-mo2.json b/evaluator.cli/src/test/resources/r4/example/MedicationRequest/MedicationRequest-uscore-mo2.json new file mode 100644 index 000000000..891ff6140 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/MedicationRequest/MedicationRequest-uscore-mo2.json @@ -0,0 +1,71 @@ +{ + "resourceType": "MedicationRequest", + "id": "uscore-mo2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: uscore-mo2

meta:

contained:

status: active

intent: order

medication: Nizatidine 15 MG/ML Oral Solution [Axid]. Generated Summary: unknown resource contained

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

authoredOn: 05/04/2008 12:00:00 AM

requester: Ronald Bone, MD. Generated Summary: id: practitioner-1; 9941339108, 25456; Ronald Bone

dosageInstruction:

DispenseRequests

-NumberOfRepeatsAllowedQuantityExpectedSupplyDuration
*1480 mL (Details: UCUM code mL = 'mL')30 days (Details: UCUM code d = 'd')
" + }, + "contained": [ + { + "resourceType": "Medication", + "id": "med2", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "582620", + "display": "Nizatidine 15 MG/ML Oral Solution [Axid]" + } + ], + "text": "Nizatidine 15 MG/ML Oral Solution [Axid]" + } + } + ], + "status": "active", + "intent": "order", + "medicationReference": { + "reference": "#med2", + "display": "Nizatidine 15 MG/ML Oral Solution [Axid]" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "authoredOn": "2008-04-05", + "requester": { + "reference": "Practitioner/practitioner-1", + "display": "Ronald Bone, MD" + }, + "dosageInstruction": [ + { + "text": "10 mL bid", + "timing": { + "repeat": { + "boundsPeriod": { + "start": "2008-04-05" + } + } + } + } + ], + "dispenseRequest": { + "numberOfRepeatsAllowed": 1, + "quantity": { + "value": 480, + "unit": "mL", + "system": "http://unitsofmeasure.org", + "code": "mL" + }, + "expectedSupplyDuration": { + "value": 30, + "unit": "days", + "system": "http://unitsofmeasure.org", + "code": "d" + } + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/MedicationStatement/MedicationStatement-example.json b/evaluator.cli/src/test/resources/r4/example/MedicationStatement/MedicationStatement-example.json new file mode 100644 index 000000000..d2151ed6e --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/MedicationStatement/MedicationStatement-example.json @@ -0,0 +1,60 @@ +{ + "resourceType": "MedicationStatement", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationstatement" + ] + }, + "text": { + "status": "generated", + "div": "" + }, + "status": "active", + "medicationReference": { + "reference": "Medication/example" + }, + "subject": { + "reference": "Patient/example" + }, + "effectiveDateTime": "2012-06-01T14:30:00+14:00", + "dateAsserted": "2012-05-14T15:00:00+14:00", + "informationSource": { + "reference": "Practitioner/example" + }, + "derivedFrom": [ + { + "reference": "MedicationRequest/example" + } + ], + "dosage": [ + { + "timing": { + "repeat": { + "frequency": 3, + "period": 1, + "periodUnit": "d" + } + }, + "route": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "394899003", + "display": "oral administration of treatment" + } + ] + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 10, + "unit": "ml", + "system": "http://unitsofmeasure.org", + "code": "ml" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/NutritionOrder/NutritionOrder-example.json b/evaluator.cli/src/test/resources/r4/example/NutritionOrder/NutritionOrder-example.json new file mode 100644 index 000000000..7fc6e6953 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/NutritionOrder/NutritionOrder-example.json @@ -0,0 +1,112 @@ +{ + "resourceType": "NutritionOrder", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-nutritionorder" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: 123

status: active

intent: order

patient: Peter Chalmers. Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

encounter: Inpatient. Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

dateTime: Sep 17, 2014 12:00:00 AM

orderer: Dr Adam Careful. Generated Summary: id: example; 23; active; Adam Careful

allergyIntolerance: Cashew Nuts. Generated Summary: id: example; 49476534; Active; Confirmed; type: allergy; category: food; criticality: high; Cashew nuts; onset: Jan 1, 2004 12:00:00 AM; recordedDate: Oct 9, 2014 3:58:00 AM; lastOccurrence: Jun 2, 2012 1:45:31 AM; Annotation: The criticality is high becasue of the observed anaphylactic reaction when challenged with cashew extract.

foodPreferenceModifier: Dairy Free (Details : {http://terminology.hl7.org/CodeSystem/diet code 'dairy-free' = 'Dairy Free)

excludeFoodModifier: Cashew Nut (Details : {SNOMED CT code '227493005' = 'Cashew nuts', given as 'Cashew Nut'})

oralDiet

type: DD - Diabetic diet (Details : {SNOMED CT code '160670007' = 'DD - Diabetic diet', given as 'Diabetic diet'}; {http://goodhealthhospital.org/diet-type-codes code '1030' = '1030', given as 'DD - Diabetic diet'})

schedule: Starting Feb 10, 2015 12:00:00 AM, Do 3 per 1 days

Nutrients

-ModifierAmount
*Carbohydrate (Details : {SNOMED CT code '2331003' = 'Carbohydrate', given as 'Carbohydrate'})75 grams (Details: UCUM code g = 'g')
" + }, + "identifier": [ + { + "system": "http://goodhealthhospital.org/nutrition-requests", + "value": "123" + } + ], + "status": "active", + "intent": "order", + "patient": { + "reference": "Patient/example", + "display": "Peter Chalmers" + }, + "encounter": { + "reference": "Encounter/example", + "display": "Inpatient" + }, + "dateTime": "2014-09-17", + "orderer": { + "reference": "Practitioner/example", + "display": "Dr Adam Careful" + }, + "allergyIntolerance": [ + { + "reference": "AllergyIntolerance/example", + "display": "Cashew Nuts" + } + ], + "foodPreferenceModifier": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/diet", + "code": "dairy-free" + } + ] + } + ], + "excludeFoodModifier": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "version": "20140730", + "code": "227493005", + "display": "Cashew Nut" + } + ] + } + ], + "oralDiet": { + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "160670007", + "display": "Diabetic diet" + }, + { + "system": "http://goodhealthhospital.org/diet-type-codes", + "code": "1030", + "display": "DD - Diabetic diet" + } + ], + "text": "DD - Diabetic diet" + } + ], + "schedule": [ + { + "repeat": { + "boundsPeriod": { + "start": "2015-02-10" + }, + "frequency": 3, + "period": 1, + "periodUnit": "d" + } + } + ], + "nutrient": [ + { + "modifier": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "2331003", + "display": "Carbohydrate" + } + ] + }, + "amount": { + "value": 75, + "unit": "grams", + "system": "http://unitsofmeasure.org", + "code": "g" + } + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-blood-glucose.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-blood-glucose.json new file mode 100644 index 000000000..e2e8657d6 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-blood-glucose.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "blood-glucose", + "meta": { + "versionId": "1165", + "lastUpdated": "2016-03-09T15:29:58.328+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: blood-glucose

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Glucose Bld-mCnc (Details : {LOINC code '2339-0' = 'Glucose [Mass/volume] in Blood', given as 'Glucose Bld-mCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 76.0 mg/dL

ReferenceRanges

-LowHighAppliesTo
*40.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')109.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2339-0", + "display": "Glucose Bld-mCnc" + } + ], + "text": "Glucose Bld-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 76.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 40.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 109.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-blood-pressure.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-blood-pressure.json new file mode 100644 index 000000000..b9d253e1d --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-blood-pressure.json @@ -0,0 +1,82 @@ +{ + "resourceType": "Observation", + "id": "blood-pressure", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: blood-pressure

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: Blood pressure systolic and diastolic (Details : {LOINC code '85354-9' = 'Blood pressure panel with all children optional', given as 'Blood pressure panel with all children optional'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 02/07/1999 12:00:00 AM

component

code: Systolic blood pressure (Details : {LOINC code '8480-6' = 'Systolic blood pressure', given as 'Systolic blood pressure'})

value: 109 mmHg (Details: UCUM code mm[Hg] = 'mm[Hg]')

component

code: Diastolic blood pressure (Details : {LOINC code '8462-4' = 'Diastolic blood pressure', given as 'Diastolic blood pressure'})

value: 44 mmHg (Details: UCUM code mm[Hg] = 'mm[Hg]')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood pressure panel with all children optional" + } + ], + "text": "Blood pressure systolic and diastolic" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic blood pressure" + } + ], + "text": "Systolic blood pressure" + }, + "valueQuantity": { + "value": 109, + "unit": "mmHg", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic blood pressure" + } + ], + "text": "Diastolic blood pressure" + }, + "valueQuantity": { + "value": 44, + "unit": "mmHg", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-bmi.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-bmi.json new file mode 100644 index 000000000..7b8f3bb5d --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-bmi.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "bmi", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: bmi

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: BMI (Details : {LOINC code '39156-5' = 'Body mass index (BMI) [Ratio]', given as 'Body mass index (BMI) [Ratio]'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 02/07/1999 12:00:00 AM

value: 16.2 kg/m2 (Details: UCUM code kg/m2 = 'kg/m2')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5", + "display": "Body mass index (BMI) [Ratio]" + } + ], + "text": "BMI" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 16.2, + "unit": "kg/m2", + "system": "http://unitsofmeasure.org", + "code": "kg/m2" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-bp-data-absent.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-bp-data-absent.json new file mode 100644 index 000000000..b87ad1049 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-bp-data-absent.json @@ -0,0 +1,86 @@ +{ + "resourceType": "Observation", + "id": "bp-data-absent", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: bp-data-absent

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: Blood pressure systolic and diastolic (Details : {LOINC code '85354-9' = 'Blood pressure panel with all children optional', given as 'Blood pressure panel with all children optional'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: Generated Summary: id: 1036; status: in-progress; inpatient encounter

effective: 02/07/1999 12:00:00 AM

component

code: Systolic blood pressure (Details : {LOINC code '8480-6' = 'Systolic blood pressure', given as 'Systolic blood pressure'})

value: 109 mmHg (Details: UCUM code mm[Hg] = 'mm[Hg]')

component

code: Diastolic blood pressure (Details : {LOINC code '8462-4' = 'Diastolic blood pressure', given as 'Diastolic blood pressure'})

dataAbsentReason: Unknown (Details : {http://terminology.hl7.org/CodeSystem/data-absent-reason code 'unknown' = 'Unknown', given as 'Unknown'})

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood pressure panel with all children optional" + } + ], + "text": "Blood pressure systolic and diastolic" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "reference": "Encounter/1036" + }, + "effectiveDateTime": "1999-07-02", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic blood pressure" + } + ], + "text": "Systolic blood pressure" + }, + "valueQuantity": { + "value": 109, + "unit": "mmHg", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic blood pressure" + } + ], + "text": "Diastolic blood pressure" + }, + "dataAbsentReason": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "code": "unknown", + "display": "Unknown" + } + ], + "text": "Unknown" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-bun.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-bun.json new file mode 100644 index 000000000..1d99e6fdc --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-bun.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "bun", + "meta": { + "versionId": "1237", + "lastUpdated": "2016-03-09T15:29:58.597+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: bun

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: BUN SerPl-mCnc (Details : {LOINC code '3094-0' = 'Urea nitrogen [Mass/volume] in Serum or Plasma', given as 'BUN SerPl-mCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 10.0 mg/dL

ReferenceRanges

-LowHighAppliesTo
*5.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')20.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "3094-0", + "display": "BUN SerPl-mCnc" + } + ], + "text": "BUN SerPl-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 10.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 5.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 20.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-erythrocytes.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-erythrocytes.json new file mode 100644 index 000000000..c5002f5ba --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-erythrocytes.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "erythrocytes", + "meta": { + "versionId": "1189", + "lastUpdated": "2016-03-09T15:29:58.419+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: erythrocytes

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: RBC # Bld Auto (Details : {LOINC code '789-8' = 'Erythrocytes [#/volume] in Blood by Automated count', given as 'RBC # Bld Auto'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 4.58 10*6/uL

ReferenceRanges

-LowHighAppliesTo
*4.1 10*6/uL (Details: UCUM code 10*6/uL = '10*6/uL')6.1 10*6/uL (Details: UCUM code 10*6/uL = '10*6/uL')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "789-8", + "display": "RBC # Bld Auto" + } + ], + "text": "RBC # Bld Auto" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 4.58, + "unit": "10*6/uL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 4.1, + "unit": "10*6/uL", + "system": "http://unitsofmeasure.org", + "code": "10*6/uL" + }, + "high": { + "value": 6.1, + "unit": "10*6/uL", + "system": "http://unitsofmeasure.org", + "code": "10*6/uL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-example.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-example.json new file mode 100644 index 000000000..04477de6a --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-example.json @@ -0,0 +1,185 @@ +{ + "resourceType": "Observation", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-observation" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: Hemoglobin [Mass/volume] in Venous blood (Details : {LOINC code '30350-3' = 'Hemoglobin [Mass/volume] in Venous blood', given as 'Hemoglobin [Mass/volume] in Venous blood'})

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

encounter: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

effective: Apr 2, 2013 9:30:10 AM --> Apr 5, 2013 9:30:10 AM

issued: Apr 3, 2013 2:30:10 PM

value: 7.2 g/dl (Details: UCUM code g/dL = 'g/dL')

interpretation: Below low normal (Details : {http://terminology.hl7.org/CodeSystem/v2-0078 code 'L' = 'Low', given as 'Low'})

bodySite: Superficial forearm vein (Details : {SNOMED CT code '308046002' = 'Superficial forearm vein', given as 'Superficial forearm vein'})

method: Injection to forearm (Details : {SNOMED CT code '120220003' = 'Injection to forearm', given as 'Injection to forearm'})

specimen: Generated Summary: id: example; Venous blood specimen; receivedTime: Mar 4, 2011 7:03:00 AM

derivedFrom: Generated Summary: id: example; Vital Signs; Hemoglobin [Mass/volume] in Venous blood; effective: Apr 2, 2013 9:30:10 AM --> Apr 5, 2013 9:30:10 AM; issued: Apr 3, 2013 2:30:10 PM; 7.2 g/dl; Below low normal; Superficial forearm vein; Injection to forearm

component

code: Systolic blood pressure (Details : {LOINC code '8480-6' = 'Systolic blood pressure', given as 'Systolic blood pressure'}; {SNOMED CT code '271649006' = 'Systolic blood pressure', given as 'Systolic blood pressure'}; {http://acme.org/devices/clinical-codes code 'bp-s' = 'bp-s', given as 'Systolic Blood pressure'})

value: 107 mmHg (Details: UCUM code mm[Hg] = 'mm[Hg]')

interpretation: Normal (Details : {http://terminology.hl7.org/CodeSystem/v2-0078 code 'N' = 'Normal', given as 'normal'})

component

code: Diastolic blood pressure (Details : {LOINC code '8462-4' = 'Diastolic blood pressure', given as 'Diastolic blood pressure'})

value: 60 mmHg (Details: UCUM code mm[Hg] = 'mm[Hg]')

interpretation: Below low normal (Details : {http://terminology.hl7.org/CodeSystem/v2-0078 code 'L' = 'Low', given as 'low'})

" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "33586001", + "display": "Sitting position (finding)" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/observation-delta", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "1250004", + "display": "Decreased (qualifier value)" + } + ] + } + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "30350-3", + "display": "Hemoglobin [Mass/volume] in Venous blood" + } + ] + }, + "subject": { + "reference": "Patient/example" + }, + "encounter": { + "reference": "Encounter/example" + }, + "effectivePeriod": { + "start": "2013-04-02T10:30:10+01:00", + "end": "2013-04-05T10:30:10+01:00" + }, + "issued": "2013-04-03T15:30:10+01:00", + "valueQuantity": { + "value": 7.2, + "unit": "g/dl", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0078", + "code": "L", + "display": "Low" + } + ], + "text": "Below low normal" + } + ], + "bodySite": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "308046002", + "display": "Superficial forearm vein" + } + ] + }, + "method": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "120220003", + "display": "Injection to forearm" + } + ] + }, + "specimen": { + "reference": "Specimen/example" + }, + "derivedFrom": [ + { + "reference": "Observation/example" + } + ], + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic blood pressure" + }, + { + "system": "http://snomed.info/sct", + "code": "271649006", + "display": "Systolic blood pressure" + }, + { + "system": "http://acme.org/devices/clinical-codes", + "code": "bp-s", + "display": "Systolic Blood pressure" + } + ] + }, + "valueQuantity": { + "value": 107, + "unit": "mmHg", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0078", + "code": "N", + "display": "normal" + } + ], + "text": "Normal" + } + ] + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic blood pressure" + } + ] + }, + "valueQuantity": { + "value": 60, + "unit": "mmHg", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0078", + "code": "L", + "display": "low" + } + ], + "text": "Below low normal" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-head-circumference.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-head-circumference.json new file mode 100644 index 000000000..372e5563a --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-head-circumference.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "head-circumference", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: head-circumference

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: head_circumference (Details : {LOINC code '8287-5' = 'Head Occipital-frontal circumference by Tape measure', given as 'Head Occipital-frontal circumference by Tape measure'})

subject: Amy V Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: Generated Summary: id: 1036; status: in-progress; inpatient encounter

effective: 12/08/2010 12:00:00 AM

value: 51.2 cm (Details: UCUM code cm = 'cm')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8287-5", + "display": "Head Occipital-frontal circumference by Tape measure" + } + ], + "text": "head_circumference" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy V Shaw" + }, + "encounter": { + "reference": "Encounter/1036" + }, + "effectiveDateTime": "2010-08-12", + "valueQuantity": { + "value": 51.2, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-heart-rate.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-heart-rate.json new file mode 100644 index 000000000..b8d511095 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-heart-rate.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "heart-rate", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: heart-rate

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: heart_rate (Details : {LOINC code '8867-4' = 'Heart rate', given as 'Heart Rate'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 02/07/1999 12:00:00 AM

value: 44.0 {beats}/min (Details: UCUM code {beats}/min = '{beats}/min')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4", + "display": "Heart Rate" + } + ], + "text": "heart_rate" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 44.0, + "unit": "{beats}/min", + "system": "http://unitsofmeasure.org", + "code": "{beats}/min" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-height.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-height.json new file mode 100644 index 000000000..a822b6c76 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-height.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "height", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: height

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: height (Details : {LOINC code '8302-2' = 'Body height', given as 'Body height'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 02/07/1999 12:00:00 AM

value: 111.506 cm (Details: UCUM code cm = 'cm')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2", + "display": "Body height" + } + ], + "text": "height" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 111.506, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-hemoglobin.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-hemoglobin.json new file mode 100644 index 000000000..f19616dfe --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-hemoglobin.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "hemoglobin", + "meta": { + "versionId": "1046", + "lastUpdated": "2016-03-09T15:29:57.818+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: hemoglobin

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Hgb Bld-mCnc (Details : {LOINC code '718-7' = 'Hemoglobin [Mass/volume] in Blood', given as 'Hgb Bld-mCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 17.0 g/dL

ReferenceRanges

-LowHighAppliesTo
*16.5 g/dL (Details: UCUM code g/dL = 'g/dL')21.5 g/dL (Details: UCUM code g/dL = 'g/dL')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "718-7", + "display": "Hgb Bld-mCnc" + } + ], + "text": "Hgb Bld-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 17.0, + "unit": "g/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 16.5, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + }, + "high": { + "value": 21.5, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-length.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-length.json new file mode 100644 index 000000000..9301634c3 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-length.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "length", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: length

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: length (Details : {LOINC code '8306-3' = 'Body height --lying', given as 'Body height --lying'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 02/07/1999 12:00:00 AM

value: 25 cm (Details: UCUM code cm = 'cm')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8306-3", + "display": "Body height --lying" + } + ], + "text": "length" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 25, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-mchc.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-mchc.json new file mode 100644 index 000000000..0b9f5e9ba --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-mchc.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "mchc", + "meta": { + "versionId": "879", + "lastUpdated": "2016-03-09T15:29:57.124+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: mchc

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: MCHC RBC Auto-mCnc (Details : {LOINC code '786-4' = 'MCHC [Mass/volume] by Automated count', given as 'MCHC RBC Auto-mCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 34.7 g/dL

ReferenceRanges

-LowHighAppliesTo
*30.0 g/dL (Details: UCUM code g/dL = 'g/dL')34.0 g/dL (Details: UCUM code g/dL = 'g/dL')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "786-4", + "display": "MCHC RBC Auto-mCnc" + } + ], + "text": "MCHC RBC Auto-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 34.7, + "unit": "g/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 30.0, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + }, + "high": { + "value": 34.0, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-negation-example.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-negation-example.json new file mode 100644 index 000000000..ae0c637fa --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-negation-example.json @@ -0,0 +1,64 @@ +{ + "resourceType": "Observation", + "id": "negation-example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: negation-example

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: Hemoglobin lab test (Details : {[not stated] code 'null' = 'null)

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

encounter: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

effective: Apr 2, 2013 9:30:10 AM --> Apr 5, 2013 9:30:10 AM

issued: Apr 3, 2013 2:30:10 PM

" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-notDoneReason", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "410536001", + "display": "Contraindicated (qualifier value)" + } + ] + } + } + ], + "modifierExtension": [ + { + "url": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-notDone", + "valueBoolean": true + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ] + } + ], + "code": { + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-reference", + "valueUri": "http://cts.nlm.nih.gov/fhir/2.16.840.1.113762.1.4.1045.131" + } + ] + } + ], + "text": "Hemoglobin lab test" + }, + "subject": { + "reference": "Patient/example" + }, + "encounter": { + "reference": "Encounter/example" + }, + "effectivePeriod": { + "start": "2013-04-02T10:30:10+01:00", + "end": "2013-04-05T10:30:10+01:00" + }, + "issued": "2013-04-03T15:30:10+01:00" +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-neutrophils.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-neutrophils.json new file mode 100644 index 000000000..c5c18dbe7 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-neutrophils.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "neutrophils", + "meta": { + "versionId": "1106", + "lastUpdated": "2016-03-09T15:29:58.052+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: neutrophils

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Neutrophils % (Details : {LOINC code '770-8' = 'Neutrophils/100 leukocytes in Blood by Automated count', given as 'Neutrophils/100 leukocytes in Blood by Automated count'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 40.0 %

ReferenceRanges

-LowHighAppliesTo
*37.0 % (Details: UCUM code % = '%')67.0 % (Details: UCUM code % = '%')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "770-8", + "display": "Neutrophils/100 leukocytes in Blood by Automated count" + } + ], + "text": "Neutrophils %" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 40.0, + "unit": "%", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 37.0, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + }, + "high": { + "value": 67.0, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-oxygen-saturation.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-oxygen-saturation.json new file mode 100644 index 000000000..098747b95 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-oxygen-saturation.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "oxygen-saturation", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: oxygen-saturation

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: oxygen_saturation (Details : {LOINC code '59408-5' = 'Oxygen saturation in Arterial blood by Pulse oximetry', given as 'Oxygen saturation in Arterial blood by Pulse oximetry'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 02/07/1999 12:00:00 AM

value: 99.0 %O2 (Details: UCUM code % = '%')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "59408-5", + "display": "Oxygen saturation in Arterial blood by Pulse oximetry" + } + ], + "text": "oxygen_saturation" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 99.0, + "unit": "%O2", + "system": "http://unitsofmeasure.org", + "code": "%" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-pediatric-bmi-example.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-pediatric-bmi-example.json new file mode 100644 index 000000000..7ba57d1de --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-pediatric-bmi-example.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "pediatric-bmi-example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: pediatric-bmi-example

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: BMI (Details : {LOINC code '59576-9' = 'Body mass index (BMI) [Percentile] Per age and sex', given as 'Body mass index (BMI) [Percentile] Per age and gender'})

subject: Infant Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 05/05/2019 5:12:29 AM

value: 65 % (Details: UCUM code % = '%')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "59576-9", + "display": "Body mass index (BMI) [Percentile] Per age and gender" + } + ], + "text": "BMI" + }, + "subject": { + "reference": "Patient/example", + "display": "Infant Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "2019-05-04T12:12:29-07:00", + "valueQuantity": { + "value": 65, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-pediatric-wt-example.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-pediatric-wt-example.json new file mode 100644 index 000000000..8d8ad60db --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-pediatric-wt-example.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "pediatric-wt-example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: pediatric-wt-example

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: BMI (Details : {LOINC code '77606-2' = 'Weight-for-length Per age and sex', given as 'Weight-for-length Per age and gender'})

subject: Infant Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 05/05/2019 5:12:29 AM

value: 65 % (Details: UCUM code % = '%')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "77606-2", + "display": "Weight-for-length Per age and gender" + } + ], + "text": "BMI" + }, + "subject": { + "reference": "Patient/example", + "display": "Infant Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "2019-05-04T12:12:29-07:00", + "valueQuantity": { + "value": 65, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-respiratory-rate.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-respiratory-rate.json new file mode 100644 index 000000000..3d311b574 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-respiratory-rate.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "respiratory-rate", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: respiratory-rate

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: respiratory_rate (Details : {LOINC code '9279-1' = 'Respiratory rate', given as 'Respiratory rate'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 02/07/1999 12:00:00 AM

value: 26.0 breaths per minute (Details: UCUM code /min = '/min')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1", + "display": "Respiratory rate" + } + ], + "text": "respiratory_rate" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 26.0, + "unit": "breaths per minute", + "system": "http://unitsofmeasure.org", + "code": "/min" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-satO2-fiO2.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-satO2-fiO2.json new file mode 100644 index 000000000..fcb88b08e --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-satO2-fiO2.json @@ -0,0 +1,107 @@ +{ + "resourceType": "Observation", + "id": "satO2-fiO2", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: satO2-fiO2

identifier: o1223435-10

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: Oxygen saturation in Arterial blood (Details : {LOINC code '2708-6' = 'Oxygen saturation in Arterial blood', given as 'Oxygen saturation in Arterial blood'}; {LOINC code '59408-5' = 'Oxygen saturation in Arterial blood by Pulse oximetry', given as 'Oxygen saturation in Arterial blood by Pulse oximetry'}; {urn:iso:std:iso:11073:10101 code '150456' = '150456', given as 'MDC_PULS_OXIM_SAT_O2'})

subject: Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/12/2014 7:30:10 PM

value: 95 % (Details: UCUM code % = '%')

interpretation: Normal (applies to non-numeric results) (Details : {http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation code 'N' = 'Normal', given as 'Normal'})

device: Acme Pulse Oximeter 2000

ReferenceRanges

-LowHigh
*90 % (Details: UCUM code % = '%')99 % (Details: UCUM code % = '%')

Components

-CodeValue[x]
*Inhaled oxygen flow rate (Details : {LOINC code '3151-8' = 'Inhaled oxygen flow rate', given as 'Inhaled oxygen flow rate'})6 liters/min (Details: UCUM code l/min = 'l/min')
" + }, + "identifier": [ + { + "system": "http://goodcare.org/observation/id", + "value": "o1223435-10" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2708-6", + "display": "Oxygen saturation in Arterial blood" + }, + { + "system": "http://loinc.org", + "code": "59408-5", + "display": "Oxygen saturation in Arterial blood by Pulse oximetry" + }, + { + "system": "urn:iso:std:iso:11073:10101", + "code": "150456", + "display": "MDC_PULS_OXIM_SAT_O2" + } + ] + }, + "subject": { + "reference": "Patient/example" + }, + "effectiveDateTime": "2014-12-05T09:30:10+01:00", + "valueQuantity": { + "value": 95, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "N", + "display": "Normal" + } + ], + "text": "Normal (applies to non-numeric results)" + } + ], + "device": { + "display": "Acme Pulse Oximeter 2000" + }, + "referenceRange": [ + { + "low": { + "value": 90, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + }, + "high": { + "value": 99, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + } + ], + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "3151-8", + "display": "Inhaled oxygen flow rate" + } + ], + "text": "Inhaled oxygen flow rate" + }, + "valueQuantity": { + "value": 6, + "unit": "liters/min", + "system": "http://unitsofmeasure.org", + "code": "l/min" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-serum-calcium.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-serum-calcium.json new file mode 100644 index 000000000..ecb8fbe2d --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-serum-calcium.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-calcium", + "meta": { + "versionId": "902", + "lastUpdated": "2016-03-09T15:29:57.227+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: serum-calcium

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Calcium SerPl-mCnc (Details : {LOINC code '17861-6' = 'Calcium [Mass/volume] in Serum or Plasma', given as 'Calcium SerPl-mCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 7.7 mg/dL

ReferenceRanges

-LowHighAppliesTo
*8.5 mg/dL (Details: UCUM code mg/dL = 'mg/dL')10.5 mg/dL (Details: UCUM code mg/dL = 'mg/dL')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "17861-6", + "display": "Calcium SerPl-mCnc" + } + ], + "text": "Calcium SerPl-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 7.7, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 8.5, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 10.5, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-serum-chloride.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-serum-chloride.json new file mode 100644 index 000000000..d1ce14bed --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-serum-chloride.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-chloride", + "meta": { + "versionId": "950", + "lastUpdated": "2016-03-09T15:29:57.427+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: serum-chloride

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Chloride SerPl-sCnc (Details : {LOINC code '2075-0' = 'Chloride [Moles/volume] in Serum or Plasma', given as 'Chloride SerPl-sCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 105.0 mmol/L

ReferenceRanges

-LowHighAppliesTo
*95.0 mmol/L (Details: UCUM code mmol/L = 'mmol/L')105.0 mmol/L (Details: UCUM code mmol/L = 'mmol/L')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2075-0", + "display": "Chloride SerPl-sCnc" + } + ], + "text": "Chloride SerPl-sCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 105.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 95.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "high": { + "value": 105.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-serum-co2.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-serum-co2.json new file mode 100644 index 000000000..637e44253 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-serum-co2.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-co2", + "meta": { + "versionId": "962", + "lastUpdated": "2016-03-09T15:29:57.477+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: serum-co2

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: CO2 SerPl-sCnc (Details : {LOINC code '2028-9' = 'Carbon dioxide, total [Moles/volume] in Serum or Plasma', given as 'CO2 SerPl-sCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 24.0 mmol/L

ReferenceRanges

-LowHighAppliesTo
*22.0 mmol/L (Details: UCUM code mmol/L = 'mmol/L')29.0 mmol/L (Details: UCUM code mmol/L = 'mmol/L')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2028-9", + "display": "CO2 SerPl-sCnc" + } + ], + "text": "CO2 SerPl-sCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 24.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 22.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "high": { + "value": 29.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-serum-creatinine.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-serum-creatinine.json new file mode 100644 index 000000000..f06bb9635 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-serum-creatinine.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-creatinine", + "meta": { + "versionId": "926", + "lastUpdated": "2016-03-09T15:29:57.327+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: serum-creatinine

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Creat SerPl-mCnc (Details : {LOINC code '2160-0' = 'Creatinine [Mass/volume] in Serum or Plasma', given as 'Creat SerPl-mCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 1.0 mg/dL

ReferenceRanges

-LowHighAppliesTo
*0.2 mg/dL (Details: UCUM code mg/dL = 'mg/dL')0.6 mg/dL (Details: UCUM code mg/dL = 'mg/dL')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2160-0", + "display": "Creat SerPl-mCnc" + } + ], + "text": "Creat SerPl-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 1.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 0.2, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 0.6, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-serum-potassium.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-serum-potassium.json new file mode 100644 index 000000000..6ef88b4dc --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-serum-potassium.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-potassium", + "meta": { + "versionId": "938", + "lastUpdated": "2016-03-09T15:29:57.376+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: serum-potassium

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Potassium SerPl-sCnc (Details : {LOINC code '2823-3' = 'Potassium [Moles/volume] in Serum or Plasma', given as 'Potassium SerPl-sCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 5.4 mmol/L

ReferenceRanges

-LowHighAppliesTo
*3.5 mmol/L (Details: UCUM code mmol/L = 'mmol/L')5.5 mmol/L (Details: UCUM code mmol/L = 'mmol/L')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2823-3", + "display": "Potassium SerPl-sCnc" + } + ], + "text": "Potassium SerPl-sCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 5.4, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 3.5, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "high": { + "value": 5.5, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-serum-sodium.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-serum-sodium.json new file mode 100644 index 000000000..c591145ef --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-serum-sodium.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-sodium", + "meta": { + "versionId": "914", + "lastUpdated": "2016-03-09T15:29:57.277+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: serum-sodium

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Sodium SerPl-sCnc (Details : {LOINC code '2951-2' = 'Sodium [Moles/volume] in Serum or Plasma', given as 'Sodium SerPl-sCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 137.0 mmol/L

ReferenceRanges

-LowHighAppliesTo
*135.0 mmol/L (Details: UCUM code mmol/L = 'mmol/L')145.0 mmol/L (Details: UCUM code mmol/L = 'mmol/L')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2951-2", + "display": "Sodium SerPl-sCnc" + } + ], + "text": "Sodium SerPl-sCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 137.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 135.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "high": { + "value": 145.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-serum-total-bilirubin.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-serum-total-bilirubin.json new file mode 100644 index 000000000..4a2bf6e4c --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-serum-total-bilirubin.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-total-bilirubin", + "meta": { + "versionId": "1364", + "lastUpdated": "2016-03-09T15:29:59.089+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: serum-total-bilirubin

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Bilirub SerPl-mCnc (Details : {LOINC code '1975-2' = 'Bilirubin.total [Mass/volume] in Serum or Plasma', given as 'Bilirub SerPl-mCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 07/07/2005 12:00:00 AM

value: 8.6 mg/dL

ReferenceRanges

-LowHighAppliesTo
*2.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')7.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "1975-2", + "display": "Bilirub SerPl-mCnc" + } + ], + "text": "Bilirub SerPl-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-07", + "valueQuantity": { + "value": 8.6, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 2.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 7.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-some-day-smoker.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-some-day-smoker.json new file mode 100644 index 000000000..056f1aeeb --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-some-day-smoker.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "some-day-smoker", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: some-day-smoker

meta:

status: final

category: Social History (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'social-history' = 'Social History', given as 'Social History'})

code: Tobacco smoking status NHIS (Details : {LOINC code '72166-2' = 'Tobacco smoking status', given as 'Tobacco smoking status NHIS'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

issued: 18/03/2016 4:27:04 PM

value: Current some day smoker (Details : {SNOMED CT code '428041000124106' = 'Occasional tobacco smoker)

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history", + "display": "Social History" + } + ], + "text": "Social History" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72166-2", + "display": "Tobacco smoking status NHIS" + } + ], + "text": "Tobacco smoking status NHIS" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "issued": "2016-03-18T05:27:04Z", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "428041000124106" + } + ], + "text": "Current some day smoker" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-temperature.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-temperature.json new file mode 100644 index 000000000..ebc6cf591 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-temperature.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "temperature", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: temperature

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: temperature (Details : {LOINC code '8310-5' = 'Body temperature', given as 'Body temperature'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 02/07/1999 12:00:00 AM

value: 36.55556 Cel (Details: UCUM code Cel = 'Cel')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8310-5", + "display": "Body temperature" + } + ], + "text": "temperature" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 36.55556, + "unit": "Cel", + "system": "http://unitsofmeasure.org", + "code": "Cel" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-bacteria.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-bacteria.json new file mode 100644 index 000000000..3b94b3a01 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-bacteria.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-bacteria", + "meta": { + "versionId": "206540", + "lastUpdated": "2016-04-18T03:56:41.250+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-bacteria

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: BACTERIA (Details : {LOINC code '25145-4' = 'Bacteria [Presence] in Urine sediment by Light microscopy', given as 'Bacteria [Presence] in Urine sediment by Light microscopy'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 4+ (Details : {SNOMED CT code '260350009' = 'Present ++++ out of ++++ (qualifier value)', given as '++++'})

ReferenceRanges

-Text
*0-1+
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "25145-4", + "display": "Bacteria [Presence] in Urine sediment by Light microscopy" + } + ], + "text": "BACTERIA" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260350009", + "display": "++++" + } + ], + "text": "4+" + }, + "referenceRange": [ + { + "text": "0-1+" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-bilirubin.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-bilirubin.json new file mode 100644 index 000000000..aa2680a46 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-bilirubin.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-bilirubin", + "meta": { + "versionId": "206456", + "lastUpdated": "2016-04-18T03:37:21.259+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-bilirubin

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: BILIRUBIN (Details : {LOINC code '5770-3' = 'Bilirubin.total [Presence] in Urine by Test strip', given as 'Bilirubin.total [Presence] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: Negative (Details : {SNOMED CT code '260385009' = 'Negative', given as 'Negative'})

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5770-3", + "display": "Bilirubin.total [Presence] in Urine by Test strip" + } + ], + "text": "BILIRUBIN" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260385009", + "display": "Negative" + } + ], + "text": "Negative" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-cells.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-cells.json new file mode 100644 index 000000000..7a82aaf59 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-cells.json @@ -0,0 +1,62 @@ +{ + "resourceType": "Observation", + "id": "urine-cells", + "meta": { + "versionId": "206624", + "lastUpdated": "2016-04-18T04:23:12.123+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-cells

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: EPITHELIAL CELLS (Details : {LOINC code '5787-7' = 'Epithelial cells [#/area] in Urine sediment by Microscopy high power field', given as 'Epithelial cells [#/area] in Urine sediment by Microscopy high power field'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 1-5 cells/HPF

ReferenceRanges

-Text
*None Seen/HPF
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5787-7", + "display": "Epithelial cells [#/area] in Urine sediment by Microscopy high power field" + } + ], + "text": "EPITHELIAL CELLS" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueRange": { + "low": { + "value": 1, + "unit": "cells/HPF", + "system": "http://unitsofmeasure.org", + "code": "/[HPF]" + }, + "high": { + "value": 5, + "unit": "cells/HPF", + "system": "http://unitsofmeasure.org", + "code": "/[HPF]" + } + }, + "referenceRange": [ + { + "text": "None Seen/HPF" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-clarity.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-clarity.json new file mode 100644 index 000000000..0be3b3082 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-clarity.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-clarity", + "meta": { + "versionId": "206432", + "lastUpdated": "2016-04-18T03:33:00.502+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-clarity

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: APPEARANCE (Details : {LOINC code '32167-9' = 'Clarity of Urine', given as 'Clarity of Urine'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: Hazy (Details : {SNOMED CT code '81858005' = 'Cloudy', given as 'Cloudy'})

ReferenceRanges

-Text
*Clear
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "32167-9", + "display": "Clarity of Urine" + } + ], + "text": "APPEARANCE" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "81858005", + "display": "Cloudy" + } + ], + "text": "Hazy" + }, + "referenceRange": [ + { + "text": "Clear" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-color.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-color.json new file mode 100644 index 000000000..53abaf118 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-color.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-color", + "meta": { + "versionId": "206419", + "lastUpdated": "2016-04-18T03:27:43.203+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-color

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: COLOR (Details : {LOINC code '5778-6' = 'Color of Urine', given as 'Color of Urine'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: Yellow (Details : {http://snomed.inbnm,fo/sct code '371244009' = '371244009', given as 'Yellow'})

ReferenceRanges

-Text
*Yellow
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5778-6", + "display": "Color of Urine" + } + ], + "text": "COLOR" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.inbnm,fo/sct", + "code": "371244009", + "display": "Yellow" + } + ], + "text": "Yellow" + }, + "referenceRange": [ + { + "text": "Yellow" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-epi-cells.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-epi-cells.json new file mode 100644 index 000000000..ef79b840f --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-epi-cells.json @@ -0,0 +1,62 @@ +{ + "resourceType": "Observation", + "id": "urine-epi-cells", + "meta": { + "versionId": "206624", + "lastUpdated": "2016-04-18T04:23:12.123+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-epi-cells

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: EPITHELIAL CELLS (Details : {LOINC code '5787-7' = 'Epithelial cells [#/area] in Urine sediment by Microscopy high power field', given as 'Epithelial cells [#/area] in Urine sediment by Microscopy high power field'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 1-5 cells/HPF

ReferenceRanges

-Text
*None Seen/HPF
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5787-7", + "display": "Epithelial cells [#/area] in Urine sediment by Microscopy high power field" + } + ], + "text": "EPITHELIAL CELLS" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueRange": { + "low": { + "value": 1, + "unit": "cells/HPF", + "system": "http://unitsofmeasure.org", + "code": "/[HPF]" + }, + "high": { + "value": 5, + "unit": "cells/HPF", + "system": "http://unitsofmeasure.org", + "code": "/[HPF]" + } + }, + "referenceRange": [ + { + "text": "None Seen/HPF" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-glucose.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-glucose.json new file mode 100644 index 000000000..c597b631e --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-glucose.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-glucose", + "meta": { + "versionId": "206444", + "lastUpdated": "2016-04-18T03:35:42.751+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-glucose

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: GLUCOSE (Details : {LOINC code '25428-4' = 'Glucose [Presence] in Urine by Test strip', given as 'Glucose [Presence] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: Negative (Details : {SNOMED CT code '260385009' = 'Negative', given as 'Negative'})

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "25428-4", + "display": "Glucose [Presence] in Urine by Test strip" + } + ], + "text": "GLUCOSE" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260385009", + "display": "Negative" + } + ], + "text": "Negative" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-hemoglobin.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-hemoglobin.json new file mode 100644 index 000000000..2e64c49f0 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-hemoglobin.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-hemoglobin", + "meta": { + "versionId": "206504", + "lastUpdated": "2016-04-18T03:45:25.300+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-hemoglobin

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: BLOOD (Details : {LOINC code '5794-3' = 'Hemoglobin [Presence] in Urine by Test strip', given as 'Hemoglobin [Presence] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: Trace (Details : {SNOMED CT code '260405006' = 'Trace', given as 'Trace'})

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5794-3", + "display": "Hemoglobin [Presence] in Urine by Test strip" + } + ], + "text": "BLOOD" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260405006", + "display": "Trace" + } + ], + "text": "Trace" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-ketone.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-ketone.json new file mode 100644 index 000000000..55d73a113 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-ketone.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-ketone", + "meta": { + "versionId": "206468", + "lastUpdated": "2016-04-18T03:39:00.812+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-ketone

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: KETONE (Details : {LOINC code '2514-8' = 'Ketones [Presence] in Urine by Test strip', given as 'Ketones [Presence] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: Negative (Details : {SNOMED CT code '260385009' = 'Negative', given as 'Negative'})

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2514-8", + "display": "Ketones [Presence] in Urine by Test strip" + } + ], + "text": "KETONE" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260385009", + "display": "Negative" + } + ], + "text": "Negative" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-leukocyte-esterase.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-leukocyte-esterase.json new file mode 100644 index 000000000..eeeac52a3 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-leukocyte-esterase.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-leukocyte-esterase", + "meta": { + "versionId": "206552", + "lastUpdated": "2016-04-18T03:58:45.747+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-leukocyte-esterase

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: LEUK ESTERASE (Details : {LOINC code '5799-2' = 'Leukocyte esterase [Presence] in Urine by Test strip', given as 'Leukocyte esterase [Presence] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 2+ (Details : {SNOMED CT code '260348001' = 'Present ++ out of ++++ (qualifier value)', given as '++'})

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5799-2", + "display": "Leukocyte esterase [Presence] in Urine by Test strip" + } + ], + "text": "LEUK ESTERASE" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260348001", + "display": "++" + } + ], + "text": "2+" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-nitrite.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-nitrite.json new file mode 100644 index 000000000..98ae91ee5 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-nitrite.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-nitrite", + "meta": { + "versionId": "206492", + "lastUpdated": "2016-04-18T03:42:34.440+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-nitrite

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: NITRITE (Details : {LOINC code '5802-4' = 'Nitrite [Presence] in Urine by Test strip', given as 'Nitrite [Presence] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: Positive (Details : {SNOMED CT code '10828004' = 'Positive', given as 'Positive'})

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5802-4", + "display": "Nitrite [Presence] in Urine by Test strip" + } + ], + "text": "NITRITE" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "10828004", + "display": "Positive" + } + ], + "text": "Positive" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-ph.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-ph.json new file mode 100644 index 000000000..fd8dfe3a6 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-ph.json @@ -0,0 +1,65 @@ +{ + "resourceType": "Observation", + "id": "urine-ph", + "meta": { + "versionId": "206600", + "lastUpdated": "2016-04-18T04:12:25.425+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-ph

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: PH (Details : {LOINC code '5803-2' = 'pH of Urine by Test strip', given as 'pH of Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 6.0 (pH) (Details: UCUM code [pH] = '[pH]')

ReferenceRanges

-LowHigh
*5.0 (pH) (Details: UCUM code [pH] = '[pH]')8.0 (pH) (Details: UCUM code [pH] = '[pH]')
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5803-2", + "display": "pH of Urine by Test strip" + } + ], + "text": "PH" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 6.0, + "unit": "(pH)", + "system": "http://unitsofmeasure.org", + "code": "[pH]" + }, + "referenceRange": [ + { + "low": { + "value": 5.0, + "unit": "(pH)", + "system": "http://unitsofmeasure.org", + "code": "[pH]" + }, + "high": { + "value": 8.0, + "unit": "(pH)", + "system": "http://unitsofmeasure.org", + "code": "[pH]" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-protein.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-protein.json new file mode 100644 index 000000000..afabfc90b --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-protein.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-protein", + "meta": { + "versionId": "206480", + "lastUpdated": "2016-04-18T03:40:36.404+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-protein

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: PROTEIN (Details : {LOINC code '20454-5' = 'Protein [Presence] in Urine by Test strip', given as 'Protein [Presence] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: Negative (Details : {SNOMED CT code '260385009' = 'Negative', given as 'Negative'})

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "20454-5", + "display": "Protein [Presence] in Urine by Test strip" + } + ], + "text": "PROTEIN" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260385009", + "display": "Negative" + } + ], + "text": "Negative" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-rbcs.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-rbcs.json new file mode 100644 index 000000000..e16a73570 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-rbcs.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-rbcs", + "meta": { + "versionId": "206565", + "lastUpdated": "2016-04-18T04:00:52.434+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-rbcs

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: RBC (Details : {LOINC code '13945-1' = 'Erythrocytes [#/area] in Urine sediment by Microscopy high power field', given as 'Erythrocytes [#/area] in Urine sediment by Microscopy high power field'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: Occasional (Details : {SNOMED CT code '84638005' = 'Occasional (qualifier value)', given as 'Occasional'})

ReferenceRanges

-Text
*None Seen/HPF
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "13945-1", + "display": "Erythrocytes [#/area] in Urine sediment by Microscopy high power field" + } + ], + "text": "RBC" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "84638005", + "display": "Occasional" + } + ], + "text": "Occasional" + }, + "referenceRange": [ + { + "text": "None Seen/HPF" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-sediment.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-sediment.json new file mode 100644 index 000000000..a8a7e079d --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-sediment.json @@ -0,0 +1,44 @@ +{ + "resourceType": "Observation", + "id": "urine-sediment", + "meta": { + "versionId": "206577", + "lastUpdated": "2016-04-18T04:07:12.383+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-sediment

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: COMMENT (Details : {LOINC code '11279-7' = 'Urine sediment comments by Light microscopy Narrative', given as 'Urine sediment comments by Light microscopy Narrative'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: Recommend Urine Culture

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11279-7", + "display": "Urine sediment comments by Light microscopy Narrative" + } + ], + "text": "COMMENT" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueString": "Recommend Urine Culture" +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-wbcs.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-wbcs.json new file mode 100644 index 000000000..76c61ab7a --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urine-wbcs.json @@ -0,0 +1,62 @@ +{ + "resourceType": "Observation", + "id": "urine-wbcs", + "meta": { + "versionId": "206635", + "lastUpdated": "2016-04-18T04:25:02.064+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-wbcs

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: WBC (Details : {LOINC code '5821-4' = 'Leukocytes [#/area] in Urine sediment by Microscopy high power field', given as 'Leukocytes [#/area] in Urine sediment by Microscopy high power field'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 20-30 cells/HPF

ReferenceRanges

-Text
*None Seen/HPF
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5821-4", + "display": "Leukocytes [#/area] in Urine sediment by Microscopy high power field" + } + ], + "text": "WBC" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueRange": { + "low": { + "value": 20, + "unit": "cells/HPF", + "system": "http://unitsofmeasure.org", + "code": "/[HPF]" + }, + "high": { + "value": 30, + "unit": "cells/HPF", + "system": "http://unitsofmeasure.org", + "code": "/[HPF]" + } + }, + "referenceRange": [ + { + "text": "None Seen/HPF" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urobilinogen.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urobilinogen.json new file mode 100644 index 000000000..977b10ed9 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-urobilinogen.json @@ -0,0 +1,65 @@ +{ + "resourceType": "Observation", + "id": "urobilinogen", + "meta": { + "versionId": "206612", + "lastUpdated": "2016-04-18T04:20:46.618+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urobilinogen

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: UROBILINOGEN (Details : {LOINC code '20405-7' = 'Urobilinogen [Mass/volume] in Urine by Test strip', given as 'Urobilinogen [Mass/volume] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 0.3 mg/dL (Details: UCUM code mg/dL = 'mg/dL')

ReferenceRanges

-LowHigh
*0.1 mg/dL (Details: UCUM code mg/dL = 'mg/dL')1.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "20405-7", + "display": "Urobilinogen [Mass/volume] in Urine by Test strip" + } + ], + "text": "UROBILINOGEN" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 0.3, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "referenceRange": [ + { + "low": { + "value": 0.1, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 1.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-usg.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-usg.json new file mode 100644 index 000000000..b2b761bc3 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-usg.json @@ -0,0 +1,62 @@ +{ + "resourceType": "Observation", + "id": "usg", + "meta": { + "versionId": "206588", + "lastUpdated": "2016-04-18T04:10:12.426+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: usg

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: SPEC GRAV (Details : {LOINC code '5811-5' = 'Specific gravity of Urine by Test strip', given as 'Specific gravity of Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 1.017 {urine specific gravity} (Details: UCUM code {urine specific gravity} = '{urine specific gravity}')

ReferenceRanges

-LowHigh
*1.003 {urine specific gravity} (Details: UCUM code {urine specific gravity} = '{urine specific gravity}')1.035 {urine specific gravity} (Details: UCUM code {urine specific gravity} = '{urine specific gravity}')
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5811-5", + "display": "Specific gravity of Urine by Test strip" + } + ], + "text": "SPEC GRAV" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 1.017, + "system": "http://unitsofmeasure.org", + "code": "{urine specific gravity}" + }, + "referenceRange": [ + { + "low": { + "value": 1.003, + "system": "http://unitsofmeasure.org", + "code": "{urine specific gravity}" + }, + "high": { + "value": 1.035, + "system": "http://unitsofmeasure.org", + "code": "{urine specific gravity}" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-vitals-panel.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-vitals-panel.json new file mode 100644 index 000000000..150c18dc5 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-vitals-panel.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "vitals-panel", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: vitals-panel

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: Vital signs panel (Details : {LOINC code '85353-1' = 'Vital signs, weight, height, head circumference, oxygen saturation and BMI panel', given as 'Vital signs, weight, height, head circumference, oxygen saturation and BMI panel'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 02/07/1999 12:00:00 AM

hasMember:

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85353-1", + "display": "Vital signs, weight, height, head circumference, oxygen saturation and BMI panel" + } + ], + "text": "Vital signs panel" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "hasMember": [ + { + "reference": "Observation/respiratory-rate", + "display": "Respiratory rate" + }, + { + "reference": "Observation/heart-rate", + "display": "Heart rate" + }, + { + "reference": "Observation/blood-pressure", + "display": "Blood Pressure" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Observation/Observation-weight.json b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-weight.json new file mode 100644 index 000000000..5392f19c8 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Observation/Observation-weight.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "weight", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: weight

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: weight (Details : {LOINC code '29463-7' = 'Body weight', given as 'Body Weight'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 02/07/1999 12:00:00 AM

value: 20.09414 kg (Details: UCUM code kg = 'kg')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7", + "display": "Body Weight" + } + ], + "text": "weight" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 20.09414, + "unit": "kg", + "system": "http://unitsofmeasure.org", + "code": "kg" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Organization/Organization-acme-lab.json b/evaluator.cli/src/test/resources/r4/example/Organization/Organization-acme-lab.json new file mode 100644 index 000000000..0f0d9cd83 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Organization/Organization-acme-lab.json @@ -0,0 +1,57 @@ +{ + "resourceType": "Organization", + "id": "acme-lab", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: acme-lab

meta:

identifier: 1144221847, 12D4567890

active: true

type: Healthcare Provider (Details : {http://terminology.hl7.org/CodeSystem/organization-type code 'prov' = 'Healthcare Provider', given as 'Healthcare Provider'})

name: Acme Labs

telecom: ph: (+1) 734-677-7777, hq@acme.org

address: 3300 Washtenaw Avenue, Suite 227 Amherst MA 01002 USA

" + }, + "identifier": [ + { + "system": "http://hl7.org.fhir/sid/us-npi", + "value": "1144221847" + }, + { + "system": "urn:oid:2.16.840.1.113883.4.7", + "value": "12D4567890" + } + ], + "active": true, + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/organization-type", + "code": "prov", + "display": "Healthcare Provider" + } + ] + } + ], + "name": "Acme Labs", + "telecom": [ + { + "system": "phone", + "value": "(+1) 734-677-7777" + }, + { + "system": "email", + "value": "hq@acme.org" + } + ], + "address": [ + { + "line": [ + "3300 Washtenaw Avenue, Suite 227" + ], + "city": "Amherst", + "state": "MA", + "postalCode": "01002", + "country": "USA" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Organization/Organization-example-organization-2.json b/evaluator.cli/src/test/resources/r4/example/Organization/Organization-example-organization-2.json new file mode 100644 index 000000000..fc8292e53 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Organization/Organization-example-organization-2.json @@ -0,0 +1,57 @@ +{ + "resourceType": "Organization", + "id": "example-organization-2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example-organization-2

meta:

identifier: 1407071236, 121111111

active: true

type: Healthcare Provider (Details : {http://terminology.hl7.org/CodeSystem/organization-type code 'prov' = 'Healthcare Provider', given as 'Healthcare Provider'})

name: Acme Clinic

telecom: ph: (+1) 734-677-7777, customer-service@acme-clinic.org

address: 3300 Washtenaw Avenue, Suite 227 Amherst MA 01002 USA

" + }, + "identifier": [ + { + "system": "http://hl7.org.fhir/sid/us-npi", + "value": "1407071236" + }, + { + "system": "http://example.org/fhir/sid/us-tin", + "value": "121111111" + } + ], + "active": true, + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/organization-type", + "code": "prov", + "display": "Healthcare Provider" + } + ] + } + ], + "name": "Acme Clinic", + "telecom": [ + { + "system": "phone", + "value": "(+1) 734-677-7777" + }, + { + "system": "email", + "value": "customer-service@acme-clinic.org" + } + ], + "address": [ + { + "line": [ + "3300 Washtenaw Avenue, Suite 227" + ], + "city": "Amherst", + "state": "MA", + "postalCode": "01002", + "country": "USA" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Organization/Organization-example.json b/evaluator.cli/src/test/resources/r4/example/Organization/Organization-example.json new file mode 100644 index 000000000..124e1c0d2 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Organization/Organization-example.json @@ -0,0 +1,56 @@ +{ + "resourceType": "Organization", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-organization" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: ??

active: true

type: Organizational team (Details : {http://terminology.hl7.org/CodeSystem/organization-type code 'team' = 'Organizational team', given as 'Organizational team'})

name: Health Level Seven International

telecom: ph: (+1) 734-677-7777, fax: (+1) 734-677-6622, hq@HL7.org

address: 3300 Washtenaw Avenue, Suite 227 Ann Arbor MI 48104 USA

" + }, + "identifier": [ + { + "system": "http://hl7.org" + } + ], + "active": true, + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/organization-type", + "code": "team", + "display": "Organizational team" + } + ] + } + ], + "name": "Health Level Seven International", + "telecom": [ + { + "system": "phone", + "value": "(+1) 734-677-7777" + }, + { + "system": "fax", + "value": "(+1) 734-677-6622" + }, + { + "system": "email", + "value": "hq@HL7.org" + } + ], + "address": [ + { + "line": [ + "3300 Washtenaw Avenue, Suite 227" + ], + "city": "Ann Arbor", + "state": "MI", + "postalCode": "48104", + "country": "USA" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Organization/Organization-saint-luke-w-endpoint.json b/evaluator.cli/src/test/resources/r4/example/Organization/Organization-saint-luke-w-endpoint.json new file mode 100644 index 000000000..e4eb098ea --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Organization/Organization-saint-luke-w-endpoint.json @@ -0,0 +1,82 @@ +{ + "resourceType": "Organization", + "id": "saint-luke-w-endpoint", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + }, + "text": { + "status": "generated", + "div": "
\n

Organization

\n
\n

ID: 393872

\n

Name: Saint Luke's Hospital of Kansas City

\n

NPI: 1063494177

\n

Phone:(816)932-2000

\n

Address:4401 Wornall Rd,, MO, 64111

\n
\n
" + }, + "contained": [ + { + "resourceType": "Endpoint", + "id": "75", + "status": "active", + "connectionType": { + "system": "http://terminology.hl7.org/CodeSystem/endpoint-connection-type", + "code": "direct-project" + }, + "name": "Dr. Ronald Bone Direct Address", + "managingOrganization": { + "reference": "Organization/example-organization-2" + }, + "payloadType": [ + { + "coding": [ + { + "system": "urn:oid:1.3.6.1.4.1.19376.1.2.3", + "code": "urn:hl7-org:sdwg:ccda-structuredBody:1.1" + } + ] + } + ], + "payloadMimeType": [ + "text/xml" + ], + "address": "mailto:Interoperability@DirectAddress.com" + } + ], + "identifier": [ + { + "system": "http://example.org/fhir/sid/us-npi", + "value": "1063494177" + }, + { + "system": "http://example.org/fhir/us/argo/sid/us-ein", + "value": "00-0000000" + } + ], + "active": true, + "name": "Saint Luke's Hospital of Kansas City", + "telecom": [ + { + "system": "phone", + "value": "(816)932-2000", + "use": "work" + }, + { + "system": "other", + "value": "http://www.saintlukeshealthsystem.org/locations/saint-lukes-hospital-kansas-city", + "use": "work" + } + ], + "address": [ + { + "text": "3300 Washtenaw Avenue, Suite 227 Amherst MA 01002", + "line": [ + "4401 Wornall Rd," + ], + "city": "Amherst", + "state": "MA", + "postalCode": "64111" + } + ], + "endpoint": [ + { + "reference": "#75" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Patient/Patient-example.json b/evaluator.cli/src/test/resources/r4/example/Patient/Patient-example.json new file mode 100644 index 000000000..44c6c8d96 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Patient/Patient-example.json @@ -0,0 +1,272 @@ +{ + "resourceType": "Patient", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: Medical record number = 12345 (USUAL)

active: true

name: Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN)

telecom: ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD)

gender: male

birthDate: 1974-12-25

deceased: false

address: 534 Erewhon St PeasantVille, Utah 84414(HOME)

Contacts

-RelationshipNameTelecomAddressGenderPeriod
*Next-of-Kin (Details : {http://terminology.hl7.org/CodeSystem/v2-0131 code 'N' = 'Next-of-Kin)Bénédicte du Marché ph: +33 (237) 998327534 Erewhon St PleasantVille VT 3999 (HOME)femaleJan 1, 2012 12:00:00 AM --> (ongoing)

managingOrganization: Generated Summary: id: example; ??; active; Organizational team; name: Health Level Seven International; ph: (+1) 734-677-7777, fax: (+1) 734-677-6622, hq@HL7.org

" + }, + "extension": [ + { + "url" : "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension" : [ + { + "url" : "ombCategory", + "valueCoding" : { + "system" : "urn:oid:2.16.840.1.113883.6.238", + "code" : "2106-3", + "display" : "White" + } + }, + { + "url" : "ombCategory", + "valueCoding" : { + "system" : "urn:oid:2.16.840.1.113883.6.238", + "code" : "1002-5", + "display" : "American Indian or Alaska Native" + } + }, + { + "url" : "ombCategory", + "valueCoding" : { + "system" : "urn:oid:2.16.840.1.113883.6.238", + "code" : "2028-9", + "display" : "Asian" + } + }, + { + "url" : "detailed", + "valueCoding" : { + "system" : "urn:oid:2.16.840.1.113883.6.238", + "code" : "1586-7", + "display" : "Shoshone" + } + }, + { + "url" : "detailed", + "valueCoding" : { + "system" : "urn:oid:2.16.840.1.113883.6.238", + "code" : "2036-2", + "display" : "Filipino" + } + }, + { + "url" : "detailed", + "valueCoding" : { + "system" : "urn:oid:2.16.840.1.113883.6.238", + "code" : "1735-0", + "display" : "Alaska Native" + } + }, + { + "url" : "text", + "valueString" : "Mixed" + } + ] + }, + { + "url" : "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension" : [ + { + "url" : "ombCategory", + "valueCoding" : { + "system" : "urn:oid:2.16.840.1.113883.6.238", + "code" : "2135-2", + "display" : "Hispanic or Latino" + } + }, + { + "url" : "detailed", + "valueCoding" : { + "system" : "urn:oid:2.16.840.1.113883.6.238", + "code" : "2184-0", + "display" : "Dominican" + } + }, + { + "url" : "detailed", + "valueCoding" : { + "system" : "urn:oid:2.16.840.1.113883.6.238", + "code" : "2148-5", + "display" : "Mexican" + } + }, + { + "url" : "text", + "valueString" : "Hispanic or Latino" + } + ] + }, + { + "url" : "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex", + "valueCode" : "M" + } + ], + "identifier": [ + { + "use": "usual", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "MR" + } + ] + }, + "system": "urn:oid:1.2.36.146.595.217.0.1", + "value": "12345", + "period": { + "start": "2001-05-06" + }, + "assigner": { + "display": "Acme Healthcare" + } + } + ], + "active": true, + "name": [ + { + "use": "official", + "family": "Chalmers", + "given": [ + "Peter", + "James" + ] + }, + { + "use": "usual", + "family": "Chalmers", + "given": [ + "Jim" + ] + }, + { + "use": "maiden", + "family": "Windsor", + "given": [ + "Peter", + "James" + ], + "period": { + "end": "2002" + } + } + ], + "telecom": [ + { + "system": "phone", + "value": "(03) 5555 6473", + "use": "work", + "rank": 1 + }, + { + "system": "phone", + "value": "(03) 3410 5613", + "use": "mobile", + "rank": 2 + }, + { + "system": "phone", + "value": "(03) 5555 8834", + "use": "old", + "period": { + "end": "2014" + } + } + ], + "gender": "male", + "birthDate": "1974-12-25", + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1974-12-25T14:35:45-05:00" + } + ] + }, + "deceasedBoolean": false, + "address": [ + { + "use": "home", + "type": "both", + "text": "534 Erewhon St PeasantVille, Utah 84414", + "line": [ + "534 Erewhon St" + ], + "city": "PleasantVille", + "district": "Rainbow", + "state": "UT", + "postalCode": "84414", + "period": { + "start": "1974-12-25" + } + } + ], + "maritalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus", + "code": "M" + } + ] + }, + "contact": [ + { + "relationship": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "code": "N" + } + ] + } + ], + "name": { + "family": "du Marché", + "_family": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix", + "valueString": "VV" + } + ] + }, + "given": [ + "Bénédicte" + ] + }, + "telecom": [ + { + "system": "phone", + "value": "+33 (237) 998327" + } + ], + "address": { + "use": "home", + "type": "both", + "line": [ + "534 Erewhon St" + ], + "city": "PleasantVille", + "district": "Rainbow", + "state": "VT", + "postalCode": "3999", + "period": { + "start": "1974-12-25" + } + }, + "gender": "female", + "period": { + "start": "2012" + } + } + ], + "managingOrganization": { + "reference": "Organization/example" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Practitioner/Practitioner-example.json b/evaluator.cli/src/test/resources/r4/example/Practitioner/Practitioner-example.json new file mode 100644 index 000000000..3b1491923 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Practitioner/Practitioner-example.json @@ -0,0 +1,68 @@ +{ + "resourceType": "Practitioner", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-practitioner" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: 23

active: true

name: Adam Careful

address: 534 Erewhon St PleasantVille UT 84414 (HOME)

Qualifications

-IdentifierCodePeriodIssuer
*12345Bachelor of Science (Details : {http://terminology.hl7.org/CodeSystem/v2-0360|2.7 code 'BS' = 'Bachelor of Science', given as 'Bachelor of Science'})Jan 1, 1995 12:00:00 AM --> (ongoing)Example University
" + }, + "identifier": [ + { + "system": "http://www.acme.org/practitioners", + "value": "23" + } + ], + "active": true, + "name": [ + { + "family": "Careful", + "given": [ + "Adam" + ], + "prefix": [ + "Dr" + ] + } + ], + "address": [ + { + "use": "home", + "line": [ + "534 Erewhon St" + ], + "city": "PleasantVille", + "state": "UT", + "postalCode": "84414" + } + ], + "qualification": [ + { + "identifier": [ + { + "system": "http://example.org/UniversityIdentifier", + "value": "12345" + } + ], + "code": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0360|2.7", + "code": "BS", + "display": "Bachelor of Science" + } + ], + "text": "Bachelor of Science" + }, + "period": { + "start": "1995" + }, + "issuer": { + "display": "Example University" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Practitioner/Practitioner-practitioner-1.json b/evaluator.cli/src/test/resources/r4/example/Practitioner/Practitioner-practitioner-1.json new file mode 100644 index 000000000..c1a1bb45b --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Practitioner/Practitioner-practitioner-1.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Practitioner", + "id": "practitioner-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: practitioner-1

meta:

identifier: 9941339108, 25456

name: Ronald Bone

address: 1003 Healthcare Drive Amherst MA 01002 (HOME)

" + }, + "identifier": [ + { + "system": "http://hl7.org.fhir/sid/us-npi", + "value": "9941339108" + }, + { + "system": "http://www.acme.org/practitioners", + "value": "25456" + } + ], + "name": [ + { + "family": "Bone", + "given": [ + "Ronald" + ], + "prefix": [ + "Dr" + ] + } + ], + "address": [ + { + "use": "home", + "line": [ + "1003 Healthcare Drive" + ], + "city": "Amherst", + "state": "MA", + "postalCode": "01002" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Practitioner/Practitioner-practitioner-2.json b/evaluator.cli/src/test/resources/r4/example/Practitioner/Practitioner-practitioner-2.json new file mode 100644 index 000000000..cf1a442ff --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Practitioner/Practitioner-practitioner-2.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Practitioner", + "id": "practitioner-2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: practitioner-2

meta:

identifier: 1245319599, 456789

name: Fielding Kathy

address: 1080 FIRST COLONIAL RD Virginia Beach VA 21454-2406 (WORK)

" + }, + "identifier": [ + { + "system": "http://hl7.org.fhir/sid/us-npi", + "value": "1245319599" + }, + { + "system": "http://www.acme.org/practitioners", + "value": "456789" + } + ], + "name": [ + { + "family": "Kathy", + "given": [ + "Fielding" + ], + "prefix": [ + "Dr" + ] + } + ], + "address": [ + { + "use": "work", + "line": [ + "1080 FIRST COLONIAL RD" + ], + "city": "Virginia Beach", + "state": "VA", + "postalCode": "21454-2406" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/PractitionerRole/PractitionerRole-example.json b/evaluator.cli/src/test/resources/r4/example/PractitionerRole/PractitionerRole-example.json new file mode 100644 index 000000000..3cf722e54 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/PractitionerRole/PractitionerRole-example.json @@ -0,0 +1,63 @@ +{ + "resourceType": "PractitionerRole", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-practitionerrole" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: 31

active: true

period: Jan 1, 1995 12:00:00 AM --> (ongoing)

practitioner: Dr Adam Careful. Generated Summary: id: example; 23; active; Adam Careful

organization: Generated Summary: id: example; ??; active; Organizational team; name: Health Level Seven International; ph: (+1) 734-677-7777, fax: (+1) 734-677-6622, hq@HL7.org

code: Primary Care (Details : {http://nucc.org/provider-taxonomy code '261QP2300X' = 'Primary Care', given as 'Primary Care'})

specialty: General Practice (Details : {http://nucc.org/provider-taxonomy code '1223G0001X' = 'General Practice', given as 'General Practice'})

location: Generated Summary: id: example; B1-S.F2; status: active; name: South Wing, second floor; alias: Mean Joe Greene University Medical Center, South Wing, second floor, alias: BU MC, SW, F2; description: Second floor of the Old South Wing, formerly in use by Psychiatry; mode: instance; Hospital; ph: 2328(WORK), fax: 2329(WORK), second wing admissions, http://sampleorg.com/southwing(WORK); Wing

telecom: ph: 801-123-4567

" + }, + "identifier": [ + { + "system": "http://www.acme.org/practitionerroles", + "value": "31" + } + ], + "active": true, + "period": { + "start": "1995" + }, + "practitioner": { + "reference": "Practitioner/example", + "display": "Dr Adam Careful" + }, + "organization": { + "reference": "Organization/example" + }, + "code": [ + { + "coding": [ + { + "system": "http://nucc.org/provider-taxonomy", + "code": "261QP2300X", + "display": "Primary Care" + } + ] + } + ], + "specialty": [ + { + "coding": [ + { + "system": "http://nucc.org/provider-taxonomy", + "code": "1223G0001X", + "display": "General Practice" + } + ] + } + ], + "location": [ + { + "reference": "Location/example" + } + ], + "telecom": [ + { + "system": "phone", + "value": "801-123-4567" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Procedure/Procedure-defib-implant.json b/evaluator.cli/src/test/resources/r4/example/Procedure/Procedure-defib-implant.json new file mode 100644 index 000000000..8c4e6a623 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Procedure/Procedure-defib-implant.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Procedure", + "id": "defib-implant", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: defib-implant

meta:

identifier: urn:uuid:b2a737f2-2fdb-49c1-b097-dac173d07aff

status: completed

code: Insertion or replacement of permanent implantable defibrillator system with transvenous lead(s), single or dual chamber (Details : {http://www.ama-assn.org/go/cpt code '33249' = '33249)

subject: Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

performed: 27/03/2019 6:55:26 AM --> 27/03/2019 7:25:26 AM

Performers

-Actor
*Generated Summary: id: practitioner-1; 9941339108, 25456; Ronald Bone

FocalDevices

-Manipulated
*Generated Summary: id: udi-2; status: active; manufacturer: ACME Biomedical; expirationDate: 01/01/2022 12:00:00 AM; lotNumber: M320; serialNumber: AC221; modelNumber: 1.0; Implant
" + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:b2a737f2-2fdb-49c1-b097-dac173d07aff" + } + ], + "status": "completed", + "code": { + "coding": [ + { + "system": "http://www.ama-assn.org/go/cpt", + "code": "33249" + } + ], + "text": "Insertion or replacement of permanent implantable defibrillator system with transvenous lead(s), single or dual chamber" + }, + "subject": { + "reference": "Patient/example" + }, + "performedPeriod": { + "start": "2019-03-26T12:55:26-07:00", + "end": "2019-03-26T13:25:26-07:00" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/practitioner-1" + } + } + ], + "focalDevice": [ + { + "manipulated": { + "reference": "Device/udi-2" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Procedure/Procedure-example.json b/evaluator.cli/src/test/resources/r4/example/Procedure/Procedure-example.json new file mode 100644 index 000000000..130b40141 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Procedure/Procedure-example.json @@ -0,0 +1,81 @@ +{ + "resourceType": "Procedure", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-procedure" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

status: completed

code: Excision of appendix (procedure) (Details : {SNOMED CT code '80146002' = 'Appendectomy', given as 'Excision of appendix (procedure)'})

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

encounter: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

performed: Apr 5, 2013 1:20:00 PM --> Apr 5, 2013 2:30:00 PM

Performers

-Actor
*Dr Cecil Surgeon. Generated Summary: id: example; 23; active; Adam Careful

reasonCode: On examination - abdominal pain - right iliac (Details : {SNOMED CT code '163220003' = 'On examination - abdominal pain - right iliac (finding)', given as 'On examination - abdominal pain - right iliac'})

bodySite: Appendix structure (Details : {SNOMED CT code '66754008' = 'Appendix', given as 'Appendix structure'})

report: Generated Summary: id: example; status: final; Laboratory; Complete blood count (hemogram) panel - Blood by Automated count; effective: Jul 5, 2005 12:00:00 AM; issued: Jul 6, 2005 12:45:33 AM

" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure", + "valueReference": { + "reference": "BodyStructure/example" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime", + "valueDateTime": "2013-04-05T09:30:00-04:00" + } + ], + "status": "completed", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "80146002", + "display": "Excision of appendix (procedure)" + } + ], + "text": "Excision of appendix (procedure)" + }, + "subject": { + "reference": "Patient/example" + }, + "encounter": { + "reference": "Encounter/example" + }, + "performedPeriod": { + "start": "2013-04-05T09:20:00-04:00", + "end": "2013-04-05T10:30:00-04:00" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/example", + "display": "Dr Cecil Surgeon" + } + } + ], + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "163220003", + "display": "On examination - abdominal pain - right iliac" + } + ] + } + ], + "bodySite": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "66754008", + "display": "Appendix structure" + } + ] + } + ], + "report": [ + { + "reference": "DiagnosticReport/example" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Procedure/Procedure-negation-example.json b/evaluator.cli/src/test/resources/r4/example/Procedure/Procedure-negation-example.json new file mode 100644 index 000000000..881ff0539 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Procedure/Procedure-negation-example.json @@ -0,0 +1,57 @@ +{ + "resourceType": "Procedure", + "id": "negation-example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: negation-example

status: not-done

statusReason: Complication of medical care (disorder) (Details : {SNOMED CT code '35688006' = 'Complication of medical care', given as 'Complication of medical care (disorder)'})

code: Excision of appendix (procedure) (Details : {[not stated] code 'null' = 'null)

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

encounter: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

Performers

-Actor
*Dr Cecil Surgeon. Generated Summary: id: example; 23; active; Adam Careful
" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-recorded", + "valueDateTime": "2013-04-05T10:30:00-04:00" + } + ], + "modifierExtension": [ + { + "url": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-notDone", + "valueBoolean": true + } + ], + "status": "not-done", + "statusReason": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "35688006", + "display": "Complication of medical care (disorder)" + } + ] + }, + "code": { + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-reference", + "valueUri": "http://cts.nlm.nih.gov/fhir/2.16.840.1.113762.1.4.1018.240" + } + ] + } + ], + "text": "Excision of appendix (procedure)" + }, + "subject": { + "reference": "Patient/example" + }, + "encounter": { + "reference": "Encounter/example" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/example", + "display": "Dr Cecil Surgeon" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Procedure/Procedure-rehab.json b/evaluator.cli/src/test/resources/r4/example/Procedure/Procedure-rehab.json new file mode 100644 index 000000000..6c10f8547 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Procedure/Procedure-rehab.json @@ -0,0 +1,34 @@ +{ + "resourceType": "Procedure", + "id": "rehab", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: rehab

meta:

status: completed

code: Alcohol rehabilitation (Details : {SNOMED CT code '35637008' = 'Alcohol rehabilitation (regime/therapy)', given as 'Alcohol rehabilitation'}; {http://www.icd10data.com/icd10pcs code 'HZ30ZZZ' = 'HZ30ZZZ', given as 'Individual Counseling for Substance Abuse Treatment, Cognitive'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

performed: 23/05/2002 12:00:00 AM

" + }, + "status": "completed", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "35637008", + "display": "Alcohol rehabilitation" + }, + { + "system": "http://www.icd10data.com/icd10pcs", + "code": "HZ30ZZZ", + "display": "Individual Counseling for Substance Abuse Treatment, Cognitive" + } + ], + "text": "Alcohol rehabilitation" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "performedDateTime": "2002-05-23" +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/RelatedPerson/RelatedPerson-example.json b/evaluator.cli/src/test/resources/r4/example/RelatedPerson/RelatedPerson-example.json new file mode 100644 index 000000000..93e83273f --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/RelatedPerson/RelatedPerson-example.json @@ -0,0 +1,64 @@ +{ + "resourceType": "RelatedPerson", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-relatedperson" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

patient: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

relationship: Emergency Contact (Details : {http://terminology.hl7.org/CodeSystem/v2-0131 code 'C' = 'Emergency Contact)

name: Peter James Chalmers (OFFICIAL)

telecom: ph: (03) 5555 6473(WORK)

gender: male

address: 534 Erewhon St PleasantVille UT 84414 (HOME)

photo:

period: Mar 11, 2012 12:00:00 AM --> (ongoing)

" + }, + "patient": { + "reference": "Patient/example" + }, + "relationship": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0131", + "code": "C" + } + ] + } + ], + "name": [ + { + "use": "official", + "family": "Chalmers", + "given": [ + "Peter", + "James" + ] + } + ], + "telecom": [ + { + "system": "phone", + "value": "(03) 5555 6473", + "use": "work" + } + ], + "gender": "male", + "address": [ + { + "use": "home", + "line": [ + "534 Erewhon St" + ], + "city": "PleasantVille", + "state": "UT", + "postalCode": "84414" + } + ], + "photo": [ + { + "contentType": "image/jpeg", + "url": "Binary/f012" + } + ], + "period": { + "start": "2012-03-11" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/ServiceRequest/ServiceRequest-appropriateness-example.json b/evaluator.cli/src/test/resources/r4/example/ServiceRequest/ServiceRequest-appropriateness-example.json new file mode 100644 index 000000000..82ee6cf05 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/ServiceRequest/ServiceRequest-appropriateness-example.json @@ -0,0 +1,43 @@ +{ + "resourceType": "ServiceRequest", + "id": "appropriateness-example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: appropriateness-example

status: completed

intent: order

code: CT, head, wo iv contrast (Details : {http://www.ama-assn.org/go/cpt code '70450' = '70450', given as 'CT, head, wo iv contrast'})

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

authoredOn: Mar 30, 2015 12:00:00 AM

requester: Dr. Beverly Crusher

reasonCode: Headache, Chronic, no new features (Details : {http://hl7.org/fhir/sid/icd-9-cm code '70450' = '70450', given as 'Headache, Chronic, no new features'})

" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicerequest-appropriatenessScore", + "valueCode": "appropriate" + } + ], + "status": "completed", + "intent": "order", + "code": { + "coding": [ + { + "system": "http://www.ama-assn.org/go/cpt", + "code": "70450", + "display": "CT, head, wo iv contrast" + } + ] + }, + "subject": { + "reference": "Patient/example" + }, + "authoredOn": "2015-03-30", + "requester": { + "display": "Dr. Beverly Crusher" + }, + "reasonCode": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "70450", + "display": "Headache, Chronic, no new features" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/ServiceRequest/ServiceRequest-elective-example.json b/evaluator.cli/src/test/resources/r4/example/ServiceRequest/ServiceRequest-elective-example.json new file mode 100644 index 000000000..811148978 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/ServiceRequest/ServiceRequest-elective-example.json @@ -0,0 +1,39 @@ +{ + "resourceType": "ServiceRequest", + "id": "elective-example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: elective-example

status: completed

intent: order

code: Stomach Bypass (Details : {SNOMED CT code '442338001' = 'Bypass of stomach', given as 'Bypass of stomach (procedure)'})

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

authoredOn: Mar 30, 2015 12:00:00 AM

requester: Dr. Beverly Crusher

performer: Dr Cecil Surgeon. Generated Summary: id: example; 23; active; Adam Careful

" + }, + "modifierExtension": [ + { + "url": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-isElective", + "valueBoolean": true + } + ], + "status": "completed", + "intent": "order", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "442338001", + "display": "Bypass of stomach (procedure)" + } + ], + "text": "Stomach Bypass" + }, + "subject": { + "reference": "Patient/example" + }, + "authoredOn": "2015-03-30", + "requester": { + "display": "Dr. Beverly Crusher" + }, + "performer": [ + { + "reference": "Practitioner/example", + "display": "Dr Cecil Surgeon" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/ServiceRequest/ServiceRequest-example.json b/evaluator.cli/src/test/resources/r4/example/ServiceRequest/ServiceRequest-example.json new file mode 100644 index 000000000..71dd894b0 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/ServiceRequest/ServiceRequest-example.json @@ -0,0 +1,57 @@ +{ + "resourceType": "ServiceRequest", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicerequest" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

status: completed

intent: order

priority: urgent

code: Excision of appendix (procedure) (Details : {SNOMED CT code '80146002' = 'Appendectomy', given as 'Excision of appendix (procedure)'})

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

encounter: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

occurrence: Apr 5, 2013 12:00:00 AM

asNeeded: true

authoredOn: Apr 4, 2013 12:00:00 AM

reasonCode: On examination - abdominal pain - right iliac (Details : {SNOMED CT code '163220003' = 'On examination - abdominal pain - right iliac (finding)', given as 'On examination - abdominal pain - right iliac'})

bodySite: Appendix structure (Details : {SNOMED CT code '66754008' = 'Appendix', given as 'Appendix structure'})

" + }, + "status": "completed", + "intent": "order", + "priority": "urgent", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "80146002", + "display": "Excision of appendix (procedure)" + } + ], + "text": "Excision of appendix (procedure)" + }, + "subject": { + "reference": "Patient/example" + }, + "encounter": { + "reference": "Encounter/example" + }, + "occurrenceDateTime": "2013-04-05", + "asNeededBoolean": true, + "authoredOn": "2013-04-04", + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "163220003", + "display": "On examination - abdominal pain - right iliac" + } + ] + } + ], + "bodySite": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "66754008", + "display": "Appendix structure" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/ServiceRequest/ServiceRequest-negation-example.json b/evaluator.cli/src/test/resources/r4/example/ServiceRequest/ServiceRequest-negation-example.json new file mode 100644 index 000000000..09393ed2d --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/ServiceRequest/ServiceRequest-negation-example.json @@ -0,0 +1,58 @@ +{ + "resourceType": "ServiceRequest", + "id": "negation-example", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: negation-example

status: completed

intent: order

priority: urgent

doNotPerform: true

code: Excision of appendix (procedure) (Details : {[not stated] code 'null' = 'null)

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

encounter: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

occurrence: Apr 5, 2013 12:00:00 AM

authoredOn: Apr 4, 2013 12:00:00 AM

bodySite: Appendix structure (Details : {SNOMED CT code '66754008' = 'Appendix', given as 'Appendix structure'})

" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-doNotPerformReason", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "416406003", + "display": "Procedure discontinued (situation)" + } + ] + } + } + ], + "status": "completed", + "intent": "order", + "priority": "urgent", + "doNotPerform": true, + "code": { + "coding": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/valueset-reference", + "valueUri": "http://cts.nlm.nih.gov/fhir/2.16.840.1.113762.1.4.1018.240" + } + ] + } + ], + "text": "Excision of appendix (procedure)" + }, + "subject": { + "reference": "Patient/example" + }, + "encounter": { + "reference": "Encounter/example" + }, + "occurrenceDateTime": "2013-04-05", + "authoredOn": "2013-04-04", + "bodySite": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "66754008", + "display": "Appendix structure" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/ServiceRequest/ServiceRequest-referral-example.json b/evaluator.cli/src/test/resources/r4/example/ServiceRequest/ServiceRequest-referral-example.json new file mode 100644 index 000000000..6729f5305 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/ServiceRequest/ServiceRequest-referral-example.json @@ -0,0 +1,78 @@ +{ + "resourceType": "ServiceRequest", + "id": "referral-example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-servicerequest" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: referral-example

meta:

status: revoked

intent: order

category: Referral for procedure (Details : {SNOMED CT code '700274009' = 'Referral for procedure', given as 'Referral for procedure'})

priority: routine

code: Myringotomy and insertion of short-term tympanic ventilation tube (procedure) (Details : {SNOMED CT code '172676009' = 'Myringotomy and insertion of short-term grommet', given as 'Myringotomy and insertion of short-term tympanic ventilation tube (procedure)'})

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

encounter: Generated Summary: id: example; status: in-progress; inpatient encounter; Inpatient Hospital Care

occurrence: Feb 13, 2014 12:00:00 AM

authoredOn: Feb 14, 2014 12:00:00 AM

performerType: Pediatric otolaryngology (Details : {SNOMED CT code '417887005' = 'Pediatric otolaryngology', given as 'Pediatric otolaryngology'})

reasonCode: Otitis media (Details : {SNOMED CT code '65363002' = 'Otitis media', given as 'Otitis media'})

" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/request-statusReason", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "609589008", + "display": "Refused by parents of subject" + } + ] + } + } + ], + "status": "revoked", + "intent": "order", + "category": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "700274009", + "display": "Referral for procedure" + } + ] + } + ], + "priority": "routine", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "172676009", + "display": "Myringotomy and insertion of short-term tympanic ventilation tube (procedure)" + } + ] + }, + "subject": { + "reference": "Patient/example" + }, + "encounter": { + "reference": "Encounter/example" + }, + "occurrenceDateTime": "2014-02-13", + "authoredOn": "2014-02-14", + "performerType": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "417887005", + "display": "Pediatric otolaryngology" + } + ] + }, + "reasonCode": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "65363002", + "display": "Otitis media" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Specimen/Specimen-example.json b/evaluator.cli/src/test/resources/r4/example/Specimen/Specimen-example.json new file mode 100644 index 000000000..c4538040b --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Specimen/Specimen-example.json @@ -0,0 +1,125 @@ +{ + "resourceType": "Specimen", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-specimen" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

type: Venous blood specimen (Details : {SNOMED CT code '122555007' = 'Venous blood specimen', given as 'Venous blood specimen'})

subject: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

receivedTime: Mar 4, 2011 7:03:00 AM

Collections

-ExtensionCollected[x]QuantityBodySite
*Mar 6, 2011 6:15:00 AM6 mLAnterior surface of arm (Details : {SNOMED CT code '7311008' = 'Anterior surface of arm', given as 'Anterior surface of arm'})

Processings

-ExtensionDescriptionProcedureAdditive
*Treated with anticoagulants.Defibrination (Details : {http://terminology.hl7.org/CodeSystem/v2-0373 code 'DEFB' = 'Defibrination', given as 'Defibrination'})Generated Summary: id: example; 1463; status: active; Allergen; apitoxin (Honey Bee Venom)

Containers

-ExtensionTypeCapacity
*Specimen vial (Details : {SNOMED CT code '434746001' = 'Specimen vial (physical object)', given as 'Specimen vial'})10 mL
" + }, + "type": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "122555007", + "display": "Venous blood specimen" + } + ] + }, + "subject": { + "reference": "Patient/example" + }, + "receivedTime": "2011-03-04T07:03:00Z", + "collection": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://example.com", + "code": "5", + "display": "ROUTINE" + } + ] + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/specimen-specialHandling", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "NOPERSISTP", + "display": "no collection beyond purpose of use" + } + ] + } + } + ], + "collectedDateTime": "2011-03-06T06:15:00Z", + "quantity": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight", + "valueBoolean": false + } + ], + "value": 6, + "unit": "mL" + }, + "bodySite": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "7311008", + "display": "Anterior surface of arm" + } + ] + } + }, + "processing": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/specimen-processingTime", + "valuePeriod": { + "start": "2011-03-04T07:03:00Z", + "end": "2011-03-04T07:03:00Z" + } + } + ], + "description": "Treated with anticoagulants.", + "procedure": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0373", + "code": "DEFB", + "display": "Defibrination" + } + ] + }, + "additive": [ + { + "reference": "Substance/example" + } + ] + } + ], + "container": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber", + "valueInteger": 1 + } + ], + "type": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "434746001", + "display": "Specimen vial" + } + ] + }, + "capacity": { + "value": 10, + "unit": "mL" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Substance/Substance-example.json b/evaluator.cli/src/test/resources/r4/example/Substance/Substance-example.json new file mode 100644 index 000000000..222389bb3 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Substance/Substance-example.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Substance", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-substance" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: 1463

status: active

category: Allergen (Details : {http://terminology.hl7.org/CodeSystem/substance-category code 'allergen' = 'Allergen', given as 'Allergen'})

code: apitoxin (Honey Bee Venom) (Details )

Ingredients

-QuantitySubstance[x]
*0.150 mg/1Generated Summary: id: example; 1463; status: active; Allergen; apitoxin (Honey Bee Venom)
" + }, + "identifier": [ + { + "system": "http://acme.org/identifiers/substances", + "value": "1463" + } + ], + "status": "active", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/substance-category", + "code": "allergen", + "display": "Allergen" + } + ] + } + ], + "code": { + "text": "apitoxin (Honey Bee Venom)" + }, + "ingredient": [ + { + "quantity": { + "numerator": { + "value": 0.150, + "unit": "mg" + }, + "denominator": { + "value": 1 + } + }, + "substanceReference": { + "reference": "Substance/example" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/example/Task/Task-example.json b/evaluator.cli/src/test/resources/r4/example/Task/Task-example.json new file mode 100644 index 000000000..05e53ef21 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/example/Task/Task-example.json @@ -0,0 +1,32 @@ +{ + "resourceType": "Task", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-task" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

identifier: 19009

status: draft

intent: proposal

priority: routine

code: Medication Reconciliation (Details )

for: Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 1974-12-25;

executionPeriod: Jun 11, 2018 12:00:00 AM --> Jun 11, 2018 12:00:00 AM

" + }, + "identifier": [ + { + "system": "http://www.acme.org/tasks", + "value": "19009" + } + ], + "status": "draft", + "intent": "proposal", + "priority": "routine", + "code": { + "text": "Medication Reconciliation" + }, + "for": { + "reference": "Patient/example" + }, + "executionPeriod": { + "start": "2018-06-11", + "end": "2018-06-11" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/CodeSystem/CodeSystem-careplan-category.json b/evaluator.cli/src/test/resources/r4/vocabulary/CodeSystem/CodeSystem-careplan-category.json new file mode 100644 index 000000000..0d9f7a6df --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/CodeSystem/CodeSystem-careplan-category.json @@ -0,0 +1,36 @@ +{ + "resourceType": "CodeSystem", + "id": "careplan-category", + "text": { + "status": "generated", + "div": "

US Core CarePlan Category Extension Codes

Set of codes that are needed for implementation of the US-Core profiles. These codes are used as extensions to the FHIR and US Core value sets.

\n

This code system http://hl7.org/fhir/us/core/CodeSystem/careplan-category defines the following codes:

CodeDisplayDefinition
assess-plan Assessment and Plan of TreatmentThe clinical conclusions and assumptions that guide the patient's treatment and the clinical activities formulated for a patient.
" + }, + "url": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "version": "3.1.0", + "name": "USCoreCarePlanCategoryExtensionCodes", + "title": "US Core CarePlan Category Extension Codes", + "status": "active", + "date": "2019-11-06T12:37:38+11:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "Set of codes that are needed for implementation of the US-Core profiles. These codes are used as extensions to the FHIR and US Core value sets.\n", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "caseSensitive": true, + "content": "complete", + "concept": [ + { + "code": "assess-plan", + "display": "Assessment and Plan of Treatment", + "definition": "The clinical conclusions and assumptions that guide the patient's treatment and the clinical activities formulated for a patient." + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/CodeSystem/CodeSystem-cdcrec.json b/evaluator.cli/src/test/resources/r4/vocabulary/CodeSystem/CodeSystem-cdcrec.json new file mode 100644 index 000000000..e406795b8 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/CodeSystem/CodeSystem-cdcrec.json @@ -0,0 +1,4914 @@ +{ + "resourceType": "CodeSystem", + "id": "cdcrec", + "text": { + "status": "generated", + "div": "

Race & Ethnicity - CDC

The U.S. Centers for Disease Control and Prevention (CDC) has prepared a code set for use in codingrace and ethnicity data. This code set is based on current federal standards for classifying data onrace and ethnicity, specifically the minimum race and ethnicity categories defined by the U.S. Office ofManagement and Budget (OMB) and a more detailed set of race and ethnicity categories maintainedby the U.S. Bureau of the Census (BC). The main purpose of the code set is to facilitate use of federalstandards for classifying data on race and ethnicity when these data are exchanged, stored, retrieved,or analyzed in electronic form. At the same time, the code set can be applied to paper-based recordsystems to the extent that these systems are used to collect, maintain, and report data on race andethnicity in accordance with current federal standards. Source: Race and Ethnicity Code Set Version 1.0.

\n

Properties

CodeURLDescriptionType
abstractTrue if an element is considered 'abstract' - in other words, the code is not for use as a real conceptboolean

This code system urn:oid:2.16.840.1.113883.6.238 defines the following codes:

LvlCodeDisplayDefinition
11000-9 RaceRace, Note that this is an abstract 'grouping' concept and not for use as a real concept
2  1002-5 American Indian or Alaska NativeAmerican Indian or Alaska Native
3    1004-1 American IndianAmerican Indian
3    1735-0 Alaska NativeAlaska Native
3    1006-6 AbenakiAbenaki
3    1008-2 AlgonquianAlgonquian
3    1010-8 ApacheApache
3    1021-5 ArapahoArapaho
3    1026-4 ArikaraArikara
3    1028-0 AssiniboineAssiniboine
3    1030-6 Assiniboine SiouxAssiniboine Sioux
3    1033-0 BannockBannock
3    1035-5 BlackfeetBlackfeet
3    1037-1 BrothertonBrotherton
3    1039-7 Burt Lake BandBurt Lake Band
3    1041-3 CaddoCaddo
3    1044-7 CahuillaCahuilla
3    1053-8 California TribesCalifornia Tribes
3    1068-6 Canadian and Latin American IndianCanadian and Latin American Indian
3    1076-9 CatawbaCatawba
3    1078-5 CayuseCayuse
3    1080-1 ChehalisChehalis
3    1082-7 ChemakuanChemakuan
3    1086-8 ChemehueviChemehuevi
3    1088-4 CherokeeCherokee
3    1100-7 Cherokee ShawneeCherokee Shawnee
3    1102-3 CheyenneCheyenne
3    1106-4 Cheyenne-ArapahoCheyenne-Arapaho
3    1108-0 ChickahominyChickahominy
3    1112-2 ChickasawChickasaw
3    1114-8 ChinookChinook
3    1123-9 ChippewaChippewa
3    1150-2 Chippewa CreeChippewa Cree
3    1153-6 ChitimachaChitimacha
3    1155-1 ChoctawChoctaw
3    1162-7 ChumashChumash
3    1165-0 Clear LakeClear Lake
3    1167-6 Coeur D'AleneCoeur D'Alene
3    1169-2 CoharieCoharie
3    1171-8 Colorado RiverColorado River
3    1173-4 ColvilleColville
3    1175-9 ComancheComanche
3    1178-3 Coos, Lower Umpqua, SiuslawCoos, Lower Umpqua, Siuslaw
3    1180-9 CoosCoos
3    1182-5 CoquillesCoquilles
3    1184-1 CostanoanCostanoan
3    1186-6 CoushattaCoushatta
3    1189-0 CowlitzCowlitz
3    1191-6 CreeCree
3    1193-2 CreekCreek
3    1207-0 CroatanCroatan
3    1209-6 CrowCrow
3    1211-2 CupenoCupeno
3    1214-6 DelawareDelaware
3    1222-9 DieguenoDiegueno
3    1233-6 Eastern TribesEastern Tribes
3    1250-0 EsselenEsselen
3    1252-6 Fort BelknapFort Belknap
3    1254-2 Fort BertholdFort Berthold
3    1256-7 Fort McdowellFort Mcdowell
3    1258-3 Fort HallFort Hall
3    1260-9 GabrielenoGabrieleno
3    1262-5 Grand RondeGrand Ronde
3    1264-1 Gros VentresGros Ventres
3    1267-4 HaliwaHaliwa
3    1269-0 HidatsaHidatsa
3    1271-6 HoopaHoopa
3    1275-7 Hoopa ExtensionHoopa Extension
3    1277-3 HoumaHouma
3    1279-9 Inaja-CosmitInaja-Cosmit
3    1281-5 IowaIowa
3    1285-6 IroquoisIroquois
3    1297-1 JuanenoJuaneno
3    1299-7 KalispelKalispel
3    1301-1 KarukKaruk
3    1303-7 KawKaw
3    1305-2 KickapooKickapoo
3    1309-4 KiowaKiowa
3    1312-8 KlallamKlallam
3    1317-7 KlamathKlamath
3    1319-3 KonkowKonkow
3    1321-9 KootenaiKootenai
3    1323-5 LassikLassik
3    1325-0 Long IslandLong Island
3    1331-8 LuisenoLuiseno
3    1340-9 LumbeeLumbee
3    1342-5 LummiLummi
3    1344-1 MaiduMaidu
3    1348-2 MakahMakah
3    1350-8 MaliseetMaliseet
3    1352-4 MandanMandan
3    1354-0 MattaponiMattaponi
3    1356-5 MenomineeMenominee
3    1358-1 MiamiMiami
3    1363-1 MiccosukeeMiccosukee
3    1365-6 MicmacMicmac
3    1368-0 Mission IndiansMission Indians
3    1370-6 MiwokMiwok
3    1372-2 ModocModoc
3    1374-8 MoheganMohegan
3    1376-3 MonoMono
3    1378-9 NanticokeNanticoke
3    1380-5 NarragansettNarragansett
3    1382-1 NavajoNavajo
3    1387-0 Nez PerceNez Perce
3    1389-6 NomalakiNomalaki
3    1391-2 Northwest TribesNorthwest Tribes
3    1403-5 OmahaOmaha
3    1405-0 Oregon AthabaskanOregon Athabaskan
3    1407-6 OsageOsage
3    1409-2 Otoe-MissouriaOtoe-Missouria
3    1411-8 OttawaOttawa
3    1416-7 PaiutePaiute
3    1439-9 PamunkeyPamunkey
3    1441-5 PassamaquoddyPassamaquoddy
3    1445-6 PawneePawnee
3    1448-0 PenobscotPenobscot
3    1450-6 PeoriaPeoria
3    1453-0 PequotPequot
3    1456-3 PimaPima
3    1460-5 PiscatawayPiscataway
3    1462-1 Pit RiverPit River
3    1464-7 PomoPomo
3    1474-6 PoncaPonca
3    1478-7 PotawatomiPotawatomi
3    1487-8 PowhatanPowhatan
3    1489-4 PuebloPueblo
3    1518-0 Puget Sound SalishPuget Sound Salish
3    1541-2 QuapawQuapaw
3    1543-8 QuinaultQuinault
3    1545-3 RappahannockRappahannock
3    1547-9 Reno-SparksReno-Sparks
3    1549-5 Round ValleyRound Valley
3    1551-1 Sac and FoxSac and Fox
3    1556-0 SalinanSalinan
3    1558-6 SalishSalish
3    1560-2 Salish and KootenaiSalish and Kootenai
3    1562-8 SchaghticokeSchaghticoke
3    1564-4 Scott ValleyScott Valley
3    1566-9 SeminoleSeminole
3    1573-5 SerranoSerrano
3    1576-8 ShastaShasta
3    1578-4 ShawneeShawnee
3    1582-6 ShinnecockShinnecock
3    1584-2 Shoalwater BayShoalwater Bay
3    1586-7 ShoshoneShoshone
3    1602-2 Shoshone PaiuteShoshone Paiute
3    1607-1 SiletzSiletz
3    1609-7 SiouxSioux
3    1643-6 SiuslawSiuslaw
3    1645-1 SpokaneSpokane
3    1647-7 StewartStewart
3    1649-3 StockbridgeStockbridge
3    1651-9 SusanvilleSusanville
3    1653-5 Tohono O'OdhamTohono O'Odham
3    1659-2 TolowaTolowa
3    1661-8 TonkawaTonkawa
3    1663-4 TyghTygh
3    1665-9 UmatillaUmatilla
3    1667-5 UmpquaUmpqua
3    1670-9 UteUte
3    1675-8 WailakiWailaki
3    1677-4 Walla-WallaWalla-Walla
3    1679-0 WampanoagWampanoag
3    1683-2 Warm SpringsWarm Springs
3    1685-7 WascopumWascopum
3    1687-3 WashoeWashoe
3    1692-3 WichitaWichita
3    1694-9 Wind RiverWind River
3    1696-4 WinnebagoWinnebago
3    1700-4 WinnemuccaWinnemucca
3    1702-0 WintunWintun
3    1704-6 WiyotWiyot
3    1707-9 YakamaYakama
3    1709-5 Yakama CowlitzYakama Cowlitz
3    1711-1 YaquiYaqui
3    1715-2 Yavapai ApacheYavapai Apache
3    1717-8 YokutsYokuts
3    1722-8 YuchiYuchi
3    1724-4 YumanYuman
3    1732-7 YurokYurok
3    1011-6 ChiricahuaChiricahua
3    1012-4 Fort Sill ApacheFort Sill Apache
3    1013-2 Jicarilla ApacheJicarilla Apache
3    1014-0 Lipan ApacheLipan Apache
3    1015-7 Mescalero ApacheMescalero Apache
3    1016-5 Oklahoma ApacheOklahoma Apache
3    1017-3 Payson ApachePayson Apache
3    1018-1 San Carlos ApacheSan Carlos Apache
3    1019-9 White Mountain ApacheWhite Mountain Apache
3    1022-3 Northern ArapahoNorthern Arapaho
3    1023-1 Southern ArapahoSouthern Arapaho
3    1024-9 Wind River ArapahoWind River Arapaho
3    1031-4 Fort Peck Assiniboine SiouxFort Peck Assiniboine Sioux
3    1042-1 Oklahoma CadoOklahoma Cado
3    1045-4 Agua Caliente CahuillaAgua Caliente Cahuilla
3    1046-2 AugustineAugustine
3    1047-0 CabazonCabazon
3    1048-8 Los CoyotesLos Coyotes
3    1049-6 MorongoMorongo
3    1050-4 Santa Rosa CahuillaSanta Rosa Cahuilla
3    1051-2 Torres-MartinezTorres-Martinez
3    1054-6 CahtoCahto
3    1055-3 ChimarikoChimariko
3    1056-1 Coast MiwokCoast Miwok
3    1057-9 DiggerDigger
3    1058-7 KawaiisuKawaiisu
3    1059-5 Kern RiverKern River
3    1060-3 MattoleMattole
3    1061-1 Red WoodRed Wood
3    1062-9 Santa RosaSanta Rosa
3    1063-7 TakelmaTakelma
3    1064-5 WappoWappo
3    1065-2 YanaYana
3    1066-0 YukiYuki
3    1069-4 Canadian IndianCanadian Indian
3    1070-2 Central American IndianCentral American Indian
3    1071-0 French American IndianFrench American Indian
3    1072-8 Mexican American IndianMexican American Indian
3    1073-6 South American IndianSouth American Indian
3    1074-4 Spanish American IndianSpanish American Indian
3    1083-5 HohHoh
3    1084-3 QuileuteQuileute
3    1089-2 Cherokee AlabamaCherokee Alabama
3    1090-0 Cherokees of Northeast AlabamaCherokees of Northeast Alabama
3    1091-8 Cherokees of Southeast AlabamaCherokees of Southeast Alabama
3    1092-6 Eastern CherokeeEastern Cherokee
3    1093-4 Echota CherokeeEchota Cherokee
3    1094-2 Etowah CherokeeEtowah Cherokee
3    1095-9 Northern CherokeeNorthern Cherokee
3    1096-7 TuscolaTuscola
3    1097-5 United Keetowah Band of CherokeeUnited Keetowah Band of Cherokee
3    1098-3 Western CherokeeWestern Cherokee
3    1103-1 Northern CheyenneNorthern Cheyenne
3    1104-9 Southern CheyenneSouthern Cheyenne
3    1109-8 Eastern ChickahominyEastern Chickahominy
3    1110-6 Western ChickahominyWestern Chickahominy
3    1115-5 ClatsopClatsop
3    1116-3 Columbia River ChinookColumbia River Chinook
3    1117-1 KathlametKathlamet
3    1118-9 Upper ChinookUpper Chinook
3    1119-7 Wakiakum ChinookWakiakum Chinook
3    1120-5 Willapa ChinookWillapa Chinook
3    1121-3 WishramWishram
3    1124-7 Bad RiverBad River
3    1125-4 Bay Mills ChippewaBay Mills Chippewa
3    1126-2 Bois ForteBois Forte
3    1127-0 Burt Lake ChippewaBurt Lake Chippewa
3    1128-8 Fond du LacFond du Lac
3    1129-6 Grand PortageGrand Portage
3    1130-4 Grand Traverse Band of Ottawa/ChippewaGrand Traverse Band of Ottawa/Chippewa
3    1131-2 KeweenawKeweenaw
3    1132-0 Lac Courte OreillesLac Courte Oreilles
3    1133-8 Lac du FlambeauLac du Flambeau
3    1134-6 Lac Vieux Desert ChippewaLac Vieux Desert Chippewa
3    1135-3 Lake SuperiorLake Superior
3    1136-1 Leech LakeLeech Lake
3    1137-9 Little Shell ChippewaLittle Shell Chippewa
3    1138-7 Mille LacsMille Lacs
3    1139-5 Minnesota ChippewaMinnesota Chippewa
3    1140-3 OntonagonOntonagon
3    1141-1 Red Cliff ChippewaRed Cliff Chippewa
3    1142-9 Red Lake ChippewaRed Lake Chippewa
3    1143-7 Saginaw ChippewaSaginaw Chippewa
3    1144-5 St. Croix ChippewaSt. Croix Chippewa
3    1145-2 Sault Ste. Marie ChippewaSault Ste. Marie Chippewa
3    1146-0 Sokoagon ChippewaSokoagon Chippewa
3    1147-8 Turtle MountainTurtle Mountain
3    1148-6 White EarthWhite Earth
3    1151-0 Rocky Boy's Chippewa CreeRocky Boy's Chippewa Cree
3    1156-9 Clifton ChoctawClifton Choctaw
3    1157-7 Jena ChoctawJena Choctaw
3    1158-5 Mississippi ChoctawMississippi Choctaw
3    1159-3 Mowa Band of ChoctawMowa Band of Choctaw
3    1160-1 Oklahoma ChoctawOklahoma Choctaw
3    1163-5 Santa YnezSanta Ynez
3    1176-7 Oklahoma ComancheOklahoma Comanche
3    1187-4 Alabama CoushattaAlabama Coushatta
3    1194-0 Alabama CreekAlabama Creek
3    1195-7 Alabama QuassarteAlabama Quassarte
3    1196-5 Eastern CreekEastern Creek
3    1197-3 Eastern MuscogeeEastern Muscogee
3    1198-1 KialegeeKialegee
3    1199-9 Lower MuscogeeLower Muscogee
3    1200-5 Machis Lower Creek IndianMachis Lower Creek Indian
3    1201-3 Poarch BandPoarch Band
3    1202-1 Principal Creek Indian NationPrincipal Creek Indian Nation
3    1203-9 Star Clan of Muscogee CreeksStar Clan of Muscogee Creeks
3    1204-7 ThlopthloccoThlopthlocco
3    1205-4 TuckabacheeTuckabachee
3    1212-0 Agua CalienteAgua Caliente
3    1215-3 Eastern DelawareEastern Delaware
3    1216-1 Lenni-LenapeLenni-Lenape
3    1217-9 MunseeMunsee
3    1218-7 Oklahoma DelawareOklahoma Delaware
3    1219-5 Rampough MountainRampough Mountain
3    1220-3 Sand HillSand Hill
3    1223-7 CampoCampo
3    1224-5 Capitan GrandeCapitan Grande
3    1225-2 CuyapaipeCuyapaipe
3    1226-0 La PostaLa Posta
3    1227-8 ManzanitaManzanita
3    1228-6 Mesa GrandeMesa Grande
3    1229-4 San PasqualSan Pasqual
3    1230-2 Santa YsabelSanta Ysabel
3    1231-0 SycuanSycuan
3    1234-4 AttacapaAttacapa
3    1235-1 BiloxiBiloxi
3    1236-9 Georgetown (Eastern Tribes)Georgetown (Eastern Tribes)
3    1237-7 MoorMoor
3    1238-5 NansemondNansemond
3    1239-3 NatchezNatchez
3    1240-1 Nausu WaiwashNausu Waiwash
3    1241-9 NipmucNipmuc
3    1242-7 PaugussettPaugussett
3    1243-5 Pocomoke AcohonockPocomoke Acohonock
3    1244-3 Southeastern IndiansSoutheastern Indians
3    1245-0 SusquehanockSusquehanock
3    1246-8 Tunica BiloxiTunica Biloxi
3    1247-6 Waccamaw-SiousanWaccamaw-Siousan
3    1248-4 WicomicoWicomico
3    1265-8 AtsinaAtsina
3    1272-4 TrinityTrinity
3    1273-2 WhilkutWhilkut
3    1282-3 Iowa of Kansas-NebraskaIowa of Kansas-Nebraska
3    1283-1 Iowa of OklahomaIowa of Oklahoma
3    1286-4 CayugaCayuga
3    1287-2 MohawkMohawk
3    1288-0 OneidaOneida
3    1289-8 OnondagaOnondaga
3    1290-6 SenecaSeneca
3    1291-4 Seneca NationSeneca Nation
3    1292-2 Seneca-CayugaSeneca-Cayuga
3    1293-0 Tonawanda SenecaTonawanda Seneca
3    1294-8 TuscaroraTuscarora
3    1295-5 WyandotteWyandotte
3    1306-0 Oklahoma KickapooOklahoma Kickapoo
3    1307-8 Texas KickapooTexas Kickapoo
3    1310-2 Oklahoma KiowaOklahoma Kiowa
3    1313-6 JamestownJamestown
3    1314-4 Lower ElwhaLower Elwha
3    1315-1 Port Gamble KlallamPort Gamble Klallam
3    1326-8 MatinecockMatinecock
3    1327-6 MontaukMontauk
3    1328-4 PoospatuckPoospatuck
3    1329-2 SetauketSetauket
3    1332-6 La JollaLa Jolla
3    1333-4 PalaPala
3    1334-2 PaumaPauma
3    1335-9 PechangaPechanga
3    1336-7 SobobaSoboba
3    1337-5 Twenty-Nine PalmsTwenty-Nine Palms
3    1338-3 TemeculaTemecula
3    1345-8 Mountain MaiduMountain Maidu
3    1346-6 NishinamNishinam
3    1359-9 Illinois MiamiIllinois Miami
3    1360-7 Indiana MiamiIndiana Miami
3    1361-5 Oklahoma MiamiOklahoma Miami
3    1366-4 AroostookAroostook
3    1383-9 Alamo NavajoAlamo Navajo
3    1384-7 Canoncito NavajoCanoncito Navajo
3    1385-4 Ramah NavajoRamah Navajo
3    1392-0 AlseaAlsea
3    1393-8 CeliloCelilo
3    1394-6 ColumbiaColumbia
3    1395-3 KalapuyaKalapuya
3    1396-1 MolalaMolala
3    1397-9 TalakamishTalakamish
3    1398-7 TeninoTenino
3    1399-5 TillamookTillamook
3    1400-1 WenatcheeWenatchee
3    1401-9 YahooskinYahooskin
3    1412-6 Burt Lake OttawaBurt Lake Ottawa
3    1413-4 Michigan OttawaMichigan Ottawa
3    1414-2 Oklahoma OttawaOklahoma Ottawa
3    1417-5 BishopBishop
3    1418-3 BridgeportBridgeport
3    1419-1 Burns PaiuteBurns Paiute
3    1420-9 CedarvilleCedarville
3    1421-7 Fort BidwellFort Bidwell
3    1422-5 Fort IndependenceFort Independence
3    1423-3 KaibabKaibab
3    1424-1 Las VegasLas Vegas
3    1425-8 Lone PineLone Pine
3    1426-6 LovelockLovelock
3    1427-4 Malheur PaiuteMalheur Paiute
3    1428-2 MoapaMoapa
3    1429-0 Northern PaiuteNorthern Paiute
3    1430-8 Owens ValleyOwens Valley
3    1431-6 Pyramid LakePyramid Lake
3    1432-4 San Juan Southern PaiuteSan Juan Southern Paiute
3    1433-2 Southern PaiuteSouthern Paiute
3    1434-0 Summit LakeSummit Lake
3    1435-7 Utu Utu Gwaitu PaiuteUtu Utu Gwaitu Paiute
3    1436-5 Walker RiverWalker River
3    1437-3 Yerington PaiuteYerington Paiute
3    1442-3 Indian TownshipIndian Township
3    1443-1 Pleasant Point PassamaquoddyPleasant Point Passamaquoddy
3    1446-4 Oklahoma PawneeOklahoma Pawnee
3    1451-4 Oklahoma PeoriaOklahoma Peoria
3    1454-8 Marshantucket PequotMarshantucket Pequot
3    1457-1 Gila River Pima-MaricopaGila River Pima-Maricopa
3    1458-9 Salt River Pima-MaricopaSalt River Pima-Maricopa
3    1465-4 Central PomoCentral Pomo
3    1466-2 Dry CreekDry Creek
3    1467-0 Eastern PomoEastern Pomo
3    1468-8 KashiaKashia
3    1469-6 Northern PomoNorthern Pomo
3    1470-4 Scotts ValleyScotts Valley
3    1471-2 StonyfordStonyford
3    1472-0 Sulphur BankSulphur Bank
3    1475-3 Nebraska PoncaNebraska Ponca
3    1476-1 Oklahoma PoncaOklahoma Ponca
3    1479-5 Citizen Band PotawatomiCitizen Band Potawatomi
3    1480-3 Forest CountyForest County
3    1481-1 HannahvilleHannahville
3    1482-9 Huron PotawatomiHuron Potawatomi
3    1483-7 Pokagon PotawatomiPokagon Potawatomi
3    1484-5 Prairie BandPrairie Band
3    1485-2 Wisconsin PotawatomiWisconsin Potawatomi
3    1490-2 AcomaAcoma
3    1491-0 Arizona TewaArizona Tewa
3    1492-8 CochitiCochiti
3    1493-6 HopiHopi
3    1494-4 IsletaIsleta
3    1495-1 JemezJemez
3    1496-9 KeresKeres
3    1497-7 LagunaLaguna
3    1498-5 NambeNambe
3    1499-3 PicurisPicuris
3    1500-8 PiroPiro
3    1501-6 PojoaquePojoaque
3    1502-4 San FelipeSan Felipe
3    1503-2 San IldefonsoSan Ildefonso
3    1504-0 San Juan PuebloSan Juan Pueblo
3    1505-7 San Juan DeSan Juan De
3    1506-5 San JuanSan Juan
3    1507-3 SandiaSandia
3    1508-1 Santa AnaSanta Ana
3    1509-9 Santa ClaraSanta Clara
3    1510-7 Santo DomingoSanto Domingo
3    1511-5 TaosTaos
3    1512-3 TesuqueTesuque
3    1513-1 TewaTewa
3    1514-9 TiguaTigua
3    1515-6 ZiaZia
3    1516-4 ZuniZuni
3    1519-8 DuwamishDuwamish
3    1520-6 KikiallusKikiallus
3    1521-4 Lower SkagitLower Skagit
3    1522-2 MuckleshootMuckleshoot
3    1523-0 NisquallyNisqually
3    1524-8 NooksackNooksack
3    1525-5 Port MadisonPort Madison
3    1526-3 PuyallupPuyallup
3    1527-1 SamishSamish
3    1528-9 Sauk-SuiattleSauk-Suiattle
3    1529-7 SkokomishSkokomish
3    1530-5 SkykomishSkykomish
3    1531-3 SnohomishSnohomish
3    1532-1 SnoqualmieSnoqualmie
3    1533-9 Squaxin IslandSquaxin Island
3    1534-7 SteilacoomSteilacoom
3    1535-4 StillaguamishStillaguamish
3    1536-2 SuquamishSuquamish
3    1537-0 SwinomishSwinomish
3    1538-8 TulalipTulalip
3    1539-6 Upper SkagitUpper Skagit
3    1552-9 Iowa Sac and FoxIowa Sac and Fox
3    1553-7 Missouri Sac and FoxMissouri Sac and Fox
3    1554-5 Oklahoma Sac and FoxOklahoma Sac and Fox
3    1567-7 Big CypressBig Cypress
3    1568-5 BrightonBrighton
3    1569-3 Florida SeminoleFlorida Seminole
3    1570-1 Hollywood SeminoleHollywood Seminole
3    1571-9 Oklahoma SeminoleOklahoma Seminole
3    1574-3 San ManualSan Manual
3    1579-2 Absentee ShawneeAbsentee Shawnee
3    1580-0 Eastern ShawneeEastern Shawnee
3    1587-5 Battle MountainBattle Mountain
3    1588-3 DuckwaterDuckwater
3    1589-1 ElkoElko
3    1590-9 ElyEly
3    1591-7 GoshuteGoshute
3    1592-5 PanamintPanamint
3    1593-3 Ruby ValleyRuby Valley
3    1594-1 Skull ValleySkull Valley
3    1595-8 South Fork ShoshoneSouth Fork Shoshone
3    1596-6 Te-Moak Western ShoshoneTe-Moak Western Shoshone
3    1597-4 Timbi-Sha ShoshoneTimbi-Sha Shoshone
3    1598-2 WashakieWashakie
3    1599-0 Wind River ShoshoneWind River Shoshone
3    1600-6 YombaYomba
3    1603-0 Duck ValleyDuck Valley
3    1604-8 FallonFallon
3    1605-5 Fort McDermittFort McDermitt
3    1610-5 Blackfoot SiouxBlackfoot Sioux
3    1611-3 Brule SiouxBrule Sioux
3    1612-1 Cheyenne River SiouxCheyenne River Sioux
3    1613-9 Crow Creek SiouxCrow Creek Sioux
3    1614-7 Dakota SiouxDakota Sioux
3    1615-4 Flandreau SanteeFlandreau Santee
3    1616-2 Fort PeckFort Peck
3    1617-0 Lake Traverse SiouxLake Traverse Sioux
3    1618-8 Lower Brule SiouxLower Brule Sioux
3    1619-6 Lower SiouxLower Sioux
3    1620-4 Mdewakanton SiouxMdewakanton Sioux
3    1621-2 MiniconjouMiniconjou
3    1622-0 Oglala SiouxOglala Sioux
3    1623-8 Pine Ridge SiouxPine Ridge Sioux
3    1624-6 Pipestone SiouxPipestone Sioux
3    1625-3 Prairie Island SiouxPrairie Island Sioux
3    1626-1 Prior Lake SiouxPrior Lake Sioux
3    1627-9 Rosebud SiouxRosebud Sioux
3    1628-7 Sans Arc SiouxSans Arc Sioux
3    1629-5 Santee SiouxSantee Sioux
3    1630-3 Sisseton-WahpetonSisseton-Wahpeton
3    1631-1 Sisseton SiouxSisseton Sioux
3    1632-9 Spirit Lake SiouxSpirit Lake Sioux
3    1633-7 Standing Rock SiouxStanding Rock Sioux
3    1634-5 Teton SiouxTeton Sioux
3    1635-2 Two Kettle SiouxTwo Kettle Sioux
3    1636-0 Upper SiouxUpper Sioux
3    1637-8 Wahpekute SiouxWahpekute Sioux
3    1638-6 Wahpeton SiouxWahpeton Sioux
3    1639-4 Wazhaza SiouxWazhaza Sioux
3    1640-2 Yankton SiouxYankton Sioux
3    1641-0 Yanktonai SiouxYanktonai Sioux
3    1654-3 Ak-ChinAk-Chin
3    1655-0 Gila BendGila Bend
3    1656-8 San XavierSan Xavier
3    1657-6 SellsSells
3    1668-3 Cow Creek UmpquaCow Creek Umpqua
3    1671-7 Allen CanyonAllen Canyon
3    1672-5 Uintah UteUintah Ute
3    1673-3 Ute Mountain UteUte Mountain Ute
3    1680-8 Gay Head WampanoagGay Head Wampanoag
3    1681-6 Mashpee WampanoagMashpee Wampanoag
3    1688-1 AlpineAlpine
3    1689-9 CarsonCarson
3    1690-7 DresslervilleDresslerville
3    1697-2 Ho-chunkHo-chunk
3    1698-0 Nebraska WinnebagoNebraska Winnebago
3    1705-3 Table BluffTable Bluff
3    1712-9 Barrio LibreBarrio Libre
3    1713-7 Pascua YaquiPascua Yaqui
3    1718-6 ChukchansiChukchansi
3    1719-4 TachiTachi
3    1720-2 Tule RiverTule River
3    1725-1 CocopahCocopah
3    1726-9 HavasupaiHavasupai
3    1727-7 HualapaiHualapai
3    1728-5 MaricopaMaricopa
3    1729-3 MohaveMohave
3    1730-1 QuechanQuechan
3    1731-9 YavapaiYavapai
3    1733-5 Coast YurokCoast Yurok
3    1737-6 Alaska IndianAlaska Indian
3    1840-8 EskimoEskimo
3    1966-1 AleutAleut
3    1739-2 Alaskan AthabascanAlaskan Athabascan
3    1811-9 Southeast AlaskaSoutheast Alaska
3    1740-0 AhtnaAhtna
3    1741-8 AlatnaAlatna
3    1742-6 AlexanderAlexander
3    1743-4 AllakaketAllakaket
3    1744-2 AlanvikAlanvik
3    1745-9 AnvikAnvik
3    1746-7 ArcticArctic
3    1747-5 BeaverBeaver
3    1748-3 Birch CreekBirch Creek
3    1749-1 CantwellCantwell
3    1750-9 ChalkyitsikChalkyitsik
3    1751-7 ChickaloonChickaloon
3    1752-5 ChistochinaChistochina
3    1753-3 ChitinaChitina
3    1754-1 CircleCircle
3    1755-8 Cook InletCook Inlet
3    1756-6 Copper CenterCopper Center
3    1757-4 Copper RiverCopper River
3    1758-2 Dot LakeDot Lake
3    1759-0 DoyonDoyon
3    1760-8 EagleEagle
3    1761-6 EklutnaEklutna
3    1762-4 EvansvilleEvansville
3    1763-2 Fort YukonFort Yukon
3    1764-0 GakonaGakona
3    1765-7 GalenaGalena
3    1766-5 GraylingGrayling
3    1767-3 GulkanaGulkana
3    1768-1 Healy LakeHealy Lake
3    1769-9 Holy CrossHoly Cross
3    1770-7 HughesHughes
3    1771-5 HusliaHuslia
3    1772-3 IliamnaIliamna
3    1773-1 KaltagKaltag
3    1774-9 Kluti KaahKluti Kaah
3    1775-6 KnikKnik
3    1776-4 KoyukukKoyukuk
3    1777-2 Lake MinchuminaLake Minchumina
3    1778-0 LimeLime
3    1779-8 McgrathMcgrath
3    1780-6 Manley Hot SpringsManley Hot Springs
3    1781-4 Mentasta LakeMentasta Lake
3    1782-2 MintoMinto
3    1783-0 NenanaNenana
3    1784-8 NikolaiNikolai
3    1785-5 NinilchikNinilchik
3    1786-3 NondaltonNondalton
3    1787-1 NorthwayNorthway
3    1788-9 NulatoNulato
3    1789-7 Pedro BayPedro Bay
3    1790-5 RampartRampart
3    1791-3 RubyRuby
3    1792-1 SalamatofSalamatof
3    1793-9 SeldoviaSeldovia
3    1794-7 SlanaSlana
3    1795-4 ShagelukShageluk
3    1796-2 StevensStevens
3    1797-0 Stony RiverStony River
3    1798-8 TakotnaTakotna
3    1799-6 TanacrossTanacross
3    1800-2 TanainaTanaina
3    1801-0 TananaTanana
3    1802-8 Tanana ChiefsTanana Chiefs
3    1803-6 TazlinaTazlina
3    1804-4 TelidaTelida
3    1805-1 TetlinTetlin
3    1806-9 TokTok
3    1807-7 TyonekTyonek
3    1808-5 VenetieVenetie
3    1809-3 WisemanWiseman
3    1813-5 Tlingit-HaidaTlingit-Haida
3    1837-4 TsimshianTsimshian
3    1814-3 AngoonAngoon
3    1815-0 Central Council of Tlingit and Haida TribesCentral Council of Tlingit and Haida Tribes
3    1816-8 ChilkatChilkat
3    1817-6 ChilkootChilkoot
3    1818-4 CraigCraig
3    1819-2 DouglasDouglas
3    1820-0 HaidaHaida
3    1821-8 HoonahHoonah
3    1822-6 HydaburgHydaburg
3    1823-4 KakeKake
3    1824-2 KasaanKasaan
3    1825-9 KenaitzeKenaitze
3    1826-7 KetchikanKetchikan
3    1827-5 KlawockKlawock
3    1828-3 PelicanPelican
3    1829-1 PetersburgPetersburg
3    1830-9 SaxmanSaxman
3    1831-7 SitkaSitka
3    1832-5 Tenakee SpringsTenakee Springs
3    1833-3 TlingitTlingit
3    1834-1 WrangellWrangell
3    1835-8 YakutatYakutat
3    1838-2 MetlakatlaMetlakatla
3    1842-4 Greenland EskimoGreenland Eskimo
3    1844-0 Inupiat EskimoInupiat Eskimo
3    1891-1 Siberian EskimoSiberian Eskimo
3    1896-0 Yupik EskimoYupik Eskimo
3    1845-7 AmblerAmbler
3    1846-5 AnaktuvukAnaktuvuk
3    1847-3 Anaktuvuk PassAnaktuvuk Pass
3    1848-1 Arctic Slope InupiatArctic Slope Inupiat
3    1849-9 Arctic Slope CorporationArctic Slope Corporation
3    1850-7 AtqasukAtqasuk
3    1851-5 BarrowBarrow
3    1852-3 Bering Straits InupiatBering Straits Inupiat
3    1853-1 Brevig MissionBrevig Mission
3    1854-9 BucklandBuckland
3    1855-6 ChinikChinik
3    1856-4 CouncilCouncil
3    1857-2 DeeringDeering
3    1858-0 ElimElim
3    1859-8 GolovinGolovin
3    1860-6 Inalik DiomedeInalik Diomede
3    1861-4 InupiaqInupiaq
3    1862-2 KaktovikKaktovik
3    1863-0 KawerakKawerak
3    1864-8 KianaKiana
3    1865-5 KivalinaKivalina
3    1866-3 KobukKobuk
3    1867-1 KotzebueKotzebue
3    1868-9 KoyukKoyuk
3    1869-7 KwigukKwiguk
3    1870-5 Mauneluk InupiatMauneluk Inupiat
3    1871-3 Nana InupiatNana Inupiat
3    1872-1 NoatakNoatak
3    1873-9 NomeNome
3    1874-7 NoorvikNoorvik
3    1875-4 NuiqsutNuiqsut
3    1876-2 Point HopePoint Hope
3    1877-0 Point LayPoint Lay
3    1878-8 SelawikSelawik
3    1879-6 ShaktoolikShaktoolik
3    1880-4 ShishmarefShishmaref
3    1881-2 ShungnakShungnak
3    1882-0 SolomonSolomon
3    1883-8 TellerTeller
3    1884-6 UnalakleetUnalakleet
3    1885-3 WainwrightWainwright
3    1886-1 WalesWales
3    1887-9 White MountainWhite Mountain
3    1888-7 White Mountain InupiatWhite Mountain Inupiat
3    1889-5 Mary's IglooMary's Igloo
3    1892-9 GambellGambell
3    1893-7 SavoongaSavoonga
3    1894-5 Siberian YupikSiberian Yupik
3    1897-8 AkiachakAkiachak
3    1898-6 AkiakAkiak
3    1899-4 AlakanukAlakanuk
3    1900-0 AleknagikAleknagik
3    1901-8 AndreafskyAndreafsky
3    1902-6 AniakAniak
3    1903-4 AtmautluakAtmautluak
3    1904-2 BethelBethel
3    1905-9 Bill Moore's SloughBill Moore's Slough
3    1906-7 Bristol Bay YupikBristol Bay Yupik
3    1907-5 Calista YupikCalista Yupik
3    1908-3 ChefornakChefornak
3    1909-1 ChevakChevak
3    1910-9 ChuathbalukChuathbaluk
3    1911-7 Clark's PointClark's Point
3    1912-5 Crooked CreekCrooked Creek
3    1913-3 DillinghamDillingham
3    1914-1 EekEek
3    1915-8 EkukEkuk
3    1916-6 EkwokEkwok
3    1917-4 EmmonakEmmonak
3    1918-2 Goodnews BayGoodnews Bay
3    1919-0 Hooper BayHooper Bay
3    1920-8 Iqurmuit (Russian Mission)Iqurmuit (Russian Mission)
3    1921-6 KalskagKalskag
3    1922-4 KasiglukKasigluk
3    1923-2 KipnukKipnuk
3    1924-0 KoliganekKoliganek
3    1925-7 KongiganakKongiganak
3    1926-5 KotlikKotlik
3    1927-3 KwethlukKwethluk
3    1928-1 KwigillingokKwigillingok
3    1929-9 LevelockLevelock
3    1930-7 Lower KalskagLower Kalskag
3    1931-5 ManokotakManokotak
3    1932-3 MarshallMarshall
3    1933-1 MekoryukMekoryuk
3    1934-9 Mountain VillageMountain Village
3    1935-6 NaknekNaknek
3    1936-4 NapaumuteNapaumute
3    1937-2 NapakiakNapakiak
3    1938-0 NapaskiakNapaskiak
3    1939-8 NewhalenNewhalen
3    1940-6 New StuyahokNew Stuyahok
3    1941-4 NewtokNewtok
3    1942-2 NightmuteNightmute
3    1943-0 NunapitchukvNunapitchukv
3    1944-8 OscarvilleOscarville
3    1945-5 Pilot StationPilot Station
3    1946-3 Pitkas PointPitkas Point
3    1947-1 PlatinumPlatinum
3    1948-9 Portage CreekPortage Creek
3    1949-7 QuinhagakQuinhagak
3    1950-5 Red DevilRed Devil
3    1951-3 St. MichaelSt. Michael
3    1952-1 Scammon BayScammon Bay
3    1953-9 Sheldon's PointSheldon's Point
3    1954-7 SleetmuteSleetmute
3    1955-4 StebbinsStebbins
3    1956-2 TogiakTogiak
3    1957-0 ToksookToksook
3    1958-8 TulukskakTulukskak
3    1959-6 TuntutuliakTuntutuliak
3    1960-4 TununakTununak
3    1961-2 Twin HillsTwin Hills
3    1962-0 Georgetown (Yupik-Eskimo)Georgetown (Yupik-Eskimo)
3    1963-8 St. Mary'sSt. Mary's
3    1964-6 UmkumiateUmkumiate
3    1968-7 Alutiiq AleutAlutiiq Aleut
3    1972-9 Bristol Bay AleutBristol Bay Aleut
3    1984-4 Chugach AleutChugach Aleut
3    1990-1 EyakEyak
3    1992-7 Koniag AleutKoniag Aleut
3    2002-4 SugpiaqSugpiaq
3    2004-0 SuqpigaqSuqpigaq
3    2006-5 Unangan AleutUnangan Aleut
3    1969-5 TatitlekTatitlek
3    1970-3 UgashikUgashik
3    1973-7 ChignikChignik
3    1974-5 Chignik LakeChignik Lake
3    1975-2 EgegikEgegik
3    1976-0 IgiugigIgiugig
3    1977-8 Ivanof BayIvanof Bay
3    1978-6 King SalmonKing Salmon
3    1979-4 KokhanokKokhanok
3    1980-2 PerryvillePerryville
3    1981-0 Pilot PointPilot Point
3    1982-8 Port HeidenPort Heiden
3    1985-1 ChenegaChenega
3    1986-9 Chugach CorporationChugach Corporation
3    1987-7 English BayEnglish Bay
3    1988-5 Port GrahamPort Graham
3    1993-5 AkhiokAkhiok
3    1994-3 AgdaaguxAgdaagux
3    1995-0 KarlukKarluk
3    1996-8 KodiakKodiak
3    1997-6 Larsen BayLarsen Bay
3    1998-4 Old HarborOld Harbor
3    1999-2 OuzinkieOuzinkie
3    2000-8 Port LionsPort Lions
3    2007-3 AkutanAkutan
3    2008-1 Aleut CorporationAleut Corporation
3    2009-9 AleutianAleutian
3    2010-7 Aleutian IslanderAleutian Islander
3    2011-5 AtkaAtka
3    2012-3 BelkofskiBelkofski
3    2013-1 Chignik LagoonChignik Lagoon
3    2014-9 King CoveKing Cove
3    2015-6 False PassFalse Pass
3    2016-4 Nelson LagoonNelson Lagoon
3    2017-2 NikolskiNikolski
3    2018-0 Pauloff HarborPauloff Harbor
3    2019-8 Qagan ToyagunginQagan Toyagungin
3    2020-6 QawalanginQawalangin
3    2021-4 St. GeorgeSt. George
3    2022-2 St. PaulSt. Paul
3    2023-0 Sand PointSand Point
3    2024-8 South NaknekSouth Naknek
3    2025-5 UnalaskaUnalaska
3    2026-3 UngaUnga
2  2028-9 AsianAsian
3    2029-7 Asian IndianAsian Indian
3    2030-5 BangladeshiBangladeshi
3    2031-3 BhutaneseBhutanese
3    2032-1 BurmeseBurmese
3    2033-9 CambodianCambodian
3    2034-7 ChineseChinese
3    2035-4 TaiwaneseTaiwanese
3    2036-2 FilipinoFilipino
3    2037-0 HmongHmong
3    2038-8 IndonesianIndonesian
3    2039-6 JapaneseJapanese
3    2040-4 KoreanKorean
3    2041-2 LaotianLaotian
3    2042-0 MalaysianMalaysian
3    2043-8 OkinawanOkinawan
3    2044-6 PakistaniPakistani
3    2045-3 Sri LankanSri Lankan
3    2046-1 ThaiThai
3    2047-9 VietnameseVietnamese
3    2048-7 Iwo JimanIwo Jiman
3    2049-5 MaldivianMaldivian
3    2050-3 NepaleseNepalese
3    2051-1 SingaporeanSingaporean
3    2052-9 MadagascarMadagascar
2  2054-5 Black or African AmericanBlack or African American
3    2056-0 BlackBlack
3    2058-6 African AmericanAfrican American
3    2060-2 AfricanAfrican
3    2067-7 BahamianBahamian
3    2068-5 BarbadianBarbadian
3    2069-3 DominicanDominican
3    2070-1 Dominica IslanderDominica Islander
3    2071-9 HaitianHaitian
3    2072-7 JamaicanJamaican
3    2073-5 TobagoanTobagoan
3    2074-3 TrinidadianTrinidadian
3    2075-0 West IndianWest Indian
3    2061-0 BotswananBotswanan
3    2062-8 EthiopianEthiopian
3    2063-6 LiberianLiberian
3    2064-4 NamibianNamibian
3    2065-1 NigerianNigerian
3    2066-9 ZaireanZairean
2  2076-8 Native Hawaiian or Other Pacific IslanderNative Hawaiian or Other Pacific Islander
3    2078-4 PolynesianPolynesian
3    2085-9 MicronesianMicronesian
3    2100-6 MelanesianMelanesian
3    2500-7 Other Pacific IslanderOther Pacific Islander
3    2079-2 Native HawaiianNative Hawaiian
3    2080-0 SamoanSamoan
3    2081-8 TahitianTahitian
3    2082-6 TonganTongan
3    2083-4 TokelauanTokelauan
3    2086-7 Guamanian or ChamorroGuamanian or Chamorro
3    2087-5 GuamanianGuamanian
3    2088-3 ChamorroChamorro
3    2089-1 Mariana IslanderMariana Islander
3    2090-9 MarshalleseMarshallese
3    2091-7 PalauanPalauan
3    2092-5 CarolinianCarolinian
3    2093-3 KosraeanKosraean
3    2094-1 PohnpeianPohnpeian
3    2095-8 SaipaneseSaipanese
3    2096-6 KiribatiKiribati
3    2097-4 ChuukeseChuukese
3    2098-2 YapeseYapese
3    2101-4 FijianFijian
3    2102-2 Papua New GuineanPapua New Guinean
3    2103-0 Solomon IslanderSolomon Islander
3    2104-8 New HebridesNew Hebrides
2  2106-3 WhiteWhite
3    2108-9 EuropeanEuropean
3    2118-8 Middle Eastern or North AfricanMiddle Eastern or North African
3    2129-5 ArabArab
3    2109-7 ArmenianArmenian
3    2110-5 EnglishEnglish
3    2111-3 FrenchFrench
3    2112-1 GermanGerman
3    2113-9 IrishIrish
3    2114-7 ItalianItalian
3    2115-4 PolishPolish
3    2116-2 ScottishScottish
3    2119-6 AssyrianAssyrian
3    2120-4 EgyptianEgyptian
3    2121-2 IranianIranian
3    2122-0 IraqiIraqi
3    2123-8 LebaneseLebanese
3    2124-6 PalestinianPalestinian
3    2125-3 SyrianSyrian
3    2126-1 AfghanistaniAfghanistani
3    2127-9 IsraeiliIsraeili
2  2131-1 Other RaceNote that this term remains in the table for completeness, even though within HL7, the notion of Other code is deprecated.
12133-7 EthnicityEthnicity Note that this is an abstract 'grouping' concept and not for use as a real concept
2  2135-2 Hispanic or LatinoHispanic or Latino
3    2137-8 SpaniardSpaniard
3    2148-5 MexicanMexican
3    2155-0 Central AmericanCentral American
3    2165-9 South AmericanSouth American
3    2178-2 Latin AmericanLatin American
3    2180-8 Puerto RicanPuerto Rican
3    2182-4 CubanCuban
3    2184-0 DominicanDominican
3    2138-6 AndalusianAndalusian
3    2139-4 AsturianAsturian
3    2140-2 CastillianCastillian
3    2141-0 CatalonianCatalonian
3    2142-8 Belearic IslanderBelearic Islander
3    2143-6 GallegoGallego
3    2144-4 ValencianValencian
3    2145-1 CanarianCanarian
3    2146-9 Spanish BasqueSpanish Basque
3    2149-3 Mexican AmericanMexican American
3    2150-1 MexicanoMexicano
3    2151-9 ChicanoChicano
3    2152-7 La RazaLa Raza
3    2153-5 Mexican American IndianMexican American Indian
3    2156-8 Costa RicanCosta Rican
3    2157-6 GuatemalanGuatemalan
3    2158-4 HonduranHonduran
3    2159-2 NicaraguanNicaraguan
3    2160-0 PanamanianPanamanian
3    2161-8 SalvadoranSalvadoran
3    2162-6 Central American IndianCentral American Indian
3    2163-4 Canal ZoneCanal Zone
3    2166-7 ArgentineanArgentinean
3    2167-5 BolivianBolivian
3    2168-3 ChileanChilean
3    2169-1 ColombianColombian
3    2170-9 EcuadorianEcuadorian
3    2171-7 ParaguayanParaguayan
3    2172-5 PeruvianPeruvian
3    2173-3 UruguayanUruguayan
3    2174-1 VenezuelanVenezuelan
3    2175-8 South American IndianSouth American Indian
3    2176-6 CriolloCriollo
2  2186-5 Not Hispanic or LatinoNote that this term remains in the table for completeness, even though within HL7, the notion of "not otherwise coded" term is deprecated.
" + }, + "url": "urn:oid:2.16.840.1.113883.6.238", + "identifier": [ + { + "value": "2.16.840.1.113883.6.238" + } + ], + "version": "3.1.0", + "name": "RaceAndEthnicityCDC", + "title": "Race & Ethnicity - CDC", + "status": "active", + "experimental": false, + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org" + } + ] + } + ], + "description": " The U.S. Centers for Disease Control and Prevention (CDC) has prepared a code set for use in codingrace and ethnicity data. This code set is based on current federal standards for classifying data onrace and ethnicity, specifically the minimum race and ethnicity categories defined by the U.S. Office ofManagement and Budget (OMB) and a more detailed set of race and ethnicity categories maintainedby the U.S. Bureau of the Census (BC). The main purpose of the code set is to facilitate use of federalstandards for classifying data on race and ethnicity when these data are exchanged, stored, retrieved,or analyzed in electronic form. At the same time, the code set can be applied to paper-based recordsystems to the extent that these systems are used to collect, maintain, and report data on race andethnicity in accordance with current federal standards. Source: [Race and Ethnicity Code Set Version 1.0](https://www.cdc.gov/phin/resources/vocabulary/documents/cdc-race--ethnicity-background-and-purpose.pdf).", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "caseSensitive": true, + "hierarchyMeaning": "is-a", + "content": "complete", + "count": 966, + "property": [ + { + "code": "abstract", + "description": "True if an element is considered 'abstract' - in other words, the code is not for use as a real concept", + "type": "boolean" + } + ], + "concept": [ + { + "code": "1000-9", + "display": "Race", + "definition": "Race, Note that this is an abstract 'grouping' concept and not for use as a real concept", + "property": [ + { + "code": "abstract", + "valueBoolean": true + } + ], + "concept": [ + { + "code": "1002-5", + "display": "American Indian or Alaska Native", + "definition": "American Indian or Alaska Native", + "concept": [ + { + "code": "1004-1", + "display": "American Indian", + "definition": "American Indian" + }, + { + "code": "1735-0", + "display": "Alaska Native", + "definition": "Alaska Native" + }, + { + "code": "1006-6", + "display": "Abenaki", + "definition": "Abenaki" + }, + { + "code": "1008-2", + "display": "Algonquian", + "definition": "Algonquian" + }, + { + "code": "1010-8", + "display": "Apache", + "definition": "Apache" + }, + { + "code": "1021-5", + "display": "Arapaho", + "definition": "Arapaho" + }, + { + "code": "1026-4", + "display": "Arikara", + "definition": "Arikara" + }, + { + "code": "1028-0", + "display": "Assiniboine", + "definition": "Assiniboine" + }, + { + "code": "1030-6", + "display": "Assiniboine Sioux", + "definition": "Assiniboine Sioux" + }, + { + "code": "1033-0", + "display": "Bannock", + "definition": "Bannock" + }, + { + "code": "1035-5", + "display": "Blackfeet", + "definition": "Blackfeet" + }, + { + "code": "1037-1", + "display": "Brotherton", + "definition": "Brotherton" + }, + { + "code": "1039-7", + "display": "Burt Lake Band", + "definition": "Burt Lake Band" + }, + { + "code": "1041-3", + "display": "Caddo", + "definition": "Caddo" + }, + { + "code": "1044-7", + "display": "Cahuilla", + "definition": "Cahuilla" + }, + { + "code": "1053-8", + "display": "California Tribes", + "definition": "California Tribes" + }, + { + "code": "1068-6", + "display": "Canadian and Latin American Indian", + "definition": "Canadian and Latin American Indian" + }, + { + "code": "1076-9", + "display": "Catawba", + "definition": "Catawba" + }, + { + "code": "1078-5", + "display": "Cayuse", + "definition": "Cayuse" + }, + { + "code": "1080-1", + "display": "Chehalis", + "definition": "Chehalis" + }, + { + "code": "1082-7", + "display": "Chemakuan", + "definition": "Chemakuan" + }, + { + "code": "1086-8", + "display": "Chemehuevi", + "definition": "Chemehuevi" + }, + { + "code": "1088-4", + "display": "Cherokee", + "definition": "Cherokee" + }, + { + "code": "1100-7", + "display": "Cherokee Shawnee", + "definition": "Cherokee Shawnee" + }, + { + "code": "1102-3", + "display": "Cheyenne", + "definition": "Cheyenne" + }, + { + "code": "1106-4", + "display": "Cheyenne-Arapaho", + "definition": "Cheyenne-Arapaho" + }, + { + "code": "1108-0", + "display": "Chickahominy", + "definition": "Chickahominy" + }, + { + "code": "1112-2", + "display": "Chickasaw", + "definition": "Chickasaw" + }, + { + "code": "1114-8", + "display": "Chinook", + "definition": "Chinook" + }, + { + "code": "1123-9", + "display": "Chippewa", + "definition": "Chippewa" + }, + { + "code": "1150-2", + "display": "Chippewa Cree", + "definition": "Chippewa Cree" + }, + { + "code": "1153-6", + "display": "Chitimacha", + "definition": "Chitimacha" + }, + { + "code": "1155-1", + "display": "Choctaw", + "definition": "Choctaw" + }, + { + "code": "1162-7", + "display": "Chumash", + "definition": "Chumash" + }, + { + "code": "1165-0", + "display": "Clear Lake", + "definition": "Clear Lake" + }, + { + "code": "1167-6", + "display": "Coeur D'Alene", + "definition": "Coeur D'Alene" + }, + { + "code": "1169-2", + "display": "Coharie", + "definition": "Coharie" + }, + { + "code": "1171-8", + "display": "Colorado River", + "definition": "Colorado River" + }, + { + "code": "1173-4", + "display": "Colville", + "definition": "Colville" + }, + { + "code": "1175-9", + "display": "Comanche", + "definition": "Comanche" + }, + { + "code": "1178-3", + "display": "Coos, Lower Umpqua, Siuslaw", + "definition": "Coos, Lower Umpqua, Siuslaw" + }, + { + "code": "1180-9", + "display": "Coos", + "definition": "Coos" + }, + { + "code": "1182-5", + "display": "Coquilles", + "definition": "Coquilles" + }, + { + "code": "1184-1", + "display": "Costanoan", + "definition": "Costanoan" + }, + { + "code": "1186-6", + "display": "Coushatta", + "definition": "Coushatta" + }, + { + "code": "1189-0", + "display": "Cowlitz", + "definition": "Cowlitz" + }, + { + "code": "1191-6", + "display": "Cree", + "definition": "Cree" + }, + { + "code": "1193-2", + "display": "Creek", + "definition": "Creek" + }, + { + "code": "1207-0", + "display": "Croatan", + "definition": "Croatan" + }, + { + "code": "1209-6", + "display": "Crow", + "definition": "Crow" + }, + { + "code": "1211-2", + "display": "Cupeno", + "definition": "Cupeno" + }, + { + "code": "1214-6", + "display": "Delaware", + "definition": "Delaware" + }, + { + "code": "1222-9", + "display": "Diegueno", + "definition": "Diegueno" + }, + { + "code": "1233-6", + "display": "Eastern Tribes", + "definition": "Eastern Tribes" + }, + { + "code": "1250-0", + "display": "Esselen", + "definition": "Esselen" + }, + { + "code": "1252-6", + "display": "Fort Belknap", + "definition": "Fort Belknap" + }, + { + "code": "1254-2", + "display": "Fort Berthold", + "definition": "Fort Berthold" + }, + { + "code": "1256-7", + "display": "Fort Mcdowell", + "definition": "Fort Mcdowell" + }, + { + "code": "1258-3", + "display": "Fort Hall", + "definition": "Fort Hall" + }, + { + "code": "1260-9", + "display": "Gabrieleno", + "definition": "Gabrieleno" + }, + { + "code": "1262-5", + "display": "Grand Ronde", + "definition": "Grand Ronde" + }, + { + "code": "1264-1", + "display": "Gros Ventres", + "definition": "Gros Ventres" + }, + { + "code": "1267-4", + "display": "Haliwa", + "definition": "Haliwa" + }, + { + "code": "1269-0", + "display": "Hidatsa", + "definition": "Hidatsa" + }, + { + "code": "1271-6", + "display": "Hoopa", + "definition": "Hoopa" + }, + { + "code": "1275-7", + "display": "Hoopa Extension", + "definition": "Hoopa Extension" + }, + { + "code": "1277-3", + "display": "Houma", + "definition": "Houma" + }, + { + "code": "1279-9", + "display": "Inaja-Cosmit", + "definition": "Inaja-Cosmit" + }, + { + "code": "1281-5", + "display": "Iowa", + "definition": "Iowa" + }, + { + "code": "1285-6", + "display": "Iroquois", + "definition": "Iroquois" + }, + { + "code": "1297-1", + "display": "Juaneno", + "definition": "Juaneno" + }, + { + "code": "1299-7", + "display": "Kalispel", + "definition": "Kalispel" + }, + { + "code": "1301-1", + "display": "Karuk", + "definition": "Karuk" + }, + { + "code": "1303-7", + "display": "Kaw", + "definition": "Kaw" + }, + { + "code": "1305-2", + "display": "Kickapoo", + "definition": "Kickapoo" + }, + { + "code": "1309-4", + "display": "Kiowa", + "definition": "Kiowa" + }, + { + "code": "1312-8", + "display": "Klallam", + "definition": "Klallam" + }, + { + "code": "1317-7", + "display": "Klamath", + "definition": "Klamath" + }, + { + "code": "1319-3", + "display": "Konkow", + "definition": "Konkow" + }, + { + "code": "1321-9", + "display": "Kootenai", + "definition": "Kootenai" + }, + { + "code": "1323-5", + "display": "Lassik", + "definition": "Lassik" + }, + { + "code": "1325-0", + "display": "Long Island", + "definition": "Long Island" + }, + { + "code": "1331-8", + "display": "Luiseno", + "definition": "Luiseno" + }, + { + "code": "1340-9", + "display": "Lumbee", + "definition": "Lumbee" + }, + { + "code": "1342-5", + "display": "Lummi", + "definition": "Lummi" + }, + { + "code": "1344-1", + "display": "Maidu", + "definition": "Maidu" + }, + { + "code": "1348-2", + "display": "Makah", + "definition": "Makah" + }, + { + "code": "1350-8", + "display": "Maliseet", + "definition": "Maliseet" + }, + { + "code": "1352-4", + "display": "Mandan", + "definition": "Mandan" + }, + { + "code": "1354-0", + "display": "Mattaponi", + "definition": "Mattaponi" + }, + { + "code": "1356-5", + "display": "Menominee", + "definition": "Menominee" + }, + { + "code": "1358-1", + "display": "Miami", + "definition": "Miami" + }, + { + "code": "1363-1", + "display": "Miccosukee", + "definition": "Miccosukee" + }, + { + "code": "1365-6", + "display": "Micmac", + "definition": "Micmac" + }, + { + "code": "1368-0", + "display": "Mission Indians", + "definition": "Mission Indians" + }, + { + "code": "1370-6", + "display": "Miwok", + "definition": "Miwok" + }, + { + "code": "1372-2", + "display": "Modoc", + "definition": "Modoc" + }, + { + "code": "1374-8", + "display": "Mohegan", + "definition": "Mohegan" + }, + { + "code": "1376-3", + "display": "Mono", + "definition": "Mono" + }, + { + "code": "1378-9", + "display": "Nanticoke", + "definition": "Nanticoke" + }, + { + "code": "1380-5", + "display": "Narragansett", + "definition": "Narragansett" + }, + { + "code": "1382-1", + "display": "Navajo", + "definition": "Navajo" + }, + { + "code": "1387-0", + "display": "Nez Perce", + "definition": "Nez Perce" + }, + { + "code": "1389-6", + "display": "Nomalaki", + "definition": "Nomalaki" + }, + { + "code": "1391-2", + "display": "Northwest Tribes", + "definition": "Northwest Tribes" + }, + { + "code": "1403-5", + "display": "Omaha", + "definition": "Omaha" + }, + { + "code": "1405-0", + "display": "Oregon Athabaskan", + "definition": "Oregon Athabaskan" + }, + { + "code": "1407-6", + "display": "Osage", + "definition": "Osage" + }, + { + "code": "1409-2", + "display": "Otoe-Missouria", + "definition": "Otoe-Missouria" + }, + { + "code": "1411-8", + "display": "Ottawa", + "definition": "Ottawa" + }, + { + "code": "1416-7", + "display": "Paiute", + "definition": "Paiute" + }, + { + "code": "1439-9", + "display": "Pamunkey", + "definition": "Pamunkey" + }, + { + "code": "1441-5", + "display": "Passamaquoddy", + "definition": "Passamaquoddy" + }, + { + "code": "1445-6", + "display": "Pawnee", + "definition": "Pawnee" + }, + { + "code": "1448-0", + "display": "Penobscot", + "definition": "Penobscot" + }, + { + "code": "1450-6", + "display": "Peoria", + "definition": "Peoria" + }, + { + "code": "1453-0", + "display": "Pequot", + "definition": "Pequot" + }, + { + "code": "1456-3", + "display": "Pima", + "definition": "Pima" + }, + { + "code": "1460-5", + "display": "Piscataway", + "definition": "Piscataway" + }, + { + "code": "1462-1", + "display": "Pit River", + "definition": "Pit River" + }, + { + "code": "1464-7", + "display": "Pomo", + "definition": "Pomo" + }, + { + "code": "1474-6", + "display": "Ponca", + "definition": "Ponca" + }, + { + "code": "1478-7", + "display": "Potawatomi", + "definition": "Potawatomi" + }, + { + "code": "1487-8", + "display": "Powhatan", + "definition": "Powhatan" + }, + { + "code": "1489-4", + "display": "Pueblo", + "definition": "Pueblo" + }, + { + "code": "1518-0", + "display": "Puget Sound Salish", + "definition": "Puget Sound Salish" + }, + { + "code": "1541-2", + "display": "Quapaw", + "definition": "Quapaw" + }, + { + "code": "1543-8", + "display": "Quinault", + "definition": "Quinault" + }, + { + "code": "1545-3", + "display": "Rappahannock", + "definition": "Rappahannock" + }, + { + "code": "1547-9", + "display": "Reno-Sparks", + "definition": "Reno-Sparks" + }, + { + "code": "1549-5", + "display": "Round Valley", + "definition": "Round Valley" + }, + { + "code": "1551-1", + "display": "Sac and Fox", + "definition": "Sac and Fox" + }, + { + "code": "1556-0", + "display": "Salinan", + "definition": "Salinan" + }, + { + "code": "1558-6", + "display": "Salish", + "definition": "Salish" + }, + { + "code": "1560-2", + "display": "Salish and Kootenai", + "definition": "Salish and Kootenai" + }, + { + "code": "1562-8", + "display": "Schaghticoke", + "definition": "Schaghticoke" + }, + { + "code": "1564-4", + "display": "Scott Valley", + "definition": "Scott Valley" + }, + { + "code": "1566-9", + "display": "Seminole", + "definition": "Seminole" + }, + { + "code": "1573-5", + "display": "Serrano", + "definition": "Serrano" + }, + { + "code": "1576-8", + "display": "Shasta", + "definition": "Shasta" + }, + { + "code": "1578-4", + "display": "Shawnee", + "definition": "Shawnee" + }, + { + "code": "1582-6", + "display": "Shinnecock", + "definition": "Shinnecock" + }, + { + "code": "1584-2", + "display": "Shoalwater Bay", + "definition": "Shoalwater Bay" + }, + { + "code": "1586-7", + "display": "Shoshone", + "definition": "Shoshone" + }, + { + "code": "1602-2", + "display": "Shoshone Paiute", + "definition": "Shoshone Paiute" + }, + { + "code": "1607-1", + "display": "Siletz", + "definition": "Siletz" + }, + { + "code": "1609-7", + "display": "Sioux", + "definition": "Sioux" + }, + { + "code": "1643-6", + "display": "Siuslaw", + "definition": "Siuslaw" + }, + { + "code": "1645-1", + "display": "Spokane", + "definition": "Spokane" + }, + { + "code": "1647-7", + "display": "Stewart", + "definition": "Stewart" + }, + { + "code": "1649-3", + "display": "Stockbridge", + "definition": "Stockbridge" + }, + { + "code": "1651-9", + "display": "Susanville", + "definition": "Susanville" + }, + { + "code": "1653-5", + "display": "Tohono O'Odham", + "definition": "Tohono O'Odham" + }, + { + "code": "1659-2", + "display": "Tolowa", + "definition": "Tolowa" + }, + { + "code": "1661-8", + "display": "Tonkawa", + "definition": "Tonkawa" + }, + { + "code": "1663-4", + "display": "Tygh", + "definition": "Tygh" + }, + { + "code": "1665-9", + "display": "Umatilla", + "definition": "Umatilla" + }, + { + "code": "1667-5", + "display": "Umpqua", + "definition": "Umpqua" + }, + { + "code": "1670-9", + "display": "Ute", + "definition": "Ute" + }, + { + "code": "1675-8", + "display": "Wailaki", + "definition": "Wailaki" + }, + { + "code": "1677-4", + "display": "Walla-Walla", + "definition": "Walla-Walla" + }, + { + "code": "1679-0", + "display": "Wampanoag", + "definition": "Wampanoag" + }, + { + "code": "1683-2", + "display": "Warm Springs", + "definition": "Warm Springs" + }, + { + "code": "1685-7", + "display": "Wascopum", + "definition": "Wascopum" + }, + { + "code": "1687-3", + "display": "Washoe", + "definition": "Washoe" + }, + { + "code": "1692-3", + "display": "Wichita", + "definition": "Wichita" + }, + { + "code": "1694-9", + "display": "Wind River", + "definition": "Wind River" + }, + { + "code": "1696-4", + "display": "Winnebago", + "definition": "Winnebago" + }, + { + "code": "1700-4", + "display": "Winnemucca", + "definition": "Winnemucca" + }, + { + "code": "1702-0", + "display": "Wintun", + "definition": "Wintun" + }, + { + "code": "1704-6", + "display": "Wiyot", + "definition": "Wiyot" + }, + { + "code": "1707-9", + "display": "Yakama", + "definition": "Yakama" + }, + { + "code": "1709-5", + "display": "Yakama Cowlitz", + "definition": "Yakama Cowlitz" + }, + { + "code": "1711-1", + "display": "Yaqui", + "definition": "Yaqui" + }, + { + "code": "1715-2", + "display": "Yavapai Apache", + "definition": "Yavapai Apache" + }, + { + "code": "1717-8", + "display": "Yokuts", + "definition": "Yokuts" + }, + { + "code": "1722-8", + "display": "Yuchi", + "definition": "Yuchi" + }, + { + "code": "1724-4", + "display": "Yuman", + "definition": "Yuman" + }, + { + "code": "1732-7", + "display": "Yurok", + "definition": "Yurok" + }, + { + "code": "1011-6", + "display": "Chiricahua", + "definition": "Chiricahua" + }, + { + "code": "1012-4", + "display": "Fort Sill Apache", + "definition": "Fort Sill Apache" + }, + { + "code": "1013-2", + "display": "Jicarilla Apache", + "definition": "Jicarilla Apache" + }, + { + "code": "1014-0", + "display": "Lipan Apache", + "definition": "Lipan Apache" + }, + { + "code": "1015-7", + "display": "Mescalero Apache", + "definition": "Mescalero Apache" + }, + { + "code": "1016-5", + "display": "Oklahoma Apache", + "definition": "Oklahoma Apache" + }, + { + "code": "1017-3", + "display": "Payson Apache", + "definition": "Payson Apache" + }, + { + "code": "1018-1", + "display": "San Carlos Apache", + "definition": "San Carlos Apache" + }, + { + "code": "1019-9", + "display": "White Mountain Apache", + "definition": "White Mountain Apache" + }, + { + "code": "1022-3", + "display": "Northern Arapaho", + "definition": "Northern Arapaho" + }, + { + "code": "1023-1", + "display": "Southern Arapaho", + "definition": "Southern Arapaho" + }, + { + "code": "1024-9", + "display": "Wind River Arapaho", + "definition": "Wind River Arapaho" + }, + { + "code": "1031-4", + "display": "Fort Peck Assiniboine Sioux", + "definition": "Fort Peck Assiniboine Sioux" + }, + { + "code": "1042-1", + "display": "Oklahoma Cado", + "definition": "Oklahoma Cado" + }, + { + "code": "1045-4", + "display": "Agua Caliente Cahuilla", + "definition": "Agua Caliente Cahuilla" + }, + { + "code": "1046-2", + "display": "Augustine", + "definition": "Augustine" + }, + { + "code": "1047-0", + "display": "Cabazon", + "definition": "Cabazon" + }, + { + "code": "1048-8", + "display": "Los Coyotes", + "definition": "Los Coyotes" + }, + { + "code": "1049-6", + "display": "Morongo", + "definition": "Morongo" + }, + { + "code": "1050-4", + "display": "Santa Rosa Cahuilla", + "definition": "Santa Rosa Cahuilla" + }, + { + "code": "1051-2", + "display": "Torres-Martinez", + "definition": "Torres-Martinez" + }, + { + "code": "1054-6", + "display": "Cahto", + "definition": "Cahto" + }, + { + "code": "1055-3", + "display": "Chimariko", + "definition": "Chimariko" + }, + { + "code": "1056-1", + "display": "Coast Miwok", + "definition": "Coast Miwok" + }, + { + "code": "1057-9", + "display": "Digger", + "definition": "Digger" + }, + { + "code": "1058-7", + "display": "Kawaiisu", + "definition": "Kawaiisu" + }, + { + "code": "1059-5", + "display": "Kern River", + "definition": "Kern River" + }, + { + "code": "1060-3", + "display": "Mattole", + "definition": "Mattole" + }, + { + "code": "1061-1", + "display": "Red Wood", + "definition": "Red Wood" + }, + { + "code": "1062-9", + "display": "Santa Rosa", + "definition": "Santa Rosa" + }, + { + "code": "1063-7", + "display": "Takelma", + "definition": "Takelma" + }, + { + "code": "1064-5", + "display": "Wappo", + "definition": "Wappo" + }, + { + "code": "1065-2", + "display": "Yana", + "definition": "Yana" + }, + { + "code": "1066-0", + "display": "Yuki", + "definition": "Yuki" + }, + { + "code": "1069-4", + "display": "Canadian Indian", + "definition": "Canadian Indian" + }, + { + "code": "1070-2", + "display": "Central American Indian", + "definition": "Central American Indian" + }, + { + "code": "1071-0", + "display": "French American Indian", + "definition": "French American Indian" + }, + { + "code": "1072-8", + "display": "Mexican American Indian", + "definition": "Mexican American Indian" + }, + { + "code": "1073-6", + "display": "South American Indian", + "definition": "South American Indian" + }, + { + "code": "1074-4", + "display": "Spanish American Indian", + "definition": "Spanish American Indian" + }, + { + "code": "1083-5", + "display": "Hoh", + "definition": "Hoh" + }, + { + "code": "1084-3", + "display": "Quileute", + "definition": "Quileute" + }, + { + "code": "1089-2", + "display": "Cherokee Alabama", + "definition": "Cherokee Alabama" + }, + { + "code": "1090-0", + "display": "Cherokees of Northeast Alabama", + "definition": "Cherokees of Northeast Alabama" + }, + { + "code": "1091-8", + "display": "Cherokees of Southeast Alabama", + "definition": "Cherokees of Southeast Alabama" + }, + { + "code": "1092-6", + "display": "Eastern Cherokee", + "definition": "Eastern Cherokee" + }, + { + "code": "1093-4", + "display": "Echota Cherokee", + "definition": "Echota Cherokee" + }, + { + "code": "1094-2", + "display": "Etowah Cherokee", + "definition": "Etowah Cherokee" + }, + { + "code": "1095-9", + "display": "Northern Cherokee", + "definition": "Northern Cherokee" + }, + { + "code": "1096-7", + "display": "Tuscola", + "definition": "Tuscola" + }, + { + "code": "1097-5", + "display": "United Keetowah Band of Cherokee", + "definition": "United Keetowah Band of Cherokee" + }, + { + "code": "1098-3", + "display": "Western Cherokee", + "definition": "Western Cherokee" + }, + { + "code": "1103-1", + "display": "Northern Cheyenne", + "definition": "Northern Cheyenne" + }, + { + "code": "1104-9", + "display": "Southern Cheyenne", + "definition": "Southern Cheyenne" + }, + { + "code": "1109-8", + "display": "Eastern Chickahominy", + "definition": "Eastern Chickahominy" + }, + { + "code": "1110-6", + "display": "Western Chickahominy", + "definition": "Western Chickahominy" + }, + { + "code": "1115-5", + "display": "Clatsop", + "definition": "Clatsop" + }, + { + "code": "1116-3", + "display": "Columbia River Chinook", + "definition": "Columbia River Chinook" + }, + { + "code": "1117-1", + "display": "Kathlamet", + "definition": "Kathlamet" + }, + { + "code": "1118-9", + "display": "Upper Chinook", + "definition": "Upper Chinook" + }, + { + "code": "1119-7", + "display": "Wakiakum Chinook", + "definition": "Wakiakum Chinook" + }, + { + "code": "1120-5", + "display": "Willapa Chinook", + "definition": "Willapa Chinook" + }, + { + "code": "1121-3", + "display": "Wishram", + "definition": "Wishram" + }, + { + "code": "1124-7", + "display": "Bad River", + "definition": "Bad River" + }, + { + "code": "1125-4", + "display": "Bay Mills Chippewa", + "definition": "Bay Mills Chippewa" + }, + { + "code": "1126-2", + "display": "Bois Forte", + "definition": "Bois Forte" + }, + { + "code": "1127-0", + "display": "Burt Lake Chippewa", + "definition": "Burt Lake Chippewa" + }, + { + "code": "1128-8", + "display": "Fond du Lac", + "definition": "Fond du Lac" + }, + { + "code": "1129-6", + "display": "Grand Portage", + "definition": "Grand Portage" + }, + { + "code": "1130-4", + "display": "Grand Traverse Band of Ottawa/Chippewa", + "definition": "Grand Traverse Band of Ottawa/Chippewa" + }, + { + "code": "1131-2", + "display": "Keweenaw", + "definition": "Keweenaw" + }, + { + "code": "1132-0", + "display": "Lac Courte Oreilles", + "definition": "Lac Courte Oreilles" + }, + { + "code": "1133-8", + "display": "Lac du Flambeau", + "definition": "Lac du Flambeau" + }, + { + "code": "1134-6", + "display": "Lac Vieux Desert Chippewa", + "definition": "Lac Vieux Desert Chippewa" + }, + { + "code": "1135-3", + "display": "Lake Superior", + "definition": "Lake Superior" + }, + { + "code": "1136-1", + "display": "Leech Lake", + "definition": "Leech Lake" + }, + { + "code": "1137-9", + "display": "Little Shell Chippewa", + "definition": "Little Shell Chippewa" + }, + { + "code": "1138-7", + "display": "Mille Lacs", + "definition": "Mille Lacs" + }, + { + "code": "1139-5", + "display": "Minnesota Chippewa", + "definition": "Minnesota Chippewa" + }, + { + "code": "1140-3", + "display": "Ontonagon", + "definition": "Ontonagon" + }, + { + "code": "1141-1", + "display": "Red Cliff Chippewa", + "definition": "Red Cliff Chippewa" + }, + { + "code": "1142-9", + "display": "Red Lake Chippewa", + "definition": "Red Lake Chippewa" + }, + { + "code": "1143-7", + "display": "Saginaw Chippewa", + "definition": "Saginaw Chippewa" + }, + { + "code": "1144-5", + "display": "St. Croix Chippewa", + "definition": "St. Croix Chippewa" + }, + { + "code": "1145-2", + "display": "Sault Ste. Marie Chippewa", + "definition": "Sault Ste. Marie Chippewa" + }, + { + "code": "1146-0", + "display": "Sokoagon Chippewa", + "definition": "Sokoagon Chippewa" + }, + { + "code": "1147-8", + "display": "Turtle Mountain", + "definition": "Turtle Mountain" + }, + { + "code": "1148-6", + "display": "White Earth", + "definition": "White Earth" + }, + { + "code": "1151-0", + "display": "Rocky Boy's Chippewa Cree", + "definition": "Rocky Boy's Chippewa Cree" + }, + { + "code": "1156-9", + "display": "Clifton Choctaw", + "definition": "Clifton Choctaw" + }, + { + "code": "1157-7", + "display": "Jena Choctaw", + "definition": "Jena Choctaw" + }, + { + "code": "1158-5", + "display": "Mississippi Choctaw", + "definition": "Mississippi Choctaw" + }, + { + "code": "1159-3", + "display": "Mowa Band of Choctaw", + "definition": "Mowa Band of Choctaw" + }, + { + "code": "1160-1", + "display": "Oklahoma Choctaw", + "definition": "Oklahoma Choctaw" + }, + { + "code": "1163-5", + "display": "Santa Ynez", + "definition": "Santa Ynez" + }, + { + "code": "1176-7", + "display": "Oklahoma Comanche", + "definition": "Oklahoma Comanche" + }, + { + "code": "1187-4", + "display": "Alabama Coushatta", + "definition": "Alabama Coushatta" + }, + { + "code": "1194-0", + "display": "Alabama Creek", + "definition": "Alabama Creek" + }, + { + "code": "1195-7", + "display": "Alabama Quassarte", + "definition": "Alabama Quassarte" + }, + { + "code": "1196-5", + "display": "Eastern Creek", + "definition": "Eastern Creek" + }, + { + "code": "1197-3", + "display": "Eastern Muscogee", + "definition": "Eastern Muscogee" + }, + { + "code": "1198-1", + "display": "Kialegee", + "definition": "Kialegee" + }, + { + "code": "1199-9", + "display": "Lower Muscogee", + "definition": "Lower Muscogee" + }, + { + "code": "1200-5", + "display": "Machis Lower Creek Indian", + "definition": "Machis Lower Creek Indian" + }, + { + "code": "1201-3", + "display": "Poarch Band", + "definition": "Poarch Band" + }, + { + "code": "1202-1", + "display": "Principal Creek Indian Nation", + "definition": "Principal Creek Indian Nation" + }, + { + "code": "1203-9", + "display": "Star Clan of Muscogee Creeks", + "definition": "Star Clan of Muscogee Creeks" + }, + { + "code": "1204-7", + "display": "Thlopthlocco", + "definition": "Thlopthlocco" + }, + { + "code": "1205-4", + "display": "Tuckabachee", + "definition": "Tuckabachee" + }, + { + "code": "1212-0", + "display": "Agua Caliente", + "definition": "Agua Caliente" + }, + { + "code": "1215-3", + "display": "Eastern Delaware", + "definition": "Eastern Delaware" + }, + { + "code": "1216-1", + "display": "Lenni-Lenape", + "definition": "Lenni-Lenape" + }, + { + "code": "1217-9", + "display": "Munsee", + "definition": "Munsee" + }, + { + "code": "1218-7", + "display": "Oklahoma Delaware", + "definition": "Oklahoma Delaware" + }, + { + "code": "1219-5", + "display": "Rampough Mountain", + "definition": "Rampough Mountain" + }, + { + "code": "1220-3", + "display": "Sand Hill", + "definition": "Sand Hill" + }, + { + "code": "1223-7", + "display": "Campo", + "definition": "Campo" + }, + { + "code": "1224-5", + "display": "Capitan Grande", + "definition": "Capitan Grande" + }, + { + "code": "1225-2", + "display": "Cuyapaipe", + "definition": "Cuyapaipe" + }, + { + "code": "1226-0", + "display": "La Posta", + "definition": "La Posta" + }, + { + "code": "1227-8", + "display": "Manzanita", + "definition": "Manzanita" + }, + { + "code": "1228-6", + "display": "Mesa Grande", + "definition": "Mesa Grande" + }, + { + "code": "1229-4", + "display": "San Pasqual", + "definition": "San Pasqual" + }, + { + "code": "1230-2", + "display": "Santa Ysabel", + "definition": "Santa Ysabel" + }, + { + "code": "1231-0", + "display": "Sycuan", + "definition": "Sycuan" + }, + { + "code": "1234-4", + "display": "Attacapa", + "definition": "Attacapa" + }, + { + "code": "1235-1", + "display": "Biloxi", + "definition": "Biloxi" + }, + { + "code": "1236-9", + "display": "Georgetown (Eastern Tribes)", + "definition": "Georgetown (Eastern Tribes)" + }, + { + "code": "1237-7", + "display": "Moor", + "definition": "Moor" + }, + { + "code": "1238-5", + "display": "Nansemond", + "definition": "Nansemond" + }, + { + "code": "1239-3", + "display": "Natchez", + "definition": "Natchez" + }, + { + "code": "1240-1", + "display": "Nausu Waiwash", + "definition": "Nausu Waiwash" + }, + { + "code": "1241-9", + "display": "Nipmuc", + "definition": "Nipmuc" + }, + { + "code": "1242-7", + "display": "Paugussett", + "definition": "Paugussett" + }, + { + "code": "1243-5", + "display": "Pocomoke Acohonock", + "definition": "Pocomoke Acohonock" + }, + { + "code": "1244-3", + "display": "Southeastern Indians", + "definition": "Southeastern Indians" + }, + { + "code": "1245-0", + "display": "Susquehanock", + "definition": "Susquehanock" + }, + { + "code": "1246-8", + "display": "Tunica Biloxi", + "definition": "Tunica Biloxi" + }, + { + "code": "1247-6", + "display": "Waccamaw-Siousan", + "definition": "Waccamaw-Siousan" + }, + { + "code": "1248-4", + "display": "Wicomico", + "definition": "Wicomico" + }, + { + "code": "1265-8", + "display": "Atsina", + "definition": "Atsina" + }, + { + "code": "1272-4", + "display": "Trinity", + "definition": "Trinity" + }, + { + "code": "1273-2", + "display": "Whilkut", + "definition": "Whilkut" + }, + { + "code": "1282-3", + "display": "Iowa of Kansas-Nebraska", + "definition": "Iowa of Kansas-Nebraska" + }, + { + "code": "1283-1", + "display": "Iowa of Oklahoma", + "definition": "Iowa of Oklahoma" + }, + { + "code": "1286-4", + "display": "Cayuga", + "definition": "Cayuga" + }, + { + "code": "1287-2", + "display": "Mohawk", + "definition": "Mohawk" + }, + { + "code": "1288-0", + "display": "Oneida", + "definition": "Oneida" + }, + { + "code": "1289-8", + "display": "Onondaga", + "definition": "Onondaga" + }, + { + "code": "1290-6", + "display": "Seneca", + "definition": "Seneca" + }, + { + "code": "1291-4", + "display": "Seneca Nation", + "definition": "Seneca Nation" + }, + { + "code": "1292-2", + "display": "Seneca-Cayuga", + "definition": "Seneca-Cayuga" + }, + { + "code": "1293-0", + "display": "Tonawanda Seneca", + "definition": "Tonawanda Seneca" + }, + { + "code": "1294-8", + "display": "Tuscarora", + "definition": "Tuscarora" + }, + { + "code": "1295-5", + "display": "Wyandotte", + "definition": "Wyandotte" + }, + { + "code": "1306-0", + "display": "Oklahoma Kickapoo", + "definition": "Oklahoma Kickapoo" + }, + { + "code": "1307-8", + "display": "Texas Kickapoo", + "definition": "Texas Kickapoo" + }, + { + "code": "1310-2", + "display": "Oklahoma Kiowa", + "definition": "Oklahoma Kiowa" + }, + { + "code": "1313-6", + "display": "Jamestown", + "definition": "Jamestown" + }, + { + "code": "1314-4", + "display": "Lower Elwha", + "definition": "Lower Elwha" + }, + { + "code": "1315-1", + "display": "Port Gamble Klallam", + "definition": "Port Gamble Klallam" + }, + { + "code": "1326-8", + "display": "Matinecock", + "definition": "Matinecock" + }, + { + "code": "1327-6", + "display": "Montauk", + "definition": "Montauk" + }, + { + "code": "1328-4", + "display": "Poospatuck", + "definition": "Poospatuck" + }, + { + "code": "1329-2", + "display": "Setauket", + "definition": "Setauket" + }, + { + "code": "1332-6", + "display": "La Jolla", + "definition": "La Jolla" + }, + { + "code": "1333-4", + "display": "Pala", + "definition": "Pala" + }, + { + "code": "1334-2", + "display": "Pauma", + "definition": "Pauma" + }, + { + "code": "1335-9", + "display": "Pechanga", + "definition": "Pechanga" + }, + { + "code": "1336-7", + "display": "Soboba", + "definition": "Soboba" + }, + { + "code": "1337-5", + "display": "Twenty-Nine Palms", + "definition": "Twenty-Nine Palms" + }, + { + "code": "1338-3", + "display": "Temecula", + "definition": "Temecula" + }, + { + "code": "1345-8", + "display": "Mountain Maidu", + "definition": "Mountain Maidu" + }, + { + "code": "1346-6", + "display": "Nishinam", + "definition": "Nishinam" + }, + { + "code": "1359-9", + "display": "Illinois Miami", + "definition": "Illinois Miami" + }, + { + "code": "1360-7", + "display": "Indiana Miami", + "definition": "Indiana Miami" + }, + { + "code": "1361-5", + "display": "Oklahoma Miami", + "definition": "Oklahoma Miami" + }, + { + "code": "1366-4", + "display": "Aroostook", + "definition": "Aroostook" + }, + { + "code": "1383-9", + "display": "Alamo Navajo", + "definition": "Alamo Navajo" + }, + { + "code": "1384-7", + "display": "Canoncito Navajo", + "definition": "Canoncito Navajo" + }, + { + "code": "1385-4", + "display": "Ramah Navajo", + "definition": "Ramah Navajo" + }, + { + "code": "1392-0", + "display": "Alsea", + "definition": "Alsea" + }, + { + "code": "1393-8", + "display": "Celilo", + "definition": "Celilo" + }, + { + "code": "1394-6", + "display": "Columbia", + "definition": "Columbia" + }, + { + "code": "1395-3", + "display": "Kalapuya", + "definition": "Kalapuya" + }, + { + "code": "1396-1", + "display": "Molala", + "definition": "Molala" + }, + { + "code": "1397-9", + "display": "Talakamish", + "definition": "Talakamish" + }, + { + "code": "1398-7", + "display": "Tenino", + "definition": "Tenino" + }, + { + "code": "1399-5", + "display": "Tillamook", + "definition": "Tillamook" + }, + { + "code": "1400-1", + "display": "Wenatchee", + "definition": "Wenatchee" + }, + { + "code": "1401-9", + "display": "Yahooskin", + "definition": "Yahooskin" + }, + { + "code": "1412-6", + "display": "Burt Lake Ottawa", + "definition": "Burt Lake Ottawa" + }, + { + "code": "1413-4", + "display": "Michigan Ottawa", + "definition": "Michigan Ottawa" + }, + { + "code": "1414-2", + "display": "Oklahoma Ottawa", + "definition": "Oklahoma Ottawa" + }, + { + "code": "1417-5", + "display": "Bishop", + "definition": "Bishop" + }, + { + "code": "1418-3", + "display": "Bridgeport", + "definition": "Bridgeport" + }, + { + "code": "1419-1", + "display": "Burns Paiute", + "definition": "Burns Paiute" + }, + { + "code": "1420-9", + "display": "Cedarville", + "definition": "Cedarville" + }, + { + "code": "1421-7", + "display": "Fort Bidwell", + "definition": "Fort Bidwell" + }, + { + "code": "1422-5", + "display": "Fort Independence", + "definition": "Fort Independence" + }, + { + "code": "1423-3", + "display": "Kaibab", + "definition": "Kaibab" + }, + { + "code": "1424-1", + "display": "Las Vegas", + "definition": "Las Vegas" + }, + { + "code": "1425-8", + "display": "Lone Pine", + "definition": "Lone Pine" + }, + { + "code": "1426-6", + "display": "Lovelock", + "definition": "Lovelock" + }, + { + "code": "1427-4", + "display": "Malheur Paiute", + "definition": "Malheur Paiute" + }, + { + "code": "1428-2", + "display": "Moapa", + "definition": "Moapa" + }, + { + "code": "1429-0", + "display": "Northern Paiute", + "definition": "Northern Paiute" + }, + { + "code": "1430-8", + "display": "Owens Valley", + "definition": "Owens Valley" + }, + { + "code": "1431-6", + "display": "Pyramid Lake", + "definition": "Pyramid Lake" + }, + { + "code": "1432-4", + "display": "San Juan Southern Paiute", + "definition": "San Juan Southern Paiute" + }, + { + "code": "1433-2", + "display": "Southern Paiute", + "definition": "Southern Paiute" + }, + { + "code": "1434-0", + "display": "Summit Lake", + "definition": "Summit Lake" + }, + { + "code": "1435-7", + "display": "Utu Utu Gwaitu Paiute", + "definition": "Utu Utu Gwaitu Paiute" + }, + { + "code": "1436-5", + "display": "Walker River", + "definition": "Walker River" + }, + { + "code": "1437-3", + "display": "Yerington Paiute", + "definition": "Yerington Paiute" + }, + { + "code": "1442-3", + "display": "Indian Township", + "definition": "Indian Township" + }, + { + "code": "1443-1", + "display": "Pleasant Point Passamaquoddy", + "definition": "Pleasant Point Passamaquoddy" + }, + { + "code": "1446-4", + "display": "Oklahoma Pawnee", + "definition": "Oklahoma Pawnee" + }, + { + "code": "1451-4", + "display": "Oklahoma Peoria", + "definition": "Oklahoma Peoria" + }, + { + "code": "1454-8", + "display": "Marshantucket Pequot", + "definition": "Marshantucket Pequot" + }, + { + "code": "1457-1", + "display": "Gila River Pima-Maricopa", + "definition": "Gila River Pima-Maricopa" + }, + { + "code": "1458-9", + "display": "Salt River Pima-Maricopa", + "definition": "Salt River Pima-Maricopa" + }, + { + "code": "1465-4", + "display": "Central Pomo", + "definition": "Central Pomo" + }, + { + "code": "1466-2", + "display": "Dry Creek", + "definition": "Dry Creek" + }, + { + "code": "1467-0", + "display": "Eastern Pomo", + "definition": "Eastern Pomo" + }, + { + "code": "1468-8", + "display": "Kashia", + "definition": "Kashia" + }, + { + "code": "1469-6", + "display": "Northern Pomo", + "definition": "Northern Pomo" + }, + { + "code": "1470-4", + "display": "Scotts Valley", + "definition": "Scotts Valley" + }, + { + "code": "1471-2", + "display": "Stonyford", + "definition": "Stonyford" + }, + { + "code": "1472-0", + "display": "Sulphur Bank", + "definition": "Sulphur Bank" + }, + { + "code": "1475-3", + "display": "Nebraska Ponca", + "definition": "Nebraska Ponca" + }, + { + "code": "1476-1", + "display": "Oklahoma Ponca", + "definition": "Oklahoma Ponca" + }, + { + "code": "1479-5", + "display": "Citizen Band Potawatomi", + "definition": "Citizen Band Potawatomi" + }, + { + "code": "1480-3", + "display": "Forest County", + "definition": "Forest County" + }, + { + "code": "1481-1", + "display": "Hannahville", + "definition": "Hannahville" + }, + { + "code": "1482-9", + "display": "Huron Potawatomi", + "definition": "Huron Potawatomi" + }, + { + "code": "1483-7", + "display": "Pokagon Potawatomi", + "definition": "Pokagon Potawatomi" + }, + { + "code": "1484-5", + "display": "Prairie Band", + "definition": "Prairie Band" + }, + { + "code": "1485-2", + "display": "Wisconsin Potawatomi", + "definition": "Wisconsin Potawatomi" + }, + { + "code": "1490-2", + "display": "Acoma", + "definition": "Acoma" + }, + { + "code": "1491-0", + "display": "Arizona Tewa", + "definition": "Arizona Tewa" + }, + { + "code": "1492-8", + "display": "Cochiti", + "definition": "Cochiti" + }, + { + "code": "1493-6", + "display": "Hopi", + "definition": "Hopi" + }, + { + "code": "1494-4", + "display": "Isleta", + "definition": "Isleta" + }, + { + "code": "1495-1", + "display": "Jemez", + "definition": "Jemez" + }, + { + "code": "1496-9", + "display": "Keres", + "definition": "Keres" + }, + { + "code": "1497-7", + "display": "Laguna", + "definition": "Laguna" + }, + { + "code": "1498-5", + "display": "Nambe", + "definition": "Nambe" + }, + { + "code": "1499-3", + "display": "Picuris", + "definition": "Picuris" + }, + { + "code": "1500-8", + "display": "Piro", + "definition": "Piro" + }, + { + "code": "1501-6", + "display": "Pojoaque", + "definition": "Pojoaque" + }, + { + "code": "1502-4", + "display": "San Felipe", + "definition": "San Felipe" + }, + { + "code": "1503-2", + "display": "San Ildefonso", + "definition": "San Ildefonso" + }, + { + "code": "1504-0", + "display": "San Juan Pueblo", + "definition": "San Juan Pueblo" + }, + { + "code": "1505-7", + "display": "San Juan De", + "definition": "San Juan De" + }, + { + "code": "1506-5", + "display": "San Juan", + "definition": "San Juan" + }, + { + "code": "1507-3", + "display": "Sandia", + "definition": "Sandia" + }, + { + "code": "1508-1", + "display": "Santa Ana", + "definition": "Santa Ana" + }, + { + "code": "1509-9", + "display": "Santa Clara", + "definition": "Santa Clara" + }, + { + "code": "1510-7", + "display": "Santo Domingo", + "definition": "Santo Domingo" + }, + { + "code": "1511-5", + "display": "Taos", + "definition": "Taos" + }, + { + "code": "1512-3", + "display": "Tesuque", + "definition": "Tesuque" + }, + { + "code": "1513-1", + "display": "Tewa", + "definition": "Tewa" + }, + { + "code": "1514-9", + "display": "Tigua", + "definition": "Tigua" + }, + { + "code": "1515-6", + "display": "Zia", + "definition": "Zia" + }, + { + "code": "1516-4", + "display": "Zuni", + "definition": "Zuni" + }, + { + "code": "1519-8", + "display": "Duwamish", + "definition": "Duwamish" + }, + { + "code": "1520-6", + "display": "Kikiallus", + "definition": "Kikiallus" + }, + { + "code": "1521-4", + "display": "Lower Skagit", + "definition": "Lower Skagit" + }, + { + "code": "1522-2", + "display": "Muckleshoot", + "definition": "Muckleshoot" + }, + { + "code": "1523-0", + "display": "Nisqually", + "definition": "Nisqually" + }, + { + "code": "1524-8", + "display": "Nooksack", + "definition": "Nooksack" + }, + { + "code": "1525-5", + "display": "Port Madison", + "definition": "Port Madison" + }, + { + "code": "1526-3", + "display": "Puyallup", + "definition": "Puyallup" + }, + { + "code": "1527-1", + "display": "Samish", + "definition": "Samish" + }, + { + "code": "1528-9", + "display": "Sauk-Suiattle", + "definition": "Sauk-Suiattle" + }, + { + "code": "1529-7", + "display": "Skokomish", + "definition": "Skokomish" + }, + { + "code": "1530-5", + "display": "Skykomish", + "definition": "Skykomish" + }, + { + "code": "1531-3", + "display": "Snohomish", + "definition": "Snohomish" + }, + { + "code": "1532-1", + "display": "Snoqualmie", + "definition": "Snoqualmie" + }, + { + "code": "1533-9", + "display": "Squaxin Island", + "definition": "Squaxin Island" + }, + { + "code": "1534-7", + "display": "Steilacoom", + "definition": "Steilacoom" + }, + { + "code": "1535-4", + "display": "Stillaguamish", + "definition": "Stillaguamish" + }, + { + "code": "1536-2", + "display": "Suquamish", + "definition": "Suquamish" + }, + { + "code": "1537-0", + "display": "Swinomish", + "definition": "Swinomish" + }, + { + "code": "1538-8", + "display": "Tulalip", + "definition": "Tulalip" + }, + { + "code": "1539-6", + "display": "Upper Skagit", + "definition": "Upper Skagit" + }, + { + "code": "1552-9", + "display": "Iowa Sac and Fox", + "definition": "Iowa Sac and Fox" + }, + { + "code": "1553-7", + "display": "Missouri Sac and Fox", + "definition": "Missouri Sac and Fox" + }, + { + "code": "1554-5", + "display": "Oklahoma Sac and Fox", + "definition": "Oklahoma Sac and Fox" + }, + { + "code": "1567-7", + "display": "Big Cypress", + "definition": "Big Cypress" + }, + { + "code": "1568-5", + "display": "Brighton", + "definition": "Brighton" + }, + { + "code": "1569-3", + "display": "Florida Seminole", + "definition": "Florida Seminole" + }, + { + "code": "1570-1", + "display": "Hollywood Seminole", + "definition": "Hollywood Seminole" + }, + { + "code": "1571-9", + "display": "Oklahoma Seminole", + "definition": "Oklahoma Seminole" + }, + { + "code": "1574-3", + "display": "San Manual", + "definition": "San Manual" + }, + { + "code": "1579-2", + "display": "Absentee Shawnee", + "definition": "Absentee Shawnee" + }, + { + "code": "1580-0", + "display": "Eastern Shawnee", + "definition": "Eastern Shawnee" + }, + { + "code": "1587-5", + "display": "Battle Mountain", + "definition": "Battle Mountain" + }, + { + "code": "1588-3", + "display": "Duckwater", + "definition": "Duckwater" + }, + { + "code": "1589-1", + "display": "Elko", + "definition": "Elko" + }, + { + "code": "1590-9", + "display": "Ely", + "definition": "Ely" + }, + { + "code": "1591-7", + "display": "Goshute", + "definition": "Goshute" + }, + { + "code": "1592-5", + "display": "Panamint", + "definition": "Panamint" + }, + { + "code": "1593-3", + "display": "Ruby Valley", + "definition": "Ruby Valley" + }, + { + "code": "1594-1", + "display": "Skull Valley", + "definition": "Skull Valley" + }, + { + "code": "1595-8", + "display": "South Fork Shoshone", + "definition": "South Fork Shoshone" + }, + { + "code": "1596-6", + "display": "Te-Moak Western Shoshone", + "definition": "Te-Moak Western Shoshone" + }, + { + "code": "1597-4", + "display": "Timbi-Sha Shoshone", + "definition": "Timbi-Sha Shoshone" + }, + { + "code": "1598-2", + "display": "Washakie", + "definition": "Washakie" + }, + { + "code": "1599-0", + "display": "Wind River Shoshone", + "definition": "Wind River Shoshone" + }, + { + "code": "1600-6", + "display": "Yomba", + "definition": "Yomba" + }, + { + "code": "1603-0", + "display": "Duck Valley", + "definition": "Duck Valley" + }, + { + "code": "1604-8", + "display": "Fallon", + "definition": "Fallon" + }, + { + "code": "1605-5", + "display": "Fort McDermitt", + "definition": "Fort McDermitt" + }, + { + "code": "1610-5", + "display": "Blackfoot Sioux", + "definition": "Blackfoot Sioux" + }, + { + "code": "1611-3", + "display": "Brule Sioux", + "definition": "Brule Sioux" + }, + { + "code": "1612-1", + "display": "Cheyenne River Sioux", + "definition": "Cheyenne River Sioux" + }, + { + "code": "1613-9", + "display": "Crow Creek Sioux", + "definition": "Crow Creek Sioux" + }, + { + "code": "1614-7", + "display": "Dakota Sioux", + "definition": "Dakota Sioux" + }, + { + "code": "1615-4", + "display": "Flandreau Santee", + "definition": "Flandreau Santee" + }, + { + "code": "1616-2", + "display": "Fort Peck", + "definition": "Fort Peck" + }, + { + "code": "1617-0", + "display": "Lake Traverse Sioux", + "definition": "Lake Traverse Sioux" + }, + { + "code": "1618-8", + "display": "Lower Brule Sioux", + "definition": "Lower Brule Sioux" + }, + { + "code": "1619-6", + "display": "Lower Sioux", + "definition": "Lower Sioux" + }, + { + "code": "1620-4", + "display": "Mdewakanton Sioux", + "definition": "Mdewakanton Sioux" + }, + { + "code": "1621-2", + "display": "Miniconjou", + "definition": "Miniconjou" + }, + { + "code": "1622-0", + "display": "Oglala Sioux", + "definition": "Oglala Sioux" + }, + { + "code": "1623-8", + "display": "Pine Ridge Sioux", + "definition": "Pine Ridge Sioux" + }, + { + "code": "1624-6", + "display": "Pipestone Sioux", + "definition": "Pipestone Sioux" + }, + { + "code": "1625-3", + "display": "Prairie Island Sioux", + "definition": "Prairie Island Sioux" + }, + { + "code": "1626-1", + "display": "Prior Lake Sioux", + "definition": "Prior Lake Sioux" + }, + { + "code": "1627-9", + "display": "Rosebud Sioux", + "definition": "Rosebud Sioux" + }, + { + "code": "1628-7", + "display": "Sans Arc Sioux", + "definition": "Sans Arc Sioux" + }, + { + "code": "1629-5", + "display": "Santee Sioux", + "definition": "Santee Sioux" + }, + { + "code": "1630-3", + "display": "Sisseton-Wahpeton", + "definition": "Sisseton-Wahpeton" + }, + { + "code": "1631-1", + "display": "Sisseton Sioux", + "definition": "Sisseton Sioux" + }, + { + "code": "1632-9", + "display": "Spirit Lake Sioux", + "definition": "Spirit Lake Sioux" + }, + { + "code": "1633-7", + "display": "Standing Rock Sioux", + "definition": "Standing Rock Sioux" + }, + { + "code": "1634-5", + "display": "Teton Sioux", + "definition": "Teton Sioux" + }, + { + "code": "1635-2", + "display": "Two Kettle Sioux", + "definition": "Two Kettle Sioux" + }, + { + "code": "1636-0", + "display": "Upper Sioux", + "definition": "Upper Sioux" + }, + { + "code": "1637-8", + "display": "Wahpekute Sioux", + "definition": "Wahpekute Sioux" + }, + { + "code": "1638-6", + "display": "Wahpeton Sioux", + "definition": "Wahpeton Sioux" + }, + { + "code": "1639-4", + "display": "Wazhaza Sioux", + "definition": "Wazhaza Sioux" + }, + { + "code": "1640-2", + "display": "Yankton Sioux", + "definition": "Yankton Sioux" + }, + { + "code": "1641-0", + "display": "Yanktonai Sioux", + "definition": "Yanktonai Sioux" + }, + { + "code": "1654-3", + "display": "Ak-Chin", + "definition": "Ak-Chin" + }, + { + "code": "1655-0", + "display": "Gila Bend", + "definition": "Gila Bend" + }, + { + "code": "1656-8", + "display": "San Xavier", + "definition": "San Xavier" + }, + { + "code": "1657-6", + "display": "Sells", + "definition": "Sells" + }, + { + "code": "1668-3", + "display": "Cow Creek Umpqua", + "definition": "Cow Creek Umpqua" + }, + { + "code": "1671-7", + "display": "Allen Canyon", + "definition": "Allen Canyon" + }, + { + "code": "1672-5", + "display": "Uintah Ute", + "definition": "Uintah Ute" + }, + { + "code": "1673-3", + "display": "Ute Mountain Ute", + "definition": "Ute Mountain Ute" + }, + { + "code": "1680-8", + "display": "Gay Head Wampanoag", + "definition": "Gay Head Wampanoag" + }, + { + "code": "1681-6", + "display": "Mashpee Wampanoag", + "definition": "Mashpee Wampanoag" + }, + { + "code": "1688-1", + "display": "Alpine", + "definition": "Alpine" + }, + { + "code": "1689-9", + "display": "Carson", + "definition": "Carson" + }, + { + "code": "1690-7", + "display": "Dresslerville", + "definition": "Dresslerville" + }, + { + "code": "1697-2", + "display": "Ho-chunk", + "definition": "Ho-chunk" + }, + { + "code": "1698-0", + "display": "Nebraska Winnebago", + "definition": "Nebraska Winnebago" + }, + { + "code": "1705-3", + "display": "Table Bluff", + "definition": "Table Bluff" + }, + { + "code": "1712-9", + "display": "Barrio Libre", + "definition": "Barrio Libre" + }, + { + "code": "1713-7", + "display": "Pascua Yaqui", + "definition": "Pascua Yaqui" + }, + { + "code": "1718-6", + "display": "Chukchansi", + "definition": "Chukchansi" + }, + { + "code": "1719-4", + "display": "Tachi", + "definition": "Tachi" + }, + { + "code": "1720-2", + "display": "Tule River", + "definition": "Tule River" + }, + { + "code": "1725-1", + "display": "Cocopah", + "definition": "Cocopah" + }, + { + "code": "1726-9", + "display": "Havasupai", + "definition": "Havasupai" + }, + { + "code": "1727-7", + "display": "Hualapai", + "definition": "Hualapai" + }, + { + "code": "1728-5", + "display": "Maricopa", + "definition": "Maricopa" + }, + { + "code": "1729-3", + "display": "Mohave", + "definition": "Mohave" + }, + { + "code": "1730-1", + "display": "Quechan", + "definition": "Quechan" + }, + { + "code": "1731-9", + "display": "Yavapai", + "definition": "Yavapai" + }, + { + "code": "1733-5", + "display": "Coast Yurok", + "definition": "Coast Yurok" + }, + { + "code": "1737-6", + "display": "Alaska Indian", + "definition": "Alaska Indian" + }, + { + "code": "1840-8", + "display": "Eskimo", + "definition": "Eskimo" + }, + { + "code": "1966-1", + "display": "Aleut", + "definition": "Aleut" + }, + { + "code": "1739-2", + "display": "Alaskan Athabascan", + "definition": "Alaskan Athabascan" + }, + { + "code": "1811-9", + "display": "Southeast Alaska", + "definition": "Southeast Alaska" + }, + { + "code": "1740-0", + "display": "Ahtna", + "definition": "Ahtna" + }, + { + "code": "1741-8", + "display": "Alatna", + "definition": "Alatna" + }, + { + "code": "1742-6", + "display": "Alexander", + "definition": "Alexander" + }, + { + "code": "1743-4", + "display": "Allakaket", + "definition": "Allakaket" + }, + { + "code": "1744-2", + "display": "Alanvik", + "definition": "Alanvik" + }, + { + "code": "1745-9", + "display": "Anvik", + "definition": "Anvik" + }, + { + "code": "1746-7", + "display": "Arctic", + "definition": "Arctic" + }, + { + "code": "1747-5", + "display": "Beaver", + "definition": "Beaver" + }, + { + "code": "1748-3", + "display": "Birch Creek", + "definition": "Birch Creek" + }, + { + "code": "1749-1", + "display": "Cantwell", + "definition": "Cantwell" + }, + { + "code": "1750-9", + "display": "Chalkyitsik", + "definition": "Chalkyitsik" + }, + { + "code": "1751-7", + "display": "Chickaloon", + "definition": "Chickaloon" + }, + { + "code": "1752-5", + "display": "Chistochina", + "definition": "Chistochina" + }, + { + "code": "1753-3", + "display": "Chitina", + "definition": "Chitina" + }, + { + "code": "1754-1", + "display": "Circle", + "definition": "Circle" + }, + { + "code": "1755-8", + "display": "Cook Inlet", + "definition": "Cook Inlet" + }, + { + "code": "1756-6", + "display": "Copper Center", + "definition": "Copper Center" + }, + { + "code": "1757-4", + "display": "Copper River", + "definition": "Copper River" + }, + { + "code": "1758-2", + "display": "Dot Lake", + "definition": "Dot Lake" + }, + { + "code": "1759-0", + "display": "Doyon", + "definition": "Doyon" + }, + { + "code": "1760-8", + "display": "Eagle", + "definition": "Eagle" + }, + { + "code": "1761-6", + "display": "Eklutna", + "definition": "Eklutna" + }, + { + "code": "1762-4", + "display": "Evansville", + "definition": "Evansville" + }, + { + "code": "1763-2", + "display": "Fort Yukon", + "definition": "Fort Yukon" + }, + { + "code": "1764-0", + "display": "Gakona", + "definition": "Gakona" + }, + { + "code": "1765-7", + "display": "Galena", + "definition": "Galena" + }, + { + "code": "1766-5", + "display": "Grayling", + "definition": "Grayling" + }, + { + "code": "1767-3", + "display": "Gulkana", + "definition": "Gulkana" + }, + { + "code": "1768-1", + "display": "Healy Lake", + "definition": "Healy Lake" + }, + { + "code": "1769-9", + "display": "Holy Cross", + "definition": "Holy Cross" + }, + { + "code": "1770-7", + "display": "Hughes", + "definition": "Hughes" + }, + { + "code": "1771-5", + "display": "Huslia", + "definition": "Huslia" + }, + { + "code": "1772-3", + "display": "Iliamna", + "definition": "Iliamna" + }, + { + "code": "1773-1", + "display": "Kaltag", + "definition": "Kaltag" + }, + { + "code": "1774-9", + "display": "Kluti Kaah", + "definition": "Kluti Kaah" + }, + { + "code": "1775-6", + "display": "Knik", + "definition": "Knik" + }, + { + "code": "1776-4", + "display": "Koyukuk", + "definition": "Koyukuk" + }, + { + "code": "1777-2", + "display": "Lake Minchumina", + "definition": "Lake Minchumina" + }, + { + "code": "1778-0", + "display": "Lime", + "definition": "Lime" + }, + { + "code": "1779-8", + "display": "Mcgrath", + "definition": "Mcgrath" + }, + { + "code": "1780-6", + "display": "Manley Hot Springs", + "definition": "Manley Hot Springs" + }, + { + "code": "1781-4", + "display": "Mentasta Lake", + "definition": "Mentasta Lake" + }, + { + "code": "1782-2", + "display": "Minto", + "definition": "Minto" + }, + { + "code": "1783-0", + "display": "Nenana", + "definition": "Nenana" + }, + { + "code": "1784-8", + "display": "Nikolai", + "definition": "Nikolai" + }, + { + "code": "1785-5", + "display": "Ninilchik", + "definition": "Ninilchik" + }, + { + "code": "1786-3", + "display": "Nondalton", + "definition": "Nondalton" + }, + { + "code": "1787-1", + "display": "Northway", + "definition": "Northway" + }, + { + "code": "1788-9", + "display": "Nulato", + "definition": "Nulato" + }, + { + "code": "1789-7", + "display": "Pedro Bay", + "definition": "Pedro Bay" + }, + { + "code": "1790-5", + "display": "Rampart", + "definition": "Rampart" + }, + { + "code": "1791-3", + "display": "Ruby", + "definition": "Ruby" + }, + { + "code": "1792-1", + "display": "Salamatof", + "definition": "Salamatof" + }, + { + "code": "1793-9", + "display": "Seldovia", + "definition": "Seldovia" + }, + { + "code": "1794-7", + "display": "Slana", + "definition": "Slana" + }, + { + "code": "1795-4", + "display": "Shageluk", + "definition": "Shageluk" + }, + { + "code": "1796-2", + "display": "Stevens", + "definition": "Stevens" + }, + { + "code": "1797-0", + "display": "Stony River", + "definition": "Stony River" + }, + { + "code": "1798-8", + "display": "Takotna", + "definition": "Takotna" + }, + { + "code": "1799-6", + "display": "Tanacross", + "definition": "Tanacross" + }, + { + "code": "1800-2", + "display": "Tanaina", + "definition": "Tanaina" + }, + { + "code": "1801-0", + "display": "Tanana", + "definition": "Tanana" + }, + { + "code": "1802-8", + "display": "Tanana Chiefs", + "definition": "Tanana Chiefs" + }, + { + "code": "1803-6", + "display": "Tazlina", + "definition": "Tazlina" + }, + { + "code": "1804-4", + "display": "Telida", + "definition": "Telida" + }, + { + "code": "1805-1", + "display": "Tetlin", + "definition": "Tetlin" + }, + { + "code": "1806-9", + "display": "Tok", + "definition": "Tok" + }, + { + "code": "1807-7", + "display": "Tyonek", + "definition": "Tyonek" + }, + { + "code": "1808-5", + "display": "Venetie", + "definition": "Venetie" + }, + { + "code": "1809-3", + "display": "Wiseman", + "definition": "Wiseman" + }, + { + "code": "1813-5", + "display": "Tlingit-Haida", + "definition": "Tlingit-Haida" + }, + { + "code": "1837-4", + "display": "Tsimshian", + "definition": "Tsimshian" + }, + { + "code": "1814-3", + "display": "Angoon", + "definition": "Angoon" + }, + { + "code": "1815-0", + "display": "Central Council of Tlingit and Haida Tribes", + "definition": "Central Council of Tlingit and Haida Tribes" + }, + { + "code": "1816-8", + "display": "Chilkat", + "definition": "Chilkat" + }, + { + "code": "1817-6", + "display": "Chilkoot", + "definition": "Chilkoot" + }, + { + "code": "1818-4", + "display": "Craig", + "definition": "Craig" + }, + { + "code": "1819-2", + "display": "Douglas", + "definition": "Douglas" + }, + { + "code": "1820-0", + "display": "Haida", + "definition": "Haida" + }, + { + "code": "1821-8", + "display": "Hoonah", + "definition": "Hoonah" + }, + { + "code": "1822-6", + "display": "Hydaburg", + "definition": "Hydaburg" + }, + { + "code": "1823-4", + "display": "Kake", + "definition": "Kake" + }, + { + "code": "1824-2", + "display": "Kasaan", + "definition": "Kasaan" + }, + { + "code": "1825-9", + "display": "Kenaitze", + "definition": "Kenaitze" + }, + { + "code": "1826-7", + "display": "Ketchikan", + "definition": "Ketchikan" + }, + { + "code": "1827-5", + "display": "Klawock", + "definition": "Klawock" + }, + { + "code": "1828-3", + "display": "Pelican", + "definition": "Pelican" + }, + { + "code": "1829-1", + "display": "Petersburg", + "definition": "Petersburg" + }, + { + "code": "1830-9", + "display": "Saxman", + "definition": "Saxman" + }, + { + "code": "1831-7", + "display": "Sitka", + "definition": "Sitka" + }, + { + "code": "1832-5", + "display": "Tenakee Springs", + "definition": "Tenakee Springs" + }, + { + "code": "1833-3", + "display": "Tlingit", + "definition": "Tlingit" + }, + { + "code": "1834-1", + "display": "Wrangell", + "definition": "Wrangell" + }, + { + "code": "1835-8", + "display": "Yakutat", + "definition": "Yakutat" + }, + { + "code": "1838-2", + "display": "Metlakatla", + "definition": "Metlakatla" + }, + { + "code": "1842-4", + "display": "Greenland Eskimo", + "definition": "Greenland Eskimo" + }, + { + "code": "1844-0", + "display": "Inupiat Eskimo", + "definition": "Inupiat Eskimo" + }, + { + "code": "1891-1", + "display": "Siberian Eskimo", + "definition": "Siberian Eskimo" + }, + { + "code": "1896-0", + "display": "Yupik Eskimo", + "definition": "Yupik Eskimo" + }, + { + "code": "1845-7", + "display": "Ambler", + "definition": "Ambler" + }, + { + "code": "1846-5", + "display": "Anaktuvuk", + "definition": "Anaktuvuk" + }, + { + "code": "1847-3", + "display": "Anaktuvuk Pass", + "definition": "Anaktuvuk Pass" + }, + { + "code": "1848-1", + "display": "Arctic Slope Inupiat", + "definition": "Arctic Slope Inupiat" + }, + { + "code": "1849-9", + "display": "Arctic Slope Corporation", + "definition": "Arctic Slope Corporation" + }, + { + "code": "1850-7", + "display": "Atqasuk", + "definition": "Atqasuk" + }, + { + "code": "1851-5", + "display": "Barrow", + "definition": "Barrow" + }, + { + "code": "1852-3", + "display": "Bering Straits Inupiat", + "definition": "Bering Straits Inupiat" + }, + { + "code": "1853-1", + "display": "Brevig Mission", + "definition": "Brevig Mission" + }, + { + "code": "1854-9", + "display": "Buckland", + "definition": "Buckland" + }, + { + "code": "1855-6", + "display": "Chinik", + "definition": "Chinik" + }, + { + "code": "1856-4", + "display": "Council", + "definition": "Council" + }, + { + "code": "1857-2", + "display": "Deering", + "definition": "Deering" + }, + { + "code": "1858-0", + "display": "Elim", + "definition": "Elim" + }, + { + "code": "1859-8", + "display": "Golovin", + "definition": "Golovin" + }, + { + "code": "1860-6", + "display": "Inalik Diomede", + "definition": "Inalik Diomede" + }, + { + "code": "1861-4", + "display": "Inupiaq", + "definition": "Inupiaq" + }, + { + "code": "1862-2", + "display": "Kaktovik", + "definition": "Kaktovik" + }, + { + "code": "1863-0", + "display": "Kawerak", + "definition": "Kawerak" + }, + { + "code": "1864-8", + "display": "Kiana", + "definition": "Kiana" + }, + { + "code": "1865-5", + "display": "Kivalina", + "definition": "Kivalina" + }, + { + "code": "1866-3", + "display": "Kobuk", + "definition": "Kobuk" + }, + { + "code": "1867-1", + "display": "Kotzebue", + "definition": "Kotzebue" + }, + { + "code": "1868-9", + "display": "Koyuk", + "definition": "Koyuk" + }, + { + "code": "1869-7", + "display": "Kwiguk", + "definition": "Kwiguk" + }, + { + "code": "1870-5", + "display": "Mauneluk Inupiat", + "definition": "Mauneluk Inupiat" + }, + { + "code": "1871-3", + "display": "Nana Inupiat", + "definition": "Nana Inupiat" + }, + { + "code": "1872-1", + "display": "Noatak", + "definition": "Noatak" + }, + { + "code": "1873-9", + "display": "Nome", + "definition": "Nome" + }, + { + "code": "1874-7", + "display": "Noorvik", + "definition": "Noorvik" + }, + { + "code": "1875-4", + "display": "Nuiqsut", + "definition": "Nuiqsut" + }, + { + "code": "1876-2", + "display": "Point Hope", + "definition": "Point Hope" + }, + { + "code": "1877-0", + "display": "Point Lay", + "definition": "Point Lay" + }, + { + "code": "1878-8", + "display": "Selawik", + "definition": "Selawik" + }, + { + "code": "1879-6", + "display": "Shaktoolik", + "definition": "Shaktoolik" + }, + { + "code": "1880-4", + "display": "Shishmaref", + "definition": "Shishmaref" + }, + { + "code": "1881-2", + "display": "Shungnak", + "definition": "Shungnak" + }, + { + "code": "1882-0", + "display": "Solomon", + "definition": "Solomon" + }, + { + "code": "1883-8", + "display": "Teller", + "definition": "Teller" + }, + { + "code": "1884-6", + "display": "Unalakleet", + "definition": "Unalakleet" + }, + { + "code": "1885-3", + "display": "Wainwright", + "definition": "Wainwright" + }, + { + "code": "1886-1", + "display": "Wales", + "definition": "Wales" + }, + { + "code": "1887-9", + "display": "White Mountain", + "definition": "White Mountain" + }, + { + "code": "1888-7", + "display": "White Mountain Inupiat", + "definition": "White Mountain Inupiat" + }, + { + "code": "1889-5", + "display": "Mary's Igloo", + "definition": "Mary's Igloo" + }, + { + "code": "1892-9", + "display": "Gambell", + "definition": "Gambell" + }, + { + "code": "1893-7", + "display": "Savoonga", + "definition": "Savoonga" + }, + { + "code": "1894-5", + "display": "Siberian Yupik", + "definition": "Siberian Yupik" + }, + { + "code": "1897-8", + "display": "Akiachak", + "definition": "Akiachak" + }, + { + "code": "1898-6", + "display": "Akiak", + "definition": "Akiak" + }, + { + "code": "1899-4", + "display": "Alakanuk", + "definition": "Alakanuk" + }, + { + "code": "1900-0", + "display": "Aleknagik", + "definition": "Aleknagik" + }, + { + "code": "1901-8", + "display": "Andreafsky", + "definition": "Andreafsky" + }, + { + "code": "1902-6", + "display": "Aniak", + "definition": "Aniak" + }, + { + "code": "1903-4", + "display": "Atmautluak", + "definition": "Atmautluak" + }, + { + "code": "1904-2", + "display": "Bethel", + "definition": "Bethel" + }, + { + "code": "1905-9", + "display": "Bill Moore's Slough", + "definition": "Bill Moore's Slough" + }, + { + "code": "1906-7", + "display": "Bristol Bay Yupik", + "definition": "Bristol Bay Yupik" + }, + { + "code": "1907-5", + "display": "Calista Yupik", + "definition": "Calista Yupik" + }, + { + "code": "1908-3", + "display": "Chefornak", + "definition": "Chefornak" + }, + { + "code": "1909-1", + "display": "Chevak", + "definition": "Chevak" + }, + { + "code": "1910-9", + "display": "Chuathbaluk", + "definition": "Chuathbaluk" + }, + { + "code": "1911-7", + "display": "Clark's Point", + "definition": "Clark's Point" + }, + { + "code": "1912-5", + "display": "Crooked Creek", + "definition": "Crooked Creek" + }, + { + "code": "1913-3", + "display": "Dillingham", + "definition": "Dillingham" + }, + { + "code": "1914-1", + "display": "Eek", + "definition": "Eek" + }, + { + "code": "1915-8", + "display": "Ekuk", + "definition": "Ekuk" + }, + { + "code": "1916-6", + "display": "Ekwok", + "definition": "Ekwok" + }, + { + "code": "1917-4", + "display": "Emmonak", + "definition": "Emmonak" + }, + { + "code": "1918-2", + "display": "Goodnews Bay", + "definition": "Goodnews Bay" + }, + { + "code": "1919-0", + "display": "Hooper Bay", + "definition": "Hooper Bay" + }, + { + "code": "1920-8", + "display": "Iqurmuit (Russian Mission)", + "definition": "Iqurmuit (Russian Mission)" + }, + { + "code": "1921-6", + "display": "Kalskag", + "definition": "Kalskag" + }, + { + "code": "1922-4", + "display": "Kasigluk", + "definition": "Kasigluk" + }, + { + "code": "1923-2", + "display": "Kipnuk", + "definition": "Kipnuk" + }, + { + "code": "1924-0", + "display": "Koliganek", + "definition": "Koliganek" + }, + { + "code": "1925-7", + "display": "Kongiganak", + "definition": "Kongiganak" + }, + { + "code": "1926-5", + "display": "Kotlik", + "definition": "Kotlik" + }, + { + "code": "1927-3", + "display": "Kwethluk", + "definition": "Kwethluk" + }, + { + "code": "1928-1", + "display": "Kwigillingok", + "definition": "Kwigillingok" + }, + { + "code": "1929-9", + "display": "Levelock", + "definition": "Levelock" + }, + { + "code": "1930-7", + "display": "Lower Kalskag", + "definition": "Lower Kalskag" + }, + { + "code": "1931-5", + "display": "Manokotak", + "definition": "Manokotak" + }, + { + "code": "1932-3", + "display": "Marshall", + "definition": "Marshall" + }, + { + "code": "1933-1", + "display": "Mekoryuk", + "definition": "Mekoryuk" + }, + { + "code": "1934-9", + "display": "Mountain Village", + "definition": "Mountain Village" + }, + { + "code": "1935-6", + "display": "Naknek", + "definition": "Naknek" + }, + { + "code": "1936-4", + "display": "Napaumute", + "definition": "Napaumute" + }, + { + "code": "1937-2", + "display": "Napakiak", + "definition": "Napakiak" + }, + { + "code": "1938-0", + "display": "Napaskiak", + "definition": "Napaskiak" + }, + { + "code": "1939-8", + "display": "Newhalen", + "definition": "Newhalen" + }, + { + "code": "1940-6", + "display": "New Stuyahok", + "definition": "New Stuyahok" + }, + { + "code": "1941-4", + "display": "Newtok", + "definition": "Newtok" + }, + { + "code": "1942-2", + "display": "Nightmute", + "definition": "Nightmute" + }, + { + "code": "1943-0", + "display": "Nunapitchukv", + "definition": "Nunapitchukv" + }, + { + "code": "1944-8", + "display": "Oscarville", + "definition": "Oscarville" + }, + { + "code": "1945-5", + "display": "Pilot Station", + "definition": "Pilot Station" + }, + { + "code": "1946-3", + "display": "Pitkas Point", + "definition": "Pitkas Point" + }, + { + "code": "1947-1", + "display": "Platinum", + "definition": "Platinum" + }, + { + "code": "1948-9", + "display": "Portage Creek", + "definition": "Portage Creek" + }, + { + "code": "1949-7", + "display": "Quinhagak", + "definition": "Quinhagak" + }, + { + "code": "1950-5", + "display": "Red Devil", + "definition": "Red Devil" + }, + { + "code": "1951-3", + "display": "St. Michael", + "definition": "St. Michael" + }, + { + "code": "1952-1", + "display": "Scammon Bay", + "definition": "Scammon Bay" + }, + { + "code": "1953-9", + "display": "Sheldon's Point", + "definition": "Sheldon's Point" + }, + { + "code": "1954-7", + "display": "Sleetmute", + "definition": "Sleetmute" + }, + { + "code": "1955-4", + "display": "Stebbins", + "definition": "Stebbins" + }, + { + "code": "1956-2", + "display": "Togiak", + "definition": "Togiak" + }, + { + "code": "1957-0", + "display": "Toksook", + "definition": "Toksook" + }, + { + "code": "1958-8", + "display": "Tulukskak", + "definition": "Tulukskak" + }, + { + "code": "1959-6", + "display": "Tuntutuliak", + "definition": "Tuntutuliak" + }, + { + "code": "1960-4", + "display": "Tununak", + "definition": "Tununak" + }, + { + "code": "1961-2", + "display": "Twin Hills", + "definition": "Twin Hills" + }, + { + "code": "1962-0", + "display": "Georgetown (Yupik-Eskimo)", + "definition": "Georgetown (Yupik-Eskimo)" + }, + { + "code": "1963-8", + "display": "St. Mary's", + "definition": "St. Mary's" + }, + { + "code": "1964-6", + "display": "Umkumiate", + "definition": "Umkumiate" + }, + { + "code": "1968-7", + "display": "Alutiiq Aleut", + "definition": "Alutiiq Aleut" + }, + { + "code": "1972-9", + "display": "Bristol Bay Aleut", + "definition": "Bristol Bay Aleut" + }, + { + "code": "1984-4", + "display": "Chugach Aleut", + "definition": "Chugach Aleut" + }, + { + "code": "1990-1", + "display": "Eyak", + "definition": "Eyak" + }, + { + "code": "1992-7", + "display": "Koniag Aleut", + "definition": "Koniag Aleut" + }, + { + "code": "2002-4", + "display": "Sugpiaq", + "definition": "Sugpiaq" + }, + { + "code": "2004-0", + "display": "Suqpigaq", + "definition": "Suqpigaq" + }, + { + "code": "2006-5", + "display": "Unangan Aleut", + "definition": "Unangan Aleut" + }, + { + "code": "1969-5", + "display": "Tatitlek", + "definition": "Tatitlek" + }, + { + "code": "1970-3", + "display": "Ugashik", + "definition": "Ugashik" + }, + { + "code": "1973-7", + "display": "Chignik", + "definition": "Chignik" + }, + { + "code": "1974-5", + "display": "Chignik Lake", + "definition": "Chignik Lake" + }, + { + "code": "1975-2", + "display": "Egegik", + "definition": "Egegik" + }, + { + "code": "1976-0", + "display": "Igiugig", + "definition": "Igiugig" + }, + { + "code": "1977-8", + "display": "Ivanof Bay", + "definition": "Ivanof Bay" + }, + { + "code": "1978-6", + "display": "King Salmon", + "definition": "King Salmon" + }, + { + "code": "1979-4", + "display": "Kokhanok", + "definition": "Kokhanok" + }, + { + "code": "1980-2", + "display": "Perryville", + "definition": "Perryville" + }, + { + "code": "1981-0", + "display": "Pilot Point", + "definition": "Pilot Point" + }, + { + "code": "1982-8", + "display": "Port Heiden", + "definition": "Port Heiden" + }, + { + "code": "1985-1", + "display": "Chenega", + "definition": "Chenega" + }, + { + "code": "1986-9", + "display": "Chugach Corporation", + "definition": "Chugach Corporation" + }, + { + "code": "1987-7", + "display": "English Bay", + "definition": "English Bay" + }, + { + "code": "1988-5", + "display": "Port Graham", + "definition": "Port Graham" + }, + { + "code": "1993-5", + "display": "Akhiok", + "definition": "Akhiok" + }, + { + "code": "1994-3", + "display": "Agdaagux", + "definition": "Agdaagux" + }, + { + "code": "1995-0", + "display": "Karluk", + "definition": "Karluk" + }, + { + "code": "1996-8", + "display": "Kodiak", + "definition": "Kodiak" + }, + { + "code": "1997-6", + "display": "Larsen Bay", + "definition": "Larsen Bay" + }, + { + "code": "1998-4", + "display": "Old Harbor", + "definition": "Old Harbor" + }, + { + "code": "1999-2", + "display": "Ouzinkie", + "definition": "Ouzinkie" + }, + { + "code": "2000-8", + "display": "Port Lions", + "definition": "Port Lions" + }, + { + "code": "2007-3", + "display": "Akutan", + "definition": "Akutan" + }, + { + "code": "2008-1", + "display": "Aleut Corporation", + "definition": "Aleut Corporation" + }, + { + "code": "2009-9", + "display": "Aleutian", + "definition": "Aleutian" + }, + { + "code": "2010-7", + "display": "Aleutian Islander", + "definition": "Aleutian Islander" + }, + { + "code": "2011-5", + "display": "Atka", + "definition": "Atka" + }, + { + "code": "2012-3", + "display": "Belkofski", + "definition": "Belkofski" + }, + { + "code": "2013-1", + "display": "Chignik Lagoon", + "definition": "Chignik Lagoon" + }, + { + "code": "2014-9", + "display": "King Cove", + "definition": "King Cove" + }, + { + "code": "2015-6", + "display": "False Pass", + "definition": "False Pass" + }, + { + "code": "2016-4", + "display": "Nelson Lagoon", + "definition": "Nelson Lagoon" + }, + { + "code": "2017-2", + "display": "Nikolski", + "definition": "Nikolski" + }, + { + "code": "2018-0", + "display": "Pauloff Harbor", + "definition": "Pauloff Harbor" + }, + { + "code": "2019-8", + "display": "Qagan Toyagungin", + "definition": "Qagan Toyagungin" + }, + { + "code": "2020-6", + "display": "Qawalangin", + "definition": "Qawalangin" + }, + { + "code": "2021-4", + "display": "St. George", + "definition": "St. George" + }, + { + "code": "2022-2", + "display": "St. Paul", + "definition": "St. Paul" + }, + { + "code": "2023-0", + "display": "Sand Point", + "definition": "Sand Point" + }, + { + "code": "2024-8", + "display": "South Naknek", + "definition": "South Naknek" + }, + { + "code": "2025-5", + "display": "Unalaska", + "definition": "Unalaska" + }, + { + "code": "2026-3", + "display": "Unga", + "definition": "Unga" + } + ] + }, + { + "code": "2028-9", + "display": "Asian", + "definition": "Asian", + "concept": [ + { + "code": "2029-7", + "display": "Asian Indian", + "definition": "Asian Indian" + }, + { + "code": "2030-5", + "display": "Bangladeshi", + "definition": "Bangladeshi" + }, + { + "code": "2031-3", + "display": "Bhutanese", + "definition": "Bhutanese" + }, + { + "code": "2032-1", + "display": "Burmese", + "definition": "Burmese" + }, + { + "code": "2033-9", + "display": "Cambodian", + "definition": "Cambodian" + }, + { + "code": "2034-7", + "display": "Chinese", + "definition": "Chinese" + }, + { + "code": "2035-4", + "display": "Taiwanese", + "definition": "Taiwanese" + }, + { + "code": "2036-2", + "display": "Filipino", + "definition": "Filipino" + }, + { + "code": "2037-0", + "display": "Hmong", + "definition": "Hmong" + }, + { + "code": "2038-8", + "display": "Indonesian", + "definition": "Indonesian" + }, + { + "code": "2039-6", + "display": "Japanese", + "definition": "Japanese" + }, + { + "code": "2040-4", + "display": "Korean", + "definition": "Korean" + }, + { + "code": "2041-2", + "display": "Laotian", + "definition": "Laotian" + }, + { + "code": "2042-0", + "display": "Malaysian", + "definition": "Malaysian" + }, + { + "code": "2043-8", + "display": "Okinawan", + "definition": "Okinawan" + }, + { + "code": "2044-6", + "display": "Pakistani", + "definition": "Pakistani" + }, + { + "code": "2045-3", + "display": "Sri Lankan", + "definition": "Sri Lankan" + }, + { + "code": "2046-1", + "display": "Thai", + "definition": "Thai" + }, + { + "code": "2047-9", + "display": "Vietnamese", + "definition": "Vietnamese" + }, + { + "code": "2048-7", + "display": "Iwo Jiman", + "definition": "Iwo Jiman" + }, + { + "code": "2049-5", + "display": "Maldivian", + "definition": "Maldivian" + }, + { + "code": "2050-3", + "display": "Nepalese", + "definition": "Nepalese" + }, + { + "code": "2051-1", + "display": "Singaporean", + "definition": "Singaporean" + }, + { + "code": "2052-9", + "display": "Madagascar", + "definition": "Madagascar" + } + ] + }, + { + "code": "2054-5", + "display": "Black or African American", + "definition": "Black or African American", + "concept": [ + { + "code": "2056-0", + "display": "Black", + "definition": "Black" + }, + { + "code": "2058-6", + "display": "African American", + "definition": "African American" + }, + { + "code": "2060-2", + "display": "African", + "definition": "African" + }, + { + "code": "2067-7", + "display": "Bahamian", + "definition": "Bahamian" + }, + { + "code": "2068-5", + "display": "Barbadian", + "definition": "Barbadian" + }, + { + "code": "2069-3", + "display": "Dominican", + "definition": "Dominican" + }, + { + "code": "2070-1", + "display": "Dominica Islander", + "definition": "Dominica Islander" + }, + { + "code": "2071-9", + "display": "Haitian", + "definition": "Haitian" + }, + { + "code": "2072-7", + "display": "Jamaican", + "definition": "Jamaican" + }, + { + "code": "2073-5", + "display": "Tobagoan", + "definition": "Tobagoan" + }, + { + "code": "2074-3", + "display": "Trinidadian", + "definition": "Trinidadian" + }, + { + "code": "2075-0", + "display": "West Indian", + "definition": "West Indian" + }, + { + "code": "2061-0", + "display": "Botswanan", + "definition": "Botswanan" + }, + { + "code": "2062-8", + "display": "Ethiopian", + "definition": "Ethiopian" + }, + { + "code": "2063-6", + "display": "Liberian", + "definition": "Liberian" + }, + { + "code": "2064-4", + "display": "Namibian", + "definition": "Namibian" + }, + { + "code": "2065-1", + "display": "Nigerian", + "definition": "Nigerian" + }, + { + "code": "2066-9", + "display": "Zairean", + "definition": "Zairean" + } + ] + }, + { + "code": "2076-8", + "display": "Native Hawaiian or Other Pacific Islander", + "definition": "Native Hawaiian or Other Pacific Islander", + "concept": [ + { + "code": "2078-4", + "display": "Polynesian", + "definition": "Polynesian" + }, + { + "code": "2085-9", + "display": "Micronesian", + "definition": "Micronesian" + }, + { + "code": "2100-6", + "display": "Melanesian", + "definition": "Melanesian" + }, + { + "code": "2500-7", + "display": "Other Pacific Islander", + "definition": "Other Pacific Islander" + }, + { + "code": "2079-2", + "display": "Native Hawaiian", + "definition": "Native Hawaiian" + }, + { + "code": "2080-0", + "display": "Samoan", + "definition": "Samoan" + }, + { + "code": "2081-8", + "display": "Tahitian", + "definition": "Tahitian" + }, + { + "code": "2082-6", + "display": "Tongan", + "definition": "Tongan" + }, + { + "code": "2083-4", + "display": "Tokelauan", + "definition": "Tokelauan" + }, + { + "code": "2086-7", + "display": "Guamanian or Chamorro", + "definition": "Guamanian or Chamorro" + }, + { + "code": "2087-5", + "display": "Guamanian", + "definition": "Guamanian" + }, + { + "code": "2088-3", + "display": "Chamorro", + "definition": "Chamorro" + }, + { + "code": "2089-1", + "display": "Mariana Islander", + "definition": "Mariana Islander" + }, + { + "code": "2090-9", + "display": "Marshallese", + "definition": "Marshallese" + }, + { + "code": "2091-7", + "display": "Palauan", + "definition": "Palauan" + }, + { + "code": "2092-5", + "display": "Carolinian", + "definition": "Carolinian" + }, + { + "code": "2093-3", + "display": "Kosraean", + "definition": "Kosraean" + }, + { + "code": "2094-1", + "display": "Pohnpeian", + "definition": "Pohnpeian" + }, + { + "code": "2095-8", + "display": "Saipanese", + "definition": "Saipanese" + }, + { + "code": "2096-6", + "display": "Kiribati", + "definition": "Kiribati" + }, + { + "code": "2097-4", + "display": "Chuukese", + "definition": "Chuukese" + }, + { + "code": "2098-2", + "display": "Yapese", + "definition": "Yapese" + }, + { + "code": "2101-4", + "display": "Fijian", + "definition": "Fijian" + }, + { + "code": "2102-2", + "display": "Papua New Guinean", + "definition": "Papua New Guinean" + }, + { + "code": "2103-0", + "display": "Solomon Islander", + "definition": "Solomon Islander" + }, + { + "code": "2104-8", + "display": "New Hebrides", + "definition": "New Hebrides" + } + ] + }, + { + "code": "2106-3", + "display": "White", + "definition": "White", + "concept": [ + { + "code": "2108-9", + "display": "European", + "definition": "European" + }, + { + "code": "2118-8", + "display": "Middle Eastern or North African", + "definition": "Middle Eastern or North African" + }, + { + "code": "2129-5", + "display": "Arab", + "definition": "Arab" + }, + { + "code": "2109-7", + "display": "Armenian", + "definition": "Armenian" + }, + { + "code": "2110-5", + "display": "English", + "definition": "English" + }, + { + "code": "2111-3", + "display": "French", + "definition": "French" + }, + { + "code": "2112-1", + "display": "German", + "definition": "German" + }, + { + "code": "2113-9", + "display": "Irish", + "definition": "Irish" + }, + { + "code": "2114-7", + "display": "Italian", + "definition": "Italian" + }, + { + "code": "2115-4", + "display": "Polish", + "definition": "Polish" + }, + { + "code": "2116-2", + "display": "Scottish", + "definition": "Scottish" + }, + { + "code": "2119-6", + "display": "Assyrian", + "definition": "Assyrian" + }, + { + "code": "2120-4", + "display": "Egyptian", + "definition": "Egyptian" + }, + { + "code": "2121-2", + "display": "Iranian", + "definition": "Iranian" + }, + { + "code": "2122-0", + "display": "Iraqi", + "definition": "Iraqi" + }, + { + "code": "2123-8", + "display": "Lebanese", + "definition": "Lebanese" + }, + { + "code": "2124-6", + "display": "Palestinian", + "definition": "Palestinian" + }, + { + "code": "2125-3", + "display": "Syrian", + "definition": "Syrian" + }, + { + "code": "2126-1", + "display": "Afghanistani", + "definition": "Afghanistani" + }, + { + "code": "2127-9", + "display": "Israeili", + "definition": "Israeili" + } + ] + }, + { + "code": "2131-1", + "display": "Other Race", + "definition": "Note that this term remains in the table for completeness, even though within HL7, the notion of Other code is deprecated." + } + ] + }, + { + "code": "2133-7", + "display": "Ethnicity", + "definition": "Ethnicity Note that this is an abstract 'grouping' concept and not for use as a real concept", + "property": [ + { + "code": "abstract", + "valueBoolean": true + } + ], + "concept": [ + { + "code": "2135-2", + "display": "Hispanic or Latino", + "definition": "Hispanic or Latino", + "concept": [ + { + "code": "2137-8", + "display": "Spaniard", + "definition": "Spaniard" + }, + { + "code": "2148-5", + "display": "Mexican", + "definition": "Mexican" + }, + { + "code": "2155-0", + "display": "Central American", + "definition": "Central American" + }, + { + "code": "2165-9", + "display": "South American", + "definition": "South American" + }, + { + "code": "2178-2", + "display": "Latin American", + "definition": "Latin American" + }, + { + "code": "2180-8", + "display": "Puerto Rican", + "definition": "Puerto Rican" + }, + { + "code": "2182-4", + "display": "Cuban", + "definition": "Cuban" + }, + { + "code": "2184-0", + "display": "Dominican", + "definition": "Dominican" + }, + { + "code": "2138-6", + "display": "Andalusian", + "definition": "Andalusian" + }, + { + "code": "2139-4", + "display": "Asturian", + "definition": "Asturian" + }, + { + "code": "2140-2", + "display": "Castillian", + "definition": "Castillian" + }, + { + "code": "2141-0", + "display": "Catalonian", + "definition": "Catalonian" + }, + { + "code": "2142-8", + "display": "Belearic Islander", + "definition": "Belearic Islander" + }, + { + "code": "2143-6", + "display": "Gallego", + "definition": "Gallego" + }, + { + "code": "2144-4", + "display": "Valencian", + "definition": "Valencian" + }, + { + "code": "2145-1", + "display": "Canarian", + "definition": "Canarian" + }, + { + "code": "2146-9", + "display": "Spanish Basque", + "definition": "Spanish Basque" + }, + { + "code": "2149-3", + "display": "Mexican American", + "definition": "Mexican American" + }, + { + "code": "2150-1", + "display": "Mexicano", + "definition": "Mexicano" + }, + { + "code": "2151-9", + "display": "Chicano", + "definition": "Chicano" + }, + { + "code": "2152-7", + "display": "La Raza", + "definition": "La Raza" + }, + { + "code": "2153-5", + "display": "Mexican American Indian", + "definition": "Mexican American Indian" + }, + { + "code": "2156-8", + "display": "Costa Rican", + "definition": "Costa Rican" + }, + { + "code": "2157-6", + "display": "Guatemalan", + "definition": "Guatemalan" + }, + { + "code": "2158-4", + "display": "Honduran", + "definition": "Honduran" + }, + { + "code": "2159-2", + "display": "Nicaraguan", + "definition": "Nicaraguan" + }, + { + "code": "2160-0", + "display": "Panamanian", + "definition": "Panamanian" + }, + { + "code": "2161-8", + "display": "Salvadoran", + "definition": "Salvadoran" + }, + { + "code": "2162-6", + "display": "Central American Indian", + "definition": "Central American Indian" + }, + { + "code": "2163-4", + "display": "Canal Zone", + "definition": "Canal Zone" + }, + { + "code": "2166-7", + "display": "Argentinean", + "definition": "Argentinean" + }, + { + "code": "2167-5", + "display": "Bolivian", + "definition": "Bolivian" + }, + { + "code": "2168-3", + "display": "Chilean", + "definition": "Chilean" + }, + { + "code": "2169-1", + "display": "Colombian", + "definition": "Colombian" + }, + { + "code": "2170-9", + "display": "Ecuadorian", + "definition": "Ecuadorian" + }, + { + "code": "2171-7", + "display": "Paraguayan", + "definition": "Paraguayan" + }, + { + "code": "2172-5", + "display": "Peruvian", + "definition": "Peruvian" + }, + { + "code": "2173-3", + "display": "Uruguayan", + "definition": "Uruguayan" + }, + { + "code": "2174-1", + "display": "Venezuelan", + "definition": "Venezuelan" + }, + { + "code": "2175-8", + "display": "South American Indian", + "definition": "South American Indian" + }, + { + "code": "2176-6", + "display": "Criollo", + "definition": "Criollo" + } + ] + }, + { + "code": "2186-5", + "display": "Not Hispanic or Latino", + "definition": "Note that this term remains in the table for completeness, even though within HL7, the notion of \"not otherwise coded\" term is deprecated." + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/CodeSystem/CodeSystem-condition-category.json b/evaluator.cli/src/test/resources/r4/vocabulary/CodeSystem/CodeSystem-condition-category.json new file mode 100644 index 000000000..ab6e5ccff --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/CodeSystem/CodeSystem-condition-category.json @@ -0,0 +1,65 @@ +{ + "resourceType": "CodeSystem", + "id": "condition-category", + "text": { + "status": "extensions", + "div": "

US Core Condition Category Extension Codes

Set of codes that are needed for implementation of the US-Core profiles. These codes are used as extensions to the FHIR and US Core value sets.

\n

Properties

CodeURLDescriptionType
statushttp://hl7.org/fhir/concept-properties#statusA property that indicates the status of the concept. One of active, experimental, deprecated, retiredcode

This code system http://hl7.org/fhir/us/core/CodeSystem/condition-category defines the following codes:

CodeDisplayDefinitionDeprecated
problem ProblemThe patients problems as identified by the provider(s). Items on the provider’s problem listDeprecated
health-concern Health ConcernAdditional health concerns from other stakeholders which are outside the provider’s problem list.
" + }, + "url": "http://hl7.org/fhir/us/core/CodeSystem/condition-category", + "version": "3.1.0", + "name": "USCoreConditionCategoryExtensionCodes", + "title": "US Core Condition Category Extension Codes", + "status": "active", + "date": "2019-11-06T12:37:38+11:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "Set of codes that are needed for implementation of the US-Core profiles. These codes are used as extensions to the FHIR and US Core value sets.\n", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "caseSensitive": true, + "content": "complete", + "property": [ + { + "code": "status", + "uri": "http://hl7.org/fhir/concept-properties#status", + "description": "A property that indicates the status of the concept. One of active, experimental, deprecated, retired", + "type": "code" + } + ], + "concept": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/codesystem-replacedby", + "valueCoding": { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + } + ], + "code": "problem", + "display": "Problem", + "definition": "The patients problems as identified by the provider(s). Items on the provider’s problem list", + "property": [ + { + "code": "status", + "valueCode": "deprecated" + } + ] + }, + { + "code": "health-concern", + "display": "Health Concern", + "definition": "Additional health concerns from other stakeholders which are outside the provider’s problem list." + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/CodeSystem/CodeSystem-us-core-documentreference-category.json b/evaluator.cli/src/test/resources/r4/vocabulary/CodeSystem/CodeSystem-us-core-documentreference-category.json new file mode 100644 index 000000000..1048f8a3d --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/CodeSystem/CodeSystem-us-core-documentreference-category.json @@ -0,0 +1,37 @@ +{ + "resourceType": "CodeSystem", + "id": "us-core-documentreference-category", + "text": { + "status": "generated", + "div": "

US Core DocumentReferences Category Codes

The US Core DocumentReferences Type Code System is a 'starter set' of categories supported for fetching and storing DocumentReference Resources.

\n

This code system http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category defines the following codes:

CodeDisplayDefinition
clinical-note Clinical NotePart of health record where healthcare professionals record details to document a patient's clinical status or achievements during the course of a hospitalization or over the course of outpatient care ([Wikipedia](https://en.wikipedia.org/wiki/Progress_note))
" + }, + "url": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "version": "3.1.0", + "name": "USCoreDocumentReferencesCategoryCodes", + "title": "US Core DocumentReferences Category Codes", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "description": "The US Core DocumentReferences Type Code System is a 'starter set' of categories supported for fetching and storing DocumentReference Resources.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "caseSensitive": true, + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category", + "content": "complete", + "count": 2, + "concept": [ + { + "code": "clinical-note", + "display": "Clinical Note", + "definition": "Part of health record where healthcare professionals record details to document a patient's clinical status or achievements during the course of a hospitalization or over the course of outpatient care ([Wikipedia](https://en.wikipedia.org/wiki/Progress_note))" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/CodeSystem/CodeSystem-us-core-provenance-participant-type.json b/evaluator.cli/src/test/resources/r4/vocabulary/CodeSystem/CodeSystem-us-core-provenance-participant-type.json new file mode 100644 index 000000000..f4901f721 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/CodeSystem/CodeSystem-us-core-provenance-participant-type.json @@ -0,0 +1,36 @@ +{ + "resourceType": "CodeSystem", + "id": "us-core-provenance-participant-type", + "text": { + "status": "generated", + "div": "

US Core Provenance Participant Type Extension Codes

Set of codes that are needed for implementation of the US-Core profiles. These codes are used as extensions to the FHIR and US Core value sets.

\n

This code system http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type defines the following codes:

CodeDisplayDefinition
transmitter TransmitterThe entity that provided the copy to your system.
" + }, + "url": "http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type", + "version": "3.1.0", + "name": "USCoreProvenancePaticipantTypeExtensionCodes", + "title": "US Core Provenance Participant Type Extension Codes", + "status": "active", + "date": "2019-11-06T12:37:38+11:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "Set of codes that are needed for implementation of the US-Core profiles. These codes are used as extensions to the FHIR and US Core value sets.\n", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "caseSensitive": true, + "content": "complete", + "concept": [ + { + "code": "transmitter", + "display": "Transmitter", + "definition": "The entity that provided the copy to your system." + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-birthsex.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-birthsex.json new file mode 100644 index 000000000..51230be3a --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-birthsex.json @@ -0,0 +1,69 @@ +{ + "resourceType": "ValueSet", + "id": "birthsex", + "text": { + "status": "generated", + "div": "

Birth Sex

Codes for assigning sex at birth as specified by the Office of the National Coordinator for Health IT (ONC)

\n

This value set includes codes from the following code systems:

  • Include these codes as defined in http://terminology.hl7.org/CodeSystem/v3-AdministrativeGender
    CodeDisplay
    FFemaleFemale
    MMaleMale
  • Include these codes as defined in http://terminology.hl7.org/CodeSystem/v3-NullFlavor
    CodeDisplay
    UNKUnknownDescription:A proper value is applicable, but not known.
    \n \n Usage Notes: This means the actual value is not known. If the only thing that is unknown is how to properly express the value in the necessary constraints (value set, datatype, etc.), then the OTH or UNC flavor should be used. No properties should be included for a datatype with this property unless:
    \n \n Those properties themselves directly translate to a semantic of "unknown". (E.g. a local code sent as a translation that conveys 'unknown')\n Those properties further qualify the nature of what is unknown. (E.g. specifying a use code of "H" and a URL prefix of "tel:" to convey that it is the home phone number that is unknown.)
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/birthsex", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113762.1.4.1021.24" + } + ], + "version": "3.1.0", + "name": "BirthSex", + "title": "Birth Sex", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "Codes for assigning sex at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-AdministrativeGender", + "concept": [ + { + "code": "F", + "display": "Female" + }, + { + "code": "M", + "display": "Male" + } + ] + }, + { + "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor", + "concept": [ + { + "code": "UNK", + "display": "Unknown" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-detailed-ethnicity.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-detailed-ethnicity.json new file mode 100644 index 000000000..90af3ae3b --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-detailed-ethnicity.json @@ -0,0 +1,54 @@ +{ + "resourceType": "ValueSet", + "id": "detailed-ethnicity", + "text": { + "status": "generated", + "div": "

Detailed ethnicity

The 41 CDC ethnicity codes that are grouped under one of the 2 OMB ethnicity category codes.

\n

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/detailed-ethnicity", + "version": "3.1.0", + "name": "DetailedEthnicity", + "title": "Detailed ethnicity", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "The 41 [CDC ethnicity codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 2 OMB ethnicity category codes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "2133-7" + } + ] + } + ], + "exclude": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "concept": [ + { + "code": "2135-2" + }, + { + "code": "2186-5" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-detailed-race.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-detailed-race.json new file mode 100644 index 000000000..46df4b0d4 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-detailed-race.json @@ -0,0 +1,63 @@ +{ + "resourceType": "ValueSet", + "id": "detailed-race", + "text": { + "status": "generated", + "div": "

Detailed Race

The 900+ CDC Race codes that are grouped under one of the 5 OMB race category codes.

\n

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/detailed-race", + "version": "3.1.0", + "name": "DetailedRace", + "title": "Detailed Race", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "The 900+ [CDC Race codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 5 OMB race category codes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "1000-9" + } + ] + } + ], + "exclude": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "concept": [ + { + "code": "1002-5" + }, + { + "code": "2028-9" + }, + { + "code": "2054-5" + }, + { + "code": "2076-8" + }, + { + "code": "2106-3" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-omb-ethnicity-category.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-omb-ethnicity-category.json new file mode 100644 index 000000000..1629de405 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-omb-ethnicity-category.json @@ -0,0 +1,44 @@ +{ + "resourceType": "ValueSet", + "id": "omb-ethnicity-category", + "text": { + "status": "generated", + "div": "

OMB Ethnicity Categories

The codes for the ethnicity categories - 'Hispanic or Latino' and 'Non Hispanic or Latino' - as defined by the OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997.

\n

This value set includes codes from the following code systems:

  • Include these codes as defined in urn:oid:2.16.840.1.113883.6.238
    CodeDisplay
    2135-2Hispanic or LatinoHispanic or Latino
    2186-5Non Hispanic or LatinoNote that this term remains in the table for completeness, even though within HL7, the notion of "not otherwise coded" term is deprecated.
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/omb-ethnicity-category", + "version": "3.1.0", + "name": "OmbEthnicityCategories", + "title": "OMB Ethnicity Categories", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "The codes for the ethnicity categories - 'Hispanic or Latino' and 'Non Hispanic or Latino' - as defined by the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.whitehouse.gov/omb/fedreg_1997standards).", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "concept": [ + { + "code": "2135-2", + "display": "Hispanic or Latino" + }, + { + "code": "2186-5", + "display": "Non Hispanic or Latino" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-omb-race-category.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-omb-race-category.json new file mode 100644 index 000000000..2098ae997 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-omb-race-category.json @@ -0,0 +1,93 @@ +{ + "resourceType": "ValueSet", + "id": "omb-race-category", + "text": { + "status": "generated", + "div": "

OMB Race Categories

The codes for the concepts 'Unknown' and 'Asked but no answer' and the the codes for the five race categories - 'American Indian' or 'Alaska Native', 'Asian', 'Black or African American', 'Native Hawaiian or Other Pacific Islander', and 'White' - as defined by the OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997 .

\n

This value set includes codes from the following code systems:

  • Include these codes as defined in urn:oid:2.16.840.1.113883.6.238
    CodeDisplay
    1002-5American Indian or Alaska NativeAmerican Indian or Alaska Native
    2028-9AsianAsian
    2054-5Black or African AmericanBlack or African American
    2076-8Native Hawaiian or Other Pacific IslanderNative Hawaiian or Other Pacific Islander
    2106-3WhiteWhite
  • Include these codes as defined in http://terminology.hl7.org/CodeSystem/v3-NullFlavor
    CodeDisplay
    UNKUnknownDescription:A proper value is applicable, but not known.
    \n \n Usage Notes: This means the actual value is not known. If the only thing that is unknown is how to properly express the value in the necessary constraints (value set, datatype, etc.), then the OTH or UNC flavor should be used. No properties should be included for a datatype with this property unless:
    \n \n Those properties themselves directly translate to a semantic of "unknown". (E.g. a local code sent as a translation that conveys 'unknown')\n Those properties further qualify the nature of what is unknown. (E.g. specifying a use code of "H" and a URL prefix of "tel:" to convey that it is the home phone number that is unknown.)
    ASKUAsked but no answerInformation was sought but not found (e.g., patient was asked but didn't know)
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/omb-race-category", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.4.642.2.575" + } + ], + "version": "3.1.0", + "name": "OmbRaceCategories", + "title": "OMB Race Categories", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + }, + { + "telecom": [ + { + "system": "other", + "value": "http://wiki.siframework.org/Data+Access+Framework+Homepage" + } + ] + } + ], + "description": "The codes for the concepts 'Unknown' and 'Asked but no answer' and the the codes for the five race categories - 'American Indian' or 'Alaska Native', 'Asian', 'Black or African American', 'Native Hawaiian or Other Pacific Islander', and 'White' - as defined by the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.whitehouse.gov/omb/fedreg_1997standards) .", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "concept": [ + { + "code": "1002-5", + "display": "American Indian or Alaska Native" + }, + { + "code": "2028-9", + "display": "Asian" + }, + { + "code": "2054-5", + "display": "Black or African American" + }, + { + "code": "2076-8", + "display": "Native Hawaiian or Other Pacific Islander" + }, + { + "code": "2106-3", + "display": "White" + } + ] + }, + { + "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor", + "concept": [ + { + "code": "UNK", + "display": "Unknown" + }, + { + "code": "ASKU", + "display": "Asked but no answer" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-simple-language.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-simple-language.json new file mode 100644 index 000000000..398eff795 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-simple-language.json @@ -0,0 +1,71 @@ +{ + "resourceType": "ValueSet", + "id": "simple-language", + "text": { + "status": "generated", + "div": "

Language codes with language and optionally a region modifier

This value set includes codes from BCP-47. This value set matches the ONC 2015 Edition LanguageCommunication data element value set within C-CDA to use a 2 character language code if one exists, and a 3 character code if a 2 character code does not exist. It points back to RFC 5646, however only the language codes are required, all other elements are optional.

\n

This value set includes codes from the following code systems:

  • Include codes from urn:ietf:bcp:47 where ext-lang doesn't exist, script doesn't exist, variant doesn't exist, extension doesn't exist and private-use doesn't exist
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/simple-language", + "version": "3.1.0", + "name": "LanguageCodesWithLanguageAndOptionallyARegionModifier", + "title": "Language codes with language and optionally a region modifier", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This value set includes codes from [BCP-47](http://tools.ietf.org/html/bcp47). This value set matches the ONC 2015 Edition LanguageCommunication data element value set within C-CDA to use a 2 character language code if one exists, and a 3 character code if a 2 character code does not exist. It points back to [RFC 5646](https://tools.ietf.org/html/rfc5646), however only the language codes are required, all other elements are optional.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "urn:ietf:bcp:47", + "filter": [ + { + "property": "ext-lang", + "op": "exists", + "value": "false" + }, + { + "property": "script", + "op": "exists", + "value": "false" + }, + { + "property": "variant", + "op": "exists", + "value": "false" + }, + { + "property": "extension", + "op": "exists", + "value": "false" + }, + { + "property": "private-use", + "op": "exists", + "value": "false" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-allergy-substance.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-allergy-substance.json new file mode 100644 index 000000000..b10301feb --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-allergy-substance.json @@ -0,0 +1,3118 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-allergy-substance", + "text": { + "status": "generated", + "div": "

US Core Common substances for allergy and intolerance documentation including refutations

Documentation of substances suspected of (or not suspected of) causing an allergy or intolerance reaction in an individual. Inclusion Criteria: specific or general substances to which a patient may be exposed and which may be suspected of causing an adverse reaction; assertions refuting these suspicions. This includes: 1. Common dietary substances for allergy and intolerance documentation (SNOMEDCT) 2. Common drug classes for allergy and intolerance documentation (SNOMEDCT) 3. Common drug substances for allergy and intolerance documentation (RXNORM) 4. Common environmental substances for allergy and intolerance documentation (SNOMEDCT) 5. Common refutations and null values for substance causes for allergy and intolerance documentation (SNOMEDCT) Exclusion Criteria: actual conditions caused by exposure (reactions, allergies)

\n

Copyright Statement: This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement

This value set includes codes from the following code systems:

  • Include these codes as defined in http://www.nlm.nih.gov/research/umls/rxnorm
    CodeDisplay
    1002293formoterol / Mometasone
    1007388Lactase / rennet
    1008298Acetaminophen / Caffeine / Chlorpheniramine / Hydrocodone / Phenylephrine
    1008519guaiacolsulfonate / Hydrocodone
    1009148Ampicillin / Sulbactam
    10109Streptomycin
    10154Succinylcholine
    10156Sucralfate
    10169Sulfacetamide
    10171Sulfadiazine
    10180Sulfamethoxazole
    10207Sulfisoxazole
    10223Sulfur
    10237Sulindac
    10324Tamoxifen
    10355Temazepam
    10368Terbutaline
    1037042dabigatran etexilate
    10379Testosterone
    10395Tetracycline
    103990Carbidopa / Levodopa
    1040028lurasidone
    10438Theophylline
    10472Thimerosal
    10493Thiopental
    10502Thioridazine
    10510Thiothixene
    10582levothyroxine
    10594Ticlopidine
    10600Timolol
    10627Tobramycin
    10636Tolmetin
    10689Tramadol
    10737Trazodone
    10759Triamcinolone
    107602Epinephrine / Lidocaine
    10763Triamterene
    10767Triazolam
    10800Trifluoperazine
    108118Mometasone
    10829Trimethoprim
    10831Sulfamethoxazole / Trimethoprim
    11124Vancomycin
    1114195rivaroxaban
    1116632Ticagrelor
    11170Verapamil
    11248Vitamin B 12
    11253Vitamin D
    11256Vitamin E
    11289Warfarin
    113588Erythromycin / Sulfisoxazole
    11416Zinc
    11423Zinc Oxide
    114477Levetiracetam
    114970zafirlukast
    114979rabeprazole
    1151Ascorbic Acid
    115264Ibandronate
    115552trovafloxacin
    115698ziprasidone
    1191Aspirin
    119565tolterodine
    1202Atenolol
    121191rituximab
    1223Atropine
    1256Azathioprine
    1272Aztreonam
    1291Bacitracin
    1292Baclofen
    1310171Gadolinium
    1311085xanthine
    1311524Aspartame
    1311629nickel
    1314891Latex
    1331Barium Sulfate
    134615brimonidine
    1347Beclomethasone
    135447donepezil
    135775zolmitriptan
    1359Belladonna Alkaloids
    1362879Sulfur Dioxide
    1363043ethyl ether
    136411sildenafil
    1364430apixaban
    138099gemifloxacin
    139462moxifloxacin
    1399Benzocaine
    140587celecoxib
    1406benzoin resin
    141626colesevelam
    1418Benzoyl Peroxide
    1424Benztropine
    1514Betamethasone
    153970Hyoscyamine
    1596450Gentamicin
    15996Mirtazapine
    161Acetaminophen
    16681Acarbose
    167Acetazolamide
    17128lansoprazole
    1727875Tetanus immune globulin
    17300alfuzosin
    17767Amlodipine
    1827Buspirone
    183379rivastigmine
    1841Butorphanol
    18631Azithromycin
    187832pregabalin
    1886Caffeine
    18867benazepril
    1895Calcium
    1897Calcium Carbonate
    18993benzonatate
    190376linezolid
    191831infliximab
    19478bismuth subsalicylate
    19552cefprozil
    19711Amoxicillin / Clavulanate
    19831Budesonide
    1998Captopril
    2002Carbamazepine
    20352carvedilol
    20481cefepime
    20489cefpodoxime
    20610Cetirizine
    2101Carisoprodol
    21107cilostazol
    21183Citric Acid
    21212Clarithromycin
    214130Acetaminophen / butalbital / Caffeine
    214153Acetaminophen / dichloralphenazone / isometheptene
    214159Aspirin / butalbital / Caffeine
    214160Aspirin / butalbital / Caffeine / Codeine
    214181Acetaminophen / Diphenhydramine
    214182Acetaminophen / Hydrocodone
    214183Acetaminophen / Oxycodone
    214199Albuterol / Ipratropium
    214223Amlodipine / benazepril
    214250Aspirin / Caffeine
    214256Aspirin / Oxycodone
    214257Aspirin / Pentazocine
    214317Bisoprolol / Hydrochlorothiazide
    214336Caffeine / Ergotamine
    214354candesartan
    214364carbinoxamine / Pseudoephedrine
    214392Chlorpheniramine / Hydrocodone
    214442Codeine / Guaifenesin
    214445Codeine / Pseudoephedrine
    214488Dextromethorphan / Guaifenesin
    214502Diclofenac / Misoprostol
    214555Etanercept
    214558Ethinyl Estradiol / Levonorgestrel
    214565fexofenadine / Pseudoephedrine
    214599Guaifenesin / Pseudoephedrine
    214614homatropine / Hydrocodone
    214617Hydrochlorothiazide / irbesartan
    214618Hydrochlorothiazide / Lisinopril
    214619Hydrochlorothiazide / Losartan
    214626Hydrochlorothiazide / valsartan
    214627Hydrocodone / Ibuprofen
    214631Hydrocodone / Pseudoephedrine
    214682Loratadine / Pseudoephedrine
    214721Naloxone / Pentazocine
    214807Pseudoephedrine / Triprolidine
    2176Cefaclor
    217627Hydrocortisone / Neomycin / Polymyxin B
    2177Cefadroxil
    2180Cefazolin
    2189Cefoxitin
    2191Ceftazidime
    2193Ceftriaxone
    219314Polymyxin B / Trimethoprim
    219315Iron polysaccharide
    2194Cefuroxime
    21949cyclobenzaprine
    221147POLYETHYLENE GLYCOL 3350
    22299Daptomycin
    2231Cephalexin
    226716Aspirin / Dipyridamole
    228476gatifloxacin
    228790Dutasteride
    232158rofecoxib
    233698dronedarone
    2348Chloramphenicol
    2356Chlordiazepoxide
    2358Chlorhexidine
    236778Trospium
    237159Levalbuterol
    2393Chloroquine
    2400Chlorpheniramine
    2403Chlorpromazine
    2409Chlorthalidone
    2410Chlorzoxazone
    2418Cholecalciferol
    2447Cholestyramine Resin
    24605Etodolac
    24947ferrous sulfate
    25025Finasteride
    25033Cefixime
    25037cefdinir
    25120flunisolide
    25255formoterol
    253157Bee pollen
    2541Cimetidine
    25480gabapentin
    2551Ciprofloxacin
    2556Citalopram
    25789glimepiride
    2582Clindamycin
    258337Hydrochlorothiazide / Triamterene
    2598Clonazepam
    2599Clonidine
    260101Oseltamivir
    26225Ondansetron
    2623Clotrimazole
    2670Codeine
    2683Colchicine
    2685Colestipol
    27169leflunomide
    274783Insulin Glargine
    274786telithromycin
    27723iodinated glycerol
    278567valdecoxib
    28031Itraconazole
    281Acyclovir
    283742Esomeprazole
    283809travoprost
    28439lamotrigine
    284635fluticasone / salmeterol
    2878Cortisone
    28889Loratadine
    28981loracarbef
    29046Lisinopril
    29542Mercury, Ammoniated
    29561meropenem
    296Adenosine
    3008Cyclosporine
    301542rosuvastatin
    306674vardenafil
    3108Dapsone
    3143prasterone
    31448nabumetone
    31555nebivolol
    31565nefazodone
    31738nickel sulfate
    318340Aloe vera preparation
    321064olmesartan
    321988Escitalopram
    322167Solifenacin
    3247Desipramine
    325642ertapenem
    32592oxaliplatin
    32613oxaprozin
    32624oxcarbazepine
    3264Dexamethasone
    32675oxybutynin
    327361adalimumab
    3289Dextromethorphan
    32937Paroxetine
    32968clopidogrel
    3322Diazepam
    33408phenyltoloxamine
    3355Diclofenac
    3356Dicloxacillin
    3361Dicyclomine
    33738pioglitazone
    3393Diflunisal
    3407Digoxin
    341248ezetimibe
    3418Dihydroergotamine
    3423Hydromorphone
    3443Diltiazem
    3444Dimenhydrinate
    3498Diphenhydramine
    35208quinapril
    3521Dipyridamole
    352362Acetaminophen / Tramadol
    35296Ramipril
    35382resorcinol
    35636Risperidone
    358263tadalafil
    35827Ketorolac
    35829ranolazine
    36108Salsalate
    36117salmeterol
    3616Dobutamine
    3638Doxepin
    3640Doxycycline
    36437Sertraline
    3648Droperidol
    36567Simvastatin
    37418Sumatriptan
    37617tazobactam
    37798Terazosin
    37801terbinafine
    3827Enalapril
    3829Enalaprilat
    38400atomoxetine
    38404topiramate
    38413torsemide
    38574trichloroacetaldehyde
    38685trimethobenzamide
    389132Budesonide / formoterol
    3966Ephedrine
    39786venlafaxine
    3992Epinephrine
    39993zolpidem
    39998zonisamide
    40048Carboplatin
    400674dexbrompheniramine / Pseudoephedrine
    4025Ergotamine
    40254Valproate
    4053Erythromycin
    40575zileuton
    40790pantoprazole
    4083Estradiol
    4099Estrogens, Conjugated (USP)
    41126fluticasone
    41127fluvastatin
    4124Ethinyl Estradiol
    41397Lactase
    41493meloxicam
    42330Terfenadine
    42331Misoprostol
    42347Bupropion
    42351Lithium Carbonate
    42372Mupirocin
    42463Pravastatin
    4278Famotidine
    4316Felodipine
    4337Fentanyl
    435Albuterol
    43611latanoprost
    4419Fish Oils
    4441Flecainide
    4450Fluconazole
    448Ethanol
    4492Fluorouracil
    4493Fluoxetine
    4496Fluphenazine
    4500Flurandrenolide
    4530Formaldehyde
    4603Furosemide
    46041Alendronate
    461016Eszopiclone
    4637Galantamine
    465397Ciprofloxacin / Dexamethasone
    466522Diphenhydramine / Zinc Acetate
    466541Neomycin / Polymyxin B
    466549Aspirin / Caffeine / Orphenadrine
    466553penicillin G benzathine / penicillin G procaine
    466566Acetaminophen / Dextromethorphan / Diphenhydramine / Pseudoephedrine
    466584Acetaminophen / Aspirin / Caffeine
    4719Gemfibrozil
    475968liraglutide
    4815Glyburide
    48203Clavulanate
    4821Glipizide
    48274Acetaminophen / Propoxyphene
    484139Chlorhexidine / Isopropyl Alcohol
    484211ezetimibe / Simvastatin
    4850Glucose
    4917Nitroglycerin
    49276Doxazosin
    50166Fosinopril
    5021Griseofulvin
    5032Guaifenesin
    5093Haloperidol
    51272quetiapine
    519Allopurinol
    52175Losartan
    5224heparin
    52582mesalamine
    5470Hydralazine
    5487Hydrochlorothiazide
    5489Hydrocodone
    5492Hydrocortisone
    5499Hydrogen Peroxide
    5521Hydroxychloroquine
    5553Hydroxyzine
    5640Ibuprofen
    5691Imipramine
    56946Paclitaxel
    57258tizanidine
    5764Indapamide
    5781Indomethacin
    588250milnacipran
    59078metaxalone
    591622varenicline
    5933Iodine
    593411sitagliptin
    594040Atropine / Diphenoxylate
    5956Iohexol
    596Alprazolam
    596723cerivastatin
    597142brimonidine / Timolol
    5992Iron-Dextran Complex
    60207dorzolamide
    6038isoniazid
    60548exenatide
    6057Isosorbide
    6058Isosorbide Dinitrate
    611854Chlordiazepoxide / clidinium
    6130Ketamine
    6135Ketoconazole
    61381olanzapine
    6142Ketoprofen
    6185Labetalol
    620Amantadine
    6218Lactulose
    6227Lanolin
    6387Lidocaine
    6398Lincomycin
    6448Lithium
    645555Bacitracin / Polymyxin B
    6468Loperamide
    6470Lorazepam
    6472Lovastatin
    6574Magnesium
    6585Magnesium Sulfate
    662263dorzolamide / Timolol
    6676Meclizine
    6691Medroxyprogesterone
    67108Enoxaparin
    6711Melatonin
    6719Memantine
    6750Menthol
    6754Meperidine
    6809Metformin
    6813Methadone
    6835Methimazole
    6845Methocarbamol
    6851Methotrexate
    6876Methyldopa
    689Aminophylline
    689467Oxytetracycline / Polymyxin B
    689518Aspirin / Caffeine / Propoxyphene
    689556Acetaminophen / Aspirin / Phenylpropanolamine
    689558Acetaminophen / Brompheniramine / Pseudoephedrine
    689561Acetaminophen / butalbital / Caffeine / Codeine
    689582Acetaminophen / Chlorpheniramine / Dextromethorphan / Pseudoephedrine
    689606Atropine / Hyoscyamine / Phenobarbital / Scopolamine
    689623Bacitracin / Hydrocortisone / Neomycin / Polymyxin B
    690077Benzalkonium / Lidocaine
    6901Methylphenidate
    6902Methylprednisolone
    690693Diphenhydramine / Phenylephrine
    690808Brompheniramine / Dextromethorphan / Pseudoephedrine
    69120tiotropium
    6915Metoclopramide
    6916Metolazone
    6918Metoprolol
    6922Metronidazole
    692572Bacitracin / Neomycin / Polymyxin B
    692794Gramicidin / Neomycin / Polymyxin B
    6932Miconazole
    6960Midazolam
    69749valsartan
    6980Minocycline
    6984Minoxidil
    703Amiodarone
    704Amitriptyline
    7052Morphine
    705258Acetaminophen / Dextromethorphan / Doxylamine
    7213Ipratropium
    72143Raloxifene
    72236fosphenytoin
    723Amoxicillin
    72302ropinirole
    7233Nafcillin
    7238Nalbuphine
    7243Naltrexone
    725Amphetamine
    7258Naproxen
    72625duloxetine
    7299Neomycin
    73056Risedronate
    733Ampicillin
    73494telmisartan
    73645valacyclovir
    7393Niacin
    7407Nicotine
    74169Piperacillin / tazobactam
    7417Nifedipine
    7454Nitrofurantoin
    746741Pramipexole
    7486Nitrous Oxide
    7517Norfloxacin
    7531Nortriptyline
    7597Nystatin
    7623Ofloxacin
    7646Omeprazole
    7676Opium
    7715Orphenadrine
    77492tamsulosin
    7804Oxycodone
    7821Oxytetracycline
    787390tapentadol
    7975Penicillamine
    797541Isopropyl Alcohol
    7980Penicillin G
    7984Penicillin V
    7994Pentamidine
    8001Pentazocine
    8120Phenazopyridine
    8134Phenobarbital
    815166Dextromethorphan / Doxylamine
    8163Phenylephrine
    816346dexlansoprazole
    8175Phenylpropanolamine
    817579Acetaminophen / Codeine
    817958Aspirin / Calcium Carbonate
    8183Phenytoin
    82122Levofloxacin
    822929Amphetamine aspartate / Amphetamine Sulfate / Dextroamphetamine saccharate / Dextroamphetamine Sulfate
    83367atorvastatin
    8356Piroxicam
    83818irbesartan
    84108rosiglitazone
    8536Polymyxin B
    857974saxagliptin
    8588Potassium
    8591Potassium Chloride
    8610Povidone
    8611Povidone-Iodine
    861634pitavastatin
    8629Prazosin
    8638prednisolone
    8640Prednisone
    8687Primaquine
    8691Primidone
    8698Probenecid
    8700Procainamide
    8701Procaine
    8703Fenofibrate
    8704Prochlorperazine
    8727Progesterone
    8745Promethazine
    8754Propafenone
    87636fexofenadine
    8782Propofol
    8785Propoxyphene
    8787Propranolol
    8794Propylthiouracil
    88014rizatriptan
    88249montelukast
    883815Dexamethasone / Tobramycin
    8896Pseudoephedrine
    89013aripiprazole
    8928Psyllium
    8948Purified Protein Derivative of Tuberculin
    90176Iron
    9068Quinidine
    9071Quinine
    91263Aloe Extract
    9143Ranitidine
    9384Rifampin
    9524Sulfasalazine
    9601Scopolamine
    9778Silicones
    9793silver sulfadiazine
    9947Sotalol
    9997Spironolactone
  • Include these codes as defined in http://snomed.info/sct
    CodeDisplay
    102259006Citrus fruit (substance)
    102261002Strawberry (substance)
    102262009Chocolate (substance)
    102263004Eggs (edible) (substance)
    102264005Cheese (substance)
    111088007Latex (substance)
    111151007Anabolic steroid (substance)
    11526002Aspartame (substance)
    116274004Artificial sweetener (substance)
    116566001Steroid (substance)
    13577000Nut (substance)
    14443002Substance with aminoglycoside structure and antibacterial mechanism of action (substance)
    226723006Buckwheat - cereal (substance)
    226734009Wheatgerm (substance)
    226760005Dairy foods (substance)
    226915003Red meat (substance)
    226916002Beef (substance)
    226934003Pork (substance)
    226955001Chicken - meat (substance)
    226967004Turkey - meat (substance)
    227144008Tuna fish (substance)
    227151004Prawns (substance)
    227208008Abalone canned in brine (substance)
    227219006Aubergine (substance)
    227313005Pulse vegetables (substance)
    227388008Cinnamon (substance)
    227400003Ginger (substance)
    227421003Cranberries (substance)
    227444000Raspberries (substance)
    227493005Cashew nut (substance)
    227512001Pistachio nut (substance)
    227598003Honey (substance)
    228102000Sodium nitrate (substance)
    255632006Anticonvulsant (substance)
    255637000Salicylate (substance)
    255641001Caffeine (substance)
    256259004Pollen (substance)
    256277009Grass pollen (substance)
    256306003Orange - fruit (substance)
    256307007Banana (substance)
    256313003Pineapple (substance)
    256315005Grapefruit (substance)
    256317002Grapes (substance)
    256319004Carrot (substance)
    256326004Celery (substance)
    256329006Spinach (substance)
    256350002Almond (substance)
    256351003Brazil nut (substance)
    256352005Walnut - nut (substance)
    256353000Hazelnut (substance)
    256354006Bean (substance)
    256417003Horse dander (substance)
    256440004Wasp venom (substance)
    259858000Varicella-zoster virus antibody (substance)
    260152009Cat dander (substance)
    260154005Dog dander (substance)
    260167008Sesame seed (substance)
    260176001Kiwi fruit (substance)
    260177005Melon (substance)
    260179008Mango fruit (substance)
    260184002Peas (substance)
    260189007Pecan nut (substance)
    260205009Sunflower seed (substance)
    264287008Animal dander (substance)
    264337003Seed (substance)
    28230009Poultry (substance)
    288328004Bee venom (substance)
    28942008Coconut oil (substance)
    29263009Coffee (substance)
    304275008Corticosteroid and corticosteroid derivative (substance)
    33008008Dust (substance)
    350327004Diphtheria + tetanus vaccine (product)
    35748005Wine (substance)
    360201004Nitrofuran derivative (substance)
    3692009Sodium sulfite (substance)
    372480009Substance with macrolide structure and antibacterial mechanism of action (substance)
    372664007Benzodiazepine (substance)
    372665008Non-steroidal anti-inflammatory agent (substance)
    372711004Sulfonylurea (substance)
    372722000Substance with quinolone structure and antibacterial mechanism of action (substance)
    372733002Substance with angiotensin-converting enzyme inhibitor mechanism of action (substance)
    372747003Thiazide diuretic (substance)
    372783007Antiparkinsonian agent (substance)
    372798009Barbiturate (substance)
    372806008Substance with histamine receptor antagonist mechanism of action (substance)
    372889003First generation cephalosporin (substance)
    372912004Substance with 3-hydroxy-3-methylglutaryl-coenzyme A reductase inhibitor mechanism of action (substance)
    372913009Substance with angiotensin II receptor antagonist mechanism of action (substance)
    373206009Substance with tetracycline structure and antibacterial mechanism of action (substance)
    373253007Tricyclic antidepressant (substance)
    373254001Substance with beta adrenergic receptor antagonist mechanism of action (substance)
    373262009Substance with cephalosporin structure and antibacterial mechanism of action (substance)
    373270004Substance with penicillin structure and antibacterial mechanism of action (substance)
    373297006Substance with beta-lactam structure and antibacterial mechanism of action (substance)
    373304005Substance with calcium channel blocker mechanism of action (substance)
    373531009Gelatin (substance)
    385420005Contrast media (substance)
    386127005Formula milk (substance)
    386962001Plasma protein fraction (substance)
    387050005Substance with prostaglandin-endoperoxide synthase isoform 2 inhibitor mechanism of action (substance)
    387406002Sulfonamide (substance)
    391737006Almond oil (substance)
    391739009Aloe (substance)
    396345004Carbapenem (substance)
    396420001Anthrax vaccine (substance)
    396425006Influenza virus vaccine (substance)
    396433007Pertussis vaccine (substance)
    396439006Smallpox vaccine (substance)
    396441007Typhoid vaccine (substance)
    396442000Varicella virus vaccine (substance)
    398730001Pneumococcal vaccine (substance)
    400872007Hydrocolloid (substance)
    404642006Substance with opioid receptor agonist mechanism of action (substance)
    406748003Carbamate (substance)
    409137002No known drug allergy (situation)
    412061001Blueberries (substance)
    412062008Cantaloupe (substance)
    412066006Pepper (substance)
    412068007Rye (substance)
    412071004Wheat (substance)
    412138001Horse serum protein (substance)
    412357001Corn (substance)
    412373007Diphtheria + pertussis + tetanus + Haemophilus influenzae type b vaccine (product)
    412375000Tetanus vaccine (substance)
    412533000Wheat bran (substance)
    412534006Yeast (substance)
    412583005Bee pollen (substance)
    41598000Estrogen (substance)
    417889008Arachis oil (substance)
    418000008Methadone analog (substance)
    418504009Oats (substance)
    418920007Adhesive agent (substance)
    419420009Watermelon (substance)
    419933005Glucocorticoid (substance)
    421245007Diphtheria + pertussis + tetanus vaccine (product)
    424369009Product containing beta-galactosidase (medicinal product)
    426722004Iodinated contrast media (substance)
    428607008No known environmental allergy (situation)
    429625007No known food allergy (situation)
    43735007Sulfur (substance)
    43921001Nickel compound (substance)
    44027008Seafood (substance)
    442381000124103Blue food coloring (substance)
    442571000124108Tree nut (substance)
    442771000124102Pepperoni (substance)
    44588005Iodine (substance)
    446273004Red food coloring (substance)
    446274005Yellow food coloring (substance)
    47703008Lactose (substance)
    51386004Food preservative (substance)
    51905005Mustard (substance)
    53041004Alcohol (substance)
    61789006Dye (substance)
    63045006Berry (substance)
    67324005Rice (substance)
    67866001Insulin (substance)
    70813002Milk (substance)
    710179004Lupine seed (substance)
    716184000No known latex allergy (situation)
    716186003No known allergy (situation)
    720687003Dust mite protein (substance)
    72511004Fruit (substance)
    726730005Yam (substance)
    734881000Tomato (substance)
    735006003Squid (substance)
    735009005Salmon (substance)
    735029006Shellfish (substance)
    735030001Garlic (substance)
    735043001Mackerel (substance)
    735045008Mushroom (substance)
    735047000Onion (substance)
    735049002Peach (substance)
    735050002Pear (substance)
    735051003Plum (substance)
    735053000Potato (substance)
    735123009Broccoli (substance)
    735124003Barley (substance)
    735211005Coconut (substance)
    735212003Papaya (substance)
    735213008Cucumber (substance)
    735214002Apricot (substance)
    735215001Apple (substance)
    735248001Cherry (substance)
    735249009Avocado (substance)
    735340006Lemon (substance)
    735959004Marine mollusk (substance)
    735971005Fish (substance)
    735977009Marine crustacean (substance)
    736027000Scallop (substance)
    736030007Clam (substance)
    736031006Oyster (substance)
    736159005Crab (substance)
    736162008Lobster (substance)
    74801000Sugar (substance)
    75665004Monosodium glutamate (substance)
    762952008Peanut (substance)
    7791007Soy protein (substance)
    80259003Food flavoring agent (substance)
    84489001Mold (organism)
    89119000Nitrate salt (substance)
    89707004Sesame oil (substance)
    89811004Gluten (substance)
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-allergy-substance", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113762.1.4.1186.8" + } + ], + "version": "3.1.0", + "name": "USCoreAllergySubstance", + "title": "US Core Common substances for allergy and intolerance documentation including refutations", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Documentation of substances suspected of (or not suspected of) causing an allergy or intolerance reaction in an individual. **Inclusion Criteria:** specific or general substances to which a patient may be exposed and which may be suspected of causing an adverse reaction; assertions refuting these suspicions. This includes: 1. Common dietary substances for allergy and intolerance documentation (SNOMEDCT) 2. Common drug classes for allergy and intolerance documentation (SNOMEDCT) 3. Common drug substances for allergy and intolerance documentation (RXNORM) 4. Common environmental substances for allergy and intolerance documentation (SNOMEDCT) 5. Common refutations and null values for substance causes for allergy and intolerance documentation (SNOMEDCT) **Exclusion Criteria:** actual conditions caused by exposure (reactions, allergies)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "concept": [ + { + "code": "1002293", + "display": "formoterol / Mometasone" + }, + { + "code": "1007388", + "display": "Lactase / rennet" + }, + { + "code": "1008298", + "display": "Acetaminophen / Caffeine / Chlorpheniramine / Hydrocodone / Phenylephrine" + }, + { + "code": "1008519", + "display": "guaiacolsulfonate / Hydrocodone" + }, + { + "code": "1009148", + "display": "Ampicillin / Sulbactam" + }, + { + "code": "10109", + "display": "Streptomycin" + }, + { + "code": "10154", + "display": "Succinylcholine" + }, + { + "code": "10156", + "display": "Sucralfate" + }, + { + "code": "10169", + "display": "Sulfacetamide" + }, + { + "code": "10171", + "display": "Sulfadiazine" + }, + { + "code": "10180", + "display": "Sulfamethoxazole" + }, + { + "code": "10207", + "display": "Sulfisoxazole" + }, + { + "code": "10223", + "display": "Sulfur" + }, + { + "code": "10237", + "display": "Sulindac" + }, + { + "code": "10324", + "display": "Tamoxifen" + }, + { + "code": "10355", + "display": "Temazepam" + }, + { + "code": "10368", + "display": "Terbutaline" + }, + { + "code": "1037042", + "display": "dabigatran etexilate" + }, + { + "code": "10379", + "display": "Testosterone" + }, + { + "code": "10395", + "display": "Tetracycline" + }, + { + "code": "103990", + "display": "Carbidopa / Levodopa" + }, + { + "code": "1040028", + "display": "lurasidone" + }, + { + "code": "10438", + "display": "Theophylline" + }, + { + "code": "10472", + "display": "Thimerosal" + }, + { + "code": "10493", + "display": "Thiopental" + }, + { + "code": "10502", + "display": "Thioridazine" + }, + { + "code": "10510", + "display": "Thiothixene" + }, + { + "code": "10582", + "display": "levothyroxine" + }, + { + "code": "10594", + "display": "Ticlopidine" + }, + { + "code": "10600", + "display": "Timolol" + }, + { + "code": "10627", + "display": "Tobramycin" + }, + { + "code": "10636", + "display": "Tolmetin" + }, + { + "code": "10689", + "display": "Tramadol" + }, + { + "code": "10737", + "display": "Trazodone" + }, + { + "code": "10759", + "display": "Triamcinolone" + }, + { + "code": "107602", + "display": "Epinephrine / Lidocaine" + }, + { + "code": "10763", + "display": "Triamterene" + }, + { + "code": "10767", + "display": "Triazolam" + }, + { + "code": "10800", + "display": "Trifluoperazine" + }, + { + "code": "108118", + "display": "Mometasone" + }, + { + "code": "10829", + "display": "Trimethoprim" + }, + { + "code": "10831", + "display": "Sulfamethoxazole / Trimethoprim" + }, + { + "code": "11124", + "display": "Vancomycin" + }, + { + "code": "1114195", + "display": "rivaroxaban" + }, + { + "code": "1116632", + "display": "Ticagrelor" + }, + { + "code": "11170", + "display": "Verapamil" + }, + { + "code": "11248", + "display": "Vitamin B 12" + }, + { + "code": "11253", + "display": "Vitamin D" + }, + { + "code": "11256", + "display": "Vitamin E" + }, + { + "code": "11289", + "display": "Warfarin" + }, + { + "code": "113588", + "display": "Erythromycin / Sulfisoxazole" + }, + { + "code": "11416", + "display": "Zinc" + }, + { + "code": "11423", + "display": "Zinc Oxide" + }, + { + "code": "114477", + "display": "Levetiracetam" + }, + { + "code": "114970", + "display": "zafirlukast" + }, + { + "code": "114979", + "display": "rabeprazole" + }, + { + "code": "1151", + "display": "Ascorbic Acid" + }, + { + "code": "115264", + "display": "Ibandronate" + }, + { + "code": "115552", + "display": "trovafloxacin" + }, + { + "code": "115698", + "display": "ziprasidone" + }, + { + "code": "1191", + "display": "Aspirin" + }, + { + "code": "119565", + "display": "tolterodine" + }, + { + "code": "1202", + "display": "Atenolol" + }, + { + "code": "121191", + "display": "rituximab" + }, + { + "code": "1223", + "display": "Atropine" + }, + { + "code": "1256", + "display": "Azathioprine" + }, + { + "code": "1272", + "display": "Aztreonam" + }, + { + "code": "1291", + "display": "Bacitracin" + }, + { + "code": "1292", + "display": "Baclofen" + }, + { + "code": "1310171", + "display": "Gadolinium" + }, + { + "code": "1311085", + "display": "xanthine" + }, + { + "code": "1311524", + "display": "Aspartame" + }, + { + "code": "1311629", + "display": "nickel" + }, + { + "code": "1314891", + "display": "Latex" + }, + { + "code": "1331", + "display": "Barium Sulfate" + }, + { + "code": "134615", + "display": "brimonidine" + }, + { + "code": "1347", + "display": "Beclomethasone" + }, + { + "code": "135447", + "display": "donepezil" + }, + { + "code": "135775", + "display": "zolmitriptan" + }, + { + "code": "1359", + "display": "Belladonna Alkaloids" + }, + { + "code": "1362879", + "display": "Sulfur Dioxide" + }, + { + "code": "1363043", + "display": "ethyl ether" + }, + { + "code": "136411", + "display": "sildenafil" + }, + { + "code": "1364430", + "display": "apixaban" + }, + { + "code": "138099", + "display": "gemifloxacin" + }, + { + "code": "139462", + "display": "moxifloxacin" + }, + { + "code": "1399", + "display": "Benzocaine" + }, + { + "code": "140587", + "display": "celecoxib" + }, + { + "code": "1406", + "display": "benzoin resin" + }, + { + "code": "141626", + "display": "colesevelam" + }, + { + "code": "1418", + "display": "Benzoyl Peroxide" + }, + { + "code": "1424", + "display": "Benztropine" + }, + { + "code": "1514", + "display": "Betamethasone" + }, + { + "code": "153970", + "display": "Hyoscyamine" + }, + { + "code": "1596450", + "display": "Gentamicin" + }, + { + "code": "15996", + "display": "Mirtazapine" + }, + { + "code": "161", + "display": "Acetaminophen" + }, + { + "code": "16681", + "display": "Acarbose" + }, + { + "code": "167", + "display": "Acetazolamide" + }, + { + "code": "17128", + "display": "lansoprazole" + }, + { + "code": "1727875", + "display": "Tetanus immune globulin" + }, + { + "code": "17300", + "display": "alfuzosin" + }, + { + "code": "17767", + "display": "Amlodipine" + }, + { + "code": "1827", + "display": "Buspirone" + }, + { + "code": "183379", + "display": "rivastigmine" + }, + { + "code": "1841", + "display": "Butorphanol" + }, + { + "code": "18631", + "display": "Azithromycin" + }, + { + "code": "187832", + "display": "pregabalin" + }, + { + "code": "1886", + "display": "Caffeine" + }, + { + "code": "18867", + "display": "benazepril" + }, + { + "code": "1895", + "display": "Calcium" + }, + { + "code": "1897", + "display": "Calcium Carbonate" + }, + { + "code": "18993", + "display": "benzonatate" + }, + { + "code": "190376", + "display": "linezolid" + }, + { + "code": "191831", + "display": "infliximab" + }, + { + "code": "19478", + "display": "bismuth subsalicylate" + }, + { + "code": "19552", + "display": "cefprozil" + }, + { + "code": "19711", + "display": "Amoxicillin / Clavulanate" + }, + { + "code": "19831", + "display": "Budesonide" + }, + { + "code": "1998", + "display": "Captopril" + }, + { + "code": "2002", + "display": "Carbamazepine" + }, + { + "code": "20352", + "display": "carvedilol" + }, + { + "code": "20481", + "display": "cefepime" + }, + { + "code": "20489", + "display": "cefpodoxime" + }, + { + "code": "20610", + "display": "Cetirizine" + }, + { + "code": "2101", + "display": "Carisoprodol" + }, + { + "code": "21107", + "display": "cilostazol" + }, + { + "code": "21183", + "display": "Citric Acid" + }, + { + "code": "21212", + "display": "Clarithromycin" + }, + { + "code": "214130", + "display": "Acetaminophen / butalbital / Caffeine" + }, + { + "code": "214153", + "display": "Acetaminophen / dichloralphenazone / isometheptene" + }, + { + "code": "214159", + "display": "Aspirin / butalbital / Caffeine" + }, + { + "code": "214160", + "display": "Aspirin / butalbital / Caffeine / Codeine" + }, + { + "code": "214181", + "display": "Acetaminophen / Diphenhydramine" + }, + { + "code": "214182", + "display": "Acetaminophen / Hydrocodone" + }, + { + "code": "214183", + "display": "Acetaminophen / Oxycodone" + }, + { + "code": "214199", + "display": "Albuterol / Ipratropium" + }, + { + "code": "214223", + "display": "Amlodipine / benazepril" + }, + { + "code": "214250", + "display": "Aspirin / Caffeine" + }, + { + "code": "214256", + "display": "Aspirin / Oxycodone" + }, + { + "code": "214257", + "display": "Aspirin / Pentazocine" + }, + { + "code": "214317", + "display": "Bisoprolol / Hydrochlorothiazide" + }, + { + "code": "214336", + "display": "Caffeine / Ergotamine" + }, + { + "code": "214354", + "display": "candesartan" + }, + { + "code": "214364", + "display": "carbinoxamine / Pseudoephedrine" + }, + { + "code": "214392", + "display": "Chlorpheniramine / Hydrocodone" + }, + { + "code": "214442", + "display": "Codeine / Guaifenesin" + }, + { + "code": "214445", + "display": "Codeine / Pseudoephedrine" + }, + { + "code": "214488", + "display": "Dextromethorphan / Guaifenesin" + }, + { + "code": "214502", + "display": "Diclofenac / Misoprostol" + }, + { + "code": "214555", + "display": "Etanercept" + }, + { + "code": "214558", + "display": "Ethinyl Estradiol / Levonorgestrel" + }, + { + "code": "214565", + "display": "fexofenadine / Pseudoephedrine" + }, + { + "code": "214599", + "display": "Guaifenesin / Pseudoephedrine" + }, + { + "code": "214614", + "display": "homatropine / Hydrocodone" + }, + { + "code": "214617", + "display": "Hydrochlorothiazide / irbesartan" + }, + { + "code": "214618", + "display": "Hydrochlorothiazide / Lisinopril" + }, + { + "code": "214619", + "display": "Hydrochlorothiazide / Losartan" + }, + { + "code": "214626", + "display": "Hydrochlorothiazide / valsartan" + }, + { + "code": "214627", + "display": "Hydrocodone / Ibuprofen" + }, + { + "code": "214631", + "display": "Hydrocodone / Pseudoephedrine" + }, + { + "code": "214682", + "display": "Loratadine / Pseudoephedrine" + }, + { + "code": "214721", + "display": "Naloxone / Pentazocine" + }, + { + "code": "214807", + "display": "Pseudoephedrine / Triprolidine" + }, + { + "code": "2176", + "display": "Cefaclor" + }, + { + "code": "217627", + "display": "Hydrocortisone / Neomycin / Polymyxin B" + }, + { + "code": "2177", + "display": "Cefadroxil" + }, + { + "code": "2180", + "display": "Cefazolin" + }, + { + "code": "2189", + "display": "Cefoxitin" + }, + { + "code": "2191", + "display": "Ceftazidime" + }, + { + "code": "2193", + "display": "Ceftriaxone" + }, + { + "code": "219314", + "display": "Polymyxin B / Trimethoprim" + }, + { + "code": "219315", + "display": "Iron polysaccharide" + }, + { + "code": "2194", + "display": "Cefuroxime" + }, + { + "code": "21949", + "display": "cyclobenzaprine" + }, + { + "code": "221147", + "display": "POLYETHYLENE GLYCOL 3350" + }, + { + "code": "22299", + "display": "Daptomycin" + }, + { + "code": "2231", + "display": "Cephalexin" + }, + { + "code": "226716", + "display": "Aspirin / Dipyridamole" + }, + { + "code": "228476", + "display": "gatifloxacin" + }, + { + "code": "228790", + "display": "Dutasteride" + }, + { + "code": "232158", + "display": "rofecoxib" + }, + { + "code": "233698", + "display": "dronedarone" + }, + { + "code": "2348", + "display": "Chloramphenicol" + }, + { + "code": "2356", + "display": "Chlordiazepoxide" + }, + { + "code": "2358", + "display": "Chlorhexidine" + }, + { + "code": "236778", + "display": "Trospium" + }, + { + "code": "237159", + "display": "Levalbuterol" + }, + { + "code": "2393", + "display": "Chloroquine" + }, + { + "code": "2400", + "display": "Chlorpheniramine" + }, + { + "code": "2403", + "display": "Chlorpromazine" + }, + { + "code": "2409", + "display": "Chlorthalidone" + }, + { + "code": "2410", + "display": "Chlorzoxazone" + }, + { + "code": "2418", + "display": "Cholecalciferol" + }, + { + "code": "2447", + "display": "Cholestyramine Resin" + }, + { + "code": "24605", + "display": "Etodolac" + }, + { + "code": "24947", + "display": "ferrous sulfate" + }, + { + "code": "25025", + "display": "Finasteride" + }, + { + "code": "25033", + "display": "Cefixime" + }, + { + "code": "25037", + "display": "cefdinir" + }, + { + "code": "25120", + "display": "flunisolide" + }, + { + "code": "25255", + "display": "formoterol" + }, + { + "code": "253157", + "display": "Bee pollen" + }, + { + "code": "2541", + "display": "Cimetidine" + }, + { + "code": "25480", + "display": "gabapentin" + }, + { + "code": "2551", + "display": "Ciprofloxacin" + }, + { + "code": "2556", + "display": "Citalopram" + }, + { + "code": "25789", + "display": "glimepiride" + }, + { + "code": "2582", + "display": "Clindamycin" + }, + { + "code": "258337", + "display": "Hydrochlorothiazide / Triamterene" + }, + { + "code": "2598", + "display": "Clonazepam" + }, + { + "code": "2599", + "display": "Clonidine" + }, + { + "code": "260101", + "display": "Oseltamivir" + }, + { + "code": "26225", + "display": "Ondansetron" + }, + { + "code": "2623", + "display": "Clotrimazole" + }, + { + "code": "2670", + "display": "Codeine" + }, + { + "code": "2683", + "display": "Colchicine" + }, + { + "code": "2685", + "display": "Colestipol" + }, + { + "code": "27169", + "display": "leflunomide" + }, + { + "code": "274783", + "display": "Insulin Glargine" + }, + { + "code": "274786", + "display": "telithromycin" + }, + { + "code": "27723", + "display": "iodinated glycerol" + }, + { + "code": "278567", + "display": "valdecoxib" + }, + { + "code": "28031", + "display": "Itraconazole" + }, + { + "code": "281", + "display": "Acyclovir" + }, + { + "code": "283742", + "display": "Esomeprazole" + }, + { + "code": "283809", + "display": "travoprost" + }, + { + "code": "28439", + "display": "lamotrigine" + }, + { + "code": "284635", + "display": "fluticasone / salmeterol" + }, + { + "code": "2878", + "display": "Cortisone" + }, + { + "code": "28889", + "display": "Loratadine" + }, + { + "code": "28981", + "display": "loracarbef" + }, + { + "code": "29046", + "display": "Lisinopril" + }, + { + "code": "29542", + "display": "Mercury, Ammoniated" + }, + { + "code": "29561", + "display": "meropenem" + }, + { + "code": "296", + "display": "Adenosine" + }, + { + "code": "3008", + "display": "Cyclosporine" + }, + { + "code": "301542", + "display": "rosuvastatin" + }, + { + "code": "306674", + "display": "vardenafil" + }, + { + "code": "3108", + "display": "Dapsone" + }, + { + "code": "3143", + "display": "prasterone" + }, + { + "code": "31448", + "display": "nabumetone" + }, + { + "code": "31555", + "display": "nebivolol" + }, + { + "code": "31565", + "display": "nefazodone" + }, + { + "code": "31738", + "display": "nickel sulfate" + }, + { + "code": "318340", + "display": "Aloe vera preparation" + }, + { + "code": "321064", + "display": "olmesartan" + }, + { + "code": "321988", + "display": "Escitalopram" + }, + { + "code": "322167", + "display": "Solifenacin" + }, + { + "code": "3247", + "display": "Desipramine" + }, + { + "code": "325642", + "display": "ertapenem" + }, + { + "code": "32592", + "display": "oxaliplatin" + }, + { + "code": "32613", + "display": "oxaprozin" + }, + { + "code": "32624", + "display": "oxcarbazepine" + }, + { + "code": "3264", + "display": "Dexamethasone" + }, + { + "code": "32675", + "display": "oxybutynin" + }, + { + "code": "327361", + "display": "adalimumab" + }, + { + "code": "3289", + "display": "Dextromethorphan" + }, + { + "code": "32937", + "display": "Paroxetine" + }, + { + "code": "32968", + "display": "clopidogrel" + }, + { + "code": "3322", + "display": "Diazepam" + }, + { + "code": "33408", + "display": "phenyltoloxamine" + }, + { + "code": "3355", + "display": "Diclofenac" + }, + { + "code": "3356", + "display": "Dicloxacillin" + }, + { + "code": "3361", + "display": "Dicyclomine" + }, + { + "code": "33738", + "display": "pioglitazone" + }, + { + "code": "3393", + "display": "Diflunisal" + }, + { + "code": "3407", + "display": "Digoxin" + }, + { + "code": "341248", + "display": "ezetimibe" + }, + { + "code": "3418", + "display": "Dihydroergotamine" + }, + { + "code": "3423", + "display": "Hydromorphone" + }, + { + "code": "3443", + "display": "Diltiazem" + }, + { + "code": "3444", + "display": "Dimenhydrinate" + }, + { + "code": "3498", + "display": "Diphenhydramine" + }, + { + "code": "35208", + "display": "quinapril" + }, + { + "code": "3521", + "display": "Dipyridamole" + }, + { + "code": "352362", + "display": "Acetaminophen / Tramadol" + }, + { + "code": "35296", + "display": "Ramipril" + }, + { + "code": "35382", + "display": "resorcinol" + }, + { + "code": "35636", + "display": "Risperidone" + }, + { + "code": "358263", + "display": "tadalafil" + }, + { + "code": "35827", + "display": "Ketorolac" + }, + { + "code": "35829", + "display": "ranolazine" + }, + { + "code": "36108", + "display": "Salsalate" + }, + { + "code": "36117", + "display": "salmeterol" + }, + { + "code": "3616", + "display": "Dobutamine" + }, + { + "code": "3638", + "display": "Doxepin" + }, + { + "code": "3640", + "display": "Doxycycline" + }, + { + "code": "36437", + "display": "Sertraline" + }, + { + "code": "3648", + "display": "Droperidol" + }, + { + "code": "36567", + "display": "Simvastatin" + }, + { + "code": "37418", + "display": "Sumatriptan" + }, + { + "code": "37617", + "display": "tazobactam" + }, + { + "code": "37798", + "display": "Terazosin" + }, + { + "code": "37801", + "display": "terbinafine" + }, + { + "code": "3827", + "display": "Enalapril" + }, + { + "code": "3829", + "display": "Enalaprilat" + }, + { + "code": "38400", + "display": "atomoxetine" + }, + { + "code": "38404", + "display": "topiramate" + }, + { + "code": "38413", + "display": "torsemide" + }, + { + "code": "38574", + "display": "trichloroacetaldehyde" + }, + { + "code": "38685", + "display": "trimethobenzamide" + }, + { + "code": "389132", + "display": "Budesonide / formoterol" + }, + { + "code": "3966", + "display": "Ephedrine" + }, + { + "code": "39786", + "display": "venlafaxine" + }, + { + "code": "3992", + "display": "Epinephrine" + }, + { + "code": "39993", + "display": "zolpidem" + }, + { + "code": "39998", + "display": "zonisamide" + }, + { + "code": "40048", + "display": "Carboplatin" + }, + { + "code": "400674", + "display": "dexbrompheniramine / Pseudoephedrine" + }, + { + "code": "4025", + "display": "Ergotamine" + }, + { + "code": "40254", + "display": "Valproate" + }, + { + "code": "4053", + "display": "Erythromycin" + }, + { + "code": "40575", + "display": "zileuton" + }, + { + "code": "40790", + "display": "pantoprazole" + }, + { + "code": "4083", + "display": "Estradiol" + }, + { + "code": "4099", + "display": "Estrogens, Conjugated (USP)" + }, + { + "code": "41126", + "display": "fluticasone" + }, + { + "code": "41127", + "display": "fluvastatin" + }, + { + "code": "4124", + "display": "Ethinyl Estradiol" + }, + { + "code": "41397", + "display": "Lactase" + }, + { + "code": "41493", + "display": "meloxicam" + }, + { + "code": "42330", + "display": "Terfenadine" + }, + { + "code": "42331", + "display": "Misoprostol" + }, + { + "code": "42347", + "display": "Bupropion" + }, + { + "code": "42351", + "display": "Lithium Carbonate" + }, + { + "code": "42372", + "display": "Mupirocin" + }, + { + "code": "42463", + "display": "Pravastatin" + }, + { + "code": "4278", + "display": "Famotidine" + }, + { + "code": "4316", + "display": "Felodipine" + }, + { + "code": "4337", + "display": "Fentanyl" + }, + { + "code": "435", + "display": "Albuterol" + }, + { + "code": "43611", + "display": "latanoprost" + }, + { + "code": "4419", + "display": "Fish Oils" + }, + { + "code": "4441", + "display": "Flecainide" + }, + { + "code": "4450", + "display": "Fluconazole" + }, + { + "code": "448", + "display": "Ethanol" + }, + { + "code": "4492", + "display": "Fluorouracil" + }, + { + "code": "4493", + "display": "Fluoxetine" + }, + { + "code": "4496", + "display": "Fluphenazine" + }, + { + "code": "4500", + "display": "Flurandrenolide" + }, + { + "code": "4530", + "display": "Formaldehyde" + }, + { + "code": "4603", + "display": "Furosemide" + }, + { + "code": "46041", + "display": "Alendronate" + }, + { + "code": "461016", + "display": "Eszopiclone" + }, + { + "code": "4637", + "display": "Galantamine" + }, + { + "code": "465397", + "display": "Ciprofloxacin / Dexamethasone" + }, + { + "code": "466522", + "display": "Diphenhydramine / Zinc Acetate" + }, + { + "code": "466541", + "display": "Neomycin / Polymyxin B" + }, + { + "code": "466549", + "display": "Aspirin / Caffeine / Orphenadrine" + }, + { + "code": "466553", + "display": "penicillin G benzathine / penicillin G procaine" + }, + { + "code": "466566", + "display": "Acetaminophen / Dextromethorphan / Diphenhydramine / Pseudoephedrine" + }, + { + "code": "466584", + "display": "Acetaminophen / Aspirin / Caffeine" + }, + { + "code": "4719", + "display": "Gemfibrozil" + }, + { + "code": "475968", + "display": "liraglutide" + }, + { + "code": "4815", + "display": "Glyburide" + }, + { + "code": "48203", + "display": "Clavulanate" + }, + { + "code": "4821", + "display": "Glipizide" + }, + { + "code": "48274", + "display": "Acetaminophen / Propoxyphene" + }, + { + "code": "484139", + "display": "Chlorhexidine / Isopropyl Alcohol" + }, + { + "code": "484211", + "display": "ezetimibe / Simvastatin" + }, + { + "code": "4850", + "display": "Glucose" + }, + { + "code": "4917", + "display": "Nitroglycerin" + }, + { + "code": "49276", + "display": "Doxazosin" + }, + { + "code": "50166", + "display": "Fosinopril" + }, + { + "code": "5021", + "display": "Griseofulvin" + }, + { + "code": "5032", + "display": "Guaifenesin" + }, + { + "code": "5093", + "display": "Haloperidol" + }, + { + "code": "51272", + "display": "quetiapine" + }, + { + "code": "519", + "display": "Allopurinol" + }, + { + "code": "52175", + "display": "Losartan" + }, + { + "code": "5224", + "display": "heparin" + }, + { + "code": "52582", + "display": "mesalamine" + }, + { + "code": "5470", + "display": "Hydralazine" + }, + { + "code": "5487", + "display": "Hydrochlorothiazide" + }, + { + "code": "5489", + "display": "Hydrocodone" + }, + { + "code": "5492", + "display": "Hydrocortisone" + }, + { + "code": "5499", + "display": "Hydrogen Peroxide" + }, + { + "code": "5521", + "display": "Hydroxychloroquine" + }, + { + "code": "5553", + "display": "Hydroxyzine" + }, + { + "code": "5640", + "display": "Ibuprofen" + }, + { + "code": "5691", + "display": "Imipramine" + }, + { + "code": "56946", + "display": "Paclitaxel" + }, + { + "code": "57258", + "display": "tizanidine" + }, + { + "code": "5764", + "display": "Indapamide" + }, + { + "code": "5781", + "display": "Indomethacin" + }, + { + "code": "588250", + "display": "milnacipran" + }, + { + "code": "59078", + "display": "metaxalone" + }, + { + "code": "591622", + "display": "varenicline" + }, + { + "code": "5933", + "display": "Iodine" + }, + { + "code": "593411", + "display": "sitagliptin" + }, + { + "code": "594040", + "display": "Atropine / Diphenoxylate" + }, + { + "code": "5956", + "display": "Iohexol" + }, + { + "code": "596", + "display": "Alprazolam" + }, + { + "code": "596723", + "display": "cerivastatin" + }, + { + "code": "597142", + "display": "brimonidine / Timolol" + }, + { + "code": "5992", + "display": "Iron-Dextran Complex" + }, + { + "code": "60207", + "display": "dorzolamide" + }, + { + "code": "6038", + "display": "isoniazid" + }, + { + "code": "60548", + "display": "exenatide" + }, + { + "code": "6057", + "display": "Isosorbide" + }, + { + "code": "6058", + "display": "Isosorbide Dinitrate" + }, + { + "code": "611854", + "display": "Chlordiazepoxide / clidinium" + }, + { + "code": "6130", + "display": "Ketamine" + }, + { + "code": "6135", + "display": "Ketoconazole" + }, + { + "code": "61381", + "display": "olanzapine" + }, + { + "code": "6142", + "display": "Ketoprofen" + }, + { + "code": "6185", + "display": "Labetalol" + }, + { + "code": "620", + "display": "Amantadine" + }, + { + "code": "6218", + "display": "Lactulose" + }, + { + "code": "6227", + "display": "Lanolin" + }, + { + "code": "6387", + "display": "Lidocaine" + }, + { + "code": "6398", + "display": "Lincomycin" + }, + { + "code": "6448", + "display": "Lithium" + }, + { + "code": "645555", + "display": "Bacitracin / Polymyxin B" + }, + { + "code": "6468", + "display": "Loperamide" + }, + { + "code": "6470", + "display": "Lorazepam" + }, + { + "code": "6472", + "display": "Lovastatin" + }, + { + "code": "6574", + "display": "Magnesium" + }, + { + "code": "6585", + "display": "Magnesium Sulfate" + }, + { + "code": "662263", + "display": "dorzolamide / Timolol" + }, + { + "code": "6676", + "display": "Meclizine" + }, + { + "code": "6691", + "display": "Medroxyprogesterone" + }, + { + "code": "67108", + "display": "Enoxaparin" + }, + { + "code": "6711", + "display": "Melatonin" + }, + { + "code": "6719", + "display": "Memantine" + }, + { + "code": "6750", + "display": "Menthol" + }, + { + "code": "6754", + "display": "Meperidine" + }, + { + "code": "6809", + "display": "Metformin" + }, + { + "code": "6813", + "display": "Methadone" + }, + { + "code": "6835", + "display": "Methimazole" + }, + { + "code": "6845", + "display": "Methocarbamol" + }, + { + "code": "6851", + "display": "Methotrexate" + }, + { + "code": "6876", + "display": "Methyldopa" + }, + { + "code": "689", + "display": "Aminophylline" + }, + { + "code": "689467", + "display": "Oxytetracycline / Polymyxin B" + }, + { + "code": "689518", + "display": "Aspirin / Caffeine / Propoxyphene" + }, + { + "code": "689556", + "display": "Acetaminophen / Aspirin / Phenylpropanolamine" + }, + { + "code": "689558", + "display": "Acetaminophen / Brompheniramine / Pseudoephedrine" + }, + { + "code": "689561", + "display": "Acetaminophen / butalbital / Caffeine / Codeine" + }, + { + "code": "689582", + "display": "Acetaminophen / Chlorpheniramine / Dextromethorphan / Pseudoephedrine" + }, + { + "code": "689606", + "display": "Atropine / Hyoscyamine / Phenobarbital / Scopolamine" + }, + { + "code": "689623", + "display": "Bacitracin / Hydrocortisone / Neomycin / Polymyxin B" + }, + { + "code": "690077", + "display": "Benzalkonium / Lidocaine" + }, + { + "code": "6901", + "display": "Methylphenidate" + }, + { + "code": "6902", + "display": "Methylprednisolone" + }, + { + "code": "690693", + "display": "Diphenhydramine / Phenylephrine" + }, + { + "code": "690808", + "display": "Brompheniramine / Dextromethorphan / Pseudoephedrine" + }, + { + "code": "69120", + "display": "tiotropium" + }, + { + "code": "6915", + "display": "Metoclopramide" + }, + { + "code": "6916", + "display": "Metolazone" + }, + { + "code": "6918", + "display": "Metoprolol" + }, + { + "code": "6922", + "display": "Metronidazole" + }, + { + "code": "692572", + "display": "Bacitracin / Neomycin / Polymyxin B" + }, + { + "code": "692794", + "display": "Gramicidin / Neomycin / Polymyxin B" + }, + { + "code": "6932", + "display": "Miconazole" + }, + { + "code": "6960", + "display": "Midazolam" + }, + { + "code": "69749", + "display": "valsartan" + }, + { + "code": "6980", + "display": "Minocycline" + }, + { + "code": "6984", + "display": "Minoxidil" + }, + { + "code": "703", + "display": "Amiodarone" + }, + { + "code": "704", + "display": "Amitriptyline" + }, + { + "code": "7052", + "display": "Morphine" + }, + { + "code": "705258", + "display": "Acetaminophen / Dextromethorphan / Doxylamine" + }, + { + "code": "7213", + "display": "Ipratropium" + }, + { + "code": "72143", + "display": "Raloxifene" + }, + { + "code": "72236", + "display": "fosphenytoin" + }, + { + "code": "723", + "display": "Amoxicillin" + }, + { + "code": "72302", + "display": "ropinirole" + }, + { + "code": "7233", + "display": "Nafcillin" + }, + { + "code": "7238", + "display": "Nalbuphine" + }, + { + "code": "7243", + "display": "Naltrexone" + }, + { + "code": "725", + "display": "Amphetamine" + }, + { + "code": "7258", + "display": "Naproxen" + }, + { + "code": "72625", + "display": "duloxetine" + }, + { + "code": "7299", + "display": "Neomycin" + }, + { + "code": "73056", + "display": "Risedronate" + }, + { + "code": "733", + "display": "Ampicillin" + }, + { + "code": "73494", + "display": "telmisartan" + }, + { + "code": "73645", + "display": "valacyclovir" + }, + { + "code": "7393", + "display": "Niacin" + }, + { + "code": "7407", + "display": "Nicotine" + }, + { + "code": "74169", + "display": "Piperacillin / tazobactam" + }, + { + "code": "7417", + "display": "Nifedipine" + }, + { + "code": "7454", + "display": "Nitrofurantoin" + }, + { + "code": "746741", + "display": "Pramipexole" + }, + { + "code": "7486", + "display": "Nitrous Oxide" + }, + { + "code": "7517", + "display": "Norfloxacin" + }, + { + "code": "7531", + "display": "Nortriptyline" + }, + { + "code": "7597", + "display": "Nystatin" + }, + { + "code": "7623", + "display": "Ofloxacin" + }, + { + "code": "7646", + "display": "Omeprazole" + }, + { + "code": "7676", + "display": "Opium" + }, + { + "code": "7715", + "display": "Orphenadrine" + }, + { + "code": "77492", + "display": "tamsulosin" + }, + { + "code": "7804", + "display": "Oxycodone" + }, + { + "code": "7821", + "display": "Oxytetracycline" + }, + { + "code": "787390", + "display": "tapentadol" + }, + { + "code": "7975", + "display": "Penicillamine" + }, + { + "code": "797541", + "display": "Isopropyl Alcohol" + }, + { + "code": "7980", + "display": "Penicillin G" + }, + { + "code": "7984", + "display": "Penicillin V" + }, + { + "code": "7994", + "display": "Pentamidine" + }, + { + "code": "8001", + "display": "Pentazocine" + }, + { + "code": "8120", + "display": "Phenazopyridine" + }, + { + "code": "8134", + "display": "Phenobarbital" + }, + { + "code": "815166", + "display": "Dextromethorphan / Doxylamine" + }, + { + "code": "8163", + "display": "Phenylephrine" + }, + { + "code": "816346", + "display": "dexlansoprazole" + }, + { + "code": "8175", + "display": "Phenylpropanolamine" + }, + { + "code": "817579", + "display": "Acetaminophen / Codeine" + }, + { + "code": "817958", + "display": "Aspirin / Calcium Carbonate" + }, + { + "code": "8183", + "display": "Phenytoin" + }, + { + "code": "82122", + "display": "Levofloxacin" + }, + { + "code": "822929", + "display": "Amphetamine aspartate / Amphetamine Sulfate / Dextroamphetamine saccharate / Dextroamphetamine Sulfate" + }, + { + "code": "83367", + "display": "atorvastatin" + }, + { + "code": "8356", + "display": "Piroxicam" + }, + { + "code": "83818", + "display": "irbesartan" + }, + { + "code": "84108", + "display": "rosiglitazone" + }, + { + "code": "8536", + "display": "Polymyxin B" + }, + { + "code": "857974", + "display": "saxagliptin" + }, + { + "code": "8588", + "display": "Potassium" + }, + { + "code": "8591", + "display": "Potassium Chloride" + }, + { + "code": "8610", + "display": "Povidone" + }, + { + "code": "8611", + "display": "Povidone-Iodine" + }, + { + "code": "861634", + "display": "pitavastatin" + }, + { + "code": "8629", + "display": "Prazosin" + }, + { + "code": "8638", + "display": "prednisolone" + }, + { + "code": "8640", + "display": "Prednisone" + }, + { + "code": "8687", + "display": "Primaquine" + }, + { + "code": "8691", + "display": "Primidone" + }, + { + "code": "8698", + "display": "Probenecid" + }, + { + "code": "8700", + "display": "Procainamide" + }, + { + "code": "8701", + "display": "Procaine" + }, + { + "code": "8703", + "display": "Fenofibrate" + }, + { + "code": "8704", + "display": "Prochlorperazine" + }, + { + "code": "8727", + "display": "Progesterone" + }, + { + "code": "8745", + "display": "Promethazine" + }, + { + "code": "8754", + "display": "Propafenone" + }, + { + "code": "87636", + "display": "fexofenadine" + }, + { + "code": "8782", + "display": "Propofol" + }, + { + "code": "8785", + "display": "Propoxyphene" + }, + { + "code": "8787", + "display": "Propranolol" + }, + { + "code": "8794", + "display": "Propylthiouracil" + }, + { + "code": "88014", + "display": "rizatriptan" + }, + { + "code": "88249", + "display": "montelukast" + }, + { + "code": "883815", + "display": "Dexamethasone / Tobramycin" + }, + { + "code": "8896", + "display": "Pseudoephedrine" + }, + { + "code": "89013", + "display": "aripiprazole" + }, + { + "code": "8928", + "display": "Psyllium" + }, + { + "code": "8948", + "display": "Purified Protein Derivative of Tuberculin" + }, + { + "code": "90176", + "display": "Iron" + }, + { + "code": "9068", + "display": "Quinidine" + }, + { + "code": "9071", + "display": "Quinine" + }, + { + "code": "91263", + "display": "Aloe Extract" + }, + { + "code": "9143", + "display": "Ranitidine" + }, + { + "code": "9384", + "display": "Rifampin" + }, + { + "code": "9524", + "display": "Sulfasalazine" + }, + { + "code": "9601", + "display": "Scopolamine" + }, + { + "code": "9778", + "display": "Silicones" + }, + { + "code": "9793", + "display": "silver sulfadiazine" + }, + { + "code": "9947", + "display": "Sotalol" + }, + { + "code": "9997", + "display": "Spironolactone" + } + ] + }, + { + "system": "http://snomed.info/sct", + "concept": [ + { + "code": "102259006", + "display": "Citrus fruit (substance)" + }, + { + "code": "102261002", + "display": "Strawberry (substance)" + }, + { + "code": "102262009", + "display": "Chocolate (substance)" + }, + { + "code": "102263004", + "display": "Eggs (edible) (substance)" + }, + { + "code": "102264005", + "display": "Cheese (substance)" + }, + { + "code": "111088007", + "display": "Latex (substance)" + }, + { + "code": "111151007", + "display": "Anabolic steroid (substance)" + }, + { + "code": "11526002", + "display": "Aspartame (substance)" + }, + { + "code": "116274004", + "display": "Artificial sweetener (substance)" + }, + { + "code": "116566001", + "display": "Steroid (substance)" + }, + { + "code": "13577000", + "display": "Nut (substance)" + }, + { + "code": "14443002", + "display": "Substance with aminoglycoside structure and antibacterial mechanism of action (substance)" + }, + { + "code": "226723006", + "display": "Buckwheat - cereal (substance)" + }, + { + "code": "226734009", + "display": "Wheatgerm (substance)" + }, + { + "code": "226760005", + "display": "Dairy foods (substance)" + }, + { + "code": "226915003", + "display": "Red meat (substance)" + }, + { + "code": "226916002", + "display": "Beef (substance)" + }, + { + "code": "226934003", + "display": "Pork (substance)" + }, + { + "code": "226955001", + "display": "Chicken - meat (substance)" + }, + { + "code": "226967004", + "display": "Turkey - meat (substance)" + }, + { + "code": "227144008", + "display": "Tuna fish (substance)" + }, + { + "code": "227151004", + "display": "Prawns (substance)" + }, + { + "code": "227208008", + "display": "Abalone canned in brine (substance)" + }, + { + "code": "227219006", + "display": "Aubergine (substance)" + }, + { + "code": "227313005", + "display": "Pulse vegetables (substance)" + }, + { + "code": "227388008", + "display": "Cinnamon (substance)" + }, + { + "code": "227400003", + "display": "Ginger (substance)" + }, + { + "code": "227421003", + "display": "Cranberries (substance)" + }, + { + "code": "227444000", + "display": "Raspberries (substance)" + }, + { + "code": "227493005", + "display": "Cashew nut (substance)" + }, + { + "code": "227512001", + "display": "Pistachio nut (substance)" + }, + { + "code": "227598003", + "display": "Honey (substance)" + }, + { + "code": "228102000", + "display": "Sodium nitrate (substance)" + }, + { + "code": "255632006", + "display": "Anticonvulsant (substance)" + }, + { + "code": "255637000", + "display": "Salicylate (substance)" + }, + { + "code": "255641001", + "display": "Caffeine (substance)" + }, + { + "code": "256259004", + "display": "Pollen (substance)" + }, + { + "code": "256277009", + "display": "Grass pollen (substance)" + }, + { + "code": "256306003", + "display": "Orange - fruit (substance)" + }, + { + "code": "256307007", + "display": "Banana (substance)" + }, + { + "code": "256313003", + "display": "Pineapple (substance)" + }, + { + "code": "256315005", + "display": "Grapefruit (substance)" + }, + { + "code": "256317002", + "display": "Grapes (substance)" + }, + { + "code": "256319004", + "display": "Carrot (substance)" + }, + { + "code": "256326004", + "display": "Celery (substance)" + }, + { + "code": "256329006", + "display": "Spinach (substance)" + }, + { + "code": "256350002", + "display": "Almond (substance)" + }, + { + "code": "256351003", + "display": "Brazil nut (substance)" + }, + { + "code": "256352005", + "display": "Walnut - nut (substance)" + }, + { + "code": "256353000", + "display": "Hazelnut (substance)" + }, + { + "code": "256354006", + "display": "Bean (substance)" + }, + { + "code": "256417003", + "display": "Horse dander (substance)" + }, + { + "code": "256440004", + "display": "Wasp venom (substance)" + }, + { + "code": "259858000", + "display": "Varicella-zoster virus antibody (substance)" + }, + { + "code": "260152009", + "display": "Cat dander (substance)" + }, + { + "code": "260154005", + "display": "Dog dander (substance)" + }, + { + "code": "260167008", + "display": "Sesame seed (substance)" + }, + { + "code": "260176001", + "display": "Kiwi fruit (substance)" + }, + { + "code": "260177005", + "display": "Melon (substance)" + }, + { + "code": "260179008", + "display": "Mango fruit (substance)" + }, + { + "code": "260184002", + "display": "Peas (substance)" + }, + { + "code": "260189007", + "display": "Pecan nut (substance)" + }, + { + "code": "260205009", + "display": "Sunflower seed (substance)" + }, + { + "code": "264287008", + "display": "Animal dander (substance)" + }, + { + "code": "264337003", + "display": "Seed (substance)" + }, + { + "code": "28230009", + "display": "Poultry (substance)" + }, + { + "code": "288328004", + "display": "Bee venom (substance)" + }, + { + "code": "28942008", + "display": "Coconut oil (substance)" + }, + { + "code": "29263009", + "display": "Coffee (substance)" + }, + { + "code": "304275008", + "display": "Corticosteroid and corticosteroid derivative (substance)" + }, + { + "code": "33008008", + "display": "Dust (substance)" + }, + { + "code": "350327004", + "display": "Diphtheria + tetanus vaccine (product)" + }, + { + "code": "35748005", + "display": "Wine (substance)" + }, + { + "code": "360201004", + "display": "Nitrofuran derivative (substance)" + }, + { + "code": "3692009", + "display": "Sodium sulfite (substance)" + }, + { + "code": "372480009", + "display": "Substance with macrolide structure and antibacterial mechanism of action (substance)" + }, + { + "code": "372664007", + "display": "Benzodiazepine (substance)" + }, + { + "code": "372665008", + "display": "Non-steroidal anti-inflammatory agent (substance)" + }, + { + "code": "372711004", + "display": "Sulfonylurea (substance)" + }, + { + "code": "372722000", + "display": "Substance with quinolone structure and antibacterial mechanism of action (substance)" + }, + { + "code": "372733002", + "display": "Substance with angiotensin-converting enzyme inhibitor mechanism of action (substance)" + }, + { + "code": "372747003", + "display": "Thiazide diuretic (substance)" + }, + { + "code": "372783007", + "display": "Antiparkinsonian agent (substance)" + }, + { + "code": "372798009", + "display": "Barbiturate (substance)" + }, + { + "code": "372806008", + "display": "Substance with histamine receptor antagonist mechanism of action (substance)" + }, + { + "code": "372889003", + "display": "First generation cephalosporin (substance)" + }, + { + "code": "372912004", + "display": "Substance with 3-hydroxy-3-methylglutaryl-coenzyme A reductase inhibitor mechanism of action (substance)" + }, + { + "code": "372913009", + "display": "Substance with angiotensin II receptor antagonist mechanism of action (substance)" + }, + { + "code": "373206009", + "display": "Substance with tetracycline structure and antibacterial mechanism of action (substance)" + }, + { + "code": "373253007", + "display": "Tricyclic antidepressant (substance)" + }, + { + "code": "373254001", + "display": "Substance with beta adrenergic receptor antagonist mechanism of action (substance)" + }, + { + "code": "373262009", + "display": "Substance with cephalosporin structure and antibacterial mechanism of action (substance)" + }, + { + "code": "373270004", + "display": "Substance with penicillin structure and antibacterial mechanism of action (substance)" + }, + { + "code": "373297006", + "display": "Substance with beta-lactam structure and antibacterial mechanism of action (substance)" + }, + { + "code": "373304005", + "display": "Substance with calcium channel blocker mechanism of action (substance)" + }, + { + "code": "373531009", + "display": "Gelatin (substance)" + }, + { + "code": "385420005", + "display": "Contrast media (substance)" + }, + { + "code": "386127005", + "display": "Formula milk (substance)" + }, + { + "code": "386962001", + "display": "Plasma protein fraction (substance)" + }, + { + "code": "387050005", + "display": "Substance with prostaglandin-endoperoxide synthase isoform 2 inhibitor mechanism of action (substance)" + }, + { + "code": "387406002", + "display": "Sulfonamide (substance)" + }, + { + "code": "391737006", + "display": "Almond oil (substance)" + }, + { + "code": "391739009", + "display": "Aloe (substance)" + }, + { + "code": "396345004", + "display": "Carbapenem (substance)" + }, + { + "code": "396420001", + "display": "Anthrax vaccine (substance)" + }, + { + "code": "396425006", + "display": "Influenza virus vaccine (substance)" + }, + { + "code": "396433007", + "display": "Pertussis vaccine (substance)" + }, + { + "code": "396439006", + "display": "Smallpox vaccine (substance)" + }, + { + "code": "396441007", + "display": "Typhoid vaccine (substance)" + }, + { + "code": "396442000", + "display": "Varicella virus vaccine (substance)" + }, + { + "code": "398730001", + "display": "Pneumococcal vaccine (substance)" + }, + { + "code": "400872007", + "display": "Hydrocolloid (substance)" + }, + { + "code": "404642006", + "display": "Substance with opioid receptor agonist mechanism of action (substance)" + }, + { + "code": "406748003", + "display": "Carbamate (substance)" + }, + { + "code": "409137002", + "display": "No known drug allergy (situation)" + }, + { + "code": "412061001", + "display": "Blueberries (substance)" + }, + { + "code": "412062008", + "display": "Cantaloupe (substance)" + }, + { + "code": "412066006", + "display": "Pepper (substance)" + }, + { + "code": "412068007", + "display": "Rye (substance)" + }, + { + "code": "412071004", + "display": "Wheat (substance)" + }, + { + "code": "412138001", + "display": "Horse serum protein (substance)" + }, + { + "code": "412357001", + "display": "Corn (substance)" + }, + { + "code": "412373007", + "display": "Diphtheria + pertussis + tetanus + Haemophilus influenzae type b vaccine (product)" + }, + { + "code": "412375000", + "display": "Tetanus vaccine (substance)" + }, + { + "code": "412533000", + "display": "Wheat bran (substance)" + }, + { + "code": "412534006", + "display": "Yeast (substance)" + }, + { + "code": "412583005", + "display": "Bee pollen (substance)" + }, + { + "code": "41598000", + "display": "Estrogen (substance)" + }, + { + "code": "417889008", + "display": "Arachis oil (substance)" + }, + { + "code": "418000008", + "display": "Methadone analog (substance)" + }, + { + "code": "418504009", + "display": "Oats (substance)" + }, + { + "code": "418920007", + "display": "Adhesive agent (substance)" + }, + { + "code": "419420009", + "display": "Watermelon (substance)" + }, + { + "code": "419933005", + "display": "Glucocorticoid (substance)" + }, + { + "code": "421245007", + "display": "Diphtheria + pertussis + tetanus vaccine (product)" + }, + { + "code": "424369009", + "display": "Product containing beta-galactosidase (medicinal product)" + }, + { + "code": "426722004", + "display": "Iodinated contrast media (substance)" + }, + { + "code": "428607008", + "display": "No known environmental allergy (situation)" + }, + { + "code": "429625007", + "display": "No known food allergy (situation)" + }, + { + "code": "43735007", + "display": "Sulfur (substance)" + }, + { + "code": "43921001", + "display": "Nickel compound (substance)" + }, + { + "code": "44027008", + "display": "Seafood (substance)" + }, + { + "code": "442381000124103", + "display": "Blue food coloring (substance)" + }, + { + "code": "442571000124108", + "display": "Tree nut (substance)" + }, + { + "code": "442771000124102", + "display": "Pepperoni (substance)" + }, + { + "code": "44588005", + "display": "Iodine (substance)" + }, + { + "code": "446273004", + "display": "Red food coloring (substance)" + }, + { + "code": "446274005", + "display": "Yellow food coloring (substance)" + }, + { + "code": "47703008", + "display": "Lactose (substance)" + }, + { + "code": "51386004", + "display": "Food preservative (substance)" + }, + { + "code": "51905005", + "display": "Mustard (substance)" + }, + { + "code": "53041004", + "display": "Alcohol (substance)" + }, + { + "code": "61789006", + "display": "Dye (substance)" + }, + { + "code": "63045006", + "display": "Berry (substance)" + }, + { + "code": "67324005", + "display": "Rice (substance)" + }, + { + "code": "67866001", + "display": "Insulin (substance)" + }, + { + "code": "70813002", + "display": "Milk (substance)" + }, + { + "code": "710179004", + "display": "Lupine seed (substance)" + }, + { + "code": "716184000", + "display": "No known latex allergy (situation)" + }, + { + "code": "716186003", + "display": "No known allergy (situation)" + }, + { + "code": "720687003", + "display": "Dust mite protein (substance)" + }, + { + "code": "72511004", + "display": "Fruit (substance)" + }, + { + "code": "726730005", + "display": "Yam (substance)" + }, + { + "code": "734881000", + "display": "Tomato (substance)" + }, + { + "code": "735006003", + "display": "Squid (substance)" + }, + { + "code": "735009005", + "display": "Salmon (substance)" + }, + { + "code": "735029006", + "display": "Shellfish (substance)" + }, + { + "code": "735030001", + "display": "Garlic (substance)" + }, + { + "code": "735043001", + "display": "Mackerel (substance)" + }, + { + "code": "735045008", + "display": "Mushroom (substance)" + }, + { + "code": "735047000", + "display": "Onion (substance)" + }, + { + "code": "735049002", + "display": "Peach (substance)" + }, + { + "code": "735050002", + "display": "Pear (substance)" + }, + { + "code": "735051003", + "display": "Plum (substance)" + }, + { + "code": "735053000", + "display": "Potato (substance)" + }, + { + "code": "735123009", + "display": "Broccoli (substance)" + }, + { + "code": "735124003", + "display": "Barley (substance)" + }, + { + "code": "735211005", + "display": "Coconut (substance)" + }, + { + "code": "735212003", + "display": "Papaya (substance)" + }, + { + "code": "735213008", + "display": "Cucumber (substance)" + }, + { + "code": "735214002", + "display": "Apricot (substance)" + }, + { + "code": "735215001", + "display": "Apple (substance)" + }, + { + "code": "735248001", + "display": "Cherry (substance)" + }, + { + "code": "735249009", + "display": "Avocado (substance)" + }, + { + "code": "735340006", + "display": "Lemon (substance)" + }, + { + "code": "735959004", + "display": "Marine mollusk (substance)" + }, + { + "code": "735971005", + "display": "Fish (substance)" + }, + { + "code": "735977009", + "display": "Marine crustacean (substance)" + }, + { + "code": "736027000", + "display": "Scallop (substance)" + }, + { + "code": "736030007", + "display": "Clam (substance)" + }, + { + "code": "736031006", + "display": "Oyster (substance)" + }, + { + "code": "736159005", + "display": "Crab (substance)" + }, + { + "code": "736162008", + "display": "Lobster (substance)" + }, + { + "code": "74801000", + "display": "Sugar (substance)" + }, + { + "code": "75665004", + "display": "Monosodium glutamate (substance)" + }, + { + "code": "762952008", + "display": "Peanut (substance)" + }, + { + "code": "7791007", + "display": "Soy protein (substance)" + }, + { + "code": "80259003", + "display": "Food flavoring agent (substance)" + }, + { + "code": "84489001", + "display": "Mold (organism)" + }, + { + "code": "89119000", + "display": "Nitrate salt (substance)" + }, + { + "code": "89707004", + "display": "Sesame oil (substance)" + }, + { + "code": "89811004", + "display": "Gluten (substance)" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-careteam-provider-roles.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-careteam-provider-roles.json new file mode 100644 index 000000000..2ba4f8b2f --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-careteam-provider-roles.json @@ -0,0 +1,66 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-careteam-provider-roles", + "text": { + "status": "generated", + "div": "

US Core CareTeam Provider Roles

Provider roles codes consist of NUCC Health Care Provider Taxonomy Code Set for providers and SNOMED-CT for - non clinical and organization roles including codes from the SCTID 223366009 Healthcare professional (occupation) heirarchy and the SCTID 224930009 Services (qualifier value) heirarchy.

\n

Copyright Statement: This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement. This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained.

This value set includes codes from the following code systems:

  • Include all codes defined in http://nucc.org/provider-taxonomy
  • Include codes from http://snomed.info/sct where concept is-a 223366009 (Healthcare professional)
  • Include codes from http://snomed.info/sct where concept is-a 224930009 (Services)
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-careteam-provider-roles", + "version": "3.1.0", + "name": "USCoreCareTeamProviderRoles", + "title": "US Core CareTeam Provider Roles", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "Provider roles codes consist of NUCC Health Care Provider Taxonomy Code Set for providers and SNOMED-CT for - non clinical and organization roles including codes from the SCTID 223366009 Healthcare professional (occupation) heirarchy and the SCTID 224930009 Services (qualifier value) heirarchy.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "purpose": "Codes that may be used for implementation of the Argonaut Procedures IG and MU2015 certification.", + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement. This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained.", + "compose": { + "include": [ + { + "system": "http://nucc.org/provider-taxonomy" + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "223366009" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "224930009" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-clinical-note-type.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-clinical-note-type.json new file mode 100644 index 000000000..50f8dc48f --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-clinical-note-type.json @@ -0,0 +1,62 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-clinical-note-type", + "text": { + "status": "generated", + "div": "

US Core Clinical Note Type

The US Core Clinical Note Type Value Set is a 'starter set' of types supported for fetching and storing clinical notes.

\n

Copyright Statement: This content LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-note-type", + "version": "3.1.0", + "name": "USCoreClinicalNoteType", + "title": "US Core Clinical Note Type", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "The US Core Clinical Note Type Value Set is a 'starter set' of types supported for fetching and storing clinical notes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": " This content LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use", + "compose": { + "include": [ + { + "system": "http://loinc.org", + "concept": [ + { + "code": "18842-5" + }, + { + "code": "11488-4" + }, + { + "code": "34117-2" + }, + { + "code": "11506-3" + }, + { + "code": "28570-0" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-condition-category.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-condition-category.json new file mode 100644 index 000000000..027c981b2 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-condition-category.json @@ -0,0 +1,44 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-condition-category", + "text": { + "status": "generated", + "div": "

US Core Condition Category Codes

The US Core Condition Category Codes support the separate concepts of problems and health concerns in Condition.category in order for API consumers to be able to separate health concerns and problems. However this is not mandatory for 2015 certification

\n

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category", + "version": "3.1.0", + "name": "USCoreConditionCategoryCodes", + "title": "US Core Condition Category Codes", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "The US Core Condition Category Codes support the separate concepts of problems and health concerns in Condition.category in order for API consumers to be able to separate health concerns and problems. However this is not mandatory for 2015 certification", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "purpose": "So API consumers can separate health concerns and problems.", + "compose": { + "include": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category" + }, + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/condition-category", + "concept": [ + { + "code": "health-concern", + "display": "Health Concern" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-condition-code.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-condition-code.json new file mode 100644 index 000000000..46f97ad24 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-condition-code.json @@ -0,0 +1,76 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-condition-code", + "text": { + "status": "generated", + "div": "

US Core Condition Code

This describes the problem. Diagnosis/Problem List is broadly defined as a series of brief statements that catalog a patient's medical, nursing, dental, social, preventative and psychiatric events and issues that are relevant to that patient's healthcare (e.g., signs, symptoms, and defined conditions). ICD-10 is appropriate for Diagnosis information, and ICD-9 for historical information.

\n

Copyright Statement: This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement. ICD-9 and ICD-10 are copyrighted by the World Health Organization (WHO) which owns and publishes the classification. See https://www.who.int/classifications/icd/en. WHO has authorized the development of an adaptation of ICD-9 and ICD-10 to ICD-9-CM to ICD-10-CM for use in the United States for U.S. government purposes.

This value set includes codes from the following code systems:

  • Include these codes as defined in http://snomed.info/sct
    CodeDisplay
    160245001No current problems or disability
  • Include codes from http://snomed.info/sct where concept is-a 404684003 (Clinical finding (finding))
  • Include codes from http://snomed.info/sct where concept is-a 243796009 (Context-dependent category)
  • Include all codes defined in http://hl7.org/fhir/sid/icd-10-cm
  • Include all codes defined in http://hl7.org/fhir/sid/icd-9-cm
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code", + "version": "3.1.0", + "name": "USCoreConditionCode", + "title": "US Core Condition Code", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This describes the problem. Diagnosis/Problem List is broadly defined as a series of brief statements that catalog a patient's medical, nursing, dental, social, preventative and psychiatric events and issues that are relevant to that patient's healthcare (e.g., signs, symptoms, and defined conditions). ICD-10 is appropriate for Diagnosis information, and ICD-9 for historical information.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement. ICD-9 and ICD-10 are copyrighted by the World Health Organization (WHO) which owns and publishes the classification. See https://www.who.int/classifications/icd/en. WHO has authorized the development of an adaptation of ICD-9 and ICD-10 to ICD-9-CM to ICD-10-CM for use in the United States for U.S. government purposes. ", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "concept": [ + { + "code": "160245001" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "404684003" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "243796009" + } + ] + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-diagnosticreport-category.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-diagnosticreport-category.json new file mode 100644 index 000000000..761e226ff --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-diagnosticreport-category.json @@ -0,0 +1,48 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-diagnosticreport-category", + "text": { + "status": "generated", + "div": "

US Core DiagnosticReport Category

The US Core Diagnostic Report Category Value Set is a 'starter set' of categories supported for fetching and Diagnostic Reports and notes.

\n

Copyright Statement: This content LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-category", + "version": "3.1.0", + "name": "USCoreDiagnosticReportCategory", + "title": "US Core DiagnosticReport Category", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "description": "The US Core Diagnostic Report Category Value Set is a 'starter set' of categories supported for fetching and Diagnostic Reports and notes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": " This content LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use", + "compose": { + "include": [ + { + "system": "http://loinc.org", + "concept": [ + { + "code": "LP29684-5", + "display": "Radiology" + }, + { + "code": "LP29708-2", + "display": "Cardiology" + }, + { + "code": "LP7839-6", + "display": "Pathology" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-diagnosticreport-lab-codes.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-diagnosticreport-lab-codes.json new file mode 100644 index 000000000..97dec8614 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-diagnosticreport-lab-codes.json @@ -0,0 +1,52 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-diagnosticreport-lab-codes", + "text": { + "status": "generated", + "div": "

US Core Diagnostic Report Laboratory Codes

The Document Type value set includes all LOINC values whose CLASSTYPE is LABORATORY in the LOINC database

\n

Copyright Statement: This content from LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use.

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-lab-codes", + "version": "3.1.0", + "name": "USCoreDiagnosticReportLabCodes", + "title": "US Core Diagnostic Report Laboratory Codes", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "The Document Type value set includes all LOINC values whose CLASSTYPE is LABORATORY in the LOINC database", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This content from LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use.", + "compose": { + "include": [ + { + "system": "http://loinc.org", + "filter": [ + { + "property": "CLASSTYPE", + "op": "=", + "value": "1" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-diagnosticreport-report-and-note-codes.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-diagnosticreport-report-and-note-codes.json new file mode 100644 index 000000000..46ad220bc --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-diagnosticreport-report-and-note-codes.json @@ -0,0 +1,46 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-diagnosticreport-report-and-note-codes", + "text": { + "status": "generated", + "div": "

US Core Diagnosticreport Report And Note Codes

This value set currently contains all of LOINC. The codes selected should represent discrete and narrative diagnostic observations and reports

\n

Copyright Statement: This content from LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use.

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-report-and-note-codes", + "version": "3.1.0", + "name": "USCoreDiagnosticreportReportAndNoteCodes", + "title": "US Core Diagnosticreport Report And Note Codes", + "status": "active", + "experimental": false, + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This value set currently contains all of LOINC. The codes selected should represent discrete and narrative diagnostic observations and reports", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This content from LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use.", + "compose": { + "include": [ + { + "system": "http://loinc.org" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-documentreference-category.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-documentreference-category.json new file mode 100644 index 000000000..4e15eac92 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-documentreference-category.json @@ -0,0 +1,44 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-documentreference-category", + "text": { + "status": "generated", + "div": "

US Core DocumentReference Category

The US Core DocumentReferences Category Value Set is a 'starter set' of categories supported for fetching and storing clinical notes.

\n

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category", + "version": "3.1.0", + "name": "USCoreDocumentReferenceCategory", + "title": "US Core DocumentReference Category", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "The US Core DocumentReferences Category Value Set is a 'starter set' of categories supported for fetching and storing clinical notes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-documentreference-type.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-documentreference-type.json new file mode 100644 index 000000000..b9803cdaf --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-documentreference-type.json @@ -0,0 +1,61 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-documentreference-type", + "text": { + "status": "generated", + "div": "

US Core DocumentReference Type

The US Core DocumentReference Type Value Set includes all LOINC values whose SCALE is DOC in the LOINC database and the HL7 v3 Code System NullFlavor concept 'unknown'

\n

Copyright Statement: This content from LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use.

This value set includes codes from the following code systems:

  • Include these codes as defined in http://terminology.hl7.org/CodeSystem/v3-NullFlavor
    CodeDisplay
    UNKunknownDescription:A proper value is applicable, but not known.
    \n \n Usage Notes: This means the actual value is not known. If the only thing that is unknown is how to properly express the value in the necessary constraints (value set, datatype, etc.), then the OTH or UNC flavor should be used. No properties should be included for a datatype with this property unless:
    \n \n Those properties themselves directly translate to a semantic of "unknown". (E.g. a local code sent as a translation that conveys 'unknown')\n Those properties further qualify the nature of what is unknown. (E.g. specifying a use code of "H" and a URL prefix of "tel:" to convey that it is the home phone number that is unknown.)
  • Include codes from http://loinc.org where SCALE_TYP = DOC
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type", + "version": "3.1.0", + "name": "USCoreDocumentReferenceType", + "title": "US Core DocumentReference Type", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "The US Core DocumentReference Type Value Set includes all LOINC values whose SCALE is DOC in the LOINC database and the HL7 v3 Code System NullFlavor concept 'unknown'", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This content from LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use.", + "compose": { + "include": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor", + "concept": [ + { + "code": "UNK", + "display": "unknown" + } + ] + }, + { + "system": "http://loinc.org", + "filter": [ + { + "property": "SCALE_TYP", + "op": "=", + "value": "DOC" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-encounter-type.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-encounter-type.json new file mode 100644 index 000000000..7fec0f893 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-encounter-type.json @@ -0,0 +1,61 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-encounter-type", + "text": { + "status": "generated", + "div": "

US Core Encounter Type

The type of encounter: a specific code indicating type of service provided. This value set includes codes from SNOMED CT decending from the concept 308335008 (Patient encounter procedure (procedure)) and from the Current Procedure and Terminology(CPT) designated for Evaluation and Management (99200 – 99607) (subscription to AMA Required)

\n

Copyright Statement: This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement. This value set includes content from CPT copyright 2014 American Medical Association. All rights reserved.

This value set includes codes from the following code systems:

  • Include codes from http://snomed.info/sct where concept is-a 308335008 (Patient encounter procedure)
  • Include all codes defined in http://www.ama-assn.org/go/cpt
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-encounter-type", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.3.88.12.80.32" + } + ], + "version": "3.1.0", + "name": "USCoreEncounterType", + "title": "US Core Encounter Type", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "The type of encounter: a specific code indicating type of service provided. This value set includes codes from SNOMED CT decending from the concept 308335008 (Patient encounter procedure (procedure)) and from the Current Procedure and Terminology(CPT) designated for Evaluation and Management (99200 – 99607) (subscription to AMA Required)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement. This value set includes content from CPT copyright 2014 American Medical Association. All rights reserved.", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "308335008" + } + ] + }, + { + "system": "http://www.ama-assn.org/go/cpt" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-medication-codes.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-medication-codes.json new file mode 100644 index 000000000..8f6b17afd --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-medication-codes.json @@ -0,0 +1,57 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-medication-codes", + "text": { + "status": "generated", + "div": "
\n\t\t\t

Medication Clinical Drug (RxNorm)

\n\t\t\t

All prescribable medication formulations represented using either a 'generic' or 'brand-specific' concept. This includes RxNorm codes whose Term Type is SCD (semantic clinical drug), SBD (semantic brand drug), GPCK (generic pack), BPCK (brand pack), SCDG (semantic clinical drug group), SBDG (semantic brand drug group), SCDF (semantic clinical drug form), or SBDF (semantic brand drug form)

\n\t\t\t

This value set includes codes from the following code systems:

\n\t\t\t
    \n\t\t\t\t
  • Include codes from http://www.nlm.nih.gov/research/umls/rxnorm where TTY in SCD,SBD,GPCK,BPCK,SCDG,SBDG,SCDF,SBDF
  • \n\t\t\t
\n\t\t
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113762.1.4.1010.4" + } + ], + "version": "3.1.0", + "name": "USCoreMedicationCodes", + "title": "US Core Medication Codes (RxNorm)", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "All prescribable medication formulations represented using either a 'generic' or 'brand-specific' concept. This includes RxNorm codes whose Term Type is SCD (semantic clinical drug), SBD (semantic brand drug), GPCK (generic pack), BPCK (brand pack), SCDG (semantic clinical drug group), SBDG (semantic brand drug group), SCDF (semantic clinical drug form), or SBDF (semantic brand drug form)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "filter": [ + { + "property": "TTY", + "op": "in", + "value": "SCD,SBD,GPCK,BPCK,SCDG,SBDG,SCDF,SBDF" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-narrative-status.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-narrative-status.json new file mode 100644 index 000000000..3ab84c165 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-narrative-status.json @@ -0,0 +1,55 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-narrative-status", + "text": { + "status": "generated", + "div": "

US Core Narrative Status

The US Core Narrative Status Value Set limits the text status for the resource narrative.

\n

Copyright Statement: HL7

This value set includes codes from the following code systems:

  • Include these codes as defined in http://hl7.org/fhir/narrative-status
    CodeDisplay
    additionaladditionalThe contents of the narrative may contain additional information not found in the structured data. Note that there is no computable way to determine what the extra information is, other than by human inspection.
    generatedgeneratedThe contents of the narrative are entirely generated from the core elements in the content.
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-narrative-status", + "version": "3.1.0", + "name": "NarrativeStatus", + "title": "US Core Narrative Status", + "status": "active", + "date": "2019-11-06T12:37:38+11:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "The US Core Narrative Status Value Set limits the text status for the resource narrative.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "HL7", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/narrative-status", + "concept": [ + { + "code": "additional", + "display": "additional" + }, + { + "code": "generated", + "display": "generated" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-ndc-vaccine-codes.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-ndc-vaccine-codes.json new file mode 100644 index 000000000..f4751fbe8 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-ndc-vaccine-codes.json @@ -0,0 +1,1297 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-ndc-vaccine-codes", + "text": { + "status": "generated", + "div": "

US Core Vaccine National Drug Codes (NDC)

This value set includes all the Vaccine National Drug Codes (NDC). This source of this data is provided by the CDC

\n

This value set includes codes from the following code systems:

  • Include these codes as defined in http://hl7.org/fhir/sid/ndc
    CodeDisplay
    49281-0703-55FLUZONE INTRADERMAL
    49281-0790-20Typhim Vi
    33332-0316-01AFLURIA QUADRIVALENT
    49281-0712-40FLUZONE INTRADERMAL QUADRIVALENT
    66521-0112-02Fluvirin
    58160-0816-05Hiberix
    00006-4837-02PNEUMOVAX 23
    58160-0808-15Influenza A (H5N1) Monovalent Vaccine, Adjuvanted
    58160-0842-51BOOSTRIX
    49281-0418-50FLUZONE QUADRIVALENT
    00006-4943-00PNEUMOVAX 23
    49281-0708-40FLUZONE INTRADERMAL QUADRIVALENT
    54868-0734-00ENGERIX-B
    58160-0819-12Shingrix
    49281-0517-25FLUZONE QUADRIVALENT
    00006-4133-41Tetanus and Diphtheria Toxoids Adsorbed
    50090-3096-00RabAvert
    33332-0118-10AFLURIA
    19515-0909-52Flulaval Quadrivalent
    49281-0650-10INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE
    58160-0820-11ENGERIX-B
    42515-0001-01IXIARO
    49281-0625-15FLUZONE QUADRIVALENT
    49281-0516-25FLUZONE QUADRIVALENT
    66521-0114-02FLUVIRIN
    19515-0896-11Flulaval Quadrivalent
    33332-0117-10AFLURIA
    33332-0416-10AFLURIA QUADRIVALENT
    66521-0118-02Fluvirin
    58160-0821-11ENGERIX-B
    00005-1971-05PREVNAR 13
    66019-0109-10FLUMIST
    49281-0278-10DIPHTHERIA AND TETANUS TOXOIDS ADSORBED
    49281-0011-10FLUZONE
    54868-2219-00RECOMBIVAX HB
    49281-0415-10FLUZONE QUADRIVALENT
    33332-0016-01AFLURIA
    49281-0705-55FLUZONE
    49281-0621-15FLUZONE QUADRIVALENT
    58160-0842-34BOOSTRIX
    49281-0010-10FLUZONE
    66521-0113-02FLUVIRIN
    49281-0514-25FLUZONE QUADRIVALENT
    58160-0842-52BOOSTRIX
    19515-0901-52Flulaval Quadrivalent
    62577-0613-01Flucelvax
    66019-0303-10FluMist Quadrivalent
    49281-0388-15FLUZONE
    00006-4841-41VAQTA
    58160-0900-52FLUARIX QUADRIVALENT
    70461-0200-01FLUCELVAX QUADRIVALENT
    49281-0915-05YF-VAX
    49281-0650-50INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE
    33332-0116-10AFLURIA
    54868-3339-01PNEUMOVAX 23
    49281-0418-10FLUZONE QUADRIVALENT
    58160-0812-52KINRIX
    49281-0286-05DAPTACEL
    63851-0612-01Flucelvax
    19515-0908-52Flulaval Quadrivalent
    54868-0980-00M-M-R II
    58160-0830-52CERVARIX
    49281-0113-25FLUZONE
    49281-0650-70INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE
    66521-0115-10FLUVIRIN
    49281-0417-50FLUZONE QUADRIVALENT
    33332-0113-10AFLURIA
    49281-0629-15FLUZONE QUADRIVALENT
    58160-0823-11Shingrix
    00006-4897-00PedvaxHIB
    58160-0821-34ENGERIX-B
    66521-0115-02FLUVIRIN
    33332-0014-01AFLURIA
    49281-0562-10QUADRACEL
    42874-0014-10Flublok
    42874-0013-10Flublok
    33332-0115-10AFLURIA
    00006-4963-00ZOSTAVAX
    49281-0010-25FLUZONE
    33332-0519-01Influenza A
    58160-0898-52FLUARIX QUADRIVALENT
    49281-0112-25FLUZONE
    19515-0898-11Flulaval Quadrivalent
    00006-4109-09GARDASIL
    49281-0414-50FLUZONE QUADRIVALENT
    00006-4095-09VAQTA
    00006-4045-00GARDASIL
    19515-0912-52Flulaval Quadrivalent
    58160-0801-11Menhibrix
    49281-0489-01MENOMUNE - A/C/Y/W-135 COMBINED
    42874-0017-10Flublok
    66521-0116-02Fluvirin
    46028-0208-01Menveo
    49281-0627-15FLUZONE QUADRIVALENT
    00005-0100-02Trumenba
    69401-0000-01Vivotif
    21695-0413-01Tetanus and Diphtheria Toxoids Adsorbed
    49281-0416-10FLUZONE QUADRIVALENT
    49281-0650-25INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE
    49281-0800-83TETANUS TOXOID ADSORBED
    49281-0291-83DECAVAC
    00006-4095-02VAQTA
    58160-0854-52ROTARIX
    19515-0889-07FLULAVAL
    49281-0392-15FLUZONE
    19515-0891-11Flulaval Quadrivalent
    49281-0400-05Adacel
    49281-0913-01STAMARIL
    49281-0640-15INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE
    49281-0513-25FLUZONE QUADRIVALENT
    00006-4171-00ProQuad
    00006-4096-09VAQTA
    58160-0830-34CERVARIX
    00006-4980-00RECOMBIVAX HB
    17478-0131-01Tetanus and Diphtheria Toxoids Adsorbed
    49281-0414-10FLUZONE QUADRIVALENT
    43528-0002-05HEPLISAV-B
    66521-0200-02Influenza A (H1N1) 2009 Monovalent Vaccine
    49281-0011-50FLUZONE
    70461-0120-10Fluvirin
    66019-0304-10FluMist Quadrivalent
    58160-0976-20Bexsero
    00006-4826-00VARIVAX
    66521-0116-10Fluvirin
    00006-4963-41ZOSTAVAX
    49281-0510-05PENTACEL
    42874-0012-10Flublok
    58160-0955-09Menveo
    00005-0100-05Trumenba
    49281-0707-55FLUZONE
    14362-0111-04Tetanus and Diphtheria Toxoids Adsorbed
    66521-0112-10Fluvirin
    66521-0117-10Fluvirin
    00006-4045-41GARDASIL
    49281-0389-65FLUZONE HIGH DOSE
    69401-0000-02Vivotif
    49281-0915-01YF-VAX
    00006-4093-02RECOMBIVAX HB
    58160-0815-48TWINRIX
    70460-0001-01Vaxchora
    58160-0826-11HAVRIX
    00006-4992-00RECOMBIVAX HB
    49281-0111-25FLUZONE
    00006-4093-09RECOMBIVAX HB
    50090-3469-00HEPLISAV-B
    49281-0403-65FLUZONE High-Dose
    70461-0119-10Fluvirin
    00006-4995-00RECOMBIVAX HB
    58160-0815-34TWINRIX
    49281-0393-65FLUZONE High-Dose
    00005-1970-50Prevnar
    33332-0017-01AFLURIA
    63851-0501-01RabAvert
    58160-0881-52FLUARIX
    64678-0211-01BioThrax
    49281-0394-15FLUZONE
    00006-4827-00VARIVAX
    58160-0806-05HIBERIX
    49281-0518-25FLUZONE QUADRIVALENT
    62195-0051-10Ixiaro
    63361-0245-10VAXELIS
    49281-0709-55FLUZONE Intradermal
    66019-0300-10FluMist Quadrivalent
    49281-0215-15TENIVAC
    58160-0825-52HAVRIX
    00005-0100-10Trumenba
    66521-0117-02Fluvirin
    49281-0650-90INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE
    42874-0015-10Flublok
    33332-0018-01AFLURIA
    00006-4999-00ProQuad
    00005-1971-04PREVNAR 13
    19515-0850-52FLULAVAL
    00005-1971-02PREVNAR 13
    00006-4094-02RECOMBIVAX HB
    00006-4096-02VAQTA
    58160-0825-11HAVRIX
    58160-0811-52PEDIARIX
    42515-0002-01IXIARO
    49281-0013-50FLUZONE
    76420-0483-01Medical Provider Single Use EZ Flu Shot 2013-2014
    66521-0118-10Fluvirin
    49281-0399-65FLUZONE High-Dose
    49281-0396-15FLUZONE
    66019-0107-01FLUMIST
    19515-0890-07FLULAVAL
    76420-0482-01Medical Provider Single Use EZ Flu Shot 2013-2014
    33332-0015-01AFLURIA
    66019-0302-10FluMist Quadrivalent
    49281-0012-10FLUZONE
    49281-0710-40FLUZONE INTRADERMAL QUADRIVALENT
    63851-0501-02RabAvert
    58160-0879-52FLUARIX
    49281-0397-65FLUZONE High-Dose
    00006-4831-41VAQTA
    58160-0815-46TWINRIX
    33332-0110-10AFLURIA
    54868-4320-00PNEUMOVAX 23
    42874-0016-10Flublok
    49281-0012-50FLUZONE
    58160-0818-11Hiberix
    49281-0386-15FLUZONE
    46028-0114-01Bexsero
    00006-4898-00COMVAX
    58160-0826-52HAVRIX
    49281-0545-05ActHIB
    66019-0108-10FLUMIST
    70461-0418-10FLUCELVAX QUADRIVALENT (MULTI-DOSE VIAL)
    00006-4094-09RECOMBIVAX HB
    49281-0298-10TRIPEDIA
    33332-0629-10Influenza A
    58160-0880-52FLUARIX
    00006-4047-20RotaTeq
    00006-4119-02GARDASIL 9
    58160-0842-11BOOSTRIX
    19515-0903-11Flulaval Quadrivalent
    00006-4981-00RECOMBIVAX HB
    58160-0905-52FLUARIX QUADRIVALENT
    49281-0401-65FLUZONE High-Dose
    33332-0114-10AFLURIA
    49281-0860-10IPOL
    70461-0318-03FLUCELVAX QUADRIVALENT (PREFILLED SYRINGE)
    54868-2219-01RECOMBIVAX HB
    49281-0718-10Flublok Quadrivalent
    49281-0400-15Adacel
    70461-0120-02Fluvirin
    49281-0416-50FLUZONE QUADRIVALENT
    49281-0413-50FLUZONE QUADRIVALENT
    58160-0883-52FLUARIX
    49281-0790-51Typhim Vi
    49281-0286-10DAPTACEL
    66019-0110-10FluMist
    46028-0114-02Bexsero
    58160-0821-52ENGERIX-B
    49281-0013-10FLUZONE
    19515-0894-52Flulaval Quadrivalent
    66019-0305-10FluMist Quadrivalent
    49281-0400-10Adacel
    49281-0390-15FLUZONE
    00052-0603-02BCG VACCINE
    51285-0138-50Adenovirus Type 4 and Type 7 Vaccine, Live
    33332-0417-10AFLURIA QUADRIVALENT
    49281-0395-65FLUZONE High-Dose
    66019-0301-10FluMist Quadrivalent
    49281-0215-10TENIVAC
    19515-0895-11Flulaval Quadrivalent
    70461-0201-01FLUCELVAX QUADRIVALENT (PREFILLED SYRINGE)
    58160-0907-52FLUARIX QUADRIVALENT
    55045-3841-01HAVRIX
    50090-2883-00INFANRIX
    49281-0820-10TETANUS TOXOID ADSORBED
    49281-0417-10FLUZONE QUADRIVALENT
    33332-0010-01AFLURIA
    33332-0013-01AFLURIA
    66521-0200-10Influenza A (H1N1) 2009 Monovalent Vaccine
    58160-0976-06Bexsero
    58160-0809-05MENHIBRIX
    00006-4739-00PNEUMOVAX 23
    70461-0018-03FLUAD
    49281-0413-10FLUZONE QUADRIVALENT
    13533-0131-01Tetanus and Diphtheria Toxoids Adsorbed
    58160-0812-11KINRIX
    49281-0391-65FLUZONE High-Dose
    19515-0845-11FLULAVAL
    58160-0811-51PEDIARIX
    58160-0815-52TWINRIX
    70461-0119-02Fluvirin
    58160-0810-52INFANRIX
    62577-0614-01Flucelvax
    42874-0117-10Flublok Quadrivalent
    49281-0489-91MENOMUNE - A/C/Y/W-135 COMBINED
    58160-0964-12RabAvert
    49281-0014-50FLUZONE
    00006-4109-02GARDASIL
    70461-0002-01FLUAD
    49281-0286-01DAPTACEL
    58160-0810-11INFANRIX
    19515-0900-11Flulaval Quadrivalent
    00006-4837-03PNEUMOVAX 23
    66521-0113-10FLUVIRIN
    58160-0826-34HAVRIX
    58160-0903-52FLUARIX QUADRIVALENT
    00006-4841-00VAQTA
    54868-6180-00FLUZONE
    00006-4681-00M-M-R II
    33332-0317-01AFLURIA QUADRIVALENT
    70461-0001-01FLUAD
    49281-0589-05Menactra
    49281-0387-65FLUZONE
    49281-0860-55IPOL
    19515-0893-07FLULAVAL
    33332-0519-25Influenza A
    70461-0301-10FLUCELVAX QUADRIVALENT (MULTI-DOSE VIAL)
    66019-0200-10Influenza A H1N1 Intranasal
    43528-0003-05HEPLISAV-B
    58160-0820-52ENGERIX-B
    66521-0000-01FLUAD
    49281-0250-51IMOVAX RABIES
    49281-0291-10DECAVAC
    33332-0418-10AFLURIA QUADRIVALENT
    00006-4121-02GARDASIL 9
    63851-0613-01FLUCELVAX
    66521-0114-10FLUVIRIN
    00006-4047-41RotaTeq
    58160-0901-52FLUARIX QUADRIVALENT
    33332-0318-01AFLURIA QUADRIVALENT
    00006-4119-03GARDASIL 9
    49281-0225-10DIPHTHERIA AND TETANUS TOXOIDS ADSORBED
    58160-0815-11TWINRIX
    54868-6177-00FLUZONE
    49281-0010-50FLUZONE
    49281-0400-20Adacel
    49281-0545-03ActHIB
    50090-1693-09IPOL
    00006-4995-41RECOMBIVAX HB
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-ndc-vaccine-codes", + "version": "3.1.0", + "name": "USCoreVaccineNationalDrugCode", + "title": "US Core Vaccine National Drug Codes (NDC)", + "status": "active", + "date": "2019-05-21T10:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "This value set includes all the Vaccine National Drug Codes (NDC). This source of this data is provided by the [CDC](https://www2a.cdc.gov/vaccines/iis/iisstandards/ndc_crosswalk.asp)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "purpose": "Codes that are used as translations for CVS code for implementation of the Argonaut Immunization IG and MU2015 certification.", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/sid/ndc", + "concept": [ + { + "code": "49281-0703-55", + "display": "FLUZONE INTRADERMAL" + }, + { + "code": "49281-0790-20", + "display": "Typhim Vi" + }, + { + "code": "33332-0316-01", + "display": "AFLURIA QUADRIVALENT" + }, + { + "code": "49281-0712-40", + "display": "FLUZONE INTRADERMAL QUADRIVALENT" + }, + { + "code": "66521-0112-02", + "display": "Fluvirin" + }, + { + "code": "58160-0816-05", + "display": "Hiberix" + }, + { + "code": "00006-4837-02", + "display": "PNEUMOVAX 23" + }, + { + "code": "58160-0808-15", + "display": "Influenza A (H5N1) Monovalent Vaccine, Adjuvanted" + }, + { + "code": "58160-0842-51", + "display": "BOOSTRIX" + }, + { + "code": "49281-0418-50", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "00006-4943-00", + "display": "PNEUMOVAX 23" + }, + { + "code": "49281-0708-40", + "display": "FLUZONE INTRADERMAL QUADRIVALENT" + }, + { + "code": "54868-0734-00", + "display": "ENGERIX-B" + }, + { + "code": "58160-0819-12", + "display": "Shingrix" + }, + { + "code": "49281-0517-25", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "00006-4133-41", + "display": "Tetanus and Diphtheria Toxoids Adsorbed" + }, + { + "code": "50090-3096-00", + "display": "RabAvert" + }, + { + "code": "33332-0118-10", + "display": "AFLURIA" + }, + { + "code": "19515-0909-52", + "display": "Flulaval Quadrivalent" + }, + { + "code": "49281-0650-10", + "display": "INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE" + }, + { + "code": "58160-0820-11", + "display": "ENGERIX-B" + }, + { + "code": "42515-0001-01", + "display": "IXIARO" + }, + { + "code": "49281-0625-15", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "49281-0516-25", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "66521-0114-02", + "display": "FLUVIRIN" + }, + { + "code": "19515-0896-11", + "display": "Flulaval Quadrivalent" + }, + { + "code": "33332-0117-10", + "display": "AFLURIA" + }, + { + "code": "33332-0416-10", + "display": "AFLURIA QUADRIVALENT" + }, + { + "code": "66521-0118-02", + "display": "Fluvirin" + }, + { + "code": "58160-0821-11", + "display": "ENGERIX-B" + }, + { + "code": "00005-1971-05", + "display": "PREVNAR 13" + }, + { + "code": "66019-0109-10", + "display": "FLUMIST" + }, + { + "code": "49281-0278-10", + "display": "DIPHTHERIA AND TETANUS TOXOIDS ADSORBED" + }, + { + "code": "49281-0011-10", + "display": "FLUZONE" + }, + { + "code": "54868-2219-00", + "display": "RECOMBIVAX HB" + }, + { + "code": "49281-0415-10", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "33332-0016-01", + "display": "AFLURIA" + }, + { + "code": "49281-0705-55", + "display": "FLUZONE" + }, + { + "code": "49281-0621-15", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "58160-0842-34", + "display": "BOOSTRIX" + }, + { + "code": "49281-0010-10", + "display": "FLUZONE" + }, + { + "code": "66521-0113-02", + "display": "FLUVIRIN" + }, + { + "code": "49281-0514-25", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "58160-0842-52", + "display": "BOOSTRIX" + }, + { + "code": "19515-0901-52", + "display": "Flulaval Quadrivalent" + }, + { + "code": "62577-0613-01", + "display": "Flucelvax" + }, + { + "code": "66019-0303-10", + "display": "FluMist Quadrivalent" + }, + { + "code": "49281-0388-15", + "display": "FLUZONE" + }, + { + "code": "00006-4841-41", + "display": "VAQTA" + }, + { + "code": "58160-0900-52", + "display": "FLUARIX QUADRIVALENT" + }, + { + "code": "70461-0200-01", + "display": "FLUCELVAX QUADRIVALENT" + }, + { + "code": "49281-0915-05", + "display": "YF-VAX" + }, + { + "code": "49281-0650-50", + "display": "INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE" + }, + { + "code": "33332-0116-10", + "display": "AFLURIA" + }, + { + "code": "54868-3339-01", + "display": "PNEUMOVAX 23" + }, + { + "code": "49281-0418-10", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "58160-0812-52", + "display": "KINRIX" + }, + { + "code": "49281-0286-05", + "display": "DAPTACEL" + }, + { + "code": "63851-0612-01", + "display": "Flucelvax" + }, + { + "code": "19515-0908-52", + "display": "Flulaval Quadrivalent" + }, + { + "code": "54868-0980-00", + "display": "M-M-R II" + }, + { + "code": "58160-0830-52", + "display": "CERVARIX" + }, + { + "code": "49281-0113-25", + "display": "FLUZONE" + }, + { + "code": "49281-0650-70", + "display": "INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE" + }, + { + "code": "66521-0115-10", + "display": "FLUVIRIN" + }, + { + "code": "49281-0417-50", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "33332-0113-10", + "display": "AFLURIA" + }, + { + "code": "49281-0629-15", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "58160-0823-11", + "display": "Shingrix" + }, + { + "code": "00006-4897-00", + "display": "PedvaxHIB" + }, + { + "code": "58160-0821-34", + "display": "ENGERIX-B" + }, + { + "code": "66521-0115-02", + "display": "FLUVIRIN" + }, + { + "code": "33332-0014-01", + "display": "AFLURIA" + }, + { + "code": "49281-0562-10", + "display": "QUADRACEL" + }, + { + "code": "42874-0014-10", + "display": "Flublok" + }, + { + "code": "42874-0013-10", + "display": "Flublok" + }, + { + "code": "33332-0115-10", + "display": "AFLURIA" + }, + { + "code": "00006-4963-00", + "display": "ZOSTAVAX" + }, + { + "code": "49281-0010-25", + "display": "FLUZONE" + }, + { + "code": "33332-0519-01", + "display": "Influenza A" + }, + { + "code": "58160-0898-52", + "display": "FLUARIX QUADRIVALENT" + }, + { + "code": "49281-0112-25", + "display": "FLUZONE" + }, + { + "code": "19515-0898-11", + "display": "Flulaval Quadrivalent" + }, + { + "code": "00006-4109-09", + "display": "GARDASIL" + }, + { + "code": "49281-0414-50", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "00006-4095-09", + "display": "VAQTA" + }, + { + "code": "00006-4045-00", + "display": "GARDASIL" + }, + { + "code": "19515-0912-52", + "display": "Flulaval Quadrivalent" + }, + { + "code": "58160-0801-11", + "display": "Menhibrix" + }, + { + "code": "49281-0489-01", + "display": "MENOMUNE - A/C/Y/W-135 COMBINED" + }, + { + "code": "42874-0017-10", + "display": "Flublok" + }, + { + "code": "66521-0116-02", + "display": "Fluvirin" + }, + { + "code": "46028-0208-01", + "display": "Menveo" + }, + { + "code": "49281-0627-15", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "00005-0100-02", + "display": "Trumenba" + }, + { + "code": "69401-0000-01", + "display": "Vivotif" + }, + { + "code": "21695-0413-01", + "display": "Tetanus and Diphtheria Toxoids Adsorbed" + }, + { + "code": "49281-0416-10", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "49281-0650-25", + "display": "INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE" + }, + { + "code": "49281-0800-83", + "display": "TETANUS TOXOID ADSORBED" + }, + { + "code": "49281-0291-83", + "display": "DECAVAC" + }, + { + "code": "00006-4095-02", + "display": "VAQTA" + }, + { + "code": "58160-0854-52", + "display": "ROTARIX" + }, + { + "code": "19515-0889-07", + "display": "FLULAVAL" + }, + { + "code": "49281-0392-15", + "display": "FLUZONE" + }, + { + "code": "19515-0891-11", + "display": "Flulaval Quadrivalent" + }, + { + "code": "49281-0400-05", + "display": "Adacel" + }, + { + "code": "49281-0913-01", + "display": "STAMARIL" + }, + { + "code": "49281-0640-15", + "display": "INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE" + }, + { + "code": "49281-0513-25", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "00006-4171-00", + "display": "ProQuad" + }, + { + "code": "00006-4096-09", + "display": "VAQTA" + }, + { + "code": "58160-0830-34", + "display": "CERVARIX" + }, + { + "code": "00006-4980-00", + "display": "RECOMBIVAX HB" + }, + { + "code": "17478-0131-01", + "display": "Tetanus and Diphtheria Toxoids Adsorbed" + }, + { + "code": "49281-0414-10", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "43528-0002-05", + "display": "HEPLISAV-B" + }, + { + "code": "66521-0200-02", + "display": "Influenza A (H1N1) 2009 Monovalent Vaccine" + }, + { + "code": "49281-0011-50", + "display": "FLUZONE" + }, + { + "code": "70461-0120-10", + "display": "Fluvirin" + }, + { + "code": "66019-0304-10", + "display": "FluMist Quadrivalent" + }, + { + "code": "58160-0976-20", + "display": "Bexsero" + }, + { + "code": "00006-4826-00", + "display": "VARIVAX" + }, + { + "code": "66521-0116-10", + "display": "Fluvirin" + }, + { + "code": "00006-4963-41", + "display": "ZOSTAVAX" + }, + { + "code": "49281-0510-05", + "display": "PENTACEL" + }, + { + "code": "42874-0012-10", + "display": "Flublok" + }, + { + "code": "58160-0955-09", + "display": "Menveo" + }, + { + "code": "00005-0100-05", + "display": "Trumenba" + }, + { + "code": "49281-0707-55", + "display": "FLUZONE" + }, + { + "code": "14362-0111-04", + "display": "Tetanus and Diphtheria Toxoids Adsorbed" + }, + { + "code": "66521-0112-10", + "display": "Fluvirin" + }, + { + "code": "66521-0117-10", + "display": "Fluvirin" + }, + { + "code": "00006-4045-41", + "display": "GARDASIL" + }, + { + "code": "49281-0389-65", + "display": "FLUZONE HIGH DOSE" + }, + { + "code": "69401-0000-02", + "display": "Vivotif" + }, + { + "code": "49281-0915-01", + "display": "YF-VAX" + }, + { + "code": "00006-4093-02", + "display": "RECOMBIVAX HB" + }, + { + "code": "58160-0815-48", + "display": "TWINRIX" + }, + { + "code": "70460-0001-01", + "display": "Vaxchora" + }, + { + "code": "58160-0826-11", + "display": "HAVRIX" + }, + { + "code": "00006-4992-00", + "display": "RECOMBIVAX HB" + }, + { + "code": "49281-0111-25", + "display": "FLUZONE" + }, + { + "code": "00006-4093-09", + "display": "RECOMBIVAX HB" + }, + { + "code": "50090-3469-00", + "display": "HEPLISAV-B" + }, + { + "code": "49281-0403-65", + "display": "FLUZONE High-Dose" + }, + { + "code": "70461-0119-10", + "display": "Fluvirin" + }, + { + "code": "00006-4995-00", + "display": "RECOMBIVAX HB" + }, + { + "code": "58160-0815-34", + "display": "TWINRIX" + }, + { + "code": "49281-0393-65", + "display": "FLUZONE High-Dose" + }, + { + "code": "00005-1970-50", + "display": "Prevnar" + }, + { + "code": "33332-0017-01", + "display": "AFLURIA" + }, + { + "code": "63851-0501-01", + "display": "RabAvert" + }, + { + "code": "58160-0881-52", + "display": "FLUARIX" + }, + { + "code": "64678-0211-01", + "display": "BioThrax" + }, + { + "code": "49281-0394-15", + "display": "FLUZONE" + }, + { + "code": "00006-4827-00", + "display": "VARIVAX" + }, + { + "code": "58160-0806-05", + "display": "HIBERIX" + }, + { + "code": "49281-0518-25", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "62195-0051-10", + "display": "Ixiaro" + }, + { + "code": "63361-0245-10", + "display": "VAXELIS" + }, + { + "code": "49281-0709-55", + "display": "FLUZONE Intradermal" + }, + { + "code": "66019-0300-10", + "display": "FluMist Quadrivalent" + }, + { + "code": "49281-0215-15", + "display": "TENIVAC" + }, + { + "code": "58160-0825-52", + "display": "HAVRIX" + }, + { + "code": "00005-0100-10", + "display": "Trumenba" + }, + { + "code": "66521-0117-02", + "display": "Fluvirin" + }, + { + "code": "49281-0650-90", + "display": "INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE" + }, + { + "code": "42874-0015-10", + "display": "Flublok" + }, + { + "code": "33332-0018-01", + "display": "AFLURIA" + }, + { + "code": "00006-4999-00", + "display": "ProQuad" + }, + { + "code": "00005-1971-04", + "display": "PREVNAR 13" + }, + { + "code": "19515-0850-52", + "display": "FLULAVAL" + }, + { + "code": "00005-1971-02", + "display": "PREVNAR 13" + }, + { + "code": "00006-4094-02", + "display": "RECOMBIVAX HB" + }, + { + "code": "00006-4096-02", + "display": "VAQTA" + }, + { + "code": "58160-0825-11", + "display": "HAVRIX" + }, + { + "code": "58160-0811-52", + "display": "PEDIARIX" + }, + { + "code": "42515-0002-01", + "display": "IXIARO" + }, + { + "code": "49281-0013-50", + "display": "FLUZONE" + }, + { + "code": "76420-0483-01", + "display": "Medical Provider Single Use EZ Flu Shot 2013-2014" + }, + { + "code": "66521-0118-10", + "display": "Fluvirin" + }, + { + "code": "49281-0399-65", + "display": "FLUZONE High-Dose" + }, + { + "code": "49281-0396-15", + "display": "FLUZONE" + }, + { + "code": "66019-0107-01", + "display": "FLUMIST" + }, + { + "code": "19515-0890-07", + "display": "FLULAVAL" + }, + { + "code": "76420-0482-01", + "display": "Medical Provider Single Use EZ Flu Shot 2013-2014" + }, + { + "code": "33332-0015-01", + "display": "AFLURIA" + }, + { + "code": "66019-0302-10", + "display": "FluMist Quadrivalent" + }, + { + "code": "49281-0012-10", + "display": "FLUZONE" + }, + { + "code": "49281-0710-40", + "display": "FLUZONE INTRADERMAL QUADRIVALENT" + }, + { + "code": "63851-0501-02", + "display": "RabAvert" + }, + { + "code": "58160-0879-52", + "display": "FLUARIX" + }, + { + "code": "49281-0397-65", + "display": "FLUZONE High-Dose" + }, + { + "code": "00006-4831-41", + "display": "VAQTA" + }, + { + "code": "58160-0815-46", + "display": "TWINRIX" + }, + { + "code": "33332-0110-10", + "display": "AFLURIA" + }, + { + "code": "54868-4320-00", + "display": "PNEUMOVAX 23" + }, + { + "code": "42874-0016-10", + "display": "Flublok" + }, + { + "code": "49281-0012-50", + "display": "FLUZONE" + }, + { + "code": "58160-0818-11", + "display": "Hiberix" + }, + { + "code": "49281-0386-15", + "display": "FLUZONE" + }, + { + "code": "46028-0114-01", + "display": "Bexsero" + }, + { + "code": "00006-4898-00", + "display": "COMVAX" + }, + { + "code": "58160-0826-52", + "display": "HAVRIX" + }, + { + "code": "49281-0545-05", + "display": "ActHIB" + }, + { + "code": "66019-0108-10", + "display": "FLUMIST" + }, + { + "code": "70461-0418-10", + "display": "FLUCELVAX QUADRIVALENT (MULTI-DOSE VIAL)" + }, + { + "code": "00006-4094-09", + "display": "RECOMBIVAX HB" + }, + { + "code": "49281-0298-10", + "display": "TRIPEDIA" + }, + { + "code": "33332-0629-10", + "display": "Influenza A" + }, + { + "code": "58160-0880-52", + "display": "FLUARIX" + }, + { + "code": "00006-4047-20", + "display": "RotaTeq" + }, + { + "code": "00006-4119-02", + "display": "GARDASIL 9" + }, + { + "code": "58160-0842-11", + "display": "BOOSTRIX" + }, + { + "code": "19515-0903-11", + "display": "Flulaval Quadrivalent" + }, + { + "code": "00006-4981-00", + "display": "RECOMBIVAX HB" + }, + { + "code": "58160-0905-52", + "display": "FLUARIX QUADRIVALENT" + }, + { + "code": "49281-0401-65", + "display": "FLUZONE High-Dose" + }, + { + "code": "33332-0114-10", + "display": "AFLURIA" + }, + { + "code": "49281-0860-10", + "display": "IPOL" + }, + { + "code": "70461-0318-03", + "display": "FLUCELVAX QUADRIVALENT (PREFILLED SYRINGE)" + }, + { + "code": "54868-2219-01", + "display": "RECOMBIVAX HB" + }, + { + "code": "49281-0718-10", + "display": "Flublok Quadrivalent" + }, + { + "code": "49281-0400-15", + "display": "Adacel" + }, + { + "code": "70461-0120-02", + "display": "Fluvirin" + }, + { + "code": "49281-0416-50", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "49281-0413-50", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "58160-0883-52", + "display": "FLUARIX" + }, + { + "code": "49281-0790-51", + "display": "Typhim Vi" + }, + { + "code": "49281-0286-10", + "display": "DAPTACEL" + }, + { + "code": "66019-0110-10", + "display": "FluMist" + }, + { + "code": "46028-0114-02", + "display": "Bexsero" + }, + { + "code": "58160-0821-52", + "display": "ENGERIX-B" + }, + { + "code": "49281-0013-10", + "display": "FLUZONE" + }, + { + "code": "19515-0894-52", + "display": "Flulaval Quadrivalent" + }, + { + "code": "66019-0305-10", + "display": "FluMist Quadrivalent" + }, + { + "code": "49281-0400-10", + "display": "Adacel" + }, + { + "code": "49281-0390-15", + "display": "FLUZONE" + }, + { + "code": "00052-0603-02", + "display": "BCG VACCINE" + }, + { + "code": "51285-0138-50", + "display": "Adenovirus Type 4 and Type 7 Vaccine, Live" + }, + { + "code": "33332-0417-10", + "display": "AFLURIA QUADRIVALENT" + }, + { + "code": "49281-0395-65", + "display": "FLUZONE High-Dose" + }, + { + "code": "66019-0301-10", + "display": "FluMist Quadrivalent" + }, + { + "code": "49281-0215-10", + "display": "TENIVAC" + }, + { + "code": "19515-0895-11", + "display": "Flulaval Quadrivalent" + }, + { + "code": "70461-0201-01", + "display": "FLUCELVAX QUADRIVALENT (PREFILLED SYRINGE)" + }, + { + "code": "58160-0907-52", + "display": "FLUARIX QUADRIVALENT" + }, + { + "code": "55045-3841-01", + "display": "HAVRIX" + }, + { + "code": "50090-2883-00", + "display": "INFANRIX" + }, + { + "code": "49281-0820-10", + "display": "TETANUS TOXOID ADSORBED" + }, + { + "code": "49281-0417-10", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "33332-0010-01", + "display": "AFLURIA" + }, + { + "code": "33332-0013-01", + "display": "AFLURIA" + }, + { + "code": "66521-0200-10", + "display": "Influenza A (H1N1) 2009 Monovalent Vaccine" + }, + { + "code": "58160-0976-06", + "display": "Bexsero" + }, + { + "code": "58160-0809-05", + "display": "MENHIBRIX" + }, + { + "code": "00006-4739-00", + "display": "PNEUMOVAX 23" + }, + { + "code": "70461-0018-03", + "display": "FLUAD" + }, + { + "code": "49281-0413-10", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "13533-0131-01", + "display": "Tetanus and Diphtheria Toxoids Adsorbed" + }, + { + "code": "58160-0812-11", + "display": "KINRIX" + }, + { + "code": "49281-0391-65", + "display": "FLUZONE High-Dose" + }, + { + "code": "19515-0845-11", + "display": "FLULAVAL" + }, + { + "code": "58160-0811-51", + "display": "PEDIARIX" + }, + { + "code": "58160-0815-52", + "display": "TWINRIX" + }, + { + "code": "70461-0119-02", + "display": "Fluvirin" + }, + { + "code": "58160-0810-52", + "display": "INFANRIX" + }, + { + "code": "62577-0614-01", + "display": "Flucelvax" + }, + { + "code": "42874-0117-10", + "display": "Flublok Quadrivalent" + }, + { + "code": "49281-0489-91", + "display": "MENOMUNE - A/C/Y/W-135 COMBINED" + }, + { + "code": "58160-0964-12", + "display": "RabAvert" + }, + { + "code": "49281-0014-50", + "display": "FLUZONE" + }, + { + "code": "00006-4109-02", + "display": "GARDASIL" + }, + { + "code": "70461-0002-01", + "display": "FLUAD" + }, + { + "code": "49281-0286-01", + "display": "DAPTACEL" + }, + { + "code": "58160-0810-11", + "display": "INFANRIX" + }, + { + "code": "19515-0900-11", + "display": "Flulaval Quadrivalent" + }, + { + "code": "00006-4837-03", + "display": "PNEUMOVAX 23" + }, + { + "code": "66521-0113-10", + "display": "FLUVIRIN" + }, + { + "code": "58160-0826-34", + "display": "HAVRIX" + }, + { + "code": "58160-0903-52", + "display": "FLUARIX QUADRIVALENT" + }, + { + "code": "00006-4841-00", + "display": "VAQTA" + }, + { + "code": "54868-6180-00", + "display": "FLUZONE" + }, + { + "code": "00006-4681-00", + "display": "M-M-R II" + }, + { + "code": "33332-0317-01", + "display": "AFLURIA QUADRIVALENT" + }, + { + "code": "70461-0001-01", + "display": "FLUAD" + }, + { + "code": "49281-0589-05", + "display": "Menactra" + }, + { + "code": "49281-0387-65", + "display": "FLUZONE" + }, + { + "code": "49281-0860-55", + "display": "IPOL" + }, + { + "code": "19515-0893-07", + "display": "FLULAVAL" + }, + { + "code": "33332-0519-25", + "display": "Influenza A" + }, + { + "code": "70461-0301-10", + "display": "FLUCELVAX QUADRIVALENT (MULTI-DOSE VIAL)" + }, + { + "code": "66019-0200-10", + "display": "Influenza A H1N1 Intranasal" + }, + { + "code": "43528-0003-05", + "display": "HEPLISAV-B" + }, + { + "code": "58160-0820-52", + "display": "ENGERIX-B" + }, + { + "code": "66521-0000-01", + "display": "FLUAD" + }, + { + "code": "49281-0250-51", + "display": "IMOVAX RABIES" + }, + { + "code": "49281-0291-10", + "display": "DECAVAC" + }, + { + "code": "33332-0418-10", + "display": "AFLURIA QUADRIVALENT" + }, + { + "code": "00006-4121-02", + "display": "GARDASIL 9" + }, + { + "code": "63851-0613-01", + "display": "FLUCELVAX" + }, + { + "code": "66521-0114-10", + "display": "FLUVIRIN" + }, + { + "code": "00006-4047-41", + "display": "RotaTeq" + }, + { + "code": "58160-0901-52", + "display": "FLUARIX QUADRIVALENT" + }, + { + "code": "33332-0318-01", + "display": "AFLURIA QUADRIVALENT" + }, + { + "code": "00006-4119-03", + "display": "GARDASIL 9" + }, + { + "code": "49281-0225-10", + "display": "DIPHTHERIA AND TETANUS TOXOIDS ADSORBED" + }, + { + "code": "58160-0815-11", + "display": "TWINRIX" + }, + { + "code": "54868-6177-00", + "display": "FLUZONE" + }, + { + "code": "49281-0010-50", + "display": "FLUZONE" + }, + { + "code": "49281-0400-20", + "display": "Adacel" + }, + { + "code": "49281-0545-03", + "display": "ActHIB" + }, + { + "code": "50090-1693-09", + "display": "IPOL" + }, + { + "code": "00006-4995-41", + "display": "RECOMBIVAX HB" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-observation-smoking-status-status.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-observation-smoking-status-status.json new file mode 100644 index 000000000..8b8c61d5f --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-observation-smoking-status-status.json @@ -0,0 +1,52 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-observation-smoking-status-status", + "text": { + "status": "generated", + "div": "

US Core Status for Smoking Status Observation

Codes providing the status of an observation for smoking status. Constrained to finaland entered-in-error.

\n

This value set includes codes from the following code systems:

  • Include these codes as defined in http://hl7.org/fhir/observation-status
    CodeDisplay
    finalFinalThe observation is complete and there are no further actions needed. Additional information such "released", "signed", etc would be represented using [Provenance](provenance.html) which provides not only the act but also the actors and dates and other related data. These act states would be associated with an observation status of `preliminary` until they are all completed and then a status of `final` would be applied.
    entered-in-errorEntered in ErrorThe observation has been withdrawn following previous final release. This electronic record should never have existed, though it is possible that real-world decisions were based on it. (If real-world activity has occurred, the status should be "cancelled" rather than "entered-in-error".).
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smoking-status-status", + "version": "3.1.0", + "name": "USCoreObservationSmokingStatusStatus", + "title": "US Core Status for Smoking Status Observation", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "Codes providing the status of an observation for smoking status. Constrained to `final`and `entered-in-error`.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/observation-status", + "concept": [ + { + "code": "final" + }, + { + "code": "entered-in-error" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-observation-smokingstatus.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-observation-smokingstatus.json new file mode 100644 index 000000000..836b6a564 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-observation-smokingstatus.json @@ -0,0 +1,85 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-observation-smokingstatus", + "text": { + "status": "generated", + "div": "

US Core Smoking Status

This value set indicates the current smoking status of a patient.

\n

Copyright Statement: This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.4.642.2.602" + } + ], + "version": "3.1.0", + "name": "USCoreSmokingStatus", + "title": "US Core Smoking Status", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This value set indicates the current smoking status of a patient.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "concept": [ + { + "code": "449868002", + "display": "Current every day smoker" + }, + { + "code": "428041000124106", + "display": "Current some day smoker" + }, + { + "code": "8517006", + "display": "Former smoker" + }, + { + "code": "266919005", + "display": "Never smoker" + }, + { + "code": "77176002", + "display": "Smoker, current status unknown" + }, + { + "code": "266927001", + "display": "Unknown if ever smoked" + }, + { + "code": "428071000124103", + "display": "Current Heavy tobacco smoker" + }, + { + "code": "428061000124105", + "display": "Current Light tobacco smoker" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-observation-value-codes.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-observation-value-codes.json new file mode 100644 index 000000000..e8c1a39e8 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-observation-value-codes.json @@ -0,0 +1,49 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-observation-value-codes", + "text": { + "status": "generated", + "div": "

US Core Observation Value Codes (SNOMED-CT)

Snomed-CT concept codes for coded results

\n

Copyright Statement: This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-value-codes", + "version": "3.1.0", + "name": "USCoreObservationValueCodes", + "title": "US Core Observation Value Codes (SNOMED-CT)", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + }, + { + "system": "email", + "value": "fhir@lists.hl7.org" + } + ] + } + ], + "description": "[Snomed-CT](http://www.ihtsdo.org/) concept codes for coded results", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-procedure-code.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-procedure-code.json new file mode 100644 index 000000000..87e6c6ebe --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-procedure-code.json @@ -0,0 +1,58 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-procedure-code", + "text": { + "status": "generated", + "div": "

US Core Procedure Codes

This example value set defines a set of codes that can be used to indicate the type of procedure: a specific code indicating type of procedure performed, from CPT, SNOMED CT, or HCPCS Level II Alphanumeric Codes.

\n

Copyright Statement: CPT copyright 2014 American Medical Association. All rights reserved. This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement

This value set includes codes from the following code systems:

  • Include all codes defined in http://www.ama-assn.org/go/cpt
  • Include codes from http://snomed.info/sct where concept is-a 71388002 (Procedure)
  • Include all codes defined in urn:oid:2.16.840.1.113883.6.285
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code", + "version": "3.1.0", + "name": "USCoreProcedureCodes", + "title": "US Core Procedure Codes", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This example value set defines a set of codes that can be used to indicate the type of procedure: a specific code indicating type of procedure performed, from CPT, SNOMED CT, or HCPCS Level II Alphanumeric Codes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "CPT copyright 2014 American Medical Association. All rights reserved. This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://www.ama-assn.org/go/cpt" + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "71388002" + } + ] + }, + { + "system": "urn:oid:2.16.840.1.113883.6.285" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-procedure-icd10pcs.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-procedure-icd10pcs.json new file mode 100644 index 000000000..346a73e9d --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-procedure-icd10pcs.json @@ -0,0 +1,45 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-procedure-icd10pcs", + "text": { + "status": "generated", + "div": "

US Core ICD-10-PCS Procedure Codes

This value set defines a set of codes from ICD10-PCS that can be used to indicate a type of procedure performed

\n

Copyright Statement: The International Classification of Diseases, Tenth Revision, Procedure Coding System (ICD-10-PCS) was developed for the Centers for Medicare and Medicaid Services (CMS). CMS is the U.S. governmental agency responsible for overseeing all changes and modifications to the ICD-10-PCS.

This value set includes codes from the following code systems:

  • Include all codes defined in http://www.icd10data.com/icd10pcs
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-icd10pcs", + "version": "3.1.0", + "name": "USCoreIcd_10PcsProcedureCodes", + "title": "US Core ICD-10-PCS Procedure Codes", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This value set defines a set of codes from ICD10-PCS that can be used to indicate a type of procedure performed", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "The International Classification of Diseases, Tenth Revision, Procedure Coding System (ICD-10-PCS) was developed for the Centers for Medicare and Medicaid Services (CMS). CMS is the U.S. governmental agency responsible for overseeing all changes and modifications to the ICD-10-PCS.", + "compose": { + "include": [ + { + "system": "http://www.icd10data.com/icd10pcs" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-provenance-participant-type.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-provenance-participant-type.json new file mode 100644 index 000000000..94e875c6d --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-provenance-participant-type.json @@ -0,0 +1,38 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-provenance-participant-type", + "text": { + "status": "generated", + "div": "

US Core Provenance Participant Type Codes

The type of participation a provenance agent played for a given target.

\n

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provenance-participant-type", + "version": "3.1.0", + "name": "USCoreProvenancePaticipantTypeCodes", + "title": "US Core Provenance Participant Type Codes", + "status": "active", + "date": "2019-08-28T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "The type of participation a provenance agent played for a given target.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "purpose": "So API consumers can identify the provenance participant type.", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-provider-role.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-provider-role.json new file mode 100644 index 000000000..946226f4b --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-provider-role.json @@ -0,0 +1,995 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-provider-role", + "text": { + "status": "generated", + "div": "

US Core Provider Role (NUCC)

Provider roles codes which are composed of the NUCC Health Care Provider Taxonomy Code Set classification codes for providers. Only concepts with a classification and no specialization are included.

\n

Copyright Statement: This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained.

This value set includes codes from the following code systems:

  • Include these codes as defined in http://nucc.org/provider-taxonomy
    CodeDisplay
    101Y00000XCounselor
    102L00000XPsychoanalyst
    102X00000XPoetry Therapist
    103G00000XClinical Neuropsychologist
    103K00000XBehavior Analyst
    103T00000XPsychologist
    104100000XSocial Worker
    106E00000XAssistant Behavior Analyst
    106H00000XMarriage & Family Therapist
    106S00000XBehavior Technician
    111N00000XChiropractor
    122300000XDentist
    122400000XDenturist
    124Q00000XDental Hygienist
    125J00000XDental Therapist
    125K00000XAdvanced Practice Dental Therapist
    125Q00000XOral Medicinist
    126800000XDental Assistant
    126900000XDental Laboratory Technician
    132700000XDietary Manager
    133N00000XNutritionist
    133V00000XDietitian, Registered
    136A00000XDietetic Technician, Registered
    146D00000XPersonal Emergency Response Attendant
    146L00000XEmergency Medical Technician, Paramedic
    146M00000XEmergency Medical Technician, Intermediate
    146N00000XEmergency Medical Technician, Basic
    152W00000XOptometrist
    156F00000XTechnician/Technologist
    163W00000XRegistered Nurse
    164W00000XLicensed Practical Nurse
    164X00000XLicensed Vocational Nurse
    167G00000XLicensed Psychiatric Technician
    170100000XMedical Genetics, Ph.D. Medical Genetics
    170300000XGenetic Counselor, MS
    171000000XMilitary Health Care Provider
    171100000XAcupuncturist
    171M00000XCase Manager/Care Coordinator
    171R00000XInterpreter
    171W00000XContractor
    172A00000XDriver
    172M00000XMechanotherapist
    172P00000XNaprapath
    172V00000XCommunity Health Worker
    173000000XLegal Medicine
    173C00000XReflexologist
    173F00000XSleep Specialist, PhD
    174200000XMeals
    174400000XSpecialist
    174H00000XHealth Educator
    174M00000XVeterinarian
    174N00000XLactation Consultant, Non-RN
    174V00000XClinical Ethicist
    175F00000XNaturopath
    175L00000XHomeopath
    175M00000XMidwife, Lay
    175T00000XPeer Specialist
    176B00000XMidwife
    176P00000XFuneral Director
    177F00000XLodging
    183500000XPharmacist
    183700000XPharmacy Technician
    193200000XMulti-Specialty
    193400000XSingle Specialty
    202C00000XIndependent Medical Examiner
    202K00000XPhlebology
    204C00000XNeuromusculoskeletal Medicine, Sports Medicine
    204D00000XNeuromusculoskeletal Medicine & OMM
    204E00000XOral & Maxillofacial Surgery
    204F00000XTransplant Surgery
    204R00000XElectrodiagnostic Medicine
    207K00000XAllergy & Immunology
    207L00000XAnesthesiology
    207N00000XDermatology
    207P00000XEmergency Medicine
    207Q00000XFamily Medicine
    207R00000XInternal Medicine
    207T00000XNeurological Surgery
    207U00000XNuclear Medicine
    207V00000XObstetrics & Gynecology
    207W00000XOphthalmology
    207X00000XOrthopaedic Surgery
    207Y00000XOtolaryngology
    208000000XPediatrics
    208100000XPhysical Medicine & Rehabilitation
    208200000XPlastic Surgery
    208600000XSurgery
    208800000XUrology
    208C00000XColon & Rectal Surgery
    208D00000XGeneral Practice
    208G00000XThoracic Surgery (Cardiothoracic Vascular Surgery)
    208M00000XHospitalist
    208U00000XClinical Pharmacology
    209800000XLegal Medicine
    211D00000XAssistant, Podiatric
    213E00000XPodiatrist
    221700000XArt Therapist
    222Q00000XDevelopmental Therapist
    222Z00000XOrthotist
    224900000XMastectomy Fitter
    224L00000XPedorthist
    224P00000XProsthetist
    224Y00000XClinical Exercise Physiologist
    224Z00000XOccupational Therapy Assistant
    225000000XOrthotic Fitter
    225100000XPhysical Therapist
    225200000XPhysical Therapy Assistant
    225400000XRehabilitation Practitioner
    225500000XSpecialist/Technologist
    225600000XDance Therapist
    225700000XMassage Therapist
    225800000XRecreation Therapist
    225A00000XMusic Therapist
    225B00000XPulmonary Function Technologist
    225C00000XRehabilitation Counselor
    225X00000XOccupational Therapist
    226000000XRecreational Therapist Assistant
    226300000XKinesiotherapist
    227800000XRespiratory Therapist, Certified
    227900000XRespiratory Therapist, Registered
    229N00000XAnaplastologist
    231H00000XAudiologist
    235500000XSpecialist/Technologist
    235Z00000XSpeech-Language Pathologist
    237600000XAudiologist-Hearing Aid Fitter
    237700000XHearing Instrument Specialist
    242T00000XPerfusionist
    243U00000XRadiology Practitioner Assistant
    246Q00000XSpecialist/Technologist, Pathology
    246R00000XTechnician, Pathology
    246W00000XTechnician, Cardiology
    246X00000XSpecialist/Technologist Cardiovascular
    246Y00000XSpecialist/Technologist, Health Information
    246Z00000XSpecialist/Technologist, Other
    247000000XTechnician, Health Information
    247100000XRadiologic Technologist
    247200000XTechnician, Other
    251300000XLocal Education Agency (LEA)
    251B00000XCase Management
    251C00000XDay Training, Developmentally Disabled Services
    251E00000XHome Health
    251F00000XHome Infusion
    251G00000XHospice Care, Community Based
    251J00000XNursing Care
    251K00000XPublic Health or Welfare
    251S00000XCommunity/Behavioral Health
    251T00000XProgram of All-Inclusive Care for the Elderly (PACE) Provider Organization
    251V00000XVoluntary or Charitable
    251X00000XSupports Brokerage
    252Y00000XEarly Intervention Provider Agency
    253J00000XFoster Care Agency
    253Z00000XIn Home Supportive Care
    261Q00000XClinic/Center
    273100000XEpilepsy Unit
    273R00000XPsychiatric Unit
    273Y00000XRehabilitation Unit
    275N00000XMedicare Defined Swing Bed Unit
    276400000XRehabilitation, Substance Use Disorder Unit
    281P00000XChronic Disease Hospital
    282E00000XLong Term Care Hospital
    282J00000XReligious Nonmedical Health Care Institution
    282N00000XGeneral Acute Care Hospital
    283Q00000XPsychiatric Hospital
    283X00000XRehabilitation Hospital
    284300000XSpecial Hospital
    286500000XMilitary Hospital
    287300000XChristian Science Sanitorium
    291900000XMilitary Clinical Medical Laboratory
    291U00000XClinical Medical Laboratory
    292200000XDental Laboratory
    293D00000XPhysiological Laboratory
    302F00000XExclusive Provider Organization
    302R00000XHealth Maintenance Organization
    305R00000XPreferred Provider Organization
    305S00000XPoint of Service
    310400000XAssisted Living Facility
    310500000XIntermediate Care Facility, Mental Illness
    311500000XAlzheimer Center (Dementia Center)
    311Z00000XCustodial Care Facility
    313M00000XNursing Facility/Intermediate Care Facility
    314000000XSkilled Nursing Facility
    315D00000XHospice, Inpatient
    315P00000XIntermediate Care Facility, Mentally Retarded
    317400000XChristian Science Facility
    320600000XResidential Treatment Facility, Mental Retardation and/or Developmental Disabilities
    320700000XResidential Treatment Facility, Physical Disabilities
    320800000XCommunity Based Residential Treatment Facility, Mental Illness
    320900000XCommunity Based Residential Treatment Facility, Mental Retardation and/or Developmental Disabilities
    322D00000XResidential Treatment Facility, Emotionally Disturbed Children
    323P00000XPsychiatric Residential Treatment Facility
    324500000XSubstance Abuse Rehabilitation Facility
    331L00000XBlood Bank
    332000000XMilitary/U.S. Coast Guard Pharmacy
    332100000XDepartment of Veterans Affairs (VA) Pharmacy
    332800000XIndian Health Service/Tribal/Urban Indian Health (I/T/U) Pharmacy
    332900000XNon-Pharmacy Dispensing Site
    332B00000XDurable Medical Equipment & Medical Supplies
    332G00000XEye Bank
    332H00000XEyewear Supplier
    332S00000XHearing Aid Equipment
    332U00000XHome Delivered Meals
    333300000XEmergency Response System Companies
    333600000XPharmacy
    335E00000XProsthetic/Orthotic Supplier
    335G00000XMedical Foods Supplier
    335U00000XOrgan Procurement Organization
    335V00000XPortable X-ray and/or Other Portable Diagnostic Imaging Supplier
    341600000XAmbulance
    341800000XMilitary/U.S. Coast Guard Transport
    343800000XSecured Medical Transport (VAN)
    343900000XNon-emergency Medical Transport (VAN)
    344600000XTaxi
    344800000XAir Carrier
    347B00000XBus
    347C00000XPrivate Vehicle
    347D00000XTrain
    347E00000XTransportation Broker
    363A00000XPhysician Assistant
    363L00000XNurse Practitioner
    364S00000XClinical Nurse Specialist
    367500000XNurse Anesthetist, Certified Registered
    367A00000XAdvanced Practice Midwife
    367H00000XAnesthesiologist Assistant
    372500000XChore Provider
    372600000XAdult Companion
    373H00000XDay Training/Habilitation Specialist
    374700000XTechnician
    374J00000XDoula
    374K00000XReligious Nonmedical Practitioner
    374T00000XReligious Nonmedical Nursing Personnel
    374U00000XHome Health Aide
    376G00000XNursing Home Administrator
    376J00000XHomemaker
    376K00000XNurse's Aide
    385H00000XRespite Care
    390200000XStudent in an Organized Health Care Education/Training Program
    405300000XPrevention Professional
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role", + "version": "3.1.0", + "name": "USCoreProviderRoleNucc", + "title": "US Core Provider Role (NUCC)", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "Provider roles codes which are composed of the NUCC Health Care Provider Taxonomy Code Set classification codes for providers. Only concepts with a classification and no specialization are included. ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained.", + "compose": { + "include": [ + { + "system": "http://nucc.org/provider-taxonomy", + "concept": [ + { + "code": "101Y00000X", + "display": "Counselor" + }, + { + "code": "102L00000X", + "display": "Psychoanalyst" + }, + { + "code": "102X00000X", + "display": "Poetry Therapist" + }, + { + "code": "103G00000X", + "display": "Clinical Neuropsychologist" + }, + { + "code": "103K00000X", + "display": "Behavior Analyst" + }, + { + "code": "103T00000X", + "display": "Psychologist" + }, + { + "code": "104100000X", + "display": "Social Worker" + }, + { + "code": "106E00000X", + "display": "Assistant Behavior Analyst" + }, + { + "code": "106H00000X", + "display": "Marriage & Family Therapist" + }, + { + "code": "106S00000X", + "display": "Behavior Technician" + }, + { + "code": "111N00000X", + "display": "Chiropractor" + }, + { + "code": "122300000X", + "display": "Dentist" + }, + { + "code": "122400000X", + "display": "Denturist" + }, + { + "code": "124Q00000X", + "display": "Dental Hygienist" + }, + { + "code": "125J00000X", + "display": "Dental Therapist" + }, + { + "code": "125K00000X", + "display": "Advanced Practice Dental Therapist" + }, + { + "code": "125Q00000X", + "display": "Oral Medicinist" + }, + { + "code": "126800000X", + "display": "Dental Assistant" + }, + { + "code": "126900000X", + "display": "Dental Laboratory Technician" + }, + { + "code": "132700000X", + "display": "Dietary Manager" + }, + { + "code": "133N00000X", + "display": "Nutritionist" + }, + { + "code": "133V00000X", + "display": "Dietitian, Registered" + }, + { + "code": "136A00000X", + "display": "Dietetic Technician, Registered" + }, + { + "code": "146D00000X", + "display": "Personal Emergency Response Attendant" + }, + { + "code": "146L00000X", + "display": "Emergency Medical Technician, Paramedic" + }, + { + "code": "146M00000X", + "display": "Emergency Medical Technician, Intermediate" + }, + { + "code": "146N00000X", + "display": "Emergency Medical Technician, Basic" + }, + { + "code": "152W00000X", + "display": "Optometrist" + }, + { + "code": "156F00000X", + "display": "Technician/Technologist" + }, + { + "code": "163W00000X", + "display": "Registered Nurse" + }, + { + "code": "164W00000X", + "display": "Licensed Practical Nurse" + }, + { + "code": "164X00000X", + "display": "Licensed Vocational Nurse" + }, + { + "code": "167G00000X", + "display": "Licensed Psychiatric Technician" + }, + { + "code": "170100000X", + "display": "Medical Genetics, Ph.D. Medical Genetics" + }, + { + "code": "170300000X", + "display": "Genetic Counselor, MS" + }, + { + "code": "171000000X", + "display": "Military Health Care Provider" + }, + { + "code": "171100000X", + "display": "Acupuncturist" + }, + { + "code": "171M00000X", + "display": "Case Manager/Care Coordinator" + }, + { + "code": "171R00000X", + "display": "Interpreter" + }, + { + "code": "171W00000X", + "display": "Contractor" + }, + { + "code": "172A00000X", + "display": "Driver" + }, + { + "code": "172M00000X", + "display": "Mechanotherapist" + }, + { + "code": "172P00000X", + "display": "Naprapath" + }, + { + "code": "172V00000X", + "display": "Community Health Worker" + }, + { + "code": "173000000X", + "display": "Legal Medicine" + }, + { + "code": "173C00000X", + "display": "Reflexologist" + }, + { + "code": "173F00000X", + "display": "Sleep Specialist, PhD" + }, + { + "code": "174200000X", + "display": "Meals" + }, + { + "code": "174400000X", + "display": "Specialist" + }, + { + "code": "174H00000X", + "display": "Health Educator" + }, + { + "code": "174M00000X", + "display": "Veterinarian" + }, + { + "code": "174N00000X", + "display": "Lactation Consultant, Non-RN" + }, + { + "code": "174V00000X", + "display": "Clinical Ethicist" + }, + { + "code": "175F00000X", + "display": "Naturopath" + }, + { + "code": "175L00000X", + "display": "Homeopath" + }, + { + "code": "175M00000X", + "display": "Midwife, Lay" + }, + { + "code": "175T00000X", + "display": "Peer Specialist" + }, + { + "code": "176B00000X", + "display": "Midwife" + }, + { + "code": "176P00000X", + "display": "Funeral Director" + }, + { + "code": "177F00000X", + "display": "Lodging" + }, + { + "code": "183500000X", + "display": "Pharmacist" + }, + { + "code": "183700000X", + "display": "Pharmacy Technician" + }, + { + "code": "193200000X", + "display": "Multi-Specialty" + }, + { + "code": "193400000X", + "display": "Single Specialty" + }, + { + "code": "202C00000X", + "display": "Independent Medical Examiner" + }, + { + "code": "202K00000X", + "display": "Phlebology" + }, + { + "code": "204C00000X", + "display": "Neuromusculoskeletal Medicine, Sports Medicine" + }, + { + "code": "204D00000X", + "display": "Neuromusculoskeletal Medicine & OMM" + }, + { + "code": "204E00000X", + "display": "Oral & Maxillofacial Surgery" + }, + { + "code": "204F00000X", + "display": "Transplant Surgery" + }, + { + "code": "204R00000X", + "display": "Electrodiagnostic Medicine" + }, + { + "code": "207K00000X", + "display": "Allergy & Immunology" + }, + { + "code": "207L00000X", + "display": "Anesthesiology" + }, + { + "code": "207N00000X", + "display": "Dermatology" + }, + { + "code": "207P00000X", + "display": "Emergency Medicine" + }, + { + "code": "207Q00000X", + "display": "Family Medicine" + }, + { + "code": "207R00000X", + "display": "Internal Medicine" + }, + { + "code": "207T00000X", + "display": "Neurological Surgery" + }, + { + "code": "207U00000X", + "display": "Nuclear Medicine" + }, + { + "code": "207V00000X", + "display": "Obstetrics & Gynecology" + }, + { + "code": "207W00000X", + "display": "Ophthalmology" + }, + { + "code": "207X00000X", + "display": "Orthopaedic Surgery" + }, + { + "code": "207Y00000X", + "display": "Otolaryngology" + }, + { + "code": "208000000X", + "display": "Pediatrics" + }, + { + "code": "208100000X", + "display": "Physical Medicine & Rehabilitation" + }, + { + "code": "208200000X", + "display": "Plastic Surgery" + }, + { + "code": "208600000X", + "display": "Surgery" + }, + { + "code": "208800000X", + "display": "Urology" + }, + { + "code": "208C00000X", + "display": "Colon & Rectal Surgery" + }, + { + "code": "208D00000X", + "display": "General Practice" + }, + { + "code": "208G00000X", + "display": "Thoracic Surgery (Cardiothoracic Vascular Surgery)" + }, + { + "code": "208M00000X", + "display": "Hospitalist" + }, + { + "code": "208U00000X", + "display": "Clinical Pharmacology" + }, + { + "code": "209800000X", + "display": "Legal Medicine" + }, + { + "code": "211D00000X", + "display": "Assistant, Podiatric" + }, + { + "code": "213E00000X", + "display": "Podiatrist" + }, + { + "code": "221700000X", + "display": "Art Therapist" + }, + { + "code": "222Q00000X", + "display": "Developmental Therapist" + }, + { + "code": "222Z00000X", + "display": "Orthotist" + }, + { + "code": "224900000X", + "display": "Mastectomy Fitter" + }, + { + "code": "224L00000X", + "display": "Pedorthist" + }, + { + "code": "224P00000X", + "display": "Prosthetist" + }, + { + "code": "224Y00000X", + "display": "Clinical Exercise Physiologist" + }, + { + "code": "224Z00000X", + "display": "Occupational Therapy Assistant" + }, + { + "code": "225000000X", + "display": "Orthotic Fitter" + }, + { + "code": "225100000X", + "display": "Physical Therapist" + }, + { + "code": "225200000X", + "display": "Physical Therapy Assistant" + }, + { + "code": "225400000X", + "display": "Rehabilitation Practitioner" + }, + { + "code": "225500000X", + "display": "Specialist/Technologist" + }, + { + "code": "225600000X", + "display": "Dance Therapist" + }, + { + "code": "225700000X", + "display": "Massage Therapist" + }, + { + "code": "225800000X", + "display": "Recreation Therapist" + }, + { + "code": "225A00000X", + "display": "Music Therapist" + }, + { + "code": "225B00000X", + "display": "Pulmonary Function Technologist" + }, + { + "code": "225C00000X", + "display": "Rehabilitation Counselor" + }, + { + "code": "225X00000X", + "display": "Occupational Therapist" + }, + { + "code": "226000000X", + "display": "Recreational Therapist Assistant" + }, + { + "code": "226300000X", + "display": "Kinesiotherapist" + }, + { + "code": "227800000X", + "display": "Respiratory Therapist, Certified" + }, + { + "code": "227900000X", + "display": "Respiratory Therapist, Registered" + }, + { + "code": "229N00000X", + "display": "Anaplastologist" + }, + { + "code": "231H00000X", + "display": "Audiologist" + }, + { + "code": "235500000X", + "display": "Specialist/Technologist" + }, + { + "code": "235Z00000X", + "display": "Speech-Language Pathologist" + }, + { + "code": "237600000X", + "display": "Audiologist-Hearing Aid Fitter" + }, + { + "code": "237700000X", + "display": "Hearing Instrument Specialist" + }, + { + "code": "242T00000X", + "display": "Perfusionist" + }, + { + "code": "243U00000X", + "display": "Radiology Practitioner Assistant" + }, + { + "code": "246Q00000X", + "display": "Specialist/Technologist, Pathology" + }, + { + "code": "246R00000X", + "display": "Technician, Pathology" + }, + { + "code": "246W00000X", + "display": "Technician, Cardiology" + }, + { + "code": "246X00000X", + "display": "Specialist/Technologist Cardiovascular" + }, + { + "code": "246Y00000X", + "display": "Specialist/Technologist, Health Information" + }, + { + "code": "246Z00000X", + "display": "Specialist/Technologist, Other" + }, + { + "code": "247000000X", + "display": "Technician, Health Information" + }, + { + "code": "247100000X", + "display": "Radiologic Technologist" + }, + { + "code": "247200000X", + "display": "Technician, Other" + }, + { + "code": "251300000X", + "display": "Local Education Agency (LEA)" + }, + { + "code": "251B00000X", + "display": "Case Management" + }, + { + "code": "251C00000X", + "display": "Day Training, Developmentally Disabled Services" + }, + { + "code": "251E00000X", + "display": "Home Health" + }, + { + "code": "251F00000X", + "display": "Home Infusion" + }, + { + "code": "251G00000X", + "display": "Hospice Care, Community Based" + }, + { + "code": "251J00000X", + "display": "Nursing Care" + }, + { + "code": "251K00000X", + "display": "Public Health or Welfare" + }, + { + "code": "251S00000X", + "display": "Community/Behavioral Health" + }, + { + "code": "251T00000X", + "display": "Program of All-Inclusive Care for the Elderly (PACE) Provider Organization" + }, + { + "code": "251V00000X", + "display": "Voluntary or Charitable" + }, + { + "code": "251X00000X", + "display": "Supports Brokerage" + }, + { + "code": "252Y00000X", + "display": "Early Intervention Provider Agency" + }, + { + "code": "253J00000X", + "display": "Foster Care Agency" + }, + { + "code": "253Z00000X", + "display": "In Home Supportive Care" + }, + { + "code": "261Q00000X", + "display": "Clinic/Center" + }, + { + "code": "273100000X", + "display": "Epilepsy Unit" + }, + { + "code": "273R00000X", + "display": "Psychiatric Unit" + }, + { + "code": "273Y00000X", + "display": "Rehabilitation Unit" + }, + { + "code": "275N00000X", + "display": "Medicare Defined Swing Bed Unit" + }, + { + "code": "276400000X", + "display": "Rehabilitation, Substance Use Disorder Unit" + }, + { + "code": "281P00000X", + "display": "Chronic Disease Hospital" + }, + { + "code": "282E00000X", + "display": "Long Term Care Hospital" + }, + { + "code": "282J00000X", + "display": "Religious Nonmedical Health Care Institution" + }, + { + "code": "282N00000X", + "display": "General Acute Care Hospital" + }, + { + "code": "283Q00000X", + "display": "Psychiatric Hospital" + }, + { + "code": "283X00000X", + "display": "Rehabilitation Hospital" + }, + { + "code": "284300000X", + "display": "Special Hospital" + }, + { + "code": "286500000X", + "display": "Military Hospital" + }, + { + "code": "287300000X", + "display": "Christian Science Sanitorium" + }, + { + "code": "291900000X", + "display": "Military Clinical Medical Laboratory" + }, + { + "code": "291U00000X", + "display": "Clinical Medical Laboratory" + }, + { + "code": "292200000X", + "display": "Dental Laboratory" + }, + { + "code": "293D00000X", + "display": "Physiological Laboratory" + }, + { + "code": "302F00000X", + "display": "Exclusive Provider Organization" + }, + { + "code": "302R00000X", + "display": "Health Maintenance Organization" + }, + { + "code": "305R00000X", + "display": "Preferred Provider Organization" + }, + { + "code": "305S00000X", + "display": "Point of Service" + }, + { + "code": "310400000X", + "display": "Assisted Living Facility" + }, + { + "code": "310500000X", + "display": "Intermediate Care Facility, Mental Illness" + }, + { + "code": "311500000X", + "display": "Alzheimer Center (Dementia Center)" + }, + { + "code": "311Z00000X", + "display": "Custodial Care Facility" + }, + { + "code": "313M00000X", + "display": "Nursing Facility/Intermediate Care Facility" + }, + { + "code": "314000000X", + "display": "Skilled Nursing Facility" + }, + { + "code": "315D00000X", + "display": "Hospice, Inpatient" + }, + { + "code": "315P00000X", + "display": "Intermediate Care Facility, Mentally Retarded" + }, + { + "code": "317400000X", + "display": "Christian Science Facility" + }, + { + "code": "320600000X", + "display": "Residential Treatment Facility, Mental Retardation and/or Developmental Disabilities" + }, + { + "code": "320700000X", + "display": "Residential Treatment Facility, Physical Disabilities" + }, + { + "code": "320800000X", + "display": "Community Based Residential Treatment Facility, Mental Illness" + }, + { + "code": "320900000X", + "display": "Community Based Residential Treatment Facility, Mental Retardation and/or Developmental Disabilities" + }, + { + "code": "322D00000X", + "display": "Residential Treatment Facility, Emotionally Disturbed Children" + }, + { + "code": "323P00000X", + "display": "Psychiatric Residential Treatment Facility" + }, + { + "code": "324500000X", + "display": "Substance Abuse Rehabilitation Facility" + }, + { + "code": "331L00000X", + "display": "Blood Bank" + }, + { + "code": "332000000X", + "display": "Military/U.S. Coast Guard Pharmacy" + }, + { + "code": "332100000X", + "display": "Department of Veterans Affairs (VA) Pharmacy" + }, + { + "code": "332800000X", + "display": "Indian Health Service/Tribal/Urban Indian Health (I/T/U) Pharmacy" + }, + { + "code": "332900000X", + "display": "Non-Pharmacy Dispensing Site" + }, + { + "code": "332B00000X", + "display": "Durable Medical Equipment & Medical Supplies" + }, + { + "code": "332G00000X", + "display": "Eye Bank" + }, + { + "code": "332H00000X", + "display": "Eyewear Supplier" + }, + { + "code": "332S00000X", + "display": "Hearing Aid Equipment" + }, + { + "code": "332U00000X", + "display": "Home Delivered Meals" + }, + { + "code": "333300000X", + "display": "Emergency Response System Companies" + }, + { + "code": "333600000X", + "display": "Pharmacy" + }, + { + "code": "335E00000X", + "display": "Prosthetic/Orthotic Supplier" + }, + { + "code": "335G00000X", + "display": "Medical Foods Supplier" + }, + { + "code": "335U00000X", + "display": "Organ Procurement Organization" + }, + { + "code": "335V00000X", + "display": "Portable X-ray and/or Other Portable Diagnostic Imaging Supplier" + }, + { + "code": "341600000X", + "display": "Ambulance" + }, + { + "code": "341800000X", + "display": "Military/U.S. Coast Guard Transport" + }, + { + "code": "343800000X", + "display": "Secured Medical Transport (VAN)" + }, + { + "code": "343900000X", + "display": "Non-emergency Medical Transport (VAN)" + }, + { + "code": "344600000X", + "display": "Taxi" + }, + { + "code": "344800000X", + "display": "Air Carrier" + }, + { + "code": "347B00000X", + "display": "Bus" + }, + { + "code": "347C00000X", + "display": "Private Vehicle" + }, + { + "code": "347D00000X", + "display": "Train" + }, + { + "code": "347E00000X", + "display": "Transportation Broker" + }, + { + "code": "363A00000X", + "display": "Physician Assistant" + }, + { + "code": "363L00000X", + "display": "Nurse Practitioner" + }, + { + "code": "364S00000X", + "display": "Clinical Nurse Specialist" + }, + { + "code": "367500000X", + "display": "Nurse Anesthetist, Certified Registered" + }, + { + "code": "367A00000X", + "display": "Advanced Practice Midwife" + }, + { + "code": "367H00000X", + "display": "Anesthesiologist Assistant" + }, + { + "code": "372500000X", + "display": "Chore Provider" + }, + { + "code": "372600000X", + "display": "Adult Companion" + }, + { + "code": "373H00000X", + "display": "Day Training/Habilitation Specialist" + }, + { + "code": "374700000X", + "display": "Technician" + }, + { + "code": "374J00000X", + "display": "Doula" + }, + { + "code": "374K00000X", + "display": "Religious Nonmedical Practitioner" + }, + { + "code": "374T00000X", + "display": "Religious Nonmedical Nursing Personnel" + }, + { + "code": "374U00000X", + "display": "Home Health Aide" + }, + { + "code": "376G00000X", + "display": "Nursing Home Administrator" + }, + { + "code": "376J00000X", + "display": "Homemaker" + }, + { + "code": "376K00000X", + "display": "Nurse's Aide" + }, + { + "code": "385H00000X", + "display": "Respite Care" + }, + { + "code": "390200000X", + "display": "Student in an Organized Health Care Education/Training Program" + }, + { + "code": "405300000X", + "display": "Prevention Professional" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-provider-specialty.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-provider-specialty.json new file mode 100644 index 000000000..c66dc58fa --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-provider-specialty.json @@ -0,0 +1,45 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-provider-specialty", + "text": { + "status": "generated", + "div": "

US Core Provider Speciality (NUCC)

Provider speciality roles codes which are composed of the NUCC Health Care Provider Taxonomy Code Set for providers

\n

Copyright Statement: This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained.

This value set includes codes from the following code systems:

  • Include all codes defined in http://nucc.org/provider-taxonomy
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-specialty", + "version": "3.1.0", + "name": "USCoreProviderSpecialityNucc", + "title": "US Core Provider Speciality (NUCC)", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "Provider speciality roles codes which are composed of the NUCC Health Care Provider Taxonomy Code Set for providers", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained.", + "compose": { + "include": [ + { + "system": "http://nucc.org/provider-taxonomy" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-smoking-status-observation-codes.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-smoking-status-observation-codes.json new file mode 100644 index 000000000..18a5dd208 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-smoking-status-observation-codes.json @@ -0,0 +1,50 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-smoking-status-observation-codes", + "text": { + "status": "generated", + "div": "

US Core Smoking Status Observation Codes

The US Core Smoking Status Observation Codes Value Set is a 'starter set' of concepts to capture smoking status.

\n

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-smoking-status-observation-codes", + "version": "3.1.0", + "name": "USCoreSmokingStatusObservationCodes", + "title": "US Core Smoking Status Observation Codes", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "The US Core Smoking Status Observation Codes Value Set is a 'starter set' of concepts to capture smoking status.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "http://loinc.org", + "concept": [ + { + "code": "72166-2", + "display": "Tobacco smoking status NHIS" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-usps-state.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-usps-state.json new file mode 100644 index 000000000..8d304c3c6 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-usps-state.json @@ -0,0 +1,293 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-usps-state", + "text": { + "status": "generated", + "div": "

USPS Two Letter Alphabetic Codes

This value set defines two letter USPS alphabetic codes.

\n

Copyright Statement: On July 1, 1963, the Post Office Department implemented the five-digit ZIP Code, which was placed after the state name in the last line of an address. To provide room for the ZIP Code, the Department issued two-letter abbreviations for all states and territories. Publication 59, Abbreviations for Use with ZIP Code, issued by the Department in October 1963. Currently there is no copyright restriction on this value set.

This value set includes codes from the following code systems:

  • Include these codes as defined in https://www.usps.com/
    CodeDisplay
    AKAlaska
    ALAlabama
    ARArkansas
    ASAmerican Samoa
    AZArizona
    CACalifornia
    COColorado
    CTConnecticut
    DCDistrict of Columbia
    DEDelaware
    FLFlorida
    FMFederated States of Micronesia
    GAGeorgia
    GUGuam
    HIHawaii
    IAIowa
    IDIdaho
    ILIllinois
    INIndiana
    KSKansas
    KYKentucky
    LALouisiana
    MAMassachusetts
    MDMaryland
    MEMaine
    MHMarshall Islands
    MIMichigan
    MNMinnesota
    MOMissouri
    MPNorthern Mariana Islands
    MSMississippi
    MTMontana
    NCNorth Carolina
    NDNorth Dakota
    NENebraska
    NHNew Hampshire
    NJNew Jersey
    NMNew Mexico
    NVNevada
    NYNew York
    OHOhio
    OKOklahoma
    OROregon
    PAPennsylvania
    PRPuerto Rico
    PWPalau
    RIRhode Island
    SCSouth Carolina
    SDSouth Dakota
    TNTennessee
    TXTexas
    UMU.S. Minor Outlying Islands
    UTUtah
    VAVirginia
    VIVirgin Islands of the U.S.
    VTVermont
    WAWashington
    WIWisconsin
    WVWest Virginia
    WYWyoming
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.4.642.3.40" + } + ], + "version": "3.1.0", + "name": "UspsTwoLetterAlphabeticCodes", + "title": "USPS Two Letter Alphabetic Codes", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This value set defines two letter USPS alphabetic codes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "On July 1, 1963, the Post Office Department implemented the five-digit ZIP Code, which was placed after the state name in the last line of an address. To provide room for the ZIP Code, the Department issued two-letter abbreviations for all states and territories. Publication 59, Abbreviations for Use with ZIP Code, issued by the Department in October 1963. Currently there is no copyright restriction on this value set.", + "compose": { + "include": [ + { + "system": "https://www.usps.com/", + "concept": [ + { + "code": "AK", + "display": "Alaska" + }, + { + "code": "AL", + "display": "Alabama" + }, + { + "code": "AR", + "display": "Arkansas" + }, + { + "code": "AS", + "display": "American Samoa" + }, + { + "code": "AZ", + "display": "Arizona" + }, + { + "code": "CA", + "display": "California" + }, + { + "code": "CO", + "display": "Colorado" + }, + { + "code": "CT", + "display": "Connecticut" + }, + { + "code": "DC", + "display": "District of Columbia" + }, + { + "code": "DE", + "display": "Delaware" + }, + { + "code": "FL", + "display": "Florida" + }, + { + "code": "FM", + "display": "Federated States of Micronesia" + }, + { + "code": "GA", + "display": "Georgia" + }, + { + "code": "GU", + "display": "Guam" + }, + { + "code": "HI", + "display": "Hawaii" + }, + { + "code": "IA", + "display": "Iowa" + }, + { + "code": "ID", + "display": "Idaho" + }, + { + "code": "IL", + "display": "Illinois" + }, + { + "code": "IN", + "display": "Indiana" + }, + { + "code": "KS", + "display": "Kansas" + }, + { + "code": "KY", + "display": "Kentucky" + }, + { + "code": "LA", + "display": "Louisiana" + }, + { + "code": "MA", + "display": "Massachusetts" + }, + { + "code": "MD", + "display": "Maryland" + }, + { + "code": "ME", + "display": "Maine" + }, + { + "code": "MH", + "display": "Marshall Islands" + }, + { + "code": "MI", + "display": "Michigan" + }, + { + "code": "MN", + "display": "Minnesota" + }, + { + "code": "MO", + "display": "Missouri" + }, + { + "code": "MP", + "display": "Northern Mariana Islands" + }, + { + "code": "MS", + "display": "Mississippi" + }, + { + "code": "MT", + "display": "Montana" + }, + { + "code": "NC", + "display": "North Carolina" + }, + { + "code": "ND", + "display": "North Dakota" + }, + { + "code": "NE", + "display": "Nebraska" + }, + { + "code": "NH", + "display": "New Hampshire" + }, + { + "code": "NJ", + "display": "New Jersey" + }, + { + "code": "NM", + "display": "New Mexico" + }, + { + "code": "NV", + "display": "Nevada" + }, + { + "code": "NY", + "display": "New York" + }, + { + "code": "OH", + "display": "Ohio" + }, + { + "code": "OK", + "display": "Oklahoma" + }, + { + "code": "OR", + "display": "Oregon" + }, + { + "code": "PA", + "display": "Pennsylvania" + }, + { + "code": "PR", + "display": "Puerto Rico" + }, + { + "code": "PW", + "display": "Palau" + }, + { + "code": "RI", + "display": "Rhode Island" + }, + { + "code": "SC", + "display": "South Carolina" + }, + { + "code": "SD", + "display": "South Dakota" + }, + { + "code": "TN", + "display": "Tennessee" + }, + { + "code": "TX", + "display": "Texas" + }, + { + "code": "UM", + "display": "U.S. Minor Outlying Islands" + }, + { + "code": "UT", + "display": "Utah" + }, + { + "code": "VA", + "display": "Virginia" + }, + { + "code": "VI", + "display": "Virgin Islands of the U.S." + }, + { + "code": "VT", + "display": "Vermont" + }, + { + "code": "WA", + "display": "Washington" + }, + { + "code": "WI", + "display": "Wisconsin" + }, + { + "code": "WV", + "display": "West Virginia" + }, + { + "code": "WY", + "display": "Wyoming" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-vaccines-cvx.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-vaccines-cvx.json new file mode 100644 index 000000000..9ecb7bc48 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/ValueSet-us-core-vaccines-cvx.json @@ -0,0 +1,744 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-vaccines-cvx", + "text": { + "status": "generated", + "div": "

US Core Vaccine Administered Value Set (CVX)

This identifies the vaccine substance administered - CVX codes. Inclusion Criteria: Any CVX code with CVX 'status' (VSAC Property) = Active,Inactive, Non-US except those noted in exclusions. Exclusion Criteria: CVX codes that have a CVX 'status' of either Pending or Never Active AND CVX codes with CVX 'Nonvaccine' property = True. Available at http://www2a.cdc.gov/vaccines/iis/iisstandards/vaccines.asp?rpt=cvx

\n

This value set includes codes from the following code systems:

  • Include these codes as defined in http://hl7.org/fhir/sid/cvx
    CodeDisplay
    01diphtheria, tetanus toxoids and pertussis vaccine
    02trivalent poliovirus vaccine, live, oral
    03measles, mumps and rubella virus vaccine
    04measles and rubella virus vaccine
    05measles virus vaccine
    06rubella virus vaccine
    07mumps virus vaccine
    08hepatitis B vaccine, pediatric or pediatric/adolescent dosage
    09tetanus and diphtheria toxoids, adsorbed, preservative free, for adult use (2 Lf of tetanus toxoid and 2 Lf of diphtheria toxoid)
    10poliovirus vaccine, inactivated
    100pneumococcal conjugate vaccine, 7 valent
    101typhoid Vi capsular polysaccharide vaccine
    102DTP- Haemophilus influenzae type b conjugate and hepatitis b vaccine
    103meningococcal C conjugate vaccine
    104hepatitis A and hepatitis B vaccine
    105vaccinia (smallpox) vaccine, diluted
    106diphtheria, tetanus toxoids and acellular pertussis vaccine, 5 pertussis antigens
    107diphtheria, tetanus toxoids and acellular pertussis vaccine, unspecified formulation
    108meningococcal ACWY vaccine, unspecified formulation
    109pneumococcal vaccine, unspecified formulation
    11pertussis vaccine
    110DTaP-hepatitis B and poliovirus vaccine
    111influenza virus vaccine, live, attenuated, for intranasal use
    112tetanus toxoid, unspecified formulation
    113tetanus and diphtheria toxoids, adsorbed, preservative free, for adult use (5 Lf of tetanus toxoid and 2 Lf of diphtheria toxoid)
    114meningococcal polysaccharide (groups A, C, Y and W-135) diphtheria toxoid conjugate vaccine (MCV4P)
    115tetanus toxoid, reduced diphtheria toxoid, and acellular pertussis vaccine, adsorbed
    116rotavirus, live, pentavalent vaccine
    117varicella zoster immune globulin (Investigational New Drug)
    118human papilloma virus vaccine, bivalent
    119rotavirus, live, monovalent vaccine
    12diphtheria antitoxin
    120diphtheria, tetanus toxoids and acellular pertussis vaccine, Haemophilus influenzae type b conjugate, and poliovirus vaccine, inactivated (DTaP-Hib-IPV)
    121zoster vaccine, live
    122rotavirus vaccine, unspecified formulation
    123influenza virus vaccine, H5N1, A/Vietnam/1203/2004 (national stockpile)
    125Novel Influenza-H1N1-09, live virus for nasal administration
    126Novel influenza-H1N1-09, preservative-free, injectable
    127Novel influenza-H1N1-09, injectable
    128Novel influenza-H1N1-09, all formulations
    129Japanese Encephalitis vaccine, unspecified formulation
    13tetanus immune globulin
    130Diphtheria, tetanus toxoids and acellular pertussis vaccine, and poliovirus vaccine, inactivated
    131Historical record of a typhus vaccination
    132Historical diphtheria and tetanus toxoids and acellular pertussis, poliovirus, Haemophilus b conjugate and hepatitis B (recombinant) vaccine.
    133pneumococcal conjugate vaccine, 13 valent
    134Japanese Encephalitis vaccine for intramuscular administration
    135influenza, high dose seasonal, preservative-free
    136meningococcal oligosaccharide (groups A, C, Y and W-135) diphtheria toxoid conjugate vaccine (MCV4O)
    137HPV, unspecified formulation
    138tetanus and diphtheria toxoids, not adsorbed, for adult use
    139Td(adult) unspecified formulation
    14immune globulin, unspecified formulation
    140Influenza, seasonal, injectable, preservative free
    141Influenza, seasonal, injectable
    142tetanus toxoid, not adsorbed
    143Adenovirus, type 4 and type 7, live, oral
    144seasonal influenza, intradermal, preservative free
    147Meningococcal, MCV4, unspecified conjugate formulation(groups A, C, Y and W-135)
    148Meningococcal Groups C and Y and Haemophilus b Tetanus Toxoid Conjugate Vaccine
    149influenza, live, intranasal, quadrivalent
    15influenza virus vaccine, split virus (incl. purified surface antigen)-retired CODE
    150Influenza, injectable, quadrivalent, preservative free
    151influenza nasal, unspecified formulation
    152Pneumococcal Conjugate, unspecified formulation
    153Influenza, injectable, Madin Darby Canine Kidney, preservative free
    155Seasonal, trivalent, recombinant, injectable influenza vaccine, preservative free
    156Rho(D) Immune globulin- IV or IM
    157Rho(D) Immune globulin - IM
    158influenza, injectable, quadrivalent, contains preservative
    159Rho(D) Unspecified formulation
    16influenza virus vaccine, whole virus
    160Influenza A monovalent (H5N1), adjuvanted, National stockpile 2013
    161Influenza, injectable,quadrivalent, preservative free, pediatric
    162meningococcal B vaccine, fully recombinant
    163meningococcal B vaccine, recombinant, OMV, adjuvanted
    164meningococcal B, unspecified formulation
    165Human Papillomavirus 9-valent vaccine
    166influenza, intradermal, quadrivalent, preservative free, injectable
    167meningococcal vaccine of unknown formulation and unknown serogroups
    168Seasonal trivalent influenza vaccine, adjuvanted, preservative free
    169Hep A, live attenuated-IM
    17Haemophilus influenzae type b vaccine, conjugate unspecified formulation
    170non-US diphtheria, tetanus toxoids and acellular pertussis vaccine, Haemophilus influenzae type b conjugate, and poliovirus vaccine, inactivated (DTaP-Hib-IPV)
    171Influenza, injectable, Madin Darby Canine Kidney, preservative free, quadrivalent
    172cholera, WC-rBS
    173cholera, BivWC
    174cholera, live attenuated
    175Human Rabies vaccine from human diploid cell culture
    176Human rabies vaccine from Chicken fibroblast culture
    177pneumococcal conjugate vaccine, 10 valent
    178Non-US bivalent oral polio vaccine (types 1 and 3)
    179Non-US monovalent oral polio vaccine, unspecified formulation
    18rabies vaccine, for intramuscular injection RETIRED CODE
    180tetanus immune globulin
    181anthrax immune globulin
    182Oral Polio Vaccine, Unspecified formulation
    183Yellow fever vaccine alternative formulation
    184Yellow fever vaccine, unspecified formulation
    185Seasonal, quadrivalent, recombinant, injectable influenza vaccine, preservative free
    186Influenza, injectable, Madin Darby Canine Kidney, quadrivalent with preservative
    187zoster vaccine recombinant
    188zoster vaccine, unspecified formulation
    189Hepatitis B vaccine (recombinant), CpG adjuvanted
    19Bacillus Calmette-Guerin vaccine
    20diphtheria, tetanus toxoids and acellular pertussis vaccine
    21varicella virus vaccine
    22DTP-Haemophilus influenzae type b conjugate vaccine
    23plague vaccine
    24anthrax vaccine
    25typhoid vaccine, live, oral
    26cholera vaccine, unspecified formulation
    27botulinum antitoxin
    28diphtheria and tetanus toxoids, adsorbed for pediatric use
    29cytomegalovirus immune globulin, intravenous
    30hepatitis B immune globulin
    31hepatitis A vaccine, pediatric dosage, unspecified formulation
    32meningococcal polysaccharide vaccine (MPSV4)
    33pneumococcal polysaccharide vaccine, 23 valent
    34rabies immune globulin
    35tetanus toxoid, adsorbed
    36varicella zoster immune globulin
    37yellow fever vaccine
    38rubella and mumps virus vaccine
    39Japanese Encephalitis Vaccine SC
    40rabies vaccine, for intradermal injection
    41typhoid vaccine, parenteral, other than acetone-killed, dried
    42hepatitis B vaccine, adolescent/high risk infant dosage
    43hepatitis B vaccine, adult dosage
    44hepatitis B vaccine, dialysis patient dosage
    45hepatitis B vaccine, unspecified formulation
    46Haemophilus influenzae type b vaccine, PRP-D conjugate
    47Haemophilus influenzae type b vaccine, HbOC conjugate
    48Haemophilus influenzae type b vaccine, PRP-T conjugate
    49Haemophilus influenzae type b vaccine, PRP-OMP conjugate
    50DTaP-Haemophilus influenzae type b conjugate vaccine
    51Haemophilus influenzae type b conjugate and Hepatitis B vaccine
    52hepatitis A vaccine, adult dosage
    53typhoid vaccine, parenteral, acetone-killed, dried (U.S. military)
    54adenovirus vaccine, type 4, live, oral
    55adenovirus vaccine, type 7, live, oral
    62human papilloma virus vaccine, quadrivalent
    66Lyme disease vaccine
    69parainfluenza-3 virus vaccine
    71respiratory syncytial virus immune globulin, intravenous
    74rotavirus, live, tetravalent vaccine
    75vaccinia (smallpox) vaccine
    76Staphylococcus bacteriophage lysate
    77tick-borne encephalitis vaccine
    78tularemia vaccine
    79vaccinia immune globulin
    80Venezuelan equine encephalitis, live, attenuated
    801AS03 Adjuvant
    81Venezuelan equine encephalitis, inactivated
    82adenovirus vaccine, unspecified formulation
    83hepatitis A vaccine, pediatric/adolescent dosage, 2 dose schedule
    84hepatitis A vaccine, pediatric/adolescent dosage, 3 dose schedule
    85hepatitis A vaccine, unspecified formulation
    86immune globulin, intramuscular
    87immune globulin, intravenous
    88influenza virus vaccine, unspecified formulation
    89poliovirus vaccine, unspecified formulation
    90rabies vaccine, unspecified formulation
    91typhoid vaccine, unspecified formulation
    92Venezuelan equine encephalitis vaccine, unspecified formulation
    93respiratory syncytial virus monoclonal antibody (palivizumab), intramuscular
    94measles, mumps, rubella, and varicella virus vaccine
    95tuberculin skin test; old tuberculin, multipuncture device
    96tuberculin skin test; purified protein derivative solution, intradermal
    97tuberculin skin test; purified protein derivative, multipuncture device
    98tuberculin skin test; unspecified formulation
    998no vaccine administered
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-vaccines-cvx", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113762.1.4.1010.6" + }, + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.3.88.12.80.22" + } + ], + "version": "3.1.0", + "name": "USCoreVaccineAdministeredValueSetCvx", + "title": "US Core Vaccine Administered Value Set (CVX)", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This identifies the vaccine substance administered - CVX codes. **Inclusion Criteria:** Any CVX code with CVX 'status' (VSAC Property) = `Active`,` Inactive`, `Non-US` except those noted in exclusions. **Exclusion Criteria:** CVX codes that have a CVX 'status' of either `Pending` or `Never Active` AND CVX codes with CVX 'Nonvaccine' property = True. Available at http://www2a.cdc.gov/vaccines/iis/iisstandards/vaccines.asp?rpt=cvx", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "concept": [ + { + "code": "01", + "display": "diphtheria, tetanus toxoids and pertussis vaccine" + }, + { + "code": "02", + "display": "trivalent poliovirus vaccine, live, oral" + }, + { + "code": "03", + "display": "measles, mumps and rubella virus vaccine" + }, + { + "code": "04", + "display": "measles and rubella virus vaccine" + }, + { + "code": "05", + "display": "measles virus vaccine" + }, + { + "code": "06", + "display": "rubella virus vaccine" + }, + { + "code": "07", + "display": "mumps virus vaccine" + }, + { + "code": "08", + "display": "hepatitis B vaccine, pediatric or pediatric/adolescent dosage" + }, + { + "code": "09", + "display": "tetanus and diphtheria toxoids, adsorbed, preservative free, for adult use (2 Lf of tetanus toxoid and 2 Lf of diphtheria toxoid)" + }, + { + "code": "10", + "display": "poliovirus vaccine, inactivated" + }, + { + "code": "100", + "display": "pneumococcal conjugate vaccine, 7 valent" + }, + { + "code": "101", + "display": "typhoid Vi capsular polysaccharide vaccine" + }, + { + "code": "102", + "display": "DTP- Haemophilus influenzae type b conjugate and hepatitis b vaccine" + }, + { + "code": "103", + "display": "meningococcal C conjugate vaccine" + }, + { + "code": "104", + "display": "hepatitis A and hepatitis B vaccine" + }, + { + "code": "105", + "display": "vaccinia (smallpox) vaccine, diluted" + }, + { + "code": "106", + "display": "diphtheria, tetanus toxoids and acellular pertussis vaccine, 5 pertussis antigens" + }, + { + "code": "107", + "display": "diphtheria, tetanus toxoids and acellular pertussis vaccine, unspecified formulation" + }, + { + "code": "108", + "display": "meningococcal ACWY vaccine, unspecified formulation" + }, + { + "code": "109", + "display": "pneumococcal vaccine, unspecified formulation" + }, + { + "code": "11", + "display": "pertussis vaccine" + }, + { + "code": "110", + "display": "DTaP-hepatitis B and poliovirus vaccine" + }, + { + "code": "111", + "display": "influenza virus vaccine, live, attenuated, for intranasal use" + }, + { + "code": "112", + "display": "tetanus toxoid, unspecified formulation" + }, + { + "code": "113", + "display": "tetanus and diphtheria toxoids, adsorbed, preservative free, for adult use (5 Lf of tetanus toxoid and 2 Lf of diphtheria toxoid)" + }, + { + "code": "114", + "display": "meningococcal polysaccharide (groups A, C, Y and W-135) diphtheria toxoid conjugate vaccine (MCV4P)" + }, + { + "code": "115", + "display": "tetanus toxoid, reduced diphtheria toxoid, and acellular pertussis vaccine, adsorbed" + }, + { + "code": "116", + "display": "rotavirus, live, pentavalent vaccine" + }, + { + "code": "117", + "display": "varicella zoster immune globulin (Investigational New Drug)" + }, + { + "code": "118", + "display": "human papilloma virus vaccine, bivalent" + }, + { + "code": "119", + "display": "rotavirus, live, monovalent vaccine" + }, + { + "code": "12", + "display": "diphtheria antitoxin" + }, + { + "code": "120", + "display": "diphtheria, tetanus toxoids and acellular pertussis vaccine, Haemophilus influenzae type b conjugate, and poliovirus vaccine, inactivated (DTaP-Hib-IPV)" + }, + { + "code": "121", + "display": "zoster vaccine, live" + }, + { + "code": "122", + "display": "rotavirus vaccine, unspecified formulation" + }, + { + "code": "123", + "display": "influenza virus vaccine, H5N1, A/Vietnam/1203/2004 (national stockpile)" + }, + { + "code": "125", + "display": "Novel Influenza-H1N1-09, live virus for nasal administration" + }, + { + "code": "126", + "display": "Novel influenza-H1N1-09, preservative-free, injectable" + }, + { + "code": "127", + "display": "Novel influenza-H1N1-09, injectable" + }, + { + "code": "128", + "display": "Novel influenza-H1N1-09, all formulations" + }, + { + "code": "129", + "display": "Japanese Encephalitis vaccine, unspecified formulation" + }, + { + "code": "13", + "display": "tetanus immune globulin" + }, + { + "code": "130", + "display": "Diphtheria, tetanus toxoids and acellular pertussis vaccine, and poliovirus vaccine, inactivated" + }, + { + "code": "131", + "display": "Historical record of a typhus vaccination" + }, + { + "code": "132", + "display": "Historical diphtheria and tetanus toxoids and acellular pertussis, poliovirus, Haemophilus b conjugate and hepatitis B (recombinant) vaccine." + }, + { + "code": "133", + "display": "pneumococcal conjugate vaccine, 13 valent" + }, + { + "code": "134", + "display": "Japanese Encephalitis vaccine for intramuscular administration" + }, + { + "code": "135", + "display": "influenza, high dose seasonal, preservative-free" + }, + { + "code": "136", + "display": "meningococcal oligosaccharide (groups A, C, Y and W-135) diphtheria toxoid conjugate vaccine (MCV4O)" + }, + { + "code": "137", + "display": "HPV, unspecified formulation" + }, + { + "code": "138", + "display": "tetanus and diphtheria toxoids, not adsorbed, for adult use" + }, + { + "code": "139", + "display": "Td(adult) unspecified formulation" + }, + { + "code": "14", + "display": "immune globulin, unspecified formulation" + }, + { + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + }, + { + "code": "141", + "display": "Influenza, seasonal, injectable" + }, + { + "code": "142", + "display": "tetanus toxoid, not adsorbed" + }, + { + "code": "143", + "display": "Adenovirus, type 4 and type 7, live, oral" + }, + { + "code": "144", + "display": "seasonal influenza, intradermal, preservative free" + }, + { + "code": "147", + "display": "Meningococcal, MCV4, unspecified conjugate formulation(groups A, C, Y and W-135)" + }, + { + "code": "148", + "display": "Meningococcal Groups C and Y and Haemophilus b Tetanus Toxoid Conjugate Vaccine" + }, + { + "code": "149", + "display": "influenza, live, intranasal, quadrivalent" + }, + { + "code": "15", + "display": "influenza virus vaccine, split virus (incl. purified surface antigen)-retired CODE" + }, + { + "code": "150", + "display": "Influenza, injectable, quadrivalent, preservative free" + }, + { + "code": "151", + "display": "influenza nasal, unspecified formulation" + }, + { + "code": "152", + "display": "Pneumococcal Conjugate, unspecified formulation" + }, + { + "code": "153", + "display": "Influenza, injectable, Madin Darby Canine Kidney, preservative free" + }, + { + "code": "155", + "display": "Seasonal, trivalent, recombinant, injectable influenza vaccine, preservative free" + }, + { + "code": "156", + "display": "Rho(D) Immune globulin- IV or IM" + }, + { + "code": "157", + "display": "Rho(D) Immune globulin - IM" + }, + { + "code": "158", + "display": "influenza, injectable, quadrivalent, contains preservative" + }, + { + "code": "159", + "display": "Rho(D) Unspecified formulation" + }, + { + "code": "16", + "display": "influenza virus vaccine, whole virus" + }, + { + "code": "160", + "display": "Influenza A monovalent (H5N1), adjuvanted, National stockpile 2013" + }, + { + "code": "161", + "display": "Influenza, injectable,quadrivalent, preservative free, pediatric" + }, + { + "code": "162", + "display": "meningococcal B vaccine, fully recombinant" + }, + { + "code": "163", + "display": "meningococcal B vaccine, recombinant, OMV, adjuvanted" + }, + { + "code": "164", + "display": "meningococcal B, unspecified formulation" + }, + { + "code": "165", + "display": "Human Papillomavirus 9-valent vaccine" + }, + { + "code": "166", + "display": "influenza, intradermal, quadrivalent, preservative free, injectable" + }, + { + "code": "167", + "display": "meningococcal vaccine of unknown formulation and unknown serogroups" + }, + { + "code": "168", + "display": "Seasonal trivalent influenza vaccine, adjuvanted, preservative free" + }, + { + "code": "169", + "display": "Hep A, live attenuated-IM" + }, + { + "code": "17", + "display": "Haemophilus influenzae type b vaccine, conjugate unspecified formulation" + }, + { + "code": "170", + "display": "non-US diphtheria, tetanus toxoids and acellular pertussis vaccine, Haemophilus influenzae type b conjugate, and poliovirus vaccine, inactivated (DTaP-Hib-IPV)" + }, + { + "code": "171", + "display": "Influenza, injectable, Madin Darby Canine Kidney, preservative free, quadrivalent" + }, + { + "code": "172", + "display": "cholera, WC-rBS" + }, + { + "code": "173", + "display": "cholera, BivWC" + }, + { + "code": "174", + "display": "cholera, live attenuated" + }, + { + "code": "175", + "display": "Human Rabies vaccine from human diploid cell culture" + }, + { + "code": "176", + "display": "Human rabies vaccine from Chicken fibroblast culture" + }, + { + "code": "177", + "display": "pneumococcal conjugate vaccine, 10 valent" + }, + { + "code": "178", + "display": "Non-US bivalent oral polio vaccine (types 1 and 3)" + }, + { + "code": "179", + "display": "Non-US monovalent oral polio vaccine, unspecified formulation" + }, + { + "code": "18", + "display": "rabies vaccine, for intramuscular injection RETIRED CODE" + }, + { + "code": "180", + "display": "tetanus immune globulin" + }, + { + "code": "181", + "display": "anthrax immune globulin" + }, + { + "code": "182", + "display": "Oral Polio Vaccine, Unspecified formulation" + }, + { + "code": "183", + "display": "Yellow fever vaccine alternative formulation" + }, + { + "code": "184", + "display": "Yellow fever vaccine, unspecified formulation" + }, + { + "code": "185", + "display": "Seasonal, quadrivalent, recombinant, injectable influenza vaccine, preservative free" + }, + { + "code": "186", + "display": "Influenza, injectable, Madin Darby Canine Kidney, quadrivalent with preservative" + }, + { + "code": "187", + "display": "zoster vaccine recombinant" + }, + { + "code": "188", + "display": "zoster vaccine, unspecified formulation" + }, + { + "code": "189", + "display": "Hepatitis B vaccine (recombinant), CpG adjuvanted" + }, + { + "code": "19", + "display": "Bacillus Calmette-Guerin vaccine" + }, + { + "code": "20", + "display": "diphtheria, tetanus toxoids and acellular pertussis vaccine" + }, + { + "code": "21", + "display": "varicella virus vaccine" + }, + { + "code": "22", + "display": "DTP-Haemophilus influenzae type b conjugate vaccine" + }, + { + "code": "23", + "display": "plague vaccine" + }, + { + "code": "24", + "display": "anthrax vaccine" + }, + { + "code": "25", + "display": "typhoid vaccine, live, oral" + }, + { + "code": "26", + "display": "cholera vaccine, unspecified formulation" + }, + { + "code": "27", + "display": "botulinum antitoxin" + }, + { + "code": "28", + "display": "diphtheria and tetanus toxoids, adsorbed for pediatric use" + }, + { + "code": "29", + "display": "cytomegalovirus immune globulin, intravenous" + }, + { + "code": "30", + "display": "hepatitis B immune globulin" + }, + { + "code": "31", + "display": "hepatitis A vaccine, pediatric dosage, unspecified formulation" + }, + { + "code": "32", + "display": "meningococcal polysaccharide vaccine (MPSV4)" + }, + { + "code": "33", + "display": "pneumococcal polysaccharide vaccine, 23 valent" + }, + { + "code": "34", + "display": "rabies immune globulin" + }, + { + "code": "35", + "display": "tetanus toxoid, adsorbed" + }, + { + "code": "36", + "display": "varicella zoster immune globulin" + }, + { + "code": "37", + "display": "yellow fever vaccine" + }, + { + "code": "38", + "display": "rubella and mumps virus vaccine" + }, + { + "code": "39", + "display": "Japanese Encephalitis Vaccine SC" + }, + { + "code": "40", + "display": "rabies vaccine, for intradermal injection" + }, + { + "code": "41", + "display": "typhoid vaccine, parenteral, other than acetone-killed, dried" + }, + { + "code": "42", + "display": "hepatitis B vaccine, adolescent/high risk infant dosage" + }, + { + "code": "43", + "display": "hepatitis B vaccine, adult dosage" + }, + { + "code": "44", + "display": "hepatitis B vaccine, dialysis patient dosage" + }, + { + "code": "45", + "display": "hepatitis B vaccine, unspecified formulation" + }, + { + "code": "46", + "display": "Haemophilus influenzae type b vaccine, PRP-D conjugate" + }, + { + "code": "47", + "display": "Haemophilus influenzae type b vaccine, HbOC conjugate" + }, + { + "code": "48", + "display": "Haemophilus influenzae type b vaccine, PRP-T conjugate" + }, + { + "code": "49", + "display": "Haemophilus influenzae type b vaccine, PRP-OMP conjugate" + }, + { + "code": "50", + "display": "DTaP-Haemophilus influenzae type b conjugate vaccine" + }, + { + "code": "51", + "display": "Haemophilus influenzae type b conjugate and Hepatitis B vaccine" + }, + { + "code": "52", + "display": "hepatitis A vaccine, adult dosage" + }, + { + "code": "53", + "display": "typhoid vaccine, parenteral, acetone-killed, dried (U.S. military)" + }, + { + "code": "54", + "display": "adenovirus vaccine, type 4, live, oral" + }, + { + "code": "55", + "display": "adenovirus vaccine, type 7, live, oral" + }, + { + "code": "62", + "display": "human papilloma virus vaccine, quadrivalent" + }, + { + "code": "66", + "display": "Lyme disease vaccine" + }, + { + "code": "69", + "display": "parainfluenza-3 virus vaccine" + }, + { + "code": "71", + "display": "respiratory syncytial virus immune globulin, intravenous" + }, + { + "code": "74", + "display": "rotavirus, live, tetravalent vaccine" + }, + { + "code": "75", + "display": "vaccinia (smallpox) vaccine" + }, + { + "code": "76", + "display": "Staphylococcus bacteriophage lysate" + }, + { + "code": "77", + "display": "tick-borne encephalitis vaccine" + }, + { + "code": "78", + "display": "tularemia vaccine" + }, + { + "code": "79", + "display": "vaccinia immune globulin" + }, + { + "code": "80", + "display": "Venezuelan equine encephalitis, live, attenuated" + }, + { + "code": "801", + "display": "AS03 Adjuvant" + }, + { + "code": "81", + "display": "Venezuelan equine encephalitis, inactivated" + }, + { + "code": "82", + "display": "adenovirus vaccine, unspecified formulation" + }, + { + "code": "83", + "display": "hepatitis A vaccine, pediatric/adolescent dosage, 2 dose schedule" + }, + { + "code": "84", + "display": "hepatitis A vaccine, pediatric/adolescent dosage, 3 dose schedule" + }, + { + "code": "85", + "display": "hepatitis A vaccine, unspecified formulation" + }, + { + "code": "86", + "display": "immune globulin, intramuscular" + }, + { + "code": "87", + "display": "immune globulin, intravenous" + }, + { + "code": "88", + "display": "influenza virus vaccine, unspecified formulation" + }, + { + "code": "89", + "display": "poliovirus vaccine, unspecified formulation" + }, + { + "code": "90", + "display": "rabies vaccine, unspecified formulation" + }, + { + "code": "91", + "display": "typhoid vaccine, unspecified formulation" + }, + { + "code": "92", + "display": "Venezuelan equine encephalitis vaccine, unspecified formulation" + }, + { + "code": "93", + "display": "respiratory syncytial virus monoclonal antibody (palivizumab), intramuscular" + }, + { + "code": "94", + "display": "measles, mumps, rubella, and varicella virus vaccine" + }, + { + "code": "95", + "display": "tuberculin skin test; old tuberculin, multipuncture device" + }, + { + "code": "96", + "display": "tuberculin skin test; purified protein derivative solution, intradermal" + }, + { + "code": "97", + "display": "tuberculin skin test; purified protein derivative, multipuncture device" + }, + { + "code": "98", + "display": "tuberculin skin test; unspecified formulation" + }, + { + "code": "998", + "display": "no vaccine administered" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/valueset-marital-status.json b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/valueset-marital-status.json new file mode 100644 index 000000000..5c6a88c46 --- /dev/null +++ b/evaluator.cli/src/test/resources/r4/vocabulary/ValueSet/valueset-marital-status.json @@ -0,0 +1 @@ +{"resourceType" : "ValueSet","id" : "marital-status","meta" : {"versionId" : "1","lastUpdated" : "2018-12-14T02:05:07.332Z","profile" : ["http://hl7.org/fhir/StructureDefinition/shareablevalueset"]},"url" : "http://hl7.org/fhir/ValueSet/marital-status","identifier" : [{"system" : "urn:ietf:rfc:3986","value" : "urn:oid:2.16.840.1.113883.4.642.3.29"}],"version" : "4.0.0","name" : "Marital Status Codes","title" : "MaritalStatus","status" : "active","experimental" : false,"date" : "2018-12-14T01:14:32+00:00","expansion" : {"identifier" : "urn:uuid:239279b7-49a9-4e5b-a9c3-c1653cf6ffd8","timestamp" : "2020-05-09T22:02:37.490Z","parameter" : [{"name" : "expansion-source","valueString" : "ValueSet/marital-status"},{"name" : "displayLanguage","valueString" : "en-US,en;q=0.5"},{"name" : "version","valueString" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus|2018-08-12"},{"name" : "version","valueString" : "http://terminology.hl7.org/CodeSystem/v3-NullFlavor|2018-08-12"}],"contains" : [{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "Marriage contract has been declared null and to not have existed"}],"system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus","code" : "A","display" : "Annulled"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "Marriage contract has been declared dissolved and inactive"}],"system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus","code" : "D","display" : "Divorced"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "Subject to an Interlocutory Decree."}],"system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus","code" : "I","display" : "Interlocutory"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "Legally Separated"}],"system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus","code" : "L","display" : "Legally Separated"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "A current marriage contract is active"}],"system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus","code" : "M","display" : "Married"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "More than 1 current spouse"}],"system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus","code" : "P","display" : "Polygamous"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "No marriage contract has ever been entered"}],"system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus","code" : "S","display" : "Never Married"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "Person declares that a domestic partner relationship exists."}],"system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus","code" : "T","display" : "Domestic partner"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "Currently not in a marriage contract."}],"system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus","code" : "U","display" : "unmarried"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "The spouse has died"}],"system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus","code" : "W","display" : "Widowed"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "Description:A proper value is applicable, but not known.\r\n\n \n Usage Notes: This means the actual value is not known. If the only thing that is unknown is how to properly express the value in the necessary constraints (value set, datatype, etc.), then the OTH or UNC flavor should be used. No properties should be included for a datatype with this property unless:\r\n\n \n Those properties themselves directly translate to a semantic of \"unknown\". (E.g. a local code sent as a translation that conveys 'unknown')\n Those properties further qualify the nature of what is unknown. (E.g. specifying a use code of \"H\" and a URL prefix of \"tel:\" to convey that it is the home phone number that is unknown.)"}],"system" : "http://terminology.hl7.org/CodeSystem/v3-NullFlavor","code" : "UNK","display" : "unknown"}]}} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/TestUSCore.cql b/evaluator.cli/src/test/resources/uscore/TestUSCore.cql new file mode 100644 index 000000000..64939a324 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/TestUSCore.cql @@ -0,0 +1,94 @@ +library TestUSCore + +using USCore version '3.1.0' + +include FHIRHelpers version '4.0.1' + +codesystem "Marital Status Codes": 'http://terminology.hl7.org/CodeSystem/v3-MaritalStatus' +codesystem "CDC Race and Ethnicity Codes": 'urn:oid:2.16.840.1.113883.6.238' + +valueset "Marital Status": 'http://hl7.org/fhir/ValueSet/marital-status' + +code "Marital Status - Married": 'M' from "Marital Status Codes" +code "American Indian or Alaska Native": '1002-5' from "CDC Race and Ethnicity Codes" +code "Shoshone": '1586-7' from "CDC Race and Ethnicity Codes" + +context Patient + +define TestPatient: ["PatientProfile"] +define TestAllergyIntolerance: ["AllergyIntolerance"] +define TestCarePlan: ["CarePlanProfile"] +define TestCareTeam: ["CareTeam"] +define TestCondition: ["Condition"] +define TestDiagnosticReport: ["DiagnosticReportProfileLaboratoryReporting"] +define TestDiagnosticReportNote: ["DiagnosticReportProfileNoteExchange"] +define TestDocumentReference: ["DocumentReferenceProfile"] +define TestEncounter: ["EncounterProfile"] +define TestGoal: ["GoalProfile"] +define TestImmunization: ["ImmunizationProfile"] +define TestImplantableDevice: ["ImplantableDeviceProfile"] +define TestObservation: ["LaboratoryResultObservationProfile"] +define TestLocation: ["Location"] +define TestMedication: ["MedicationProfile"] +define TestMedicationRequest: ["MedicationRequestProfile"] +define TestOrganization: ["OrganizationProfile"] +define TestVitalsPanel: ["observation-vitalspanel"] +define TestRespRate: ["observation-resprate"] +define TestHeartRate: ["observation-heartrate"] +define TestOxygenSat: ["observation-oxygensat"] +define TestBodyTemp: ["observation-bodytemp"] +define TestBodyHeight: ["observation-bodyheight"] +define TestHeadCircum: ["observation-headcircum"] +define TestBodyWeight: ["observation-bodyweight"] +define TestBMI: ["observation-bmi"] +define TestBP: ["observation-bp"] +define TestSmokingStatus: ["SmokingStatusProfile"] +define TestPulseOximetry: ["PulseOximetryProfile"] +define TestPediatricBMIForAge: ["PediatricBMIforAgeObservationProfile"] +define TestPediatricWeightForHeight: ["PediatricWeightForHeightObservationProfile"] +define TestPractitioner: ["PractitionerProfile"] +define TestPractitionerRole: ["PractitionerRoleProfile"] +define TestProcedure: ["ProcedureProfile"] +define TestProvenance: ["Provenance"] + +define TestPatientGender: + Patient P + where P.gender = 'female' + +define TestPatientActive: + Patient P + where P.active is true + +define TestPatientBirthDate: + Patient P + where P.birthDate before Today() + +define TestPatientMaritalStatusMembership: + Patient P + where P.maritalStatus in "Marital Status" + +define TestPatientMartialStatusComparison: + Patient P + where P.maritalStatus ~ "Marital Status - Married" + +define TestPatientDeceasedAsBoolean: + Patient P + where P.deceased is false + +define TestPatientDeceasedAsDateTime: + Patient P + where P.deceased before Today() + +define TestSlices: + ["observation-bp"] BP + where BP.SystolicBP.value < 140 'mm[Hg]' + and BP.DiastolicBP.value < 90 'mm[Hg]' + +define TestSimpleExtensions: + Patient P + where P.birthsex = 'M' + +define TestComplexExtensions: + Patient P + where exists (P.race.ombCategory C where C ~ "American Indian or Alaska Native") + and exists (P.race.detailed C where C ~ "Shoshone") diff --git a/evaluator.cli/src/test/resources/uscore/example/AllergyIntolerance/AllergyIntolerance-example.json b/evaluator.cli/src/test/resources/uscore/example/AllergyIntolerance/AllergyIntolerance-example.json new file mode 100644 index 000000000..02ae02bf5 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/AllergyIntolerance/AllergyIntolerance-example.json @@ -0,0 +1,64 @@ +{ + "resourceType": "AllergyIntolerance", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

clinicalStatus: Active (Details : {http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical code 'active' = 'Active)

verificationStatus: Confirmed (Details : {http://terminology.hl7.org/CodeSystem/allergyintolerance-verification code 'confirmed' = 'Confirmed)

category: medication

criticality: high

code: sulfonamide antibacterial (Details : {SNOMED CT code '387406002' = 'Sulfonamide (substance)', given as 'Sulfonamide (substance)'})

patient: Amy V. Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

Reactions

-ManifestationSeverity
*skin rash (Details : {SNOMED CT code '271807003' = 'Eruption of skin (disorder)', given as 'skin rash'})mild
" + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "code": "active" + } + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification", + "code": "confirmed" + } + ] + }, + "category": [ + "medication" + ], + "criticality": "high", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "387406002", + "display": "Sulfonamide (substance)" + } + ], + "text": "sulfonamide antibacterial" + }, + "patient": { + "reference": "Patient/example", + "display": "Amy V. Shaw" + }, + "reaction": [ + { + "manifestation": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "271807003", + "display": "skin rash" + } + ], + "text": "skin rash" + } + ], + "severity": "mild" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/CarePlan/CarePlan-colonoscopy.json b/evaluator.cli/src/test/resources/uscore/example/CarePlan/CarePlan-colonoscopy.json new file mode 100644 index 000000000..dda40491d --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/CarePlan/CarePlan-colonoscopy.json @@ -0,0 +1,29 @@ +{ + "resourceType": "CarePlan", + "id": "colonoscopy", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan" + ] + }, + "text": { + "status": "additional", + "div": "
\n\t\t\tAssessment\n\t\t\t
    \n\t\t\t\t
  1. Recurrent GI bleed of unknown etiology; hypotension perhaps secondary to this but as likely secondary to polypharmacy.
  2. \n\t\t\t\t
  3. Acute on chronic anemia secondary to #1.
  4. \n\t\t\t\t
  5. Azotemia, acute renal failure with volume loss secondary to #1.
  6. \n\t\t\t\t
  7. Hyperkalemia secondary to #3 and on ACE and K+ supplement.
  8. \n\t\t\t\t
  9. Other chronic diagnoses as noted above, currently stable.
  10. \n\t\t\t
\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
Planned ActivityPlanned Date
ColonoscopyApril 21, 2000
\n\t\t
" + }, + "status": "active", + "intent": "order", + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "code": "assess-plan" + } + ] + } + ], + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/CareTeam/CareTeam-example.json b/evaluator.cli/src/test/resources/uscore/example/CareTeam/CareTeam-example.json new file mode 100644 index 000000000..021c72479 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/CareTeam/CareTeam-example.json @@ -0,0 +1,72 @@ +{ + "resourceType": "CareTeam", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

status: active

name: US-Core example CareTeam

subject: Amy V. Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

participant

role: Allopathic &amp; Osteopathic Physicians:Internal Medicine:Cardiovascular Disease (Details : {http://nucc.org/provider-taxonomy code '207RC0000X' = 'Cardiovascular Disease', given as 'Allopathic &amp; Osteopathic Physicians:Internal Medicine:Cardiovascular Disease'})

member: Ronald Bone, MD. Generated Summary: id: practitioner-1; 9941339108, 25456; Ronald Bone

participant

role: Allopathic &amp; Osteopathic Physicians:General Practice (Details : {http://nucc.org/provider-taxonomy code '208D00000X' = 'General Practice', given as 'Allopathic &amp; Osteopathic Physicians:General Practice'})

member: Kathy Fielding, MD. Generated Summary: id: practitioner-2; 1245319599, 456789; Fielding Kathy

participant

role: Patient (person) (Details : {SNOMED CT code '116154003' = 'Patient', given as 'Patient (person)'})

member: Amy V. Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

" + }, + "status": "active", + "name": "US-Core example CareTeam", + "subject": { + "reference": "Patient/example", + "display": "Amy V. Shaw" + }, + "participant": [ + { + "role": [ + { + "coding": [ + { + "system": "http://nucc.org/provider-taxonomy", + "code": "207RC0000X", + "display": "Allopathic & Osteopathic Physicians:Internal Medicine:Cardiovascular Disease" + } + ] + } + ], + "member": { + "reference": "Practitioner/practitioner-1", + "display": "Ronald Bone, MD" + } + }, + { + "role": [ + { + "coding": [ + { + "system": "http://nucc.org/provider-taxonomy", + "code": "208D00000X", + "display": "Allopathic & Osteopathic Physicians:General Practice" + } + ] + } + ], + "member": { + "reference": "Practitioner/practitioner-2", + "display": "Kathy Fielding, MD" + } + }, + { + "role": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "116154003", + "display": "Patient (person)" + } + ] + } + ], + "member": { + "reference": "Patient/example", + "display": "Amy V. Shaw" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/Condition/Condition-example.json b/evaluator.cli/src/test/resources/uscore/example/Condition/Condition-example.json new file mode 100644 index 000000000..f8400803f --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/Condition/Condition-example.json @@ -0,0 +1,60 @@ +{ + "resourceType": "Condition", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example

meta:

clinicalStatus: Active (Details : {http://terminology.hl7.org/CodeSystem/condition-clinical code 'active' = 'Active', given as 'Active'})

verificationStatus: Confirmed (Details : {http://terminology.hl7.org/CodeSystem/condition-ver-status code 'confirmed' = 'Confirmed', given as 'Confirmed'})

category: Problem (Details : {http://terminology.hl7.org/CodeSystem/condition-category code 'problem-list-item' = 'Problem List Item', given as 'Problem List Item'})

code: Single liveborn, born in hospital (Details : {SNOMED CT code '442311008' = 'Liveborn born in hospital', given as 'Liveborn born in hospital'})

subject: Amy V. Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

onset: 10/08/2016 12:00:00 AM

" + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "active", + "display": "Active" + } + ], + "text": "Active" + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem" + } + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "442311008", + "display": "Liveborn born in hospital" + } + ], + "text": "Single liveborn, born in hospital" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy V. Shaw" + }, + "onsetDateTime": "2016-08-10" +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/Condition/Condition-hc1.json b/evaluator.cli/src/test/resources/uscore/example/Condition/Condition-hc1.json new file mode 100644 index 000000000..b8c2c6b98 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/Condition/Condition-hc1.json @@ -0,0 +1,53 @@ +{ + "resourceType": "Condition", + "id": "hc1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: hc1

meta:

clinicalStatus: Active (Details : {http://terminology.hl7.org/CodeSystem/condition-clinical code 'active' = 'Active', given as 'Active'})

verificationStatus: Confirmed (Details : {http://terminology.hl7.org/CodeSystem/condition-ver-status code 'confirmed' = 'Confirmed', given as 'Confirmed'})

category: Health Concern (Details : {http://hl7.org/fhir/us/core/CodeSystem/condition-category code 'health-concern' = 'Health Concern', given as 'Health Concern'})

code: Cost of medications (Details )

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

onset: 14/12/2007 12:00:00 AM

" + }, + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "active", + "display": "Active" + } + ], + "text": "Active" + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/condition-category", + "code": "health-concern", + "display": "Health Concern" + } + ], + "text": "Health Concern" + } + ], + "code": { + "text": "Cost of medications" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "onsetDateTime": "2007-12-14" +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/Device/Device-udi-1.json b/evaluator.cli/src/test/resources/uscore/example/Device/Device-udi-1.json new file mode 100644 index 000000000..e25834f1d --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/Device/Device-udi-1.json @@ -0,0 +1,36 @@ +{ + "resourceType": "Device", + "id": "udi-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: udi-1

meta:

UdiCarriers

-DeviceIdentifierCarrierHRF
*09504000059118(01)09504000059118(17)141120(10)7654321D(21)10987654d321

status: active

expirationDate: 20/11/2014 12:00:00 AM

lotNumber: 7654321D

serialNumber: 10987654d321

type: Coated femoral stem prosthesis, modular (Details : {SNOMED CT code '468063009' = 'Coated femoral stem prosthesis, modular (physical object)', given as 'Coated femoral stem prosthesis, modular'})

patient: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

" + }, + "udiCarrier": [ + { + "deviceIdentifier": "09504000059118", + "carrierHRF": "(01)09504000059118(17)141120(10)7654321D(21)10987654d321" + } + ], + "status": "active", + "expirationDate": "2014-11-20", + "lotNumber": "7654321D", + "serialNumber": "10987654d321", + "type": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "468063009", + "display": "Coated femoral stem prosthesis, modular" + } + ] + }, + "patient": { + "reference": "Patient/example", + "display": "Amy Shaw" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/Device/Device-udi-2.json b/evaluator.cli/src/test/resources/uscore/example/Device/Device-udi-2.json new file mode 100644 index 000000000..31b8e81e6 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/Device/Device-udi-2.json @@ -0,0 +1,46 @@ +{ + "resourceType": "Device", + "id": "udi-2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: udi-2

meta:

UdiCarriers

-DeviceIdentifierCarrierHRFEntryType
*99863313444316(01)99863313444316(17)220101(10)M320(21)AC221rfid

status: active

manufacturer: ACME Biomedical

expirationDate: 01/01/2022 12:00:00 AM

lotNumber: M320

serialNumber: AC221

DeviceNames

-NameType
*ACME Defibrillator Analyzer, with Transcutaneous Pacemaker Inputudi-label-name

modelNumber: 1.0

type: Implant (Details : {SNOMED CT code '19257004' = 'Defibrillator, device', given as 'Defibrillator, device'})

patient: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

" + }, + "udiCarrier": [ + { + "deviceIdentifier": "99863313444316", + "carrierHRF": "(01)99863313444316(17)220101(10)M320(21)AC221", + "entryType": "rfid" + } + ], + "status": "active", + "manufacturer": "ACME Biomedical", + "expirationDate": "2022-01-01", + "lotNumber": "M320", + "serialNumber": "AC221", + "deviceName": [ + { + "name": "ACME Defibrillator Analyzer, with Transcutaneous Pacemaker Input", + "type": "udi-label-name" + } + ], + "modelNumber": "1.0", + "type": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "19257004", + "display": "Defibrillator, device" + } + ], + "text": "Implant" + }, + "patient": { + "reference": "Patient/example", + "display": "Amy Shaw" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/Device/Device-udi-3.json b/evaluator.cli/src/test/resources/uscore/example/Device/Device-udi-3.json new file mode 100644 index 000000000..a2f243ddc --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/Device/Device-udi-3.json @@ -0,0 +1,49 @@ +{ + "resourceType": "Device", + "id": "udi-3", + "meta": { + "versionId": "2", + "lastUpdated": "2019-04-11T16:21:48.921+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: udi-3

meta:

UdiCarriers

-DeviceIdentifierCarrierHRFEntryType
*987979879879(01)987979879879(11)191015(17)220101(10)M320(21)AC221rfid

status: active

manufacturer: ACME Biomedical

manufactureDate: 15/10/2015 12:00:00 AM

expirationDate: 01/01/2022 12:00:00 AM

lotNumber: M320

serialNumber: AC221

DeviceNames

-NameType
*ACME Knee Replacement Deviceudi-label-name

modelNumber: 1.0

type: Knee joint prosthesis (Details : {SNOMED CT code '109228008' = 'Knee joint prosthesis', given as 'Knee joint prosthesis'})

patient: Amy V. Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

" + }, + "udiCarrier": [ + { + "deviceIdentifier": "987979879879", + "carrierHRF": "(01)987979879879(11)191015(17)220101(10)M320(21)AC221", + "entryType": "rfid" + } + ], + "status": "active", + "manufacturer": "ACME Biomedical", + "manufactureDate": "2015-10-15", + "expirationDate": "2022-01-01", + "lotNumber": "M320", + "serialNumber": "AC221", + "deviceName": [ + { + "name": "ACME Knee Replacement Device", + "type": "udi-label-name" + } + ], + "modelNumber": "1.0", + "type": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "109228008", + "display": "Knee joint prosthesis" + } + ], + "text": "Knee joint prosthesis" + }, + "patient": { + "reference": "Patient/example", + "display": "Amy V. Shaw" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/DiagnosticReport/DiagnosticReport-cardiology-report.json b/evaluator.cli/src/test/resources/uscore/example/DiagnosticReport/DiagnosticReport-cardiology-report.json new file mode 100644 index 000000000..c65cd99ac --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/DiagnosticReport/DiagnosticReport-cardiology-report.json @@ -0,0 +1,40 @@ +{ + "resourceType": "DiagnosticReport", + "id": "cardiology-report", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: cardiology-report

meta:

status: final

category: Radiology (Details : {LOINC code 'LP29684-5' = 'LP29684-5', given as 'Radiology'})

code: MR Abdomen W contrast IV (Details : {LOINC code '36134-5' = 'MR Abdomen W contrast IV', given as 'MR Abdomen W contrast IV'})

subject: Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 02/01/2011 8:39:30 AM

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "LP29684-5", + "display": "Radiology" + } + ], + "text": "Radiology" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "36134-5", + "display": "MR Abdomen W contrast IV" + } + ], + "text": "MR Abdomen W contrast IV" + }, + "subject": { + "reference": "Patient/example" + }, + "effectiveDateTime": "2011-01-01T21:39:30.000Z" +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/DiagnosticReport/DiagnosticReport-cbc.json b/evaluator.cli/src/test/resources/uscore/example/DiagnosticReport/DiagnosticReport-cbc.json new file mode 100644 index 000000000..43c440772 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/DiagnosticReport/DiagnosticReport-cbc.json @@ -0,0 +1,66 @@ +{ + "resourceType": "DiagnosticReport", + "id": "cbc", + "meta": { + "versionId": "205814", + "lastUpdated": "2016-03-09T15:35:58.045+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: cbc

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/v2-0074 code 'LAB' = 'Laboratory', given as 'Laboratory'})

code: Complete blood count (hemogram) panel - Blood by Automated count (Details : {LOINC code '58410-2' = 'Complete blood count (hemogram) panel - Blood by Automated count', given as 'Complete blood count (hemogram) panel - Blood by Automated count'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

issued: 06/07/2005 10:45:33 AM

performer: Acme Laboratory, Inc. Generated Summary: id: acme-lab; 1144221847, 12D4567890; active; Healthcare Provider; name: Acme Labs; ph: (+1) 734-677-7777, hq@acme.org

result:

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "58410-2", + "display": "Complete blood count (hemogram) panel - Blood by Automated count" + } + ] + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "issued": "2005-07-06T11:45:33+11:00", + "performer": [ + { + "reference": "Organization/acme-lab", + "display": "Acme Laboratory, Inc" + } + ], + "result": [ + { + "reference": "Observation/neutrophils", + "display": "NEUTROPHILS" + }, + { + "reference": "Observation/mchc", + "display": "MCHC" + }, + { + "reference": "Observation/hemoglobin", + "display": "HEMOGLOBIN" + }, + { + "reference": "Observation/erythrocytes", + "display": "ERYTHROCYTES" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/DiagnosticReport/DiagnosticReport-chest-xray-report.json b/evaluator.cli/src/test/resources/uscore/example/DiagnosticReport/DiagnosticReport-chest-xray-report.json new file mode 100644 index 000000000..98ee35602 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/DiagnosticReport/DiagnosticReport-chest-xray-report.json @@ -0,0 +1,46 @@ +{ + "resourceType": "DiagnosticReport", + "id": "chest-xray-report", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-note" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: chest-xray-report

meta:

status: final

category: Radiology (Details : {LOINC code 'LP29684-5' = 'LP29684-5', given as 'Radiology'})

code: Portable XR Chest Views (Details : {LOINC code '30746-2' = 'Portable XR Chest Views', given as 'Portable XR Chest Views'})

subject: Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: Feb 20, 2007

effective: Feb 3, 2019 7:43:30 PM

presentedForm:

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://loinc.org", + "code": "LP29684-5", + "display": "Radiology" + } + ], + "text": "Radiology" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "30746-2", + "display": "Portable XR Chest Views" + } + ], + "text": "Portable XR Chest Views" + }, + "subject": { + "reference": "Patient/example" + }, + "effectiveDateTime": "2019-02-03T19:43:30.000Z", + "presentedForm": [ + { + "contentType": "application/xhtml", + "data": "PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgVHJhbnNpdGlvbmFsLy9FTiIgIkRURC94aHRtbDEtdHJhbnNpdGlvbmFsLmR0ZCI+CgkJPGh0bWwgeG1sOmxhbmc9ImVuIiBsYW5nPSJlbiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGh0bWwiPgkJCiAgPGhlYWQ+CiAgICA8dGl0bGU+Q2hlc3QgUG9ydGFibGU8L3RpdGxlPgogIDwvaGVhZD4KICA8Ym9keT4KICAgIDxwPlJlc3VsdDwvcD4KICAgIDxici8+Q2hlc3QgUG9ydGFibGUgCiAgICAgIAogICAgICA8cD5JTkRJQ0FUSU9OL0NMSU5JQ0FMIFFVRVNUSU9OOiBGZXZlciAvIFBuZXVtb25pYTwvcD4KICAgICAgCiAgICAgIDxwPkNPTVBBUklTT046IE5vbmUuPC9wPgogICAgICAKICAgICAgPHA+RklORElOR1M6PC9wPgogICAgICAKICAgICAgPHA+TElORVMgQU5EIFRVQkVTOiBOb25lLjwvcD4KICAgICAgCiAgICAgIDxwPkxVTkdTIEFORCBQTEVVUkE6PC9wPgogICAgICA8YnIvPkNsZWFyIGx1bmdzLiBOb3JtYWwgcHVsbW9uYXJ5IHZhc2N1bGFyaXR5LgogICAgICA8YnIvPk5vIHBsZXVyYWwgZWZmdXNpb24uCiAgICAgIDxici8+Tm8gcG5ldW1vdGhvcmF4LgogICAgICAKICAgICAgPHA+SEVBUlQsIE1FRElBU1RJTlVNIEFORCBISUxBOjwvcD4KICAgICAgPGJyLz5IZWFydCBpcyBub3JtYWwgaW4gc2l6ZS4KICAgICAgPGJyLz5Ob3JtYWwgbWVkaWFzdGluYWwgYW5kIGhpbGFyIGNvbnRvdXIuCiAgICAgIAogICAgICA8cD5CT05FUyBBTkQgU09GVCBUSVNTVUVTOjwvcD4KICAgICAgPGJyLz5ObyBhY3V0ZSBhYm5vcm1hbGl0eS4KICAgICAgCiAgICAgIDxwPklNUFJFU1NJT046PC9wPgogICAgICA8YnIvPk5vIGFjdXRlIGFibm9ybWFsaXR5LgogICAgICAKICAgICAgPHA+V1NOOiBPMTlJQy1TQy0wMjExPC9wPgogICAgICAKICAgICAgPHA+RGljdGF0ZWQgQnk6IEN1cmUgTUQsIENocmlzdGluZSBKCiAgICAgICAgRGljdGF0ZWQgRGF0ZS9UaW1lOiAwMi8wMy8xOSA3OjQ0IHBtCiAgICAgICAgUmV2aWV3ZWQgQnk6IEN1cmUgTUQsIENocmlzdGluZSBKCiAgICAgICAgU2lnbmVkIEJ5OiBDdXJlIE1ELCBDaHJpc3RpbmUgSgogICAgICAgIFNpZ25lZCBEYXRlL1RpbWU6IDAyLzAzLzE5IDc6NDQgcG0KICAgICAgICBUcmFuc2NyaWJlZCBCeTogQ1NCCiAgICAgICAgVHJhbnNjcmliZWQgRGF0ZS9UaW1lOiAwMi8wMy8xOSA3OjQzIHBtPC9wPgogICAgICAKICAgICAgCiAgPC9ib2R5Pgo8L2h0bWw+Cg==" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/DiagnosticReport/DiagnosticReport-metabolic-panel.json b/evaluator.cli/src/test/resources/uscore/example/DiagnosticReport/DiagnosticReport-metabolic-panel.json new file mode 100644 index 000000000..0deb69f13 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/DiagnosticReport/DiagnosticReport-metabolic-panel.json @@ -0,0 +1,86 @@ +{ + "resourceType": "DiagnosticReport", + "id": "metabolic-panel", + "meta": { + "versionId": "205790", + "lastUpdated": "2016-03-09T15:35:58.018+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: metabolic-panel

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/v2-0074 code 'LAB' = 'Laboratory', given as 'Laboratory'})

code: Comprehensive metabolic 2000 panel - Serum or Plasma (Details : {LOINC code '24323-8' = 'Comprehensive metabolic 2000 panel - Serum or Plasma', given as 'Comprehensive metabolic 2000 panel - Serum or Plasma'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 04/07/2005 12:00:00 AM

issued: 06/07/2005 10:45:33 AM

performer: Acme Laboratory, Inc. Generated Summary: id: acme-lab; 1144221847, 12D4567890; active; Healthcare Provider; name: Acme Labs; ph: (+1) 734-677-7777, hq@acme.org

result:

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "24323-8", + "display": "Comprehensive metabolic 2000 panel - Serum or Plasma" + } + ] + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-04", + "issued": "2005-07-06T11:45:33+11:00", + "performer": [ + { + "reference": "Organization/acme-lab", + "display": "Acme Laboratory, Inc" + } + ], + "result": [ + { + "reference": "Observation/serum-total-bilirubin", + "display": "TOTAL BILIRUBIN" + }, + { + "reference": "Observation/serum-sodium", + "display": "SODIUM" + }, + { + "reference": "Observation/serum-potassium", + "display": "Potassium" + }, + { + "reference": "Observation/serum-creatinine", + "display": "CREATININE" + }, + { + "reference": "Observation/serum-co2", + "display": "TOTAL CO2" + }, + { + "reference": "Observation/serum-chloride", + "display": "CHLORIDE" + }, + { + "reference": "Observation/serum-calcium", + "display": "CALCIUM" + }, + { + "reference": "Observation/bun", + "display": "BUN" + }, + { + "reference": "Observation/blood-glucose", + "display": "GLUCOSE" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/DiagnosticReport/DiagnosticReport-urinalysis.json b/evaluator.cli/src/test/resources/uscore/example/DiagnosticReport/DiagnosticReport-urinalysis.json new file mode 100644 index 000000000..01bc15bd9 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/DiagnosticReport/DiagnosticReport-urinalysis.json @@ -0,0 +1,119 @@ +{ + "resourceType": "DiagnosticReport", + "id": "urinalysis", + "meta": { + "versionId": "209563", + "lastUpdated": "2016-04-19T17:28:11.308+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urinalysis

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/v2-0074 code 'LAB' = 'Laboratory', given as 'Laboratory'})

code: Complete Urinalysis (Details : {LOINC code '24356-8' = 'Urinalysis complete panel - Urine', given as 'Urinalysis complete panel - Urine'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

issued: 06/07/2005 10:45:33 AM

performer: Acme Laboratory, Inc. Generated Summary: id: acme-lab; 1144221847, 12D4567890; active; Healthcare Provider; name: Acme Labs; ph: (+1) 734-677-7777, hq@acme.org

result:

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0074", + "code": "LAB", + "display": "Laboratory" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "24356-8", + "display": "Urinalysis complete panel - Urine" + } + ], + "text": "Complete Urinalysis" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "issued": "2005-07-06T11:45:33+11:00", + "performer": [ + { + "reference": "Organization/acme-lab", + "display": "Acme Laboratory, Inc" + } + ], + "result": [ + { + "reference": "Observation/urine-color", + "display": "COLOR=Yellow" + }, + { + "reference": "Observation/urine-clarity", + "display": "APPEARANCE=Hazy" + }, + { + "reference": "Observation/urine-glucose", + "display": "GLUCOSE=Negative" + }, + { + "reference": "Observation/urine-bilirubin", + "display": "BILIRUBIN=Negative" + }, + { + "reference": "Observation/urine-ketone", + "display": "KETONE=Negative" + }, + { + "reference": "Observation/usg", + "display": "SPEC GRAV=1.017" + }, + { + "reference": "Observation/urine-ph", + "display": "PH=6 (pH)" + }, + { + "reference": "Observation/urine-protein", + "display": "PROTEIN=Negative" + }, + { + "reference": "Observation/urobilinogen", + "display": "UROBILINOGEN=0.3 mg/dL" + }, + { + "reference": "Observation/urine-nitrite", + "display": "NITRITE=Positive" + }, + { + "reference": "Observation/urine-hemoglobin", + "display": "BLOOD=Trace" + }, + { + "reference": "Observation/urine-leukocyte-esterase", + "display": "LEUK ESTERASE=2+e" + }, + { + "reference": "Observation/urine-sediment", + "display": "COMMENT=Recommend Urine Culture" + }, + { + "reference": "Observation/urine-bacteria", + "display": "BACTERIA=4+" + }, + { + "reference": "Observation/urine-epi-cells", + "display": "EPITHELIAL CELLS=1-5 cells/HPF" + }, + { + "reference": "Observation/urine-wbcs", + "display": "WBC=20-30 cells/HPF" + }, + { + "reference": "Observation/urine-rbcs", + "display": "RBC=Occasional cells/HPF" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/DocumentReference/DocumentReference-episode-summary.json b/evaluator.cli/src/test/resources/uscore/example/DocumentReference/DocumentReference-episode-summary.json new file mode 100644 index 000000000..8c436eede --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/DocumentReference/DocumentReference-episode-summary.json @@ -0,0 +1,74 @@ +{ + "resourceType": "DocumentReference", + "id": "episode-summary", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: episode-summary

meta:

identifier: urn:oid:2.16.840.1.113883.19.5.99999.1

status: current

type: CCD Document (Details : {LOINC code '34133-9' = 'Summary of episode note', given as 'Summary of episode note'})

category: Clinical Note (Details : {http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category code 'clinical-note' = 'Clinical Note', given as 'Clinical Note'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

date: 10/03/2016 2:29:46 AM

author: Ronald Bone, MD. Generated Summary: id: practitioner-1; 9941339108, 25456; Ronald Bone

description: Pulmonology clinic acute visit

Contents

-AttachmentFormat
*Documents following C-CDA constraints using a structured body (Details: urn:oid:1.3.6.1.4.1.19376.1.2.3 code urn:hl7-org:sdwg:ccda-structuredBody:2.1 = 'urn:hl7-org:sdwg:ccda-structuredBody:2.1', stated as 'Documents following C-CDA constraints using a structured body')

Contexts

-Period
*23/12/2004 8:00:00 AM --> 23/12/2004 8:01:00 AM
" + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.19.5.99999.1" + } + ], + "status": "current", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "34133-9", + "display": "Summary of episode note" + } + ], + "text": "CCD Document" + }, + "category": [ + { + "coding": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "code": "clinical-note", + "display": "Clinical Note" + } + ], + "text": "Clinical Note" + } + ], + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "date": "2016-03-09T15:29:46Z", + "author": [ + { + "reference": "Practitioner/practitioner-1", + "display": "Ronald Bone, MD" + } + ], + "description": "Pulmonology clinic acute visit", + "content": [ + { + "attachment": { + "contentType": "text/plain", + "url": "/Binary/1-note", + "title": "Uri where the data can be found: [base]/Binary/1-note" + }, + "format": { + "system": "urn:oid:1.3.6.1.4.1.19376.1.2.3", + "code": "urn:hl7-org:sdwg:ccda-structuredBody:2.1", + "display": "Documents following C-CDA constraints using a structured body" + } + } + ], + "context": { + "period": { + "start": "2004-12-23T08:00:00+11:00", + "end": "2004-12-23T08:01:00+11:00" + } + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/Encounter/Encounter-1036.json b/evaluator.cli/src/test/resources/uscore/example/Encounter/Encounter-1036.json new file mode 100644 index 000000000..5c114219a --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/Encounter/Encounter-1036.json @@ -0,0 +1,17 @@ +{ + "resourceType": "Encounter", + "id": "1036", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: 1036

status: in-progress

class: inpatient encounter (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode code IMP = 'inpatient encounter', stated as 'inpatient encounter')

subject: Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

" + }, + "status": "in-progress", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "IMP", + "display": "inpatient encounter" + }, + "subject": { + "reference": "Patient/example" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/Encounter/Encounter-example-1.json b/evaluator.cli/src/test/resources/uscore/example/Encounter/Encounter-example-1.json new file mode 100644 index 000000000..4a77c87f2 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/Encounter/Encounter-example-1.json @@ -0,0 +1,38 @@ +{ + "resourceType": "Encounter", + "id": "example-1", + "meta": { + "lastUpdated": "2017-05-26T11:56:57.250-04:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example-1

meta:

status: finished

class: ambulatory (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode code AMB = 'ambulatory', stated as 'ambulatory')

type: Office Visit (Details : {http://www.ama-assn.org/go/cpt code '99201' = '99201)

subject: Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

period: 02/11/2015 9:00:14 AM --> 02/11/2015 10:00:14 AM

" + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "AMB", + "display": "ambulatory" + }, + "type": [ + { + "coding": [ + { + "system": "http://www.ama-assn.org/go/cpt", + "code": "99201" + } + ], + "text": "Office Visit" + } + ], + "subject": { + "reference": "Patient/example" + }, + "period": { + "start": "2015-11-01T17:00:14-05:00", + "end": "2015-11-01T18:00:14-05:00" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/Goal/Goal-goal-1.json b/evaluator.cli/src/test/resources/uscore/example/Goal/Goal-goal-1.json new file mode 100644 index 000000000..014a80f61 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/Goal/Goal-goal-1.json @@ -0,0 +1,26 @@ +{ + "resourceType": "Goal", + "id": "goal-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: goal-1

meta:

lifecycleStatus: active

description: Patient is targeting a pulse oximetry of 92% and a weight of 195 lbs (Details )

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

Targets

-Due[x]
*2016-04-05
" + }, + "lifecycleStatus": "active", + "description": { + "text": "Patient is targeting a pulse oximetry of 92% and a weight of 195 lbs" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "target": [ + { + "dueDate": "2016-04-05" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/Immunization/Immunization-imm-1.json b/evaluator.cli/src/test/resources/uscore/example/Immunization/Immunization-imm-1.json new file mode 100644 index 000000000..775a5e34f --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/Immunization/Immunization-imm-1.json @@ -0,0 +1,34 @@ +{ + "resourceType": "Immunization", + "id": "imm-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: imm-1

meta:

status: completed

vaccineCode: influenza, injectable, quadrivalent, contains preservative (Details : {http://hl7.org/fhir/sid/cvx code '158' = 'influenza, injectable, quadrivalent', given as 'influenza, injectable, quadrivalent, contains preservative'}; {http://hl7.org/fhir/sid/ndc code '49281-0621-15' = '49281-0621-15', given as 'FLUZONE QUADRIVALENT'})

patient: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

occurrence: 08/01/2016 12:00:00 AM

primarySource: false

" + }, + "status": "completed", + "vaccineCode": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "code": "158", + "display": "influenza, injectable, quadrivalent, contains preservative" + }, + { + "system": "http://hl7.org/fhir/sid/ndc", + "code": "49281-0621-15", + "display": "FLUZONE QUADRIVALENT" + } + ] + }, + "patient": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "occurrenceDateTime": "2016-01-08", + "primarySource": false +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/Location/Location-hl7east.json b/evaluator.cli/src/test/resources/uscore/example/Location/Location-hl7east.json new file mode 100644 index 000000000..e76477bf9 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/Location/Location-hl7east.json @@ -0,0 +1,44 @@ +{ + "resourceType": "Location", + "id": "hl7east", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: hl7east

meta:

identifier: 29

status: active

name: Health Level Seven International - Amherst

description: HL7 Headquarters - East

telecom: ph: (+1) 734-677-7777

address: 3300 Washtenaw Avenue, Suite 227 Amherst MA 01002 USA

Positions

-LongitudeLatitude
*-72.51985442.373222

managingOrganization: Health Level Seven International

" + }, + "identifier": [ + { + "system": "http://www.acme.org/location", + "value": "29" + } + ], + "status": "active", + "name": "Health Level Seven International - Amherst", + "description": "HL7 Headquarters - East", + "telecom": [ + { + "system": "phone", + "value": "(+1) 734-677-7777" + } + ], + "address": { + "line": [ + "3300 Washtenaw Avenue, Suite 227" + ], + "city": "Amherst", + "state": "MA", + "postalCode": "01002", + "country": "USA" + }, + "position": { + "longitude": -72.519854, + "latitude": 42.373222 + }, + "managingOrganization": { + "display": "Health Level Seven International" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/Medication/Medication-uscore-med1.json b/evaluator.cli/src/test/resources/uscore/example/Medication/Medication-uscore-med1.json new file mode 100644 index 000000000..cdcac31b6 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/Medication/Medication-uscore-med1.json @@ -0,0 +1,23 @@ +{ + "resourceType": "Medication", + "id": "uscore-med1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: uscore-med1

meta:

code: lisinopril oral 10 mg (Details : {RxNorm code '206765' = 'Prinivil 10 MG Oral Tablet', given as 'Lisinopril 10 MG Oral Tablet [Prinivil]'})

" + }, + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "206765", + "display": "Lisinopril 10 MG Oral Tablet [Prinivil]" + } + ], + "text": "lisinopril oral 10 mg" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/Medication/Medication-uscore-med2.json b/evaluator.cli/src/test/resources/uscore/example/Medication/Medication-uscore-med2.json new file mode 100644 index 000000000..d8acda784 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/Medication/Medication-uscore-med2.json @@ -0,0 +1,23 @@ +{ + "resourceType": "Medication", + "id": "uscore-med2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: uscore-med2

meta:

code: Nizatidine 15 MG/ML Oral Solution [Axid] (Details : {RxNorm code '582620' = 'Nizatidine 15 MG/ML Oral Solution [Axid]', given as 'Nizatidine 15 MG/ML Oral Solution [Axid]'})

" + }, + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "582620", + "display": "Nizatidine 15 MG/ML Oral Solution [Axid]" + } + ], + "text": "Nizatidine 15 MG/ML Oral Solution [Axid]" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/MedicationRequest/MedicationRequest-self-tylenol.json b/evaluator.cli/src/test/resources/uscore/example/MedicationRequest/MedicationRequest-self-tylenol.json new file mode 100644 index 000000000..e693981ed --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/MedicationRequest/MedicationRequest-self-tylenol.json @@ -0,0 +1,46 @@ +{ + "resourceType": "MedicationRequest", + "id": "self-tylenol", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: self-tylenol

identifier: 12345689 (OFFICIAL)

status: active

intent: order

reported: true

medication: Tylenol PM Pill (Details : {RxNorm code '1187314' = 'Tylenol PM Pill', given as 'Tylenol PM Pill'})

subject: Amy V. Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: Office Visit. Generated Summary: id: example-1; status: finished; ambulatory; Office Visit; period: 02/11/2015 9:00:14 AM --> 02/11/2015 10:00:14 AM

authoredOn: 24/06/2019 12:00:00 AM

requester: **self-prescribed**. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

dosageInstruction:

" + }, + "identifier": [ + { + "use": "official", + "system": "http://acme.org/prescriptions", + "value": "12345689" + } + ], + "status": "active", + "intent": "order", + "reportedBoolean": true, + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "1187314", + "display": "Tylenol PM Pill" + } + ], + "text": "Tylenol PM Pill" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy V. Shaw" + }, + "encounter": { + "reference": "Encounter/example-1", + "display": "Office Visit" + }, + "authoredOn": "2019-06-24", + "requester": { + "reference": "Patient/example", + "display": "**self-prescribed**" + }, + "dosageInstruction": [ + { + "text": "Takes 1-2 tablets once daily at bedtime as needed for restless legs" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/MedicationRequest/MedicationRequest-uscore-mo1.json b/evaluator.cli/src/test/resources/uscore/example/MedicationRequest/MedicationRequest-uscore-mo1.json new file mode 100644 index 000000000..fa3f81c48 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/MedicationRequest/MedicationRequest-uscore-mo1.json @@ -0,0 +1,61 @@ +{ + "resourceType": "MedicationRequest", + "id": "uscore-mo1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: uscore-mo1

meta:

status: active

intent: order

medication: Nizatidine 15 MG/ML Oral Solution [Axid] (Details : {RxNorm code '582620' = 'Nizatidine 15 MG/ML Oral Solution [Axid]', given as 'Nizatidine 15 MG/ML Oral Solution [Axid]'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

authoredOn: 05/04/2008 12:00:00 AM

requester: Ronald Bone, MD. Generated Summary: id: practitioner-1; 9941339108, 25456; Ronald Bone

dosageInstruction:

DispenseRequests

-NumberOfRepeatsAllowedQuantityExpectedSupplyDuration
*1480 mL (Details: UCUM code mL = 'mL')30 days (Details: UCUM code d = 'd')
" + }, + "status": "active", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "582620", + "display": "Nizatidine 15 MG/ML Oral Solution [Axid]" + } + ], + "text": "Nizatidine 15 MG/ML Oral Solution [Axid]" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "authoredOn": "2008-04-05", + "requester": { + "reference": "Practitioner/practitioner-1", + "display": "Ronald Bone, MD" + }, + "dosageInstruction": [ + { + "text": "10 mL bid", + "timing": { + "repeat": { + "boundsPeriod": { + "start": "2008-04-05" + } + } + } + } + ], + "dispenseRequest": { + "numberOfRepeatsAllowed": 1, + "quantity": { + "value": 480, + "unit": "mL", + "system": "http://unitsofmeasure.org", + "code": "mL" + }, + "expectedSupplyDuration": { + "value": 30, + "unit": "days", + "system": "http://unitsofmeasure.org", + "code": "d" + } + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/MedicationRequest/MedicationRequest-uscore-mo2.json b/evaluator.cli/src/test/resources/uscore/example/MedicationRequest/MedicationRequest-uscore-mo2.json new file mode 100644 index 000000000..891ff6140 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/MedicationRequest/MedicationRequest-uscore-mo2.json @@ -0,0 +1,71 @@ +{ + "resourceType": "MedicationRequest", + "id": "uscore-mo2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: uscore-mo2

meta:

contained:

status: active

intent: order

medication: Nizatidine 15 MG/ML Oral Solution [Axid]. Generated Summary: unknown resource contained

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

authoredOn: 05/04/2008 12:00:00 AM

requester: Ronald Bone, MD. Generated Summary: id: practitioner-1; 9941339108, 25456; Ronald Bone

dosageInstruction:

DispenseRequests

-NumberOfRepeatsAllowedQuantityExpectedSupplyDuration
*1480 mL (Details: UCUM code mL = 'mL')30 days (Details: UCUM code d = 'd')
" + }, + "contained": [ + { + "resourceType": "Medication", + "id": "med2", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "582620", + "display": "Nizatidine 15 MG/ML Oral Solution [Axid]" + } + ], + "text": "Nizatidine 15 MG/ML Oral Solution [Axid]" + } + } + ], + "status": "active", + "intent": "order", + "medicationReference": { + "reference": "#med2", + "display": "Nizatidine 15 MG/ML Oral Solution [Axid]" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "authoredOn": "2008-04-05", + "requester": { + "reference": "Practitioner/practitioner-1", + "display": "Ronald Bone, MD" + }, + "dosageInstruction": [ + { + "text": "10 mL bid", + "timing": { + "repeat": { + "boundsPeriod": { + "start": "2008-04-05" + } + } + } + } + ], + "dispenseRequest": { + "numberOfRepeatsAllowed": 1, + "quantity": { + "value": 480, + "unit": "mL", + "system": "http://unitsofmeasure.org", + "code": "mL" + }, + "expectedSupplyDuration": { + "value": 30, + "unit": "days", + "system": "http://unitsofmeasure.org", + "code": "d" + } + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/Observation/Observation-bp-data-absent.json b/evaluator.cli/src/test/resources/uscore/example/Observation/Observation-bp-data-absent.json new file mode 100644 index 000000000..b87ad1049 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/Observation/Observation-bp-data-absent.json @@ -0,0 +1,86 @@ +{ + "resourceType": "Observation", + "id": "bp-data-absent", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: bp-data-absent

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: Blood pressure systolic and diastolic (Details : {LOINC code '85354-9' = 'Blood pressure panel with all children optional', given as 'Blood pressure panel with all children optional'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: Generated Summary: id: 1036; status: in-progress; inpatient encounter

effective: 02/07/1999 12:00:00 AM

component

code: Systolic blood pressure (Details : {LOINC code '8480-6' = 'Systolic blood pressure', given as 'Systolic blood pressure'})

value: 109 mmHg (Details: UCUM code mm[Hg] = 'mm[Hg]')

component

code: Diastolic blood pressure (Details : {LOINC code '8462-4' = 'Diastolic blood pressure', given as 'Diastolic blood pressure'})

dataAbsentReason: Unknown (Details : {http://terminology.hl7.org/CodeSystem/data-absent-reason code 'unknown' = 'Unknown', given as 'Unknown'})

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood pressure panel with all children optional" + } + ], + "text": "Blood pressure systolic and diastolic" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "reference": "Encounter/1036" + }, + "effectiveDateTime": "1999-07-02", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic blood pressure" + } + ], + "text": "Systolic blood pressure" + }, + "valueQuantity": { + "value": 109, + "unit": "mmHg", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic blood pressure" + } + ], + "text": "Diastolic blood pressure" + }, + "dataAbsentReason": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "code": "unknown", + "display": "Unknown" + } + ], + "text": "Unknown" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/Organization/Organization-acme-lab.json b/evaluator.cli/src/test/resources/uscore/example/Organization/Organization-acme-lab.json new file mode 100644 index 000000000..0f0d9cd83 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/Organization/Organization-acme-lab.json @@ -0,0 +1,57 @@ +{ + "resourceType": "Organization", + "id": "acme-lab", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: acme-lab

meta:

identifier: 1144221847, 12D4567890

active: true

type: Healthcare Provider (Details : {http://terminology.hl7.org/CodeSystem/organization-type code 'prov' = 'Healthcare Provider', given as 'Healthcare Provider'})

name: Acme Labs

telecom: ph: (+1) 734-677-7777, hq@acme.org

address: 3300 Washtenaw Avenue, Suite 227 Amherst MA 01002 USA

" + }, + "identifier": [ + { + "system": "http://hl7.org.fhir/sid/us-npi", + "value": "1144221847" + }, + { + "system": "urn:oid:2.16.840.1.113883.4.7", + "value": "12D4567890" + } + ], + "active": true, + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/organization-type", + "code": "prov", + "display": "Healthcare Provider" + } + ] + } + ], + "name": "Acme Labs", + "telecom": [ + { + "system": "phone", + "value": "(+1) 734-677-7777" + }, + { + "system": "email", + "value": "hq@acme.org" + } + ], + "address": [ + { + "line": [ + "3300 Washtenaw Avenue, Suite 227" + ], + "city": "Amherst", + "state": "MA", + "postalCode": "01002", + "country": "USA" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/Organization/Organization-example-organization-2.json b/evaluator.cli/src/test/resources/uscore/example/Organization/Organization-example-organization-2.json new file mode 100644 index 000000000..fc8292e53 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/Organization/Organization-example-organization-2.json @@ -0,0 +1,57 @@ +{ + "resourceType": "Organization", + "id": "example-organization-2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: example-organization-2

meta:

identifier: 1407071236, 121111111

active: true

type: Healthcare Provider (Details : {http://terminology.hl7.org/CodeSystem/organization-type code 'prov' = 'Healthcare Provider', given as 'Healthcare Provider'})

name: Acme Clinic

telecom: ph: (+1) 734-677-7777, customer-service@acme-clinic.org

address: 3300 Washtenaw Avenue, Suite 227 Amherst MA 01002 USA

" + }, + "identifier": [ + { + "system": "http://hl7.org.fhir/sid/us-npi", + "value": "1407071236" + }, + { + "system": "http://example.org/fhir/sid/us-tin", + "value": "121111111" + } + ], + "active": true, + "type": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/organization-type", + "code": "prov", + "display": "Healthcare Provider" + } + ] + } + ], + "name": "Acme Clinic", + "telecom": [ + { + "system": "phone", + "value": "(+1) 734-677-7777" + }, + { + "system": "email", + "value": "customer-service@acme-clinic.org" + } + ], + "address": [ + { + "line": [ + "3300 Washtenaw Avenue, Suite 227" + ], + "city": "Amherst", + "state": "MA", + "postalCode": "01002", + "country": "USA" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/Organization/Organization-saint-luke-w-endpoint.json b/evaluator.cli/src/test/resources/uscore/example/Organization/Organization-saint-luke-w-endpoint.json new file mode 100644 index 000000000..e4eb098ea --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/Organization/Organization-saint-luke-w-endpoint.json @@ -0,0 +1,82 @@ +{ + "resourceType": "Organization", + "id": "saint-luke-w-endpoint", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + ] + }, + "text": { + "status": "generated", + "div": "
\n

Organization

\n
\n

ID: 393872

\n

Name: Saint Luke's Hospital of Kansas City

\n

NPI: 1063494177

\n

Phone:(816)932-2000

\n

Address:4401 Wornall Rd,, MO, 64111

\n
\n
" + }, + "contained": [ + { + "resourceType": "Endpoint", + "id": "75", + "status": "active", + "connectionType": { + "system": "http://terminology.hl7.org/CodeSystem/endpoint-connection-type", + "code": "direct-project" + }, + "name": "Dr. Ronald Bone Direct Address", + "managingOrganization": { + "reference": "Organization/example-organization-2" + }, + "payloadType": [ + { + "coding": [ + { + "system": "urn:oid:1.3.6.1.4.1.19376.1.2.3", + "code": "urn:hl7-org:sdwg:ccda-structuredBody:1.1" + } + ] + } + ], + "payloadMimeType": [ + "text/xml" + ], + "address": "mailto:Interoperability@DirectAddress.com" + } + ], + "identifier": [ + { + "system": "http://example.org/fhir/sid/us-npi", + "value": "1063494177" + }, + { + "system": "http://example.org/fhir/us/argo/sid/us-ein", + "value": "00-0000000" + } + ], + "active": true, + "name": "Saint Luke's Hospital of Kansas City", + "telecom": [ + { + "system": "phone", + "value": "(816)932-2000", + "use": "work" + }, + { + "system": "other", + "value": "http://www.saintlukeshealthsystem.org/locations/saint-lukes-hospital-kansas-city", + "use": "work" + } + ], + "address": [ + { + "text": "3300 Washtenaw Avenue, Suite 227 Amherst MA 01002", + "line": [ + "4401 Wornall Rd," + ], + "city": "Amherst", + "state": "MA", + "postalCode": "64111" + } + ], + "endpoint": [ + { + "reference": "#75" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/Patient/Patient-example.json b/evaluator.cli/src/test/resources/uscore/example/Patient/Patient-example.json new file mode 100644 index 000000000..e818c29e1 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/Patient/Patient-example.json @@ -0,0 +1,161 @@ +{ + "resourceType": "Patient", + "id": "example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + }, + "text": { + "status": "generated", + "div": "
\n\t\t\t

\n\t\t\t\tGenerated Narrative with Details\n\t\t\t

\n\t\t\t

\n\t\t\t\tid: example

\n\t\t\t

\n\t\t\t\tidentifier: Medical Record Number = 1032702 (USUAL)

\n\t\t\t

\n\t\t\t\tactive: true

\n\t\t\t

\n\t\t\t\tname: Amy V. Shaw

\n\t\t\t

\n\t\t\t\ttelecom: ph: 555-555-5555(HOME), amy.shaw@example.com

\n\t\t\t

\n\t\t\t\tgender:

\n\t\t\t

\n\t\t\t\tbirthsex: Female

\n\t\t\t

\n\t\t\t\tbirthDate: Feb 20, 2007

\n\t\t\t

\n\t\t\t\taddress: 49 Meadow St Mounds OK 74047 US

\n\t\t\t

\n\t\t\t\trace: White, American Indian or Alaska Native, Asian, Shoshone, Filipino

\n\t\t\t

\n\t\t\t\tethnicity: Hispanic or Latino, Dominican, Mexican

\n\t\t
" + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2106-3", + "display": "White" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "1002-5", + "display": "American Indian or Alaska Native" + } + }, + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2028-9", + "display": "Asian" + } + }, + { + "url": "detailed", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "1586-7", + "display": "Shoshone" + } + }, + { + "url": "detailed", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2036-2", + "display": "Filipino" + } + }, + { + "url": "text", + "valueString": "Mixed" + } + ] + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2135-2", + "display": "Hispanic or Latino" + } + }, + { + "url": "detailed", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2184-0", + "display": "Dominican" + } + }, + { + "url": "detailed", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2148-5", + "display": "Mexican" + } + }, + { + "url": "text", + "valueString": "Hispanic or Latino" + } + ] + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex", + "valueCode": "F" + } + ], + "identifier": [ + { + "use": "usual", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "MR", + "display": "Medical Record Number" + } + ], + "text": "Medical Record Number" + }, + "system": "http://hospital.smarthealthit.org", + "value": "1032702" + } + ], + "active": true, + "name": [ + { + "family": "Shaw", + "given": [ + "Amy", + "V." + ] + } + ], + "telecom": [ + { + "system": "phone", + "value": "555-555-5555", + "use": "home" + }, + { + "system": "email", + "value": "amy.shaw@example.com" + } + ], + "gender": "female", + "birthDate": "2007-02-20", + "deceasedBoolean": false, + "address": [ + { + "line": [ + "49 Meadow St" + ], + "city": "Mounds", + "state": "OK", + "postalCode": "74047", + "country": "US" + } + ], + "maritalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus", + "code": "M" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/Practitioner/Practitioner-practitioner-1.json b/evaluator.cli/src/test/resources/uscore/example/Practitioner/Practitioner-practitioner-1.json new file mode 100644 index 000000000..c1a1bb45b --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/Practitioner/Practitioner-practitioner-1.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Practitioner", + "id": "practitioner-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: practitioner-1

meta:

identifier: 9941339108, 25456

name: Ronald Bone

address: 1003 Healthcare Drive Amherst MA 01002 (HOME)

" + }, + "identifier": [ + { + "system": "http://hl7.org.fhir/sid/us-npi", + "value": "9941339108" + }, + { + "system": "http://www.acme.org/practitioners", + "value": "25456" + } + ], + "name": [ + { + "family": "Bone", + "given": [ + "Ronald" + ], + "prefix": [ + "Dr" + ] + } + ], + "address": [ + { + "use": "home", + "line": [ + "1003 Healthcare Drive" + ], + "city": "Amherst", + "state": "MA", + "postalCode": "01002" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/Practitioner/Practitioner-practitioner-2.json b/evaluator.cli/src/test/resources/uscore/example/Practitioner/Practitioner-practitioner-2.json new file mode 100644 index 000000000..cf1a442ff --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/Practitioner/Practitioner-practitioner-2.json @@ -0,0 +1,45 @@ +{ + "resourceType": "Practitioner", + "id": "practitioner-2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: practitioner-2

meta:

identifier: 1245319599, 456789

name: Fielding Kathy

address: 1080 FIRST COLONIAL RD Virginia Beach VA 21454-2406 (WORK)

" + }, + "identifier": [ + { + "system": "http://hl7.org.fhir/sid/us-npi", + "value": "1245319599" + }, + { + "system": "http://www.acme.org/practitioners", + "value": "456789" + } + ], + "name": [ + { + "family": "Kathy", + "given": [ + "Fielding" + ], + "prefix": [ + "Dr" + ] + } + ], + "address": [ + { + "use": "work", + "line": [ + "1080 FIRST COLONIAL RD" + ], + "city": "Virginia Beach", + "state": "VA", + "postalCode": "21454-2406" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/PractitionerRole/PractitionerRole-PractitionerRole-1.json b/evaluator.cli/src/test/resources/uscore/example/PractitionerRole/PractitionerRole-PractitionerRole-1.json new file mode 100644 index 000000000..7f95996d9 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/PractitionerRole/PractitionerRole-PractitionerRole-1.json @@ -0,0 +1,59 @@ +{ + "resourceType" : "PractitionerRole", + "id" : "PractitionerRole-1", + "meta" : { + "profile" : [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole" + ] + }, + "text" : { + "status" : "generated", + "div" : "

Generated Narrative with Details

id: PractitionerRole-1

meta:

practitioner: Brenda Jennings Richard MD

organization: Acme Lab. Generated Summary: id: acme-lab; 1144221847, 12D4567890; active; Healthcare Provider; name: Acme Labs; ph: (+1) 734-677-7777, hq@acme.org

code: Primary Care (Details : {http://nucc.org/provider-taxonomy code '261QP2300X' = 'Primary Care', given as 'Primary Care'})

specialty: General Practice (Details : {http://nucc.org/provider-taxonomy code '208D00000X' = 'General Practice', given as 'General Practice'})

location: Health Level Seven International. Generated Summary: id: hl7east; 29; status: active; name: Health Level Seven International - Amherst; description: HL7 Headquarters - East; ph: (+1) 734-677-7777

endpoint:

" + }, + "practitioner" : { + "reference" : "Practitioner/Practitioner-1011", + "display" : "Brenda Jennings Richard MD" + }, + "organization" : { + "reference" : "Organization/acme-lab", + "display" : "Acme Lab" + }, + "code" : [ + { + "coding" : [ + { + "system" : "http://nucc.org/provider-taxonomy", + "code" : "261QP2300X", + "display" : "Primary Care" + } + ] + } + ], + "specialty" : [ + { + "coding" : [ + { + "system" : "http://nucc.org/provider-taxonomy", + "code" : "208D00000X", + "display" : "General Practice" + } + ] + } + ], + "location" : [ + { + "reference" : "Location/hl7east", + "display" : "Health Level Seven International" + } + ], + "endpoint" : [ + { + "reference" : "http://52.90.126.238:8080/fhir/baseDstu3/Endpoint/Endpoint-71", + "display" : "Westwood Physicians Organization ADT" + }, + { + "reference" : "http://52.90.126.238:8080/fhir/baseDstu3/Endpoint/Endpoint-71", + "display" : "Brenda.Jennings.Richard.MD@direct.example.org" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/Procedure/Procedure-defib-implant.json b/evaluator.cli/src/test/resources/uscore/example/Procedure/Procedure-defib-implant.json new file mode 100644 index 000000000..8c4e6a623 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/Procedure/Procedure-defib-implant.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Procedure", + "id": "defib-implant", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: defib-implant

meta:

identifier: urn:uuid:b2a737f2-2fdb-49c1-b097-dac173d07aff

status: completed

code: Insertion or replacement of permanent implantable defibrillator system with transvenous lead(s), single or dual chamber (Details : {http://www.ama-assn.org/go/cpt code '33249' = '33249)

subject: Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

performed: 27/03/2019 6:55:26 AM --> 27/03/2019 7:25:26 AM

Performers

-Actor
*Generated Summary: id: practitioner-1; 9941339108, 25456; Ronald Bone

FocalDevices

-Manipulated
*Generated Summary: id: udi-2; status: active; manufacturer: ACME Biomedical; expirationDate: 01/01/2022 12:00:00 AM; lotNumber: M320; serialNumber: AC221; modelNumber: 1.0; Implant
" + }, + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:b2a737f2-2fdb-49c1-b097-dac173d07aff" + } + ], + "status": "completed", + "code": { + "coding": [ + { + "system": "http://www.ama-assn.org/go/cpt", + "code": "33249" + } + ], + "text": "Insertion or replacement of permanent implantable defibrillator system with transvenous lead(s), single or dual chamber" + }, + "subject": { + "reference": "Patient/example" + }, + "performedPeriod": { + "start": "2019-03-26T12:55:26-07:00", + "end": "2019-03-26T13:25:26-07:00" + }, + "performer": [ + { + "actor": { + "reference": "Practitioner/practitioner-1" + } + } + ], + "focalDevice": [ + { + "manipulated": { + "reference": "Device/udi-2" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/Procedure/Procedure-rehab.json b/evaluator.cli/src/test/resources/uscore/example/Procedure/Procedure-rehab.json new file mode 100644 index 000000000..6c10f8547 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/Procedure/Procedure-rehab.json @@ -0,0 +1,34 @@ +{ + "resourceType": "Procedure", + "id": "rehab", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: rehab

meta:

status: completed

code: Alcohol rehabilitation (Details : {SNOMED CT code '35637008' = 'Alcohol rehabilitation (regime/therapy)', given as 'Alcohol rehabilitation'}; {http://www.icd10data.com/icd10pcs code 'HZ30ZZZ' = 'HZ30ZZZ', given as 'Individual Counseling for Substance Abuse Treatment, Cognitive'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

performed: 23/05/2002 12:00:00 AM

" + }, + "status": "completed", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "35637008", + "display": "Alcohol rehabilitation" + }, + { + "system": "http://www.icd10data.com/icd10pcs", + "code": "HZ30ZZZ", + "display": "Individual Counseling for Substance Abuse Treatment, Cognitive" + } + ], + "text": "Alcohol rehabilitation" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "performedDateTime": "2002-05-23" +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/Provenance/Provenance-79614.json b/evaluator.cli/src/test/resources/uscore/example/Provenance/Provenance-79614.json new file mode 100644 index 000000000..3b0654ebd --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/Provenance/Provenance-79614.json @@ -0,0 +1,40 @@ +{ + "resourceType" : "Provenance", + "id" : "79614", + "meta" : { + "versionId" : "1", + "lastUpdated" : "2019-07-09T15:26:23.217+00:00", + "profile" : [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance" + ] + }, + "text" : { + "status" : "generated", + "div" : "

Generated Narrative with Details

id: 79614

meta:

target: AllergyIntolerance/79613

recorded: 10/07/2019 1:26:23 AM

Agents

-TypeWhoOnBehalfOf
*Author (Details : {http://terminology.hl7.org/CodeSystem/provenance-participant-type code 'author' = 'Author', given as 'Author'})Generated Summary: id: practitioner-1; 9941339108, 25456; Ronald Bone Generated Summary: id: saint-luke-w-endpoint; 1063494177, 00-0000000; active; name: Saint Luke's Hospital of Kansas City; ph: (816)932-2000(WORK), http://www.saintlukeshealthsystem.org/locations/saint-lukes-hospital-kansas-city(WORK)
" + }, + "target" : [ + { + "reference" : "AllergyIntolerance/79613" + } + ], + "recorded" : "2019-07-09T15:26:23.217+00:00", + "agent" : [ + { + "type" : { + "coding" : [ + { + "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type", + "code" : "author", + "display" : "Author" + } + ] + }, + "who" : { + "reference" : "Practitioner/practitioner-1" + }, + "onBehalfOf" : { + "reference" : "Organization/saint-luke-w-endpoint" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-blood-glucose.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-blood-glucose.json new file mode 100644 index 000000000..e2e8657d6 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-blood-glucose.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "blood-glucose", + "meta": { + "versionId": "1165", + "lastUpdated": "2016-03-09T15:29:58.328+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: blood-glucose

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Glucose Bld-mCnc (Details : {LOINC code '2339-0' = 'Glucose [Mass/volume] in Blood', given as 'Glucose Bld-mCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 76.0 mg/dL

ReferenceRanges

-LowHighAppliesTo
*40.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')109.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2339-0", + "display": "Glucose Bld-mCnc" + } + ], + "text": "Glucose Bld-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 76.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 40.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 109.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-blood-pressure.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-blood-pressure.json new file mode 100644 index 000000000..b9d253e1d --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-blood-pressure.json @@ -0,0 +1,82 @@ +{ + "resourceType": "Observation", + "id": "blood-pressure", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: blood-pressure

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: Blood pressure systolic and diastolic (Details : {LOINC code '85354-9' = 'Blood pressure panel with all children optional', given as 'Blood pressure panel with all children optional'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 02/07/1999 12:00:00 AM

component

code: Systolic blood pressure (Details : {LOINC code '8480-6' = 'Systolic blood pressure', given as 'Systolic blood pressure'})

value: 109 mmHg (Details: UCUM code mm[Hg] = 'mm[Hg]')

component

code: Diastolic blood pressure (Details : {LOINC code '8462-4' = 'Diastolic blood pressure', given as 'Diastolic blood pressure'})

value: 44 mmHg (Details: UCUM code mm[Hg] = 'mm[Hg]')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood pressure panel with all children optional" + } + ], + "text": "Blood pressure systolic and diastolic" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic blood pressure" + } + ], + "text": "Systolic blood pressure" + }, + "valueQuantity": { + "value": 109, + "unit": "mmHg", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic blood pressure" + } + ], + "text": "Diastolic blood pressure" + }, + "valueQuantity": { + "value": 44, + "unit": "mmHg", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-bmi.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-bmi.json new file mode 100644 index 000000000..7b8f3bb5d --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-bmi.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "bmi", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: bmi

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: BMI (Details : {LOINC code '39156-5' = 'Body mass index (BMI) [Ratio]', given as 'Body mass index (BMI) [Ratio]'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 02/07/1999 12:00:00 AM

value: 16.2 kg/m2 (Details: UCUM code kg/m2 = 'kg/m2')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5", + "display": "Body mass index (BMI) [Ratio]" + } + ], + "text": "BMI" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 16.2, + "unit": "kg/m2", + "system": "http://unitsofmeasure.org", + "code": "kg/m2" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-bun.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-bun.json new file mode 100644 index 000000000..1d99e6fdc --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-bun.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "bun", + "meta": { + "versionId": "1237", + "lastUpdated": "2016-03-09T15:29:58.597+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: bun

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: BUN SerPl-mCnc (Details : {LOINC code '3094-0' = 'Urea nitrogen [Mass/volume] in Serum or Plasma', given as 'BUN SerPl-mCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 10.0 mg/dL

ReferenceRanges

-LowHighAppliesTo
*5.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')20.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "3094-0", + "display": "BUN SerPl-mCnc" + } + ], + "text": "BUN SerPl-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 10.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 5.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 20.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-erythrocytes.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-erythrocytes.json new file mode 100644 index 000000000..c5002f5ba --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-erythrocytes.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "erythrocytes", + "meta": { + "versionId": "1189", + "lastUpdated": "2016-03-09T15:29:58.419+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: erythrocytes

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: RBC # Bld Auto (Details : {LOINC code '789-8' = 'Erythrocytes [#/volume] in Blood by Automated count', given as 'RBC # Bld Auto'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 4.58 10*6/uL

ReferenceRanges

-LowHighAppliesTo
*4.1 10*6/uL (Details: UCUM code 10*6/uL = '10*6/uL')6.1 10*6/uL (Details: UCUM code 10*6/uL = '10*6/uL')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "789-8", + "display": "RBC # Bld Auto" + } + ], + "text": "RBC # Bld Auto" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 4.58, + "unit": "10*6/uL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 4.1, + "unit": "10*6/uL", + "system": "http://unitsofmeasure.org", + "code": "10*6/uL" + }, + "high": { + "value": 6.1, + "unit": "10*6/uL", + "system": "http://unitsofmeasure.org", + "code": "10*6/uL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-head-circumference.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-head-circumference.json new file mode 100644 index 000000000..372e5563a --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-head-circumference.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "head-circumference", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: head-circumference

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: head_circumference (Details : {LOINC code '8287-5' = 'Head Occipital-frontal circumference by Tape measure', given as 'Head Occipital-frontal circumference by Tape measure'})

subject: Amy V Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: Generated Summary: id: 1036; status: in-progress; inpatient encounter

effective: 12/08/2010 12:00:00 AM

value: 51.2 cm (Details: UCUM code cm = 'cm')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8287-5", + "display": "Head Occipital-frontal circumference by Tape measure" + } + ], + "text": "head_circumference" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy V Shaw" + }, + "encounter": { + "reference": "Encounter/1036" + }, + "effectiveDateTime": "2010-08-12", + "valueQuantity": { + "value": 51.2, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-heart-rate.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-heart-rate.json new file mode 100644 index 000000000..b8d511095 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-heart-rate.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "heart-rate", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: heart-rate

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: heart_rate (Details : {LOINC code '8867-4' = 'Heart rate', given as 'Heart Rate'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 02/07/1999 12:00:00 AM

value: 44.0 {beats}/min (Details: UCUM code {beats}/min = '{beats}/min')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4", + "display": "Heart Rate" + } + ], + "text": "heart_rate" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 44.0, + "unit": "{beats}/min", + "system": "http://unitsofmeasure.org", + "code": "{beats}/min" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-height.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-height.json new file mode 100644 index 000000000..a822b6c76 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-height.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "height", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: height

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: height (Details : {LOINC code '8302-2' = 'Body height', given as 'Body height'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 02/07/1999 12:00:00 AM

value: 111.506 cm (Details: UCUM code cm = 'cm')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2", + "display": "Body height" + } + ], + "text": "height" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 111.506, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-hemoglobin.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-hemoglobin.json new file mode 100644 index 000000000..f19616dfe --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-hemoglobin.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "hemoglobin", + "meta": { + "versionId": "1046", + "lastUpdated": "2016-03-09T15:29:57.818+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: hemoglobin

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Hgb Bld-mCnc (Details : {LOINC code '718-7' = 'Hemoglobin [Mass/volume] in Blood', given as 'Hgb Bld-mCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 17.0 g/dL

ReferenceRanges

-LowHighAppliesTo
*16.5 g/dL (Details: UCUM code g/dL = 'g/dL')21.5 g/dL (Details: UCUM code g/dL = 'g/dL')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "718-7", + "display": "Hgb Bld-mCnc" + } + ], + "text": "Hgb Bld-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 17.0, + "unit": "g/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 16.5, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + }, + "high": { + "value": 21.5, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-length.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-length.json new file mode 100644 index 000000000..9301634c3 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-length.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "length", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: length

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: length (Details : {LOINC code '8306-3' = 'Body height --lying', given as 'Body height --lying'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 02/07/1999 12:00:00 AM

value: 25 cm (Details: UCUM code cm = 'cm')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8306-3", + "display": "Body height --lying" + } + ], + "text": "length" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 25, + "unit": "cm", + "system": "http://unitsofmeasure.org", + "code": "cm" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-mchc.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-mchc.json new file mode 100644 index 000000000..0b9f5e9ba --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-mchc.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "mchc", + "meta": { + "versionId": "879", + "lastUpdated": "2016-03-09T15:29:57.124+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: mchc

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: MCHC RBC Auto-mCnc (Details : {LOINC code '786-4' = 'MCHC [Mass/volume] by Automated count', given as 'MCHC RBC Auto-mCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 34.7 g/dL

ReferenceRanges

-LowHighAppliesTo
*30.0 g/dL (Details: UCUM code g/dL = 'g/dL')34.0 g/dL (Details: UCUM code g/dL = 'g/dL')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "786-4", + "display": "MCHC RBC Auto-mCnc" + } + ], + "text": "MCHC RBC Auto-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 34.7, + "unit": "g/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 30.0, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + }, + "high": { + "value": 34.0, + "unit": "g/dL", + "system": "http://unitsofmeasure.org", + "code": "g/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-neutrophils.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-neutrophils.json new file mode 100644 index 000000000..c5c18dbe7 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-neutrophils.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "neutrophils", + "meta": { + "versionId": "1106", + "lastUpdated": "2016-03-09T15:29:58.052+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: neutrophils

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Neutrophils % (Details : {LOINC code '770-8' = 'Neutrophils/100 leukocytes in Blood by Automated count', given as 'Neutrophils/100 leukocytes in Blood by Automated count'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 40.0 %

ReferenceRanges

-LowHighAppliesTo
*37.0 % (Details: UCUM code % = '%')67.0 % (Details: UCUM code % = '%')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "770-8", + "display": "Neutrophils/100 leukocytes in Blood by Automated count" + } + ], + "text": "Neutrophils %" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 40.0, + "unit": "%", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 37.0, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + }, + "high": { + "value": 67.0, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-oxygen-saturation.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-oxygen-saturation.json new file mode 100644 index 000000000..098747b95 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-oxygen-saturation.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "oxygen-saturation", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: oxygen-saturation

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: oxygen_saturation (Details : {LOINC code '59408-5' = 'Oxygen saturation in Arterial blood by Pulse oximetry', given as 'Oxygen saturation in Arterial blood by Pulse oximetry'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 02/07/1999 12:00:00 AM

value: 99.0 %O2 (Details: UCUM code % = '%')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "59408-5", + "display": "Oxygen saturation in Arterial blood by Pulse oximetry" + } + ], + "text": "oxygen_saturation" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 99.0, + "unit": "%O2", + "system": "http://unitsofmeasure.org", + "code": "%" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-pediatric-bmi-example.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-pediatric-bmi-example.json new file mode 100644 index 000000000..7ba57d1de --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-pediatric-bmi-example.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "pediatric-bmi-example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-bmi-for-age" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: pediatric-bmi-example

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: BMI (Details : {LOINC code '59576-9' = 'Body mass index (BMI) [Percentile] Per age and sex', given as 'Body mass index (BMI) [Percentile] Per age and gender'})

subject: Infant Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 05/05/2019 5:12:29 AM

value: 65 % (Details: UCUM code % = '%')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "59576-9", + "display": "Body mass index (BMI) [Percentile] Per age and gender" + } + ], + "text": "BMI" + }, + "subject": { + "reference": "Patient/example", + "display": "Infant Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "2019-05-04T12:12:29-07:00", + "valueQuantity": { + "value": 65, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-pediatric-wt-example.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-pediatric-wt-example.json new file mode 100644 index 000000000..8d8ad60db --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-pediatric-wt-example.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "pediatric-wt-example", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/pediatric-weight-for-height" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: pediatric-wt-example

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: BMI (Details : {LOINC code '77606-2' = 'Weight-for-length Per age and sex', given as 'Weight-for-length Per age and gender'})

subject: Infant Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 05/05/2019 5:12:29 AM

value: 65 % (Details: UCUM code % = '%')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "77606-2", + "display": "Weight-for-length Per age and gender" + } + ], + "text": "BMI" + }, + "subject": { + "reference": "Patient/example", + "display": "Infant Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "2019-05-04T12:12:29-07:00", + "valueQuantity": { + "value": 65, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-respiratory-rate.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-respiratory-rate.json new file mode 100644 index 000000000..3d311b574 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-respiratory-rate.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "respiratory-rate", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: respiratory-rate

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: respiratory_rate (Details : {LOINC code '9279-1' = 'Respiratory rate', given as 'Respiratory rate'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 02/07/1999 12:00:00 AM

value: 26.0 breaths per minute (Details: UCUM code /min = '/min')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1", + "display": "Respiratory rate" + } + ], + "text": "respiratory_rate" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 26.0, + "unit": "breaths per minute", + "system": "http://unitsofmeasure.org", + "code": "/min" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-satO2-fiO2.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-satO2-fiO2.json new file mode 100644 index 000000000..fcb88b08e --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-satO2-fiO2.json @@ -0,0 +1,107 @@ +{ + "resourceType": "Observation", + "id": "satO2-fiO2", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: satO2-fiO2

identifier: o1223435-10

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: Oxygen saturation in Arterial blood (Details : {LOINC code '2708-6' = 'Oxygen saturation in Arterial blood', given as 'Oxygen saturation in Arterial blood'}; {LOINC code '59408-5' = 'Oxygen saturation in Arterial blood by Pulse oximetry', given as 'Oxygen saturation in Arterial blood by Pulse oximetry'}; {urn:iso:std:iso:11073:10101 code '150456' = '150456', given as 'MDC_PULS_OXIM_SAT_O2'})

subject: Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/12/2014 7:30:10 PM

value: 95 % (Details: UCUM code % = '%')

interpretation: Normal (applies to non-numeric results) (Details : {http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation code 'N' = 'Normal', given as 'Normal'})

device: Acme Pulse Oximeter 2000

ReferenceRanges

-LowHigh
*90 % (Details: UCUM code % = '%')99 % (Details: UCUM code % = '%')

Components

-CodeValue[x]
*Inhaled oxygen flow rate (Details : {LOINC code '3151-8' = 'Inhaled oxygen flow rate', given as 'Inhaled oxygen flow rate'})6 liters/min (Details: UCUM code l/min = 'l/min')
" + }, + "identifier": [ + { + "system": "http://goodcare.org/observation/id", + "value": "o1223435-10" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2708-6", + "display": "Oxygen saturation in Arterial blood" + }, + { + "system": "http://loinc.org", + "code": "59408-5", + "display": "Oxygen saturation in Arterial blood by Pulse oximetry" + }, + { + "system": "urn:iso:std:iso:11073:10101", + "code": "150456", + "display": "MDC_PULS_OXIM_SAT_O2" + } + ] + }, + "subject": { + "reference": "Patient/example" + }, + "effectiveDateTime": "2014-12-05T09:30:10+01:00", + "valueQuantity": { + "value": 95, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "N", + "display": "Normal" + } + ], + "text": "Normal (applies to non-numeric results)" + } + ], + "device": { + "display": "Acme Pulse Oximeter 2000" + }, + "referenceRange": [ + { + "low": { + "value": 90, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + }, + "high": { + "value": 99, + "unit": "%", + "system": "http://unitsofmeasure.org", + "code": "%" + } + } + ], + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "3151-8", + "display": "Inhaled oxygen flow rate" + } + ], + "text": "Inhaled oxygen flow rate" + }, + "valueQuantity": { + "value": 6, + "unit": "liters/min", + "system": "http://unitsofmeasure.org", + "code": "l/min" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-serum-calcium.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-serum-calcium.json new file mode 100644 index 000000000..ecb8fbe2d --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-serum-calcium.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-calcium", + "meta": { + "versionId": "902", + "lastUpdated": "2016-03-09T15:29:57.227+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: serum-calcium

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Calcium SerPl-mCnc (Details : {LOINC code '17861-6' = 'Calcium [Mass/volume] in Serum or Plasma', given as 'Calcium SerPl-mCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 7.7 mg/dL

ReferenceRanges

-LowHighAppliesTo
*8.5 mg/dL (Details: UCUM code mg/dL = 'mg/dL')10.5 mg/dL (Details: UCUM code mg/dL = 'mg/dL')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "17861-6", + "display": "Calcium SerPl-mCnc" + } + ], + "text": "Calcium SerPl-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 7.7, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 8.5, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 10.5, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-serum-chloride.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-serum-chloride.json new file mode 100644 index 000000000..d1ce14bed --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-serum-chloride.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-chloride", + "meta": { + "versionId": "950", + "lastUpdated": "2016-03-09T15:29:57.427+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: serum-chloride

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Chloride SerPl-sCnc (Details : {LOINC code '2075-0' = 'Chloride [Moles/volume] in Serum or Plasma', given as 'Chloride SerPl-sCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 105.0 mmol/L

ReferenceRanges

-LowHighAppliesTo
*95.0 mmol/L (Details: UCUM code mmol/L = 'mmol/L')105.0 mmol/L (Details: UCUM code mmol/L = 'mmol/L')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2075-0", + "display": "Chloride SerPl-sCnc" + } + ], + "text": "Chloride SerPl-sCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 105.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 95.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "high": { + "value": 105.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-serum-co2.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-serum-co2.json new file mode 100644 index 000000000..637e44253 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-serum-co2.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-co2", + "meta": { + "versionId": "962", + "lastUpdated": "2016-03-09T15:29:57.477+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: serum-co2

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: CO2 SerPl-sCnc (Details : {LOINC code '2028-9' = 'Carbon dioxide, total [Moles/volume] in Serum or Plasma', given as 'CO2 SerPl-sCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 24.0 mmol/L

ReferenceRanges

-LowHighAppliesTo
*22.0 mmol/L (Details: UCUM code mmol/L = 'mmol/L')29.0 mmol/L (Details: UCUM code mmol/L = 'mmol/L')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2028-9", + "display": "CO2 SerPl-sCnc" + } + ], + "text": "CO2 SerPl-sCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 24.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 22.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "high": { + "value": 29.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-serum-creatinine.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-serum-creatinine.json new file mode 100644 index 000000000..f06bb9635 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-serum-creatinine.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-creatinine", + "meta": { + "versionId": "926", + "lastUpdated": "2016-03-09T15:29:57.327+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: serum-creatinine

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Creat SerPl-mCnc (Details : {LOINC code '2160-0' = 'Creatinine [Mass/volume] in Serum or Plasma', given as 'Creat SerPl-mCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 1.0 mg/dL

ReferenceRanges

-LowHighAppliesTo
*0.2 mg/dL (Details: UCUM code mg/dL = 'mg/dL')0.6 mg/dL (Details: UCUM code mg/dL = 'mg/dL')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2160-0", + "display": "Creat SerPl-mCnc" + } + ], + "text": "Creat SerPl-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 1.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 0.2, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 0.6, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-serum-potassium.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-serum-potassium.json new file mode 100644 index 000000000..6ef88b4dc --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-serum-potassium.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-potassium", + "meta": { + "versionId": "938", + "lastUpdated": "2016-03-09T15:29:57.376+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: serum-potassium

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Potassium SerPl-sCnc (Details : {LOINC code '2823-3' = 'Potassium [Moles/volume] in Serum or Plasma', given as 'Potassium SerPl-sCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 5.4 mmol/L

ReferenceRanges

-LowHighAppliesTo
*3.5 mmol/L (Details: UCUM code mmol/L = 'mmol/L')5.5 mmol/L (Details: UCUM code mmol/L = 'mmol/L')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2823-3", + "display": "Potassium SerPl-sCnc" + } + ], + "text": "Potassium SerPl-sCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 5.4, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 3.5, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "high": { + "value": 5.5, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-serum-sodium.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-serum-sodium.json new file mode 100644 index 000000000..c591145ef --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-serum-sodium.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-sodium", + "meta": { + "versionId": "914", + "lastUpdated": "2016-03-09T15:29:57.277+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: serum-sodium

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Sodium SerPl-sCnc (Details : {LOINC code '2951-2' = 'Sodium [Moles/volume] in Serum or Plasma', given as 'Sodium SerPl-sCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 137.0 mmol/L

ReferenceRanges

-LowHighAppliesTo
*135.0 mmol/L (Details: UCUM code mmol/L = 'mmol/L')145.0 mmol/L (Details: UCUM code mmol/L = 'mmol/L')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2951-2", + "display": "Sodium SerPl-sCnc" + } + ], + "text": "Sodium SerPl-sCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 137.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 135.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "high": { + "value": 145.0, + "unit": "mmol/L", + "system": "http://unitsofmeasure.org", + "code": "mmol/L" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-serum-total-bilirubin.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-serum-total-bilirubin.json new file mode 100644 index 000000000..4a2bf6e4c --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-serum-total-bilirubin.json @@ -0,0 +1,76 @@ +{ + "resourceType": "Observation", + "id": "serum-total-bilirubin", + "meta": { + "versionId": "1364", + "lastUpdated": "2016-03-09T15:29:59.089+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: serum-total-bilirubin

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: Bilirub SerPl-mCnc (Details : {LOINC code '1975-2' = 'Bilirubin.total [Mass/volume] in Serum or Plasma', given as 'Bilirub SerPl-mCnc'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 07/07/2005 12:00:00 AM

value: 8.6 mg/dL

ReferenceRanges

-LowHighAppliesTo
*2.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')7.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')Normal Range (Details : {http://terminology.hl7.org/CodeSystem/referencerange-meaning code 'normal' = 'Normal Range', given as 'Normal Range'})
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "1975-2", + "display": "Bilirub SerPl-mCnc" + } + ], + "text": "Bilirub SerPl-mCnc" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-07", + "valueQuantity": { + "value": 8.6, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org" + }, + "referenceRange": [ + { + "low": { + "value": 2.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 7.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "appliesTo": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning", + "code": "normal", + "display": "Normal Range" + } + ], + "text": "Normal Range" + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-some-day-smoker.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-some-day-smoker.json new file mode 100644 index 000000000..056f1aeeb --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-some-day-smoker.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "some-day-smoker", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: some-day-smoker

meta:

status: final

category: Social History (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'social-history' = 'Social History', given as 'Social History'})

code: Tobacco smoking status NHIS (Details : {LOINC code '72166-2' = 'Tobacco smoking status', given as 'Tobacco smoking status NHIS'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

issued: 18/03/2016 4:27:04 PM

value: Current some day smoker (Details : {SNOMED CT code '428041000124106' = 'Occasional tobacco smoker)

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "social-history", + "display": "Social History" + } + ], + "text": "Social History" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72166-2", + "display": "Tobacco smoking status NHIS" + } + ], + "text": "Tobacco smoking status NHIS" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "issued": "2016-03-18T05:27:04Z", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "428041000124106" + } + ], + "text": "Current some day smoker" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-temperature.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-temperature.json new file mode 100644 index 000000000..ebc6cf591 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-temperature.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "temperature", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: temperature

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: temperature (Details : {LOINC code '8310-5' = 'Body temperature', given as 'Body temperature'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 02/07/1999 12:00:00 AM

value: 36.55556 Cel (Details: UCUM code Cel = 'Cel')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8310-5", + "display": "Body temperature" + } + ], + "text": "temperature" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 36.55556, + "unit": "Cel", + "system": "http://unitsofmeasure.org", + "code": "Cel" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-bacteria.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-bacteria.json new file mode 100644 index 000000000..3b94b3a01 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-bacteria.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-bacteria", + "meta": { + "versionId": "206540", + "lastUpdated": "2016-04-18T03:56:41.250+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-bacteria

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: BACTERIA (Details : {LOINC code '25145-4' = 'Bacteria [Presence] in Urine sediment by Light microscopy', given as 'Bacteria [Presence] in Urine sediment by Light microscopy'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 4+ (Details : {SNOMED CT code '260350009' = 'Present ++++ out of ++++ (qualifier value)', given as '++++'})

ReferenceRanges

-Text
*0-1+
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "25145-4", + "display": "Bacteria [Presence] in Urine sediment by Light microscopy" + } + ], + "text": "BACTERIA" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260350009", + "display": "++++" + } + ], + "text": "4+" + }, + "referenceRange": [ + { + "text": "0-1+" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-bilirubin.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-bilirubin.json new file mode 100644 index 000000000..aa2680a46 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-bilirubin.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-bilirubin", + "meta": { + "versionId": "206456", + "lastUpdated": "2016-04-18T03:37:21.259+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-bilirubin

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: BILIRUBIN (Details : {LOINC code '5770-3' = 'Bilirubin.total [Presence] in Urine by Test strip', given as 'Bilirubin.total [Presence] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: Negative (Details : {SNOMED CT code '260385009' = 'Negative', given as 'Negative'})

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5770-3", + "display": "Bilirubin.total [Presence] in Urine by Test strip" + } + ], + "text": "BILIRUBIN" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260385009", + "display": "Negative" + } + ], + "text": "Negative" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-cells.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-cells.json new file mode 100644 index 000000000..7a82aaf59 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-cells.json @@ -0,0 +1,62 @@ +{ + "resourceType": "Observation", + "id": "urine-cells", + "meta": { + "versionId": "206624", + "lastUpdated": "2016-04-18T04:23:12.123+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-cells

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: EPITHELIAL CELLS (Details : {LOINC code '5787-7' = 'Epithelial cells [#/area] in Urine sediment by Microscopy high power field', given as 'Epithelial cells [#/area] in Urine sediment by Microscopy high power field'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 1-5 cells/HPF

ReferenceRanges

-Text
*None Seen/HPF
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5787-7", + "display": "Epithelial cells [#/area] in Urine sediment by Microscopy high power field" + } + ], + "text": "EPITHELIAL CELLS" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueRange": { + "low": { + "value": 1, + "unit": "cells/HPF", + "system": "http://unitsofmeasure.org", + "code": "/[HPF]" + }, + "high": { + "value": 5, + "unit": "cells/HPF", + "system": "http://unitsofmeasure.org", + "code": "/[HPF]" + } + }, + "referenceRange": [ + { + "text": "None Seen/HPF" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-clarity.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-clarity.json new file mode 100644 index 000000000..0be3b3082 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-clarity.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-clarity", + "meta": { + "versionId": "206432", + "lastUpdated": "2016-04-18T03:33:00.502+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-clarity

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: APPEARANCE (Details : {LOINC code '32167-9' = 'Clarity of Urine', given as 'Clarity of Urine'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: Hazy (Details : {SNOMED CT code '81858005' = 'Cloudy', given as 'Cloudy'})

ReferenceRanges

-Text
*Clear
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "32167-9", + "display": "Clarity of Urine" + } + ], + "text": "APPEARANCE" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "81858005", + "display": "Cloudy" + } + ], + "text": "Hazy" + }, + "referenceRange": [ + { + "text": "Clear" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-color.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-color.json new file mode 100644 index 000000000..53abaf118 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-color.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-color", + "meta": { + "versionId": "206419", + "lastUpdated": "2016-04-18T03:27:43.203+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-color

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: COLOR (Details : {LOINC code '5778-6' = 'Color of Urine', given as 'Color of Urine'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: Yellow (Details : {http://snomed.inbnm,fo/sct code '371244009' = '371244009', given as 'Yellow'})

ReferenceRanges

-Text
*Yellow
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5778-6", + "display": "Color of Urine" + } + ], + "text": "COLOR" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.inbnm,fo/sct", + "code": "371244009", + "display": "Yellow" + } + ], + "text": "Yellow" + }, + "referenceRange": [ + { + "text": "Yellow" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-epi-cells.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-epi-cells.json new file mode 100644 index 000000000..ef79b840f --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-epi-cells.json @@ -0,0 +1,62 @@ +{ + "resourceType": "Observation", + "id": "urine-epi-cells", + "meta": { + "versionId": "206624", + "lastUpdated": "2016-04-18T04:23:12.123+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-epi-cells

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: EPITHELIAL CELLS (Details : {LOINC code '5787-7' = 'Epithelial cells [#/area] in Urine sediment by Microscopy high power field', given as 'Epithelial cells [#/area] in Urine sediment by Microscopy high power field'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 1-5 cells/HPF

ReferenceRanges

-Text
*None Seen/HPF
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5787-7", + "display": "Epithelial cells [#/area] in Urine sediment by Microscopy high power field" + } + ], + "text": "EPITHELIAL CELLS" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueRange": { + "low": { + "value": 1, + "unit": "cells/HPF", + "system": "http://unitsofmeasure.org", + "code": "/[HPF]" + }, + "high": { + "value": 5, + "unit": "cells/HPF", + "system": "http://unitsofmeasure.org", + "code": "/[HPF]" + } + }, + "referenceRange": [ + { + "text": "None Seen/HPF" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-glucose.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-glucose.json new file mode 100644 index 000000000..c597b631e --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-glucose.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-glucose", + "meta": { + "versionId": "206444", + "lastUpdated": "2016-04-18T03:35:42.751+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-glucose

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: GLUCOSE (Details : {LOINC code '25428-4' = 'Glucose [Presence] in Urine by Test strip', given as 'Glucose [Presence] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: Negative (Details : {SNOMED CT code '260385009' = 'Negative', given as 'Negative'})

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "25428-4", + "display": "Glucose [Presence] in Urine by Test strip" + } + ], + "text": "GLUCOSE" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260385009", + "display": "Negative" + } + ], + "text": "Negative" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-hemoglobin.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-hemoglobin.json new file mode 100644 index 000000000..2e64c49f0 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-hemoglobin.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-hemoglobin", + "meta": { + "versionId": "206504", + "lastUpdated": "2016-04-18T03:45:25.300+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-hemoglobin

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: BLOOD (Details : {LOINC code '5794-3' = 'Hemoglobin [Presence] in Urine by Test strip', given as 'Hemoglobin [Presence] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: Trace (Details : {SNOMED CT code '260405006' = 'Trace', given as 'Trace'})

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5794-3", + "display": "Hemoglobin [Presence] in Urine by Test strip" + } + ], + "text": "BLOOD" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260405006", + "display": "Trace" + } + ], + "text": "Trace" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-ketone.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-ketone.json new file mode 100644 index 000000000..55d73a113 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-ketone.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-ketone", + "meta": { + "versionId": "206468", + "lastUpdated": "2016-04-18T03:39:00.812+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-ketone

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: KETONE (Details : {LOINC code '2514-8' = 'Ketones [Presence] in Urine by Test strip', given as 'Ketones [Presence] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: Negative (Details : {SNOMED CT code '260385009' = 'Negative', given as 'Negative'})

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "2514-8", + "display": "Ketones [Presence] in Urine by Test strip" + } + ], + "text": "KETONE" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260385009", + "display": "Negative" + } + ], + "text": "Negative" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-leukocyte-esterase.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-leukocyte-esterase.json new file mode 100644 index 000000000..eeeac52a3 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-leukocyte-esterase.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-leukocyte-esterase", + "meta": { + "versionId": "206552", + "lastUpdated": "2016-04-18T03:58:45.747+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-leukocyte-esterase

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: LEUK ESTERASE (Details : {LOINC code '5799-2' = 'Leukocyte esterase [Presence] in Urine by Test strip', given as 'Leukocyte esterase [Presence] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 2+ (Details : {SNOMED CT code '260348001' = 'Present ++ out of ++++ (qualifier value)', given as '++'})

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5799-2", + "display": "Leukocyte esterase [Presence] in Urine by Test strip" + } + ], + "text": "LEUK ESTERASE" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260348001", + "display": "++" + } + ], + "text": "2+" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-nitrite.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-nitrite.json new file mode 100644 index 000000000..98ae91ee5 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-nitrite.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-nitrite", + "meta": { + "versionId": "206492", + "lastUpdated": "2016-04-18T03:42:34.440+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-nitrite

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: NITRITE (Details : {LOINC code '5802-4' = 'Nitrite [Presence] in Urine by Test strip', given as 'Nitrite [Presence] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: Positive (Details : {SNOMED CT code '10828004' = 'Positive', given as 'Positive'})

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5802-4", + "display": "Nitrite [Presence] in Urine by Test strip" + } + ], + "text": "NITRITE" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "10828004", + "display": "Positive" + } + ], + "text": "Positive" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-ph.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-ph.json new file mode 100644 index 000000000..fd8dfe3a6 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-ph.json @@ -0,0 +1,65 @@ +{ + "resourceType": "Observation", + "id": "urine-ph", + "meta": { + "versionId": "206600", + "lastUpdated": "2016-04-18T04:12:25.425+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-ph

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: PH (Details : {LOINC code '5803-2' = 'pH of Urine by Test strip', given as 'pH of Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 6.0 (pH) (Details: UCUM code [pH] = '[pH]')

ReferenceRanges

-LowHigh
*5.0 (pH) (Details: UCUM code [pH] = '[pH]')8.0 (pH) (Details: UCUM code [pH] = '[pH]')
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5803-2", + "display": "pH of Urine by Test strip" + } + ], + "text": "PH" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 6.0, + "unit": "(pH)", + "system": "http://unitsofmeasure.org", + "code": "[pH]" + }, + "referenceRange": [ + { + "low": { + "value": 5.0, + "unit": "(pH)", + "system": "http://unitsofmeasure.org", + "code": "[pH]" + }, + "high": { + "value": 8.0, + "unit": "(pH)", + "system": "http://unitsofmeasure.org", + "code": "[pH]" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-protein.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-protein.json new file mode 100644 index 000000000..afabfc90b --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-protein.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-protein", + "meta": { + "versionId": "206480", + "lastUpdated": "2016-04-18T03:40:36.404+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-protein

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: PROTEIN (Details : {LOINC code '20454-5' = 'Protein [Presence] in Urine by Test strip', given as 'Protein [Presence] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: Negative (Details : {SNOMED CT code '260385009' = 'Negative', given as 'Negative'})

ReferenceRanges

-Text
*Negative
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "20454-5", + "display": "Protein [Presence] in Urine by Test strip" + } + ], + "text": "PROTEIN" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "260385009", + "display": "Negative" + } + ], + "text": "Negative" + }, + "referenceRange": [ + { + "text": "Negative" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-rbcs.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-rbcs.json new file mode 100644 index 000000000..e16a73570 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-rbcs.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "urine-rbcs", + "meta": { + "versionId": "206565", + "lastUpdated": "2016-04-18T04:00:52.434+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-rbcs

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: RBC (Details : {LOINC code '13945-1' = 'Erythrocytes [#/area] in Urine sediment by Microscopy high power field', given as 'Erythrocytes [#/area] in Urine sediment by Microscopy high power field'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: Occasional (Details : {SNOMED CT code '84638005' = 'Occasional (qualifier value)', given as 'Occasional'})

ReferenceRanges

-Text
*None Seen/HPF
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "13945-1", + "display": "Erythrocytes [#/area] in Urine sediment by Microscopy high power field" + } + ], + "text": "RBC" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "84638005", + "display": "Occasional" + } + ], + "text": "Occasional" + }, + "referenceRange": [ + { + "text": "None Seen/HPF" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-sediment.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-sediment.json new file mode 100644 index 000000000..a8a7e079d --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-sediment.json @@ -0,0 +1,44 @@ +{ + "resourceType": "Observation", + "id": "urine-sediment", + "meta": { + "versionId": "206577", + "lastUpdated": "2016-04-18T04:07:12.383+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-sediment

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: COMMENT (Details : {LOINC code '11279-7' = 'Urine sediment comments by Light microscopy Narrative', given as 'Urine sediment comments by Light microscopy Narrative'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: Recommend Urine Culture

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11279-7", + "display": "Urine sediment comments by Light microscopy Narrative" + } + ], + "text": "COMMENT" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueString": "Recommend Urine Culture" +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-wbcs.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-wbcs.json new file mode 100644 index 000000000..76c61ab7a --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urine-wbcs.json @@ -0,0 +1,62 @@ +{ + "resourceType": "Observation", + "id": "urine-wbcs", + "meta": { + "versionId": "206635", + "lastUpdated": "2016-04-18T04:25:02.064+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urine-wbcs

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: WBC (Details : {LOINC code '5821-4' = 'Leukocytes [#/area] in Urine sediment by Microscopy high power field', given as 'Leukocytes [#/area] in Urine sediment by Microscopy high power field'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 20-30 cells/HPF

ReferenceRanges

-Text
*None Seen/HPF
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5821-4", + "display": "Leukocytes [#/area] in Urine sediment by Microscopy high power field" + } + ], + "text": "WBC" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueRange": { + "low": { + "value": 20, + "unit": "cells/HPF", + "system": "http://unitsofmeasure.org", + "code": "/[HPF]" + }, + "high": { + "value": 30, + "unit": "cells/HPF", + "system": "http://unitsofmeasure.org", + "code": "/[HPF]" + } + }, + "referenceRange": [ + { + "text": "None Seen/HPF" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urobilinogen.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urobilinogen.json new file mode 100644 index 000000000..977b10ed9 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-urobilinogen.json @@ -0,0 +1,65 @@ +{ + "resourceType": "Observation", + "id": "urobilinogen", + "meta": { + "versionId": "206612", + "lastUpdated": "2016-04-18T04:20:46.618+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: urobilinogen

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: UROBILINOGEN (Details : {LOINC code '20405-7' = 'Urobilinogen [Mass/volume] in Urine by Test strip', given as 'Urobilinogen [Mass/volume] in Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 0.3 mg/dL (Details: UCUM code mg/dL = 'mg/dL')

ReferenceRanges

-LowHigh
*0.1 mg/dL (Details: UCUM code mg/dL = 'mg/dL')1.0 mg/dL (Details: UCUM code mg/dL = 'mg/dL')
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "20405-7", + "display": "Urobilinogen [Mass/volume] in Urine by Test strip" + } + ], + "text": "UROBILINOGEN" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 0.3, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "referenceRange": [ + { + "low": { + "value": 0.1, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + }, + "high": { + "value": 1.0, + "unit": "mg/dL", + "system": "http://unitsofmeasure.org", + "code": "mg/dL" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-usg.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-usg.json new file mode 100644 index 000000000..b2b761bc3 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-usg.json @@ -0,0 +1,62 @@ +{ + "resourceType": "Observation", + "id": "usg", + "meta": { + "versionId": "206588", + "lastUpdated": "2016-04-18T04:10:12.426+00:00", + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: usg

meta:

status: final

category: Laboratory (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'laboratory' = 'Laboratory', given as 'Laboratory'})

code: SPEC GRAV (Details : {LOINC code '5811-5' = 'Specific gravity of Urine by Test strip', given as 'Specific gravity of Urine by Test strip'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

effective: 05/07/2005 12:00:00 AM

value: 1.017 {urine specific gravity} (Details: UCUM code {urine specific gravity} = '{urine specific gravity}')

ReferenceRanges

-LowHigh
*1.003 {urine specific gravity} (Details: UCUM code {urine specific gravity} = '{urine specific gravity}')1.035 {urine specific gravity} (Details: UCUM code {urine specific gravity} = '{urine specific gravity}')
" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "laboratory", + "display": "Laboratory" + } + ], + "text": "Laboratory" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "5811-5", + "display": "Specific gravity of Urine by Test strip" + } + ], + "text": "SPEC GRAV" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "effectiveDateTime": "2005-07-05", + "valueQuantity": { + "value": 1.017, + "system": "http://unitsofmeasure.org", + "code": "{urine specific gravity}" + }, + "referenceRange": [ + { + "low": { + "value": 1.003, + "system": "http://unitsofmeasure.org", + "code": "{urine specific gravity}" + }, + "high": { + "value": 1.035, + "system": "http://unitsofmeasure.org", + "code": "{urine specific gravity}" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-vitals-panel.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-vitals-panel.json new file mode 100644 index 000000000..150c18dc5 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-vitals-panel.json @@ -0,0 +1,58 @@ +{ + "resourceType": "Observation", + "id": "vitals-panel", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: vitals-panel

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: Vital signs panel (Details : {LOINC code '85353-1' = 'Vital signs, weight, height, head circumference, oxygen saturation and BMI panel', given as 'Vital signs, weight, height, head circumference, oxygen saturation and BMI panel'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 02/07/1999 12:00:00 AM

hasMember:

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "85353-1", + "display": "Vital signs, weight, height, head circumference, oxygen saturation and BMI panel" + } + ], + "text": "Vital signs panel" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "hasMember": [ + { + "reference": "Observation/respiratory-rate", + "display": "Respiratory rate" + }, + { + "reference": "Observation/heart-rate", + "display": "Heart rate" + }, + { + "reference": "Observation/blood-pressure", + "display": "Blood Pressure" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-weight.json b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-weight.json new file mode 100644 index 000000000..5392f19c8 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/example/_Observation/Observation-weight.json @@ -0,0 +1,50 @@ +{ + "resourceType": "Observation", + "id": "weight", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/vitalsigns" + ] + }, + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

id: weight

meta:

status: final

category: Vital Signs (Details : {http://terminology.hl7.org/CodeSystem/observation-category code 'vital-signs' = 'Vital Signs', given as 'Vital Signs'})

code: weight (Details : {LOINC code '29463-7' = 'Body weight', given as 'Body Weight'})

subject: Amy Shaw. Generated Summary: id: example; Medical Record Number = 1032702 (USUAL); active; Amy V. Shaw ; ph: 555-555-5555(HOME), amy.shaw@example.com; gender: female; birthDate: 2007-02-20

encounter: GP Visit

effective: 02/07/1999 12:00:00 AM

value: 20.09414 kg (Details: UCUM code kg = 'kg')

" + }, + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7", + "display": "Body Weight" + } + ], + "text": "weight" + }, + "subject": { + "reference": "Patient/example", + "display": "Amy Shaw" + }, + "encounter": { + "display": "GP Visit" + }, + "effectiveDateTime": "1999-07-02", + "valueQuantity": { + "value": 20.09414, + "unit": "kg", + "system": "http://unitsofmeasure.org", + "code": "kg" + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/CodeSystem/CodeSystem-careplan-category.json b/evaluator.cli/src/test/resources/uscore/vocabulary/CodeSystem/CodeSystem-careplan-category.json new file mode 100644 index 000000000..0d9f7a6df --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/CodeSystem/CodeSystem-careplan-category.json @@ -0,0 +1,36 @@ +{ + "resourceType": "CodeSystem", + "id": "careplan-category", + "text": { + "status": "generated", + "div": "

US Core CarePlan Category Extension Codes

Set of codes that are needed for implementation of the US-Core profiles. These codes are used as extensions to the FHIR and US Core value sets.

\n

This code system http://hl7.org/fhir/us/core/CodeSystem/careplan-category defines the following codes:

CodeDisplayDefinition
assess-plan Assessment and Plan of TreatmentThe clinical conclusions and assumptions that guide the patient's treatment and the clinical activities formulated for a patient.
" + }, + "url": "http://hl7.org/fhir/us/core/CodeSystem/careplan-category", + "version": "3.1.0", + "name": "USCoreCarePlanCategoryExtensionCodes", + "title": "US Core CarePlan Category Extension Codes", + "status": "active", + "date": "2019-11-06T12:37:38+11:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "Set of codes that are needed for implementation of the US-Core profiles. These codes are used as extensions to the FHIR and US Core value sets.\n", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "caseSensitive": true, + "content": "complete", + "concept": [ + { + "code": "assess-plan", + "display": "Assessment and Plan of Treatment", + "definition": "The clinical conclusions and assumptions that guide the patient's treatment and the clinical activities formulated for a patient." + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/CodeSystem/CodeSystem-cdcrec.json b/evaluator.cli/src/test/resources/uscore/vocabulary/CodeSystem/CodeSystem-cdcrec.json new file mode 100644 index 000000000..e406795b8 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/CodeSystem/CodeSystem-cdcrec.json @@ -0,0 +1,4914 @@ +{ + "resourceType": "CodeSystem", + "id": "cdcrec", + "text": { + "status": "generated", + "div": "

Race & Ethnicity - CDC

The U.S. Centers for Disease Control and Prevention (CDC) has prepared a code set for use in codingrace and ethnicity data. This code set is based on current federal standards for classifying data onrace and ethnicity, specifically the minimum race and ethnicity categories defined by the U.S. Office ofManagement and Budget (OMB) and a more detailed set of race and ethnicity categories maintainedby the U.S. Bureau of the Census (BC). The main purpose of the code set is to facilitate use of federalstandards for classifying data on race and ethnicity when these data are exchanged, stored, retrieved,or analyzed in electronic form. At the same time, the code set can be applied to paper-based recordsystems to the extent that these systems are used to collect, maintain, and report data on race andethnicity in accordance with current federal standards. Source: Race and Ethnicity Code Set Version 1.0.

\n

Properties

CodeURLDescriptionType
abstractTrue if an element is considered 'abstract' - in other words, the code is not for use as a real conceptboolean

This code system urn:oid:2.16.840.1.113883.6.238 defines the following codes:

LvlCodeDisplayDefinition
11000-9 RaceRace, Note that this is an abstract 'grouping' concept and not for use as a real concept
2  1002-5 American Indian or Alaska NativeAmerican Indian or Alaska Native
3    1004-1 American IndianAmerican Indian
3    1735-0 Alaska NativeAlaska Native
3    1006-6 AbenakiAbenaki
3    1008-2 AlgonquianAlgonquian
3    1010-8 ApacheApache
3    1021-5 ArapahoArapaho
3    1026-4 ArikaraArikara
3    1028-0 AssiniboineAssiniboine
3    1030-6 Assiniboine SiouxAssiniboine Sioux
3    1033-0 BannockBannock
3    1035-5 BlackfeetBlackfeet
3    1037-1 BrothertonBrotherton
3    1039-7 Burt Lake BandBurt Lake Band
3    1041-3 CaddoCaddo
3    1044-7 CahuillaCahuilla
3    1053-8 California TribesCalifornia Tribes
3    1068-6 Canadian and Latin American IndianCanadian and Latin American Indian
3    1076-9 CatawbaCatawba
3    1078-5 CayuseCayuse
3    1080-1 ChehalisChehalis
3    1082-7 ChemakuanChemakuan
3    1086-8 ChemehueviChemehuevi
3    1088-4 CherokeeCherokee
3    1100-7 Cherokee ShawneeCherokee Shawnee
3    1102-3 CheyenneCheyenne
3    1106-4 Cheyenne-ArapahoCheyenne-Arapaho
3    1108-0 ChickahominyChickahominy
3    1112-2 ChickasawChickasaw
3    1114-8 ChinookChinook
3    1123-9 ChippewaChippewa
3    1150-2 Chippewa CreeChippewa Cree
3    1153-6 ChitimachaChitimacha
3    1155-1 ChoctawChoctaw
3    1162-7 ChumashChumash
3    1165-0 Clear LakeClear Lake
3    1167-6 Coeur D'AleneCoeur D'Alene
3    1169-2 CoharieCoharie
3    1171-8 Colorado RiverColorado River
3    1173-4 ColvilleColville
3    1175-9 ComancheComanche
3    1178-3 Coos, Lower Umpqua, SiuslawCoos, Lower Umpqua, Siuslaw
3    1180-9 CoosCoos
3    1182-5 CoquillesCoquilles
3    1184-1 CostanoanCostanoan
3    1186-6 CoushattaCoushatta
3    1189-0 CowlitzCowlitz
3    1191-6 CreeCree
3    1193-2 CreekCreek
3    1207-0 CroatanCroatan
3    1209-6 CrowCrow
3    1211-2 CupenoCupeno
3    1214-6 DelawareDelaware
3    1222-9 DieguenoDiegueno
3    1233-6 Eastern TribesEastern Tribes
3    1250-0 EsselenEsselen
3    1252-6 Fort BelknapFort Belknap
3    1254-2 Fort BertholdFort Berthold
3    1256-7 Fort McdowellFort Mcdowell
3    1258-3 Fort HallFort Hall
3    1260-9 GabrielenoGabrieleno
3    1262-5 Grand RondeGrand Ronde
3    1264-1 Gros VentresGros Ventres
3    1267-4 HaliwaHaliwa
3    1269-0 HidatsaHidatsa
3    1271-6 HoopaHoopa
3    1275-7 Hoopa ExtensionHoopa Extension
3    1277-3 HoumaHouma
3    1279-9 Inaja-CosmitInaja-Cosmit
3    1281-5 IowaIowa
3    1285-6 IroquoisIroquois
3    1297-1 JuanenoJuaneno
3    1299-7 KalispelKalispel
3    1301-1 KarukKaruk
3    1303-7 KawKaw
3    1305-2 KickapooKickapoo
3    1309-4 KiowaKiowa
3    1312-8 KlallamKlallam
3    1317-7 KlamathKlamath
3    1319-3 KonkowKonkow
3    1321-9 KootenaiKootenai
3    1323-5 LassikLassik
3    1325-0 Long IslandLong Island
3    1331-8 LuisenoLuiseno
3    1340-9 LumbeeLumbee
3    1342-5 LummiLummi
3    1344-1 MaiduMaidu
3    1348-2 MakahMakah
3    1350-8 MaliseetMaliseet
3    1352-4 MandanMandan
3    1354-0 MattaponiMattaponi
3    1356-5 MenomineeMenominee
3    1358-1 MiamiMiami
3    1363-1 MiccosukeeMiccosukee
3    1365-6 MicmacMicmac
3    1368-0 Mission IndiansMission Indians
3    1370-6 MiwokMiwok
3    1372-2 ModocModoc
3    1374-8 MoheganMohegan
3    1376-3 MonoMono
3    1378-9 NanticokeNanticoke
3    1380-5 NarragansettNarragansett
3    1382-1 NavajoNavajo
3    1387-0 Nez PerceNez Perce
3    1389-6 NomalakiNomalaki
3    1391-2 Northwest TribesNorthwest Tribes
3    1403-5 OmahaOmaha
3    1405-0 Oregon AthabaskanOregon Athabaskan
3    1407-6 OsageOsage
3    1409-2 Otoe-MissouriaOtoe-Missouria
3    1411-8 OttawaOttawa
3    1416-7 PaiutePaiute
3    1439-9 PamunkeyPamunkey
3    1441-5 PassamaquoddyPassamaquoddy
3    1445-6 PawneePawnee
3    1448-0 PenobscotPenobscot
3    1450-6 PeoriaPeoria
3    1453-0 PequotPequot
3    1456-3 PimaPima
3    1460-5 PiscatawayPiscataway
3    1462-1 Pit RiverPit River
3    1464-7 PomoPomo
3    1474-6 PoncaPonca
3    1478-7 PotawatomiPotawatomi
3    1487-8 PowhatanPowhatan
3    1489-4 PuebloPueblo
3    1518-0 Puget Sound SalishPuget Sound Salish
3    1541-2 QuapawQuapaw
3    1543-8 QuinaultQuinault
3    1545-3 RappahannockRappahannock
3    1547-9 Reno-SparksReno-Sparks
3    1549-5 Round ValleyRound Valley
3    1551-1 Sac and FoxSac and Fox
3    1556-0 SalinanSalinan
3    1558-6 SalishSalish
3    1560-2 Salish and KootenaiSalish and Kootenai
3    1562-8 SchaghticokeSchaghticoke
3    1564-4 Scott ValleyScott Valley
3    1566-9 SeminoleSeminole
3    1573-5 SerranoSerrano
3    1576-8 ShastaShasta
3    1578-4 ShawneeShawnee
3    1582-6 ShinnecockShinnecock
3    1584-2 Shoalwater BayShoalwater Bay
3    1586-7 ShoshoneShoshone
3    1602-2 Shoshone PaiuteShoshone Paiute
3    1607-1 SiletzSiletz
3    1609-7 SiouxSioux
3    1643-6 SiuslawSiuslaw
3    1645-1 SpokaneSpokane
3    1647-7 StewartStewart
3    1649-3 StockbridgeStockbridge
3    1651-9 SusanvilleSusanville
3    1653-5 Tohono O'OdhamTohono O'Odham
3    1659-2 TolowaTolowa
3    1661-8 TonkawaTonkawa
3    1663-4 TyghTygh
3    1665-9 UmatillaUmatilla
3    1667-5 UmpquaUmpqua
3    1670-9 UteUte
3    1675-8 WailakiWailaki
3    1677-4 Walla-WallaWalla-Walla
3    1679-0 WampanoagWampanoag
3    1683-2 Warm SpringsWarm Springs
3    1685-7 WascopumWascopum
3    1687-3 WashoeWashoe
3    1692-3 WichitaWichita
3    1694-9 Wind RiverWind River
3    1696-4 WinnebagoWinnebago
3    1700-4 WinnemuccaWinnemucca
3    1702-0 WintunWintun
3    1704-6 WiyotWiyot
3    1707-9 YakamaYakama
3    1709-5 Yakama CowlitzYakama Cowlitz
3    1711-1 YaquiYaqui
3    1715-2 Yavapai ApacheYavapai Apache
3    1717-8 YokutsYokuts
3    1722-8 YuchiYuchi
3    1724-4 YumanYuman
3    1732-7 YurokYurok
3    1011-6 ChiricahuaChiricahua
3    1012-4 Fort Sill ApacheFort Sill Apache
3    1013-2 Jicarilla ApacheJicarilla Apache
3    1014-0 Lipan ApacheLipan Apache
3    1015-7 Mescalero ApacheMescalero Apache
3    1016-5 Oklahoma ApacheOklahoma Apache
3    1017-3 Payson ApachePayson Apache
3    1018-1 San Carlos ApacheSan Carlos Apache
3    1019-9 White Mountain ApacheWhite Mountain Apache
3    1022-3 Northern ArapahoNorthern Arapaho
3    1023-1 Southern ArapahoSouthern Arapaho
3    1024-9 Wind River ArapahoWind River Arapaho
3    1031-4 Fort Peck Assiniboine SiouxFort Peck Assiniboine Sioux
3    1042-1 Oklahoma CadoOklahoma Cado
3    1045-4 Agua Caliente CahuillaAgua Caliente Cahuilla
3    1046-2 AugustineAugustine
3    1047-0 CabazonCabazon
3    1048-8 Los CoyotesLos Coyotes
3    1049-6 MorongoMorongo
3    1050-4 Santa Rosa CahuillaSanta Rosa Cahuilla
3    1051-2 Torres-MartinezTorres-Martinez
3    1054-6 CahtoCahto
3    1055-3 ChimarikoChimariko
3    1056-1 Coast MiwokCoast Miwok
3    1057-9 DiggerDigger
3    1058-7 KawaiisuKawaiisu
3    1059-5 Kern RiverKern River
3    1060-3 MattoleMattole
3    1061-1 Red WoodRed Wood
3    1062-9 Santa RosaSanta Rosa
3    1063-7 TakelmaTakelma
3    1064-5 WappoWappo
3    1065-2 YanaYana
3    1066-0 YukiYuki
3    1069-4 Canadian IndianCanadian Indian
3    1070-2 Central American IndianCentral American Indian
3    1071-0 French American IndianFrench American Indian
3    1072-8 Mexican American IndianMexican American Indian
3    1073-6 South American IndianSouth American Indian
3    1074-4 Spanish American IndianSpanish American Indian
3    1083-5 HohHoh
3    1084-3 QuileuteQuileute
3    1089-2 Cherokee AlabamaCherokee Alabama
3    1090-0 Cherokees of Northeast AlabamaCherokees of Northeast Alabama
3    1091-8 Cherokees of Southeast AlabamaCherokees of Southeast Alabama
3    1092-6 Eastern CherokeeEastern Cherokee
3    1093-4 Echota CherokeeEchota Cherokee
3    1094-2 Etowah CherokeeEtowah Cherokee
3    1095-9 Northern CherokeeNorthern Cherokee
3    1096-7 TuscolaTuscola
3    1097-5 United Keetowah Band of CherokeeUnited Keetowah Band of Cherokee
3    1098-3 Western CherokeeWestern Cherokee
3    1103-1 Northern CheyenneNorthern Cheyenne
3    1104-9 Southern CheyenneSouthern Cheyenne
3    1109-8 Eastern ChickahominyEastern Chickahominy
3    1110-6 Western ChickahominyWestern Chickahominy
3    1115-5 ClatsopClatsop
3    1116-3 Columbia River ChinookColumbia River Chinook
3    1117-1 KathlametKathlamet
3    1118-9 Upper ChinookUpper Chinook
3    1119-7 Wakiakum ChinookWakiakum Chinook
3    1120-5 Willapa ChinookWillapa Chinook
3    1121-3 WishramWishram
3    1124-7 Bad RiverBad River
3    1125-4 Bay Mills ChippewaBay Mills Chippewa
3    1126-2 Bois ForteBois Forte
3    1127-0 Burt Lake ChippewaBurt Lake Chippewa
3    1128-8 Fond du LacFond du Lac
3    1129-6 Grand PortageGrand Portage
3    1130-4 Grand Traverse Band of Ottawa/ChippewaGrand Traverse Band of Ottawa/Chippewa
3    1131-2 KeweenawKeweenaw
3    1132-0 Lac Courte OreillesLac Courte Oreilles
3    1133-8 Lac du FlambeauLac du Flambeau
3    1134-6 Lac Vieux Desert ChippewaLac Vieux Desert Chippewa
3    1135-3 Lake SuperiorLake Superior
3    1136-1 Leech LakeLeech Lake
3    1137-9 Little Shell ChippewaLittle Shell Chippewa
3    1138-7 Mille LacsMille Lacs
3    1139-5 Minnesota ChippewaMinnesota Chippewa
3    1140-3 OntonagonOntonagon
3    1141-1 Red Cliff ChippewaRed Cliff Chippewa
3    1142-9 Red Lake ChippewaRed Lake Chippewa
3    1143-7 Saginaw ChippewaSaginaw Chippewa
3    1144-5 St. Croix ChippewaSt. Croix Chippewa
3    1145-2 Sault Ste. Marie ChippewaSault Ste. Marie Chippewa
3    1146-0 Sokoagon ChippewaSokoagon Chippewa
3    1147-8 Turtle MountainTurtle Mountain
3    1148-6 White EarthWhite Earth
3    1151-0 Rocky Boy's Chippewa CreeRocky Boy's Chippewa Cree
3    1156-9 Clifton ChoctawClifton Choctaw
3    1157-7 Jena ChoctawJena Choctaw
3    1158-5 Mississippi ChoctawMississippi Choctaw
3    1159-3 Mowa Band of ChoctawMowa Band of Choctaw
3    1160-1 Oklahoma ChoctawOklahoma Choctaw
3    1163-5 Santa YnezSanta Ynez
3    1176-7 Oklahoma ComancheOklahoma Comanche
3    1187-4 Alabama CoushattaAlabama Coushatta
3    1194-0 Alabama CreekAlabama Creek
3    1195-7 Alabama QuassarteAlabama Quassarte
3    1196-5 Eastern CreekEastern Creek
3    1197-3 Eastern MuscogeeEastern Muscogee
3    1198-1 KialegeeKialegee
3    1199-9 Lower MuscogeeLower Muscogee
3    1200-5 Machis Lower Creek IndianMachis Lower Creek Indian
3    1201-3 Poarch BandPoarch Band
3    1202-1 Principal Creek Indian NationPrincipal Creek Indian Nation
3    1203-9 Star Clan of Muscogee CreeksStar Clan of Muscogee Creeks
3    1204-7 ThlopthloccoThlopthlocco
3    1205-4 TuckabacheeTuckabachee
3    1212-0 Agua CalienteAgua Caliente
3    1215-3 Eastern DelawareEastern Delaware
3    1216-1 Lenni-LenapeLenni-Lenape
3    1217-9 MunseeMunsee
3    1218-7 Oklahoma DelawareOklahoma Delaware
3    1219-5 Rampough MountainRampough Mountain
3    1220-3 Sand HillSand Hill
3    1223-7 CampoCampo
3    1224-5 Capitan GrandeCapitan Grande
3    1225-2 CuyapaipeCuyapaipe
3    1226-0 La PostaLa Posta
3    1227-8 ManzanitaManzanita
3    1228-6 Mesa GrandeMesa Grande
3    1229-4 San PasqualSan Pasqual
3    1230-2 Santa YsabelSanta Ysabel
3    1231-0 SycuanSycuan
3    1234-4 AttacapaAttacapa
3    1235-1 BiloxiBiloxi
3    1236-9 Georgetown (Eastern Tribes)Georgetown (Eastern Tribes)
3    1237-7 MoorMoor
3    1238-5 NansemondNansemond
3    1239-3 NatchezNatchez
3    1240-1 Nausu WaiwashNausu Waiwash
3    1241-9 NipmucNipmuc
3    1242-7 PaugussettPaugussett
3    1243-5 Pocomoke AcohonockPocomoke Acohonock
3    1244-3 Southeastern IndiansSoutheastern Indians
3    1245-0 SusquehanockSusquehanock
3    1246-8 Tunica BiloxiTunica Biloxi
3    1247-6 Waccamaw-SiousanWaccamaw-Siousan
3    1248-4 WicomicoWicomico
3    1265-8 AtsinaAtsina
3    1272-4 TrinityTrinity
3    1273-2 WhilkutWhilkut
3    1282-3 Iowa of Kansas-NebraskaIowa of Kansas-Nebraska
3    1283-1 Iowa of OklahomaIowa of Oklahoma
3    1286-4 CayugaCayuga
3    1287-2 MohawkMohawk
3    1288-0 OneidaOneida
3    1289-8 OnondagaOnondaga
3    1290-6 SenecaSeneca
3    1291-4 Seneca NationSeneca Nation
3    1292-2 Seneca-CayugaSeneca-Cayuga
3    1293-0 Tonawanda SenecaTonawanda Seneca
3    1294-8 TuscaroraTuscarora
3    1295-5 WyandotteWyandotte
3    1306-0 Oklahoma KickapooOklahoma Kickapoo
3    1307-8 Texas KickapooTexas Kickapoo
3    1310-2 Oklahoma KiowaOklahoma Kiowa
3    1313-6 JamestownJamestown
3    1314-4 Lower ElwhaLower Elwha
3    1315-1 Port Gamble KlallamPort Gamble Klallam
3    1326-8 MatinecockMatinecock
3    1327-6 MontaukMontauk
3    1328-4 PoospatuckPoospatuck
3    1329-2 SetauketSetauket
3    1332-6 La JollaLa Jolla
3    1333-4 PalaPala
3    1334-2 PaumaPauma
3    1335-9 PechangaPechanga
3    1336-7 SobobaSoboba
3    1337-5 Twenty-Nine PalmsTwenty-Nine Palms
3    1338-3 TemeculaTemecula
3    1345-8 Mountain MaiduMountain Maidu
3    1346-6 NishinamNishinam
3    1359-9 Illinois MiamiIllinois Miami
3    1360-7 Indiana MiamiIndiana Miami
3    1361-5 Oklahoma MiamiOklahoma Miami
3    1366-4 AroostookAroostook
3    1383-9 Alamo NavajoAlamo Navajo
3    1384-7 Canoncito NavajoCanoncito Navajo
3    1385-4 Ramah NavajoRamah Navajo
3    1392-0 AlseaAlsea
3    1393-8 CeliloCelilo
3    1394-6 ColumbiaColumbia
3    1395-3 KalapuyaKalapuya
3    1396-1 MolalaMolala
3    1397-9 TalakamishTalakamish
3    1398-7 TeninoTenino
3    1399-5 TillamookTillamook
3    1400-1 WenatcheeWenatchee
3    1401-9 YahooskinYahooskin
3    1412-6 Burt Lake OttawaBurt Lake Ottawa
3    1413-4 Michigan OttawaMichigan Ottawa
3    1414-2 Oklahoma OttawaOklahoma Ottawa
3    1417-5 BishopBishop
3    1418-3 BridgeportBridgeport
3    1419-1 Burns PaiuteBurns Paiute
3    1420-9 CedarvilleCedarville
3    1421-7 Fort BidwellFort Bidwell
3    1422-5 Fort IndependenceFort Independence
3    1423-3 KaibabKaibab
3    1424-1 Las VegasLas Vegas
3    1425-8 Lone PineLone Pine
3    1426-6 LovelockLovelock
3    1427-4 Malheur PaiuteMalheur Paiute
3    1428-2 MoapaMoapa
3    1429-0 Northern PaiuteNorthern Paiute
3    1430-8 Owens ValleyOwens Valley
3    1431-6 Pyramid LakePyramid Lake
3    1432-4 San Juan Southern PaiuteSan Juan Southern Paiute
3    1433-2 Southern PaiuteSouthern Paiute
3    1434-0 Summit LakeSummit Lake
3    1435-7 Utu Utu Gwaitu PaiuteUtu Utu Gwaitu Paiute
3    1436-5 Walker RiverWalker River
3    1437-3 Yerington PaiuteYerington Paiute
3    1442-3 Indian TownshipIndian Township
3    1443-1 Pleasant Point PassamaquoddyPleasant Point Passamaquoddy
3    1446-4 Oklahoma PawneeOklahoma Pawnee
3    1451-4 Oklahoma PeoriaOklahoma Peoria
3    1454-8 Marshantucket PequotMarshantucket Pequot
3    1457-1 Gila River Pima-MaricopaGila River Pima-Maricopa
3    1458-9 Salt River Pima-MaricopaSalt River Pima-Maricopa
3    1465-4 Central PomoCentral Pomo
3    1466-2 Dry CreekDry Creek
3    1467-0 Eastern PomoEastern Pomo
3    1468-8 KashiaKashia
3    1469-6 Northern PomoNorthern Pomo
3    1470-4 Scotts ValleyScotts Valley
3    1471-2 StonyfordStonyford
3    1472-0 Sulphur BankSulphur Bank
3    1475-3 Nebraska PoncaNebraska Ponca
3    1476-1 Oklahoma PoncaOklahoma Ponca
3    1479-5 Citizen Band PotawatomiCitizen Band Potawatomi
3    1480-3 Forest CountyForest County
3    1481-1 HannahvilleHannahville
3    1482-9 Huron PotawatomiHuron Potawatomi
3    1483-7 Pokagon PotawatomiPokagon Potawatomi
3    1484-5 Prairie BandPrairie Band
3    1485-2 Wisconsin PotawatomiWisconsin Potawatomi
3    1490-2 AcomaAcoma
3    1491-0 Arizona TewaArizona Tewa
3    1492-8 CochitiCochiti
3    1493-6 HopiHopi
3    1494-4 IsletaIsleta
3    1495-1 JemezJemez
3    1496-9 KeresKeres
3    1497-7 LagunaLaguna
3    1498-5 NambeNambe
3    1499-3 PicurisPicuris
3    1500-8 PiroPiro
3    1501-6 PojoaquePojoaque
3    1502-4 San FelipeSan Felipe
3    1503-2 San IldefonsoSan Ildefonso
3    1504-0 San Juan PuebloSan Juan Pueblo
3    1505-7 San Juan DeSan Juan De
3    1506-5 San JuanSan Juan
3    1507-3 SandiaSandia
3    1508-1 Santa AnaSanta Ana
3    1509-9 Santa ClaraSanta Clara
3    1510-7 Santo DomingoSanto Domingo
3    1511-5 TaosTaos
3    1512-3 TesuqueTesuque
3    1513-1 TewaTewa
3    1514-9 TiguaTigua
3    1515-6 ZiaZia
3    1516-4 ZuniZuni
3    1519-8 DuwamishDuwamish
3    1520-6 KikiallusKikiallus
3    1521-4 Lower SkagitLower Skagit
3    1522-2 MuckleshootMuckleshoot
3    1523-0 NisquallyNisqually
3    1524-8 NooksackNooksack
3    1525-5 Port MadisonPort Madison
3    1526-3 PuyallupPuyallup
3    1527-1 SamishSamish
3    1528-9 Sauk-SuiattleSauk-Suiattle
3    1529-7 SkokomishSkokomish
3    1530-5 SkykomishSkykomish
3    1531-3 SnohomishSnohomish
3    1532-1 SnoqualmieSnoqualmie
3    1533-9 Squaxin IslandSquaxin Island
3    1534-7 SteilacoomSteilacoom
3    1535-4 StillaguamishStillaguamish
3    1536-2 SuquamishSuquamish
3    1537-0 SwinomishSwinomish
3    1538-8 TulalipTulalip
3    1539-6 Upper SkagitUpper Skagit
3    1552-9 Iowa Sac and FoxIowa Sac and Fox
3    1553-7 Missouri Sac and FoxMissouri Sac and Fox
3    1554-5 Oklahoma Sac and FoxOklahoma Sac and Fox
3    1567-7 Big CypressBig Cypress
3    1568-5 BrightonBrighton
3    1569-3 Florida SeminoleFlorida Seminole
3    1570-1 Hollywood SeminoleHollywood Seminole
3    1571-9 Oklahoma SeminoleOklahoma Seminole
3    1574-3 San ManualSan Manual
3    1579-2 Absentee ShawneeAbsentee Shawnee
3    1580-0 Eastern ShawneeEastern Shawnee
3    1587-5 Battle MountainBattle Mountain
3    1588-3 DuckwaterDuckwater
3    1589-1 ElkoElko
3    1590-9 ElyEly
3    1591-7 GoshuteGoshute
3    1592-5 PanamintPanamint
3    1593-3 Ruby ValleyRuby Valley
3    1594-1 Skull ValleySkull Valley
3    1595-8 South Fork ShoshoneSouth Fork Shoshone
3    1596-6 Te-Moak Western ShoshoneTe-Moak Western Shoshone
3    1597-4 Timbi-Sha ShoshoneTimbi-Sha Shoshone
3    1598-2 WashakieWashakie
3    1599-0 Wind River ShoshoneWind River Shoshone
3    1600-6 YombaYomba
3    1603-0 Duck ValleyDuck Valley
3    1604-8 FallonFallon
3    1605-5 Fort McDermittFort McDermitt
3    1610-5 Blackfoot SiouxBlackfoot Sioux
3    1611-3 Brule SiouxBrule Sioux
3    1612-1 Cheyenne River SiouxCheyenne River Sioux
3    1613-9 Crow Creek SiouxCrow Creek Sioux
3    1614-7 Dakota SiouxDakota Sioux
3    1615-4 Flandreau SanteeFlandreau Santee
3    1616-2 Fort PeckFort Peck
3    1617-0 Lake Traverse SiouxLake Traverse Sioux
3    1618-8 Lower Brule SiouxLower Brule Sioux
3    1619-6 Lower SiouxLower Sioux
3    1620-4 Mdewakanton SiouxMdewakanton Sioux
3    1621-2 MiniconjouMiniconjou
3    1622-0 Oglala SiouxOglala Sioux
3    1623-8 Pine Ridge SiouxPine Ridge Sioux
3    1624-6 Pipestone SiouxPipestone Sioux
3    1625-3 Prairie Island SiouxPrairie Island Sioux
3    1626-1 Prior Lake SiouxPrior Lake Sioux
3    1627-9 Rosebud SiouxRosebud Sioux
3    1628-7 Sans Arc SiouxSans Arc Sioux
3    1629-5 Santee SiouxSantee Sioux
3    1630-3 Sisseton-WahpetonSisseton-Wahpeton
3    1631-1 Sisseton SiouxSisseton Sioux
3    1632-9 Spirit Lake SiouxSpirit Lake Sioux
3    1633-7 Standing Rock SiouxStanding Rock Sioux
3    1634-5 Teton SiouxTeton Sioux
3    1635-2 Two Kettle SiouxTwo Kettle Sioux
3    1636-0 Upper SiouxUpper Sioux
3    1637-8 Wahpekute SiouxWahpekute Sioux
3    1638-6 Wahpeton SiouxWahpeton Sioux
3    1639-4 Wazhaza SiouxWazhaza Sioux
3    1640-2 Yankton SiouxYankton Sioux
3    1641-0 Yanktonai SiouxYanktonai Sioux
3    1654-3 Ak-ChinAk-Chin
3    1655-0 Gila BendGila Bend
3    1656-8 San XavierSan Xavier
3    1657-6 SellsSells
3    1668-3 Cow Creek UmpquaCow Creek Umpqua
3    1671-7 Allen CanyonAllen Canyon
3    1672-5 Uintah UteUintah Ute
3    1673-3 Ute Mountain UteUte Mountain Ute
3    1680-8 Gay Head WampanoagGay Head Wampanoag
3    1681-6 Mashpee WampanoagMashpee Wampanoag
3    1688-1 AlpineAlpine
3    1689-9 CarsonCarson
3    1690-7 DresslervilleDresslerville
3    1697-2 Ho-chunkHo-chunk
3    1698-0 Nebraska WinnebagoNebraska Winnebago
3    1705-3 Table BluffTable Bluff
3    1712-9 Barrio LibreBarrio Libre
3    1713-7 Pascua YaquiPascua Yaqui
3    1718-6 ChukchansiChukchansi
3    1719-4 TachiTachi
3    1720-2 Tule RiverTule River
3    1725-1 CocopahCocopah
3    1726-9 HavasupaiHavasupai
3    1727-7 HualapaiHualapai
3    1728-5 MaricopaMaricopa
3    1729-3 MohaveMohave
3    1730-1 QuechanQuechan
3    1731-9 YavapaiYavapai
3    1733-5 Coast YurokCoast Yurok
3    1737-6 Alaska IndianAlaska Indian
3    1840-8 EskimoEskimo
3    1966-1 AleutAleut
3    1739-2 Alaskan AthabascanAlaskan Athabascan
3    1811-9 Southeast AlaskaSoutheast Alaska
3    1740-0 AhtnaAhtna
3    1741-8 AlatnaAlatna
3    1742-6 AlexanderAlexander
3    1743-4 AllakaketAllakaket
3    1744-2 AlanvikAlanvik
3    1745-9 AnvikAnvik
3    1746-7 ArcticArctic
3    1747-5 BeaverBeaver
3    1748-3 Birch CreekBirch Creek
3    1749-1 CantwellCantwell
3    1750-9 ChalkyitsikChalkyitsik
3    1751-7 ChickaloonChickaloon
3    1752-5 ChistochinaChistochina
3    1753-3 ChitinaChitina
3    1754-1 CircleCircle
3    1755-8 Cook InletCook Inlet
3    1756-6 Copper CenterCopper Center
3    1757-4 Copper RiverCopper River
3    1758-2 Dot LakeDot Lake
3    1759-0 DoyonDoyon
3    1760-8 EagleEagle
3    1761-6 EklutnaEklutna
3    1762-4 EvansvilleEvansville
3    1763-2 Fort YukonFort Yukon
3    1764-0 GakonaGakona
3    1765-7 GalenaGalena
3    1766-5 GraylingGrayling
3    1767-3 GulkanaGulkana
3    1768-1 Healy LakeHealy Lake
3    1769-9 Holy CrossHoly Cross
3    1770-7 HughesHughes
3    1771-5 HusliaHuslia
3    1772-3 IliamnaIliamna
3    1773-1 KaltagKaltag
3    1774-9 Kluti KaahKluti Kaah
3    1775-6 KnikKnik
3    1776-4 KoyukukKoyukuk
3    1777-2 Lake MinchuminaLake Minchumina
3    1778-0 LimeLime
3    1779-8 McgrathMcgrath
3    1780-6 Manley Hot SpringsManley Hot Springs
3    1781-4 Mentasta LakeMentasta Lake
3    1782-2 MintoMinto
3    1783-0 NenanaNenana
3    1784-8 NikolaiNikolai
3    1785-5 NinilchikNinilchik
3    1786-3 NondaltonNondalton
3    1787-1 NorthwayNorthway
3    1788-9 NulatoNulato
3    1789-7 Pedro BayPedro Bay
3    1790-5 RampartRampart
3    1791-3 RubyRuby
3    1792-1 SalamatofSalamatof
3    1793-9 SeldoviaSeldovia
3    1794-7 SlanaSlana
3    1795-4 ShagelukShageluk
3    1796-2 StevensStevens
3    1797-0 Stony RiverStony River
3    1798-8 TakotnaTakotna
3    1799-6 TanacrossTanacross
3    1800-2 TanainaTanaina
3    1801-0 TananaTanana
3    1802-8 Tanana ChiefsTanana Chiefs
3    1803-6 TazlinaTazlina
3    1804-4 TelidaTelida
3    1805-1 TetlinTetlin
3    1806-9 TokTok
3    1807-7 TyonekTyonek
3    1808-5 VenetieVenetie
3    1809-3 WisemanWiseman
3    1813-5 Tlingit-HaidaTlingit-Haida
3    1837-4 TsimshianTsimshian
3    1814-3 AngoonAngoon
3    1815-0 Central Council of Tlingit and Haida TribesCentral Council of Tlingit and Haida Tribes
3    1816-8 ChilkatChilkat
3    1817-6 ChilkootChilkoot
3    1818-4 CraigCraig
3    1819-2 DouglasDouglas
3    1820-0 HaidaHaida
3    1821-8 HoonahHoonah
3    1822-6 HydaburgHydaburg
3    1823-4 KakeKake
3    1824-2 KasaanKasaan
3    1825-9 KenaitzeKenaitze
3    1826-7 KetchikanKetchikan
3    1827-5 KlawockKlawock
3    1828-3 PelicanPelican
3    1829-1 PetersburgPetersburg
3    1830-9 SaxmanSaxman
3    1831-7 SitkaSitka
3    1832-5 Tenakee SpringsTenakee Springs
3    1833-3 TlingitTlingit
3    1834-1 WrangellWrangell
3    1835-8 YakutatYakutat
3    1838-2 MetlakatlaMetlakatla
3    1842-4 Greenland EskimoGreenland Eskimo
3    1844-0 Inupiat EskimoInupiat Eskimo
3    1891-1 Siberian EskimoSiberian Eskimo
3    1896-0 Yupik EskimoYupik Eskimo
3    1845-7 AmblerAmbler
3    1846-5 AnaktuvukAnaktuvuk
3    1847-3 Anaktuvuk PassAnaktuvuk Pass
3    1848-1 Arctic Slope InupiatArctic Slope Inupiat
3    1849-9 Arctic Slope CorporationArctic Slope Corporation
3    1850-7 AtqasukAtqasuk
3    1851-5 BarrowBarrow
3    1852-3 Bering Straits InupiatBering Straits Inupiat
3    1853-1 Brevig MissionBrevig Mission
3    1854-9 BucklandBuckland
3    1855-6 ChinikChinik
3    1856-4 CouncilCouncil
3    1857-2 DeeringDeering
3    1858-0 ElimElim
3    1859-8 GolovinGolovin
3    1860-6 Inalik DiomedeInalik Diomede
3    1861-4 InupiaqInupiaq
3    1862-2 KaktovikKaktovik
3    1863-0 KawerakKawerak
3    1864-8 KianaKiana
3    1865-5 KivalinaKivalina
3    1866-3 KobukKobuk
3    1867-1 KotzebueKotzebue
3    1868-9 KoyukKoyuk
3    1869-7 KwigukKwiguk
3    1870-5 Mauneluk InupiatMauneluk Inupiat
3    1871-3 Nana InupiatNana Inupiat
3    1872-1 NoatakNoatak
3    1873-9 NomeNome
3    1874-7 NoorvikNoorvik
3    1875-4 NuiqsutNuiqsut
3    1876-2 Point HopePoint Hope
3    1877-0 Point LayPoint Lay
3    1878-8 SelawikSelawik
3    1879-6 ShaktoolikShaktoolik
3    1880-4 ShishmarefShishmaref
3    1881-2 ShungnakShungnak
3    1882-0 SolomonSolomon
3    1883-8 TellerTeller
3    1884-6 UnalakleetUnalakleet
3    1885-3 WainwrightWainwright
3    1886-1 WalesWales
3    1887-9 White MountainWhite Mountain
3    1888-7 White Mountain InupiatWhite Mountain Inupiat
3    1889-5 Mary's IglooMary's Igloo
3    1892-9 GambellGambell
3    1893-7 SavoongaSavoonga
3    1894-5 Siberian YupikSiberian Yupik
3    1897-8 AkiachakAkiachak
3    1898-6 AkiakAkiak
3    1899-4 AlakanukAlakanuk
3    1900-0 AleknagikAleknagik
3    1901-8 AndreafskyAndreafsky
3    1902-6 AniakAniak
3    1903-4 AtmautluakAtmautluak
3    1904-2 BethelBethel
3    1905-9 Bill Moore's SloughBill Moore's Slough
3    1906-7 Bristol Bay YupikBristol Bay Yupik
3    1907-5 Calista YupikCalista Yupik
3    1908-3 ChefornakChefornak
3    1909-1 ChevakChevak
3    1910-9 ChuathbalukChuathbaluk
3    1911-7 Clark's PointClark's Point
3    1912-5 Crooked CreekCrooked Creek
3    1913-3 DillinghamDillingham
3    1914-1 EekEek
3    1915-8 EkukEkuk
3    1916-6 EkwokEkwok
3    1917-4 EmmonakEmmonak
3    1918-2 Goodnews BayGoodnews Bay
3    1919-0 Hooper BayHooper Bay
3    1920-8 Iqurmuit (Russian Mission)Iqurmuit (Russian Mission)
3    1921-6 KalskagKalskag
3    1922-4 KasiglukKasigluk
3    1923-2 KipnukKipnuk
3    1924-0 KoliganekKoliganek
3    1925-7 KongiganakKongiganak
3    1926-5 KotlikKotlik
3    1927-3 KwethlukKwethluk
3    1928-1 KwigillingokKwigillingok
3    1929-9 LevelockLevelock
3    1930-7 Lower KalskagLower Kalskag
3    1931-5 ManokotakManokotak
3    1932-3 MarshallMarshall
3    1933-1 MekoryukMekoryuk
3    1934-9 Mountain VillageMountain Village
3    1935-6 NaknekNaknek
3    1936-4 NapaumuteNapaumute
3    1937-2 NapakiakNapakiak
3    1938-0 NapaskiakNapaskiak
3    1939-8 NewhalenNewhalen
3    1940-6 New StuyahokNew Stuyahok
3    1941-4 NewtokNewtok
3    1942-2 NightmuteNightmute
3    1943-0 NunapitchukvNunapitchukv
3    1944-8 OscarvilleOscarville
3    1945-5 Pilot StationPilot Station
3    1946-3 Pitkas PointPitkas Point
3    1947-1 PlatinumPlatinum
3    1948-9 Portage CreekPortage Creek
3    1949-7 QuinhagakQuinhagak
3    1950-5 Red DevilRed Devil
3    1951-3 St. MichaelSt. Michael
3    1952-1 Scammon BayScammon Bay
3    1953-9 Sheldon's PointSheldon's Point
3    1954-7 SleetmuteSleetmute
3    1955-4 StebbinsStebbins
3    1956-2 TogiakTogiak
3    1957-0 ToksookToksook
3    1958-8 TulukskakTulukskak
3    1959-6 TuntutuliakTuntutuliak
3    1960-4 TununakTununak
3    1961-2 Twin HillsTwin Hills
3    1962-0 Georgetown (Yupik-Eskimo)Georgetown (Yupik-Eskimo)
3    1963-8 St. Mary'sSt. Mary's
3    1964-6 UmkumiateUmkumiate
3    1968-7 Alutiiq AleutAlutiiq Aleut
3    1972-9 Bristol Bay AleutBristol Bay Aleut
3    1984-4 Chugach AleutChugach Aleut
3    1990-1 EyakEyak
3    1992-7 Koniag AleutKoniag Aleut
3    2002-4 SugpiaqSugpiaq
3    2004-0 SuqpigaqSuqpigaq
3    2006-5 Unangan AleutUnangan Aleut
3    1969-5 TatitlekTatitlek
3    1970-3 UgashikUgashik
3    1973-7 ChignikChignik
3    1974-5 Chignik LakeChignik Lake
3    1975-2 EgegikEgegik
3    1976-0 IgiugigIgiugig
3    1977-8 Ivanof BayIvanof Bay
3    1978-6 King SalmonKing Salmon
3    1979-4 KokhanokKokhanok
3    1980-2 PerryvillePerryville
3    1981-0 Pilot PointPilot Point
3    1982-8 Port HeidenPort Heiden
3    1985-1 ChenegaChenega
3    1986-9 Chugach CorporationChugach Corporation
3    1987-7 English BayEnglish Bay
3    1988-5 Port GrahamPort Graham
3    1993-5 AkhiokAkhiok
3    1994-3 AgdaaguxAgdaagux
3    1995-0 KarlukKarluk
3    1996-8 KodiakKodiak
3    1997-6 Larsen BayLarsen Bay
3    1998-4 Old HarborOld Harbor
3    1999-2 OuzinkieOuzinkie
3    2000-8 Port LionsPort Lions
3    2007-3 AkutanAkutan
3    2008-1 Aleut CorporationAleut Corporation
3    2009-9 AleutianAleutian
3    2010-7 Aleutian IslanderAleutian Islander
3    2011-5 AtkaAtka
3    2012-3 BelkofskiBelkofski
3    2013-1 Chignik LagoonChignik Lagoon
3    2014-9 King CoveKing Cove
3    2015-6 False PassFalse Pass
3    2016-4 Nelson LagoonNelson Lagoon
3    2017-2 NikolskiNikolski
3    2018-0 Pauloff HarborPauloff Harbor
3    2019-8 Qagan ToyagunginQagan Toyagungin
3    2020-6 QawalanginQawalangin
3    2021-4 St. GeorgeSt. George
3    2022-2 St. PaulSt. Paul
3    2023-0 Sand PointSand Point
3    2024-8 South NaknekSouth Naknek
3    2025-5 UnalaskaUnalaska
3    2026-3 UngaUnga
2  2028-9 AsianAsian
3    2029-7 Asian IndianAsian Indian
3    2030-5 BangladeshiBangladeshi
3    2031-3 BhutaneseBhutanese
3    2032-1 BurmeseBurmese
3    2033-9 CambodianCambodian
3    2034-7 ChineseChinese
3    2035-4 TaiwaneseTaiwanese
3    2036-2 FilipinoFilipino
3    2037-0 HmongHmong
3    2038-8 IndonesianIndonesian
3    2039-6 JapaneseJapanese
3    2040-4 KoreanKorean
3    2041-2 LaotianLaotian
3    2042-0 MalaysianMalaysian
3    2043-8 OkinawanOkinawan
3    2044-6 PakistaniPakistani
3    2045-3 Sri LankanSri Lankan
3    2046-1 ThaiThai
3    2047-9 VietnameseVietnamese
3    2048-7 Iwo JimanIwo Jiman
3    2049-5 MaldivianMaldivian
3    2050-3 NepaleseNepalese
3    2051-1 SingaporeanSingaporean
3    2052-9 MadagascarMadagascar
2  2054-5 Black or African AmericanBlack or African American
3    2056-0 BlackBlack
3    2058-6 African AmericanAfrican American
3    2060-2 AfricanAfrican
3    2067-7 BahamianBahamian
3    2068-5 BarbadianBarbadian
3    2069-3 DominicanDominican
3    2070-1 Dominica IslanderDominica Islander
3    2071-9 HaitianHaitian
3    2072-7 JamaicanJamaican
3    2073-5 TobagoanTobagoan
3    2074-3 TrinidadianTrinidadian
3    2075-0 West IndianWest Indian
3    2061-0 BotswananBotswanan
3    2062-8 EthiopianEthiopian
3    2063-6 LiberianLiberian
3    2064-4 NamibianNamibian
3    2065-1 NigerianNigerian
3    2066-9 ZaireanZairean
2  2076-8 Native Hawaiian or Other Pacific IslanderNative Hawaiian or Other Pacific Islander
3    2078-4 PolynesianPolynesian
3    2085-9 MicronesianMicronesian
3    2100-6 MelanesianMelanesian
3    2500-7 Other Pacific IslanderOther Pacific Islander
3    2079-2 Native HawaiianNative Hawaiian
3    2080-0 SamoanSamoan
3    2081-8 TahitianTahitian
3    2082-6 TonganTongan
3    2083-4 TokelauanTokelauan
3    2086-7 Guamanian or ChamorroGuamanian or Chamorro
3    2087-5 GuamanianGuamanian
3    2088-3 ChamorroChamorro
3    2089-1 Mariana IslanderMariana Islander
3    2090-9 MarshalleseMarshallese
3    2091-7 PalauanPalauan
3    2092-5 CarolinianCarolinian
3    2093-3 KosraeanKosraean
3    2094-1 PohnpeianPohnpeian
3    2095-8 SaipaneseSaipanese
3    2096-6 KiribatiKiribati
3    2097-4 ChuukeseChuukese
3    2098-2 YapeseYapese
3    2101-4 FijianFijian
3    2102-2 Papua New GuineanPapua New Guinean
3    2103-0 Solomon IslanderSolomon Islander
3    2104-8 New HebridesNew Hebrides
2  2106-3 WhiteWhite
3    2108-9 EuropeanEuropean
3    2118-8 Middle Eastern or North AfricanMiddle Eastern or North African
3    2129-5 ArabArab
3    2109-7 ArmenianArmenian
3    2110-5 EnglishEnglish
3    2111-3 FrenchFrench
3    2112-1 GermanGerman
3    2113-9 IrishIrish
3    2114-7 ItalianItalian
3    2115-4 PolishPolish
3    2116-2 ScottishScottish
3    2119-6 AssyrianAssyrian
3    2120-4 EgyptianEgyptian
3    2121-2 IranianIranian
3    2122-0 IraqiIraqi
3    2123-8 LebaneseLebanese
3    2124-6 PalestinianPalestinian
3    2125-3 SyrianSyrian
3    2126-1 AfghanistaniAfghanistani
3    2127-9 IsraeiliIsraeili
2  2131-1 Other RaceNote that this term remains in the table for completeness, even though within HL7, the notion of Other code is deprecated.
12133-7 EthnicityEthnicity Note that this is an abstract 'grouping' concept and not for use as a real concept
2  2135-2 Hispanic or LatinoHispanic or Latino
3    2137-8 SpaniardSpaniard
3    2148-5 MexicanMexican
3    2155-0 Central AmericanCentral American
3    2165-9 South AmericanSouth American
3    2178-2 Latin AmericanLatin American
3    2180-8 Puerto RicanPuerto Rican
3    2182-4 CubanCuban
3    2184-0 DominicanDominican
3    2138-6 AndalusianAndalusian
3    2139-4 AsturianAsturian
3    2140-2 CastillianCastillian
3    2141-0 CatalonianCatalonian
3    2142-8 Belearic IslanderBelearic Islander
3    2143-6 GallegoGallego
3    2144-4 ValencianValencian
3    2145-1 CanarianCanarian
3    2146-9 Spanish BasqueSpanish Basque
3    2149-3 Mexican AmericanMexican American
3    2150-1 MexicanoMexicano
3    2151-9 ChicanoChicano
3    2152-7 La RazaLa Raza
3    2153-5 Mexican American IndianMexican American Indian
3    2156-8 Costa RicanCosta Rican
3    2157-6 GuatemalanGuatemalan
3    2158-4 HonduranHonduran
3    2159-2 NicaraguanNicaraguan
3    2160-0 PanamanianPanamanian
3    2161-8 SalvadoranSalvadoran
3    2162-6 Central American IndianCentral American Indian
3    2163-4 Canal ZoneCanal Zone
3    2166-7 ArgentineanArgentinean
3    2167-5 BolivianBolivian
3    2168-3 ChileanChilean
3    2169-1 ColombianColombian
3    2170-9 EcuadorianEcuadorian
3    2171-7 ParaguayanParaguayan
3    2172-5 PeruvianPeruvian
3    2173-3 UruguayanUruguayan
3    2174-1 VenezuelanVenezuelan
3    2175-8 South American IndianSouth American Indian
3    2176-6 CriolloCriollo
2  2186-5 Not Hispanic or LatinoNote that this term remains in the table for completeness, even though within HL7, the notion of "not otherwise coded" term is deprecated.
" + }, + "url": "urn:oid:2.16.840.1.113883.6.238", + "identifier": [ + { + "value": "2.16.840.1.113883.6.238" + } + ], + "version": "3.1.0", + "name": "RaceAndEthnicityCDC", + "title": "Race & Ethnicity - CDC", + "status": "active", + "experimental": false, + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org" + } + ] + } + ], + "description": " The U.S. Centers for Disease Control and Prevention (CDC) has prepared a code set for use in codingrace and ethnicity data. This code set is based on current federal standards for classifying data onrace and ethnicity, specifically the minimum race and ethnicity categories defined by the U.S. Office ofManagement and Budget (OMB) and a more detailed set of race and ethnicity categories maintainedby the U.S. Bureau of the Census (BC). The main purpose of the code set is to facilitate use of federalstandards for classifying data on race and ethnicity when these data are exchanged, stored, retrieved,or analyzed in electronic form. At the same time, the code set can be applied to paper-based recordsystems to the extent that these systems are used to collect, maintain, and report data on race andethnicity in accordance with current federal standards. Source: [Race and Ethnicity Code Set Version 1.0](https://www.cdc.gov/phin/resources/vocabulary/documents/cdc-race--ethnicity-background-and-purpose.pdf).", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "caseSensitive": true, + "hierarchyMeaning": "is-a", + "content": "complete", + "count": 966, + "property": [ + { + "code": "abstract", + "description": "True if an element is considered 'abstract' - in other words, the code is not for use as a real concept", + "type": "boolean" + } + ], + "concept": [ + { + "code": "1000-9", + "display": "Race", + "definition": "Race, Note that this is an abstract 'grouping' concept and not for use as a real concept", + "property": [ + { + "code": "abstract", + "valueBoolean": true + } + ], + "concept": [ + { + "code": "1002-5", + "display": "American Indian or Alaska Native", + "definition": "American Indian or Alaska Native", + "concept": [ + { + "code": "1004-1", + "display": "American Indian", + "definition": "American Indian" + }, + { + "code": "1735-0", + "display": "Alaska Native", + "definition": "Alaska Native" + }, + { + "code": "1006-6", + "display": "Abenaki", + "definition": "Abenaki" + }, + { + "code": "1008-2", + "display": "Algonquian", + "definition": "Algonquian" + }, + { + "code": "1010-8", + "display": "Apache", + "definition": "Apache" + }, + { + "code": "1021-5", + "display": "Arapaho", + "definition": "Arapaho" + }, + { + "code": "1026-4", + "display": "Arikara", + "definition": "Arikara" + }, + { + "code": "1028-0", + "display": "Assiniboine", + "definition": "Assiniboine" + }, + { + "code": "1030-6", + "display": "Assiniboine Sioux", + "definition": "Assiniboine Sioux" + }, + { + "code": "1033-0", + "display": "Bannock", + "definition": "Bannock" + }, + { + "code": "1035-5", + "display": "Blackfeet", + "definition": "Blackfeet" + }, + { + "code": "1037-1", + "display": "Brotherton", + "definition": "Brotherton" + }, + { + "code": "1039-7", + "display": "Burt Lake Band", + "definition": "Burt Lake Band" + }, + { + "code": "1041-3", + "display": "Caddo", + "definition": "Caddo" + }, + { + "code": "1044-7", + "display": "Cahuilla", + "definition": "Cahuilla" + }, + { + "code": "1053-8", + "display": "California Tribes", + "definition": "California Tribes" + }, + { + "code": "1068-6", + "display": "Canadian and Latin American Indian", + "definition": "Canadian and Latin American Indian" + }, + { + "code": "1076-9", + "display": "Catawba", + "definition": "Catawba" + }, + { + "code": "1078-5", + "display": "Cayuse", + "definition": "Cayuse" + }, + { + "code": "1080-1", + "display": "Chehalis", + "definition": "Chehalis" + }, + { + "code": "1082-7", + "display": "Chemakuan", + "definition": "Chemakuan" + }, + { + "code": "1086-8", + "display": "Chemehuevi", + "definition": "Chemehuevi" + }, + { + "code": "1088-4", + "display": "Cherokee", + "definition": "Cherokee" + }, + { + "code": "1100-7", + "display": "Cherokee Shawnee", + "definition": "Cherokee Shawnee" + }, + { + "code": "1102-3", + "display": "Cheyenne", + "definition": "Cheyenne" + }, + { + "code": "1106-4", + "display": "Cheyenne-Arapaho", + "definition": "Cheyenne-Arapaho" + }, + { + "code": "1108-0", + "display": "Chickahominy", + "definition": "Chickahominy" + }, + { + "code": "1112-2", + "display": "Chickasaw", + "definition": "Chickasaw" + }, + { + "code": "1114-8", + "display": "Chinook", + "definition": "Chinook" + }, + { + "code": "1123-9", + "display": "Chippewa", + "definition": "Chippewa" + }, + { + "code": "1150-2", + "display": "Chippewa Cree", + "definition": "Chippewa Cree" + }, + { + "code": "1153-6", + "display": "Chitimacha", + "definition": "Chitimacha" + }, + { + "code": "1155-1", + "display": "Choctaw", + "definition": "Choctaw" + }, + { + "code": "1162-7", + "display": "Chumash", + "definition": "Chumash" + }, + { + "code": "1165-0", + "display": "Clear Lake", + "definition": "Clear Lake" + }, + { + "code": "1167-6", + "display": "Coeur D'Alene", + "definition": "Coeur D'Alene" + }, + { + "code": "1169-2", + "display": "Coharie", + "definition": "Coharie" + }, + { + "code": "1171-8", + "display": "Colorado River", + "definition": "Colorado River" + }, + { + "code": "1173-4", + "display": "Colville", + "definition": "Colville" + }, + { + "code": "1175-9", + "display": "Comanche", + "definition": "Comanche" + }, + { + "code": "1178-3", + "display": "Coos, Lower Umpqua, Siuslaw", + "definition": "Coos, Lower Umpqua, Siuslaw" + }, + { + "code": "1180-9", + "display": "Coos", + "definition": "Coos" + }, + { + "code": "1182-5", + "display": "Coquilles", + "definition": "Coquilles" + }, + { + "code": "1184-1", + "display": "Costanoan", + "definition": "Costanoan" + }, + { + "code": "1186-6", + "display": "Coushatta", + "definition": "Coushatta" + }, + { + "code": "1189-0", + "display": "Cowlitz", + "definition": "Cowlitz" + }, + { + "code": "1191-6", + "display": "Cree", + "definition": "Cree" + }, + { + "code": "1193-2", + "display": "Creek", + "definition": "Creek" + }, + { + "code": "1207-0", + "display": "Croatan", + "definition": "Croatan" + }, + { + "code": "1209-6", + "display": "Crow", + "definition": "Crow" + }, + { + "code": "1211-2", + "display": "Cupeno", + "definition": "Cupeno" + }, + { + "code": "1214-6", + "display": "Delaware", + "definition": "Delaware" + }, + { + "code": "1222-9", + "display": "Diegueno", + "definition": "Diegueno" + }, + { + "code": "1233-6", + "display": "Eastern Tribes", + "definition": "Eastern Tribes" + }, + { + "code": "1250-0", + "display": "Esselen", + "definition": "Esselen" + }, + { + "code": "1252-6", + "display": "Fort Belknap", + "definition": "Fort Belknap" + }, + { + "code": "1254-2", + "display": "Fort Berthold", + "definition": "Fort Berthold" + }, + { + "code": "1256-7", + "display": "Fort Mcdowell", + "definition": "Fort Mcdowell" + }, + { + "code": "1258-3", + "display": "Fort Hall", + "definition": "Fort Hall" + }, + { + "code": "1260-9", + "display": "Gabrieleno", + "definition": "Gabrieleno" + }, + { + "code": "1262-5", + "display": "Grand Ronde", + "definition": "Grand Ronde" + }, + { + "code": "1264-1", + "display": "Gros Ventres", + "definition": "Gros Ventres" + }, + { + "code": "1267-4", + "display": "Haliwa", + "definition": "Haliwa" + }, + { + "code": "1269-0", + "display": "Hidatsa", + "definition": "Hidatsa" + }, + { + "code": "1271-6", + "display": "Hoopa", + "definition": "Hoopa" + }, + { + "code": "1275-7", + "display": "Hoopa Extension", + "definition": "Hoopa Extension" + }, + { + "code": "1277-3", + "display": "Houma", + "definition": "Houma" + }, + { + "code": "1279-9", + "display": "Inaja-Cosmit", + "definition": "Inaja-Cosmit" + }, + { + "code": "1281-5", + "display": "Iowa", + "definition": "Iowa" + }, + { + "code": "1285-6", + "display": "Iroquois", + "definition": "Iroquois" + }, + { + "code": "1297-1", + "display": "Juaneno", + "definition": "Juaneno" + }, + { + "code": "1299-7", + "display": "Kalispel", + "definition": "Kalispel" + }, + { + "code": "1301-1", + "display": "Karuk", + "definition": "Karuk" + }, + { + "code": "1303-7", + "display": "Kaw", + "definition": "Kaw" + }, + { + "code": "1305-2", + "display": "Kickapoo", + "definition": "Kickapoo" + }, + { + "code": "1309-4", + "display": "Kiowa", + "definition": "Kiowa" + }, + { + "code": "1312-8", + "display": "Klallam", + "definition": "Klallam" + }, + { + "code": "1317-7", + "display": "Klamath", + "definition": "Klamath" + }, + { + "code": "1319-3", + "display": "Konkow", + "definition": "Konkow" + }, + { + "code": "1321-9", + "display": "Kootenai", + "definition": "Kootenai" + }, + { + "code": "1323-5", + "display": "Lassik", + "definition": "Lassik" + }, + { + "code": "1325-0", + "display": "Long Island", + "definition": "Long Island" + }, + { + "code": "1331-8", + "display": "Luiseno", + "definition": "Luiseno" + }, + { + "code": "1340-9", + "display": "Lumbee", + "definition": "Lumbee" + }, + { + "code": "1342-5", + "display": "Lummi", + "definition": "Lummi" + }, + { + "code": "1344-1", + "display": "Maidu", + "definition": "Maidu" + }, + { + "code": "1348-2", + "display": "Makah", + "definition": "Makah" + }, + { + "code": "1350-8", + "display": "Maliseet", + "definition": "Maliseet" + }, + { + "code": "1352-4", + "display": "Mandan", + "definition": "Mandan" + }, + { + "code": "1354-0", + "display": "Mattaponi", + "definition": "Mattaponi" + }, + { + "code": "1356-5", + "display": "Menominee", + "definition": "Menominee" + }, + { + "code": "1358-1", + "display": "Miami", + "definition": "Miami" + }, + { + "code": "1363-1", + "display": "Miccosukee", + "definition": "Miccosukee" + }, + { + "code": "1365-6", + "display": "Micmac", + "definition": "Micmac" + }, + { + "code": "1368-0", + "display": "Mission Indians", + "definition": "Mission Indians" + }, + { + "code": "1370-6", + "display": "Miwok", + "definition": "Miwok" + }, + { + "code": "1372-2", + "display": "Modoc", + "definition": "Modoc" + }, + { + "code": "1374-8", + "display": "Mohegan", + "definition": "Mohegan" + }, + { + "code": "1376-3", + "display": "Mono", + "definition": "Mono" + }, + { + "code": "1378-9", + "display": "Nanticoke", + "definition": "Nanticoke" + }, + { + "code": "1380-5", + "display": "Narragansett", + "definition": "Narragansett" + }, + { + "code": "1382-1", + "display": "Navajo", + "definition": "Navajo" + }, + { + "code": "1387-0", + "display": "Nez Perce", + "definition": "Nez Perce" + }, + { + "code": "1389-6", + "display": "Nomalaki", + "definition": "Nomalaki" + }, + { + "code": "1391-2", + "display": "Northwest Tribes", + "definition": "Northwest Tribes" + }, + { + "code": "1403-5", + "display": "Omaha", + "definition": "Omaha" + }, + { + "code": "1405-0", + "display": "Oregon Athabaskan", + "definition": "Oregon Athabaskan" + }, + { + "code": "1407-6", + "display": "Osage", + "definition": "Osage" + }, + { + "code": "1409-2", + "display": "Otoe-Missouria", + "definition": "Otoe-Missouria" + }, + { + "code": "1411-8", + "display": "Ottawa", + "definition": "Ottawa" + }, + { + "code": "1416-7", + "display": "Paiute", + "definition": "Paiute" + }, + { + "code": "1439-9", + "display": "Pamunkey", + "definition": "Pamunkey" + }, + { + "code": "1441-5", + "display": "Passamaquoddy", + "definition": "Passamaquoddy" + }, + { + "code": "1445-6", + "display": "Pawnee", + "definition": "Pawnee" + }, + { + "code": "1448-0", + "display": "Penobscot", + "definition": "Penobscot" + }, + { + "code": "1450-6", + "display": "Peoria", + "definition": "Peoria" + }, + { + "code": "1453-0", + "display": "Pequot", + "definition": "Pequot" + }, + { + "code": "1456-3", + "display": "Pima", + "definition": "Pima" + }, + { + "code": "1460-5", + "display": "Piscataway", + "definition": "Piscataway" + }, + { + "code": "1462-1", + "display": "Pit River", + "definition": "Pit River" + }, + { + "code": "1464-7", + "display": "Pomo", + "definition": "Pomo" + }, + { + "code": "1474-6", + "display": "Ponca", + "definition": "Ponca" + }, + { + "code": "1478-7", + "display": "Potawatomi", + "definition": "Potawatomi" + }, + { + "code": "1487-8", + "display": "Powhatan", + "definition": "Powhatan" + }, + { + "code": "1489-4", + "display": "Pueblo", + "definition": "Pueblo" + }, + { + "code": "1518-0", + "display": "Puget Sound Salish", + "definition": "Puget Sound Salish" + }, + { + "code": "1541-2", + "display": "Quapaw", + "definition": "Quapaw" + }, + { + "code": "1543-8", + "display": "Quinault", + "definition": "Quinault" + }, + { + "code": "1545-3", + "display": "Rappahannock", + "definition": "Rappahannock" + }, + { + "code": "1547-9", + "display": "Reno-Sparks", + "definition": "Reno-Sparks" + }, + { + "code": "1549-5", + "display": "Round Valley", + "definition": "Round Valley" + }, + { + "code": "1551-1", + "display": "Sac and Fox", + "definition": "Sac and Fox" + }, + { + "code": "1556-0", + "display": "Salinan", + "definition": "Salinan" + }, + { + "code": "1558-6", + "display": "Salish", + "definition": "Salish" + }, + { + "code": "1560-2", + "display": "Salish and Kootenai", + "definition": "Salish and Kootenai" + }, + { + "code": "1562-8", + "display": "Schaghticoke", + "definition": "Schaghticoke" + }, + { + "code": "1564-4", + "display": "Scott Valley", + "definition": "Scott Valley" + }, + { + "code": "1566-9", + "display": "Seminole", + "definition": "Seminole" + }, + { + "code": "1573-5", + "display": "Serrano", + "definition": "Serrano" + }, + { + "code": "1576-8", + "display": "Shasta", + "definition": "Shasta" + }, + { + "code": "1578-4", + "display": "Shawnee", + "definition": "Shawnee" + }, + { + "code": "1582-6", + "display": "Shinnecock", + "definition": "Shinnecock" + }, + { + "code": "1584-2", + "display": "Shoalwater Bay", + "definition": "Shoalwater Bay" + }, + { + "code": "1586-7", + "display": "Shoshone", + "definition": "Shoshone" + }, + { + "code": "1602-2", + "display": "Shoshone Paiute", + "definition": "Shoshone Paiute" + }, + { + "code": "1607-1", + "display": "Siletz", + "definition": "Siletz" + }, + { + "code": "1609-7", + "display": "Sioux", + "definition": "Sioux" + }, + { + "code": "1643-6", + "display": "Siuslaw", + "definition": "Siuslaw" + }, + { + "code": "1645-1", + "display": "Spokane", + "definition": "Spokane" + }, + { + "code": "1647-7", + "display": "Stewart", + "definition": "Stewart" + }, + { + "code": "1649-3", + "display": "Stockbridge", + "definition": "Stockbridge" + }, + { + "code": "1651-9", + "display": "Susanville", + "definition": "Susanville" + }, + { + "code": "1653-5", + "display": "Tohono O'Odham", + "definition": "Tohono O'Odham" + }, + { + "code": "1659-2", + "display": "Tolowa", + "definition": "Tolowa" + }, + { + "code": "1661-8", + "display": "Tonkawa", + "definition": "Tonkawa" + }, + { + "code": "1663-4", + "display": "Tygh", + "definition": "Tygh" + }, + { + "code": "1665-9", + "display": "Umatilla", + "definition": "Umatilla" + }, + { + "code": "1667-5", + "display": "Umpqua", + "definition": "Umpqua" + }, + { + "code": "1670-9", + "display": "Ute", + "definition": "Ute" + }, + { + "code": "1675-8", + "display": "Wailaki", + "definition": "Wailaki" + }, + { + "code": "1677-4", + "display": "Walla-Walla", + "definition": "Walla-Walla" + }, + { + "code": "1679-0", + "display": "Wampanoag", + "definition": "Wampanoag" + }, + { + "code": "1683-2", + "display": "Warm Springs", + "definition": "Warm Springs" + }, + { + "code": "1685-7", + "display": "Wascopum", + "definition": "Wascopum" + }, + { + "code": "1687-3", + "display": "Washoe", + "definition": "Washoe" + }, + { + "code": "1692-3", + "display": "Wichita", + "definition": "Wichita" + }, + { + "code": "1694-9", + "display": "Wind River", + "definition": "Wind River" + }, + { + "code": "1696-4", + "display": "Winnebago", + "definition": "Winnebago" + }, + { + "code": "1700-4", + "display": "Winnemucca", + "definition": "Winnemucca" + }, + { + "code": "1702-0", + "display": "Wintun", + "definition": "Wintun" + }, + { + "code": "1704-6", + "display": "Wiyot", + "definition": "Wiyot" + }, + { + "code": "1707-9", + "display": "Yakama", + "definition": "Yakama" + }, + { + "code": "1709-5", + "display": "Yakama Cowlitz", + "definition": "Yakama Cowlitz" + }, + { + "code": "1711-1", + "display": "Yaqui", + "definition": "Yaqui" + }, + { + "code": "1715-2", + "display": "Yavapai Apache", + "definition": "Yavapai Apache" + }, + { + "code": "1717-8", + "display": "Yokuts", + "definition": "Yokuts" + }, + { + "code": "1722-8", + "display": "Yuchi", + "definition": "Yuchi" + }, + { + "code": "1724-4", + "display": "Yuman", + "definition": "Yuman" + }, + { + "code": "1732-7", + "display": "Yurok", + "definition": "Yurok" + }, + { + "code": "1011-6", + "display": "Chiricahua", + "definition": "Chiricahua" + }, + { + "code": "1012-4", + "display": "Fort Sill Apache", + "definition": "Fort Sill Apache" + }, + { + "code": "1013-2", + "display": "Jicarilla Apache", + "definition": "Jicarilla Apache" + }, + { + "code": "1014-0", + "display": "Lipan Apache", + "definition": "Lipan Apache" + }, + { + "code": "1015-7", + "display": "Mescalero Apache", + "definition": "Mescalero Apache" + }, + { + "code": "1016-5", + "display": "Oklahoma Apache", + "definition": "Oklahoma Apache" + }, + { + "code": "1017-3", + "display": "Payson Apache", + "definition": "Payson Apache" + }, + { + "code": "1018-1", + "display": "San Carlos Apache", + "definition": "San Carlos Apache" + }, + { + "code": "1019-9", + "display": "White Mountain Apache", + "definition": "White Mountain Apache" + }, + { + "code": "1022-3", + "display": "Northern Arapaho", + "definition": "Northern Arapaho" + }, + { + "code": "1023-1", + "display": "Southern Arapaho", + "definition": "Southern Arapaho" + }, + { + "code": "1024-9", + "display": "Wind River Arapaho", + "definition": "Wind River Arapaho" + }, + { + "code": "1031-4", + "display": "Fort Peck Assiniboine Sioux", + "definition": "Fort Peck Assiniboine Sioux" + }, + { + "code": "1042-1", + "display": "Oklahoma Cado", + "definition": "Oklahoma Cado" + }, + { + "code": "1045-4", + "display": "Agua Caliente Cahuilla", + "definition": "Agua Caliente Cahuilla" + }, + { + "code": "1046-2", + "display": "Augustine", + "definition": "Augustine" + }, + { + "code": "1047-0", + "display": "Cabazon", + "definition": "Cabazon" + }, + { + "code": "1048-8", + "display": "Los Coyotes", + "definition": "Los Coyotes" + }, + { + "code": "1049-6", + "display": "Morongo", + "definition": "Morongo" + }, + { + "code": "1050-4", + "display": "Santa Rosa Cahuilla", + "definition": "Santa Rosa Cahuilla" + }, + { + "code": "1051-2", + "display": "Torres-Martinez", + "definition": "Torres-Martinez" + }, + { + "code": "1054-6", + "display": "Cahto", + "definition": "Cahto" + }, + { + "code": "1055-3", + "display": "Chimariko", + "definition": "Chimariko" + }, + { + "code": "1056-1", + "display": "Coast Miwok", + "definition": "Coast Miwok" + }, + { + "code": "1057-9", + "display": "Digger", + "definition": "Digger" + }, + { + "code": "1058-7", + "display": "Kawaiisu", + "definition": "Kawaiisu" + }, + { + "code": "1059-5", + "display": "Kern River", + "definition": "Kern River" + }, + { + "code": "1060-3", + "display": "Mattole", + "definition": "Mattole" + }, + { + "code": "1061-1", + "display": "Red Wood", + "definition": "Red Wood" + }, + { + "code": "1062-9", + "display": "Santa Rosa", + "definition": "Santa Rosa" + }, + { + "code": "1063-7", + "display": "Takelma", + "definition": "Takelma" + }, + { + "code": "1064-5", + "display": "Wappo", + "definition": "Wappo" + }, + { + "code": "1065-2", + "display": "Yana", + "definition": "Yana" + }, + { + "code": "1066-0", + "display": "Yuki", + "definition": "Yuki" + }, + { + "code": "1069-4", + "display": "Canadian Indian", + "definition": "Canadian Indian" + }, + { + "code": "1070-2", + "display": "Central American Indian", + "definition": "Central American Indian" + }, + { + "code": "1071-0", + "display": "French American Indian", + "definition": "French American Indian" + }, + { + "code": "1072-8", + "display": "Mexican American Indian", + "definition": "Mexican American Indian" + }, + { + "code": "1073-6", + "display": "South American Indian", + "definition": "South American Indian" + }, + { + "code": "1074-4", + "display": "Spanish American Indian", + "definition": "Spanish American Indian" + }, + { + "code": "1083-5", + "display": "Hoh", + "definition": "Hoh" + }, + { + "code": "1084-3", + "display": "Quileute", + "definition": "Quileute" + }, + { + "code": "1089-2", + "display": "Cherokee Alabama", + "definition": "Cherokee Alabama" + }, + { + "code": "1090-0", + "display": "Cherokees of Northeast Alabama", + "definition": "Cherokees of Northeast Alabama" + }, + { + "code": "1091-8", + "display": "Cherokees of Southeast Alabama", + "definition": "Cherokees of Southeast Alabama" + }, + { + "code": "1092-6", + "display": "Eastern Cherokee", + "definition": "Eastern Cherokee" + }, + { + "code": "1093-4", + "display": "Echota Cherokee", + "definition": "Echota Cherokee" + }, + { + "code": "1094-2", + "display": "Etowah Cherokee", + "definition": "Etowah Cherokee" + }, + { + "code": "1095-9", + "display": "Northern Cherokee", + "definition": "Northern Cherokee" + }, + { + "code": "1096-7", + "display": "Tuscola", + "definition": "Tuscola" + }, + { + "code": "1097-5", + "display": "United Keetowah Band of Cherokee", + "definition": "United Keetowah Band of Cherokee" + }, + { + "code": "1098-3", + "display": "Western Cherokee", + "definition": "Western Cherokee" + }, + { + "code": "1103-1", + "display": "Northern Cheyenne", + "definition": "Northern Cheyenne" + }, + { + "code": "1104-9", + "display": "Southern Cheyenne", + "definition": "Southern Cheyenne" + }, + { + "code": "1109-8", + "display": "Eastern Chickahominy", + "definition": "Eastern Chickahominy" + }, + { + "code": "1110-6", + "display": "Western Chickahominy", + "definition": "Western Chickahominy" + }, + { + "code": "1115-5", + "display": "Clatsop", + "definition": "Clatsop" + }, + { + "code": "1116-3", + "display": "Columbia River Chinook", + "definition": "Columbia River Chinook" + }, + { + "code": "1117-1", + "display": "Kathlamet", + "definition": "Kathlamet" + }, + { + "code": "1118-9", + "display": "Upper Chinook", + "definition": "Upper Chinook" + }, + { + "code": "1119-7", + "display": "Wakiakum Chinook", + "definition": "Wakiakum Chinook" + }, + { + "code": "1120-5", + "display": "Willapa Chinook", + "definition": "Willapa Chinook" + }, + { + "code": "1121-3", + "display": "Wishram", + "definition": "Wishram" + }, + { + "code": "1124-7", + "display": "Bad River", + "definition": "Bad River" + }, + { + "code": "1125-4", + "display": "Bay Mills Chippewa", + "definition": "Bay Mills Chippewa" + }, + { + "code": "1126-2", + "display": "Bois Forte", + "definition": "Bois Forte" + }, + { + "code": "1127-0", + "display": "Burt Lake Chippewa", + "definition": "Burt Lake Chippewa" + }, + { + "code": "1128-8", + "display": "Fond du Lac", + "definition": "Fond du Lac" + }, + { + "code": "1129-6", + "display": "Grand Portage", + "definition": "Grand Portage" + }, + { + "code": "1130-4", + "display": "Grand Traverse Band of Ottawa/Chippewa", + "definition": "Grand Traverse Band of Ottawa/Chippewa" + }, + { + "code": "1131-2", + "display": "Keweenaw", + "definition": "Keweenaw" + }, + { + "code": "1132-0", + "display": "Lac Courte Oreilles", + "definition": "Lac Courte Oreilles" + }, + { + "code": "1133-8", + "display": "Lac du Flambeau", + "definition": "Lac du Flambeau" + }, + { + "code": "1134-6", + "display": "Lac Vieux Desert Chippewa", + "definition": "Lac Vieux Desert Chippewa" + }, + { + "code": "1135-3", + "display": "Lake Superior", + "definition": "Lake Superior" + }, + { + "code": "1136-1", + "display": "Leech Lake", + "definition": "Leech Lake" + }, + { + "code": "1137-9", + "display": "Little Shell Chippewa", + "definition": "Little Shell Chippewa" + }, + { + "code": "1138-7", + "display": "Mille Lacs", + "definition": "Mille Lacs" + }, + { + "code": "1139-5", + "display": "Minnesota Chippewa", + "definition": "Minnesota Chippewa" + }, + { + "code": "1140-3", + "display": "Ontonagon", + "definition": "Ontonagon" + }, + { + "code": "1141-1", + "display": "Red Cliff Chippewa", + "definition": "Red Cliff Chippewa" + }, + { + "code": "1142-9", + "display": "Red Lake Chippewa", + "definition": "Red Lake Chippewa" + }, + { + "code": "1143-7", + "display": "Saginaw Chippewa", + "definition": "Saginaw Chippewa" + }, + { + "code": "1144-5", + "display": "St. Croix Chippewa", + "definition": "St. Croix Chippewa" + }, + { + "code": "1145-2", + "display": "Sault Ste. Marie Chippewa", + "definition": "Sault Ste. Marie Chippewa" + }, + { + "code": "1146-0", + "display": "Sokoagon Chippewa", + "definition": "Sokoagon Chippewa" + }, + { + "code": "1147-8", + "display": "Turtle Mountain", + "definition": "Turtle Mountain" + }, + { + "code": "1148-6", + "display": "White Earth", + "definition": "White Earth" + }, + { + "code": "1151-0", + "display": "Rocky Boy's Chippewa Cree", + "definition": "Rocky Boy's Chippewa Cree" + }, + { + "code": "1156-9", + "display": "Clifton Choctaw", + "definition": "Clifton Choctaw" + }, + { + "code": "1157-7", + "display": "Jena Choctaw", + "definition": "Jena Choctaw" + }, + { + "code": "1158-5", + "display": "Mississippi Choctaw", + "definition": "Mississippi Choctaw" + }, + { + "code": "1159-3", + "display": "Mowa Band of Choctaw", + "definition": "Mowa Band of Choctaw" + }, + { + "code": "1160-1", + "display": "Oklahoma Choctaw", + "definition": "Oklahoma Choctaw" + }, + { + "code": "1163-5", + "display": "Santa Ynez", + "definition": "Santa Ynez" + }, + { + "code": "1176-7", + "display": "Oklahoma Comanche", + "definition": "Oklahoma Comanche" + }, + { + "code": "1187-4", + "display": "Alabama Coushatta", + "definition": "Alabama Coushatta" + }, + { + "code": "1194-0", + "display": "Alabama Creek", + "definition": "Alabama Creek" + }, + { + "code": "1195-7", + "display": "Alabama Quassarte", + "definition": "Alabama Quassarte" + }, + { + "code": "1196-5", + "display": "Eastern Creek", + "definition": "Eastern Creek" + }, + { + "code": "1197-3", + "display": "Eastern Muscogee", + "definition": "Eastern Muscogee" + }, + { + "code": "1198-1", + "display": "Kialegee", + "definition": "Kialegee" + }, + { + "code": "1199-9", + "display": "Lower Muscogee", + "definition": "Lower Muscogee" + }, + { + "code": "1200-5", + "display": "Machis Lower Creek Indian", + "definition": "Machis Lower Creek Indian" + }, + { + "code": "1201-3", + "display": "Poarch Band", + "definition": "Poarch Band" + }, + { + "code": "1202-1", + "display": "Principal Creek Indian Nation", + "definition": "Principal Creek Indian Nation" + }, + { + "code": "1203-9", + "display": "Star Clan of Muscogee Creeks", + "definition": "Star Clan of Muscogee Creeks" + }, + { + "code": "1204-7", + "display": "Thlopthlocco", + "definition": "Thlopthlocco" + }, + { + "code": "1205-4", + "display": "Tuckabachee", + "definition": "Tuckabachee" + }, + { + "code": "1212-0", + "display": "Agua Caliente", + "definition": "Agua Caliente" + }, + { + "code": "1215-3", + "display": "Eastern Delaware", + "definition": "Eastern Delaware" + }, + { + "code": "1216-1", + "display": "Lenni-Lenape", + "definition": "Lenni-Lenape" + }, + { + "code": "1217-9", + "display": "Munsee", + "definition": "Munsee" + }, + { + "code": "1218-7", + "display": "Oklahoma Delaware", + "definition": "Oklahoma Delaware" + }, + { + "code": "1219-5", + "display": "Rampough Mountain", + "definition": "Rampough Mountain" + }, + { + "code": "1220-3", + "display": "Sand Hill", + "definition": "Sand Hill" + }, + { + "code": "1223-7", + "display": "Campo", + "definition": "Campo" + }, + { + "code": "1224-5", + "display": "Capitan Grande", + "definition": "Capitan Grande" + }, + { + "code": "1225-2", + "display": "Cuyapaipe", + "definition": "Cuyapaipe" + }, + { + "code": "1226-0", + "display": "La Posta", + "definition": "La Posta" + }, + { + "code": "1227-8", + "display": "Manzanita", + "definition": "Manzanita" + }, + { + "code": "1228-6", + "display": "Mesa Grande", + "definition": "Mesa Grande" + }, + { + "code": "1229-4", + "display": "San Pasqual", + "definition": "San Pasqual" + }, + { + "code": "1230-2", + "display": "Santa Ysabel", + "definition": "Santa Ysabel" + }, + { + "code": "1231-0", + "display": "Sycuan", + "definition": "Sycuan" + }, + { + "code": "1234-4", + "display": "Attacapa", + "definition": "Attacapa" + }, + { + "code": "1235-1", + "display": "Biloxi", + "definition": "Biloxi" + }, + { + "code": "1236-9", + "display": "Georgetown (Eastern Tribes)", + "definition": "Georgetown (Eastern Tribes)" + }, + { + "code": "1237-7", + "display": "Moor", + "definition": "Moor" + }, + { + "code": "1238-5", + "display": "Nansemond", + "definition": "Nansemond" + }, + { + "code": "1239-3", + "display": "Natchez", + "definition": "Natchez" + }, + { + "code": "1240-1", + "display": "Nausu Waiwash", + "definition": "Nausu Waiwash" + }, + { + "code": "1241-9", + "display": "Nipmuc", + "definition": "Nipmuc" + }, + { + "code": "1242-7", + "display": "Paugussett", + "definition": "Paugussett" + }, + { + "code": "1243-5", + "display": "Pocomoke Acohonock", + "definition": "Pocomoke Acohonock" + }, + { + "code": "1244-3", + "display": "Southeastern Indians", + "definition": "Southeastern Indians" + }, + { + "code": "1245-0", + "display": "Susquehanock", + "definition": "Susquehanock" + }, + { + "code": "1246-8", + "display": "Tunica Biloxi", + "definition": "Tunica Biloxi" + }, + { + "code": "1247-6", + "display": "Waccamaw-Siousan", + "definition": "Waccamaw-Siousan" + }, + { + "code": "1248-4", + "display": "Wicomico", + "definition": "Wicomico" + }, + { + "code": "1265-8", + "display": "Atsina", + "definition": "Atsina" + }, + { + "code": "1272-4", + "display": "Trinity", + "definition": "Trinity" + }, + { + "code": "1273-2", + "display": "Whilkut", + "definition": "Whilkut" + }, + { + "code": "1282-3", + "display": "Iowa of Kansas-Nebraska", + "definition": "Iowa of Kansas-Nebraska" + }, + { + "code": "1283-1", + "display": "Iowa of Oklahoma", + "definition": "Iowa of Oklahoma" + }, + { + "code": "1286-4", + "display": "Cayuga", + "definition": "Cayuga" + }, + { + "code": "1287-2", + "display": "Mohawk", + "definition": "Mohawk" + }, + { + "code": "1288-0", + "display": "Oneida", + "definition": "Oneida" + }, + { + "code": "1289-8", + "display": "Onondaga", + "definition": "Onondaga" + }, + { + "code": "1290-6", + "display": "Seneca", + "definition": "Seneca" + }, + { + "code": "1291-4", + "display": "Seneca Nation", + "definition": "Seneca Nation" + }, + { + "code": "1292-2", + "display": "Seneca-Cayuga", + "definition": "Seneca-Cayuga" + }, + { + "code": "1293-0", + "display": "Tonawanda Seneca", + "definition": "Tonawanda Seneca" + }, + { + "code": "1294-8", + "display": "Tuscarora", + "definition": "Tuscarora" + }, + { + "code": "1295-5", + "display": "Wyandotte", + "definition": "Wyandotte" + }, + { + "code": "1306-0", + "display": "Oklahoma Kickapoo", + "definition": "Oklahoma Kickapoo" + }, + { + "code": "1307-8", + "display": "Texas Kickapoo", + "definition": "Texas Kickapoo" + }, + { + "code": "1310-2", + "display": "Oklahoma Kiowa", + "definition": "Oklahoma Kiowa" + }, + { + "code": "1313-6", + "display": "Jamestown", + "definition": "Jamestown" + }, + { + "code": "1314-4", + "display": "Lower Elwha", + "definition": "Lower Elwha" + }, + { + "code": "1315-1", + "display": "Port Gamble Klallam", + "definition": "Port Gamble Klallam" + }, + { + "code": "1326-8", + "display": "Matinecock", + "definition": "Matinecock" + }, + { + "code": "1327-6", + "display": "Montauk", + "definition": "Montauk" + }, + { + "code": "1328-4", + "display": "Poospatuck", + "definition": "Poospatuck" + }, + { + "code": "1329-2", + "display": "Setauket", + "definition": "Setauket" + }, + { + "code": "1332-6", + "display": "La Jolla", + "definition": "La Jolla" + }, + { + "code": "1333-4", + "display": "Pala", + "definition": "Pala" + }, + { + "code": "1334-2", + "display": "Pauma", + "definition": "Pauma" + }, + { + "code": "1335-9", + "display": "Pechanga", + "definition": "Pechanga" + }, + { + "code": "1336-7", + "display": "Soboba", + "definition": "Soboba" + }, + { + "code": "1337-5", + "display": "Twenty-Nine Palms", + "definition": "Twenty-Nine Palms" + }, + { + "code": "1338-3", + "display": "Temecula", + "definition": "Temecula" + }, + { + "code": "1345-8", + "display": "Mountain Maidu", + "definition": "Mountain Maidu" + }, + { + "code": "1346-6", + "display": "Nishinam", + "definition": "Nishinam" + }, + { + "code": "1359-9", + "display": "Illinois Miami", + "definition": "Illinois Miami" + }, + { + "code": "1360-7", + "display": "Indiana Miami", + "definition": "Indiana Miami" + }, + { + "code": "1361-5", + "display": "Oklahoma Miami", + "definition": "Oklahoma Miami" + }, + { + "code": "1366-4", + "display": "Aroostook", + "definition": "Aroostook" + }, + { + "code": "1383-9", + "display": "Alamo Navajo", + "definition": "Alamo Navajo" + }, + { + "code": "1384-7", + "display": "Canoncito Navajo", + "definition": "Canoncito Navajo" + }, + { + "code": "1385-4", + "display": "Ramah Navajo", + "definition": "Ramah Navajo" + }, + { + "code": "1392-0", + "display": "Alsea", + "definition": "Alsea" + }, + { + "code": "1393-8", + "display": "Celilo", + "definition": "Celilo" + }, + { + "code": "1394-6", + "display": "Columbia", + "definition": "Columbia" + }, + { + "code": "1395-3", + "display": "Kalapuya", + "definition": "Kalapuya" + }, + { + "code": "1396-1", + "display": "Molala", + "definition": "Molala" + }, + { + "code": "1397-9", + "display": "Talakamish", + "definition": "Talakamish" + }, + { + "code": "1398-7", + "display": "Tenino", + "definition": "Tenino" + }, + { + "code": "1399-5", + "display": "Tillamook", + "definition": "Tillamook" + }, + { + "code": "1400-1", + "display": "Wenatchee", + "definition": "Wenatchee" + }, + { + "code": "1401-9", + "display": "Yahooskin", + "definition": "Yahooskin" + }, + { + "code": "1412-6", + "display": "Burt Lake Ottawa", + "definition": "Burt Lake Ottawa" + }, + { + "code": "1413-4", + "display": "Michigan Ottawa", + "definition": "Michigan Ottawa" + }, + { + "code": "1414-2", + "display": "Oklahoma Ottawa", + "definition": "Oklahoma Ottawa" + }, + { + "code": "1417-5", + "display": "Bishop", + "definition": "Bishop" + }, + { + "code": "1418-3", + "display": "Bridgeport", + "definition": "Bridgeport" + }, + { + "code": "1419-1", + "display": "Burns Paiute", + "definition": "Burns Paiute" + }, + { + "code": "1420-9", + "display": "Cedarville", + "definition": "Cedarville" + }, + { + "code": "1421-7", + "display": "Fort Bidwell", + "definition": "Fort Bidwell" + }, + { + "code": "1422-5", + "display": "Fort Independence", + "definition": "Fort Independence" + }, + { + "code": "1423-3", + "display": "Kaibab", + "definition": "Kaibab" + }, + { + "code": "1424-1", + "display": "Las Vegas", + "definition": "Las Vegas" + }, + { + "code": "1425-8", + "display": "Lone Pine", + "definition": "Lone Pine" + }, + { + "code": "1426-6", + "display": "Lovelock", + "definition": "Lovelock" + }, + { + "code": "1427-4", + "display": "Malheur Paiute", + "definition": "Malheur Paiute" + }, + { + "code": "1428-2", + "display": "Moapa", + "definition": "Moapa" + }, + { + "code": "1429-0", + "display": "Northern Paiute", + "definition": "Northern Paiute" + }, + { + "code": "1430-8", + "display": "Owens Valley", + "definition": "Owens Valley" + }, + { + "code": "1431-6", + "display": "Pyramid Lake", + "definition": "Pyramid Lake" + }, + { + "code": "1432-4", + "display": "San Juan Southern Paiute", + "definition": "San Juan Southern Paiute" + }, + { + "code": "1433-2", + "display": "Southern Paiute", + "definition": "Southern Paiute" + }, + { + "code": "1434-0", + "display": "Summit Lake", + "definition": "Summit Lake" + }, + { + "code": "1435-7", + "display": "Utu Utu Gwaitu Paiute", + "definition": "Utu Utu Gwaitu Paiute" + }, + { + "code": "1436-5", + "display": "Walker River", + "definition": "Walker River" + }, + { + "code": "1437-3", + "display": "Yerington Paiute", + "definition": "Yerington Paiute" + }, + { + "code": "1442-3", + "display": "Indian Township", + "definition": "Indian Township" + }, + { + "code": "1443-1", + "display": "Pleasant Point Passamaquoddy", + "definition": "Pleasant Point Passamaquoddy" + }, + { + "code": "1446-4", + "display": "Oklahoma Pawnee", + "definition": "Oklahoma Pawnee" + }, + { + "code": "1451-4", + "display": "Oklahoma Peoria", + "definition": "Oklahoma Peoria" + }, + { + "code": "1454-8", + "display": "Marshantucket Pequot", + "definition": "Marshantucket Pequot" + }, + { + "code": "1457-1", + "display": "Gila River Pima-Maricopa", + "definition": "Gila River Pima-Maricopa" + }, + { + "code": "1458-9", + "display": "Salt River Pima-Maricopa", + "definition": "Salt River Pima-Maricopa" + }, + { + "code": "1465-4", + "display": "Central Pomo", + "definition": "Central Pomo" + }, + { + "code": "1466-2", + "display": "Dry Creek", + "definition": "Dry Creek" + }, + { + "code": "1467-0", + "display": "Eastern Pomo", + "definition": "Eastern Pomo" + }, + { + "code": "1468-8", + "display": "Kashia", + "definition": "Kashia" + }, + { + "code": "1469-6", + "display": "Northern Pomo", + "definition": "Northern Pomo" + }, + { + "code": "1470-4", + "display": "Scotts Valley", + "definition": "Scotts Valley" + }, + { + "code": "1471-2", + "display": "Stonyford", + "definition": "Stonyford" + }, + { + "code": "1472-0", + "display": "Sulphur Bank", + "definition": "Sulphur Bank" + }, + { + "code": "1475-3", + "display": "Nebraska Ponca", + "definition": "Nebraska Ponca" + }, + { + "code": "1476-1", + "display": "Oklahoma Ponca", + "definition": "Oklahoma Ponca" + }, + { + "code": "1479-5", + "display": "Citizen Band Potawatomi", + "definition": "Citizen Band Potawatomi" + }, + { + "code": "1480-3", + "display": "Forest County", + "definition": "Forest County" + }, + { + "code": "1481-1", + "display": "Hannahville", + "definition": "Hannahville" + }, + { + "code": "1482-9", + "display": "Huron Potawatomi", + "definition": "Huron Potawatomi" + }, + { + "code": "1483-7", + "display": "Pokagon Potawatomi", + "definition": "Pokagon Potawatomi" + }, + { + "code": "1484-5", + "display": "Prairie Band", + "definition": "Prairie Band" + }, + { + "code": "1485-2", + "display": "Wisconsin Potawatomi", + "definition": "Wisconsin Potawatomi" + }, + { + "code": "1490-2", + "display": "Acoma", + "definition": "Acoma" + }, + { + "code": "1491-0", + "display": "Arizona Tewa", + "definition": "Arizona Tewa" + }, + { + "code": "1492-8", + "display": "Cochiti", + "definition": "Cochiti" + }, + { + "code": "1493-6", + "display": "Hopi", + "definition": "Hopi" + }, + { + "code": "1494-4", + "display": "Isleta", + "definition": "Isleta" + }, + { + "code": "1495-1", + "display": "Jemez", + "definition": "Jemez" + }, + { + "code": "1496-9", + "display": "Keres", + "definition": "Keres" + }, + { + "code": "1497-7", + "display": "Laguna", + "definition": "Laguna" + }, + { + "code": "1498-5", + "display": "Nambe", + "definition": "Nambe" + }, + { + "code": "1499-3", + "display": "Picuris", + "definition": "Picuris" + }, + { + "code": "1500-8", + "display": "Piro", + "definition": "Piro" + }, + { + "code": "1501-6", + "display": "Pojoaque", + "definition": "Pojoaque" + }, + { + "code": "1502-4", + "display": "San Felipe", + "definition": "San Felipe" + }, + { + "code": "1503-2", + "display": "San Ildefonso", + "definition": "San Ildefonso" + }, + { + "code": "1504-0", + "display": "San Juan Pueblo", + "definition": "San Juan Pueblo" + }, + { + "code": "1505-7", + "display": "San Juan De", + "definition": "San Juan De" + }, + { + "code": "1506-5", + "display": "San Juan", + "definition": "San Juan" + }, + { + "code": "1507-3", + "display": "Sandia", + "definition": "Sandia" + }, + { + "code": "1508-1", + "display": "Santa Ana", + "definition": "Santa Ana" + }, + { + "code": "1509-9", + "display": "Santa Clara", + "definition": "Santa Clara" + }, + { + "code": "1510-7", + "display": "Santo Domingo", + "definition": "Santo Domingo" + }, + { + "code": "1511-5", + "display": "Taos", + "definition": "Taos" + }, + { + "code": "1512-3", + "display": "Tesuque", + "definition": "Tesuque" + }, + { + "code": "1513-1", + "display": "Tewa", + "definition": "Tewa" + }, + { + "code": "1514-9", + "display": "Tigua", + "definition": "Tigua" + }, + { + "code": "1515-6", + "display": "Zia", + "definition": "Zia" + }, + { + "code": "1516-4", + "display": "Zuni", + "definition": "Zuni" + }, + { + "code": "1519-8", + "display": "Duwamish", + "definition": "Duwamish" + }, + { + "code": "1520-6", + "display": "Kikiallus", + "definition": "Kikiallus" + }, + { + "code": "1521-4", + "display": "Lower Skagit", + "definition": "Lower Skagit" + }, + { + "code": "1522-2", + "display": "Muckleshoot", + "definition": "Muckleshoot" + }, + { + "code": "1523-0", + "display": "Nisqually", + "definition": "Nisqually" + }, + { + "code": "1524-8", + "display": "Nooksack", + "definition": "Nooksack" + }, + { + "code": "1525-5", + "display": "Port Madison", + "definition": "Port Madison" + }, + { + "code": "1526-3", + "display": "Puyallup", + "definition": "Puyallup" + }, + { + "code": "1527-1", + "display": "Samish", + "definition": "Samish" + }, + { + "code": "1528-9", + "display": "Sauk-Suiattle", + "definition": "Sauk-Suiattle" + }, + { + "code": "1529-7", + "display": "Skokomish", + "definition": "Skokomish" + }, + { + "code": "1530-5", + "display": "Skykomish", + "definition": "Skykomish" + }, + { + "code": "1531-3", + "display": "Snohomish", + "definition": "Snohomish" + }, + { + "code": "1532-1", + "display": "Snoqualmie", + "definition": "Snoqualmie" + }, + { + "code": "1533-9", + "display": "Squaxin Island", + "definition": "Squaxin Island" + }, + { + "code": "1534-7", + "display": "Steilacoom", + "definition": "Steilacoom" + }, + { + "code": "1535-4", + "display": "Stillaguamish", + "definition": "Stillaguamish" + }, + { + "code": "1536-2", + "display": "Suquamish", + "definition": "Suquamish" + }, + { + "code": "1537-0", + "display": "Swinomish", + "definition": "Swinomish" + }, + { + "code": "1538-8", + "display": "Tulalip", + "definition": "Tulalip" + }, + { + "code": "1539-6", + "display": "Upper Skagit", + "definition": "Upper Skagit" + }, + { + "code": "1552-9", + "display": "Iowa Sac and Fox", + "definition": "Iowa Sac and Fox" + }, + { + "code": "1553-7", + "display": "Missouri Sac and Fox", + "definition": "Missouri Sac and Fox" + }, + { + "code": "1554-5", + "display": "Oklahoma Sac and Fox", + "definition": "Oklahoma Sac and Fox" + }, + { + "code": "1567-7", + "display": "Big Cypress", + "definition": "Big Cypress" + }, + { + "code": "1568-5", + "display": "Brighton", + "definition": "Brighton" + }, + { + "code": "1569-3", + "display": "Florida Seminole", + "definition": "Florida Seminole" + }, + { + "code": "1570-1", + "display": "Hollywood Seminole", + "definition": "Hollywood Seminole" + }, + { + "code": "1571-9", + "display": "Oklahoma Seminole", + "definition": "Oklahoma Seminole" + }, + { + "code": "1574-3", + "display": "San Manual", + "definition": "San Manual" + }, + { + "code": "1579-2", + "display": "Absentee Shawnee", + "definition": "Absentee Shawnee" + }, + { + "code": "1580-0", + "display": "Eastern Shawnee", + "definition": "Eastern Shawnee" + }, + { + "code": "1587-5", + "display": "Battle Mountain", + "definition": "Battle Mountain" + }, + { + "code": "1588-3", + "display": "Duckwater", + "definition": "Duckwater" + }, + { + "code": "1589-1", + "display": "Elko", + "definition": "Elko" + }, + { + "code": "1590-9", + "display": "Ely", + "definition": "Ely" + }, + { + "code": "1591-7", + "display": "Goshute", + "definition": "Goshute" + }, + { + "code": "1592-5", + "display": "Panamint", + "definition": "Panamint" + }, + { + "code": "1593-3", + "display": "Ruby Valley", + "definition": "Ruby Valley" + }, + { + "code": "1594-1", + "display": "Skull Valley", + "definition": "Skull Valley" + }, + { + "code": "1595-8", + "display": "South Fork Shoshone", + "definition": "South Fork Shoshone" + }, + { + "code": "1596-6", + "display": "Te-Moak Western Shoshone", + "definition": "Te-Moak Western Shoshone" + }, + { + "code": "1597-4", + "display": "Timbi-Sha Shoshone", + "definition": "Timbi-Sha Shoshone" + }, + { + "code": "1598-2", + "display": "Washakie", + "definition": "Washakie" + }, + { + "code": "1599-0", + "display": "Wind River Shoshone", + "definition": "Wind River Shoshone" + }, + { + "code": "1600-6", + "display": "Yomba", + "definition": "Yomba" + }, + { + "code": "1603-0", + "display": "Duck Valley", + "definition": "Duck Valley" + }, + { + "code": "1604-8", + "display": "Fallon", + "definition": "Fallon" + }, + { + "code": "1605-5", + "display": "Fort McDermitt", + "definition": "Fort McDermitt" + }, + { + "code": "1610-5", + "display": "Blackfoot Sioux", + "definition": "Blackfoot Sioux" + }, + { + "code": "1611-3", + "display": "Brule Sioux", + "definition": "Brule Sioux" + }, + { + "code": "1612-1", + "display": "Cheyenne River Sioux", + "definition": "Cheyenne River Sioux" + }, + { + "code": "1613-9", + "display": "Crow Creek Sioux", + "definition": "Crow Creek Sioux" + }, + { + "code": "1614-7", + "display": "Dakota Sioux", + "definition": "Dakota Sioux" + }, + { + "code": "1615-4", + "display": "Flandreau Santee", + "definition": "Flandreau Santee" + }, + { + "code": "1616-2", + "display": "Fort Peck", + "definition": "Fort Peck" + }, + { + "code": "1617-0", + "display": "Lake Traverse Sioux", + "definition": "Lake Traverse Sioux" + }, + { + "code": "1618-8", + "display": "Lower Brule Sioux", + "definition": "Lower Brule Sioux" + }, + { + "code": "1619-6", + "display": "Lower Sioux", + "definition": "Lower Sioux" + }, + { + "code": "1620-4", + "display": "Mdewakanton Sioux", + "definition": "Mdewakanton Sioux" + }, + { + "code": "1621-2", + "display": "Miniconjou", + "definition": "Miniconjou" + }, + { + "code": "1622-0", + "display": "Oglala Sioux", + "definition": "Oglala Sioux" + }, + { + "code": "1623-8", + "display": "Pine Ridge Sioux", + "definition": "Pine Ridge Sioux" + }, + { + "code": "1624-6", + "display": "Pipestone Sioux", + "definition": "Pipestone Sioux" + }, + { + "code": "1625-3", + "display": "Prairie Island Sioux", + "definition": "Prairie Island Sioux" + }, + { + "code": "1626-1", + "display": "Prior Lake Sioux", + "definition": "Prior Lake Sioux" + }, + { + "code": "1627-9", + "display": "Rosebud Sioux", + "definition": "Rosebud Sioux" + }, + { + "code": "1628-7", + "display": "Sans Arc Sioux", + "definition": "Sans Arc Sioux" + }, + { + "code": "1629-5", + "display": "Santee Sioux", + "definition": "Santee Sioux" + }, + { + "code": "1630-3", + "display": "Sisseton-Wahpeton", + "definition": "Sisseton-Wahpeton" + }, + { + "code": "1631-1", + "display": "Sisseton Sioux", + "definition": "Sisseton Sioux" + }, + { + "code": "1632-9", + "display": "Spirit Lake Sioux", + "definition": "Spirit Lake Sioux" + }, + { + "code": "1633-7", + "display": "Standing Rock Sioux", + "definition": "Standing Rock Sioux" + }, + { + "code": "1634-5", + "display": "Teton Sioux", + "definition": "Teton Sioux" + }, + { + "code": "1635-2", + "display": "Two Kettle Sioux", + "definition": "Two Kettle Sioux" + }, + { + "code": "1636-0", + "display": "Upper Sioux", + "definition": "Upper Sioux" + }, + { + "code": "1637-8", + "display": "Wahpekute Sioux", + "definition": "Wahpekute Sioux" + }, + { + "code": "1638-6", + "display": "Wahpeton Sioux", + "definition": "Wahpeton Sioux" + }, + { + "code": "1639-4", + "display": "Wazhaza Sioux", + "definition": "Wazhaza Sioux" + }, + { + "code": "1640-2", + "display": "Yankton Sioux", + "definition": "Yankton Sioux" + }, + { + "code": "1641-0", + "display": "Yanktonai Sioux", + "definition": "Yanktonai Sioux" + }, + { + "code": "1654-3", + "display": "Ak-Chin", + "definition": "Ak-Chin" + }, + { + "code": "1655-0", + "display": "Gila Bend", + "definition": "Gila Bend" + }, + { + "code": "1656-8", + "display": "San Xavier", + "definition": "San Xavier" + }, + { + "code": "1657-6", + "display": "Sells", + "definition": "Sells" + }, + { + "code": "1668-3", + "display": "Cow Creek Umpqua", + "definition": "Cow Creek Umpqua" + }, + { + "code": "1671-7", + "display": "Allen Canyon", + "definition": "Allen Canyon" + }, + { + "code": "1672-5", + "display": "Uintah Ute", + "definition": "Uintah Ute" + }, + { + "code": "1673-3", + "display": "Ute Mountain Ute", + "definition": "Ute Mountain Ute" + }, + { + "code": "1680-8", + "display": "Gay Head Wampanoag", + "definition": "Gay Head Wampanoag" + }, + { + "code": "1681-6", + "display": "Mashpee Wampanoag", + "definition": "Mashpee Wampanoag" + }, + { + "code": "1688-1", + "display": "Alpine", + "definition": "Alpine" + }, + { + "code": "1689-9", + "display": "Carson", + "definition": "Carson" + }, + { + "code": "1690-7", + "display": "Dresslerville", + "definition": "Dresslerville" + }, + { + "code": "1697-2", + "display": "Ho-chunk", + "definition": "Ho-chunk" + }, + { + "code": "1698-0", + "display": "Nebraska Winnebago", + "definition": "Nebraska Winnebago" + }, + { + "code": "1705-3", + "display": "Table Bluff", + "definition": "Table Bluff" + }, + { + "code": "1712-9", + "display": "Barrio Libre", + "definition": "Barrio Libre" + }, + { + "code": "1713-7", + "display": "Pascua Yaqui", + "definition": "Pascua Yaqui" + }, + { + "code": "1718-6", + "display": "Chukchansi", + "definition": "Chukchansi" + }, + { + "code": "1719-4", + "display": "Tachi", + "definition": "Tachi" + }, + { + "code": "1720-2", + "display": "Tule River", + "definition": "Tule River" + }, + { + "code": "1725-1", + "display": "Cocopah", + "definition": "Cocopah" + }, + { + "code": "1726-9", + "display": "Havasupai", + "definition": "Havasupai" + }, + { + "code": "1727-7", + "display": "Hualapai", + "definition": "Hualapai" + }, + { + "code": "1728-5", + "display": "Maricopa", + "definition": "Maricopa" + }, + { + "code": "1729-3", + "display": "Mohave", + "definition": "Mohave" + }, + { + "code": "1730-1", + "display": "Quechan", + "definition": "Quechan" + }, + { + "code": "1731-9", + "display": "Yavapai", + "definition": "Yavapai" + }, + { + "code": "1733-5", + "display": "Coast Yurok", + "definition": "Coast Yurok" + }, + { + "code": "1737-6", + "display": "Alaska Indian", + "definition": "Alaska Indian" + }, + { + "code": "1840-8", + "display": "Eskimo", + "definition": "Eskimo" + }, + { + "code": "1966-1", + "display": "Aleut", + "definition": "Aleut" + }, + { + "code": "1739-2", + "display": "Alaskan Athabascan", + "definition": "Alaskan Athabascan" + }, + { + "code": "1811-9", + "display": "Southeast Alaska", + "definition": "Southeast Alaska" + }, + { + "code": "1740-0", + "display": "Ahtna", + "definition": "Ahtna" + }, + { + "code": "1741-8", + "display": "Alatna", + "definition": "Alatna" + }, + { + "code": "1742-6", + "display": "Alexander", + "definition": "Alexander" + }, + { + "code": "1743-4", + "display": "Allakaket", + "definition": "Allakaket" + }, + { + "code": "1744-2", + "display": "Alanvik", + "definition": "Alanvik" + }, + { + "code": "1745-9", + "display": "Anvik", + "definition": "Anvik" + }, + { + "code": "1746-7", + "display": "Arctic", + "definition": "Arctic" + }, + { + "code": "1747-5", + "display": "Beaver", + "definition": "Beaver" + }, + { + "code": "1748-3", + "display": "Birch Creek", + "definition": "Birch Creek" + }, + { + "code": "1749-1", + "display": "Cantwell", + "definition": "Cantwell" + }, + { + "code": "1750-9", + "display": "Chalkyitsik", + "definition": "Chalkyitsik" + }, + { + "code": "1751-7", + "display": "Chickaloon", + "definition": "Chickaloon" + }, + { + "code": "1752-5", + "display": "Chistochina", + "definition": "Chistochina" + }, + { + "code": "1753-3", + "display": "Chitina", + "definition": "Chitina" + }, + { + "code": "1754-1", + "display": "Circle", + "definition": "Circle" + }, + { + "code": "1755-8", + "display": "Cook Inlet", + "definition": "Cook Inlet" + }, + { + "code": "1756-6", + "display": "Copper Center", + "definition": "Copper Center" + }, + { + "code": "1757-4", + "display": "Copper River", + "definition": "Copper River" + }, + { + "code": "1758-2", + "display": "Dot Lake", + "definition": "Dot Lake" + }, + { + "code": "1759-0", + "display": "Doyon", + "definition": "Doyon" + }, + { + "code": "1760-8", + "display": "Eagle", + "definition": "Eagle" + }, + { + "code": "1761-6", + "display": "Eklutna", + "definition": "Eklutna" + }, + { + "code": "1762-4", + "display": "Evansville", + "definition": "Evansville" + }, + { + "code": "1763-2", + "display": "Fort Yukon", + "definition": "Fort Yukon" + }, + { + "code": "1764-0", + "display": "Gakona", + "definition": "Gakona" + }, + { + "code": "1765-7", + "display": "Galena", + "definition": "Galena" + }, + { + "code": "1766-5", + "display": "Grayling", + "definition": "Grayling" + }, + { + "code": "1767-3", + "display": "Gulkana", + "definition": "Gulkana" + }, + { + "code": "1768-1", + "display": "Healy Lake", + "definition": "Healy Lake" + }, + { + "code": "1769-9", + "display": "Holy Cross", + "definition": "Holy Cross" + }, + { + "code": "1770-7", + "display": "Hughes", + "definition": "Hughes" + }, + { + "code": "1771-5", + "display": "Huslia", + "definition": "Huslia" + }, + { + "code": "1772-3", + "display": "Iliamna", + "definition": "Iliamna" + }, + { + "code": "1773-1", + "display": "Kaltag", + "definition": "Kaltag" + }, + { + "code": "1774-9", + "display": "Kluti Kaah", + "definition": "Kluti Kaah" + }, + { + "code": "1775-6", + "display": "Knik", + "definition": "Knik" + }, + { + "code": "1776-4", + "display": "Koyukuk", + "definition": "Koyukuk" + }, + { + "code": "1777-2", + "display": "Lake Minchumina", + "definition": "Lake Minchumina" + }, + { + "code": "1778-0", + "display": "Lime", + "definition": "Lime" + }, + { + "code": "1779-8", + "display": "Mcgrath", + "definition": "Mcgrath" + }, + { + "code": "1780-6", + "display": "Manley Hot Springs", + "definition": "Manley Hot Springs" + }, + { + "code": "1781-4", + "display": "Mentasta Lake", + "definition": "Mentasta Lake" + }, + { + "code": "1782-2", + "display": "Minto", + "definition": "Minto" + }, + { + "code": "1783-0", + "display": "Nenana", + "definition": "Nenana" + }, + { + "code": "1784-8", + "display": "Nikolai", + "definition": "Nikolai" + }, + { + "code": "1785-5", + "display": "Ninilchik", + "definition": "Ninilchik" + }, + { + "code": "1786-3", + "display": "Nondalton", + "definition": "Nondalton" + }, + { + "code": "1787-1", + "display": "Northway", + "definition": "Northway" + }, + { + "code": "1788-9", + "display": "Nulato", + "definition": "Nulato" + }, + { + "code": "1789-7", + "display": "Pedro Bay", + "definition": "Pedro Bay" + }, + { + "code": "1790-5", + "display": "Rampart", + "definition": "Rampart" + }, + { + "code": "1791-3", + "display": "Ruby", + "definition": "Ruby" + }, + { + "code": "1792-1", + "display": "Salamatof", + "definition": "Salamatof" + }, + { + "code": "1793-9", + "display": "Seldovia", + "definition": "Seldovia" + }, + { + "code": "1794-7", + "display": "Slana", + "definition": "Slana" + }, + { + "code": "1795-4", + "display": "Shageluk", + "definition": "Shageluk" + }, + { + "code": "1796-2", + "display": "Stevens", + "definition": "Stevens" + }, + { + "code": "1797-0", + "display": "Stony River", + "definition": "Stony River" + }, + { + "code": "1798-8", + "display": "Takotna", + "definition": "Takotna" + }, + { + "code": "1799-6", + "display": "Tanacross", + "definition": "Tanacross" + }, + { + "code": "1800-2", + "display": "Tanaina", + "definition": "Tanaina" + }, + { + "code": "1801-0", + "display": "Tanana", + "definition": "Tanana" + }, + { + "code": "1802-8", + "display": "Tanana Chiefs", + "definition": "Tanana Chiefs" + }, + { + "code": "1803-6", + "display": "Tazlina", + "definition": "Tazlina" + }, + { + "code": "1804-4", + "display": "Telida", + "definition": "Telida" + }, + { + "code": "1805-1", + "display": "Tetlin", + "definition": "Tetlin" + }, + { + "code": "1806-9", + "display": "Tok", + "definition": "Tok" + }, + { + "code": "1807-7", + "display": "Tyonek", + "definition": "Tyonek" + }, + { + "code": "1808-5", + "display": "Venetie", + "definition": "Venetie" + }, + { + "code": "1809-3", + "display": "Wiseman", + "definition": "Wiseman" + }, + { + "code": "1813-5", + "display": "Tlingit-Haida", + "definition": "Tlingit-Haida" + }, + { + "code": "1837-4", + "display": "Tsimshian", + "definition": "Tsimshian" + }, + { + "code": "1814-3", + "display": "Angoon", + "definition": "Angoon" + }, + { + "code": "1815-0", + "display": "Central Council of Tlingit and Haida Tribes", + "definition": "Central Council of Tlingit and Haida Tribes" + }, + { + "code": "1816-8", + "display": "Chilkat", + "definition": "Chilkat" + }, + { + "code": "1817-6", + "display": "Chilkoot", + "definition": "Chilkoot" + }, + { + "code": "1818-4", + "display": "Craig", + "definition": "Craig" + }, + { + "code": "1819-2", + "display": "Douglas", + "definition": "Douglas" + }, + { + "code": "1820-0", + "display": "Haida", + "definition": "Haida" + }, + { + "code": "1821-8", + "display": "Hoonah", + "definition": "Hoonah" + }, + { + "code": "1822-6", + "display": "Hydaburg", + "definition": "Hydaburg" + }, + { + "code": "1823-4", + "display": "Kake", + "definition": "Kake" + }, + { + "code": "1824-2", + "display": "Kasaan", + "definition": "Kasaan" + }, + { + "code": "1825-9", + "display": "Kenaitze", + "definition": "Kenaitze" + }, + { + "code": "1826-7", + "display": "Ketchikan", + "definition": "Ketchikan" + }, + { + "code": "1827-5", + "display": "Klawock", + "definition": "Klawock" + }, + { + "code": "1828-3", + "display": "Pelican", + "definition": "Pelican" + }, + { + "code": "1829-1", + "display": "Petersburg", + "definition": "Petersburg" + }, + { + "code": "1830-9", + "display": "Saxman", + "definition": "Saxman" + }, + { + "code": "1831-7", + "display": "Sitka", + "definition": "Sitka" + }, + { + "code": "1832-5", + "display": "Tenakee Springs", + "definition": "Tenakee Springs" + }, + { + "code": "1833-3", + "display": "Tlingit", + "definition": "Tlingit" + }, + { + "code": "1834-1", + "display": "Wrangell", + "definition": "Wrangell" + }, + { + "code": "1835-8", + "display": "Yakutat", + "definition": "Yakutat" + }, + { + "code": "1838-2", + "display": "Metlakatla", + "definition": "Metlakatla" + }, + { + "code": "1842-4", + "display": "Greenland Eskimo", + "definition": "Greenland Eskimo" + }, + { + "code": "1844-0", + "display": "Inupiat Eskimo", + "definition": "Inupiat Eskimo" + }, + { + "code": "1891-1", + "display": "Siberian Eskimo", + "definition": "Siberian Eskimo" + }, + { + "code": "1896-0", + "display": "Yupik Eskimo", + "definition": "Yupik Eskimo" + }, + { + "code": "1845-7", + "display": "Ambler", + "definition": "Ambler" + }, + { + "code": "1846-5", + "display": "Anaktuvuk", + "definition": "Anaktuvuk" + }, + { + "code": "1847-3", + "display": "Anaktuvuk Pass", + "definition": "Anaktuvuk Pass" + }, + { + "code": "1848-1", + "display": "Arctic Slope Inupiat", + "definition": "Arctic Slope Inupiat" + }, + { + "code": "1849-9", + "display": "Arctic Slope Corporation", + "definition": "Arctic Slope Corporation" + }, + { + "code": "1850-7", + "display": "Atqasuk", + "definition": "Atqasuk" + }, + { + "code": "1851-5", + "display": "Barrow", + "definition": "Barrow" + }, + { + "code": "1852-3", + "display": "Bering Straits Inupiat", + "definition": "Bering Straits Inupiat" + }, + { + "code": "1853-1", + "display": "Brevig Mission", + "definition": "Brevig Mission" + }, + { + "code": "1854-9", + "display": "Buckland", + "definition": "Buckland" + }, + { + "code": "1855-6", + "display": "Chinik", + "definition": "Chinik" + }, + { + "code": "1856-4", + "display": "Council", + "definition": "Council" + }, + { + "code": "1857-2", + "display": "Deering", + "definition": "Deering" + }, + { + "code": "1858-0", + "display": "Elim", + "definition": "Elim" + }, + { + "code": "1859-8", + "display": "Golovin", + "definition": "Golovin" + }, + { + "code": "1860-6", + "display": "Inalik Diomede", + "definition": "Inalik Diomede" + }, + { + "code": "1861-4", + "display": "Inupiaq", + "definition": "Inupiaq" + }, + { + "code": "1862-2", + "display": "Kaktovik", + "definition": "Kaktovik" + }, + { + "code": "1863-0", + "display": "Kawerak", + "definition": "Kawerak" + }, + { + "code": "1864-8", + "display": "Kiana", + "definition": "Kiana" + }, + { + "code": "1865-5", + "display": "Kivalina", + "definition": "Kivalina" + }, + { + "code": "1866-3", + "display": "Kobuk", + "definition": "Kobuk" + }, + { + "code": "1867-1", + "display": "Kotzebue", + "definition": "Kotzebue" + }, + { + "code": "1868-9", + "display": "Koyuk", + "definition": "Koyuk" + }, + { + "code": "1869-7", + "display": "Kwiguk", + "definition": "Kwiguk" + }, + { + "code": "1870-5", + "display": "Mauneluk Inupiat", + "definition": "Mauneluk Inupiat" + }, + { + "code": "1871-3", + "display": "Nana Inupiat", + "definition": "Nana Inupiat" + }, + { + "code": "1872-1", + "display": "Noatak", + "definition": "Noatak" + }, + { + "code": "1873-9", + "display": "Nome", + "definition": "Nome" + }, + { + "code": "1874-7", + "display": "Noorvik", + "definition": "Noorvik" + }, + { + "code": "1875-4", + "display": "Nuiqsut", + "definition": "Nuiqsut" + }, + { + "code": "1876-2", + "display": "Point Hope", + "definition": "Point Hope" + }, + { + "code": "1877-0", + "display": "Point Lay", + "definition": "Point Lay" + }, + { + "code": "1878-8", + "display": "Selawik", + "definition": "Selawik" + }, + { + "code": "1879-6", + "display": "Shaktoolik", + "definition": "Shaktoolik" + }, + { + "code": "1880-4", + "display": "Shishmaref", + "definition": "Shishmaref" + }, + { + "code": "1881-2", + "display": "Shungnak", + "definition": "Shungnak" + }, + { + "code": "1882-0", + "display": "Solomon", + "definition": "Solomon" + }, + { + "code": "1883-8", + "display": "Teller", + "definition": "Teller" + }, + { + "code": "1884-6", + "display": "Unalakleet", + "definition": "Unalakleet" + }, + { + "code": "1885-3", + "display": "Wainwright", + "definition": "Wainwright" + }, + { + "code": "1886-1", + "display": "Wales", + "definition": "Wales" + }, + { + "code": "1887-9", + "display": "White Mountain", + "definition": "White Mountain" + }, + { + "code": "1888-7", + "display": "White Mountain Inupiat", + "definition": "White Mountain Inupiat" + }, + { + "code": "1889-5", + "display": "Mary's Igloo", + "definition": "Mary's Igloo" + }, + { + "code": "1892-9", + "display": "Gambell", + "definition": "Gambell" + }, + { + "code": "1893-7", + "display": "Savoonga", + "definition": "Savoonga" + }, + { + "code": "1894-5", + "display": "Siberian Yupik", + "definition": "Siberian Yupik" + }, + { + "code": "1897-8", + "display": "Akiachak", + "definition": "Akiachak" + }, + { + "code": "1898-6", + "display": "Akiak", + "definition": "Akiak" + }, + { + "code": "1899-4", + "display": "Alakanuk", + "definition": "Alakanuk" + }, + { + "code": "1900-0", + "display": "Aleknagik", + "definition": "Aleknagik" + }, + { + "code": "1901-8", + "display": "Andreafsky", + "definition": "Andreafsky" + }, + { + "code": "1902-6", + "display": "Aniak", + "definition": "Aniak" + }, + { + "code": "1903-4", + "display": "Atmautluak", + "definition": "Atmautluak" + }, + { + "code": "1904-2", + "display": "Bethel", + "definition": "Bethel" + }, + { + "code": "1905-9", + "display": "Bill Moore's Slough", + "definition": "Bill Moore's Slough" + }, + { + "code": "1906-7", + "display": "Bristol Bay Yupik", + "definition": "Bristol Bay Yupik" + }, + { + "code": "1907-5", + "display": "Calista Yupik", + "definition": "Calista Yupik" + }, + { + "code": "1908-3", + "display": "Chefornak", + "definition": "Chefornak" + }, + { + "code": "1909-1", + "display": "Chevak", + "definition": "Chevak" + }, + { + "code": "1910-9", + "display": "Chuathbaluk", + "definition": "Chuathbaluk" + }, + { + "code": "1911-7", + "display": "Clark's Point", + "definition": "Clark's Point" + }, + { + "code": "1912-5", + "display": "Crooked Creek", + "definition": "Crooked Creek" + }, + { + "code": "1913-3", + "display": "Dillingham", + "definition": "Dillingham" + }, + { + "code": "1914-1", + "display": "Eek", + "definition": "Eek" + }, + { + "code": "1915-8", + "display": "Ekuk", + "definition": "Ekuk" + }, + { + "code": "1916-6", + "display": "Ekwok", + "definition": "Ekwok" + }, + { + "code": "1917-4", + "display": "Emmonak", + "definition": "Emmonak" + }, + { + "code": "1918-2", + "display": "Goodnews Bay", + "definition": "Goodnews Bay" + }, + { + "code": "1919-0", + "display": "Hooper Bay", + "definition": "Hooper Bay" + }, + { + "code": "1920-8", + "display": "Iqurmuit (Russian Mission)", + "definition": "Iqurmuit (Russian Mission)" + }, + { + "code": "1921-6", + "display": "Kalskag", + "definition": "Kalskag" + }, + { + "code": "1922-4", + "display": "Kasigluk", + "definition": "Kasigluk" + }, + { + "code": "1923-2", + "display": "Kipnuk", + "definition": "Kipnuk" + }, + { + "code": "1924-0", + "display": "Koliganek", + "definition": "Koliganek" + }, + { + "code": "1925-7", + "display": "Kongiganak", + "definition": "Kongiganak" + }, + { + "code": "1926-5", + "display": "Kotlik", + "definition": "Kotlik" + }, + { + "code": "1927-3", + "display": "Kwethluk", + "definition": "Kwethluk" + }, + { + "code": "1928-1", + "display": "Kwigillingok", + "definition": "Kwigillingok" + }, + { + "code": "1929-9", + "display": "Levelock", + "definition": "Levelock" + }, + { + "code": "1930-7", + "display": "Lower Kalskag", + "definition": "Lower Kalskag" + }, + { + "code": "1931-5", + "display": "Manokotak", + "definition": "Manokotak" + }, + { + "code": "1932-3", + "display": "Marshall", + "definition": "Marshall" + }, + { + "code": "1933-1", + "display": "Mekoryuk", + "definition": "Mekoryuk" + }, + { + "code": "1934-9", + "display": "Mountain Village", + "definition": "Mountain Village" + }, + { + "code": "1935-6", + "display": "Naknek", + "definition": "Naknek" + }, + { + "code": "1936-4", + "display": "Napaumute", + "definition": "Napaumute" + }, + { + "code": "1937-2", + "display": "Napakiak", + "definition": "Napakiak" + }, + { + "code": "1938-0", + "display": "Napaskiak", + "definition": "Napaskiak" + }, + { + "code": "1939-8", + "display": "Newhalen", + "definition": "Newhalen" + }, + { + "code": "1940-6", + "display": "New Stuyahok", + "definition": "New Stuyahok" + }, + { + "code": "1941-4", + "display": "Newtok", + "definition": "Newtok" + }, + { + "code": "1942-2", + "display": "Nightmute", + "definition": "Nightmute" + }, + { + "code": "1943-0", + "display": "Nunapitchukv", + "definition": "Nunapitchukv" + }, + { + "code": "1944-8", + "display": "Oscarville", + "definition": "Oscarville" + }, + { + "code": "1945-5", + "display": "Pilot Station", + "definition": "Pilot Station" + }, + { + "code": "1946-3", + "display": "Pitkas Point", + "definition": "Pitkas Point" + }, + { + "code": "1947-1", + "display": "Platinum", + "definition": "Platinum" + }, + { + "code": "1948-9", + "display": "Portage Creek", + "definition": "Portage Creek" + }, + { + "code": "1949-7", + "display": "Quinhagak", + "definition": "Quinhagak" + }, + { + "code": "1950-5", + "display": "Red Devil", + "definition": "Red Devil" + }, + { + "code": "1951-3", + "display": "St. Michael", + "definition": "St. Michael" + }, + { + "code": "1952-1", + "display": "Scammon Bay", + "definition": "Scammon Bay" + }, + { + "code": "1953-9", + "display": "Sheldon's Point", + "definition": "Sheldon's Point" + }, + { + "code": "1954-7", + "display": "Sleetmute", + "definition": "Sleetmute" + }, + { + "code": "1955-4", + "display": "Stebbins", + "definition": "Stebbins" + }, + { + "code": "1956-2", + "display": "Togiak", + "definition": "Togiak" + }, + { + "code": "1957-0", + "display": "Toksook", + "definition": "Toksook" + }, + { + "code": "1958-8", + "display": "Tulukskak", + "definition": "Tulukskak" + }, + { + "code": "1959-6", + "display": "Tuntutuliak", + "definition": "Tuntutuliak" + }, + { + "code": "1960-4", + "display": "Tununak", + "definition": "Tununak" + }, + { + "code": "1961-2", + "display": "Twin Hills", + "definition": "Twin Hills" + }, + { + "code": "1962-0", + "display": "Georgetown (Yupik-Eskimo)", + "definition": "Georgetown (Yupik-Eskimo)" + }, + { + "code": "1963-8", + "display": "St. Mary's", + "definition": "St. Mary's" + }, + { + "code": "1964-6", + "display": "Umkumiate", + "definition": "Umkumiate" + }, + { + "code": "1968-7", + "display": "Alutiiq Aleut", + "definition": "Alutiiq Aleut" + }, + { + "code": "1972-9", + "display": "Bristol Bay Aleut", + "definition": "Bristol Bay Aleut" + }, + { + "code": "1984-4", + "display": "Chugach Aleut", + "definition": "Chugach Aleut" + }, + { + "code": "1990-1", + "display": "Eyak", + "definition": "Eyak" + }, + { + "code": "1992-7", + "display": "Koniag Aleut", + "definition": "Koniag Aleut" + }, + { + "code": "2002-4", + "display": "Sugpiaq", + "definition": "Sugpiaq" + }, + { + "code": "2004-0", + "display": "Suqpigaq", + "definition": "Suqpigaq" + }, + { + "code": "2006-5", + "display": "Unangan Aleut", + "definition": "Unangan Aleut" + }, + { + "code": "1969-5", + "display": "Tatitlek", + "definition": "Tatitlek" + }, + { + "code": "1970-3", + "display": "Ugashik", + "definition": "Ugashik" + }, + { + "code": "1973-7", + "display": "Chignik", + "definition": "Chignik" + }, + { + "code": "1974-5", + "display": "Chignik Lake", + "definition": "Chignik Lake" + }, + { + "code": "1975-2", + "display": "Egegik", + "definition": "Egegik" + }, + { + "code": "1976-0", + "display": "Igiugig", + "definition": "Igiugig" + }, + { + "code": "1977-8", + "display": "Ivanof Bay", + "definition": "Ivanof Bay" + }, + { + "code": "1978-6", + "display": "King Salmon", + "definition": "King Salmon" + }, + { + "code": "1979-4", + "display": "Kokhanok", + "definition": "Kokhanok" + }, + { + "code": "1980-2", + "display": "Perryville", + "definition": "Perryville" + }, + { + "code": "1981-0", + "display": "Pilot Point", + "definition": "Pilot Point" + }, + { + "code": "1982-8", + "display": "Port Heiden", + "definition": "Port Heiden" + }, + { + "code": "1985-1", + "display": "Chenega", + "definition": "Chenega" + }, + { + "code": "1986-9", + "display": "Chugach Corporation", + "definition": "Chugach Corporation" + }, + { + "code": "1987-7", + "display": "English Bay", + "definition": "English Bay" + }, + { + "code": "1988-5", + "display": "Port Graham", + "definition": "Port Graham" + }, + { + "code": "1993-5", + "display": "Akhiok", + "definition": "Akhiok" + }, + { + "code": "1994-3", + "display": "Agdaagux", + "definition": "Agdaagux" + }, + { + "code": "1995-0", + "display": "Karluk", + "definition": "Karluk" + }, + { + "code": "1996-8", + "display": "Kodiak", + "definition": "Kodiak" + }, + { + "code": "1997-6", + "display": "Larsen Bay", + "definition": "Larsen Bay" + }, + { + "code": "1998-4", + "display": "Old Harbor", + "definition": "Old Harbor" + }, + { + "code": "1999-2", + "display": "Ouzinkie", + "definition": "Ouzinkie" + }, + { + "code": "2000-8", + "display": "Port Lions", + "definition": "Port Lions" + }, + { + "code": "2007-3", + "display": "Akutan", + "definition": "Akutan" + }, + { + "code": "2008-1", + "display": "Aleut Corporation", + "definition": "Aleut Corporation" + }, + { + "code": "2009-9", + "display": "Aleutian", + "definition": "Aleutian" + }, + { + "code": "2010-7", + "display": "Aleutian Islander", + "definition": "Aleutian Islander" + }, + { + "code": "2011-5", + "display": "Atka", + "definition": "Atka" + }, + { + "code": "2012-3", + "display": "Belkofski", + "definition": "Belkofski" + }, + { + "code": "2013-1", + "display": "Chignik Lagoon", + "definition": "Chignik Lagoon" + }, + { + "code": "2014-9", + "display": "King Cove", + "definition": "King Cove" + }, + { + "code": "2015-6", + "display": "False Pass", + "definition": "False Pass" + }, + { + "code": "2016-4", + "display": "Nelson Lagoon", + "definition": "Nelson Lagoon" + }, + { + "code": "2017-2", + "display": "Nikolski", + "definition": "Nikolski" + }, + { + "code": "2018-0", + "display": "Pauloff Harbor", + "definition": "Pauloff Harbor" + }, + { + "code": "2019-8", + "display": "Qagan Toyagungin", + "definition": "Qagan Toyagungin" + }, + { + "code": "2020-6", + "display": "Qawalangin", + "definition": "Qawalangin" + }, + { + "code": "2021-4", + "display": "St. George", + "definition": "St. George" + }, + { + "code": "2022-2", + "display": "St. Paul", + "definition": "St. Paul" + }, + { + "code": "2023-0", + "display": "Sand Point", + "definition": "Sand Point" + }, + { + "code": "2024-8", + "display": "South Naknek", + "definition": "South Naknek" + }, + { + "code": "2025-5", + "display": "Unalaska", + "definition": "Unalaska" + }, + { + "code": "2026-3", + "display": "Unga", + "definition": "Unga" + } + ] + }, + { + "code": "2028-9", + "display": "Asian", + "definition": "Asian", + "concept": [ + { + "code": "2029-7", + "display": "Asian Indian", + "definition": "Asian Indian" + }, + { + "code": "2030-5", + "display": "Bangladeshi", + "definition": "Bangladeshi" + }, + { + "code": "2031-3", + "display": "Bhutanese", + "definition": "Bhutanese" + }, + { + "code": "2032-1", + "display": "Burmese", + "definition": "Burmese" + }, + { + "code": "2033-9", + "display": "Cambodian", + "definition": "Cambodian" + }, + { + "code": "2034-7", + "display": "Chinese", + "definition": "Chinese" + }, + { + "code": "2035-4", + "display": "Taiwanese", + "definition": "Taiwanese" + }, + { + "code": "2036-2", + "display": "Filipino", + "definition": "Filipino" + }, + { + "code": "2037-0", + "display": "Hmong", + "definition": "Hmong" + }, + { + "code": "2038-8", + "display": "Indonesian", + "definition": "Indonesian" + }, + { + "code": "2039-6", + "display": "Japanese", + "definition": "Japanese" + }, + { + "code": "2040-4", + "display": "Korean", + "definition": "Korean" + }, + { + "code": "2041-2", + "display": "Laotian", + "definition": "Laotian" + }, + { + "code": "2042-0", + "display": "Malaysian", + "definition": "Malaysian" + }, + { + "code": "2043-8", + "display": "Okinawan", + "definition": "Okinawan" + }, + { + "code": "2044-6", + "display": "Pakistani", + "definition": "Pakistani" + }, + { + "code": "2045-3", + "display": "Sri Lankan", + "definition": "Sri Lankan" + }, + { + "code": "2046-1", + "display": "Thai", + "definition": "Thai" + }, + { + "code": "2047-9", + "display": "Vietnamese", + "definition": "Vietnamese" + }, + { + "code": "2048-7", + "display": "Iwo Jiman", + "definition": "Iwo Jiman" + }, + { + "code": "2049-5", + "display": "Maldivian", + "definition": "Maldivian" + }, + { + "code": "2050-3", + "display": "Nepalese", + "definition": "Nepalese" + }, + { + "code": "2051-1", + "display": "Singaporean", + "definition": "Singaporean" + }, + { + "code": "2052-9", + "display": "Madagascar", + "definition": "Madagascar" + } + ] + }, + { + "code": "2054-5", + "display": "Black or African American", + "definition": "Black or African American", + "concept": [ + { + "code": "2056-0", + "display": "Black", + "definition": "Black" + }, + { + "code": "2058-6", + "display": "African American", + "definition": "African American" + }, + { + "code": "2060-2", + "display": "African", + "definition": "African" + }, + { + "code": "2067-7", + "display": "Bahamian", + "definition": "Bahamian" + }, + { + "code": "2068-5", + "display": "Barbadian", + "definition": "Barbadian" + }, + { + "code": "2069-3", + "display": "Dominican", + "definition": "Dominican" + }, + { + "code": "2070-1", + "display": "Dominica Islander", + "definition": "Dominica Islander" + }, + { + "code": "2071-9", + "display": "Haitian", + "definition": "Haitian" + }, + { + "code": "2072-7", + "display": "Jamaican", + "definition": "Jamaican" + }, + { + "code": "2073-5", + "display": "Tobagoan", + "definition": "Tobagoan" + }, + { + "code": "2074-3", + "display": "Trinidadian", + "definition": "Trinidadian" + }, + { + "code": "2075-0", + "display": "West Indian", + "definition": "West Indian" + }, + { + "code": "2061-0", + "display": "Botswanan", + "definition": "Botswanan" + }, + { + "code": "2062-8", + "display": "Ethiopian", + "definition": "Ethiopian" + }, + { + "code": "2063-6", + "display": "Liberian", + "definition": "Liberian" + }, + { + "code": "2064-4", + "display": "Namibian", + "definition": "Namibian" + }, + { + "code": "2065-1", + "display": "Nigerian", + "definition": "Nigerian" + }, + { + "code": "2066-9", + "display": "Zairean", + "definition": "Zairean" + } + ] + }, + { + "code": "2076-8", + "display": "Native Hawaiian or Other Pacific Islander", + "definition": "Native Hawaiian or Other Pacific Islander", + "concept": [ + { + "code": "2078-4", + "display": "Polynesian", + "definition": "Polynesian" + }, + { + "code": "2085-9", + "display": "Micronesian", + "definition": "Micronesian" + }, + { + "code": "2100-6", + "display": "Melanesian", + "definition": "Melanesian" + }, + { + "code": "2500-7", + "display": "Other Pacific Islander", + "definition": "Other Pacific Islander" + }, + { + "code": "2079-2", + "display": "Native Hawaiian", + "definition": "Native Hawaiian" + }, + { + "code": "2080-0", + "display": "Samoan", + "definition": "Samoan" + }, + { + "code": "2081-8", + "display": "Tahitian", + "definition": "Tahitian" + }, + { + "code": "2082-6", + "display": "Tongan", + "definition": "Tongan" + }, + { + "code": "2083-4", + "display": "Tokelauan", + "definition": "Tokelauan" + }, + { + "code": "2086-7", + "display": "Guamanian or Chamorro", + "definition": "Guamanian or Chamorro" + }, + { + "code": "2087-5", + "display": "Guamanian", + "definition": "Guamanian" + }, + { + "code": "2088-3", + "display": "Chamorro", + "definition": "Chamorro" + }, + { + "code": "2089-1", + "display": "Mariana Islander", + "definition": "Mariana Islander" + }, + { + "code": "2090-9", + "display": "Marshallese", + "definition": "Marshallese" + }, + { + "code": "2091-7", + "display": "Palauan", + "definition": "Palauan" + }, + { + "code": "2092-5", + "display": "Carolinian", + "definition": "Carolinian" + }, + { + "code": "2093-3", + "display": "Kosraean", + "definition": "Kosraean" + }, + { + "code": "2094-1", + "display": "Pohnpeian", + "definition": "Pohnpeian" + }, + { + "code": "2095-8", + "display": "Saipanese", + "definition": "Saipanese" + }, + { + "code": "2096-6", + "display": "Kiribati", + "definition": "Kiribati" + }, + { + "code": "2097-4", + "display": "Chuukese", + "definition": "Chuukese" + }, + { + "code": "2098-2", + "display": "Yapese", + "definition": "Yapese" + }, + { + "code": "2101-4", + "display": "Fijian", + "definition": "Fijian" + }, + { + "code": "2102-2", + "display": "Papua New Guinean", + "definition": "Papua New Guinean" + }, + { + "code": "2103-0", + "display": "Solomon Islander", + "definition": "Solomon Islander" + }, + { + "code": "2104-8", + "display": "New Hebrides", + "definition": "New Hebrides" + } + ] + }, + { + "code": "2106-3", + "display": "White", + "definition": "White", + "concept": [ + { + "code": "2108-9", + "display": "European", + "definition": "European" + }, + { + "code": "2118-8", + "display": "Middle Eastern or North African", + "definition": "Middle Eastern or North African" + }, + { + "code": "2129-5", + "display": "Arab", + "definition": "Arab" + }, + { + "code": "2109-7", + "display": "Armenian", + "definition": "Armenian" + }, + { + "code": "2110-5", + "display": "English", + "definition": "English" + }, + { + "code": "2111-3", + "display": "French", + "definition": "French" + }, + { + "code": "2112-1", + "display": "German", + "definition": "German" + }, + { + "code": "2113-9", + "display": "Irish", + "definition": "Irish" + }, + { + "code": "2114-7", + "display": "Italian", + "definition": "Italian" + }, + { + "code": "2115-4", + "display": "Polish", + "definition": "Polish" + }, + { + "code": "2116-2", + "display": "Scottish", + "definition": "Scottish" + }, + { + "code": "2119-6", + "display": "Assyrian", + "definition": "Assyrian" + }, + { + "code": "2120-4", + "display": "Egyptian", + "definition": "Egyptian" + }, + { + "code": "2121-2", + "display": "Iranian", + "definition": "Iranian" + }, + { + "code": "2122-0", + "display": "Iraqi", + "definition": "Iraqi" + }, + { + "code": "2123-8", + "display": "Lebanese", + "definition": "Lebanese" + }, + { + "code": "2124-6", + "display": "Palestinian", + "definition": "Palestinian" + }, + { + "code": "2125-3", + "display": "Syrian", + "definition": "Syrian" + }, + { + "code": "2126-1", + "display": "Afghanistani", + "definition": "Afghanistani" + }, + { + "code": "2127-9", + "display": "Israeili", + "definition": "Israeili" + } + ] + }, + { + "code": "2131-1", + "display": "Other Race", + "definition": "Note that this term remains in the table for completeness, even though within HL7, the notion of Other code is deprecated." + } + ] + }, + { + "code": "2133-7", + "display": "Ethnicity", + "definition": "Ethnicity Note that this is an abstract 'grouping' concept and not for use as a real concept", + "property": [ + { + "code": "abstract", + "valueBoolean": true + } + ], + "concept": [ + { + "code": "2135-2", + "display": "Hispanic or Latino", + "definition": "Hispanic or Latino", + "concept": [ + { + "code": "2137-8", + "display": "Spaniard", + "definition": "Spaniard" + }, + { + "code": "2148-5", + "display": "Mexican", + "definition": "Mexican" + }, + { + "code": "2155-0", + "display": "Central American", + "definition": "Central American" + }, + { + "code": "2165-9", + "display": "South American", + "definition": "South American" + }, + { + "code": "2178-2", + "display": "Latin American", + "definition": "Latin American" + }, + { + "code": "2180-8", + "display": "Puerto Rican", + "definition": "Puerto Rican" + }, + { + "code": "2182-4", + "display": "Cuban", + "definition": "Cuban" + }, + { + "code": "2184-0", + "display": "Dominican", + "definition": "Dominican" + }, + { + "code": "2138-6", + "display": "Andalusian", + "definition": "Andalusian" + }, + { + "code": "2139-4", + "display": "Asturian", + "definition": "Asturian" + }, + { + "code": "2140-2", + "display": "Castillian", + "definition": "Castillian" + }, + { + "code": "2141-0", + "display": "Catalonian", + "definition": "Catalonian" + }, + { + "code": "2142-8", + "display": "Belearic Islander", + "definition": "Belearic Islander" + }, + { + "code": "2143-6", + "display": "Gallego", + "definition": "Gallego" + }, + { + "code": "2144-4", + "display": "Valencian", + "definition": "Valencian" + }, + { + "code": "2145-1", + "display": "Canarian", + "definition": "Canarian" + }, + { + "code": "2146-9", + "display": "Spanish Basque", + "definition": "Spanish Basque" + }, + { + "code": "2149-3", + "display": "Mexican American", + "definition": "Mexican American" + }, + { + "code": "2150-1", + "display": "Mexicano", + "definition": "Mexicano" + }, + { + "code": "2151-9", + "display": "Chicano", + "definition": "Chicano" + }, + { + "code": "2152-7", + "display": "La Raza", + "definition": "La Raza" + }, + { + "code": "2153-5", + "display": "Mexican American Indian", + "definition": "Mexican American Indian" + }, + { + "code": "2156-8", + "display": "Costa Rican", + "definition": "Costa Rican" + }, + { + "code": "2157-6", + "display": "Guatemalan", + "definition": "Guatemalan" + }, + { + "code": "2158-4", + "display": "Honduran", + "definition": "Honduran" + }, + { + "code": "2159-2", + "display": "Nicaraguan", + "definition": "Nicaraguan" + }, + { + "code": "2160-0", + "display": "Panamanian", + "definition": "Panamanian" + }, + { + "code": "2161-8", + "display": "Salvadoran", + "definition": "Salvadoran" + }, + { + "code": "2162-6", + "display": "Central American Indian", + "definition": "Central American Indian" + }, + { + "code": "2163-4", + "display": "Canal Zone", + "definition": "Canal Zone" + }, + { + "code": "2166-7", + "display": "Argentinean", + "definition": "Argentinean" + }, + { + "code": "2167-5", + "display": "Bolivian", + "definition": "Bolivian" + }, + { + "code": "2168-3", + "display": "Chilean", + "definition": "Chilean" + }, + { + "code": "2169-1", + "display": "Colombian", + "definition": "Colombian" + }, + { + "code": "2170-9", + "display": "Ecuadorian", + "definition": "Ecuadorian" + }, + { + "code": "2171-7", + "display": "Paraguayan", + "definition": "Paraguayan" + }, + { + "code": "2172-5", + "display": "Peruvian", + "definition": "Peruvian" + }, + { + "code": "2173-3", + "display": "Uruguayan", + "definition": "Uruguayan" + }, + { + "code": "2174-1", + "display": "Venezuelan", + "definition": "Venezuelan" + }, + { + "code": "2175-8", + "display": "South American Indian", + "definition": "South American Indian" + }, + { + "code": "2176-6", + "display": "Criollo", + "definition": "Criollo" + } + ] + }, + { + "code": "2186-5", + "display": "Not Hispanic or Latino", + "definition": "Note that this term remains in the table for completeness, even though within HL7, the notion of \"not otherwise coded\" term is deprecated." + } + ] + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/CodeSystem/CodeSystem-condition-category.json b/evaluator.cli/src/test/resources/uscore/vocabulary/CodeSystem/CodeSystem-condition-category.json new file mode 100644 index 000000000..ab6e5ccff --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/CodeSystem/CodeSystem-condition-category.json @@ -0,0 +1,65 @@ +{ + "resourceType": "CodeSystem", + "id": "condition-category", + "text": { + "status": "extensions", + "div": "

US Core Condition Category Extension Codes

Set of codes that are needed for implementation of the US-Core profiles. These codes are used as extensions to the FHIR and US Core value sets.

\n

Properties

CodeURLDescriptionType
statushttp://hl7.org/fhir/concept-properties#statusA property that indicates the status of the concept. One of active, experimental, deprecated, retiredcode

This code system http://hl7.org/fhir/us/core/CodeSystem/condition-category defines the following codes:

CodeDisplayDefinitionDeprecated
problem ProblemThe patients problems as identified by the provider(s). Items on the provider’s problem listDeprecated
health-concern Health ConcernAdditional health concerns from other stakeholders which are outside the provider’s problem list.
" + }, + "url": "http://hl7.org/fhir/us/core/CodeSystem/condition-category", + "version": "3.1.0", + "name": "USCoreConditionCategoryExtensionCodes", + "title": "US Core Condition Category Extension Codes", + "status": "active", + "date": "2019-11-06T12:37:38+11:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "Set of codes that are needed for implementation of the US-Core profiles. These codes are used as extensions to the FHIR and US Core value sets.\n", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "caseSensitive": true, + "content": "complete", + "property": [ + { + "code": "status", + "uri": "http://hl7.org/fhir/concept-properties#status", + "description": "A property that indicates the status of the concept. One of active, experimental, deprecated, retired", + "type": "code" + } + ], + "concept": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/codesystem-replacedby", + "valueCoding": { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + } + ], + "code": "problem", + "display": "Problem", + "definition": "The patients problems as identified by the provider(s). Items on the provider’s problem list", + "property": [ + { + "code": "status", + "valueCode": "deprecated" + } + ] + }, + { + "code": "health-concern", + "display": "Health Concern", + "definition": "Additional health concerns from other stakeholders which are outside the provider’s problem list." + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/CodeSystem/CodeSystem-us-core-documentreference-category.json b/evaluator.cli/src/test/resources/uscore/vocabulary/CodeSystem/CodeSystem-us-core-documentreference-category.json new file mode 100644 index 000000000..1048f8a3d --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/CodeSystem/CodeSystem-us-core-documentreference-category.json @@ -0,0 +1,37 @@ +{ + "resourceType": "CodeSystem", + "id": "us-core-documentreference-category", + "text": { + "status": "generated", + "div": "

US Core DocumentReferences Category Codes

The US Core DocumentReferences Type Code System is a 'starter set' of categories supported for fetching and storing DocumentReference Resources.

\n

This code system http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category defines the following codes:

CodeDisplayDefinition
clinical-note Clinical NotePart of health record where healthcare professionals record details to document a patient's clinical status or achievements during the course of a hospitalization or over the course of outpatient care ([Wikipedia](https://en.wikipedia.org/wiki/Progress_note))
" + }, + "url": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category", + "version": "3.1.0", + "name": "USCoreDocumentReferencesCategoryCodes", + "title": "US Core DocumentReferences Category Codes", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "description": "The US Core DocumentReferences Type Code System is a 'starter set' of categories supported for fetching and storing DocumentReference Resources.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "caseSensitive": true, + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category", + "content": "complete", + "count": 2, + "concept": [ + { + "code": "clinical-note", + "display": "Clinical Note", + "definition": "Part of health record where healthcare professionals record details to document a patient's clinical status or achievements during the course of a hospitalization or over the course of outpatient care ([Wikipedia](https://en.wikipedia.org/wiki/Progress_note))" + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/CodeSystem/CodeSystem-us-core-provenance-participant-type.json b/evaluator.cli/src/test/resources/uscore/vocabulary/CodeSystem/CodeSystem-us-core-provenance-participant-type.json new file mode 100644 index 000000000..f4901f721 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/CodeSystem/CodeSystem-us-core-provenance-participant-type.json @@ -0,0 +1,36 @@ +{ + "resourceType": "CodeSystem", + "id": "us-core-provenance-participant-type", + "text": { + "status": "generated", + "div": "

US Core Provenance Participant Type Extension Codes

Set of codes that are needed for implementation of the US-Core profiles. These codes are used as extensions to the FHIR and US Core value sets.

\n

This code system http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type defines the following codes:

CodeDisplayDefinition
transmitter TransmitterThe entity that provided the copy to your system.
" + }, + "url": "http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type", + "version": "3.1.0", + "name": "USCoreProvenancePaticipantTypeExtensionCodes", + "title": "US Core Provenance Participant Type Extension Codes", + "status": "active", + "date": "2019-11-06T12:37:38+11:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "Set of codes that are needed for implementation of the US-Core profiles. These codes are used as extensions to the FHIR and US Core value sets.\n", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "caseSensitive": true, + "content": "complete", + "concept": [ + { + "code": "transmitter", + "display": "Transmitter", + "definition": "The entity that provided the copy to your system." + } + ] +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-birthsex.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-birthsex.json new file mode 100644 index 000000000..51230be3a --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-birthsex.json @@ -0,0 +1,69 @@ +{ + "resourceType": "ValueSet", + "id": "birthsex", + "text": { + "status": "generated", + "div": "

Birth Sex

Codes for assigning sex at birth as specified by the Office of the National Coordinator for Health IT (ONC)

\n

This value set includes codes from the following code systems:

  • Include these codes as defined in http://terminology.hl7.org/CodeSystem/v3-AdministrativeGender
    CodeDisplay
    FFemaleFemale
    MMaleMale
  • Include these codes as defined in http://terminology.hl7.org/CodeSystem/v3-NullFlavor
    CodeDisplay
    UNKUnknownDescription:A proper value is applicable, but not known.
    \n \n Usage Notes: This means the actual value is not known. If the only thing that is unknown is how to properly express the value in the necessary constraints (value set, datatype, etc.), then the OTH or UNC flavor should be used. No properties should be included for a datatype with this property unless:
    \n \n Those properties themselves directly translate to a semantic of "unknown". (E.g. a local code sent as a translation that conveys 'unknown')\n Those properties further qualify the nature of what is unknown. (E.g. specifying a use code of "H" and a URL prefix of "tel:" to convey that it is the home phone number that is unknown.)
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/birthsex", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113762.1.4.1021.24" + } + ], + "version": "3.1.0", + "name": "BirthSex", + "title": "Birth Sex", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "Codes for assigning sex at birth as specified by the [Office of the National Coordinator for Health IT (ONC)](https://www.healthit.gov/newsroom/about-onc)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-AdministrativeGender", + "concept": [ + { + "code": "F", + "display": "Female" + }, + { + "code": "M", + "display": "Male" + } + ] + }, + { + "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor", + "concept": [ + { + "code": "UNK", + "display": "Unknown" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-detailed-ethnicity.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-detailed-ethnicity.json new file mode 100644 index 000000000..90af3ae3b --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-detailed-ethnicity.json @@ -0,0 +1,54 @@ +{ + "resourceType": "ValueSet", + "id": "detailed-ethnicity", + "text": { + "status": "generated", + "div": "

Detailed ethnicity

The 41 CDC ethnicity codes that are grouped under one of the 2 OMB ethnicity category codes.

\n

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/detailed-ethnicity", + "version": "3.1.0", + "name": "DetailedEthnicity", + "title": "Detailed ethnicity", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "The 41 [CDC ethnicity codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 2 OMB ethnicity category codes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "2133-7" + } + ] + } + ], + "exclude": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "concept": [ + { + "code": "2135-2" + }, + { + "code": "2186-5" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-detailed-race.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-detailed-race.json new file mode 100644 index 000000000..46df4b0d4 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-detailed-race.json @@ -0,0 +1,63 @@ +{ + "resourceType": "ValueSet", + "id": "detailed-race", + "text": { + "status": "generated", + "div": "

Detailed Race

The 900+ CDC Race codes that are grouped under one of the 5 OMB race category codes.

\n

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/detailed-race", + "version": "3.1.0", + "name": "DetailedRace", + "title": "Detailed Race", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "The 900+ [CDC Race codes](http://www.cdc.gov/phin/resources/vocabulary/index.html) that are grouped under one of the 5 OMB race category codes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "1000-9" + } + ] + } + ], + "exclude": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "concept": [ + { + "code": "1002-5" + }, + { + "code": "2028-9" + }, + { + "code": "2054-5" + }, + { + "code": "2076-8" + }, + { + "code": "2106-3" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-omb-ethnicity-category.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-omb-ethnicity-category.json new file mode 100644 index 000000000..1629de405 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-omb-ethnicity-category.json @@ -0,0 +1,44 @@ +{ + "resourceType": "ValueSet", + "id": "omb-ethnicity-category", + "text": { + "status": "generated", + "div": "

OMB Ethnicity Categories

The codes for the ethnicity categories - 'Hispanic or Latino' and 'Non Hispanic or Latino' - as defined by the OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997.

\n

This value set includes codes from the following code systems:

  • Include these codes as defined in urn:oid:2.16.840.1.113883.6.238
    CodeDisplay
    2135-2Hispanic or LatinoHispanic or Latino
    2186-5Non Hispanic or LatinoNote that this term remains in the table for completeness, even though within HL7, the notion of "not otherwise coded" term is deprecated.
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/omb-ethnicity-category", + "version": "3.1.0", + "name": "OmbEthnicityCategories", + "title": "OMB Ethnicity Categories", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "The codes for the ethnicity categories - 'Hispanic or Latino' and 'Non Hispanic or Latino' - as defined by the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.whitehouse.gov/omb/fedreg_1997standards).", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "concept": [ + { + "code": "2135-2", + "display": "Hispanic or Latino" + }, + { + "code": "2186-5", + "display": "Non Hispanic or Latino" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-omb-race-category.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-omb-race-category.json new file mode 100644 index 000000000..2098ae997 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-omb-race-category.json @@ -0,0 +1,93 @@ +{ + "resourceType": "ValueSet", + "id": "omb-race-category", + "text": { + "status": "generated", + "div": "

OMB Race Categories

The codes for the concepts 'Unknown' and 'Asked but no answer' and the the codes for the five race categories - 'American Indian' or 'Alaska Native', 'Asian', 'Black or African American', 'Native Hawaiian or Other Pacific Islander', and 'White' - as defined by the OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997 .

\n

This value set includes codes from the following code systems:

  • Include these codes as defined in urn:oid:2.16.840.1.113883.6.238
    CodeDisplay
    1002-5American Indian or Alaska NativeAmerican Indian or Alaska Native
    2028-9AsianAsian
    2054-5Black or African AmericanBlack or African American
    2076-8Native Hawaiian or Other Pacific IslanderNative Hawaiian or Other Pacific Islander
    2106-3WhiteWhite
  • Include these codes as defined in http://terminology.hl7.org/CodeSystem/v3-NullFlavor
    CodeDisplay
    UNKUnknownDescription:A proper value is applicable, but not known.
    \n \n Usage Notes: This means the actual value is not known. If the only thing that is unknown is how to properly express the value in the necessary constraints (value set, datatype, etc.), then the OTH or UNC flavor should be used. No properties should be included for a datatype with this property unless:
    \n \n Those properties themselves directly translate to a semantic of "unknown". (E.g. a local code sent as a translation that conveys 'unknown')\n Those properties further qualify the nature of what is unknown. (E.g. specifying a use code of "H" and a URL prefix of "tel:" to convey that it is the home phone number that is unknown.)
    ASKUAsked but no answerInformation was sought but not found (e.g., patient was asked but didn't know)
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/omb-race-category", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.4.642.2.575" + } + ], + "version": "3.1.0", + "name": "OmbRaceCategories", + "title": "OMB Race Categories", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + }, + { + "telecom": [ + { + "system": "other", + "value": "http://wiki.siframework.org/Data+Access+Framework+Homepage" + } + ] + } + ], + "description": "The codes for the concepts 'Unknown' and 'Asked but no answer' and the the codes for the five race categories - 'American Indian' or 'Alaska Native', 'Asian', 'Black or African American', 'Native Hawaiian or Other Pacific Islander', and 'White' - as defined by the [OMB Standards for Maintaining, Collecting, and Presenting Federal Data on Race and Ethnicity, Statistical Policy Directive No. 15, as revised, October 30, 1997](https://www.whitehouse.gov/omb/fedreg_1997standards) .", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "urn:oid:2.16.840.1.113883.6.238", + "concept": [ + { + "code": "1002-5", + "display": "American Indian or Alaska Native" + }, + { + "code": "2028-9", + "display": "Asian" + }, + { + "code": "2054-5", + "display": "Black or African American" + }, + { + "code": "2076-8", + "display": "Native Hawaiian or Other Pacific Islander" + }, + { + "code": "2106-3", + "display": "White" + } + ] + }, + { + "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor", + "concept": [ + { + "code": "UNK", + "display": "Unknown" + }, + { + "code": "ASKU", + "display": "Asked but no answer" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-simple-language.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-simple-language.json new file mode 100644 index 000000000..398eff795 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-simple-language.json @@ -0,0 +1,71 @@ +{ + "resourceType": "ValueSet", + "id": "simple-language", + "text": { + "status": "generated", + "div": "

Language codes with language and optionally a region modifier

This value set includes codes from BCP-47. This value set matches the ONC 2015 Edition LanguageCommunication data element value set within C-CDA to use a 2 character language code if one exists, and a 3 character code if a 2 character code does not exist. It points back to RFC 5646, however only the language codes are required, all other elements are optional.

\n

This value set includes codes from the following code systems:

  • Include codes from urn:ietf:bcp:47 where ext-lang doesn't exist, script doesn't exist, variant doesn't exist, extension doesn't exist and private-use doesn't exist
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/simple-language", + "version": "3.1.0", + "name": "LanguageCodesWithLanguageAndOptionallyARegionModifier", + "title": "Language codes with language and optionally a region modifier", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This value set includes codes from [BCP-47](http://tools.ietf.org/html/bcp47). This value set matches the ONC 2015 Edition LanguageCommunication data element value set within C-CDA to use a 2 character language code if one exists, and a 3 character code if a 2 character code does not exist. It points back to [RFC 5646](https://tools.ietf.org/html/rfc5646), however only the language codes are required, all other elements are optional.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "urn:ietf:bcp:47", + "filter": [ + { + "property": "ext-lang", + "op": "exists", + "value": "false" + }, + { + "property": "script", + "op": "exists", + "value": "false" + }, + { + "property": "variant", + "op": "exists", + "value": "false" + }, + { + "property": "extension", + "op": "exists", + "value": "false" + }, + { + "property": "private-use", + "op": "exists", + "value": "false" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-allergy-substance.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-allergy-substance.json new file mode 100644 index 000000000..b10301feb --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-allergy-substance.json @@ -0,0 +1,3118 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-allergy-substance", + "text": { + "status": "generated", + "div": "

US Core Common substances for allergy and intolerance documentation including refutations

Documentation of substances suspected of (or not suspected of) causing an allergy or intolerance reaction in an individual. Inclusion Criteria: specific or general substances to which a patient may be exposed and which may be suspected of causing an adverse reaction; assertions refuting these suspicions. This includes: 1. Common dietary substances for allergy and intolerance documentation (SNOMEDCT) 2. Common drug classes for allergy and intolerance documentation (SNOMEDCT) 3. Common drug substances for allergy and intolerance documentation (RXNORM) 4. Common environmental substances for allergy and intolerance documentation (SNOMEDCT) 5. Common refutations and null values for substance causes for allergy and intolerance documentation (SNOMEDCT) Exclusion Criteria: actual conditions caused by exposure (reactions, allergies)

\n

Copyright Statement: This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement

This value set includes codes from the following code systems:

  • Include these codes as defined in http://www.nlm.nih.gov/research/umls/rxnorm
    CodeDisplay
    1002293formoterol / Mometasone
    1007388Lactase / rennet
    1008298Acetaminophen / Caffeine / Chlorpheniramine / Hydrocodone / Phenylephrine
    1008519guaiacolsulfonate / Hydrocodone
    1009148Ampicillin / Sulbactam
    10109Streptomycin
    10154Succinylcholine
    10156Sucralfate
    10169Sulfacetamide
    10171Sulfadiazine
    10180Sulfamethoxazole
    10207Sulfisoxazole
    10223Sulfur
    10237Sulindac
    10324Tamoxifen
    10355Temazepam
    10368Terbutaline
    1037042dabigatran etexilate
    10379Testosterone
    10395Tetracycline
    103990Carbidopa / Levodopa
    1040028lurasidone
    10438Theophylline
    10472Thimerosal
    10493Thiopental
    10502Thioridazine
    10510Thiothixene
    10582levothyroxine
    10594Ticlopidine
    10600Timolol
    10627Tobramycin
    10636Tolmetin
    10689Tramadol
    10737Trazodone
    10759Triamcinolone
    107602Epinephrine / Lidocaine
    10763Triamterene
    10767Triazolam
    10800Trifluoperazine
    108118Mometasone
    10829Trimethoprim
    10831Sulfamethoxazole / Trimethoprim
    11124Vancomycin
    1114195rivaroxaban
    1116632Ticagrelor
    11170Verapamil
    11248Vitamin B 12
    11253Vitamin D
    11256Vitamin E
    11289Warfarin
    113588Erythromycin / Sulfisoxazole
    11416Zinc
    11423Zinc Oxide
    114477Levetiracetam
    114970zafirlukast
    114979rabeprazole
    1151Ascorbic Acid
    115264Ibandronate
    115552trovafloxacin
    115698ziprasidone
    1191Aspirin
    119565tolterodine
    1202Atenolol
    121191rituximab
    1223Atropine
    1256Azathioprine
    1272Aztreonam
    1291Bacitracin
    1292Baclofen
    1310171Gadolinium
    1311085xanthine
    1311524Aspartame
    1311629nickel
    1314891Latex
    1331Barium Sulfate
    134615brimonidine
    1347Beclomethasone
    135447donepezil
    135775zolmitriptan
    1359Belladonna Alkaloids
    1362879Sulfur Dioxide
    1363043ethyl ether
    136411sildenafil
    1364430apixaban
    138099gemifloxacin
    139462moxifloxacin
    1399Benzocaine
    140587celecoxib
    1406benzoin resin
    141626colesevelam
    1418Benzoyl Peroxide
    1424Benztropine
    1514Betamethasone
    153970Hyoscyamine
    1596450Gentamicin
    15996Mirtazapine
    161Acetaminophen
    16681Acarbose
    167Acetazolamide
    17128lansoprazole
    1727875Tetanus immune globulin
    17300alfuzosin
    17767Amlodipine
    1827Buspirone
    183379rivastigmine
    1841Butorphanol
    18631Azithromycin
    187832pregabalin
    1886Caffeine
    18867benazepril
    1895Calcium
    1897Calcium Carbonate
    18993benzonatate
    190376linezolid
    191831infliximab
    19478bismuth subsalicylate
    19552cefprozil
    19711Amoxicillin / Clavulanate
    19831Budesonide
    1998Captopril
    2002Carbamazepine
    20352carvedilol
    20481cefepime
    20489cefpodoxime
    20610Cetirizine
    2101Carisoprodol
    21107cilostazol
    21183Citric Acid
    21212Clarithromycin
    214130Acetaminophen / butalbital / Caffeine
    214153Acetaminophen / dichloralphenazone / isometheptene
    214159Aspirin / butalbital / Caffeine
    214160Aspirin / butalbital / Caffeine / Codeine
    214181Acetaminophen / Diphenhydramine
    214182Acetaminophen / Hydrocodone
    214183Acetaminophen / Oxycodone
    214199Albuterol / Ipratropium
    214223Amlodipine / benazepril
    214250Aspirin / Caffeine
    214256Aspirin / Oxycodone
    214257Aspirin / Pentazocine
    214317Bisoprolol / Hydrochlorothiazide
    214336Caffeine / Ergotamine
    214354candesartan
    214364carbinoxamine / Pseudoephedrine
    214392Chlorpheniramine / Hydrocodone
    214442Codeine / Guaifenesin
    214445Codeine / Pseudoephedrine
    214488Dextromethorphan / Guaifenesin
    214502Diclofenac / Misoprostol
    214555Etanercept
    214558Ethinyl Estradiol / Levonorgestrel
    214565fexofenadine / Pseudoephedrine
    214599Guaifenesin / Pseudoephedrine
    214614homatropine / Hydrocodone
    214617Hydrochlorothiazide / irbesartan
    214618Hydrochlorothiazide / Lisinopril
    214619Hydrochlorothiazide / Losartan
    214626Hydrochlorothiazide / valsartan
    214627Hydrocodone / Ibuprofen
    214631Hydrocodone / Pseudoephedrine
    214682Loratadine / Pseudoephedrine
    214721Naloxone / Pentazocine
    214807Pseudoephedrine / Triprolidine
    2176Cefaclor
    217627Hydrocortisone / Neomycin / Polymyxin B
    2177Cefadroxil
    2180Cefazolin
    2189Cefoxitin
    2191Ceftazidime
    2193Ceftriaxone
    219314Polymyxin B / Trimethoprim
    219315Iron polysaccharide
    2194Cefuroxime
    21949cyclobenzaprine
    221147POLYETHYLENE GLYCOL 3350
    22299Daptomycin
    2231Cephalexin
    226716Aspirin / Dipyridamole
    228476gatifloxacin
    228790Dutasteride
    232158rofecoxib
    233698dronedarone
    2348Chloramphenicol
    2356Chlordiazepoxide
    2358Chlorhexidine
    236778Trospium
    237159Levalbuterol
    2393Chloroquine
    2400Chlorpheniramine
    2403Chlorpromazine
    2409Chlorthalidone
    2410Chlorzoxazone
    2418Cholecalciferol
    2447Cholestyramine Resin
    24605Etodolac
    24947ferrous sulfate
    25025Finasteride
    25033Cefixime
    25037cefdinir
    25120flunisolide
    25255formoterol
    253157Bee pollen
    2541Cimetidine
    25480gabapentin
    2551Ciprofloxacin
    2556Citalopram
    25789glimepiride
    2582Clindamycin
    258337Hydrochlorothiazide / Triamterene
    2598Clonazepam
    2599Clonidine
    260101Oseltamivir
    26225Ondansetron
    2623Clotrimazole
    2670Codeine
    2683Colchicine
    2685Colestipol
    27169leflunomide
    274783Insulin Glargine
    274786telithromycin
    27723iodinated glycerol
    278567valdecoxib
    28031Itraconazole
    281Acyclovir
    283742Esomeprazole
    283809travoprost
    28439lamotrigine
    284635fluticasone / salmeterol
    2878Cortisone
    28889Loratadine
    28981loracarbef
    29046Lisinopril
    29542Mercury, Ammoniated
    29561meropenem
    296Adenosine
    3008Cyclosporine
    301542rosuvastatin
    306674vardenafil
    3108Dapsone
    3143prasterone
    31448nabumetone
    31555nebivolol
    31565nefazodone
    31738nickel sulfate
    318340Aloe vera preparation
    321064olmesartan
    321988Escitalopram
    322167Solifenacin
    3247Desipramine
    325642ertapenem
    32592oxaliplatin
    32613oxaprozin
    32624oxcarbazepine
    3264Dexamethasone
    32675oxybutynin
    327361adalimumab
    3289Dextromethorphan
    32937Paroxetine
    32968clopidogrel
    3322Diazepam
    33408phenyltoloxamine
    3355Diclofenac
    3356Dicloxacillin
    3361Dicyclomine
    33738pioglitazone
    3393Diflunisal
    3407Digoxin
    341248ezetimibe
    3418Dihydroergotamine
    3423Hydromorphone
    3443Diltiazem
    3444Dimenhydrinate
    3498Diphenhydramine
    35208quinapril
    3521Dipyridamole
    352362Acetaminophen / Tramadol
    35296Ramipril
    35382resorcinol
    35636Risperidone
    358263tadalafil
    35827Ketorolac
    35829ranolazine
    36108Salsalate
    36117salmeterol
    3616Dobutamine
    3638Doxepin
    3640Doxycycline
    36437Sertraline
    3648Droperidol
    36567Simvastatin
    37418Sumatriptan
    37617tazobactam
    37798Terazosin
    37801terbinafine
    3827Enalapril
    3829Enalaprilat
    38400atomoxetine
    38404topiramate
    38413torsemide
    38574trichloroacetaldehyde
    38685trimethobenzamide
    389132Budesonide / formoterol
    3966Ephedrine
    39786venlafaxine
    3992Epinephrine
    39993zolpidem
    39998zonisamide
    40048Carboplatin
    400674dexbrompheniramine / Pseudoephedrine
    4025Ergotamine
    40254Valproate
    4053Erythromycin
    40575zileuton
    40790pantoprazole
    4083Estradiol
    4099Estrogens, Conjugated (USP)
    41126fluticasone
    41127fluvastatin
    4124Ethinyl Estradiol
    41397Lactase
    41493meloxicam
    42330Terfenadine
    42331Misoprostol
    42347Bupropion
    42351Lithium Carbonate
    42372Mupirocin
    42463Pravastatin
    4278Famotidine
    4316Felodipine
    4337Fentanyl
    435Albuterol
    43611latanoprost
    4419Fish Oils
    4441Flecainide
    4450Fluconazole
    448Ethanol
    4492Fluorouracil
    4493Fluoxetine
    4496Fluphenazine
    4500Flurandrenolide
    4530Formaldehyde
    4603Furosemide
    46041Alendronate
    461016Eszopiclone
    4637Galantamine
    465397Ciprofloxacin / Dexamethasone
    466522Diphenhydramine / Zinc Acetate
    466541Neomycin / Polymyxin B
    466549Aspirin / Caffeine / Orphenadrine
    466553penicillin G benzathine / penicillin G procaine
    466566Acetaminophen / Dextromethorphan / Diphenhydramine / Pseudoephedrine
    466584Acetaminophen / Aspirin / Caffeine
    4719Gemfibrozil
    475968liraglutide
    4815Glyburide
    48203Clavulanate
    4821Glipizide
    48274Acetaminophen / Propoxyphene
    484139Chlorhexidine / Isopropyl Alcohol
    484211ezetimibe / Simvastatin
    4850Glucose
    4917Nitroglycerin
    49276Doxazosin
    50166Fosinopril
    5021Griseofulvin
    5032Guaifenesin
    5093Haloperidol
    51272quetiapine
    519Allopurinol
    52175Losartan
    5224heparin
    52582mesalamine
    5470Hydralazine
    5487Hydrochlorothiazide
    5489Hydrocodone
    5492Hydrocortisone
    5499Hydrogen Peroxide
    5521Hydroxychloroquine
    5553Hydroxyzine
    5640Ibuprofen
    5691Imipramine
    56946Paclitaxel
    57258tizanidine
    5764Indapamide
    5781Indomethacin
    588250milnacipran
    59078metaxalone
    591622varenicline
    5933Iodine
    593411sitagliptin
    594040Atropine / Diphenoxylate
    5956Iohexol
    596Alprazolam
    596723cerivastatin
    597142brimonidine / Timolol
    5992Iron-Dextran Complex
    60207dorzolamide
    6038isoniazid
    60548exenatide
    6057Isosorbide
    6058Isosorbide Dinitrate
    611854Chlordiazepoxide / clidinium
    6130Ketamine
    6135Ketoconazole
    61381olanzapine
    6142Ketoprofen
    6185Labetalol
    620Amantadine
    6218Lactulose
    6227Lanolin
    6387Lidocaine
    6398Lincomycin
    6448Lithium
    645555Bacitracin / Polymyxin B
    6468Loperamide
    6470Lorazepam
    6472Lovastatin
    6574Magnesium
    6585Magnesium Sulfate
    662263dorzolamide / Timolol
    6676Meclizine
    6691Medroxyprogesterone
    67108Enoxaparin
    6711Melatonin
    6719Memantine
    6750Menthol
    6754Meperidine
    6809Metformin
    6813Methadone
    6835Methimazole
    6845Methocarbamol
    6851Methotrexate
    6876Methyldopa
    689Aminophylline
    689467Oxytetracycline / Polymyxin B
    689518Aspirin / Caffeine / Propoxyphene
    689556Acetaminophen / Aspirin / Phenylpropanolamine
    689558Acetaminophen / Brompheniramine / Pseudoephedrine
    689561Acetaminophen / butalbital / Caffeine / Codeine
    689582Acetaminophen / Chlorpheniramine / Dextromethorphan / Pseudoephedrine
    689606Atropine / Hyoscyamine / Phenobarbital / Scopolamine
    689623Bacitracin / Hydrocortisone / Neomycin / Polymyxin B
    690077Benzalkonium / Lidocaine
    6901Methylphenidate
    6902Methylprednisolone
    690693Diphenhydramine / Phenylephrine
    690808Brompheniramine / Dextromethorphan / Pseudoephedrine
    69120tiotropium
    6915Metoclopramide
    6916Metolazone
    6918Metoprolol
    6922Metronidazole
    692572Bacitracin / Neomycin / Polymyxin B
    692794Gramicidin / Neomycin / Polymyxin B
    6932Miconazole
    6960Midazolam
    69749valsartan
    6980Minocycline
    6984Minoxidil
    703Amiodarone
    704Amitriptyline
    7052Morphine
    705258Acetaminophen / Dextromethorphan / Doxylamine
    7213Ipratropium
    72143Raloxifene
    72236fosphenytoin
    723Amoxicillin
    72302ropinirole
    7233Nafcillin
    7238Nalbuphine
    7243Naltrexone
    725Amphetamine
    7258Naproxen
    72625duloxetine
    7299Neomycin
    73056Risedronate
    733Ampicillin
    73494telmisartan
    73645valacyclovir
    7393Niacin
    7407Nicotine
    74169Piperacillin / tazobactam
    7417Nifedipine
    7454Nitrofurantoin
    746741Pramipexole
    7486Nitrous Oxide
    7517Norfloxacin
    7531Nortriptyline
    7597Nystatin
    7623Ofloxacin
    7646Omeprazole
    7676Opium
    7715Orphenadrine
    77492tamsulosin
    7804Oxycodone
    7821Oxytetracycline
    787390tapentadol
    7975Penicillamine
    797541Isopropyl Alcohol
    7980Penicillin G
    7984Penicillin V
    7994Pentamidine
    8001Pentazocine
    8120Phenazopyridine
    8134Phenobarbital
    815166Dextromethorphan / Doxylamine
    8163Phenylephrine
    816346dexlansoprazole
    8175Phenylpropanolamine
    817579Acetaminophen / Codeine
    817958Aspirin / Calcium Carbonate
    8183Phenytoin
    82122Levofloxacin
    822929Amphetamine aspartate / Amphetamine Sulfate / Dextroamphetamine saccharate / Dextroamphetamine Sulfate
    83367atorvastatin
    8356Piroxicam
    83818irbesartan
    84108rosiglitazone
    8536Polymyxin B
    857974saxagliptin
    8588Potassium
    8591Potassium Chloride
    8610Povidone
    8611Povidone-Iodine
    861634pitavastatin
    8629Prazosin
    8638prednisolone
    8640Prednisone
    8687Primaquine
    8691Primidone
    8698Probenecid
    8700Procainamide
    8701Procaine
    8703Fenofibrate
    8704Prochlorperazine
    8727Progesterone
    8745Promethazine
    8754Propafenone
    87636fexofenadine
    8782Propofol
    8785Propoxyphene
    8787Propranolol
    8794Propylthiouracil
    88014rizatriptan
    88249montelukast
    883815Dexamethasone / Tobramycin
    8896Pseudoephedrine
    89013aripiprazole
    8928Psyllium
    8948Purified Protein Derivative of Tuberculin
    90176Iron
    9068Quinidine
    9071Quinine
    91263Aloe Extract
    9143Ranitidine
    9384Rifampin
    9524Sulfasalazine
    9601Scopolamine
    9778Silicones
    9793silver sulfadiazine
    9947Sotalol
    9997Spironolactone
  • Include these codes as defined in http://snomed.info/sct
    CodeDisplay
    102259006Citrus fruit (substance)
    102261002Strawberry (substance)
    102262009Chocolate (substance)
    102263004Eggs (edible) (substance)
    102264005Cheese (substance)
    111088007Latex (substance)
    111151007Anabolic steroid (substance)
    11526002Aspartame (substance)
    116274004Artificial sweetener (substance)
    116566001Steroid (substance)
    13577000Nut (substance)
    14443002Substance with aminoglycoside structure and antibacterial mechanism of action (substance)
    226723006Buckwheat - cereal (substance)
    226734009Wheatgerm (substance)
    226760005Dairy foods (substance)
    226915003Red meat (substance)
    226916002Beef (substance)
    226934003Pork (substance)
    226955001Chicken - meat (substance)
    226967004Turkey - meat (substance)
    227144008Tuna fish (substance)
    227151004Prawns (substance)
    227208008Abalone canned in brine (substance)
    227219006Aubergine (substance)
    227313005Pulse vegetables (substance)
    227388008Cinnamon (substance)
    227400003Ginger (substance)
    227421003Cranberries (substance)
    227444000Raspberries (substance)
    227493005Cashew nut (substance)
    227512001Pistachio nut (substance)
    227598003Honey (substance)
    228102000Sodium nitrate (substance)
    255632006Anticonvulsant (substance)
    255637000Salicylate (substance)
    255641001Caffeine (substance)
    256259004Pollen (substance)
    256277009Grass pollen (substance)
    256306003Orange - fruit (substance)
    256307007Banana (substance)
    256313003Pineapple (substance)
    256315005Grapefruit (substance)
    256317002Grapes (substance)
    256319004Carrot (substance)
    256326004Celery (substance)
    256329006Spinach (substance)
    256350002Almond (substance)
    256351003Brazil nut (substance)
    256352005Walnut - nut (substance)
    256353000Hazelnut (substance)
    256354006Bean (substance)
    256417003Horse dander (substance)
    256440004Wasp venom (substance)
    259858000Varicella-zoster virus antibody (substance)
    260152009Cat dander (substance)
    260154005Dog dander (substance)
    260167008Sesame seed (substance)
    260176001Kiwi fruit (substance)
    260177005Melon (substance)
    260179008Mango fruit (substance)
    260184002Peas (substance)
    260189007Pecan nut (substance)
    260205009Sunflower seed (substance)
    264287008Animal dander (substance)
    264337003Seed (substance)
    28230009Poultry (substance)
    288328004Bee venom (substance)
    28942008Coconut oil (substance)
    29263009Coffee (substance)
    304275008Corticosteroid and corticosteroid derivative (substance)
    33008008Dust (substance)
    350327004Diphtheria + tetanus vaccine (product)
    35748005Wine (substance)
    360201004Nitrofuran derivative (substance)
    3692009Sodium sulfite (substance)
    372480009Substance with macrolide structure and antibacterial mechanism of action (substance)
    372664007Benzodiazepine (substance)
    372665008Non-steroidal anti-inflammatory agent (substance)
    372711004Sulfonylurea (substance)
    372722000Substance with quinolone structure and antibacterial mechanism of action (substance)
    372733002Substance with angiotensin-converting enzyme inhibitor mechanism of action (substance)
    372747003Thiazide diuretic (substance)
    372783007Antiparkinsonian agent (substance)
    372798009Barbiturate (substance)
    372806008Substance with histamine receptor antagonist mechanism of action (substance)
    372889003First generation cephalosporin (substance)
    372912004Substance with 3-hydroxy-3-methylglutaryl-coenzyme A reductase inhibitor mechanism of action (substance)
    372913009Substance with angiotensin II receptor antagonist mechanism of action (substance)
    373206009Substance with tetracycline structure and antibacterial mechanism of action (substance)
    373253007Tricyclic antidepressant (substance)
    373254001Substance with beta adrenergic receptor antagonist mechanism of action (substance)
    373262009Substance with cephalosporin structure and antibacterial mechanism of action (substance)
    373270004Substance with penicillin structure and antibacterial mechanism of action (substance)
    373297006Substance with beta-lactam structure and antibacterial mechanism of action (substance)
    373304005Substance with calcium channel blocker mechanism of action (substance)
    373531009Gelatin (substance)
    385420005Contrast media (substance)
    386127005Formula milk (substance)
    386962001Plasma protein fraction (substance)
    387050005Substance with prostaglandin-endoperoxide synthase isoform 2 inhibitor mechanism of action (substance)
    387406002Sulfonamide (substance)
    391737006Almond oil (substance)
    391739009Aloe (substance)
    396345004Carbapenem (substance)
    396420001Anthrax vaccine (substance)
    396425006Influenza virus vaccine (substance)
    396433007Pertussis vaccine (substance)
    396439006Smallpox vaccine (substance)
    396441007Typhoid vaccine (substance)
    396442000Varicella virus vaccine (substance)
    398730001Pneumococcal vaccine (substance)
    400872007Hydrocolloid (substance)
    404642006Substance with opioid receptor agonist mechanism of action (substance)
    406748003Carbamate (substance)
    409137002No known drug allergy (situation)
    412061001Blueberries (substance)
    412062008Cantaloupe (substance)
    412066006Pepper (substance)
    412068007Rye (substance)
    412071004Wheat (substance)
    412138001Horse serum protein (substance)
    412357001Corn (substance)
    412373007Diphtheria + pertussis + tetanus + Haemophilus influenzae type b vaccine (product)
    412375000Tetanus vaccine (substance)
    412533000Wheat bran (substance)
    412534006Yeast (substance)
    412583005Bee pollen (substance)
    41598000Estrogen (substance)
    417889008Arachis oil (substance)
    418000008Methadone analog (substance)
    418504009Oats (substance)
    418920007Adhesive agent (substance)
    419420009Watermelon (substance)
    419933005Glucocorticoid (substance)
    421245007Diphtheria + pertussis + tetanus vaccine (product)
    424369009Product containing beta-galactosidase (medicinal product)
    426722004Iodinated contrast media (substance)
    428607008No known environmental allergy (situation)
    429625007No known food allergy (situation)
    43735007Sulfur (substance)
    43921001Nickel compound (substance)
    44027008Seafood (substance)
    442381000124103Blue food coloring (substance)
    442571000124108Tree nut (substance)
    442771000124102Pepperoni (substance)
    44588005Iodine (substance)
    446273004Red food coloring (substance)
    446274005Yellow food coloring (substance)
    47703008Lactose (substance)
    51386004Food preservative (substance)
    51905005Mustard (substance)
    53041004Alcohol (substance)
    61789006Dye (substance)
    63045006Berry (substance)
    67324005Rice (substance)
    67866001Insulin (substance)
    70813002Milk (substance)
    710179004Lupine seed (substance)
    716184000No known latex allergy (situation)
    716186003No known allergy (situation)
    720687003Dust mite protein (substance)
    72511004Fruit (substance)
    726730005Yam (substance)
    734881000Tomato (substance)
    735006003Squid (substance)
    735009005Salmon (substance)
    735029006Shellfish (substance)
    735030001Garlic (substance)
    735043001Mackerel (substance)
    735045008Mushroom (substance)
    735047000Onion (substance)
    735049002Peach (substance)
    735050002Pear (substance)
    735051003Plum (substance)
    735053000Potato (substance)
    735123009Broccoli (substance)
    735124003Barley (substance)
    735211005Coconut (substance)
    735212003Papaya (substance)
    735213008Cucumber (substance)
    735214002Apricot (substance)
    735215001Apple (substance)
    735248001Cherry (substance)
    735249009Avocado (substance)
    735340006Lemon (substance)
    735959004Marine mollusk (substance)
    735971005Fish (substance)
    735977009Marine crustacean (substance)
    736027000Scallop (substance)
    736030007Clam (substance)
    736031006Oyster (substance)
    736159005Crab (substance)
    736162008Lobster (substance)
    74801000Sugar (substance)
    75665004Monosodium glutamate (substance)
    762952008Peanut (substance)
    7791007Soy protein (substance)
    80259003Food flavoring agent (substance)
    84489001Mold (organism)
    89119000Nitrate salt (substance)
    89707004Sesame oil (substance)
    89811004Gluten (substance)
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-allergy-substance", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113762.1.4.1186.8" + } + ], + "version": "3.1.0", + "name": "USCoreAllergySubstance", + "title": "US Core Common substances for allergy and intolerance documentation including refutations", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.hl7.org/Special/committees/usrealm/index.cfm" + } + ] + } + ], + "description": "Documentation of substances suspected of (or not suspected of) causing an allergy or intolerance reaction in an individual. **Inclusion Criteria:** specific or general substances to which a patient may be exposed and which may be suspected of causing an adverse reaction; assertions refuting these suspicions. This includes: 1. Common dietary substances for allergy and intolerance documentation (SNOMEDCT) 2. Common drug classes for allergy and intolerance documentation (SNOMEDCT) 3. Common drug substances for allergy and intolerance documentation (RXNORM) 4. Common environmental substances for allergy and intolerance documentation (SNOMEDCT) 5. Common refutations and null values for substance causes for allergy and intolerance documentation (SNOMEDCT) **Exclusion Criteria:** actual conditions caused by exposure (reactions, allergies)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "concept": [ + { + "code": "1002293", + "display": "formoterol / Mometasone" + }, + { + "code": "1007388", + "display": "Lactase / rennet" + }, + { + "code": "1008298", + "display": "Acetaminophen / Caffeine / Chlorpheniramine / Hydrocodone / Phenylephrine" + }, + { + "code": "1008519", + "display": "guaiacolsulfonate / Hydrocodone" + }, + { + "code": "1009148", + "display": "Ampicillin / Sulbactam" + }, + { + "code": "10109", + "display": "Streptomycin" + }, + { + "code": "10154", + "display": "Succinylcholine" + }, + { + "code": "10156", + "display": "Sucralfate" + }, + { + "code": "10169", + "display": "Sulfacetamide" + }, + { + "code": "10171", + "display": "Sulfadiazine" + }, + { + "code": "10180", + "display": "Sulfamethoxazole" + }, + { + "code": "10207", + "display": "Sulfisoxazole" + }, + { + "code": "10223", + "display": "Sulfur" + }, + { + "code": "10237", + "display": "Sulindac" + }, + { + "code": "10324", + "display": "Tamoxifen" + }, + { + "code": "10355", + "display": "Temazepam" + }, + { + "code": "10368", + "display": "Terbutaline" + }, + { + "code": "1037042", + "display": "dabigatran etexilate" + }, + { + "code": "10379", + "display": "Testosterone" + }, + { + "code": "10395", + "display": "Tetracycline" + }, + { + "code": "103990", + "display": "Carbidopa / Levodopa" + }, + { + "code": "1040028", + "display": "lurasidone" + }, + { + "code": "10438", + "display": "Theophylline" + }, + { + "code": "10472", + "display": "Thimerosal" + }, + { + "code": "10493", + "display": "Thiopental" + }, + { + "code": "10502", + "display": "Thioridazine" + }, + { + "code": "10510", + "display": "Thiothixene" + }, + { + "code": "10582", + "display": "levothyroxine" + }, + { + "code": "10594", + "display": "Ticlopidine" + }, + { + "code": "10600", + "display": "Timolol" + }, + { + "code": "10627", + "display": "Tobramycin" + }, + { + "code": "10636", + "display": "Tolmetin" + }, + { + "code": "10689", + "display": "Tramadol" + }, + { + "code": "10737", + "display": "Trazodone" + }, + { + "code": "10759", + "display": "Triamcinolone" + }, + { + "code": "107602", + "display": "Epinephrine / Lidocaine" + }, + { + "code": "10763", + "display": "Triamterene" + }, + { + "code": "10767", + "display": "Triazolam" + }, + { + "code": "10800", + "display": "Trifluoperazine" + }, + { + "code": "108118", + "display": "Mometasone" + }, + { + "code": "10829", + "display": "Trimethoprim" + }, + { + "code": "10831", + "display": "Sulfamethoxazole / Trimethoprim" + }, + { + "code": "11124", + "display": "Vancomycin" + }, + { + "code": "1114195", + "display": "rivaroxaban" + }, + { + "code": "1116632", + "display": "Ticagrelor" + }, + { + "code": "11170", + "display": "Verapamil" + }, + { + "code": "11248", + "display": "Vitamin B 12" + }, + { + "code": "11253", + "display": "Vitamin D" + }, + { + "code": "11256", + "display": "Vitamin E" + }, + { + "code": "11289", + "display": "Warfarin" + }, + { + "code": "113588", + "display": "Erythromycin / Sulfisoxazole" + }, + { + "code": "11416", + "display": "Zinc" + }, + { + "code": "11423", + "display": "Zinc Oxide" + }, + { + "code": "114477", + "display": "Levetiracetam" + }, + { + "code": "114970", + "display": "zafirlukast" + }, + { + "code": "114979", + "display": "rabeprazole" + }, + { + "code": "1151", + "display": "Ascorbic Acid" + }, + { + "code": "115264", + "display": "Ibandronate" + }, + { + "code": "115552", + "display": "trovafloxacin" + }, + { + "code": "115698", + "display": "ziprasidone" + }, + { + "code": "1191", + "display": "Aspirin" + }, + { + "code": "119565", + "display": "tolterodine" + }, + { + "code": "1202", + "display": "Atenolol" + }, + { + "code": "121191", + "display": "rituximab" + }, + { + "code": "1223", + "display": "Atropine" + }, + { + "code": "1256", + "display": "Azathioprine" + }, + { + "code": "1272", + "display": "Aztreonam" + }, + { + "code": "1291", + "display": "Bacitracin" + }, + { + "code": "1292", + "display": "Baclofen" + }, + { + "code": "1310171", + "display": "Gadolinium" + }, + { + "code": "1311085", + "display": "xanthine" + }, + { + "code": "1311524", + "display": "Aspartame" + }, + { + "code": "1311629", + "display": "nickel" + }, + { + "code": "1314891", + "display": "Latex" + }, + { + "code": "1331", + "display": "Barium Sulfate" + }, + { + "code": "134615", + "display": "brimonidine" + }, + { + "code": "1347", + "display": "Beclomethasone" + }, + { + "code": "135447", + "display": "donepezil" + }, + { + "code": "135775", + "display": "zolmitriptan" + }, + { + "code": "1359", + "display": "Belladonna Alkaloids" + }, + { + "code": "1362879", + "display": "Sulfur Dioxide" + }, + { + "code": "1363043", + "display": "ethyl ether" + }, + { + "code": "136411", + "display": "sildenafil" + }, + { + "code": "1364430", + "display": "apixaban" + }, + { + "code": "138099", + "display": "gemifloxacin" + }, + { + "code": "139462", + "display": "moxifloxacin" + }, + { + "code": "1399", + "display": "Benzocaine" + }, + { + "code": "140587", + "display": "celecoxib" + }, + { + "code": "1406", + "display": "benzoin resin" + }, + { + "code": "141626", + "display": "colesevelam" + }, + { + "code": "1418", + "display": "Benzoyl Peroxide" + }, + { + "code": "1424", + "display": "Benztropine" + }, + { + "code": "1514", + "display": "Betamethasone" + }, + { + "code": "153970", + "display": "Hyoscyamine" + }, + { + "code": "1596450", + "display": "Gentamicin" + }, + { + "code": "15996", + "display": "Mirtazapine" + }, + { + "code": "161", + "display": "Acetaminophen" + }, + { + "code": "16681", + "display": "Acarbose" + }, + { + "code": "167", + "display": "Acetazolamide" + }, + { + "code": "17128", + "display": "lansoprazole" + }, + { + "code": "1727875", + "display": "Tetanus immune globulin" + }, + { + "code": "17300", + "display": "alfuzosin" + }, + { + "code": "17767", + "display": "Amlodipine" + }, + { + "code": "1827", + "display": "Buspirone" + }, + { + "code": "183379", + "display": "rivastigmine" + }, + { + "code": "1841", + "display": "Butorphanol" + }, + { + "code": "18631", + "display": "Azithromycin" + }, + { + "code": "187832", + "display": "pregabalin" + }, + { + "code": "1886", + "display": "Caffeine" + }, + { + "code": "18867", + "display": "benazepril" + }, + { + "code": "1895", + "display": "Calcium" + }, + { + "code": "1897", + "display": "Calcium Carbonate" + }, + { + "code": "18993", + "display": "benzonatate" + }, + { + "code": "190376", + "display": "linezolid" + }, + { + "code": "191831", + "display": "infliximab" + }, + { + "code": "19478", + "display": "bismuth subsalicylate" + }, + { + "code": "19552", + "display": "cefprozil" + }, + { + "code": "19711", + "display": "Amoxicillin / Clavulanate" + }, + { + "code": "19831", + "display": "Budesonide" + }, + { + "code": "1998", + "display": "Captopril" + }, + { + "code": "2002", + "display": "Carbamazepine" + }, + { + "code": "20352", + "display": "carvedilol" + }, + { + "code": "20481", + "display": "cefepime" + }, + { + "code": "20489", + "display": "cefpodoxime" + }, + { + "code": "20610", + "display": "Cetirizine" + }, + { + "code": "2101", + "display": "Carisoprodol" + }, + { + "code": "21107", + "display": "cilostazol" + }, + { + "code": "21183", + "display": "Citric Acid" + }, + { + "code": "21212", + "display": "Clarithromycin" + }, + { + "code": "214130", + "display": "Acetaminophen / butalbital / Caffeine" + }, + { + "code": "214153", + "display": "Acetaminophen / dichloralphenazone / isometheptene" + }, + { + "code": "214159", + "display": "Aspirin / butalbital / Caffeine" + }, + { + "code": "214160", + "display": "Aspirin / butalbital / Caffeine / Codeine" + }, + { + "code": "214181", + "display": "Acetaminophen / Diphenhydramine" + }, + { + "code": "214182", + "display": "Acetaminophen / Hydrocodone" + }, + { + "code": "214183", + "display": "Acetaminophen / Oxycodone" + }, + { + "code": "214199", + "display": "Albuterol / Ipratropium" + }, + { + "code": "214223", + "display": "Amlodipine / benazepril" + }, + { + "code": "214250", + "display": "Aspirin / Caffeine" + }, + { + "code": "214256", + "display": "Aspirin / Oxycodone" + }, + { + "code": "214257", + "display": "Aspirin / Pentazocine" + }, + { + "code": "214317", + "display": "Bisoprolol / Hydrochlorothiazide" + }, + { + "code": "214336", + "display": "Caffeine / Ergotamine" + }, + { + "code": "214354", + "display": "candesartan" + }, + { + "code": "214364", + "display": "carbinoxamine / Pseudoephedrine" + }, + { + "code": "214392", + "display": "Chlorpheniramine / Hydrocodone" + }, + { + "code": "214442", + "display": "Codeine / Guaifenesin" + }, + { + "code": "214445", + "display": "Codeine / Pseudoephedrine" + }, + { + "code": "214488", + "display": "Dextromethorphan / Guaifenesin" + }, + { + "code": "214502", + "display": "Diclofenac / Misoprostol" + }, + { + "code": "214555", + "display": "Etanercept" + }, + { + "code": "214558", + "display": "Ethinyl Estradiol / Levonorgestrel" + }, + { + "code": "214565", + "display": "fexofenadine / Pseudoephedrine" + }, + { + "code": "214599", + "display": "Guaifenesin / Pseudoephedrine" + }, + { + "code": "214614", + "display": "homatropine / Hydrocodone" + }, + { + "code": "214617", + "display": "Hydrochlorothiazide / irbesartan" + }, + { + "code": "214618", + "display": "Hydrochlorothiazide / Lisinopril" + }, + { + "code": "214619", + "display": "Hydrochlorothiazide / Losartan" + }, + { + "code": "214626", + "display": "Hydrochlorothiazide / valsartan" + }, + { + "code": "214627", + "display": "Hydrocodone / Ibuprofen" + }, + { + "code": "214631", + "display": "Hydrocodone / Pseudoephedrine" + }, + { + "code": "214682", + "display": "Loratadine / Pseudoephedrine" + }, + { + "code": "214721", + "display": "Naloxone / Pentazocine" + }, + { + "code": "214807", + "display": "Pseudoephedrine / Triprolidine" + }, + { + "code": "2176", + "display": "Cefaclor" + }, + { + "code": "217627", + "display": "Hydrocortisone / Neomycin / Polymyxin B" + }, + { + "code": "2177", + "display": "Cefadroxil" + }, + { + "code": "2180", + "display": "Cefazolin" + }, + { + "code": "2189", + "display": "Cefoxitin" + }, + { + "code": "2191", + "display": "Ceftazidime" + }, + { + "code": "2193", + "display": "Ceftriaxone" + }, + { + "code": "219314", + "display": "Polymyxin B / Trimethoprim" + }, + { + "code": "219315", + "display": "Iron polysaccharide" + }, + { + "code": "2194", + "display": "Cefuroxime" + }, + { + "code": "21949", + "display": "cyclobenzaprine" + }, + { + "code": "221147", + "display": "POLYETHYLENE GLYCOL 3350" + }, + { + "code": "22299", + "display": "Daptomycin" + }, + { + "code": "2231", + "display": "Cephalexin" + }, + { + "code": "226716", + "display": "Aspirin / Dipyridamole" + }, + { + "code": "228476", + "display": "gatifloxacin" + }, + { + "code": "228790", + "display": "Dutasteride" + }, + { + "code": "232158", + "display": "rofecoxib" + }, + { + "code": "233698", + "display": "dronedarone" + }, + { + "code": "2348", + "display": "Chloramphenicol" + }, + { + "code": "2356", + "display": "Chlordiazepoxide" + }, + { + "code": "2358", + "display": "Chlorhexidine" + }, + { + "code": "236778", + "display": "Trospium" + }, + { + "code": "237159", + "display": "Levalbuterol" + }, + { + "code": "2393", + "display": "Chloroquine" + }, + { + "code": "2400", + "display": "Chlorpheniramine" + }, + { + "code": "2403", + "display": "Chlorpromazine" + }, + { + "code": "2409", + "display": "Chlorthalidone" + }, + { + "code": "2410", + "display": "Chlorzoxazone" + }, + { + "code": "2418", + "display": "Cholecalciferol" + }, + { + "code": "2447", + "display": "Cholestyramine Resin" + }, + { + "code": "24605", + "display": "Etodolac" + }, + { + "code": "24947", + "display": "ferrous sulfate" + }, + { + "code": "25025", + "display": "Finasteride" + }, + { + "code": "25033", + "display": "Cefixime" + }, + { + "code": "25037", + "display": "cefdinir" + }, + { + "code": "25120", + "display": "flunisolide" + }, + { + "code": "25255", + "display": "formoterol" + }, + { + "code": "253157", + "display": "Bee pollen" + }, + { + "code": "2541", + "display": "Cimetidine" + }, + { + "code": "25480", + "display": "gabapentin" + }, + { + "code": "2551", + "display": "Ciprofloxacin" + }, + { + "code": "2556", + "display": "Citalopram" + }, + { + "code": "25789", + "display": "glimepiride" + }, + { + "code": "2582", + "display": "Clindamycin" + }, + { + "code": "258337", + "display": "Hydrochlorothiazide / Triamterene" + }, + { + "code": "2598", + "display": "Clonazepam" + }, + { + "code": "2599", + "display": "Clonidine" + }, + { + "code": "260101", + "display": "Oseltamivir" + }, + { + "code": "26225", + "display": "Ondansetron" + }, + { + "code": "2623", + "display": "Clotrimazole" + }, + { + "code": "2670", + "display": "Codeine" + }, + { + "code": "2683", + "display": "Colchicine" + }, + { + "code": "2685", + "display": "Colestipol" + }, + { + "code": "27169", + "display": "leflunomide" + }, + { + "code": "274783", + "display": "Insulin Glargine" + }, + { + "code": "274786", + "display": "telithromycin" + }, + { + "code": "27723", + "display": "iodinated glycerol" + }, + { + "code": "278567", + "display": "valdecoxib" + }, + { + "code": "28031", + "display": "Itraconazole" + }, + { + "code": "281", + "display": "Acyclovir" + }, + { + "code": "283742", + "display": "Esomeprazole" + }, + { + "code": "283809", + "display": "travoprost" + }, + { + "code": "28439", + "display": "lamotrigine" + }, + { + "code": "284635", + "display": "fluticasone / salmeterol" + }, + { + "code": "2878", + "display": "Cortisone" + }, + { + "code": "28889", + "display": "Loratadine" + }, + { + "code": "28981", + "display": "loracarbef" + }, + { + "code": "29046", + "display": "Lisinopril" + }, + { + "code": "29542", + "display": "Mercury, Ammoniated" + }, + { + "code": "29561", + "display": "meropenem" + }, + { + "code": "296", + "display": "Adenosine" + }, + { + "code": "3008", + "display": "Cyclosporine" + }, + { + "code": "301542", + "display": "rosuvastatin" + }, + { + "code": "306674", + "display": "vardenafil" + }, + { + "code": "3108", + "display": "Dapsone" + }, + { + "code": "3143", + "display": "prasterone" + }, + { + "code": "31448", + "display": "nabumetone" + }, + { + "code": "31555", + "display": "nebivolol" + }, + { + "code": "31565", + "display": "nefazodone" + }, + { + "code": "31738", + "display": "nickel sulfate" + }, + { + "code": "318340", + "display": "Aloe vera preparation" + }, + { + "code": "321064", + "display": "olmesartan" + }, + { + "code": "321988", + "display": "Escitalopram" + }, + { + "code": "322167", + "display": "Solifenacin" + }, + { + "code": "3247", + "display": "Desipramine" + }, + { + "code": "325642", + "display": "ertapenem" + }, + { + "code": "32592", + "display": "oxaliplatin" + }, + { + "code": "32613", + "display": "oxaprozin" + }, + { + "code": "32624", + "display": "oxcarbazepine" + }, + { + "code": "3264", + "display": "Dexamethasone" + }, + { + "code": "32675", + "display": "oxybutynin" + }, + { + "code": "327361", + "display": "adalimumab" + }, + { + "code": "3289", + "display": "Dextromethorphan" + }, + { + "code": "32937", + "display": "Paroxetine" + }, + { + "code": "32968", + "display": "clopidogrel" + }, + { + "code": "3322", + "display": "Diazepam" + }, + { + "code": "33408", + "display": "phenyltoloxamine" + }, + { + "code": "3355", + "display": "Diclofenac" + }, + { + "code": "3356", + "display": "Dicloxacillin" + }, + { + "code": "3361", + "display": "Dicyclomine" + }, + { + "code": "33738", + "display": "pioglitazone" + }, + { + "code": "3393", + "display": "Diflunisal" + }, + { + "code": "3407", + "display": "Digoxin" + }, + { + "code": "341248", + "display": "ezetimibe" + }, + { + "code": "3418", + "display": "Dihydroergotamine" + }, + { + "code": "3423", + "display": "Hydromorphone" + }, + { + "code": "3443", + "display": "Diltiazem" + }, + { + "code": "3444", + "display": "Dimenhydrinate" + }, + { + "code": "3498", + "display": "Diphenhydramine" + }, + { + "code": "35208", + "display": "quinapril" + }, + { + "code": "3521", + "display": "Dipyridamole" + }, + { + "code": "352362", + "display": "Acetaminophen / Tramadol" + }, + { + "code": "35296", + "display": "Ramipril" + }, + { + "code": "35382", + "display": "resorcinol" + }, + { + "code": "35636", + "display": "Risperidone" + }, + { + "code": "358263", + "display": "tadalafil" + }, + { + "code": "35827", + "display": "Ketorolac" + }, + { + "code": "35829", + "display": "ranolazine" + }, + { + "code": "36108", + "display": "Salsalate" + }, + { + "code": "36117", + "display": "salmeterol" + }, + { + "code": "3616", + "display": "Dobutamine" + }, + { + "code": "3638", + "display": "Doxepin" + }, + { + "code": "3640", + "display": "Doxycycline" + }, + { + "code": "36437", + "display": "Sertraline" + }, + { + "code": "3648", + "display": "Droperidol" + }, + { + "code": "36567", + "display": "Simvastatin" + }, + { + "code": "37418", + "display": "Sumatriptan" + }, + { + "code": "37617", + "display": "tazobactam" + }, + { + "code": "37798", + "display": "Terazosin" + }, + { + "code": "37801", + "display": "terbinafine" + }, + { + "code": "3827", + "display": "Enalapril" + }, + { + "code": "3829", + "display": "Enalaprilat" + }, + { + "code": "38400", + "display": "atomoxetine" + }, + { + "code": "38404", + "display": "topiramate" + }, + { + "code": "38413", + "display": "torsemide" + }, + { + "code": "38574", + "display": "trichloroacetaldehyde" + }, + { + "code": "38685", + "display": "trimethobenzamide" + }, + { + "code": "389132", + "display": "Budesonide / formoterol" + }, + { + "code": "3966", + "display": "Ephedrine" + }, + { + "code": "39786", + "display": "venlafaxine" + }, + { + "code": "3992", + "display": "Epinephrine" + }, + { + "code": "39993", + "display": "zolpidem" + }, + { + "code": "39998", + "display": "zonisamide" + }, + { + "code": "40048", + "display": "Carboplatin" + }, + { + "code": "400674", + "display": "dexbrompheniramine / Pseudoephedrine" + }, + { + "code": "4025", + "display": "Ergotamine" + }, + { + "code": "40254", + "display": "Valproate" + }, + { + "code": "4053", + "display": "Erythromycin" + }, + { + "code": "40575", + "display": "zileuton" + }, + { + "code": "40790", + "display": "pantoprazole" + }, + { + "code": "4083", + "display": "Estradiol" + }, + { + "code": "4099", + "display": "Estrogens, Conjugated (USP)" + }, + { + "code": "41126", + "display": "fluticasone" + }, + { + "code": "41127", + "display": "fluvastatin" + }, + { + "code": "4124", + "display": "Ethinyl Estradiol" + }, + { + "code": "41397", + "display": "Lactase" + }, + { + "code": "41493", + "display": "meloxicam" + }, + { + "code": "42330", + "display": "Terfenadine" + }, + { + "code": "42331", + "display": "Misoprostol" + }, + { + "code": "42347", + "display": "Bupropion" + }, + { + "code": "42351", + "display": "Lithium Carbonate" + }, + { + "code": "42372", + "display": "Mupirocin" + }, + { + "code": "42463", + "display": "Pravastatin" + }, + { + "code": "4278", + "display": "Famotidine" + }, + { + "code": "4316", + "display": "Felodipine" + }, + { + "code": "4337", + "display": "Fentanyl" + }, + { + "code": "435", + "display": "Albuterol" + }, + { + "code": "43611", + "display": "latanoprost" + }, + { + "code": "4419", + "display": "Fish Oils" + }, + { + "code": "4441", + "display": "Flecainide" + }, + { + "code": "4450", + "display": "Fluconazole" + }, + { + "code": "448", + "display": "Ethanol" + }, + { + "code": "4492", + "display": "Fluorouracil" + }, + { + "code": "4493", + "display": "Fluoxetine" + }, + { + "code": "4496", + "display": "Fluphenazine" + }, + { + "code": "4500", + "display": "Flurandrenolide" + }, + { + "code": "4530", + "display": "Formaldehyde" + }, + { + "code": "4603", + "display": "Furosemide" + }, + { + "code": "46041", + "display": "Alendronate" + }, + { + "code": "461016", + "display": "Eszopiclone" + }, + { + "code": "4637", + "display": "Galantamine" + }, + { + "code": "465397", + "display": "Ciprofloxacin / Dexamethasone" + }, + { + "code": "466522", + "display": "Diphenhydramine / Zinc Acetate" + }, + { + "code": "466541", + "display": "Neomycin / Polymyxin B" + }, + { + "code": "466549", + "display": "Aspirin / Caffeine / Orphenadrine" + }, + { + "code": "466553", + "display": "penicillin G benzathine / penicillin G procaine" + }, + { + "code": "466566", + "display": "Acetaminophen / Dextromethorphan / Diphenhydramine / Pseudoephedrine" + }, + { + "code": "466584", + "display": "Acetaminophen / Aspirin / Caffeine" + }, + { + "code": "4719", + "display": "Gemfibrozil" + }, + { + "code": "475968", + "display": "liraglutide" + }, + { + "code": "4815", + "display": "Glyburide" + }, + { + "code": "48203", + "display": "Clavulanate" + }, + { + "code": "4821", + "display": "Glipizide" + }, + { + "code": "48274", + "display": "Acetaminophen / Propoxyphene" + }, + { + "code": "484139", + "display": "Chlorhexidine / Isopropyl Alcohol" + }, + { + "code": "484211", + "display": "ezetimibe / Simvastatin" + }, + { + "code": "4850", + "display": "Glucose" + }, + { + "code": "4917", + "display": "Nitroglycerin" + }, + { + "code": "49276", + "display": "Doxazosin" + }, + { + "code": "50166", + "display": "Fosinopril" + }, + { + "code": "5021", + "display": "Griseofulvin" + }, + { + "code": "5032", + "display": "Guaifenesin" + }, + { + "code": "5093", + "display": "Haloperidol" + }, + { + "code": "51272", + "display": "quetiapine" + }, + { + "code": "519", + "display": "Allopurinol" + }, + { + "code": "52175", + "display": "Losartan" + }, + { + "code": "5224", + "display": "heparin" + }, + { + "code": "52582", + "display": "mesalamine" + }, + { + "code": "5470", + "display": "Hydralazine" + }, + { + "code": "5487", + "display": "Hydrochlorothiazide" + }, + { + "code": "5489", + "display": "Hydrocodone" + }, + { + "code": "5492", + "display": "Hydrocortisone" + }, + { + "code": "5499", + "display": "Hydrogen Peroxide" + }, + { + "code": "5521", + "display": "Hydroxychloroquine" + }, + { + "code": "5553", + "display": "Hydroxyzine" + }, + { + "code": "5640", + "display": "Ibuprofen" + }, + { + "code": "5691", + "display": "Imipramine" + }, + { + "code": "56946", + "display": "Paclitaxel" + }, + { + "code": "57258", + "display": "tizanidine" + }, + { + "code": "5764", + "display": "Indapamide" + }, + { + "code": "5781", + "display": "Indomethacin" + }, + { + "code": "588250", + "display": "milnacipran" + }, + { + "code": "59078", + "display": "metaxalone" + }, + { + "code": "591622", + "display": "varenicline" + }, + { + "code": "5933", + "display": "Iodine" + }, + { + "code": "593411", + "display": "sitagliptin" + }, + { + "code": "594040", + "display": "Atropine / Diphenoxylate" + }, + { + "code": "5956", + "display": "Iohexol" + }, + { + "code": "596", + "display": "Alprazolam" + }, + { + "code": "596723", + "display": "cerivastatin" + }, + { + "code": "597142", + "display": "brimonidine / Timolol" + }, + { + "code": "5992", + "display": "Iron-Dextran Complex" + }, + { + "code": "60207", + "display": "dorzolamide" + }, + { + "code": "6038", + "display": "isoniazid" + }, + { + "code": "60548", + "display": "exenatide" + }, + { + "code": "6057", + "display": "Isosorbide" + }, + { + "code": "6058", + "display": "Isosorbide Dinitrate" + }, + { + "code": "611854", + "display": "Chlordiazepoxide / clidinium" + }, + { + "code": "6130", + "display": "Ketamine" + }, + { + "code": "6135", + "display": "Ketoconazole" + }, + { + "code": "61381", + "display": "olanzapine" + }, + { + "code": "6142", + "display": "Ketoprofen" + }, + { + "code": "6185", + "display": "Labetalol" + }, + { + "code": "620", + "display": "Amantadine" + }, + { + "code": "6218", + "display": "Lactulose" + }, + { + "code": "6227", + "display": "Lanolin" + }, + { + "code": "6387", + "display": "Lidocaine" + }, + { + "code": "6398", + "display": "Lincomycin" + }, + { + "code": "6448", + "display": "Lithium" + }, + { + "code": "645555", + "display": "Bacitracin / Polymyxin B" + }, + { + "code": "6468", + "display": "Loperamide" + }, + { + "code": "6470", + "display": "Lorazepam" + }, + { + "code": "6472", + "display": "Lovastatin" + }, + { + "code": "6574", + "display": "Magnesium" + }, + { + "code": "6585", + "display": "Magnesium Sulfate" + }, + { + "code": "662263", + "display": "dorzolamide / Timolol" + }, + { + "code": "6676", + "display": "Meclizine" + }, + { + "code": "6691", + "display": "Medroxyprogesterone" + }, + { + "code": "67108", + "display": "Enoxaparin" + }, + { + "code": "6711", + "display": "Melatonin" + }, + { + "code": "6719", + "display": "Memantine" + }, + { + "code": "6750", + "display": "Menthol" + }, + { + "code": "6754", + "display": "Meperidine" + }, + { + "code": "6809", + "display": "Metformin" + }, + { + "code": "6813", + "display": "Methadone" + }, + { + "code": "6835", + "display": "Methimazole" + }, + { + "code": "6845", + "display": "Methocarbamol" + }, + { + "code": "6851", + "display": "Methotrexate" + }, + { + "code": "6876", + "display": "Methyldopa" + }, + { + "code": "689", + "display": "Aminophylline" + }, + { + "code": "689467", + "display": "Oxytetracycline / Polymyxin B" + }, + { + "code": "689518", + "display": "Aspirin / Caffeine / Propoxyphene" + }, + { + "code": "689556", + "display": "Acetaminophen / Aspirin / Phenylpropanolamine" + }, + { + "code": "689558", + "display": "Acetaminophen / Brompheniramine / Pseudoephedrine" + }, + { + "code": "689561", + "display": "Acetaminophen / butalbital / Caffeine / Codeine" + }, + { + "code": "689582", + "display": "Acetaminophen / Chlorpheniramine / Dextromethorphan / Pseudoephedrine" + }, + { + "code": "689606", + "display": "Atropine / Hyoscyamine / Phenobarbital / Scopolamine" + }, + { + "code": "689623", + "display": "Bacitracin / Hydrocortisone / Neomycin / Polymyxin B" + }, + { + "code": "690077", + "display": "Benzalkonium / Lidocaine" + }, + { + "code": "6901", + "display": "Methylphenidate" + }, + { + "code": "6902", + "display": "Methylprednisolone" + }, + { + "code": "690693", + "display": "Diphenhydramine / Phenylephrine" + }, + { + "code": "690808", + "display": "Brompheniramine / Dextromethorphan / Pseudoephedrine" + }, + { + "code": "69120", + "display": "tiotropium" + }, + { + "code": "6915", + "display": "Metoclopramide" + }, + { + "code": "6916", + "display": "Metolazone" + }, + { + "code": "6918", + "display": "Metoprolol" + }, + { + "code": "6922", + "display": "Metronidazole" + }, + { + "code": "692572", + "display": "Bacitracin / Neomycin / Polymyxin B" + }, + { + "code": "692794", + "display": "Gramicidin / Neomycin / Polymyxin B" + }, + { + "code": "6932", + "display": "Miconazole" + }, + { + "code": "6960", + "display": "Midazolam" + }, + { + "code": "69749", + "display": "valsartan" + }, + { + "code": "6980", + "display": "Minocycline" + }, + { + "code": "6984", + "display": "Minoxidil" + }, + { + "code": "703", + "display": "Amiodarone" + }, + { + "code": "704", + "display": "Amitriptyline" + }, + { + "code": "7052", + "display": "Morphine" + }, + { + "code": "705258", + "display": "Acetaminophen / Dextromethorphan / Doxylamine" + }, + { + "code": "7213", + "display": "Ipratropium" + }, + { + "code": "72143", + "display": "Raloxifene" + }, + { + "code": "72236", + "display": "fosphenytoin" + }, + { + "code": "723", + "display": "Amoxicillin" + }, + { + "code": "72302", + "display": "ropinirole" + }, + { + "code": "7233", + "display": "Nafcillin" + }, + { + "code": "7238", + "display": "Nalbuphine" + }, + { + "code": "7243", + "display": "Naltrexone" + }, + { + "code": "725", + "display": "Amphetamine" + }, + { + "code": "7258", + "display": "Naproxen" + }, + { + "code": "72625", + "display": "duloxetine" + }, + { + "code": "7299", + "display": "Neomycin" + }, + { + "code": "73056", + "display": "Risedronate" + }, + { + "code": "733", + "display": "Ampicillin" + }, + { + "code": "73494", + "display": "telmisartan" + }, + { + "code": "73645", + "display": "valacyclovir" + }, + { + "code": "7393", + "display": "Niacin" + }, + { + "code": "7407", + "display": "Nicotine" + }, + { + "code": "74169", + "display": "Piperacillin / tazobactam" + }, + { + "code": "7417", + "display": "Nifedipine" + }, + { + "code": "7454", + "display": "Nitrofurantoin" + }, + { + "code": "746741", + "display": "Pramipexole" + }, + { + "code": "7486", + "display": "Nitrous Oxide" + }, + { + "code": "7517", + "display": "Norfloxacin" + }, + { + "code": "7531", + "display": "Nortriptyline" + }, + { + "code": "7597", + "display": "Nystatin" + }, + { + "code": "7623", + "display": "Ofloxacin" + }, + { + "code": "7646", + "display": "Omeprazole" + }, + { + "code": "7676", + "display": "Opium" + }, + { + "code": "7715", + "display": "Orphenadrine" + }, + { + "code": "77492", + "display": "tamsulosin" + }, + { + "code": "7804", + "display": "Oxycodone" + }, + { + "code": "7821", + "display": "Oxytetracycline" + }, + { + "code": "787390", + "display": "tapentadol" + }, + { + "code": "7975", + "display": "Penicillamine" + }, + { + "code": "797541", + "display": "Isopropyl Alcohol" + }, + { + "code": "7980", + "display": "Penicillin G" + }, + { + "code": "7984", + "display": "Penicillin V" + }, + { + "code": "7994", + "display": "Pentamidine" + }, + { + "code": "8001", + "display": "Pentazocine" + }, + { + "code": "8120", + "display": "Phenazopyridine" + }, + { + "code": "8134", + "display": "Phenobarbital" + }, + { + "code": "815166", + "display": "Dextromethorphan / Doxylamine" + }, + { + "code": "8163", + "display": "Phenylephrine" + }, + { + "code": "816346", + "display": "dexlansoprazole" + }, + { + "code": "8175", + "display": "Phenylpropanolamine" + }, + { + "code": "817579", + "display": "Acetaminophen / Codeine" + }, + { + "code": "817958", + "display": "Aspirin / Calcium Carbonate" + }, + { + "code": "8183", + "display": "Phenytoin" + }, + { + "code": "82122", + "display": "Levofloxacin" + }, + { + "code": "822929", + "display": "Amphetamine aspartate / Amphetamine Sulfate / Dextroamphetamine saccharate / Dextroamphetamine Sulfate" + }, + { + "code": "83367", + "display": "atorvastatin" + }, + { + "code": "8356", + "display": "Piroxicam" + }, + { + "code": "83818", + "display": "irbesartan" + }, + { + "code": "84108", + "display": "rosiglitazone" + }, + { + "code": "8536", + "display": "Polymyxin B" + }, + { + "code": "857974", + "display": "saxagliptin" + }, + { + "code": "8588", + "display": "Potassium" + }, + { + "code": "8591", + "display": "Potassium Chloride" + }, + { + "code": "8610", + "display": "Povidone" + }, + { + "code": "8611", + "display": "Povidone-Iodine" + }, + { + "code": "861634", + "display": "pitavastatin" + }, + { + "code": "8629", + "display": "Prazosin" + }, + { + "code": "8638", + "display": "prednisolone" + }, + { + "code": "8640", + "display": "Prednisone" + }, + { + "code": "8687", + "display": "Primaquine" + }, + { + "code": "8691", + "display": "Primidone" + }, + { + "code": "8698", + "display": "Probenecid" + }, + { + "code": "8700", + "display": "Procainamide" + }, + { + "code": "8701", + "display": "Procaine" + }, + { + "code": "8703", + "display": "Fenofibrate" + }, + { + "code": "8704", + "display": "Prochlorperazine" + }, + { + "code": "8727", + "display": "Progesterone" + }, + { + "code": "8745", + "display": "Promethazine" + }, + { + "code": "8754", + "display": "Propafenone" + }, + { + "code": "87636", + "display": "fexofenadine" + }, + { + "code": "8782", + "display": "Propofol" + }, + { + "code": "8785", + "display": "Propoxyphene" + }, + { + "code": "8787", + "display": "Propranolol" + }, + { + "code": "8794", + "display": "Propylthiouracil" + }, + { + "code": "88014", + "display": "rizatriptan" + }, + { + "code": "88249", + "display": "montelukast" + }, + { + "code": "883815", + "display": "Dexamethasone / Tobramycin" + }, + { + "code": "8896", + "display": "Pseudoephedrine" + }, + { + "code": "89013", + "display": "aripiprazole" + }, + { + "code": "8928", + "display": "Psyllium" + }, + { + "code": "8948", + "display": "Purified Protein Derivative of Tuberculin" + }, + { + "code": "90176", + "display": "Iron" + }, + { + "code": "9068", + "display": "Quinidine" + }, + { + "code": "9071", + "display": "Quinine" + }, + { + "code": "91263", + "display": "Aloe Extract" + }, + { + "code": "9143", + "display": "Ranitidine" + }, + { + "code": "9384", + "display": "Rifampin" + }, + { + "code": "9524", + "display": "Sulfasalazine" + }, + { + "code": "9601", + "display": "Scopolamine" + }, + { + "code": "9778", + "display": "Silicones" + }, + { + "code": "9793", + "display": "silver sulfadiazine" + }, + { + "code": "9947", + "display": "Sotalol" + }, + { + "code": "9997", + "display": "Spironolactone" + } + ] + }, + { + "system": "http://snomed.info/sct", + "concept": [ + { + "code": "102259006", + "display": "Citrus fruit (substance)" + }, + { + "code": "102261002", + "display": "Strawberry (substance)" + }, + { + "code": "102262009", + "display": "Chocolate (substance)" + }, + { + "code": "102263004", + "display": "Eggs (edible) (substance)" + }, + { + "code": "102264005", + "display": "Cheese (substance)" + }, + { + "code": "111088007", + "display": "Latex (substance)" + }, + { + "code": "111151007", + "display": "Anabolic steroid (substance)" + }, + { + "code": "11526002", + "display": "Aspartame (substance)" + }, + { + "code": "116274004", + "display": "Artificial sweetener (substance)" + }, + { + "code": "116566001", + "display": "Steroid (substance)" + }, + { + "code": "13577000", + "display": "Nut (substance)" + }, + { + "code": "14443002", + "display": "Substance with aminoglycoside structure and antibacterial mechanism of action (substance)" + }, + { + "code": "226723006", + "display": "Buckwheat - cereal (substance)" + }, + { + "code": "226734009", + "display": "Wheatgerm (substance)" + }, + { + "code": "226760005", + "display": "Dairy foods (substance)" + }, + { + "code": "226915003", + "display": "Red meat (substance)" + }, + { + "code": "226916002", + "display": "Beef (substance)" + }, + { + "code": "226934003", + "display": "Pork (substance)" + }, + { + "code": "226955001", + "display": "Chicken - meat (substance)" + }, + { + "code": "226967004", + "display": "Turkey - meat (substance)" + }, + { + "code": "227144008", + "display": "Tuna fish (substance)" + }, + { + "code": "227151004", + "display": "Prawns (substance)" + }, + { + "code": "227208008", + "display": "Abalone canned in brine (substance)" + }, + { + "code": "227219006", + "display": "Aubergine (substance)" + }, + { + "code": "227313005", + "display": "Pulse vegetables (substance)" + }, + { + "code": "227388008", + "display": "Cinnamon (substance)" + }, + { + "code": "227400003", + "display": "Ginger (substance)" + }, + { + "code": "227421003", + "display": "Cranberries (substance)" + }, + { + "code": "227444000", + "display": "Raspberries (substance)" + }, + { + "code": "227493005", + "display": "Cashew nut (substance)" + }, + { + "code": "227512001", + "display": "Pistachio nut (substance)" + }, + { + "code": "227598003", + "display": "Honey (substance)" + }, + { + "code": "228102000", + "display": "Sodium nitrate (substance)" + }, + { + "code": "255632006", + "display": "Anticonvulsant (substance)" + }, + { + "code": "255637000", + "display": "Salicylate (substance)" + }, + { + "code": "255641001", + "display": "Caffeine (substance)" + }, + { + "code": "256259004", + "display": "Pollen (substance)" + }, + { + "code": "256277009", + "display": "Grass pollen (substance)" + }, + { + "code": "256306003", + "display": "Orange - fruit (substance)" + }, + { + "code": "256307007", + "display": "Banana (substance)" + }, + { + "code": "256313003", + "display": "Pineapple (substance)" + }, + { + "code": "256315005", + "display": "Grapefruit (substance)" + }, + { + "code": "256317002", + "display": "Grapes (substance)" + }, + { + "code": "256319004", + "display": "Carrot (substance)" + }, + { + "code": "256326004", + "display": "Celery (substance)" + }, + { + "code": "256329006", + "display": "Spinach (substance)" + }, + { + "code": "256350002", + "display": "Almond (substance)" + }, + { + "code": "256351003", + "display": "Brazil nut (substance)" + }, + { + "code": "256352005", + "display": "Walnut - nut (substance)" + }, + { + "code": "256353000", + "display": "Hazelnut (substance)" + }, + { + "code": "256354006", + "display": "Bean (substance)" + }, + { + "code": "256417003", + "display": "Horse dander (substance)" + }, + { + "code": "256440004", + "display": "Wasp venom (substance)" + }, + { + "code": "259858000", + "display": "Varicella-zoster virus antibody (substance)" + }, + { + "code": "260152009", + "display": "Cat dander (substance)" + }, + { + "code": "260154005", + "display": "Dog dander (substance)" + }, + { + "code": "260167008", + "display": "Sesame seed (substance)" + }, + { + "code": "260176001", + "display": "Kiwi fruit (substance)" + }, + { + "code": "260177005", + "display": "Melon (substance)" + }, + { + "code": "260179008", + "display": "Mango fruit (substance)" + }, + { + "code": "260184002", + "display": "Peas (substance)" + }, + { + "code": "260189007", + "display": "Pecan nut (substance)" + }, + { + "code": "260205009", + "display": "Sunflower seed (substance)" + }, + { + "code": "264287008", + "display": "Animal dander (substance)" + }, + { + "code": "264337003", + "display": "Seed (substance)" + }, + { + "code": "28230009", + "display": "Poultry (substance)" + }, + { + "code": "288328004", + "display": "Bee venom (substance)" + }, + { + "code": "28942008", + "display": "Coconut oil (substance)" + }, + { + "code": "29263009", + "display": "Coffee (substance)" + }, + { + "code": "304275008", + "display": "Corticosteroid and corticosteroid derivative (substance)" + }, + { + "code": "33008008", + "display": "Dust (substance)" + }, + { + "code": "350327004", + "display": "Diphtheria + tetanus vaccine (product)" + }, + { + "code": "35748005", + "display": "Wine (substance)" + }, + { + "code": "360201004", + "display": "Nitrofuran derivative (substance)" + }, + { + "code": "3692009", + "display": "Sodium sulfite (substance)" + }, + { + "code": "372480009", + "display": "Substance with macrolide structure and antibacterial mechanism of action (substance)" + }, + { + "code": "372664007", + "display": "Benzodiazepine (substance)" + }, + { + "code": "372665008", + "display": "Non-steroidal anti-inflammatory agent (substance)" + }, + { + "code": "372711004", + "display": "Sulfonylurea (substance)" + }, + { + "code": "372722000", + "display": "Substance with quinolone structure and antibacterial mechanism of action (substance)" + }, + { + "code": "372733002", + "display": "Substance with angiotensin-converting enzyme inhibitor mechanism of action (substance)" + }, + { + "code": "372747003", + "display": "Thiazide diuretic (substance)" + }, + { + "code": "372783007", + "display": "Antiparkinsonian agent (substance)" + }, + { + "code": "372798009", + "display": "Barbiturate (substance)" + }, + { + "code": "372806008", + "display": "Substance with histamine receptor antagonist mechanism of action (substance)" + }, + { + "code": "372889003", + "display": "First generation cephalosporin (substance)" + }, + { + "code": "372912004", + "display": "Substance with 3-hydroxy-3-methylglutaryl-coenzyme A reductase inhibitor mechanism of action (substance)" + }, + { + "code": "372913009", + "display": "Substance with angiotensin II receptor antagonist mechanism of action (substance)" + }, + { + "code": "373206009", + "display": "Substance with tetracycline structure and antibacterial mechanism of action (substance)" + }, + { + "code": "373253007", + "display": "Tricyclic antidepressant (substance)" + }, + { + "code": "373254001", + "display": "Substance with beta adrenergic receptor antagonist mechanism of action (substance)" + }, + { + "code": "373262009", + "display": "Substance with cephalosporin structure and antibacterial mechanism of action (substance)" + }, + { + "code": "373270004", + "display": "Substance with penicillin structure and antibacterial mechanism of action (substance)" + }, + { + "code": "373297006", + "display": "Substance with beta-lactam structure and antibacterial mechanism of action (substance)" + }, + { + "code": "373304005", + "display": "Substance with calcium channel blocker mechanism of action (substance)" + }, + { + "code": "373531009", + "display": "Gelatin (substance)" + }, + { + "code": "385420005", + "display": "Contrast media (substance)" + }, + { + "code": "386127005", + "display": "Formula milk (substance)" + }, + { + "code": "386962001", + "display": "Plasma protein fraction (substance)" + }, + { + "code": "387050005", + "display": "Substance with prostaglandin-endoperoxide synthase isoform 2 inhibitor mechanism of action (substance)" + }, + { + "code": "387406002", + "display": "Sulfonamide (substance)" + }, + { + "code": "391737006", + "display": "Almond oil (substance)" + }, + { + "code": "391739009", + "display": "Aloe (substance)" + }, + { + "code": "396345004", + "display": "Carbapenem (substance)" + }, + { + "code": "396420001", + "display": "Anthrax vaccine (substance)" + }, + { + "code": "396425006", + "display": "Influenza virus vaccine (substance)" + }, + { + "code": "396433007", + "display": "Pertussis vaccine (substance)" + }, + { + "code": "396439006", + "display": "Smallpox vaccine (substance)" + }, + { + "code": "396441007", + "display": "Typhoid vaccine (substance)" + }, + { + "code": "396442000", + "display": "Varicella virus vaccine (substance)" + }, + { + "code": "398730001", + "display": "Pneumococcal vaccine (substance)" + }, + { + "code": "400872007", + "display": "Hydrocolloid (substance)" + }, + { + "code": "404642006", + "display": "Substance with opioid receptor agonist mechanism of action (substance)" + }, + { + "code": "406748003", + "display": "Carbamate (substance)" + }, + { + "code": "409137002", + "display": "No known drug allergy (situation)" + }, + { + "code": "412061001", + "display": "Blueberries (substance)" + }, + { + "code": "412062008", + "display": "Cantaloupe (substance)" + }, + { + "code": "412066006", + "display": "Pepper (substance)" + }, + { + "code": "412068007", + "display": "Rye (substance)" + }, + { + "code": "412071004", + "display": "Wheat (substance)" + }, + { + "code": "412138001", + "display": "Horse serum protein (substance)" + }, + { + "code": "412357001", + "display": "Corn (substance)" + }, + { + "code": "412373007", + "display": "Diphtheria + pertussis + tetanus + Haemophilus influenzae type b vaccine (product)" + }, + { + "code": "412375000", + "display": "Tetanus vaccine (substance)" + }, + { + "code": "412533000", + "display": "Wheat bran (substance)" + }, + { + "code": "412534006", + "display": "Yeast (substance)" + }, + { + "code": "412583005", + "display": "Bee pollen (substance)" + }, + { + "code": "41598000", + "display": "Estrogen (substance)" + }, + { + "code": "417889008", + "display": "Arachis oil (substance)" + }, + { + "code": "418000008", + "display": "Methadone analog (substance)" + }, + { + "code": "418504009", + "display": "Oats (substance)" + }, + { + "code": "418920007", + "display": "Adhesive agent (substance)" + }, + { + "code": "419420009", + "display": "Watermelon (substance)" + }, + { + "code": "419933005", + "display": "Glucocorticoid (substance)" + }, + { + "code": "421245007", + "display": "Diphtheria + pertussis + tetanus vaccine (product)" + }, + { + "code": "424369009", + "display": "Product containing beta-galactosidase (medicinal product)" + }, + { + "code": "426722004", + "display": "Iodinated contrast media (substance)" + }, + { + "code": "428607008", + "display": "No known environmental allergy (situation)" + }, + { + "code": "429625007", + "display": "No known food allergy (situation)" + }, + { + "code": "43735007", + "display": "Sulfur (substance)" + }, + { + "code": "43921001", + "display": "Nickel compound (substance)" + }, + { + "code": "44027008", + "display": "Seafood (substance)" + }, + { + "code": "442381000124103", + "display": "Blue food coloring (substance)" + }, + { + "code": "442571000124108", + "display": "Tree nut (substance)" + }, + { + "code": "442771000124102", + "display": "Pepperoni (substance)" + }, + { + "code": "44588005", + "display": "Iodine (substance)" + }, + { + "code": "446273004", + "display": "Red food coloring (substance)" + }, + { + "code": "446274005", + "display": "Yellow food coloring (substance)" + }, + { + "code": "47703008", + "display": "Lactose (substance)" + }, + { + "code": "51386004", + "display": "Food preservative (substance)" + }, + { + "code": "51905005", + "display": "Mustard (substance)" + }, + { + "code": "53041004", + "display": "Alcohol (substance)" + }, + { + "code": "61789006", + "display": "Dye (substance)" + }, + { + "code": "63045006", + "display": "Berry (substance)" + }, + { + "code": "67324005", + "display": "Rice (substance)" + }, + { + "code": "67866001", + "display": "Insulin (substance)" + }, + { + "code": "70813002", + "display": "Milk (substance)" + }, + { + "code": "710179004", + "display": "Lupine seed (substance)" + }, + { + "code": "716184000", + "display": "No known latex allergy (situation)" + }, + { + "code": "716186003", + "display": "No known allergy (situation)" + }, + { + "code": "720687003", + "display": "Dust mite protein (substance)" + }, + { + "code": "72511004", + "display": "Fruit (substance)" + }, + { + "code": "726730005", + "display": "Yam (substance)" + }, + { + "code": "734881000", + "display": "Tomato (substance)" + }, + { + "code": "735006003", + "display": "Squid (substance)" + }, + { + "code": "735009005", + "display": "Salmon (substance)" + }, + { + "code": "735029006", + "display": "Shellfish (substance)" + }, + { + "code": "735030001", + "display": "Garlic (substance)" + }, + { + "code": "735043001", + "display": "Mackerel (substance)" + }, + { + "code": "735045008", + "display": "Mushroom (substance)" + }, + { + "code": "735047000", + "display": "Onion (substance)" + }, + { + "code": "735049002", + "display": "Peach (substance)" + }, + { + "code": "735050002", + "display": "Pear (substance)" + }, + { + "code": "735051003", + "display": "Plum (substance)" + }, + { + "code": "735053000", + "display": "Potato (substance)" + }, + { + "code": "735123009", + "display": "Broccoli (substance)" + }, + { + "code": "735124003", + "display": "Barley (substance)" + }, + { + "code": "735211005", + "display": "Coconut (substance)" + }, + { + "code": "735212003", + "display": "Papaya (substance)" + }, + { + "code": "735213008", + "display": "Cucumber (substance)" + }, + { + "code": "735214002", + "display": "Apricot (substance)" + }, + { + "code": "735215001", + "display": "Apple (substance)" + }, + { + "code": "735248001", + "display": "Cherry (substance)" + }, + { + "code": "735249009", + "display": "Avocado (substance)" + }, + { + "code": "735340006", + "display": "Lemon (substance)" + }, + { + "code": "735959004", + "display": "Marine mollusk (substance)" + }, + { + "code": "735971005", + "display": "Fish (substance)" + }, + { + "code": "735977009", + "display": "Marine crustacean (substance)" + }, + { + "code": "736027000", + "display": "Scallop (substance)" + }, + { + "code": "736030007", + "display": "Clam (substance)" + }, + { + "code": "736031006", + "display": "Oyster (substance)" + }, + { + "code": "736159005", + "display": "Crab (substance)" + }, + { + "code": "736162008", + "display": "Lobster (substance)" + }, + { + "code": "74801000", + "display": "Sugar (substance)" + }, + { + "code": "75665004", + "display": "Monosodium glutamate (substance)" + }, + { + "code": "762952008", + "display": "Peanut (substance)" + }, + { + "code": "7791007", + "display": "Soy protein (substance)" + }, + { + "code": "80259003", + "display": "Food flavoring agent (substance)" + }, + { + "code": "84489001", + "display": "Mold (organism)" + }, + { + "code": "89119000", + "display": "Nitrate salt (substance)" + }, + { + "code": "89707004", + "display": "Sesame oil (substance)" + }, + { + "code": "89811004", + "display": "Gluten (substance)" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-careteam-provider-roles.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-careteam-provider-roles.json new file mode 100644 index 000000000..2ba4f8b2f --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-careteam-provider-roles.json @@ -0,0 +1,66 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-careteam-provider-roles", + "text": { + "status": "generated", + "div": "

US Core CareTeam Provider Roles

Provider roles codes consist of NUCC Health Care Provider Taxonomy Code Set for providers and SNOMED-CT for - non clinical and organization roles including codes from the SCTID 223366009 Healthcare professional (occupation) heirarchy and the SCTID 224930009 Services (qualifier value) heirarchy.

\n

Copyright Statement: This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement. This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained.

This value set includes codes from the following code systems:

  • Include all codes defined in http://nucc.org/provider-taxonomy
  • Include codes from http://snomed.info/sct where concept is-a 223366009 (Healthcare professional)
  • Include codes from http://snomed.info/sct where concept is-a 224930009 (Services)
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-careteam-provider-roles", + "version": "3.1.0", + "name": "USCoreCareTeamProviderRoles", + "title": "US Core CareTeam Provider Roles", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "Provider roles codes consist of NUCC Health Care Provider Taxonomy Code Set for providers and SNOMED-CT for - non clinical and organization roles including codes from the SCTID 223366009 Healthcare professional (occupation) heirarchy and the SCTID 224930009 Services (qualifier value) heirarchy.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "purpose": "Codes that may be used for implementation of the Argonaut Procedures IG and MU2015 certification.", + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement. This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained.", + "compose": { + "include": [ + { + "system": "http://nucc.org/provider-taxonomy" + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "223366009" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "224930009" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-clinical-note-type.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-clinical-note-type.json new file mode 100644 index 000000000..50f8dc48f --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-clinical-note-type.json @@ -0,0 +1,62 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-clinical-note-type", + "text": { + "status": "generated", + "div": "

US Core Clinical Note Type

The US Core Clinical Note Type Value Set is a 'starter set' of types supported for fetching and storing clinical notes.

\n

Copyright Statement: This content LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-clinical-note-type", + "version": "3.1.0", + "name": "USCoreClinicalNoteType", + "title": "US Core Clinical Note Type", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "The US Core Clinical Note Type Value Set is a 'starter set' of types supported for fetching and storing clinical notes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": " This content LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use", + "compose": { + "include": [ + { + "system": "http://loinc.org", + "concept": [ + { + "code": "18842-5" + }, + { + "code": "11488-4" + }, + { + "code": "34117-2" + }, + { + "code": "11506-3" + }, + { + "code": "28570-0" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-condition-category.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-condition-category.json new file mode 100644 index 000000000..027c981b2 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-condition-category.json @@ -0,0 +1,44 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-condition-category", + "text": { + "status": "generated", + "div": "

US Core Condition Category Codes

The US Core Condition Category Codes support the separate concepts of problems and health concerns in Condition.category in order for API consumers to be able to separate health concerns and problems. However this is not mandatory for 2015 certification

\n

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category", + "version": "3.1.0", + "name": "USCoreConditionCategoryCodes", + "title": "US Core Condition Category Codes", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "The US Core Condition Category Codes support the separate concepts of problems and health concerns in Condition.category in order for API consumers to be able to separate health concerns and problems. However this is not mandatory for 2015 certification", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "purpose": "So API consumers can separate health concerns and problems.", + "compose": { + "include": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category" + }, + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/condition-category", + "concept": [ + { + "code": "health-concern", + "display": "Health Concern" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-condition-code.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-condition-code.json new file mode 100644 index 000000000..46f97ad24 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-condition-code.json @@ -0,0 +1,76 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-condition-code", + "text": { + "status": "generated", + "div": "

US Core Condition Code

This describes the problem. Diagnosis/Problem List is broadly defined as a series of brief statements that catalog a patient's medical, nursing, dental, social, preventative and psychiatric events and issues that are relevant to that patient's healthcare (e.g., signs, symptoms, and defined conditions). ICD-10 is appropriate for Diagnosis information, and ICD-9 for historical information.

\n

Copyright Statement: This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement. ICD-9 and ICD-10 are copyrighted by the World Health Organization (WHO) which owns and publishes the classification. See https://www.who.int/classifications/icd/en. WHO has authorized the development of an adaptation of ICD-9 and ICD-10 to ICD-9-CM to ICD-10-CM for use in the United States for U.S. government purposes.

This value set includes codes from the following code systems:

  • Include these codes as defined in http://snomed.info/sct
    CodeDisplay
    160245001No current problems or disability
  • Include codes from http://snomed.info/sct where concept is-a 404684003 (Clinical finding (finding))
  • Include codes from http://snomed.info/sct where concept is-a 243796009 (Context-dependent category)
  • Include all codes defined in http://hl7.org/fhir/sid/icd-10-cm
  • Include all codes defined in http://hl7.org/fhir/sid/icd-9-cm
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code", + "version": "3.1.0", + "name": "USCoreConditionCode", + "title": "US Core Condition Code", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This describes the problem. Diagnosis/Problem List is broadly defined as a series of brief statements that catalog a patient's medical, nursing, dental, social, preventative and psychiatric events and issues that are relevant to that patient's healthcare (e.g., signs, symptoms, and defined conditions). ICD-10 is appropriate for Diagnosis information, and ICD-9 for historical information.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement. ICD-9 and ICD-10 are copyrighted by the World Health Organization (WHO) which owns and publishes the classification. See https://www.who.int/classifications/icd/en. WHO has authorized the development of an adaptation of ICD-9 and ICD-10 to ICD-9-CM to ICD-10-CM for use in the United States for U.S. government purposes. ", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "concept": [ + { + "code": "160245001" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "404684003" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "243796009" + } + ] + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-diagnosticreport-category.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-diagnosticreport-category.json new file mode 100644 index 000000000..761e226ff --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-diagnosticreport-category.json @@ -0,0 +1,48 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-diagnosticreport-category", + "text": { + "status": "generated", + "div": "

US Core DiagnosticReport Category

The US Core Diagnostic Report Category Value Set is a 'starter set' of categories supported for fetching and Diagnostic Reports and notes.

\n

Copyright Statement: This content LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-category", + "version": "3.1.0", + "name": "USCoreDiagnosticReportCategory", + "title": "US Core DiagnosticReport Category", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "description": "The US Core Diagnostic Report Category Value Set is a 'starter set' of categories supported for fetching and Diagnostic Reports and notes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": " This content LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use", + "compose": { + "include": [ + { + "system": "http://loinc.org", + "concept": [ + { + "code": "LP29684-5", + "display": "Radiology" + }, + { + "code": "LP29708-2", + "display": "Cardiology" + }, + { + "code": "LP7839-6", + "display": "Pathology" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-diagnosticreport-lab-codes.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-diagnosticreport-lab-codes.json new file mode 100644 index 000000000..97dec8614 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-diagnosticreport-lab-codes.json @@ -0,0 +1,52 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-diagnosticreport-lab-codes", + "text": { + "status": "generated", + "div": "

US Core Diagnostic Report Laboratory Codes

The Document Type value set includes all LOINC values whose CLASSTYPE is LABORATORY in the LOINC database

\n

Copyright Statement: This content from LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use.

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-lab-codes", + "version": "3.1.0", + "name": "USCoreDiagnosticReportLabCodes", + "title": "US Core Diagnostic Report Laboratory Codes", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "The Document Type value set includes all LOINC values whose CLASSTYPE is LABORATORY in the LOINC database", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This content from LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use.", + "compose": { + "include": [ + { + "system": "http://loinc.org", + "filter": [ + { + "property": "CLASSTYPE", + "op": "=", + "value": "1" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-diagnosticreport-report-and-note-codes.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-diagnosticreport-report-and-note-codes.json new file mode 100644 index 000000000..46ad220bc --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-diagnosticreport-report-and-note-codes.json @@ -0,0 +1,46 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-diagnosticreport-report-and-note-codes", + "text": { + "status": "generated", + "div": "

US Core Diagnosticreport Report And Note Codes

This value set currently contains all of LOINC. The codes selected should represent discrete and narrative diagnostic observations and reports

\n

Copyright Statement: This content from LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use.

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-report-and-note-codes", + "version": "3.1.0", + "name": "USCoreDiagnosticreportReportAndNoteCodes", + "title": "US Core Diagnosticreport Report And Note Codes", + "status": "active", + "experimental": false, + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This value set currently contains all of LOINC. The codes selected should represent discrete and narrative diagnostic observations and reports", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This content from LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use.", + "compose": { + "include": [ + { + "system": "http://loinc.org" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-documentreference-category.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-documentreference-category.json new file mode 100644 index 000000000..4e15eac92 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-documentreference-category.json @@ -0,0 +1,44 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-documentreference-category", + "text": { + "status": "generated", + "div": "

US Core DocumentReference Category

The US Core DocumentReferences Category Value Set is a 'starter set' of categories supported for fetching and storing clinical notes.

\n

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-category", + "version": "3.1.0", + "name": "USCoreDocumentReferenceCategory", + "title": "US Core DocumentReference Category", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "The US Core DocumentReferences Category Value Set is a 'starter set' of categories supported for fetching and storing clinical notes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-documentreference-type.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-documentreference-type.json new file mode 100644 index 000000000..b9803cdaf --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-documentreference-type.json @@ -0,0 +1,61 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-documentreference-type", + "text": { + "status": "generated", + "div": "

US Core DocumentReference Type

The US Core DocumentReference Type Value Set includes all LOINC values whose SCALE is DOC in the LOINC database and the HL7 v3 Code System NullFlavor concept 'unknown'

\n

Copyright Statement: This content from LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use.

This value set includes codes from the following code systems:

  • Include these codes as defined in http://terminology.hl7.org/CodeSystem/v3-NullFlavor
    CodeDisplay
    UNKunknownDescription:A proper value is applicable, but not known.
    \n \n Usage Notes: This means the actual value is not known. If the only thing that is unknown is how to properly express the value in the necessary constraints (value set, datatype, etc.), then the OTH or UNC flavor should be used. No properties should be included for a datatype with this property unless:
    \n \n Those properties themselves directly translate to a semantic of "unknown". (E.g. a local code sent as a translation that conveys 'unknown')\n Those properties further qualify the nature of what is unknown. (E.g. specifying a use code of "H" and a URL prefix of "tel:" to convey that it is the home phone number that is unknown.)
  • Include codes from http://loinc.org where SCALE_TYP = DOC
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-documentreference-type", + "version": "3.1.0", + "name": "USCoreDocumentReferenceType", + "title": "US Core DocumentReference Type", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "The US Core DocumentReference Type Value Set includes all LOINC values whose SCALE is DOC in the LOINC database and the HL7 v3 Code System NullFlavor concept 'unknown'", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This content from LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use.", + "compose": { + "include": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-NullFlavor", + "concept": [ + { + "code": "UNK", + "display": "unknown" + } + ] + }, + { + "system": "http://loinc.org", + "filter": [ + { + "property": "SCALE_TYP", + "op": "=", + "value": "DOC" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-encounter-type.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-encounter-type.json new file mode 100644 index 000000000..7fec0f893 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-encounter-type.json @@ -0,0 +1,61 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-encounter-type", + "text": { + "status": "generated", + "div": "

US Core Encounter Type

The type of encounter: a specific code indicating type of service provided. This value set includes codes from SNOMED CT decending from the concept 308335008 (Patient encounter procedure (procedure)) and from the Current Procedure and Terminology(CPT) designated for Evaluation and Management (99200 – 99607) (subscription to AMA Required)

\n

Copyright Statement: This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement. This value set includes content from CPT copyright 2014 American Medical Association. All rights reserved.

This value set includes codes from the following code systems:

  • Include codes from http://snomed.info/sct where concept is-a 308335008 (Patient encounter procedure)
  • Include all codes defined in http://www.ama-assn.org/go/cpt
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-encounter-type", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.3.88.12.80.32" + } + ], + "version": "3.1.0", + "name": "USCoreEncounterType", + "title": "US Core Encounter Type", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "The type of encounter: a specific code indicating type of service provided. This value set includes codes from SNOMED CT decending from the concept 308335008 (Patient encounter procedure (procedure)) and from the Current Procedure and Terminology(CPT) designated for Evaluation and Management (99200 – 99607) (subscription to AMA Required)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement. This value set includes content from CPT copyright 2014 American Medical Association. All rights reserved.", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "308335008" + } + ] + }, + { + "system": "http://www.ama-assn.org/go/cpt" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-medication-codes.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-medication-codes.json new file mode 100644 index 000000000..8f6b17afd --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-medication-codes.json @@ -0,0 +1,57 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-medication-codes", + "text": { + "status": "generated", + "div": "
\n\t\t\t

Medication Clinical Drug (RxNorm)

\n\t\t\t

All prescribable medication formulations represented using either a 'generic' or 'brand-specific' concept. This includes RxNorm codes whose Term Type is SCD (semantic clinical drug), SBD (semantic brand drug), GPCK (generic pack), BPCK (brand pack), SCDG (semantic clinical drug group), SBDG (semantic brand drug group), SCDF (semantic clinical drug form), or SBDF (semantic brand drug form)

\n\t\t\t

This value set includes codes from the following code systems:

\n\t\t\t
    \n\t\t\t\t
  • Include codes from http://www.nlm.nih.gov/research/umls/rxnorm where TTY in SCD,SBD,GPCK,BPCK,SCDG,SBDG,SCDF,SBDF
  • \n\t\t\t
\n\t\t
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113762.1.4.1010.4" + } + ], + "version": "3.1.0", + "name": "USCoreMedicationCodes", + "title": "US Core Medication Codes (RxNorm)", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "All prescribable medication formulations represented using either a 'generic' or 'brand-specific' concept. This includes RxNorm codes whose Term Type is SCD (semantic clinical drug), SBD (semantic brand drug), GPCK (generic pack), BPCK (brand pack), SCDG (semantic clinical drug group), SBDG (semantic brand drug group), SCDF (semantic clinical drug form), or SBDF (semantic brand drug form)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "filter": [ + { + "property": "TTY", + "op": "in", + "value": "SCD,SBD,GPCK,BPCK,SCDG,SBDG,SCDF,SBDF" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-narrative-status.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-narrative-status.json new file mode 100644 index 000000000..3ab84c165 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-narrative-status.json @@ -0,0 +1,55 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-narrative-status", + "text": { + "status": "generated", + "div": "

US Core Narrative Status

The US Core Narrative Status Value Set limits the text status for the resource narrative.

\n

Copyright Statement: HL7

This value set includes codes from the following code systems:

  • Include these codes as defined in http://hl7.org/fhir/narrative-status
    CodeDisplay
    additionaladditionalThe contents of the narrative may contain additional information not found in the structured data. Note that there is no computable way to determine what the extra information is, other than by human inspection.
    generatedgeneratedThe contents of the narrative are entirely generated from the core elements in the content.
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-narrative-status", + "version": "3.1.0", + "name": "NarrativeStatus", + "title": "US Core Narrative Status", + "status": "active", + "date": "2019-11-06T12:37:38+11:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "The US Core Narrative Status Value Set limits the text status for the resource narrative.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "HL7", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/narrative-status", + "concept": [ + { + "code": "additional", + "display": "additional" + }, + { + "code": "generated", + "display": "generated" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-ndc-vaccine-codes.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-ndc-vaccine-codes.json new file mode 100644 index 000000000..f4751fbe8 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-ndc-vaccine-codes.json @@ -0,0 +1,1297 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-ndc-vaccine-codes", + "text": { + "status": "generated", + "div": "

US Core Vaccine National Drug Codes (NDC)

This value set includes all the Vaccine National Drug Codes (NDC). This source of this data is provided by the CDC

\n

This value set includes codes from the following code systems:

  • Include these codes as defined in http://hl7.org/fhir/sid/ndc
    CodeDisplay
    49281-0703-55FLUZONE INTRADERMAL
    49281-0790-20Typhim Vi
    33332-0316-01AFLURIA QUADRIVALENT
    49281-0712-40FLUZONE INTRADERMAL QUADRIVALENT
    66521-0112-02Fluvirin
    58160-0816-05Hiberix
    00006-4837-02PNEUMOVAX 23
    58160-0808-15Influenza A (H5N1) Monovalent Vaccine, Adjuvanted
    58160-0842-51BOOSTRIX
    49281-0418-50FLUZONE QUADRIVALENT
    00006-4943-00PNEUMOVAX 23
    49281-0708-40FLUZONE INTRADERMAL QUADRIVALENT
    54868-0734-00ENGERIX-B
    58160-0819-12Shingrix
    49281-0517-25FLUZONE QUADRIVALENT
    00006-4133-41Tetanus and Diphtheria Toxoids Adsorbed
    50090-3096-00RabAvert
    33332-0118-10AFLURIA
    19515-0909-52Flulaval Quadrivalent
    49281-0650-10INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE
    58160-0820-11ENGERIX-B
    42515-0001-01IXIARO
    49281-0625-15FLUZONE QUADRIVALENT
    49281-0516-25FLUZONE QUADRIVALENT
    66521-0114-02FLUVIRIN
    19515-0896-11Flulaval Quadrivalent
    33332-0117-10AFLURIA
    33332-0416-10AFLURIA QUADRIVALENT
    66521-0118-02Fluvirin
    58160-0821-11ENGERIX-B
    00005-1971-05PREVNAR 13
    66019-0109-10FLUMIST
    49281-0278-10DIPHTHERIA AND TETANUS TOXOIDS ADSORBED
    49281-0011-10FLUZONE
    54868-2219-00RECOMBIVAX HB
    49281-0415-10FLUZONE QUADRIVALENT
    33332-0016-01AFLURIA
    49281-0705-55FLUZONE
    49281-0621-15FLUZONE QUADRIVALENT
    58160-0842-34BOOSTRIX
    49281-0010-10FLUZONE
    66521-0113-02FLUVIRIN
    49281-0514-25FLUZONE QUADRIVALENT
    58160-0842-52BOOSTRIX
    19515-0901-52Flulaval Quadrivalent
    62577-0613-01Flucelvax
    66019-0303-10FluMist Quadrivalent
    49281-0388-15FLUZONE
    00006-4841-41VAQTA
    58160-0900-52FLUARIX QUADRIVALENT
    70461-0200-01FLUCELVAX QUADRIVALENT
    49281-0915-05YF-VAX
    49281-0650-50INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE
    33332-0116-10AFLURIA
    54868-3339-01PNEUMOVAX 23
    49281-0418-10FLUZONE QUADRIVALENT
    58160-0812-52KINRIX
    49281-0286-05DAPTACEL
    63851-0612-01Flucelvax
    19515-0908-52Flulaval Quadrivalent
    54868-0980-00M-M-R II
    58160-0830-52CERVARIX
    49281-0113-25FLUZONE
    49281-0650-70INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE
    66521-0115-10FLUVIRIN
    49281-0417-50FLUZONE QUADRIVALENT
    33332-0113-10AFLURIA
    49281-0629-15FLUZONE QUADRIVALENT
    58160-0823-11Shingrix
    00006-4897-00PedvaxHIB
    58160-0821-34ENGERIX-B
    66521-0115-02FLUVIRIN
    33332-0014-01AFLURIA
    49281-0562-10QUADRACEL
    42874-0014-10Flublok
    42874-0013-10Flublok
    33332-0115-10AFLURIA
    00006-4963-00ZOSTAVAX
    49281-0010-25FLUZONE
    33332-0519-01Influenza A
    58160-0898-52FLUARIX QUADRIVALENT
    49281-0112-25FLUZONE
    19515-0898-11Flulaval Quadrivalent
    00006-4109-09GARDASIL
    49281-0414-50FLUZONE QUADRIVALENT
    00006-4095-09VAQTA
    00006-4045-00GARDASIL
    19515-0912-52Flulaval Quadrivalent
    58160-0801-11Menhibrix
    49281-0489-01MENOMUNE - A/C/Y/W-135 COMBINED
    42874-0017-10Flublok
    66521-0116-02Fluvirin
    46028-0208-01Menveo
    49281-0627-15FLUZONE QUADRIVALENT
    00005-0100-02Trumenba
    69401-0000-01Vivotif
    21695-0413-01Tetanus and Diphtheria Toxoids Adsorbed
    49281-0416-10FLUZONE QUADRIVALENT
    49281-0650-25INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE
    49281-0800-83TETANUS TOXOID ADSORBED
    49281-0291-83DECAVAC
    00006-4095-02VAQTA
    58160-0854-52ROTARIX
    19515-0889-07FLULAVAL
    49281-0392-15FLUZONE
    19515-0891-11Flulaval Quadrivalent
    49281-0400-05Adacel
    49281-0913-01STAMARIL
    49281-0640-15INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE
    49281-0513-25FLUZONE QUADRIVALENT
    00006-4171-00ProQuad
    00006-4096-09VAQTA
    58160-0830-34CERVARIX
    00006-4980-00RECOMBIVAX HB
    17478-0131-01Tetanus and Diphtheria Toxoids Adsorbed
    49281-0414-10FLUZONE QUADRIVALENT
    43528-0002-05HEPLISAV-B
    66521-0200-02Influenza A (H1N1) 2009 Monovalent Vaccine
    49281-0011-50FLUZONE
    70461-0120-10Fluvirin
    66019-0304-10FluMist Quadrivalent
    58160-0976-20Bexsero
    00006-4826-00VARIVAX
    66521-0116-10Fluvirin
    00006-4963-41ZOSTAVAX
    49281-0510-05PENTACEL
    42874-0012-10Flublok
    58160-0955-09Menveo
    00005-0100-05Trumenba
    49281-0707-55FLUZONE
    14362-0111-04Tetanus and Diphtheria Toxoids Adsorbed
    66521-0112-10Fluvirin
    66521-0117-10Fluvirin
    00006-4045-41GARDASIL
    49281-0389-65FLUZONE HIGH DOSE
    69401-0000-02Vivotif
    49281-0915-01YF-VAX
    00006-4093-02RECOMBIVAX HB
    58160-0815-48TWINRIX
    70460-0001-01Vaxchora
    58160-0826-11HAVRIX
    00006-4992-00RECOMBIVAX HB
    49281-0111-25FLUZONE
    00006-4093-09RECOMBIVAX HB
    50090-3469-00HEPLISAV-B
    49281-0403-65FLUZONE High-Dose
    70461-0119-10Fluvirin
    00006-4995-00RECOMBIVAX HB
    58160-0815-34TWINRIX
    49281-0393-65FLUZONE High-Dose
    00005-1970-50Prevnar
    33332-0017-01AFLURIA
    63851-0501-01RabAvert
    58160-0881-52FLUARIX
    64678-0211-01BioThrax
    49281-0394-15FLUZONE
    00006-4827-00VARIVAX
    58160-0806-05HIBERIX
    49281-0518-25FLUZONE QUADRIVALENT
    62195-0051-10Ixiaro
    63361-0245-10VAXELIS
    49281-0709-55FLUZONE Intradermal
    66019-0300-10FluMist Quadrivalent
    49281-0215-15TENIVAC
    58160-0825-52HAVRIX
    00005-0100-10Trumenba
    66521-0117-02Fluvirin
    49281-0650-90INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE
    42874-0015-10Flublok
    33332-0018-01AFLURIA
    00006-4999-00ProQuad
    00005-1971-04PREVNAR 13
    19515-0850-52FLULAVAL
    00005-1971-02PREVNAR 13
    00006-4094-02RECOMBIVAX HB
    00006-4096-02VAQTA
    58160-0825-11HAVRIX
    58160-0811-52PEDIARIX
    42515-0002-01IXIARO
    49281-0013-50FLUZONE
    76420-0483-01Medical Provider Single Use EZ Flu Shot 2013-2014
    66521-0118-10Fluvirin
    49281-0399-65FLUZONE High-Dose
    49281-0396-15FLUZONE
    66019-0107-01FLUMIST
    19515-0890-07FLULAVAL
    76420-0482-01Medical Provider Single Use EZ Flu Shot 2013-2014
    33332-0015-01AFLURIA
    66019-0302-10FluMist Quadrivalent
    49281-0012-10FLUZONE
    49281-0710-40FLUZONE INTRADERMAL QUADRIVALENT
    63851-0501-02RabAvert
    58160-0879-52FLUARIX
    49281-0397-65FLUZONE High-Dose
    00006-4831-41VAQTA
    58160-0815-46TWINRIX
    33332-0110-10AFLURIA
    54868-4320-00PNEUMOVAX 23
    42874-0016-10Flublok
    49281-0012-50FLUZONE
    58160-0818-11Hiberix
    49281-0386-15FLUZONE
    46028-0114-01Bexsero
    00006-4898-00COMVAX
    58160-0826-52HAVRIX
    49281-0545-05ActHIB
    66019-0108-10FLUMIST
    70461-0418-10FLUCELVAX QUADRIVALENT (MULTI-DOSE VIAL)
    00006-4094-09RECOMBIVAX HB
    49281-0298-10TRIPEDIA
    33332-0629-10Influenza A
    58160-0880-52FLUARIX
    00006-4047-20RotaTeq
    00006-4119-02GARDASIL 9
    58160-0842-11BOOSTRIX
    19515-0903-11Flulaval Quadrivalent
    00006-4981-00RECOMBIVAX HB
    58160-0905-52FLUARIX QUADRIVALENT
    49281-0401-65FLUZONE High-Dose
    33332-0114-10AFLURIA
    49281-0860-10IPOL
    70461-0318-03FLUCELVAX QUADRIVALENT (PREFILLED SYRINGE)
    54868-2219-01RECOMBIVAX HB
    49281-0718-10Flublok Quadrivalent
    49281-0400-15Adacel
    70461-0120-02Fluvirin
    49281-0416-50FLUZONE QUADRIVALENT
    49281-0413-50FLUZONE QUADRIVALENT
    58160-0883-52FLUARIX
    49281-0790-51Typhim Vi
    49281-0286-10DAPTACEL
    66019-0110-10FluMist
    46028-0114-02Bexsero
    58160-0821-52ENGERIX-B
    49281-0013-10FLUZONE
    19515-0894-52Flulaval Quadrivalent
    66019-0305-10FluMist Quadrivalent
    49281-0400-10Adacel
    49281-0390-15FLUZONE
    00052-0603-02BCG VACCINE
    51285-0138-50Adenovirus Type 4 and Type 7 Vaccine, Live
    33332-0417-10AFLURIA QUADRIVALENT
    49281-0395-65FLUZONE High-Dose
    66019-0301-10FluMist Quadrivalent
    49281-0215-10TENIVAC
    19515-0895-11Flulaval Quadrivalent
    70461-0201-01FLUCELVAX QUADRIVALENT (PREFILLED SYRINGE)
    58160-0907-52FLUARIX QUADRIVALENT
    55045-3841-01HAVRIX
    50090-2883-00INFANRIX
    49281-0820-10TETANUS TOXOID ADSORBED
    49281-0417-10FLUZONE QUADRIVALENT
    33332-0010-01AFLURIA
    33332-0013-01AFLURIA
    66521-0200-10Influenza A (H1N1) 2009 Monovalent Vaccine
    58160-0976-06Bexsero
    58160-0809-05MENHIBRIX
    00006-4739-00PNEUMOVAX 23
    70461-0018-03FLUAD
    49281-0413-10FLUZONE QUADRIVALENT
    13533-0131-01Tetanus and Diphtheria Toxoids Adsorbed
    58160-0812-11KINRIX
    49281-0391-65FLUZONE High-Dose
    19515-0845-11FLULAVAL
    58160-0811-51PEDIARIX
    58160-0815-52TWINRIX
    70461-0119-02Fluvirin
    58160-0810-52INFANRIX
    62577-0614-01Flucelvax
    42874-0117-10Flublok Quadrivalent
    49281-0489-91MENOMUNE - A/C/Y/W-135 COMBINED
    58160-0964-12RabAvert
    49281-0014-50FLUZONE
    00006-4109-02GARDASIL
    70461-0002-01FLUAD
    49281-0286-01DAPTACEL
    58160-0810-11INFANRIX
    19515-0900-11Flulaval Quadrivalent
    00006-4837-03PNEUMOVAX 23
    66521-0113-10FLUVIRIN
    58160-0826-34HAVRIX
    58160-0903-52FLUARIX QUADRIVALENT
    00006-4841-00VAQTA
    54868-6180-00FLUZONE
    00006-4681-00M-M-R II
    33332-0317-01AFLURIA QUADRIVALENT
    70461-0001-01FLUAD
    49281-0589-05Menactra
    49281-0387-65FLUZONE
    49281-0860-55IPOL
    19515-0893-07FLULAVAL
    33332-0519-25Influenza A
    70461-0301-10FLUCELVAX QUADRIVALENT (MULTI-DOSE VIAL)
    66019-0200-10Influenza A H1N1 Intranasal
    43528-0003-05HEPLISAV-B
    58160-0820-52ENGERIX-B
    66521-0000-01FLUAD
    49281-0250-51IMOVAX RABIES
    49281-0291-10DECAVAC
    33332-0418-10AFLURIA QUADRIVALENT
    00006-4121-02GARDASIL 9
    63851-0613-01FLUCELVAX
    66521-0114-10FLUVIRIN
    00006-4047-41RotaTeq
    58160-0901-52FLUARIX QUADRIVALENT
    33332-0318-01AFLURIA QUADRIVALENT
    00006-4119-03GARDASIL 9
    49281-0225-10DIPHTHERIA AND TETANUS TOXOIDS ADSORBED
    58160-0815-11TWINRIX
    54868-6177-00FLUZONE
    49281-0010-50FLUZONE
    49281-0400-20Adacel
    49281-0545-03ActHIB
    50090-1693-09IPOL
    00006-4995-41RECOMBIVAX HB
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-ndc-vaccine-codes", + "version": "3.1.0", + "name": "USCoreVaccineNationalDrugCode", + "title": "US Core Vaccine National Drug Codes (NDC)", + "status": "active", + "date": "2019-05-21T10:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "This value set includes all the Vaccine National Drug Codes (NDC). This source of this data is provided by the [CDC](https://www2a.cdc.gov/vaccines/iis/iisstandards/ndc_crosswalk.asp)", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "purpose": "Codes that are used as translations for CVS code for implementation of the Argonaut Immunization IG and MU2015 certification.", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/sid/ndc", + "concept": [ + { + "code": "49281-0703-55", + "display": "FLUZONE INTRADERMAL" + }, + { + "code": "49281-0790-20", + "display": "Typhim Vi" + }, + { + "code": "33332-0316-01", + "display": "AFLURIA QUADRIVALENT" + }, + { + "code": "49281-0712-40", + "display": "FLUZONE INTRADERMAL QUADRIVALENT" + }, + { + "code": "66521-0112-02", + "display": "Fluvirin" + }, + { + "code": "58160-0816-05", + "display": "Hiberix" + }, + { + "code": "00006-4837-02", + "display": "PNEUMOVAX 23" + }, + { + "code": "58160-0808-15", + "display": "Influenza A (H5N1) Monovalent Vaccine, Adjuvanted" + }, + { + "code": "58160-0842-51", + "display": "BOOSTRIX" + }, + { + "code": "49281-0418-50", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "00006-4943-00", + "display": "PNEUMOVAX 23" + }, + { + "code": "49281-0708-40", + "display": "FLUZONE INTRADERMAL QUADRIVALENT" + }, + { + "code": "54868-0734-00", + "display": "ENGERIX-B" + }, + { + "code": "58160-0819-12", + "display": "Shingrix" + }, + { + "code": "49281-0517-25", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "00006-4133-41", + "display": "Tetanus and Diphtheria Toxoids Adsorbed" + }, + { + "code": "50090-3096-00", + "display": "RabAvert" + }, + { + "code": "33332-0118-10", + "display": "AFLURIA" + }, + { + "code": "19515-0909-52", + "display": "Flulaval Quadrivalent" + }, + { + "code": "49281-0650-10", + "display": "INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE" + }, + { + "code": "58160-0820-11", + "display": "ENGERIX-B" + }, + { + "code": "42515-0001-01", + "display": "IXIARO" + }, + { + "code": "49281-0625-15", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "49281-0516-25", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "66521-0114-02", + "display": "FLUVIRIN" + }, + { + "code": "19515-0896-11", + "display": "Flulaval Quadrivalent" + }, + { + "code": "33332-0117-10", + "display": "AFLURIA" + }, + { + "code": "33332-0416-10", + "display": "AFLURIA QUADRIVALENT" + }, + { + "code": "66521-0118-02", + "display": "Fluvirin" + }, + { + "code": "58160-0821-11", + "display": "ENGERIX-B" + }, + { + "code": "00005-1971-05", + "display": "PREVNAR 13" + }, + { + "code": "66019-0109-10", + "display": "FLUMIST" + }, + { + "code": "49281-0278-10", + "display": "DIPHTHERIA AND TETANUS TOXOIDS ADSORBED" + }, + { + "code": "49281-0011-10", + "display": "FLUZONE" + }, + { + "code": "54868-2219-00", + "display": "RECOMBIVAX HB" + }, + { + "code": "49281-0415-10", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "33332-0016-01", + "display": "AFLURIA" + }, + { + "code": "49281-0705-55", + "display": "FLUZONE" + }, + { + "code": "49281-0621-15", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "58160-0842-34", + "display": "BOOSTRIX" + }, + { + "code": "49281-0010-10", + "display": "FLUZONE" + }, + { + "code": "66521-0113-02", + "display": "FLUVIRIN" + }, + { + "code": "49281-0514-25", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "58160-0842-52", + "display": "BOOSTRIX" + }, + { + "code": "19515-0901-52", + "display": "Flulaval Quadrivalent" + }, + { + "code": "62577-0613-01", + "display": "Flucelvax" + }, + { + "code": "66019-0303-10", + "display": "FluMist Quadrivalent" + }, + { + "code": "49281-0388-15", + "display": "FLUZONE" + }, + { + "code": "00006-4841-41", + "display": "VAQTA" + }, + { + "code": "58160-0900-52", + "display": "FLUARIX QUADRIVALENT" + }, + { + "code": "70461-0200-01", + "display": "FLUCELVAX QUADRIVALENT" + }, + { + "code": "49281-0915-05", + "display": "YF-VAX" + }, + { + "code": "49281-0650-50", + "display": "INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE" + }, + { + "code": "33332-0116-10", + "display": "AFLURIA" + }, + { + "code": "54868-3339-01", + "display": "PNEUMOVAX 23" + }, + { + "code": "49281-0418-10", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "58160-0812-52", + "display": "KINRIX" + }, + { + "code": "49281-0286-05", + "display": "DAPTACEL" + }, + { + "code": "63851-0612-01", + "display": "Flucelvax" + }, + { + "code": "19515-0908-52", + "display": "Flulaval Quadrivalent" + }, + { + "code": "54868-0980-00", + "display": "M-M-R II" + }, + { + "code": "58160-0830-52", + "display": "CERVARIX" + }, + { + "code": "49281-0113-25", + "display": "FLUZONE" + }, + { + "code": "49281-0650-70", + "display": "INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE" + }, + { + "code": "66521-0115-10", + "display": "FLUVIRIN" + }, + { + "code": "49281-0417-50", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "33332-0113-10", + "display": "AFLURIA" + }, + { + "code": "49281-0629-15", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "58160-0823-11", + "display": "Shingrix" + }, + { + "code": "00006-4897-00", + "display": "PedvaxHIB" + }, + { + "code": "58160-0821-34", + "display": "ENGERIX-B" + }, + { + "code": "66521-0115-02", + "display": "FLUVIRIN" + }, + { + "code": "33332-0014-01", + "display": "AFLURIA" + }, + { + "code": "49281-0562-10", + "display": "QUADRACEL" + }, + { + "code": "42874-0014-10", + "display": "Flublok" + }, + { + "code": "42874-0013-10", + "display": "Flublok" + }, + { + "code": "33332-0115-10", + "display": "AFLURIA" + }, + { + "code": "00006-4963-00", + "display": "ZOSTAVAX" + }, + { + "code": "49281-0010-25", + "display": "FLUZONE" + }, + { + "code": "33332-0519-01", + "display": "Influenza A" + }, + { + "code": "58160-0898-52", + "display": "FLUARIX QUADRIVALENT" + }, + { + "code": "49281-0112-25", + "display": "FLUZONE" + }, + { + "code": "19515-0898-11", + "display": "Flulaval Quadrivalent" + }, + { + "code": "00006-4109-09", + "display": "GARDASIL" + }, + { + "code": "49281-0414-50", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "00006-4095-09", + "display": "VAQTA" + }, + { + "code": "00006-4045-00", + "display": "GARDASIL" + }, + { + "code": "19515-0912-52", + "display": "Flulaval Quadrivalent" + }, + { + "code": "58160-0801-11", + "display": "Menhibrix" + }, + { + "code": "49281-0489-01", + "display": "MENOMUNE - A/C/Y/W-135 COMBINED" + }, + { + "code": "42874-0017-10", + "display": "Flublok" + }, + { + "code": "66521-0116-02", + "display": "Fluvirin" + }, + { + "code": "46028-0208-01", + "display": "Menveo" + }, + { + "code": "49281-0627-15", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "00005-0100-02", + "display": "Trumenba" + }, + { + "code": "69401-0000-01", + "display": "Vivotif" + }, + { + "code": "21695-0413-01", + "display": "Tetanus and Diphtheria Toxoids Adsorbed" + }, + { + "code": "49281-0416-10", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "49281-0650-25", + "display": "INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE" + }, + { + "code": "49281-0800-83", + "display": "TETANUS TOXOID ADSORBED" + }, + { + "code": "49281-0291-83", + "display": "DECAVAC" + }, + { + "code": "00006-4095-02", + "display": "VAQTA" + }, + { + "code": "58160-0854-52", + "display": "ROTARIX" + }, + { + "code": "19515-0889-07", + "display": "FLULAVAL" + }, + { + "code": "49281-0392-15", + "display": "FLUZONE" + }, + { + "code": "19515-0891-11", + "display": "Flulaval Quadrivalent" + }, + { + "code": "49281-0400-05", + "display": "Adacel" + }, + { + "code": "49281-0913-01", + "display": "STAMARIL" + }, + { + "code": "49281-0640-15", + "display": "INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE" + }, + { + "code": "49281-0513-25", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "00006-4171-00", + "display": "ProQuad" + }, + { + "code": "00006-4096-09", + "display": "VAQTA" + }, + { + "code": "58160-0830-34", + "display": "CERVARIX" + }, + { + "code": "00006-4980-00", + "display": "RECOMBIVAX HB" + }, + { + "code": "17478-0131-01", + "display": "Tetanus and Diphtheria Toxoids Adsorbed" + }, + { + "code": "49281-0414-10", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "43528-0002-05", + "display": "HEPLISAV-B" + }, + { + "code": "66521-0200-02", + "display": "Influenza A (H1N1) 2009 Monovalent Vaccine" + }, + { + "code": "49281-0011-50", + "display": "FLUZONE" + }, + { + "code": "70461-0120-10", + "display": "Fluvirin" + }, + { + "code": "66019-0304-10", + "display": "FluMist Quadrivalent" + }, + { + "code": "58160-0976-20", + "display": "Bexsero" + }, + { + "code": "00006-4826-00", + "display": "VARIVAX" + }, + { + "code": "66521-0116-10", + "display": "Fluvirin" + }, + { + "code": "00006-4963-41", + "display": "ZOSTAVAX" + }, + { + "code": "49281-0510-05", + "display": "PENTACEL" + }, + { + "code": "42874-0012-10", + "display": "Flublok" + }, + { + "code": "58160-0955-09", + "display": "Menveo" + }, + { + "code": "00005-0100-05", + "display": "Trumenba" + }, + { + "code": "49281-0707-55", + "display": "FLUZONE" + }, + { + "code": "14362-0111-04", + "display": "Tetanus and Diphtheria Toxoids Adsorbed" + }, + { + "code": "66521-0112-10", + "display": "Fluvirin" + }, + { + "code": "66521-0117-10", + "display": "Fluvirin" + }, + { + "code": "00006-4045-41", + "display": "GARDASIL" + }, + { + "code": "49281-0389-65", + "display": "FLUZONE HIGH DOSE" + }, + { + "code": "69401-0000-02", + "display": "Vivotif" + }, + { + "code": "49281-0915-01", + "display": "YF-VAX" + }, + { + "code": "00006-4093-02", + "display": "RECOMBIVAX HB" + }, + { + "code": "58160-0815-48", + "display": "TWINRIX" + }, + { + "code": "70460-0001-01", + "display": "Vaxchora" + }, + { + "code": "58160-0826-11", + "display": "HAVRIX" + }, + { + "code": "00006-4992-00", + "display": "RECOMBIVAX HB" + }, + { + "code": "49281-0111-25", + "display": "FLUZONE" + }, + { + "code": "00006-4093-09", + "display": "RECOMBIVAX HB" + }, + { + "code": "50090-3469-00", + "display": "HEPLISAV-B" + }, + { + "code": "49281-0403-65", + "display": "FLUZONE High-Dose" + }, + { + "code": "70461-0119-10", + "display": "Fluvirin" + }, + { + "code": "00006-4995-00", + "display": "RECOMBIVAX HB" + }, + { + "code": "58160-0815-34", + "display": "TWINRIX" + }, + { + "code": "49281-0393-65", + "display": "FLUZONE High-Dose" + }, + { + "code": "00005-1970-50", + "display": "Prevnar" + }, + { + "code": "33332-0017-01", + "display": "AFLURIA" + }, + { + "code": "63851-0501-01", + "display": "RabAvert" + }, + { + "code": "58160-0881-52", + "display": "FLUARIX" + }, + { + "code": "64678-0211-01", + "display": "BioThrax" + }, + { + "code": "49281-0394-15", + "display": "FLUZONE" + }, + { + "code": "00006-4827-00", + "display": "VARIVAX" + }, + { + "code": "58160-0806-05", + "display": "HIBERIX" + }, + { + "code": "49281-0518-25", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "62195-0051-10", + "display": "Ixiaro" + }, + { + "code": "63361-0245-10", + "display": "VAXELIS" + }, + { + "code": "49281-0709-55", + "display": "FLUZONE Intradermal" + }, + { + "code": "66019-0300-10", + "display": "FluMist Quadrivalent" + }, + { + "code": "49281-0215-15", + "display": "TENIVAC" + }, + { + "code": "58160-0825-52", + "display": "HAVRIX" + }, + { + "code": "00005-0100-10", + "display": "Trumenba" + }, + { + "code": "66521-0117-02", + "display": "Fluvirin" + }, + { + "code": "49281-0650-90", + "display": "INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE" + }, + { + "code": "42874-0015-10", + "display": "Flublok" + }, + { + "code": "33332-0018-01", + "display": "AFLURIA" + }, + { + "code": "00006-4999-00", + "display": "ProQuad" + }, + { + "code": "00005-1971-04", + "display": "PREVNAR 13" + }, + { + "code": "19515-0850-52", + "display": "FLULAVAL" + }, + { + "code": "00005-1971-02", + "display": "PREVNAR 13" + }, + { + "code": "00006-4094-02", + "display": "RECOMBIVAX HB" + }, + { + "code": "00006-4096-02", + "display": "VAQTA" + }, + { + "code": "58160-0825-11", + "display": "HAVRIX" + }, + { + "code": "58160-0811-52", + "display": "PEDIARIX" + }, + { + "code": "42515-0002-01", + "display": "IXIARO" + }, + { + "code": "49281-0013-50", + "display": "FLUZONE" + }, + { + "code": "76420-0483-01", + "display": "Medical Provider Single Use EZ Flu Shot 2013-2014" + }, + { + "code": "66521-0118-10", + "display": "Fluvirin" + }, + { + "code": "49281-0399-65", + "display": "FLUZONE High-Dose" + }, + { + "code": "49281-0396-15", + "display": "FLUZONE" + }, + { + "code": "66019-0107-01", + "display": "FLUMIST" + }, + { + "code": "19515-0890-07", + "display": "FLULAVAL" + }, + { + "code": "76420-0482-01", + "display": "Medical Provider Single Use EZ Flu Shot 2013-2014" + }, + { + "code": "33332-0015-01", + "display": "AFLURIA" + }, + { + "code": "66019-0302-10", + "display": "FluMist Quadrivalent" + }, + { + "code": "49281-0012-10", + "display": "FLUZONE" + }, + { + "code": "49281-0710-40", + "display": "FLUZONE INTRADERMAL QUADRIVALENT" + }, + { + "code": "63851-0501-02", + "display": "RabAvert" + }, + { + "code": "58160-0879-52", + "display": "FLUARIX" + }, + { + "code": "49281-0397-65", + "display": "FLUZONE High-Dose" + }, + { + "code": "00006-4831-41", + "display": "VAQTA" + }, + { + "code": "58160-0815-46", + "display": "TWINRIX" + }, + { + "code": "33332-0110-10", + "display": "AFLURIA" + }, + { + "code": "54868-4320-00", + "display": "PNEUMOVAX 23" + }, + { + "code": "42874-0016-10", + "display": "Flublok" + }, + { + "code": "49281-0012-50", + "display": "FLUZONE" + }, + { + "code": "58160-0818-11", + "display": "Hiberix" + }, + { + "code": "49281-0386-15", + "display": "FLUZONE" + }, + { + "code": "46028-0114-01", + "display": "Bexsero" + }, + { + "code": "00006-4898-00", + "display": "COMVAX" + }, + { + "code": "58160-0826-52", + "display": "HAVRIX" + }, + { + "code": "49281-0545-05", + "display": "ActHIB" + }, + { + "code": "66019-0108-10", + "display": "FLUMIST" + }, + { + "code": "70461-0418-10", + "display": "FLUCELVAX QUADRIVALENT (MULTI-DOSE VIAL)" + }, + { + "code": "00006-4094-09", + "display": "RECOMBIVAX HB" + }, + { + "code": "49281-0298-10", + "display": "TRIPEDIA" + }, + { + "code": "33332-0629-10", + "display": "Influenza A" + }, + { + "code": "58160-0880-52", + "display": "FLUARIX" + }, + { + "code": "00006-4047-20", + "display": "RotaTeq" + }, + { + "code": "00006-4119-02", + "display": "GARDASIL 9" + }, + { + "code": "58160-0842-11", + "display": "BOOSTRIX" + }, + { + "code": "19515-0903-11", + "display": "Flulaval Quadrivalent" + }, + { + "code": "00006-4981-00", + "display": "RECOMBIVAX HB" + }, + { + "code": "58160-0905-52", + "display": "FLUARIX QUADRIVALENT" + }, + { + "code": "49281-0401-65", + "display": "FLUZONE High-Dose" + }, + { + "code": "33332-0114-10", + "display": "AFLURIA" + }, + { + "code": "49281-0860-10", + "display": "IPOL" + }, + { + "code": "70461-0318-03", + "display": "FLUCELVAX QUADRIVALENT (PREFILLED SYRINGE)" + }, + { + "code": "54868-2219-01", + "display": "RECOMBIVAX HB" + }, + { + "code": "49281-0718-10", + "display": "Flublok Quadrivalent" + }, + { + "code": "49281-0400-15", + "display": "Adacel" + }, + { + "code": "70461-0120-02", + "display": "Fluvirin" + }, + { + "code": "49281-0416-50", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "49281-0413-50", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "58160-0883-52", + "display": "FLUARIX" + }, + { + "code": "49281-0790-51", + "display": "Typhim Vi" + }, + { + "code": "49281-0286-10", + "display": "DAPTACEL" + }, + { + "code": "66019-0110-10", + "display": "FluMist" + }, + { + "code": "46028-0114-02", + "display": "Bexsero" + }, + { + "code": "58160-0821-52", + "display": "ENGERIX-B" + }, + { + "code": "49281-0013-10", + "display": "FLUZONE" + }, + { + "code": "19515-0894-52", + "display": "Flulaval Quadrivalent" + }, + { + "code": "66019-0305-10", + "display": "FluMist Quadrivalent" + }, + { + "code": "49281-0400-10", + "display": "Adacel" + }, + { + "code": "49281-0390-15", + "display": "FLUZONE" + }, + { + "code": "00052-0603-02", + "display": "BCG VACCINE" + }, + { + "code": "51285-0138-50", + "display": "Adenovirus Type 4 and Type 7 Vaccine, Live" + }, + { + "code": "33332-0417-10", + "display": "AFLURIA QUADRIVALENT" + }, + { + "code": "49281-0395-65", + "display": "FLUZONE High-Dose" + }, + { + "code": "66019-0301-10", + "display": "FluMist Quadrivalent" + }, + { + "code": "49281-0215-10", + "display": "TENIVAC" + }, + { + "code": "19515-0895-11", + "display": "Flulaval Quadrivalent" + }, + { + "code": "70461-0201-01", + "display": "FLUCELVAX QUADRIVALENT (PREFILLED SYRINGE)" + }, + { + "code": "58160-0907-52", + "display": "FLUARIX QUADRIVALENT" + }, + { + "code": "55045-3841-01", + "display": "HAVRIX" + }, + { + "code": "50090-2883-00", + "display": "INFANRIX" + }, + { + "code": "49281-0820-10", + "display": "TETANUS TOXOID ADSORBED" + }, + { + "code": "49281-0417-10", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "33332-0010-01", + "display": "AFLURIA" + }, + { + "code": "33332-0013-01", + "display": "AFLURIA" + }, + { + "code": "66521-0200-10", + "display": "Influenza A (H1N1) 2009 Monovalent Vaccine" + }, + { + "code": "58160-0976-06", + "display": "Bexsero" + }, + { + "code": "58160-0809-05", + "display": "MENHIBRIX" + }, + { + "code": "00006-4739-00", + "display": "PNEUMOVAX 23" + }, + { + "code": "70461-0018-03", + "display": "FLUAD" + }, + { + "code": "49281-0413-10", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "13533-0131-01", + "display": "Tetanus and Diphtheria Toxoids Adsorbed" + }, + { + "code": "58160-0812-11", + "display": "KINRIX" + }, + { + "code": "49281-0391-65", + "display": "FLUZONE High-Dose" + }, + { + "code": "19515-0845-11", + "display": "FLULAVAL" + }, + { + "code": "58160-0811-51", + "display": "PEDIARIX" + }, + { + "code": "58160-0815-52", + "display": "TWINRIX" + }, + { + "code": "70461-0119-02", + "display": "Fluvirin" + }, + { + "code": "58160-0810-52", + "display": "INFANRIX" + }, + { + "code": "62577-0614-01", + "display": "Flucelvax" + }, + { + "code": "42874-0117-10", + "display": "Flublok Quadrivalent" + }, + { + "code": "49281-0489-91", + "display": "MENOMUNE - A/C/Y/W-135 COMBINED" + }, + { + "code": "58160-0964-12", + "display": "RabAvert" + }, + { + "code": "49281-0014-50", + "display": "FLUZONE" + }, + { + "code": "00006-4109-02", + "display": "GARDASIL" + }, + { + "code": "70461-0002-01", + "display": "FLUAD" + }, + { + "code": "49281-0286-01", + "display": "DAPTACEL" + }, + { + "code": "58160-0810-11", + "display": "INFANRIX" + }, + { + "code": "19515-0900-11", + "display": "Flulaval Quadrivalent" + }, + { + "code": "00006-4837-03", + "display": "PNEUMOVAX 23" + }, + { + "code": "66521-0113-10", + "display": "FLUVIRIN" + }, + { + "code": "58160-0826-34", + "display": "HAVRIX" + }, + { + "code": "58160-0903-52", + "display": "FLUARIX QUADRIVALENT" + }, + { + "code": "00006-4841-00", + "display": "VAQTA" + }, + { + "code": "54868-6180-00", + "display": "FLUZONE" + }, + { + "code": "00006-4681-00", + "display": "M-M-R II" + }, + { + "code": "33332-0317-01", + "display": "AFLURIA QUADRIVALENT" + }, + { + "code": "70461-0001-01", + "display": "FLUAD" + }, + { + "code": "49281-0589-05", + "display": "Menactra" + }, + { + "code": "49281-0387-65", + "display": "FLUZONE" + }, + { + "code": "49281-0860-55", + "display": "IPOL" + }, + { + "code": "19515-0893-07", + "display": "FLULAVAL" + }, + { + "code": "33332-0519-25", + "display": "Influenza A" + }, + { + "code": "70461-0301-10", + "display": "FLUCELVAX QUADRIVALENT (MULTI-DOSE VIAL)" + }, + { + "code": "66019-0200-10", + "display": "Influenza A H1N1 Intranasal" + }, + { + "code": "43528-0003-05", + "display": "HEPLISAV-B" + }, + { + "code": "58160-0820-52", + "display": "ENGERIX-B" + }, + { + "code": "66521-0000-01", + "display": "FLUAD" + }, + { + "code": "49281-0250-51", + "display": "IMOVAX RABIES" + }, + { + "code": "49281-0291-10", + "display": "DECAVAC" + }, + { + "code": "33332-0418-10", + "display": "AFLURIA QUADRIVALENT" + }, + { + "code": "00006-4121-02", + "display": "GARDASIL 9" + }, + { + "code": "63851-0613-01", + "display": "FLUCELVAX" + }, + { + "code": "66521-0114-10", + "display": "FLUVIRIN" + }, + { + "code": "00006-4047-41", + "display": "RotaTeq" + }, + { + "code": "58160-0901-52", + "display": "FLUARIX QUADRIVALENT" + }, + { + "code": "33332-0318-01", + "display": "AFLURIA QUADRIVALENT" + }, + { + "code": "00006-4119-03", + "display": "GARDASIL 9" + }, + { + "code": "49281-0225-10", + "display": "DIPHTHERIA AND TETANUS TOXOIDS ADSORBED" + }, + { + "code": "58160-0815-11", + "display": "TWINRIX" + }, + { + "code": "54868-6177-00", + "display": "FLUZONE" + }, + { + "code": "49281-0010-50", + "display": "FLUZONE" + }, + { + "code": "49281-0400-20", + "display": "Adacel" + }, + { + "code": "49281-0545-03", + "display": "ActHIB" + }, + { + "code": "50090-1693-09", + "display": "IPOL" + }, + { + "code": "00006-4995-41", + "display": "RECOMBIVAX HB" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-observation-smoking-status-status.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-observation-smoking-status-status.json new file mode 100644 index 000000000..8b8c61d5f --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-observation-smoking-status-status.json @@ -0,0 +1,52 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-observation-smoking-status-status", + "text": { + "status": "generated", + "div": "

US Core Status for Smoking Status Observation

Codes providing the status of an observation for smoking status. Constrained to finaland entered-in-error.

\n

This value set includes codes from the following code systems:

  • Include these codes as defined in http://hl7.org/fhir/observation-status
    CodeDisplay
    finalFinalThe observation is complete and there are no further actions needed. Additional information such "released", "signed", etc would be represented using [Provenance](provenance.html) which provides not only the act but also the actors and dates and other related data. These act states would be associated with an observation status of `preliminary` until they are all completed and then a status of `final` would be applied.
    entered-in-errorEntered in ErrorThe observation has been withdrawn following previous final release. This electronic record should never have existed, though it is possible that real-world decisions were based on it. (If real-world activity has occurred, the status should be "cancelled" rather than "entered-in-error".).
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smoking-status-status", + "version": "3.1.0", + "name": "USCoreObservationSmokingStatusStatus", + "title": "US Core Status for Smoking Status Observation", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "Codes providing the status of an observation for smoking status. Constrained to `final`and `entered-in-error`.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/observation-status", + "concept": [ + { + "code": "final" + }, + { + "code": "entered-in-error" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-observation-smokingstatus.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-observation-smokingstatus.json new file mode 100644 index 000000000..836b6a564 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-observation-smokingstatus.json @@ -0,0 +1,85 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-observation-smokingstatus", + "text": { + "status": "generated", + "div": "

US Core Smoking Status

This value set indicates the current smoking status of a patient.

\n

Copyright Statement: This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-smokingstatus", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.4.642.2.602" + } + ], + "version": "3.1.0", + "name": "USCoreSmokingStatus", + "title": "US Core Smoking Status", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This value set indicates the current smoking status of a patient.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "concept": [ + { + "code": "449868002", + "display": "Current every day smoker" + }, + { + "code": "428041000124106", + "display": "Current some day smoker" + }, + { + "code": "8517006", + "display": "Former smoker" + }, + { + "code": "266919005", + "display": "Never smoker" + }, + { + "code": "77176002", + "display": "Smoker, current status unknown" + }, + { + "code": "266927001", + "display": "Unknown if ever smoked" + }, + { + "code": "428071000124103", + "display": "Current Heavy tobacco smoker" + }, + { + "code": "428061000124105", + "display": "Current Light tobacco smoker" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-observation-value-codes.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-observation-value-codes.json new file mode 100644 index 000000000..e8c1a39e8 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-observation-value-codes.json @@ -0,0 +1,49 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-observation-value-codes", + "text": { + "status": "generated", + "div": "

US Core Observation Value Codes (SNOMED-CT)

Snomed-CT concept codes for coded results

\n

Copyright Statement: This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-value-codes", + "version": "3.1.0", + "name": "USCoreObservationValueCodes", + "title": "US Core Observation Value Codes (SNOMED-CT)", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + }, + { + "system": "email", + "value": "fhir@lists.hl7.org" + } + ] + } + ], + "description": "[Snomed-CT](http://www.ihtsdo.org/) concept codes for coded results", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-procedure-code.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-procedure-code.json new file mode 100644 index 000000000..87e6c6ebe --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-procedure-code.json @@ -0,0 +1,58 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-procedure-code", + "text": { + "status": "generated", + "div": "

US Core Procedure Codes

This example value set defines a set of codes that can be used to indicate the type of procedure: a specific code indicating type of procedure performed, from CPT, SNOMED CT, or HCPCS Level II Alphanumeric Codes.

\n

Copyright Statement: CPT copyright 2014 American Medical Association. All rights reserved. This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement

This value set includes codes from the following code systems:

  • Include all codes defined in http://www.ama-assn.org/go/cpt
  • Include codes from http://snomed.info/sct where concept is-a 71388002 (Procedure)
  • Include all codes defined in urn:oid:2.16.840.1.113883.6.285
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code", + "version": "3.1.0", + "name": "USCoreProcedureCodes", + "title": "US Core Procedure Codes", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This example value set defines a set of codes that can be used to indicate the type of procedure: a specific code indicating type of procedure performed, from CPT, SNOMED CT, or HCPCS Level II Alphanumeric Codes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "CPT copyright 2014 American Medical Association. All rights reserved. This value set includes content from SNOMED CT, which is copyright © 2002+ International Health Terminology Standards Development Organisation (IHTSDO), and distributed by agreement between IHTSDO and HL7. Implementer use of SNOMED CT is not covered by this agreement", + "compose": { + "include": [ + { + "system": "http://www.ama-assn.org/go/cpt" + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "71388002" + } + ] + }, + { + "system": "urn:oid:2.16.840.1.113883.6.285" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-procedure-icd10pcs.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-procedure-icd10pcs.json new file mode 100644 index 000000000..346a73e9d --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-procedure-icd10pcs.json @@ -0,0 +1,45 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-procedure-icd10pcs", + "text": { + "status": "generated", + "div": "

US Core ICD-10-PCS Procedure Codes

This value set defines a set of codes from ICD10-PCS that can be used to indicate a type of procedure performed

\n

Copyright Statement: The International Classification of Diseases, Tenth Revision, Procedure Coding System (ICD-10-PCS) was developed for the Centers for Medicare and Medicaid Services (CMS). CMS is the U.S. governmental agency responsible for overseeing all changes and modifications to the ICD-10-PCS.

This value set includes codes from the following code systems:

  • Include all codes defined in http://www.icd10data.com/icd10pcs
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-icd10pcs", + "version": "3.1.0", + "name": "USCoreIcd_10PcsProcedureCodes", + "title": "US Core ICD-10-PCS Procedure Codes", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This value set defines a set of codes from ICD10-PCS that can be used to indicate a type of procedure performed", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "The International Classification of Diseases, Tenth Revision, Procedure Coding System (ICD-10-PCS) was developed for the Centers for Medicare and Medicaid Services (CMS). CMS is the U.S. governmental agency responsible for overseeing all changes and modifications to the ICD-10-PCS.", + "compose": { + "include": [ + { + "system": "http://www.icd10data.com/icd10pcs" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-provenance-participant-type.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-provenance-participant-type.json new file mode 100644 index 000000000..94e875c6d --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-provenance-participant-type.json @@ -0,0 +1,38 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-provenance-participant-type", + "text": { + "status": "generated", + "div": "

US Core Provenance Participant Type Codes

The type of participation a provenance agent played for a given target.

\n

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provenance-participant-type", + "version": "3.1.0", + "name": "USCoreProvenancePaticipantTypeCodes", + "title": "US Core Provenance Participant Type Codes", + "status": "active", + "date": "2019-08-28T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "description": "The type of participation a provenance agent played for a given target.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "purpose": "So API consumers can identify the provenance participant type.", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type" + }, + { + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-provider-role.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-provider-role.json new file mode 100644 index 000000000..946226f4b --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-provider-role.json @@ -0,0 +1,995 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-provider-role", + "text": { + "status": "generated", + "div": "

US Core Provider Role (NUCC)

Provider roles codes which are composed of the NUCC Health Care Provider Taxonomy Code Set classification codes for providers. Only concepts with a classification and no specialization are included.

\n

Copyright Statement: This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained.

This value set includes codes from the following code systems:

  • Include these codes as defined in http://nucc.org/provider-taxonomy
    CodeDisplay
    101Y00000XCounselor
    102L00000XPsychoanalyst
    102X00000XPoetry Therapist
    103G00000XClinical Neuropsychologist
    103K00000XBehavior Analyst
    103T00000XPsychologist
    104100000XSocial Worker
    106E00000XAssistant Behavior Analyst
    106H00000XMarriage & Family Therapist
    106S00000XBehavior Technician
    111N00000XChiropractor
    122300000XDentist
    122400000XDenturist
    124Q00000XDental Hygienist
    125J00000XDental Therapist
    125K00000XAdvanced Practice Dental Therapist
    125Q00000XOral Medicinist
    126800000XDental Assistant
    126900000XDental Laboratory Technician
    132700000XDietary Manager
    133N00000XNutritionist
    133V00000XDietitian, Registered
    136A00000XDietetic Technician, Registered
    146D00000XPersonal Emergency Response Attendant
    146L00000XEmergency Medical Technician, Paramedic
    146M00000XEmergency Medical Technician, Intermediate
    146N00000XEmergency Medical Technician, Basic
    152W00000XOptometrist
    156F00000XTechnician/Technologist
    163W00000XRegistered Nurse
    164W00000XLicensed Practical Nurse
    164X00000XLicensed Vocational Nurse
    167G00000XLicensed Psychiatric Technician
    170100000XMedical Genetics, Ph.D. Medical Genetics
    170300000XGenetic Counselor, MS
    171000000XMilitary Health Care Provider
    171100000XAcupuncturist
    171M00000XCase Manager/Care Coordinator
    171R00000XInterpreter
    171W00000XContractor
    172A00000XDriver
    172M00000XMechanotherapist
    172P00000XNaprapath
    172V00000XCommunity Health Worker
    173000000XLegal Medicine
    173C00000XReflexologist
    173F00000XSleep Specialist, PhD
    174200000XMeals
    174400000XSpecialist
    174H00000XHealth Educator
    174M00000XVeterinarian
    174N00000XLactation Consultant, Non-RN
    174V00000XClinical Ethicist
    175F00000XNaturopath
    175L00000XHomeopath
    175M00000XMidwife, Lay
    175T00000XPeer Specialist
    176B00000XMidwife
    176P00000XFuneral Director
    177F00000XLodging
    183500000XPharmacist
    183700000XPharmacy Technician
    193200000XMulti-Specialty
    193400000XSingle Specialty
    202C00000XIndependent Medical Examiner
    202K00000XPhlebology
    204C00000XNeuromusculoskeletal Medicine, Sports Medicine
    204D00000XNeuromusculoskeletal Medicine & OMM
    204E00000XOral & Maxillofacial Surgery
    204F00000XTransplant Surgery
    204R00000XElectrodiagnostic Medicine
    207K00000XAllergy & Immunology
    207L00000XAnesthesiology
    207N00000XDermatology
    207P00000XEmergency Medicine
    207Q00000XFamily Medicine
    207R00000XInternal Medicine
    207T00000XNeurological Surgery
    207U00000XNuclear Medicine
    207V00000XObstetrics & Gynecology
    207W00000XOphthalmology
    207X00000XOrthopaedic Surgery
    207Y00000XOtolaryngology
    208000000XPediatrics
    208100000XPhysical Medicine & Rehabilitation
    208200000XPlastic Surgery
    208600000XSurgery
    208800000XUrology
    208C00000XColon & Rectal Surgery
    208D00000XGeneral Practice
    208G00000XThoracic Surgery (Cardiothoracic Vascular Surgery)
    208M00000XHospitalist
    208U00000XClinical Pharmacology
    209800000XLegal Medicine
    211D00000XAssistant, Podiatric
    213E00000XPodiatrist
    221700000XArt Therapist
    222Q00000XDevelopmental Therapist
    222Z00000XOrthotist
    224900000XMastectomy Fitter
    224L00000XPedorthist
    224P00000XProsthetist
    224Y00000XClinical Exercise Physiologist
    224Z00000XOccupational Therapy Assistant
    225000000XOrthotic Fitter
    225100000XPhysical Therapist
    225200000XPhysical Therapy Assistant
    225400000XRehabilitation Practitioner
    225500000XSpecialist/Technologist
    225600000XDance Therapist
    225700000XMassage Therapist
    225800000XRecreation Therapist
    225A00000XMusic Therapist
    225B00000XPulmonary Function Technologist
    225C00000XRehabilitation Counselor
    225X00000XOccupational Therapist
    226000000XRecreational Therapist Assistant
    226300000XKinesiotherapist
    227800000XRespiratory Therapist, Certified
    227900000XRespiratory Therapist, Registered
    229N00000XAnaplastologist
    231H00000XAudiologist
    235500000XSpecialist/Technologist
    235Z00000XSpeech-Language Pathologist
    237600000XAudiologist-Hearing Aid Fitter
    237700000XHearing Instrument Specialist
    242T00000XPerfusionist
    243U00000XRadiology Practitioner Assistant
    246Q00000XSpecialist/Technologist, Pathology
    246R00000XTechnician, Pathology
    246W00000XTechnician, Cardiology
    246X00000XSpecialist/Technologist Cardiovascular
    246Y00000XSpecialist/Technologist, Health Information
    246Z00000XSpecialist/Technologist, Other
    247000000XTechnician, Health Information
    247100000XRadiologic Technologist
    247200000XTechnician, Other
    251300000XLocal Education Agency (LEA)
    251B00000XCase Management
    251C00000XDay Training, Developmentally Disabled Services
    251E00000XHome Health
    251F00000XHome Infusion
    251G00000XHospice Care, Community Based
    251J00000XNursing Care
    251K00000XPublic Health or Welfare
    251S00000XCommunity/Behavioral Health
    251T00000XProgram of All-Inclusive Care for the Elderly (PACE) Provider Organization
    251V00000XVoluntary or Charitable
    251X00000XSupports Brokerage
    252Y00000XEarly Intervention Provider Agency
    253J00000XFoster Care Agency
    253Z00000XIn Home Supportive Care
    261Q00000XClinic/Center
    273100000XEpilepsy Unit
    273R00000XPsychiatric Unit
    273Y00000XRehabilitation Unit
    275N00000XMedicare Defined Swing Bed Unit
    276400000XRehabilitation, Substance Use Disorder Unit
    281P00000XChronic Disease Hospital
    282E00000XLong Term Care Hospital
    282J00000XReligious Nonmedical Health Care Institution
    282N00000XGeneral Acute Care Hospital
    283Q00000XPsychiatric Hospital
    283X00000XRehabilitation Hospital
    284300000XSpecial Hospital
    286500000XMilitary Hospital
    287300000XChristian Science Sanitorium
    291900000XMilitary Clinical Medical Laboratory
    291U00000XClinical Medical Laboratory
    292200000XDental Laboratory
    293D00000XPhysiological Laboratory
    302F00000XExclusive Provider Organization
    302R00000XHealth Maintenance Organization
    305R00000XPreferred Provider Organization
    305S00000XPoint of Service
    310400000XAssisted Living Facility
    310500000XIntermediate Care Facility, Mental Illness
    311500000XAlzheimer Center (Dementia Center)
    311Z00000XCustodial Care Facility
    313M00000XNursing Facility/Intermediate Care Facility
    314000000XSkilled Nursing Facility
    315D00000XHospice, Inpatient
    315P00000XIntermediate Care Facility, Mentally Retarded
    317400000XChristian Science Facility
    320600000XResidential Treatment Facility, Mental Retardation and/or Developmental Disabilities
    320700000XResidential Treatment Facility, Physical Disabilities
    320800000XCommunity Based Residential Treatment Facility, Mental Illness
    320900000XCommunity Based Residential Treatment Facility, Mental Retardation and/or Developmental Disabilities
    322D00000XResidential Treatment Facility, Emotionally Disturbed Children
    323P00000XPsychiatric Residential Treatment Facility
    324500000XSubstance Abuse Rehabilitation Facility
    331L00000XBlood Bank
    332000000XMilitary/U.S. Coast Guard Pharmacy
    332100000XDepartment of Veterans Affairs (VA) Pharmacy
    332800000XIndian Health Service/Tribal/Urban Indian Health (I/T/U) Pharmacy
    332900000XNon-Pharmacy Dispensing Site
    332B00000XDurable Medical Equipment & Medical Supplies
    332G00000XEye Bank
    332H00000XEyewear Supplier
    332S00000XHearing Aid Equipment
    332U00000XHome Delivered Meals
    333300000XEmergency Response System Companies
    333600000XPharmacy
    335E00000XProsthetic/Orthotic Supplier
    335G00000XMedical Foods Supplier
    335U00000XOrgan Procurement Organization
    335V00000XPortable X-ray and/or Other Portable Diagnostic Imaging Supplier
    341600000XAmbulance
    341800000XMilitary/U.S. Coast Guard Transport
    343800000XSecured Medical Transport (VAN)
    343900000XNon-emergency Medical Transport (VAN)
    344600000XTaxi
    344800000XAir Carrier
    347B00000XBus
    347C00000XPrivate Vehicle
    347D00000XTrain
    347E00000XTransportation Broker
    363A00000XPhysician Assistant
    363L00000XNurse Practitioner
    364S00000XClinical Nurse Specialist
    367500000XNurse Anesthetist, Certified Registered
    367A00000XAdvanced Practice Midwife
    367H00000XAnesthesiologist Assistant
    372500000XChore Provider
    372600000XAdult Companion
    373H00000XDay Training/Habilitation Specialist
    374700000XTechnician
    374J00000XDoula
    374K00000XReligious Nonmedical Practitioner
    374T00000XReligious Nonmedical Nursing Personnel
    374U00000XHome Health Aide
    376G00000XNursing Home Administrator
    376J00000XHomemaker
    376K00000XNurse's Aide
    385H00000XRespite Care
    390200000XStudent in an Organized Health Care Education/Training Program
    405300000XPrevention Professional
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role", + "version": "3.1.0", + "name": "USCoreProviderRoleNucc", + "title": "US Core Provider Role (NUCC)", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "Provider roles codes which are composed of the NUCC Health Care Provider Taxonomy Code Set classification codes for providers. Only concepts with a classification and no specialization are included. ", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained.", + "compose": { + "include": [ + { + "system": "http://nucc.org/provider-taxonomy", + "concept": [ + { + "code": "101Y00000X", + "display": "Counselor" + }, + { + "code": "102L00000X", + "display": "Psychoanalyst" + }, + { + "code": "102X00000X", + "display": "Poetry Therapist" + }, + { + "code": "103G00000X", + "display": "Clinical Neuropsychologist" + }, + { + "code": "103K00000X", + "display": "Behavior Analyst" + }, + { + "code": "103T00000X", + "display": "Psychologist" + }, + { + "code": "104100000X", + "display": "Social Worker" + }, + { + "code": "106E00000X", + "display": "Assistant Behavior Analyst" + }, + { + "code": "106H00000X", + "display": "Marriage & Family Therapist" + }, + { + "code": "106S00000X", + "display": "Behavior Technician" + }, + { + "code": "111N00000X", + "display": "Chiropractor" + }, + { + "code": "122300000X", + "display": "Dentist" + }, + { + "code": "122400000X", + "display": "Denturist" + }, + { + "code": "124Q00000X", + "display": "Dental Hygienist" + }, + { + "code": "125J00000X", + "display": "Dental Therapist" + }, + { + "code": "125K00000X", + "display": "Advanced Practice Dental Therapist" + }, + { + "code": "125Q00000X", + "display": "Oral Medicinist" + }, + { + "code": "126800000X", + "display": "Dental Assistant" + }, + { + "code": "126900000X", + "display": "Dental Laboratory Technician" + }, + { + "code": "132700000X", + "display": "Dietary Manager" + }, + { + "code": "133N00000X", + "display": "Nutritionist" + }, + { + "code": "133V00000X", + "display": "Dietitian, Registered" + }, + { + "code": "136A00000X", + "display": "Dietetic Technician, Registered" + }, + { + "code": "146D00000X", + "display": "Personal Emergency Response Attendant" + }, + { + "code": "146L00000X", + "display": "Emergency Medical Technician, Paramedic" + }, + { + "code": "146M00000X", + "display": "Emergency Medical Technician, Intermediate" + }, + { + "code": "146N00000X", + "display": "Emergency Medical Technician, Basic" + }, + { + "code": "152W00000X", + "display": "Optometrist" + }, + { + "code": "156F00000X", + "display": "Technician/Technologist" + }, + { + "code": "163W00000X", + "display": "Registered Nurse" + }, + { + "code": "164W00000X", + "display": "Licensed Practical Nurse" + }, + { + "code": "164X00000X", + "display": "Licensed Vocational Nurse" + }, + { + "code": "167G00000X", + "display": "Licensed Psychiatric Technician" + }, + { + "code": "170100000X", + "display": "Medical Genetics, Ph.D. Medical Genetics" + }, + { + "code": "170300000X", + "display": "Genetic Counselor, MS" + }, + { + "code": "171000000X", + "display": "Military Health Care Provider" + }, + { + "code": "171100000X", + "display": "Acupuncturist" + }, + { + "code": "171M00000X", + "display": "Case Manager/Care Coordinator" + }, + { + "code": "171R00000X", + "display": "Interpreter" + }, + { + "code": "171W00000X", + "display": "Contractor" + }, + { + "code": "172A00000X", + "display": "Driver" + }, + { + "code": "172M00000X", + "display": "Mechanotherapist" + }, + { + "code": "172P00000X", + "display": "Naprapath" + }, + { + "code": "172V00000X", + "display": "Community Health Worker" + }, + { + "code": "173000000X", + "display": "Legal Medicine" + }, + { + "code": "173C00000X", + "display": "Reflexologist" + }, + { + "code": "173F00000X", + "display": "Sleep Specialist, PhD" + }, + { + "code": "174200000X", + "display": "Meals" + }, + { + "code": "174400000X", + "display": "Specialist" + }, + { + "code": "174H00000X", + "display": "Health Educator" + }, + { + "code": "174M00000X", + "display": "Veterinarian" + }, + { + "code": "174N00000X", + "display": "Lactation Consultant, Non-RN" + }, + { + "code": "174V00000X", + "display": "Clinical Ethicist" + }, + { + "code": "175F00000X", + "display": "Naturopath" + }, + { + "code": "175L00000X", + "display": "Homeopath" + }, + { + "code": "175M00000X", + "display": "Midwife, Lay" + }, + { + "code": "175T00000X", + "display": "Peer Specialist" + }, + { + "code": "176B00000X", + "display": "Midwife" + }, + { + "code": "176P00000X", + "display": "Funeral Director" + }, + { + "code": "177F00000X", + "display": "Lodging" + }, + { + "code": "183500000X", + "display": "Pharmacist" + }, + { + "code": "183700000X", + "display": "Pharmacy Technician" + }, + { + "code": "193200000X", + "display": "Multi-Specialty" + }, + { + "code": "193400000X", + "display": "Single Specialty" + }, + { + "code": "202C00000X", + "display": "Independent Medical Examiner" + }, + { + "code": "202K00000X", + "display": "Phlebology" + }, + { + "code": "204C00000X", + "display": "Neuromusculoskeletal Medicine, Sports Medicine" + }, + { + "code": "204D00000X", + "display": "Neuromusculoskeletal Medicine & OMM" + }, + { + "code": "204E00000X", + "display": "Oral & Maxillofacial Surgery" + }, + { + "code": "204F00000X", + "display": "Transplant Surgery" + }, + { + "code": "204R00000X", + "display": "Electrodiagnostic Medicine" + }, + { + "code": "207K00000X", + "display": "Allergy & Immunology" + }, + { + "code": "207L00000X", + "display": "Anesthesiology" + }, + { + "code": "207N00000X", + "display": "Dermatology" + }, + { + "code": "207P00000X", + "display": "Emergency Medicine" + }, + { + "code": "207Q00000X", + "display": "Family Medicine" + }, + { + "code": "207R00000X", + "display": "Internal Medicine" + }, + { + "code": "207T00000X", + "display": "Neurological Surgery" + }, + { + "code": "207U00000X", + "display": "Nuclear Medicine" + }, + { + "code": "207V00000X", + "display": "Obstetrics & Gynecology" + }, + { + "code": "207W00000X", + "display": "Ophthalmology" + }, + { + "code": "207X00000X", + "display": "Orthopaedic Surgery" + }, + { + "code": "207Y00000X", + "display": "Otolaryngology" + }, + { + "code": "208000000X", + "display": "Pediatrics" + }, + { + "code": "208100000X", + "display": "Physical Medicine & Rehabilitation" + }, + { + "code": "208200000X", + "display": "Plastic Surgery" + }, + { + "code": "208600000X", + "display": "Surgery" + }, + { + "code": "208800000X", + "display": "Urology" + }, + { + "code": "208C00000X", + "display": "Colon & Rectal Surgery" + }, + { + "code": "208D00000X", + "display": "General Practice" + }, + { + "code": "208G00000X", + "display": "Thoracic Surgery (Cardiothoracic Vascular Surgery)" + }, + { + "code": "208M00000X", + "display": "Hospitalist" + }, + { + "code": "208U00000X", + "display": "Clinical Pharmacology" + }, + { + "code": "209800000X", + "display": "Legal Medicine" + }, + { + "code": "211D00000X", + "display": "Assistant, Podiatric" + }, + { + "code": "213E00000X", + "display": "Podiatrist" + }, + { + "code": "221700000X", + "display": "Art Therapist" + }, + { + "code": "222Q00000X", + "display": "Developmental Therapist" + }, + { + "code": "222Z00000X", + "display": "Orthotist" + }, + { + "code": "224900000X", + "display": "Mastectomy Fitter" + }, + { + "code": "224L00000X", + "display": "Pedorthist" + }, + { + "code": "224P00000X", + "display": "Prosthetist" + }, + { + "code": "224Y00000X", + "display": "Clinical Exercise Physiologist" + }, + { + "code": "224Z00000X", + "display": "Occupational Therapy Assistant" + }, + { + "code": "225000000X", + "display": "Orthotic Fitter" + }, + { + "code": "225100000X", + "display": "Physical Therapist" + }, + { + "code": "225200000X", + "display": "Physical Therapy Assistant" + }, + { + "code": "225400000X", + "display": "Rehabilitation Practitioner" + }, + { + "code": "225500000X", + "display": "Specialist/Technologist" + }, + { + "code": "225600000X", + "display": "Dance Therapist" + }, + { + "code": "225700000X", + "display": "Massage Therapist" + }, + { + "code": "225800000X", + "display": "Recreation Therapist" + }, + { + "code": "225A00000X", + "display": "Music Therapist" + }, + { + "code": "225B00000X", + "display": "Pulmonary Function Technologist" + }, + { + "code": "225C00000X", + "display": "Rehabilitation Counselor" + }, + { + "code": "225X00000X", + "display": "Occupational Therapist" + }, + { + "code": "226000000X", + "display": "Recreational Therapist Assistant" + }, + { + "code": "226300000X", + "display": "Kinesiotherapist" + }, + { + "code": "227800000X", + "display": "Respiratory Therapist, Certified" + }, + { + "code": "227900000X", + "display": "Respiratory Therapist, Registered" + }, + { + "code": "229N00000X", + "display": "Anaplastologist" + }, + { + "code": "231H00000X", + "display": "Audiologist" + }, + { + "code": "235500000X", + "display": "Specialist/Technologist" + }, + { + "code": "235Z00000X", + "display": "Speech-Language Pathologist" + }, + { + "code": "237600000X", + "display": "Audiologist-Hearing Aid Fitter" + }, + { + "code": "237700000X", + "display": "Hearing Instrument Specialist" + }, + { + "code": "242T00000X", + "display": "Perfusionist" + }, + { + "code": "243U00000X", + "display": "Radiology Practitioner Assistant" + }, + { + "code": "246Q00000X", + "display": "Specialist/Technologist, Pathology" + }, + { + "code": "246R00000X", + "display": "Technician, Pathology" + }, + { + "code": "246W00000X", + "display": "Technician, Cardiology" + }, + { + "code": "246X00000X", + "display": "Specialist/Technologist Cardiovascular" + }, + { + "code": "246Y00000X", + "display": "Specialist/Technologist, Health Information" + }, + { + "code": "246Z00000X", + "display": "Specialist/Technologist, Other" + }, + { + "code": "247000000X", + "display": "Technician, Health Information" + }, + { + "code": "247100000X", + "display": "Radiologic Technologist" + }, + { + "code": "247200000X", + "display": "Technician, Other" + }, + { + "code": "251300000X", + "display": "Local Education Agency (LEA)" + }, + { + "code": "251B00000X", + "display": "Case Management" + }, + { + "code": "251C00000X", + "display": "Day Training, Developmentally Disabled Services" + }, + { + "code": "251E00000X", + "display": "Home Health" + }, + { + "code": "251F00000X", + "display": "Home Infusion" + }, + { + "code": "251G00000X", + "display": "Hospice Care, Community Based" + }, + { + "code": "251J00000X", + "display": "Nursing Care" + }, + { + "code": "251K00000X", + "display": "Public Health or Welfare" + }, + { + "code": "251S00000X", + "display": "Community/Behavioral Health" + }, + { + "code": "251T00000X", + "display": "Program of All-Inclusive Care for the Elderly (PACE) Provider Organization" + }, + { + "code": "251V00000X", + "display": "Voluntary or Charitable" + }, + { + "code": "251X00000X", + "display": "Supports Brokerage" + }, + { + "code": "252Y00000X", + "display": "Early Intervention Provider Agency" + }, + { + "code": "253J00000X", + "display": "Foster Care Agency" + }, + { + "code": "253Z00000X", + "display": "In Home Supportive Care" + }, + { + "code": "261Q00000X", + "display": "Clinic/Center" + }, + { + "code": "273100000X", + "display": "Epilepsy Unit" + }, + { + "code": "273R00000X", + "display": "Psychiatric Unit" + }, + { + "code": "273Y00000X", + "display": "Rehabilitation Unit" + }, + { + "code": "275N00000X", + "display": "Medicare Defined Swing Bed Unit" + }, + { + "code": "276400000X", + "display": "Rehabilitation, Substance Use Disorder Unit" + }, + { + "code": "281P00000X", + "display": "Chronic Disease Hospital" + }, + { + "code": "282E00000X", + "display": "Long Term Care Hospital" + }, + { + "code": "282J00000X", + "display": "Religious Nonmedical Health Care Institution" + }, + { + "code": "282N00000X", + "display": "General Acute Care Hospital" + }, + { + "code": "283Q00000X", + "display": "Psychiatric Hospital" + }, + { + "code": "283X00000X", + "display": "Rehabilitation Hospital" + }, + { + "code": "284300000X", + "display": "Special Hospital" + }, + { + "code": "286500000X", + "display": "Military Hospital" + }, + { + "code": "287300000X", + "display": "Christian Science Sanitorium" + }, + { + "code": "291900000X", + "display": "Military Clinical Medical Laboratory" + }, + { + "code": "291U00000X", + "display": "Clinical Medical Laboratory" + }, + { + "code": "292200000X", + "display": "Dental Laboratory" + }, + { + "code": "293D00000X", + "display": "Physiological Laboratory" + }, + { + "code": "302F00000X", + "display": "Exclusive Provider Organization" + }, + { + "code": "302R00000X", + "display": "Health Maintenance Organization" + }, + { + "code": "305R00000X", + "display": "Preferred Provider Organization" + }, + { + "code": "305S00000X", + "display": "Point of Service" + }, + { + "code": "310400000X", + "display": "Assisted Living Facility" + }, + { + "code": "310500000X", + "display": "Intermediate Care Facility, Mental Illness" + }, + { + "code": "311500000X", + "display": "Alzheimer Center (Dementia Center)" + }, + { + "code": "311Z00000X", + "display": "Custodial Care Facility" + }, + { + "code": "313M00000X", + "display": "Nursing Facility/Intermediate Care Facility" + }, + { + "code": "314000000X", + "display": "Skilled Nursing Facility" + }, + { + "code": "315D00000X", + "display": "Hospice, Inpatient" + }, + { + "code": "315P00000X", + "display": "Intermediate Care Facility, Mentally Retarded" + }, + { + "code": "317400000X", + "display": "Christian Science Facility" + }, + { + "code": "320600000X", + "display": "Residential Treatment Facility, Mental Retardation and/or Developmental Disabilities" + }, + { + "code": "320700000X", + "display": "Residential Treatment Facility, Physical Disabilities" + }, + { + "code": "320800000X", + "display": "Community Based Residential Treatment Facility, Mental Illness" + }, + { + "code": "320900000X", + "display": "Community Based Residential Treatment Facility, Mental Retardation and/or Developmental Disabilities" + }, + { + "code": "322D00000X", + "display": "Residential Treatment Facility, Emotionally Disturbed Children" + }, + { + "code": "323P00000X", + "display": "Psychiatric Residential Treatment Facility" + }, + { + "code": "324500000X", + "display": "Substance Abuse Rehabilitation Facility" + }, + { + "code": "331L00000X", + "display": "Blood Bank" + }, + { + "code": "332000000X", + "display": "Military/U.S. Coast Guard Pharmacy" + }, + { + "code": "332100000X", + "display": "Department of Veterans Affairs (VA) Pharmacy" + }, + { + "code": "332800000X", + "display": "Indian Health Service/Tribal/Urban Indian Health (I/T/U) Pharmacy" + }, + { + "code": "332900000X", + "display": "Non-Pharmacy Dispensing Site" + }, + { + "code": "332B00000X", + "display": "Durable Medical Equipment & Medical Supplies" + }, + { + "code": "332G00000X", + "display": "Eye Bank" + }, + { + "code": "332H00000X", + "display": "Eyewear Supplier" + }, + { + "code": "332S00000X", + "display": "Hearing Aid Equipment" + }, + { + "code": "332U00000X", + "display": "Home Delivered Meals" + }, + { + "code": "333300000X", + "display": "Emergency Response System Companies" + }, + { + "code": "333600000X", + "display": "Pharmacy" + }, + { + "code": "335E00000X", + "display": "Prosthetic/Orthotic Supplier" + }, + { + "code": "335G00000X", + "display": "Medical Foods Supplier" + }, + { + "code": "335U00000X", + "display": "Organ Procurement Organization" + }, + { + "code": "335V00000X", + "display": "Portable X-ray and/or Other Portable Diagnostic Imaging Supplier" + }, + { + "code": "341600000X", + "display": "Ambulance" + }, + { + "code": "341800000X", + "display": "Military/U.S. Coast Guard Transport" + }, + { + "code": "343800000X", + "display": "Secured Medical Transport (VAN)" + }, + { + "code": "343900000X", + "display": "Non-emergency Medical Transport (VAN)" + }, + { + "code": "344600000X", + "display": "Taxi" + }, + { + "code": "344800000X", + "display": "Air Carrier" + }, + { + "code": "347B00000X", + "display": "Bus" + }, + { + "code": "347C00000X", + "display": "Private Vehicle" + }, + { + "code": "347D00000X", + "display": "Train" + }, + { + "code": "347E00000X", + "display": "Transportation Broker" + }, + { + "code": "363A00000X", + "display": "Physician Assistant" + }, + { + "code": "363L00000X", + "display": "Nurse Practitioner" + }, + { + "code": "364S00000X", + "display": "Clinical Nurse Specialist" + }, + { + "code": "367500000X", + "display": "Nurse Anesthetist, Certified Registered" + }, + { + "code": "367A00000X", + "display": "Advanced Practice Midwife" + }, + { + "code": "367H00000X", + "display": "Anesthesiologist Assistant" + }, + { + "code": "372500000X", + "display": "Chore Provider" + }, + { + "code": "372600000X", + "display": "Adult Companion" + }, + { + "code": "373H00000X", + "display": "Day Training/Habilitation Specialist" + }, + { + "code": "374700000X", + "display": "Technician" + }, + { + "code": "374J00000X", + "display": "Doula" + }, + { + "code": "374K00000X", + "display": "Religious Nonmedical Practitioner" + }, + { + "code": "374T00000X", + "display": "Religious Nonmedical Nursing Personnel" + }, + { + "code": "374U00000X", + "display": "Home Health Aide" + }, + { + "code": "376G00000X", + "display": "Nursing Home Administrator" + }, + { + "code": "376J00000X", + "display": "Homemaker" + }, + { + "code": "376K00000X", + "display": "Nurse's Aide" + }, + { + "code": "385H00000X", + "display": "Respite Care" + }, + { + "code": "390200000X", + "display": "Student in an Organized Health Care Education/Training Program" + }, + { + "code": "405300000X", + "display": "Prevention Professional" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-provider-specialty.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-provider-specialty.json new file mode 100644 index 000000000..c66dc58fa --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-provider-specialty.json @@ -0,0 +1,45 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-provider-specialty", + "text": { + "status": "generated", + "div": "

US Core Provider Speciality (NUCC)

Provider speciality roles codes which are composed of the NUCC Health Care Provider Taxonomy Code Set for providers

\n

Copyright Statement: This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained.

This value set includes codes from the following code systems:

  • Include all codes defined in http://nucc.org/provider-taxonomy
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-specialty", + "version": "3.1.0", + "name": "USCoreProviderSpecialityNucc", + "title": "US Core Provider Speciality (NUCC)", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "Provider speciality roles codes which are composed of the NUCC Health Care Provider Taxonomy Code Set for providers", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "This value set includes content from NUCC Health Care Provider Taxonomy Code Set for providers which is copyright © 2016+ American Medical Association. For commercial use, including sales or licensing, a license must be obtained.", + "compose": { + "include": [ + { + "system": "http://nucc.org/provider-taxonomy" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-smoking-status-observation-codes.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-smoking-status-observation-codes.json new file mode 100644 index 000000000..18a5dd208 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-smoking-status-observation-codes.json @@ -0,0 +1,50 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-smoking-status-observation-codes", + "text": { + "status": "generated", + "div": "

US Core Smoking Status Observation Codes

The US Core Smoking Status Observation Codes Value Set is a 'starter set' of concepts to capture smoking status.

\n

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-smoking-status-observation-codes", + "version": "3.1.0", + "name": "USCoreSmokingStatusObservationCodes", + "title": "US Core Smoking Status Observation Codes", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "The US Core Smoking Status Observation Codes Value Set is a 'starter set' of concepts to capture smoking status.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "http://loinc.org", + "concept": [ + { + "code": "72166-2", + "display": "Tobacco smoking status NHIS" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-usps-state.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-usps-state.json new file mode 100644 index 000000000..8d304c3c6 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-usps-state.json @@ -0,0 +1,293 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-usps-state", + "text": { + "status": "generated", + "div": "

USPS Two Letter Alphabetic Codes

This value set defines two letter USPS alphabetic codes.

\n

Copyright Statement: On July 1, 1963, the Post Office Department implemented the five-digit ZIP Code, which was placed after the state name in the last line of an address. To provide room for the ZIP Code, the Department issued two-letter abbreviations for all states and territories. Publication 59, Abbreviations for Use with ZIP Code, issued by the Department in October 1963. Currently there is no copyright restriction on this value set.

This value set includes codes from the following code systems:

  • Include these codes as defined in https://www.usps.com/
    CodeDisplay
    AKAlaska
    ALAlabama
    ARArkansas
    ASAmerican Samoa
    AZArizona
    CACalifornia
    COColorado
    CTConnecticut
    DCDistrict of Columbia
    DEDelaware
    FLFlorida
    FMFederated States of Micronesia
    GAGeorgia
    GUGuam
    HIHawaii
    IAIowa
    IDIdaho
    ILIllinois
    INIndiana
    KSKansas
    KYKentucky
    LALouisiana
    MAMassachusetts
    MDMaryland
    MEMaine
    MHMarshall Islands
    MIMichigan
    MNMinnesota
    MOMissouri
    MPNorthern Mariana Islands
    MSMississippi
    MTMontana
    NCNorth Carolina
    NDNorth Dakota
    NENebraska
    NHNew Hampshire
    NJNew Jersey
    NMNew Mexico
    NVNevada
    NYNew York
    OHOhio
    OKOklahoma
    OROregon
    PAPennsylvania
    PRPuerto Rico
    PWPalau
    RIRhode Island
    SCSouth Carolina
    SDSouth Dakota
    TNTennessee
    TXTexas
    UMU.S. Minor Outlying Islands
    UTUtah
    VAVirginia
    VIVirgin Islands of the U.S.
    VTVermont
    WAWashington
    WIWisconsin
    WVWest Virginia
    WYWyoming
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.4.642.3.40" + } + ], + "version": "3.1.0", + "name": "UspsTwoLetterAlphabeticCodes", + "title": "USPS Two Letter Alphabetic Codes", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This value set defines two letter USPS alphabetic codes.", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "copyright": "On July 1, 1963, the Post Office Department implemented the five-digit ZIP Code, which was placed after the state name in the last line of an address. To provide room for the ZIP Code, the Department issued two-letter abbreviations for all states and territories. Publication 59, Abbreviations for Use with ZIP Code, issued by the Department in October 1963. Currently there is no copyright restriction on this value set.", + "compose": { + "include": [ + { + "system": "https://www.usps.com/", + "concept": [ + { + "code": "AK", + "display": "Alaska" + }, + { + "code": "AL", + "display": "Alabama" + }, + { + "code": "AR", + "display": "Arkansas" + }, + { + "code": "AS", + "display": "American Samoa" + }, + { + "code": "AZ", + "display": "Arizona" + }, + { + "code": "CA", + "display": "California" + }, + { + "code": "CO", + "display": "Colorado" + }, + { + "code": "CT", + "display": "Connecticut" + }, + { + "code": "DC", + "display": "District of Columbia" + }, + { + "code": "DE", + "display": "Delaware" + }, + { + "code": "FL", + "display": "Florida" + }, + { + "code": "FM", + "display": "Federated States of Micronesia" + }, + { + "code": "GA", + "display": "Georgia" + }, + { + "code": "GU", + "display": "Guam" + }, + { + "code": "HI", + "display": "Hawaii" + }, + { + "code": "IA", + "display": "Iowa" + }, + { + "code": "ID", + "display": "Idaho" + }, + { + "code": "IL", + "display": "Illinois" + }, + { + "code": "IN", + "display": "Indiana" + }, + { + "code": "KS", + "display": "Kansas" + }, + { + "code": "KY", + "display": "Kentucky" + }, + { + "code": "LA", + "display": "Louisiana" + }, + { + "code": "MA", + "display": "Massachusetts" + }, + { + "code": "MD", + "display": "Maryland" + }, + { + "code": "ME", + "display": "Maine" + }, + { + "code": "MH", + "display": "Marshall Islands" + }, + { + "code": "MI", + "display": "Michigan" + }, + { + "code": "MN", + "display": "Minnesota" + }, + { + "code": "MO", + "display": "Missouri" + }, + { + "code": "MP", + "display": "Northern Mariana Islands" + }, + { + "code": "MS", + "display": "Mississippi" + }, + { + "code": "MT", + "display": "Montana" + }, + { + "code": "NC", + "display": "North Carolina" + }, + { + "code": "ND", + "display": "North Dakota" + }, + { + "code": "NE", + "display": "Nebraska" + }, + { + "code": "NH", + "display": "New Hampshire" + }, + { + "code": "NJ", + "display": "New Jersey" + }, + { + "code": "NM", + "display": "New Mexico" + }, + { + "code": "NV", + "display": "Nevada" + }, + { + "code": "NY", + "display": "New York" + }, + { + "code": "OH", + "display": "Ohio" + }, + { + "code": "OK", + "display": "Oklahoma" + }, + { + "code": "OR", + "display": "Oregon" + }, + { + "code": "PA", + "display": "Pennsylvania" + }, + { + "code": "PR", + "display": "Puerto Rico" + }, + { + "code": "PW", + "display": "Palau" + }, + { + "code": "RI", + "display": "Rhode Island" + }, + { + "code": "SC", + "display": "South Carolina" + }, + { + "code": "SD", + "display": "South Dakota" + }, + { + "code": "TN", + "display": "Tennessee" + }, + { + "code": "TX", + "display": "Texas" + }, + { + "code": "UM", + "display": "U.S. Minor Outlying Islands" + }, + { + "code": "UT", + "display": "Utah" + }, + { + "code": "VA", + "display": "Virginia" + }, + { + "code": "VI", + "display": "Virgin Islands of the U.S." + }, + { + "code": "VT", + "display": "Vermont" + }, + { + "code": "WA", + "display": "Washington" + }, + { + "code": "WI", + "display": "Wisconsin" + }, + { + "code": "WV", + "display": "West Virginia" + }, + { + "code": "WY", + "display": "Wyoming" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-vaccines-cvx.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-vaccines-cvx.json new file mode 100644 index 000000000..9ecb7bc48 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/ValueSet-us-core-vaccines-cvx.json @@ -0,0 +1,744 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-vaccines-cvx", + "text": { + "status": "generated", + "div": "

US Core Vaccine Administered Value Set (CVX)

This identifies the vaccine substance administered - CVX codes. Inclusion Criteria: Any CVX code with CVX 'status' (VSAC Property) = Active,Inactive, Non-US except those noted in exclusions. Exclusion Criteria: CVX codes that have a CVX 'status' of either Pending or Never Active AND CVX codes with CVX 'Nonvaccine' property = True. Available at http://www2a.cdc.gov/vaccines/iis/iisstandards/vaccines.asp?rpt=cvx

\n

This value set includes codes from the following code systems:

  • Include these codes as defined in http://hl7.org/fhir/sid/cvx
    CodeDisplay
    01diphtheria, tetanus toxoids and pertussis vaccine
    02trivalent poliovirus vaccine, live, oral
    03measles, mumps and rubella virus vaccine
    04measles and rubella virus vaccine
    05measles virus vaccine
    06rubella virus vaccine
    07mumps virus vaccine
    08hepatitis B vaccine, pediatric or pediatric/adolescent dosage
    09tetanus and diphtheria toxoids, adsorbed, preservative free, for adult use (2 Lf of tetanus toxoid and 2 Lf of diphtheria toxoid)
    10poliovirus vaccine, inactivated
    100pneumococcal conjugate vaccine, 7 valent
    101typhoid Vi capsular polysaccharide vaccine
    102DTP- Haemophilus influenzae type b conjugate and hepatitis b vaccine
    103meningococcal C conjugate vaccine
    104hepatitis A and hepatitis B vaccine
    105vaccinia (smallpox) vaccine, diluted
    106diphtheria, tetanus toxoids and acellular pertussis vaccine, 5 pertussis antigens
    107diphtheria, tetanus toxoids and acellular pertussis vaccine, unspecified formulation
    108meningococcal ACWY vaccine, unspecified formulation
    109pneumococcal vaccine, unspecified formulation
    11pertussis vaccine
    110DTaP-hepatitis B and poliovirus vaccine
    111influenza virus vaccine, live, attenuated, for intranasal use
    112tetanus toxoid, unspecified formulation
    113tetanus and diphtheria toxoids, adsorbed, preservative free, for adult use (5 Lf of tetanus toxoid and 2 Lf of diphtheria toxoid)
    114meningococcal polysaccharide (groups A, C, Y and W-135) diphtheria toxoid conjugate vaccine (MCV4P)
    115tetanus toxoid, reduced diphtheria toxoid, and acellular pertussis vaccine, adsorbed
    116rotavirus, live, pentavalent vaccine
    117varicella zoster immune globulin (Investigational New Drug)
    118human papilloma virus vaccine, bivalent
    119rotavirus, live, monovalent vaccine
    12diphtheria antitoxin
    120diphtheria, tetanus toxoids and acellular pertussis vaccine, Haemophilus influenzae type b conjugate, and poliovirus vaccine, inactivated (DTaP-Hib-IPV)
    121zoster vaccine, live
    122rotavirus vaccine, unspecified formulation
    123influenza virus vaccine, H5N1, A/Vietnam/1203/2004 (national stockpile)
    125Novel Influenza-H1N1-09, live virus for nasal administration
    126Novel influenza-H1N1-09, preservative-free, injectable
    127Novel influenza-H1N1-09, injectable
    128Novel influenza-H1N1-09, all formulations
    129Japanese Encephalitis vaccine, unspecified formulation
    13tetanus immune globulin
    130Diphtheria, tetanus toxoids and acellular pertussis vaccine, and poliovirus vaccine, inactivated
    131Historical record of a typhus vaccination
    132Historical diphtheria and tetanus toxoids and acellular pertussis, poliovirus, Haemophilus b conjugate and hepatitis B (recombinant) vaccine.
    133pneumococcal conjugate vaccine, 13 valent
    134Japanese Encephalitis vaccine for intramuscular administration
    135influenza, high dose seasonal, preservative-free
    136meningococcal oligosaccharide (groups A, C, Y and W-135) diphtheria toxoid conjugate vaccine (MCV4O)
    137HPV, unspecified formulation
    138tetanus and diphtheria toxoids, not adsorbed, for adult use
    139Td(adult) unspecified formulation
    14immune globulin, unspecified formulation
    140Influenza, seasonal, injectable, preservative free
    141Influenza, seasonal, injectable
    142tetanus toxoid, not adsorbed
    143Adenovirus, type 4 and type 7, live, oral
    144seasonal influenza, intradermal, preservative free
    147Meningococcal, MCV4, unspecified conjugate formulation(groups A, C, Y and W-135)
    148Meningococcal Groups C and Y and Haemophilus b Tetanus Toxoid Conjugate Vaccine
    149influenza, live, intranasal, quadrivalent
    15influenza virus vaccine, split virus (incl. purified surface antigen)-retired CODE
    150Influenza, injectable, quadrivalent, preservative free
    151influenza nasal, unspecified formulation
    152Pneumococcal Conjugate, unspecified formulation
    153Influenza, injectable, Madin Darby Canine Kidney, preservative free
    155Seasonal, trivalent, recombinant, injectable influenza vaccine, preservative free
    156Rho(D) Immune globulin- IV or IM
    157Rho(D) Immune globulin - IM
    158influenza, injectable, quadrivalent, contains preservative
    159Rho(D) Unspecified formulation
    16influenza virus vaccine, whole virus
    160Influenza A monovalent (H5N1), adjuvanted, National stockpile 2013
    161Influenza, injectable,quadrivalent, preservative free, pediatric
    162meningococcal B vaccine, fully recombinant
    163meningococcal B vaccine, recombinant, OMV, adjuvanted
    164meningococcal B, unspecified formulation
    165Human Papillomavirus 9-valent vaccine
    166influenza, intradermal, quadrivalent, preservative free, injectable
    167meningococcal vaccine of unknown formulation and unknown serogroups
    168Seasonal trivalent influenza vaccine, adjuvanted, preservative free
    169Hep A, live attenuated-IM
    17Haemophilus influenzae type b vaccine, conjugate unspecified formulation
    170non-US diphtheria, tetanus toxoids and acellular pertussis vaccine, Haemophilus influenzae type b conjugate, and poliovirus vaccine, inactivated (DTaP-Hib-IPV)
    171Influenza, injectable, Madin Darby Canine Kidney, preservative free, quadrivalent
    172cholera, WC-rBS
    173cholera, BivWC
    174cholera, live attenuated
    175Human Rabies vaccine from human diploid cell culture
    176Human rabies vaccine from Chicken fibroblast culture
    177pneumococcal conjugate vaccine, 10 valent
    178Non-US bivalent oral polio vaccine (types 1 and 3)
    179Non-US monovalent oral polio vaccine, unspecified formulation
    18rabies vaccine, for intramuscular injection RETIRED CODE
    180tetanus immune globulin
    181anthrax immune globulin
    182Oral Polio Vaccine, Unspecified formulation
    183Yellow fever vaccine alternative formulation
    184Yellow fever vaccine, unspecified formulation
    185Seasonal, quadrivalent, recombinant, injectable influenza vaccine, preservative free
    186Influenza, injectable, Madin Darby Canine Kidney, quadrivalent with preservative
    187zoster vaccine recombinant
    188zoster vaccine, unspecified formulation
    189Hepatitis B vaccine (recombinant), CpG adjuvanted
    19Bacillus Calmette-Guerin vaccine
    20diphtheria, tetanus toxoids and acellular pertussis vaccine
    21varicella virus vaccine
    22DTP-Haemophilus influenzae type b conjugate vaccine
    23plague vaccine
    24anthrax vaccine
    25typhoid vaccine, live, oral
    26cholera vaccine, unspecified formulation
    27botulinum antitoxin
    28diphtheria and tetanus toxoids, adsorbed for pediatric use
    29cytomegalovirus immune globulin, intravenous
    30hepatitis B immune globulin
    31hepatitis A vaccine, pediatric dosage, unspecified formulation
    32meningococcal polysaccharide vaccine (MPSV4)
    33pneumococcal polysaccharide vaccine, 23 valent
    34rabies immune globulin
    35tetanus toxoid, adsorbed
    36varicella zoster immune globulin
    37yellow fever vaccine
    38rubella and mumps virus vaccine
    39Japanese Encephalitis Vaccine SC
    40rabies vaccine, for intradermal injection
    41typhoid vaccine, parenteral, other than acetone-killed, dried
    42hepatitis B vaccine, adolescent/high risk infant dosage
    43hepatitis B vaccine, adult dosage
    44hepatitis B vaccine, dialysis patient dosage
    45hepatitis B vaccine, unspecified formulation
    46Haemophilus influenzae type b vaccine, PRP-D conjugate
    47Haemophilus influenzae type b vaccine, HbOC conjugate
    48Haemophilus influenzae type b vaccine, PRP-T conjugate
    49Haemophilus influenzae type b vaccine, PRP-OMP conjugate
    50DTaP-Haemophilus influenzae type b conjugate vaccine
    51Haemophilus influenzae type b conjugate and Hepatitis B vaccine
    52hepatitis A vaccine, adult dosage
    53typhoid vaccine, parenteral, acetone-killed, dried (U.S. military)
    54adenovirus vaccine, type 4, live, oral
    55adenovirus vaccine, type 7, live, oral
    62human papilloma virus vaccine, quadrivalent
    66Lyme disease vaccine
    69parainfluenza-3 virus vaccine
    71respiratory syncytial virus immune globulin, intravenous
    74rotavirus, live, tetravalent vaccine
    75vaccinia (smallpox) vaccine
    76Staphylococcus bacteriophage lysate
    77tick-borne encephalitis vaccine
    78tularemia vaccine
    79vaccinia immune globulin
    80Venezuelan equine encephalitis, live, attenuated
    801AS03 Adjuvant
    81Venezuelan equine encephalitis, inactivated
    82adenovirus vaccine, unspecified formulation
    83hepatitis A vaccine, pediatric/adolescent dosage, 2 dose schedule
    84hepatitis A vaccine, pediatric/adolescent dosage, 3 dose schedule
    85hepatitis A vaccine, unspecified formulation
    86immune globulin, intramuscular
    87immune globulin, intravenous
    88influenza virus vaccine, unspecified formulation
    89poliovirus vaccine, unspecified formulation
    90rabies vaccine, unspecified formulation
    91typhoid vaccine, unspecified formulation
    92Venezuelan equine encephalitis vaccine, unspecified formulation
    93respiratory syncytial virus monoclonal antibody (palivizumab), intramuscular
    94measles, mumps, rubella, and varicella virus vaccine
    95tuberculin skin test; old tuberculin, multipuncture device
    96tuberculin skin test; purified protein derivative solution, intradermal
    97tuberculin skin test; purified protein derivative, multipuncture device
    98tuberculin skin test; unspecified formulation
    998no vaccine administered
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-vaccines-cvx", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113762.1.4.1010.6" + }, + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.3.88.12.80.22" + } + ], + "version": "3.1.0", + "name": "USCoreVaccineAdministeredValueSetCvx", + "title": "US Core Vaccine Administered Value Set (CVX)", + "status": "active", + "date": "2019-05-21T00:00:00+10:00", + "publisher": "HL7 US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "description": "This identifies the vaccine substance administered - CVX codes. **Inclusion Criteria:** Any CVX code with CVX 'status' (VSAC Property) = `Active`,` Inactive`, `Non-US` except those noted in exclusions. **Exclusion Criteria:** CVX codes that have a CVX 'status' of either `Pending` or `Never Active` AND CVX codes with CVX 'Nonvaccine' property = True. Available at http://www2a.cdc.gov/vaccines/iis/iisstandards/vaccines.asp?rpt=cvx", + "jurisdiction": [ + { + "coding": [ + { + "system": "urn:iso:std:iso:3166", + "code": "US", + "display": "United States of America" + } + ] + } + ], + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/sid/cvx", + "concept": [ + { + "code": "01", + "display": "diphtheria, tetanus toxoids and pertussis vaccine" + }, + { + "code": "02", + "display": "trivalent poliovirus vaccine, live, oral" + }, + { + "code": "03", + "display": "measles, mumps and rubella virus vaccine" + }, + { + "code": "04", + "display": "measles and rubella virus vaccine" + }, + { + "code": "05", + "display": "measles virus vaccine" + }, + { + "code": "06", + "display": "rubella virus vaccine" + }, + { + "code": "07", + "display": "mumps virus vaccine" + }, + { + "code": "08", + "display": "hepatitis B vaccine, pediatric or pediatric/adolescent dosage" + }, + { + "code": "09", + "display": "tetanus and diphtheria toxoids, adsorbed, preservative free, for adult use (2 Lf of tetanus toxoid and 2 Lf of diphtheria toxoid)" + }, + { + "code": "10", + "display": "poliovirus vaccine, inactivated" + }, + { + "code": "100", + "display": "pneumococcal conjugate vaccine, 7 valent" + }, + { + "code": "101", + "display": "typhoid Vi capsular polysaccharide vaccine" + }, + { + "code": "102", + "display": "DTP- Haemophilus influenzae type b conjugate and hepatitis b vaccine" + }, + { + "code": "103", + "display": "meningococcal C conjugate vaccine" + }, + { + "code": "104", + "display": "hepatitis A and hepatitis B vaccine" + }, + { + "code": "105", + "display": "vaccinia (smallpox) vaccine, diluted" + }, + { + "code": "106", + "display": "diphtheria, tetanus toxoids and acellular pertussis vaccine, 5 pertussis antigens" + }, + { + "code": "107", + "display": "diphtheria, tetanus toxoids and acellular pertussis vaccine, unspecified formulation" + }, + { + "code": "108", + "display": "meningococcal ACWY vaccine, unspecified formulation" + }, + { + "code": "109", + "display": "pneumococcal vaccine, unspecified formulation" + }, + { + "code": "11", + "display": "pertussis vaccine" + }, + { + "code": "110", + "display": "DTaP-hepatitis B and poliovirus vaccine" + }, + { + "code": "111", + "display": "influenza virus vaccine, live, attenuated, for intranasal use" + }, + { + "code": "112", + "display": "tetanus toxoid, unspecified formulation" + }, + { + "code": "113", + "display": "tetanus and diphtheria toxoids, adsorbed, preservative free, for adult use (5 Lf of tetanus toxoid and 2 Lf of diphtheria toxoid)" + }, + { + "code": "114", + "display": "meningococcal polysaccharide (groups A, C, Y and W-135) diphtheria toxoid conjugate vaccine (MCV4P)" + }, + { + "code": "115", + "display": "tetanus toxoid, reduced diphtheria toxoid, and acellular pertussis vaccine, adsorbed" + }, + { + "code": "116", + "display": "rotavirus, live, pentavalent vaccine" + }, + { + "code": "117", + "display": "varicella zoster immune globulin (Investigational New Drug)" + }, + { + "code": "118", + "display": "human papilloma virus vaccine, bivalent" + }, + { + "code": "119", + "display": "rotavirus, live, monovalent vaccine" + }, + { + "code": "12", + "display": "diphtheria antitoxin" + }, + { + "code": "120", + "display": "diphtheria, tetanus toxoids and acellular pertussis vaccine, Haemophilus influenzae type b conjugate, and poliovirus vaccine, inactivated (DTaP-Hib-IPV)" + }, + { + "code": "121", + "display": "zoster vaccine, live" + }, + { + "code": "122", + "display": "rotavirus vaccine, unspecified formulation" + }, + { + "code": "123", + "display": "influenza virus vaccine, H5N1, A/Vietnam/1203/2004 (national stockpile)" + }, + { + "code": "125", + "display": "Novel Influenza-H1N1-09, live virus for nasal administration" + }, + { + "code": "126", + "display": "Novel influenza-H1N1-09, preservative-free, injectable" + }, + { + "code": "127", + "display": "Novel influenza-H1N1-09, injectable" + }, + { + "code": "128", + "display": "Novel influenza-H1N1-09, all formulations" + }, + { + "code": "129", + "display": "Japanese Encephalitis vaccine, unspecified formulation" + }, + { + "code": "13", + "display": "tetanus immune globulin" + }, + { + "code": "130", + "display": "Diphtheria, tetanus toxoids and acellular pertussis vaccine, and poliovirus vaccine, inactivated" + }, + { + "code": "131", + "display": "Historical record of a typhus vaccination" + }, + { + "code": "132", + "display": "Historical diphtheria and tetanus toxoids and acellular pertussis, poliovirus, Haemophilus b conjugate and hepatitis B (recombinant) vaccine." + }, + { + "code": "133", + "display": "pneumococcal conjugate vaccine, 13 valent" + }, + { + "code": "134", + "display": "Japanese Encephalitis vaccine for intramuscular administration" + }, + { + "code": "135", + "display": "influenza, high dose seasonal, preservative-free" + }, + { + "code": "136", + "display": "meningococcal oligosaccharide (groups A, C, Y and W-135) diphtheria toxoid conjugate vaccine (MCV4O)" + }, + { + "code": "137", + "display": "HPV, unspecified formulation" + }, + { + "code": "138", + "display": "tetanus and diphtheria toxoids, not adsorbed, for adult use" + }, + { + "code": "139", + "display": "Td(adult) unspecified formulation" + }, + { + "code": "14", + "display": "immune globulin, unspecified formulation" + }, + { + "code": "140", + "display": "Influenza, seasonal, injectable, preservative free" + }, + { + "code": "141", + "display": "Influenza, seasonal, injectable" + }, + { + "code": "142", + "display": "tetanus toxoid, not adsorbed" + }, + { + "code": "143", + "display": "Adenovirus, type 4 and type 7, live, oral" + }, + { + "code": "144", + "display": "seasonal influenza, intradermal, preservative free" + }, + { + "code": "147", + "display": "Meningococcal, MCV4, unspecified conjugate formulation(groups A, C, Y and W-135)" + }, + { + "code": "148", + "display": "Meningococcal Groups C and Y and Haemophilus b Tetanus Toxoid Conjugate Vaccine" + }, + { + "code": "149", + "display": "influenza, live, intranasal, quadrivalent" + }, + { + "code": "15", + "display": "influenza virus vaccine, split virus (incl. purified surface antigen)-retired CODE" + }, + { + "code": "150", + "display": "Influenza, injectable, quadrivalent, preservative free" + }, + { + "code": "151", + "display": "influenza nasal, unspecified formulation" + }, + { + "code": "152", + "display": "Pneumococcal Conjugate, unspecified formulation" + }, + { + "code": "153", + "display": "Influenza, injectable, Madin Darby Canine Kidney, preservative free" + }, + { + "code": "155", + "display": "Seasonal, trivalent, recombinant, injectable influenza vaccine, preservative free" + }, + { + "code": "156", + "display": "Rho(D) Immune globulin- IV or IM" + }, + { + "code": "157", + "display": "Rho(D) Immune globulin - IM" + }, + { + "code": "158", + "display": "influenza, injectable, quadrivalent, contains preservative" + }, + { + "code": "159", + "display": "Rho(D) Unspecified formulation" + }, + { + "code": "16", + "display": "influenza virus vaccine, whole virus" + }, + { + "code": "160", + "display": "Influenza A monovalent (H5N1), adjuvanted, National stockpile 2013" + }, + { + "code": "161", + "display": "Influenza, injectable,quadrivalent, preservative free, pediatric" + }, + { + "code": "162", + "display": "meningococcal B vaccine, fully recombinant" + }, + { + "code": "163", + "display": "meningococcal B vaccine, recombinant, OMV, adjuvanted" + }, + { + "code": "164", + "display": "meningococcal B, unspecified formulation" + }, + { + "code": "165", + "display": "Human Papillomavirus 9-valent vaccine" + }, + { + "code": "166", + "display": "influenza, intradermal, quadrivalent, preservative free, injectable" + }, + { + "code": "167", + "display": "meningococcal vaccine of unknown formulation and unknown serogroups" + }, + { + "code": "168", + "display": "Seasonal trivalent influenza vaccine, adjuvanted, preservative free" + }, + { + "code": "169", + "display": "Hep A, live attenuated-IM" + }, + { + "code": "17", + "display": "Haemophilus influenzae type b vaccine, conjugate unspecified formulation" + }, + { + "code": "170", + "display": "non-US diphtheria, tetanus toxoids and acellular pertussis vaccine, Haemophilus influenzae type b conjugate, and poliovirus vaccine, inactivated (DTaP-Hib-IPV)" + }, + { + "code": "171", + "display": "Influenza, injectable, Madin Darby Canine Kidney, preservative free, quadrivalent" + }, + { + "code": "172", + "display": "cholera, WC-rBS" + }, + { + "code": "173", + "display": "cholera, BivWC" + }, + { + "code": "174", + "display": "cholera, live attenuated" + }, + { + "code": "175", + "display": "Human Rabies vaccine from human diploid cell culture" + }, + { + "code": "176", + "display": "Human rabies vaccine from Chicken fibroblast culture" + }, + { + "code": "177", + "display": "pneumococcal conjugate vaccine, 10 valent" + }, + { + "code": "178", + "display": "Non-US bivalent oral polio vaccine (types 1 and 3)" + }, + { + "code": "179", + "display": "Non-US monovalent oral polio vaccine, unspecified formulation" + }, + { + "code": "18", + "display": "rabies vaccine, for intramuscular injection RETIRED CODE" + }, + { + "code": "180", + "display": "tetanus immune globulin" + }, + { + "code": "181", + "display": "anthrax immune globulin" + }, + { + "code": "182", + "display": "Oral Polio Vaccine, Unspecified formulation" + }, + { + "code": "183", + "display": "Yellow fever vaccine alternative formulation" + }, + { + "code": "184", + "display": "Yellow fever vaccine, unspecified formulation" + }, + { + "code": "185", + "display": "Seasonal, quadrivalent, recombinant, injectable influenza vaccine, preservative free" + }, + { + "code": "186", + "display": "Influenza, injectable, Madin Darby Canine Kidney, quadrivalent with preservative" + }, + { + "code": "187", + "display": "zoster vaccine recombinant" + }, + { + "code": "188", + "display": "zoster vaccine, unspecified formulation" + }, + { + "code": "189", + "display": "Hepatitis B vaccine (recombinant), CpG adjuvanted" + }, + { + "code": "19", + "display": "Bacillus Calmette-Guerin vaccine" + }, + { + "code": "20", + "display": "diphtheria, tetanus toxoids and acellular pertussis vaccine" + }, + { + "code": "21", + "display": "varicella virus vaccine" + }, + { + "code": "22", + "display": "DTP-Haemophilus influenzae type b conjugate vaccine" + }, + { + "code": "23", + "display": "plague vaccine" + }, + { + "code": "24", + "display": "anthrax vaccine" + }, + { + "code": "25", + "display": "typhoid vaccine, live, oral" + }, + { + "code": "26", + "display": "cholera vaccine, unspecified formulation" + }, + { + "code": "27", + "display": "botulinum antitoxin" + }, + { + "code": "28", + "display": "diphtheria and tetanus toxoids, adsorbed for pediatric use" + }, + { + "code": "29", + "display": "cytomegalovirus immune globulin, intravenous" + }, + { + "code": "30", + "display": "hepatitis B immune globulin" + }, + { + "code": "31", + "display": "hepatitis A vaccine, pediatric dosage, unspecified formulation" + }, + { + "code": "32", + "display": "meningococcal polysaccharide vaccine (MPSV4)" + }, + { + "code": "33", + "display": "pneumococcal polysaccharide vaccine, 23 valent" + }, + { + "code": "34", + "display": "rabies immune globulin" + }, + { + "code": "35", + "display": "tetanus toxoid, adsorbed" + }, + { + "code": "36", + "display": "varicella zoster immune globulin" + }, + { + "code": "37", + "display": "yellow fever vaccine" + }, + { + "code": "38", + "display": "rubella and mumps virus vaccine" + }, + { + "code": "39", + "display": "Japanese Encephalitis Vaccine SC" + }, + { + "code": "40", + "display": "rabies vaccine, for intradermal injection" + }, + { + "code": "41", + "display": "typhoid vaccine, parenteral, other than acetone-killed, dried" + }, + { + "code": "42", + "display": "hepatitis B vaccine, adolescent/high risk infant dosage" + }, + { + "code": "43", + "display": "hepatitis B vaccine, adult dosage" + }, + { + "code": "44", + "display": "hepatitis B vaccine, dialysis patient dosage" + }, + { + "code": "45", + "display": "hepatitis B vaccine, unspecified formulation" + }, + { + "code": "46", + "display": "Haemophilus influenzae type b vaccine, PRP-D conjugate" + }, + { + "code": "47", + "display": "Haemophilus influenzae type b vaccine, HbOC conjugate" + }, + { + "code": "48", + "display": "Haemophilus influenzae type b vaccine, PRP-T conjugate" + }, + { + "code": "49", + "display": "Haemophilus influenzae type b vaccine, PRP-OMP conjugate" + }, + { + "code": "50", + "display": "DTaP-Haemophilus influenzae type b conjugate vaccine" + }, + { + "code": "51", + "display": "Haemophilus influenzae type b conjugate and Hepatitis B vaccine" + }, + { + "code": "52", + "display": "hepatitis A vaccine, adult dosage" + }, + { + "code": "53", + "display": "typhoid vaccine, parenteral, acetone-killed, dried (U.S. military)" + }, + { + "code": "54", + "display": "adenovirus vaccine, type 4, live, oral" + }, + { + "code": "55", + "display": "adenovirus vaccine, type 7, live, oral" + }, + { + "code": "62", + "display": "human papilloma virus vaccine, quadrivalent" + }, + { + "code": "66", + "display": "Lyme disease vaccine" + }, + { + "code": "69", + "display": "parainfluenza-3 virus vaccine" + }, + { + "code": "71", + "display": "respiratory syncytial virus immune globulin, intravenous" + }, + { + "code": "74", + "display": "rotavirus, live, tetravalent vaccine" + }, + { + "code": "75", + "display": "vaccinia (smallpox) vaccine" + }, + { + "code": "76", + "display": "Staphylococcus bacteriophage lysate" + }, + { + "code": "77", + "display": "tick-borne encephalitis vaccine" + }, + { + "code": "78", + "display": "tularemia vaccine" + }, + { + "code": "79", + "display": "vaccinia immune globulin" + }, + { + "code": "80", + "display": "Venezuelan equine encephalitis, live, attenuated" + }, + { + "code": "801", + "display": "AS03 Adjuvant" + }, + { + "code": "81", + "display": "Venezuelan equine encephalitis, inactivated" + }, + { + "code": "82", + "display": "adenovirus vaccine, unspecified formulation" + }, + { + "code": "83", + "display": "hepatitis A vaccine, pediatric/adolescent dosage, 2 dose schedule" + }, + { + "code": "84", + "display": "hepatitis A vaccine, pediatric/adolescent dosage, 3 dose schedule" + }, + { + "code": "85", + "display": "hepatitis A vaccine, unspecified formulation" + }, + { + "code": "86", + "display": "immune globulin, intramuscular" + }, + { + "code": "87", + "display": "immune globulin, intravenous" + }, + { + "code": "88", + "display": "influenza virus vaccine, unspecified formulation" + }, + { + "code": "89", + "display": "poliovirus vaccine, unspecified formulation" + }, + { + "code": "90", + "display": "rabies vaccine, unspecified formulation" + }, + { + "code": "91", + "display": "typhoid vaccine, unspecified formulation" + }, + { + "code": "92", + "display": "Venezuelan equine encephalitis vaccine, unspecified formulation" + }, + { + "code": "93", + "display": "respiratory syncytial virus monoclonal antibody (palivizumab), intramuscular" + }, + { + "code": "94", + "display": "measles, mumps, rubella, and varicella virus vaccine" + }, + { + "code": "95", + "display": "tuberculin skin test; old tuberculin, multipuncture device" + }, + { + "code": "96", + "display": "tuberculin skin test; purified protein derivative solution, intradermal" + }, + { + "code": "97", + "display": "tuberculin skin test; purified protein derivative, multipuncture device" + }, + { + "code": "98", + "display": "tuberculin skin test; unspecified formulation" + }, + { + "code": "998", + "display": "no vaccine administered" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/valueset-marital-status.json b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/valueset-marital-status.json new file mode 100644 index 000000000..5c6a88c46 --- /dev/null +++ b/evaluator.cli/src/test/resources/uscore/vocabulary/ValueSet/valueset-marital-status.json @@ -0,0 +1 @@ +{"resourceType" : "ValueSet","id" : "marital-status","meta" : {"versionId" : "1","lastUpdated" : "2018-12-14T02:05:07.332Z","profile" : ["http://hl7.org/fhir/StructureDefinition/shareablevalueset"]},"url" : "http://hl7.org/fhir/ValueSet/marital-status","identifier" : [{"system" : "urn:ietf:rfc:3986","value" : "urn:oid:2.16.840.1.113883.4.642.3.29"}],"version" : "4.0.0","name" : "Marital Status Codes","title" : "MaritalStatus","status" : "active","experimental" : false,"date" : "2018-12-14T01:14:32+00:00","expansion" : {"identifier" : "urn:uuid:239279b7-49a9-4e5b-a9c3-c1653cf6ffd8","timestamp" : "2020-05-09T22:02:37.490Z","parameter" : [{"name" : "expansion-source","valueString" : "ValueSet/marital-status"},{"name" : "displayLanguage","valueString" : "en-US,en;q=0.5"},{"name" : "version","valueString" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus|2018-08-12"},{"name" : "version","valueString" : "http://terminology.hl7.org/CodeSystem/v3-NullFlavor|2018-08-12"}],"contains" : [{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "Marriage contract has been declared null and to not have existed"}],"system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus","code" : "A","display" : "Annulled"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "Marriage contract has been declared dissolved and inactive"}],"system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus","code" : "D","display" : "Divorced"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "Subject to an Interlocutory Decree."}],"system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus","code" : "I","display" : "Interlocutory"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "Legally Separated"}],"system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus","code" : "L","display" : "Legally Separated"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "A current marriage contract is active"}],"system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus","code" : "M","display" : "Married"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "More than 1 current spouse"}],"system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus","code" : "P","display" : "Polygamous"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "No marriage contract has ever been entered"}],"system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus","code" : "S","display" : "Never Married"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "Person declares that a domestic partner relationship exists."}],"system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus","code" : "T","display" : "Domestic partner"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "Currently not in a marriage contract."}],"system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus","code" : "U","display" : "unmarried"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "The spouse has died"}],"system" : "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus","code" : "W","display" : "Widowed"},{"extension" : [{"url" : "http://hl7.org/fhir/StructureDefinition/valueset-definition","valueString" : "Description:A proper value is applicable, but not known.\r\n\n \n Usage Notes: This means the actual value is not known. If the only thing that is unknown is how to properly express the value in the necessary constraints (value set, datatype, etc.), then the OTH or UNC flavor should be used. No properties should be included for a datatype with this property unless:\r\n\n \n Those properties themselves directly translate to a semantic of \"unknown\". (E.g. a local code sent as a translation that conveys 'unknown')\n Those properties further qualify the nature of what is unknown. (E.g. specifying a use code of \"H\" and a URL prefix of \"tel:\" to convey that it is the home phone number that is unknown.)"}],"system" : "http://terminology.hl7.org/CodeSystem/v3-NullFlavor","code" : "UNK","display" : "unknown"}]}} \ No newline at end of file diff --git a/service/pom.xml b/evaluator.execution/pom.xml similarity index 60% rename from service/pom.xml rename to evaluator.execution/pom.xml index 2d849cf69..e301294ee 100644 --- a/service/pom.xml +++ b/evaluator.execution/pom.xml @@ -4,37 +4,34 @@ 4.0.0 org.opencds.cqf.cql - service + evaluator.execution ${revision} jar + CQL Evaluator Execution Extensions + org.opencds.cqf.cql - base + evaluator.shared ${revision} - org.opencds.cqf - cql-engine + info.cqframework + cql-to-elm - org.opencds.cqf - cql-engine-fhir + org.opencds.cqf.cql + engine - info.cqframework - cql-to-elm + org.opencds.cqf.cql + engine.fhir - org.testng - testng - - - org.jvnet.jaxb2_commons - jaxb2-basics - 0.12.0 + ca.uhn.hapi.fhir + hapi-fhir-client \ No newline at end of file diff --git a/service/src/main/java/org/opencds/cqf/cql/service/loader/TranslatingLibraryLoader.java b/evaluator.execution/src/main/java/org/opencds/cqf/cql/evaluator/execution/loader/TranslatingLibraryLoader.java similarity index 72% rename from service/src/main/java/org/opencds/cqf/cql/service/loader/TranslatingLibraryLoader.java rename to evaluator.execution/src/main/java/org/opencds/cqf/cql/evaluator/execution/loader/TranslatingLibraryLoader.java index 839cd1443..0dc86d3c0 100644 --- a/service/src/main/java/org/opencds/cqf/cql/service/loader/TranslatingLibraryLoader.java +++ b/evaluator.execution/src/main/java/org/opencds/cqf/cql/evaluator/execution/loader/TranslatingLibraryLoader.java @@ -1,4 +1,4 @@ -package org.opencds.cqf.cql.service.loader; +package org.opencds.cqf.cql.evaluator.execution.loader; import java.io.ByteArrayInputStream; import java.io.IOException; @@ -11,16 +11,15 @@ import javax.xml.bind.JAXBException; import javax.xml.bind.Marshaller; -import org.cqframework.cql.cql2elm.CqlTranslator; import org.cqframework.cql.cql2elm.CqlTranslatorException; +import org.cqframework.cql.cql2elm.CqlTranslatorOptions; import org.cqframework.cql.cql2elm.LibraryManager; -import org.cqframework.cql.cql2elm.LibraryBuilder.SignatureLevel; import org.cqframework.cql.cql2elm.model.TranslatedLibrary; import org.cqframework.cql.elm.execution.Library; import org.cqframework.cql.elm.execution.VersionedIdentifier; import org.hl7.elm.r1.ObjectFactory; -import org.opencds.cqf.cql.execution.CqlLibraryReader; -import org.opencds.cqf.cql.execution.LibraryLoader; +import org.opencds.cqf.cql.engine.execution.CqlLibraryReader; +import org.opencds.cqf.cql.engine.execution.LibraryLoader; public class TranslatingLibraryLoader implements LibraryLoader { @@ -28,27 +27,30 @@ public class TranslatingLibraryLoader implements LibraryLoader { private LibraryManager libraryManager; private static JAXBContext jaxbContext; private static Marshaller marshaller; + private CqlTranslatorOptions translatorOptions; - public TranslatingLibraryLoader(LibraryManager libraryManager) { + public TranslatingLibraryLoader(LibraryManager libraryManager, CqlTranslatorOptions translatorOptions) { this.libraryManager = libraryManager; + this.translatorOptions = translatorOptions != null ? translatorOptions : CqlTranslatorOptions.defaultOptions(); } public Library load(VersionedIdentifier libraryIdentifier) { try { List errors = new ArrayList<>(); - TranslatedLibrary library = this.libraryManager.resolveLibrary(toElmIdentifier(libraryIdentifier.getId(), libraryIdentifier.getVersion()), CqlTranslatorException.ErrorSeverity.Error, SignatureLevel.All, new CqlTranslator.Options[0], errors); + TranslatedLibrary library = this.libraryManager.resolveLibrary(toElmIdentifier(libraryIdentifier.getId(), libraryIdentifier.getVersion()), this.translatorOptions, errors); return this.readXml(this.toXml(library.getLibrary())); } catch (Exception e) { + e.printStackTrace(); return null; } } - private Library readXml(String xml) throws IOException, JAXBException { + private synchronized Library readXml(String xml) throws IOException, JAXBException { return CqlLibraryReader.read(new ByteArrayInputStream(xml.getBytes(StandardCharsets.UTF_8))); } - private String toXml(org.hl7.elm.r1.Library library) { + private synchronized String toXml(org.hl7.elm.r1.Library library) { try { return convertToXml(library); } @@ -57,13 +59,13 @@ private String toXml(org.hl7.elm.r1.Library library) { } } - public String convertToXml(org.hl7.elm.r1.Library library) throws JAXBException { + public synchronized String convertToXml(org.hl7.elm.r1.Library library) throws JAXBException { StringWriter writer = new StringWriter(); this.getMarshaller().marshal(new ObjectFactory().createLibrary(library), writer); return writer.getBuffer().toString(); } - private Marshaller getMarshaller() throws JAXBException { + private synchronized Marshaller getMarshaller() throws JAXBException { if (marshaller == null) { marshaller = this.getJaxbContext().createMarshaller(); marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true); @@ -72,7 +74,7 @@ private Marshaller getMarshaller() throws JAXBException { return marshaller; } - private JAXBContext getJaxbContext() throws JAXBException { + private synchronized JAXBContext getJaxbContext() throws JAXBException { if (jaxbContext == null) { jaxbContext = JAXBContext.newInstance(org.hl7.elm.r1.Library.class, org.hl7.cql_annotations.r1.Annotation.class); } diff --git a/evaluator.execution/src/main/java/org/opencds/cqf/cql/evaluator/execution/provider/BundleRetrieveProvider.java b/evaluator.execution/src/main/java/org/opencds/cqf/cql/evaluator/execution/provider/BundleRetrieveProvider.java new file mode 100644 index 000000000..513af07e1 --- /dev/null +++ b/evaluator.execution/src/main/java/org/opencds/cqf/cql/evaluator/execution/provider/BundleRetrieveProvider.java @@ -0,0 +1,217 @@ +package org.opencds.cqf.cql.evaluator.execution.provider; + +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; +import java.util.stream.Collectors; + +import org.hl7.fhir.instance.model.api.IBaseBundle; +import org.hl7.fhir.instance.model.api.IBaseResource; +import org.hl7.fhir.instance.model.api.IIdType; +import org.hl7.fhir.instance.model.api.IPrimitiveType; +import org.opencds.cqf.cql.engine.fhir.model.FhirModelResolver; +import org.opencds.cqf.cql.engine.retrieve.RetrieveProvider; +import org.opencds.cqf.cql.engine.runtime.Code; +import org.opencds.cqf.cql.engine.runtime.Interval; +import org.opencds.cqf.cql.engine.terminology.TerminologyProvider; +import org.opencds.cqf.cql.engine.terminology.ValueSetInfo; +import org.opencds.cqf.cql.evaluator.execution.util.CodeUtil; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import ca.uhn.fhir.util.BundleUtil; + +@SuppressWarnings("rawtypes") +public class BundleRetrieveProvider implements RetrieveProvider { + + private static final Logger logger = LoggerFactory.getLogger(BundleRetrieveProvider.class); + + private IBaseBundle bundle; + private FhirModelResolver modelResolver; + private TerminologyProvider terminologyProvider; + private CodeUtil codeUtil; + + public BundleRetrieveProvider(FhirModelResolver modelResolver, IBaseBundle bundle) { + this(modelResolver, bundle, null); + } + + public BundleRetrieveProvider(FhirModelResolver modelResolver, IBaseBundle bundle, + TerminologyProvider terminologyProvider) { + Objects.requireNonNull(bundle, "bundle can not be null."); + Objects.requireNonNull(modelResolver, "modelResolver can not be null."); + + this.modelResolver = modelResolver; + this.bundle = bundle; + this.terminologyProvider = terminologyProvider; + this.codeUtil = new CodeUtil(modelResolver.getFhirContext()); + } + + @Override + public Iterable retrieve(String context, String contextPath, Object contextValue, String dataType, + String templateId, String codePath, Iterable codes, String valueSet, String datePath, + String dateLowPath, String dateHighPath, Interval dateRange) { + + List resources = BundleUtil.toListOfResourcesOfType( + this.modelResolver.getFhirContext(), this.bundle, + this.modelResolver.getFhirContext().getResourceDefinition(dataType).getImplementingClass()); + + resources = this.filterToContext(dataType, context, contextPath, contextValue, resources); + resources = this.filterToTerminology(dataType, codePath, codes, valueSet, resources); + + return resources.stream().map(x -> (Object) x).collect(Collectors.toList()); + } + + private boolean anyCodeMatch(Iterable left, Iterable right) { + if (left == null || right == null) { + return false; + } + + for (Code code : left) { + for (Code otherCode : right) { + if (code.getCode() != null && code.getCode().equals(otherCode.getCode()) && code.getSystem() != null && code.getSystem().equals(otherCode.getSystem())) { + return true; + } + } + } + + return false; + } + + public boolean anyCodeInValueSet(Iterable codes, String valueSet) { + if (codes == null || valueSet == null) { + return false; + } + + if (this.terminologyProvider == null) { + throw new IllegalStateException(String.format( + "Unable to check code membership for in ValueSet %s. terminologyProvider is null.", valueSet)); + } + + ValueSetInfo valueSetInfo = new ValueSetInfo().withId(valueSet); + for (Code code : codes) { + if (this.terminologyProvider.in(code, valueSetInfo)) { + return true; + } + } + + return false; + } + + // Special case filtering to handle "codes" that are actually ids. This is a + // workaround to handle filtering by Id. + private boolean isPrimitiveMatch(String dataType, IPrimitiveType code, Iterable codes) { + if (code == null || codes == null) { + return false; + } + + // This handles the case that the value is a reference such as + // "Medication/med-id" + String primitiveString = code.getValueAsString().replace(dataType + "/", ""); + for (Object c : codes) { + if (c instanceof String) { + String s = (String) c; + if (s.equals(primitiveString)) { + return true; + } + } + } + + return false; + } + + private List filterToTerminology(String dataType, String codePath, Iterable codes, + String valueSet, List resources) { + if (codes == null && valueSet == null) { + return resources; + } + + if (codePath == null) { + return resources; + } + + List filtered = new ArrayList<>(); + + for (IBaseResource res : resources) { + Object value = this.modelResolver.resolvePath(res, codePath); + + if (value instanceof IPrimitiveType) { + if (isPrimitiveMatch(dataType, (IPrimitiveType) value, codes)) { + filtered.add(res); + } + continue; + } + + List resourceCodes = this.codeUtil.getElmCodesFromObject(value); + if (resourceCodes == null) { + continue; + } + + if (anyCodeMatch(resourceCodes, codes)) { + filtered.add(res); + continue; + } + + if (anyCodeInValueSet(resourceCodes, valueSet)) { + filtered.add(res); + continue; + } + } + + return filtered; + } + + private List filterToContext(String dataType, String context, String contextPath, + Object contextValue, List resources) { + if (context == null || contextValue == null || contextPath == null) { + logger.info( + "Unable to relate {} to {} context with contextPath: {} and contextValue: {}. Returning all resources.", + dataType, context, contextPath, contextValue); + return resources; + } + + List filtered = new ArrayList<>(); + + for (IBaseResource res : resources) { + Object resContextValue = this.modelResolver.resolvePath(res, contextPath); + if (resContextValue instanceof IIdType) { + String id = ((IIdType)resContextValue).getValue(); + if (id == null) { + logger.info("Found null id for {} resource. Skipping.", dataType); + continue; + } + + if (id.contains("/")) { + id = id.split("/")[1]; + } + + if (!id.equals(contextValue)) { + logger.info("Found {} with id {}. Skipping.", dataType, id); + continue; + } + } else { + IPrimitiveType referenceValue = (IPrimitiveType) this.modelResolver.resolvePath(resContextValue, + "reference"); + if (referenceValue == null) { + logger.info("Found {} resource unrelated to context. Skipping.", dataType); + continue; + } + + String referenceString = referenceValue.getValueAsString(); + if (referenceString.contains("/")) { + referenceString = referenceString.substring(referenceString.indexOf("/") + 1, + referenceString.length()); + } + + if (!referenceString.equals((String) contextValue)) { + logger.info("Found {} resource for context value: {} when expecting: {}. Skipping.", dataType, + referenceString, (String) contextValue); + continue; + } + } + + filtered.add(res); + } + + return filtered; + } +} \ No newline at end of file diff --git a/evaluator.execution/src/main/java/org/opencds/cqf/cql/evaluator/execution/provider/NoOpRetrieveProvider.java b/evaluator.execution/src/main/java/org/opencds/cqf/cql/evaluator/execution/provider/NoOpRetrieveProvider.java new file mode 100644 index 000000000..cd09869d6 --- /dev/null +++ b/evaluator.execution/src/main/java/org/opencds/cqf/cql/evaluator/execution/provider/NoOpRetrieveProvider.java @@ -0,0 +1,23 @@ +package org.opencds.cqf.cql.evaluator.execution.provider; + +import java.util.Collections; + +import org.opencds.cqf.cql.engine.retrieve.RetrieveProvider; +import org.opencds.cqf.cql.engine.runtime.Code; +import org.opencds.cqf.cql.engine.runtime.Interval; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +public class NoOpRetrieveProvider implements RetrieveProvider { + + private static final Logger logger = LoggerFactory.getLogger(NoOpRetrieveProvider.class); + + @Override + public Iterable retrieve(String context, String contextPath, Object contextValue, String dataType, + String templateId, String codePath, Iterable codes, String valueSet, String datePath, + String dateLowPath, String dateHighPath, Interval dateRange) { + + logger.info("Attempted retrieve of %s. Returning empty set.", dataType); + return Collections.emptySet(); + } +} \ No newline at end of file diff --git a/evaluator.execution/src/main/java/org/opencds/cqf/cql/evaluator/execution/provider/PriorityRetrieveProvider.java b/evaluator.execution/src/main/java/org/opencds/cqf/cql/evaluator/execution/provider/PriorityRetrieveProvider.java new file mode 100644 index 000000000..77c733ed8 --- /dev/null +++ b/evaluator.execution/src/main/java/org/opencds/cqf/cql/evaluator/execution/provider/PriorityRetrieveProvider.java @@ -0,0 +1,45 @@ + +package org.opencds.cqf.cql.evaluator.execution.provider; + +import java.util.Collections; +import java.util.List; +import java.util.Objects; + +import com.google.common.collect.Lists; + +import org.opencds.cqf.cql.engine.retrieve.RetrieveProvider; +import org.opencds.cqf.cql.engine.runtime.Code; +import org.opencds.cqf.cql.engine.runtime.Interval; + +public class PriorityRetrieveProvider implements RetrieveProvider { + + private List retrieveProviders; +; + public PriorityRetrieveProvider(List retrieveProviders) { + Objects.requireNonNull(retrieveProviders, "retrieveProviders can not be null."); + + this.retrieveProviders = retrieveProviders; + } + + @Override + public Iterable retrieve(String context, String contextPath, Object contextValue, String dataType, + String templateId, String codePath, Iterable codes, String valueSet, String datePath, + String dateLowPath, String dateHighPath, Interval dateRange) { + + for (RetrieveProvider rp : retrieveProviders){ + Iterable result = rp.retrieve(context, contextPath, contextValue, dataType, templateId, codePath, codes, + valueSet, datePath, dateLowPath, dateHighPath, dateRange); + + if (result == null) { + throw new IllegalStateException("retrieveProvider unexpectedly returned null. Should be an empty set."); + } + + List asList = Lists.newArrayList(result); + if (asList.size() > 0) { + return asList; + } + } + + return Collections.emptySet(); + } +} \ No newline at end of file diff --git a/evaluator.execution/src/main/java/org/opencds/cqf/cql/evaluator/execution/terminology/BundleTerminologyProvider.java b/evaluator.execution/src/main/java/org/opencds/cqf/cql/evaluator/execution/terminology/BundleTerminologyProvider.java new file mode 100644 index 000000000..f01887ea8 --- /dev/null +++ b/evaluator.execution/src/main/java/org/opencds/cqf/cql/evaluator/execution/terminology/BundleTerminologyProvider.java @@ -0,0 +1,133 @@ + +package org.opencds.cqf.cql.evaluator.execution.terminology; + +import java.util.Collections; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +import org.hl7.fhir.instance.model.api.IBaseBundle; +import org.hl7.fhir.instance.model.api.IBaseResource; +import org.opencds.cqf.cql.engine.runtime.Code; +import org.opencds.cqf.cql.engine.terminology.CodeSystemInfo; +import org.opencds.cqf.cql.engine.terminology.TerminologyProvider; +import org.opencds.cqf.cql.engine.terminology.ValueSetInfo; +import org.opencds.cqf.cql.evaluator.execution.util.ValueSetUtil; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import ca.uhn.fhir.context.FhirContext; +import ca.uhn.fhir.util.BundleUtil; + +public class BundleTerminologyProvider implements TerminologyProvider { + + private static final Logger logger = LoggerFactory.getLogger(BundleTerminologyProvider.class); + + private FhirContext fhirContext; + private List valueSets; + private Map> valueSetIndex = new HashMap<>(); + + private boolean initialized = false; + + public BundleTerminologyProvider(FhirContext fhirContext, IBaseBundle bundle) { + Objects.requireNonNull(fhirContext, "fhirContext can not be null."); + Objects.requireNonNull(bundle, "bundle can not be null."); + + this.fhirContext = fhirContext; + this.valueSets = BundleUtil.toListOfResourcesOfType(this.fhirContext, bundle, this.fhirContext.getResourceDefinition("ValueSet").getImplementingClass()); + } + + + /** + * This method checks for membership of a Code in a ValueSet + * @param code The Code to check. + * @param valueSet The ValueSetInfo for the ValueSet to check membership of. Can not be null. + * @return True if code is in the ValueSet. + */ + @Override + public boolean in(Code code, ValueSetInfo valueSet) { + Objects.requireNonNull(code, "code can not be null when using 'expand'"); + Objects.requireNonNull(valueSet, "valueSet can not be null when using 'expand'"); + + Iterable codes = this.expand(valueSet); + for (Code c : codes) { + if (c.getCode().equals(code.getCode()) && c.getSystem().equals(code.getSystem())) { + return true; + } + } + + return false; + } + + + /** + * This method expands a ValueSet into a list of Codes. It will use the "expansion" element of the ValueSet if present. + * It will fall back the to "compose" element if not present. NOTE: This provider does not provide a full expansion + * of the "compose" element. If only lists the codes present in the "compose". + * @param valueSet The ValueSetInfo of the ValueSet to expand + * @return The Codes in the ValueSet. NOTE: This method never returns null. + */ + @Override + + public Iterable expand(ValueSetInfo valueSet) { + Objects.requireNonNull(valueSet, "valueSet can not be null when using 'expand'"); + + this.initialize(); + + if (!this.valueSetIndex.containsKey(valueSet.getId())) { + throw new IllegalArgumentException(String.format("Unable to locate ValueSet %s", valueSet.getId())); + } + + return this.valueSetIndex.get(valueSet.getId()); + } + + + /** + * Lookup is only partially implemented for this TerminologyProvider. Full implementation requires the ability to + * access the full CodeSystem. This implementation only checks the code system of the code matches the CodeSystemInfo + * url, and verifies the version if present. + * @param code The Code to lookup + * @param codeSystem The CodeSystemInfo of the CodeSystem to check. + * @return The Code if the system of the Code (and version if specified) matches the CodeSystemInfo url (and version) + */ + @Override + public Code lookup(Code code, CodeSystemInfo codeSystem) { + if (code.getSystem() == null) { + return null; + } + + if (code.getSystem().equals(codeSystem.getId()) && (code.getVersion() == null || code.getVersion().equals(codeSystem.getVersion()))) { + logger.warn("Unvalidated CodeSystem lookup: {} in {}", code.toString(), codeSystem.getId()); + return code; + } + + return null; + } + + private void initialize() { + if (this.initialized) { + return; + } + + for (IBaseResource resource : this.valueSets) { + String url = ValueSetUtil.getUrl(fhirContext, resource); + Iterable codes = ValueSetUtil.getCodesInExpansion(this.fhirContext, resource); + + if (codes == null) { + logger.info("ValueSet {} is not expanded. Falling back to compose definition. This will potentially produce incorrect results. ", url); + codes = ValueSetUtil.getCodesInCompose(this.fhirContext, resource); + } + + if (codes == null) { + codes = Collections.emptySet(); + } + + this.valueSetIndex.put(url, codes); + } + + + this.initialized = true; + } + +} \ No newline at end of file diff --git a/evaluator.execution/src/main/java/org/opencds/cqf/cql/evaluator/execution/util/CodeUtil.java b/evaluator.execution/src/main/java/org/opencds/cqf/cql/evaluator/execution/util/CodeUtil.java new file mode 100644 index 000000000..2049778f0 --- /dev/null +++ b/evaluator.execution/src/main/java/org/opencds/cqf/cql/evaluator/execution/util/CodeUtil.java @@ -0,0 +1,148 @@ +package org.opencds.cqf.cql.evaluator.execution.util; + +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; + +import org.hl7.fhir.instance.model.api.IBase; +import org.hl7.fhir.instance.model.api.IPrimitiveType; +import org.opencds.cqf.cql.engine.runtime.Code; + +import ca.uhn.fhir.context.BaseRuntimeChildDefinition; +import ca.uhn.fhir.context.BaseRuntimeChildDefinition.IAccessor; +import ca.uhn.fhir.context.FhirContext; +import ca.uhn.fhir.context.RuntimeCompositeDatatypeDefinition; + +public class CodeUtil { + private RuntimeCompositeDatatypeDefinition conceptDefinition; + private RuntimeCompositeDatatypeDefinition codingDefinition; + + private BaseRuntimeChildDefinition conceptCodingChild; + + private BaseRuntimeChildDefinition versionDefinition; + private BaseRuntimeChildDefinition codeDefinition; + private BaseRuntimeChildDefinition systemDefinition; + private BaseRuntimeChildDefinition displayDefinition; + + public CodeUtil(FhirContext fhirContext) { + //this.fhirContext = fhirContext; + this.conceptDefinition = (RuntimeCompositeDatatypeDefinition)fhirContext.getElementDefinition("CodeableConcept"); + this.conceptCodingChild = (BaseRuntimeChildDefinition)conceptDefinition.getChildByName("coding"); + + this.codingDefinition = (RuntimeCompositeDatatypeDefinition)fhirContext.getElementDefinition("Coding"); + this.versionDefinition = (BaseRuntimeChildDefinition)codingDefinition.getChildByName("version"); + this.codeDefinition = (BaseRuntimeChildDefinition)codingDefinition.getChildByName("code"); + this.systemDefinition = (BaseRuntimeChildDefinition)codingDefinition.getChildByName("system"); + this.displayDefinition = (BaseRuntimeChildDefinition)codingDefinition.getChildByName("display"); + } + + public List getElmCodesFromObject(Object object) { + List codes = new ArrayList(); + if(object instanceof Iterable) { + for (Object innerObject : (Iterable)object) { + List elmCodes = getElmCodesFromObject(innerObject); + if (elmCodes != null) { + codes.addAll(elmCodes); + } + } + } + else { + List elmCodes = getElmCodesFromObjectInner(object); + if (elmCodes != null) { + codes.addAll(elmCodes); + } + } + return codes; + } + + private List getElmCodesFromObjectInner(Object object) { + List codes = new ArrayList(); + if (object == null) { + return codes; + } + else if (object instanceof IBase) { + List innerCodes = getCodesFromBase((IBase)object); + if (innerCodes != null) { + codes.addAll(innerCodes); + } + } + else if (object instanceof Code){ + codes.add((Code)object); + } else { + throw new IllegalArgumentException(String.format("Unable to extract codes from object %s", object.toString())); + } + + return codes; + } + + private List getCodesFromBase(IBase object) { + if (object.fhirType().equals("CodeableConcept")) { + return this.getCodesInConcept(object); + } + else if (object.fhirType().equals("Coding")) { + return this.generateCodes(Collections.singletonList(object)); + } + + throw new IllegalArgumentException(String.format("Unable to extract codes from fhirType %s", object.fhirType())); + } + + private List getCodesInConcept(IBase object) { + List codingObjects = getCodingObjects(object); + if (codingObjects == null) { + return null; + } + return generateCodes(codingObjects); + } + + private List generateCodes(List codingObjects) { + + List codes = new ArrayList<>(); + for (IBase coding : codingObjects) { + String code = getStringValueFromPrimitiveDefinition(this.codeDefinition, coding); + String display = getStringValueFromPrimitiveDefinition(this.displayDefinition, coding); + String system = getStringValueFromPrimitiveDefinition(this.systemDefinition, coding); + String version = getStringValueFromPrimitiveDefinition(this.versionDefinition, coding); + codes.add(new Code() + .withSystem(system) + .withCode(code) + .withDisplay(display) + .withVersion(version)); + } + return codes; + } + + private List getCodingObjects(IBase object) { + List codingObject = null; + try { + codingObject = this.conceptCodingChild.getAccessor().getValues(object); + } catch (Exception e) { + //TODO: handle exception + } + return codingObject; + } + + private String getStringValueFromPrimitiveDefinition(BaseRuntimeChildDefinition definition, IBase value) { + IAccessor accessor = definition.getAccessor(); + if (value == null || accessor == null) { + return null; + } + + List values = accessor.getValues(value); + if (values == null || values.isEmpty()) { + return null; + } + + if (values.size() > 1) { + throw new IllegalArgumentException("More than one value returned while attempting to access primitive value."); + } + + IBase baseValue = values.get(0); + + if (!(baseValue instanceof IPrimitiveType)) { + throw new IllegalArgumentException("Non-primitive value encountered while trying to access primitive value."); + } + else { + return ((IPrimitiveType)baseValue).getValueAsString(); + } + } +} \ No newline at end of file diff --git a/evaluator.execution/src/main/java/org/opencds/cqf/cql/evaluator/execution/util/DirectoryBundler.java b/evaluator.execution/src/main/java/org/opencds/cqf/cql/evaluator/execution/util/DirectoryBundler.java new file mode 100644 index 000000000..102cfee84 --- /dev/null +++ b/evaluator.execution/src/main/java/org/opencds/cqf/cql/evaluator/execution/util/DirectoryBundler.java @@ -0,0 +1,139 @@ +package org.opencds.cqf.cql.evaluator.execution.util; + +import java.io.File; +import java.nio.charset.Charset; +import java.util.ArrayList; +import java.util.Collection; +import java.util.List; +import java.util.Objects; + +import org.apache.commons.io.FileUtils; +import org.hl7.fhir.instance.model.api.IBaseBundle; +import org.hl7.fhir.instance.model.api.IBaseResource; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import ca.uhn.fhir.context.FhirContext; +import ca.uhn.fhir.context.api.BundleInclusionRule; +import ca.uhn.fhir.model.valueset.BundleTypeEnum; +import ca.uhn.fhir.parser.IParser; +import ca.uhn.fhir.rest.api.IVersionSpecificBundleFactory; +import ca.uhn.fhir.util.BundleUtil; + +/** + * This class takes a directory and bundles all FHIR resources found in it + * recursively. + */ +public class DirectoryBundler { + + private static final Logger logger = LoggerFactory.getLogger(DirectoryBundler.class); + + private FhirContext fhirContext; + private IParser xml = null; + private IParser json = null;; + + public DirectoryBundler(FhirContext fhirContext) { + Objects.requireNonNull(fhirContext, "fhirContext must not be null."); + + this.fhirContext = fhirContext; + } + + /** + * Recursively searches all files and sub-directory and parses all xml and json + * FHIR resources. Adds all resources to a collection-type Bundle (recursively + * flattening Bundle resources). + * + * @param pathToDirectory The root directory to bundle. + * @return A Bundle of all the resources in the root directory and + * subdirectories + */ + public IBaseBundle bundle(String pathToDirectory) { + Objects.requireNonNull(pathToDirectory, "pathToDirectory must not be null."); + + File resourceDirectory = new File(pathToDirectory); + if (!resourceDirectory.exists()) { + throw new IllegalArgumentException("The specified path to resource files does not exist."); + } + + if (!resourceDirectory.isDirectory()) { + throw new IllegalArgumentException("The specified path to resource files is not a directory."); + } + + Collection files = FileUtils.listFiles(resourceDirectory, new String[] { "xml", "json" }, true); + + return bundleFiles(files); + } + + private IBaseBundle bundleFiles(Collection files) { + List resources = new ArrayList<>(); + + for (File f : files) { + IBaseResource resource = parseFile(f); + + if (resource == null) { + continue; + } + + if (resource instanceof IBaseBundle) { + List innerResources = flatten(this.fhirContext, (IBaseBundle) resource); + resources.addAll(innerResources); + } else { + resources.add(resource); + } + } + + IVersionSpecificBundleFactory bundleFactory = this.fhirContext.newBundleFactory(); + + bundleFactory.addRootPropertiesToBundle("bundled-directory", null, null, null, null, resources.size(), + BundleTypeEnum.COLLECTION, null); + + bundleFactory.addResourcesToBundle(resources, BundleTypeEnum.COLLECTION, "", + BundleInclusionRule.BASED_ON_INCLUDES, null); + + return (IBaseBundle) bundleFactory.getResourceBundle(); + } + + private IBaseResource parseFile(File f) { + try { + String resource = FileUtils.readFileToString(f, Charset.forName("UTF-8")); + if (f.getName().endsWith("json")) { + if (this.json == null) { + this.json = this.fhirContext.newJsonParser(); + } + + return this.json.parseResource(resource); + } else { + if (this.xml == null) { + this.xml = this.fhirContext.newXmlParser(); + } + + return this.xml.parseResource(resource); + } + } catch (Exception e) { + logger.warn("Error parsing resource {}: {}", f.getAbsolutePath(), e.getMessage()); + return null; + } + } + + private List flatten(FhirContext fhirContext, IBaseBundle bundle) { + List resources = new ArrayList<>(); + + // Only load collection-type bundles + // TODO: discuss this with Bryn + if (!BundleUtil.getBundleType(fhirContext, bundle).equals("collection")) { + return resources; + } + + List bundleResources = BundleUtil.toListOfResources(fhirContext, bundle); + for (IBaseResource r : bundleResources) { + if (r instanceof IBaseBundle) { + List innerResources = flatten(fhirContext, (IBaseBundle) r); + resources.addAll(innerResources); + } else { + resources.add(r); + } + } + + return resources; + } +} \ No newline at end of file diff --git a/service/src/main/java/org/opencds/cqf/cql/service/util/ValueSetUtil.java b/evaluator.execution/src/main/java/org/opencds/cqf/cql/evaluator/execution/util/ValueSetUtil.java similarity index 98% rename from service/src/main/java/org/opencds/cqf/cql/service/util/ValueSetUtil.java rename to evaluator.execution/src/main/java/org/opencds/cqf/cql/evaluator/execution/util/ValueSetUtil.java index 39584a5fc..16c668ae1 100644 --- a/service/src/main/java/org/opencds/cqf/cql/service/util/ValueSetUtil.java +++ b/evaluator.execution/src/main/java/org/opencds/cqf/cql/evaluator/execution/util/ValueSetUtil.java @@ -1,4 +1,4 @@ -package org.opencds.cqf.cql.service.util; +package org.opencds.cqf.cql.evaluator.execution.util; import java.util.ArrayList; import java.util.List; @@ -6,14 +6,14 @@ import org.hl7.fhir.instance.model.api.IBase; import org.hl7.fhir.instance.model.api.IBaseResource; import org.hl7.fhir.instance.model.api.IPrimitiveType; -import org.opencds.cqf.cql.runtime.Code; +import org.opencds.cqf.cql.engine.runtime.Code; import ca.uhn.fhir.context.BaseRuntimeChildDefinition; +import ca.uhn.fhir.context.BaseRuntimeChildDefinition.IAccessor; import ca.uhn.fhir.context.FhirContext; import ca.uhn.fhir.context.RuntimeChildResourceBlockDefinition; import ca.uhn.fhir.context.RuntimeResourceBlockDefinition; import ca.uhn.fhir.context.RuntimeResourceDefinition; -import ca.uhn.fhir.context.BaseRuntimeChildDefinition.IAccessor; public class ValueSetUtil { @@ -247,7 +247,7 @@ private static String getStringValueFromPrimitiveAccessor(IBase value, IAccessor throw new IllegalArgumentException("Non-primitive value encountered while trying to access primitive value."); } else { - return ((IPrimitiveType)baseValue).getValueAsString(); + return ((IPrimitiveType)baseValue).getValueAsString(); } } diff --git a/evaluator.execution/src/test/java/org/opencds/cqf/cql/evaluator/execution/provider/BundleRetrieveProviderTests.java b/evaluator.execution/src/test/java/org/opencds/cqf/cql/evaluator/execution/provider/BundleRetrieveProviderTests.java new file mode 100644 index 000000000..bd21dcb18 --- /dev/null +++ b/evaluator.execution/src/test/java/org/opencds/cqf/cql/evaluator/execution/provider/BundleRetrieveProviderTests.java @@ -0,0 +1,192 @@ + +package org.opencds.cqf.cql.evaluator.execution.provider; + +import static org.hamcrest.Matchers.instanceOf; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertThat; + +import java.io.InputStream; +import java.util.Collections; +import java.util.List; + +import com.google.common.collect.Lists; + +import org.hl7.fhir.instance.model.api.IBaseBundle; +import org.hl7.fhir.instance.model.api.IBaseResource; +import org.hl7.fhir.r4.model.Condition; +import org.hl7.fhir.r4.model.Medication; +import org.hl7.fhir.r4.model.Patient; +import org.opencds.cqf.cql.engine.fhir.model.FhirModelResolver; +import org.opencds.cqf.cql.engine.fhir.model.R4FhirModelResolver; +import org.opencds.cqf.cql.engine.retrieve.RetrieveProvider; +import org.opencds.cqf.cql.engine.runtime.Code; +import org.opencds.cqf.cql.engine.terminology.TerminologyProvider; +import org.opencds.cqf.cql.evaluator.execution.terminology.BundleTerminologyProvider; +import org.testng.annotations.Test; + +import ca.uhn.fhir.context.FhirContext; +import ca.uhn.fhir.parser.IParser; + + +public class BundleRetrieveProviderTests { + + private IBaseBundle loadBundle(FhirContext fhirContext, String path) { + InputStream stream = this.getClass().getClassLoader().getResourceAsStream(path); + IParser parser = path.endsWith("json") ? fhirContext.newJsonParser() : fhirContext.newXmlParser(); + IBaseResource resource = parser.parseResource(stream); + + if (resource == null) { + throw new IllegalArgumentException(String.format("Unable to read a resource from %s.", path)); + } + + Class bundleClass = fhirContext.getResourceDefinition("Bundle").getImplementingClass(); + if (!bundleClass.equals(resource.getClass())) { + throw new IllegalArgumentException(String.format("Resource at %s is not FHIR %s Bundle", path, + fhirContext.getVersion().getVersion().getFhirVersionString())); + } + + return (IBaseBundle) resource; + } + + private RetrieveProvider getBundleRetrieveProvider() { + return this.getBundleRetrieveProvider(null); + } + + @SuppressWarnings("rawtypes") + private RetrieveProvider getBundleRetrieveProvider(TerminologyProvider terminologyProvider) { + FhirModelResolver resolver = new R4FhirModelResolver(); + IBaseBundle bundle = this.loadBundle(resolver.getFhirContext(), "r4/TestBundleTwoPatients.json"); + return new BundleRetrieveProvider(resolver, bundle, terminologyProvider); + } + + @Test + public void test_noResults_returnsEmptySet() { + RetrieveProvider retrieve = this.getBundleRetrieveProvider(); + + Iterable results = retrieve.retrieve(null, null, null, "PlanDefinition", null, null, null, null, null, null, null, null); + assertNotNull(results); + List resultList = Lists.newArrayList(results); + assertEquals(0, resultList.size()); + } + + + @Test + public void test_filterToDataType() { + RetrieveProvider retrieve = this.getBundleRetrieveProvider(); + + Iterable results = retrieve.retrieve(null, null, null, "Patient", null, null, null, null, null, null, null, null); + List resultList = Lists.newArrayList(results); + + assertEquals(2, resultList.size()); + assertThat(resultList.get(0), instanceOf(Patient.class)); + } + + @Test + public void test_filterToDataType_dataTypeNotPresent() { + RetrieveProvider retrieve = this.getBundleRetrieveProvider(); + + Iterable results = retrieve.retrieve(null, null, null, "PlanDefinition", null, null, null, null, null, null, null, null); + List resultList = Lists.newArrayList(results); + + assertEquals(0, resultList.size()); + } + + @Test + public void test_filterToContext() { + RetrieveProvider retrieve = this.getBundleRetrieveProvider(); + + Iterable results = retrieve.retrieve("Patient", "subject", "test-one-r4", "Condition", null, null, null, null, null, null, null, null); + List resultList = Lists.newArrayList(results); + + assertEquals(2, resultList.size()); + assertThat(resultList.get(0), instanceOf(Condition.class)); + assertEquals("test-one-r4", ((Condition)resultList.get(0)).getSubject().getReferenceElement().getIdPart()); + } + + @Test + public void test_filterToContext_noContextRelation() { + RetrieveProvider retrieve = this.getBundleRetrieveProvider(); + + Iterable results = retrieve.retrieve("Patient", null, "test-one-r4", "Medication", null, null, null, null, null, null, null, null); + List resultList = Lists.newArrayList(results); + + assertEquals(1, resultList.size()); + assertThat(resultList.get(0), instanceOf(Medication.class)); + } + + // This test covers a special case that's outside of normal usage, which is supplying + // Strings in the "Codes" element to allows filtering by Id. + @Test + @SuppressWarnings("unchecked") + public void test_filterById() { + RetrieveProvider retrieve = this.getBundleRetrieveProvider(); + + // Id does exist + Iterable codes = (Iterable)(Iterable)Collections.singletonList("test-med"); + Iterable results = retrieve.retrieve("Patient", null, "test-one-r4", "Medication", null, "id", codes, null, null, null, null, null); + List resultList = Lists.newArrayList(results); + assertEquals(1, resultList.size()); + assertThat(resultList.get(0), instanceOf(Medication.class)); + + // Id does not exist + codes = (Iterable)(Iterable)Collections.singletonList("test-med-does-exist"); + results = retrieve.retrieve("Patient", null, "test-one-r4", "Medication", null, "id", codes, null, null, null, null, null); + resultList = Lists.newArrayList(results); + assertEquals(0, resultList.size()); + } + + @Test + public void test_filterToCodes() { + RetrieveProvider retrieve = this.getBundleRetrieveProvider(); + + // Code doesn't match + Code code = new Code().withCode("not-a-code").withSystem("not-a-system"); + Iterable results = retrieve.retrieve("Patient", "subject", "test-one-r4", "Condition", null, "code", Collections.singleton(code), null, null, null, null, null); + assertNotNull(results); + List resultList = Lists.newArrayList(results); + assertEquals(0, resultList.size()); + + // Codes does match + code = new Code().withCode("10327003").withSystem("http://snomed.info/sct"); + results = retrieve.retrieve("Patient", "subject", "test-one-r4", "Condition", null, "code", Collections.singleton(code), null, null, null, null, null); + assertNotNull(results); + resultList = Lists.newArrayList(results); + assertEquals(1, resultList.size()); + assertThat(resultList.get(0), instanceOf(Condition.class)); + assertEquals("test-one-r4", ((Condition)resultList.get(0)).getSubject().getReferenceElement().getIdPart()); + } + + + @Test(expectedExceptions = IllegalStateException.class) + public void test_filterToValueSet_noTerminologyProvider() { + RetrieveProvider retrieve = this.getBundleRetrieveProvider(); + + retrieve.retrieve("Patient", "subject", "test-one-r4", "Condition", null, "code", null, + "value-set-url", null, null, null, null); + } + + @Test + public void test_filterToValueSet() { + FhirContext fhirContext = FhirContext.forR4(); + IBaseBundle bundle = this.loadBundle(fhirContext, "r4/TestBundleValueSets.json"); + TerminologyProvider terminologyProvider = new BundleTerminologyProvider(fhirContext, bundle); + + RetrieveProvider retrieve = this.getBundleRetrieveProvider(terminologyProvider); + + // Not in the value set + Iterable results = retrieve.retrieve("Patient", "subject", "test-one-r4", "Condition", null, "code", null, + "http://localhost/fhir/ValueSet/value-set-three", null, null, null, null); + assertNotNull(results); + List resultList = Lists.newArrayList(results); + assertEquals(0, resultList.size()); + + + // In the value set + results = retrieve.retrieve("Patient", "subject", "test-one-r4", "Condition", null, "code", null, + "http://localhost/fhir/ValueSet/value-set-one", null, null, null, null); + assertNotNull(results); + resultList = Lists.newArrayList(results); + assertEquals(1, resultList.size()); + } +} \ No newline at end of file diff --git a/evaluator.execution/src/test/java/org/opencds/cqf/cql/evaluator/execution/provider/PriorityRetrieveProviderTests.java b/evaluator.execution/src/test/java/org/opencds/cqf/cql/evaluator/execution/provider/PriorityRetrieveProviderTests.java new file mode 100644 index 000000000..d590f7918 --- /dev/null +++ b/evaluator.execution/src/test/java/org/opencds/cqf/cql/evaluator/execution/provider/PriorityRetrieveProviderTests.java @@ -0,0 +1,86 @@ + +package org.opencds.cqf.cql.evaluator.execution.provider; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; + +import java.util.Collections; +import java.util.List; + +import com.google.common.collect.Lists; + +import org.opencds.cqf.cql.engine.retrieve.RetrieveProvider; +import org.opencds.cqf.cql.engine.runtime.Code; +import org.opencds.cqf.cql.engine.runtime.Interval; +import org.testng.annotations.Test; + + +public class PriorityRetrieveProviderTests { + + @Test(expectedExceptions = NullPointerException.class) + public void test_nullConstructorParameterThrowsException() { + new PriorityRetrieveProvider(null); + } + + @Test + public void test_noProviders_returnsEmptySet() { + RetrieveProvider retrieve = new PriorityRetrieveProvider(Collections.emptyList()); + Iterable result= retrieve.retrieve(null, null, null, null, null, null, null, null, null, null, null, null); + assertNotNull(result); + List resultList = Lists.newArrayList(result); + assertEquals(0, resultList.size()); + } + + @Test(expectedExceptions = IllegalStateException.class) + public void test_badProvider_throwsException() { + + RetrieveProvider badProvider = new RetrieveProvider(){ + @Override + public Iterable retrieve(String context, String contextPath, Object contextValue, String dataType, + String templateId, String codePath, Iterable codes, String valueSet, String datePath, + String dateLowPath, String dateHighPath, Interval dateRange) { + + // This is an invalid results. Providers should return an empty set. + return null; + } + }; + RetrieveProvider retrieve = new PriorityRetrieveProvider(Collections.singletonList(badProvider)); + retrieve.retrieve(null, null, null, null, null, null, null, null, null, null, null, null); + } + + @Test + public void test_retrieve_returnsFirstNonEmpty() { + RetrieveProvider providerOne = new RetrieveProvider(){ + @Override + public Iterable retrieve(String context, String contextPath, Object contextValue, String dataType, + String templateId, String codePath, Iterable codes, String valueSet, String datePath, + String dateLowPath, String dateHighPath, Interval dateRange) { + return Collections.emptySet(); + } + }; + + RetrieveProvider providerTwo = new RetrieveProvider(){ + @Override + public Iterable retrieve(String context, String contextPath, Object contextValue, String dataType, + String templateId, String codePath, Iterable codes, String valueSet, String datePath, + String dateLowPath, String dateHighPath, Interval dateRange) { + return Lists.newArrayList(1, 2, 3); + } + }; + + RetrieveProvider providerThree = new RetrieveProvider(){ + @Override + public Iterable retrieve(String context, String contextPath, Object contextValue, String dataType, + String templateId, String codePath, Iterable codes, String valueSet, String datePath, + String dateLowPath, String dateHighPath, Interval dateRange) { + return Lists.newArrayList(5, 4, 3, 2, 1); + } + }; + + RetrieveProvider retrieve = new PriorityRetrieveProvider(Lists.newArrayList(providerOne, providerTwo, providerThree)); + Iterable results = retrieve.retrieve(null, null, null, null, null, null, null, null, null, null, null, null); + assertNotNull(results); + List resultList = Lists.newArrayList(results); + assertEquals(3, resultList.size()); + } +} \ No newline at end of file diff --git a/evaluator.execution/src/test/java/org/opencds/cqf/cql/evaluator/execution/terminology/BundleTerminologyProviderTests.java b/evaluator.execution/src/test/java/org/opencds/cqf/cql/evaluator/execution/terminology/BundleTerminologyProviderTests.java new file mode 100644 index 000000000..85155320e --- /dev/null +++ b/evaluator.execution/src/test/java/org/opencds/cqf/cql/evaluator/execution/terminology/BundleTerminologyProviderTests.java @@ -0,0 +1,138 @@ + +package org.opencds.cqf.cql.evaluator.execution.terminology; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertNotNull; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertTrue; + +import java.io.InputStream; +import java.util.List; + +import com.google.common.collect.Lists; + +import org.hl7.fhir.instance.model.api.IBaseBundle; +import org.hl7.fhir.instance.model.api.IBaseResource; +import org.opencds.cqf.cql.engine.runtime.Code; +import org.opencds.cqf.cql.engine.terminology.CodeSystemInfo; +import org.opencds.cqf.cql.engine.terminology.TerminologyProvider; +import org.opencds.cqf.cql.engine.terminology.ValueSetInfo; +import org.testng.annotations.Test; + +import ca.uhn.fhir.context.FhirContext; +import ca.uhn.fhir.parser.IParser; + + +public class BundleTerminologyProviderTests { + + private IBaseBundle loadBundle(FhirContext fhirContext, String path) { + InputStream stream = this.getClass().getClassLoader().getResourceAsStream(path); + IParser parser = path.endsWith("json") ? fhirContext.newJsonParser() : fhirContext.newXmlParser(); + IBaseResource resource = parser.parseResource(stream); + + if (resource == null) { + throw new IllegalArgumentException(String.format("Unable to read a resource from %s.", path)); + } + + Class bundleClass = fhirContext.getResourceDefinition("Bundle").getImplementingClass(); + if (!bundleClass.equals(resource.getClass())) { + throw new IllegalArgumentException(String.format("Resource at %s is not FHIR %s Bundle", path, + fhirContext.getVersion().getVersion().getFhirVersionString())); + } + + return (IBaseBundle) resource; + } + + + private TerminologyProvider getTerminologyProvider() { + FhirContext context = FhirContext.forR4(); + IBaseBundle bundle = this.loadBundle(context, "r4/TestBundleValueSets.json"); + return new BundleTerminologyProvider(context, bundle); + } + + + @Test + public void test_expandFromExpansion() { + TerminologyProvider terminology = this.getTerminologyProvider(); + Iterable codes = terminology.expand(new ValueSetInfo().withId("http://localhost/fhir/ValueSet/value-set-three")); + assertNotNull(codes); + List codesList = Lists.newArrayList(codes); + assertEquals(3, codesList.size()); + } + + @Test + public void test_expandFromCompose() { + TerminologyProvider terminology = this.getTerminologyProvider(); + Iterable codes = terminology.expand(new ValueSetInfo().withId("http://localhost/fhir/ValueSet/value-set-two")); + assertNotNull(codes); + List codesList = Lists.newArrayList(codes); + assertEquals(3, codesList.size()); + } + + @Test + public void test_expand_expansionOverridesCompose() { + TerminologyProvider terminology = this.getTerminologyProvider(); + Iterable codes = terminology.expand(new ValueSetInfo().withId("http://localhost/fhir/ValueSet/value-set-one")); + assertNotNull(codes); + List codesList = Lists.newArrayList(codes); + assertEquals(3, codesList.size()); + } + + + @Test + public void test_expand_noCodes_returnsEmptySet() { + TerminologyProvider terminology = this.getTerminologyProvider(); + Iterable codes = terminology.expand(new ValueSetInfo().withId("http://localhost/fhir/ValueSet/value-set-four")); + assertNotNull(codes); + List codesList = Lists.newArrayList(codes); + assertEquals(0, codesList.size()); + } + + @Test(expectedExceptions = IllegalArgumentException.class) + public void test_expand_invalidValueSet() { + TerminologyProvider terminology = this.getTerminologyProvider(); + terminology.expand(new ValueSetInfo().withId("http://not-value-set")); + } + + @Test(expectedExceptions = NullPointerException.class) + public void test_expand_nullValueSet() { + TerminologyProvider terminology = this.getTerminologyProvider(); + terminology.expand(null); + } + + @Test + public void test_inValueSet() { + TerminologyProvider terminology = this.getTerminologyProvider(); + boolean inValueSet = terminology.in( + new Code().withSystem("http://localhost/unit-test").withCode("000"), + new ValueSetInfo().withId("http://localhost/fhir/ValueSet/value-set-one")); + assertTrue(inValueSet); + + inValueSet = terminology.in( + new Code().withSystem("http://localhost/not-a-system").withCode("XXX"), + new ValueSetInfo().withId("http://localhost/fhir/ValueSet/value-set-one")); + assertFalse(inValueSet); + } + + @Test(expectedExceptions = NullPointerException.class) + public void test_inValueSet_nullValueSet() { + TerminologyProvider terminology = this.getTerminologyProvider(); + terminology.in(new Code().withSystem("http://localhost/not-a-system").withCode("XXX"), null); + } + + @Test(expectedExceptions = NullPointerException.class) + public void test_inValueSet_nullCode() { + TerminologyProvider terminology = this.getTerminologyProvider(); + terminology.in(null, new ValueSetInfo().withId("http://localhost/fhir/ValueSet/value-set-one")); + } + + // As of the the time this was written lookup does not work + // for Bundles (the assumption is that the full code-system is not available) + @Test + public void test_lookupReturnsNull() { + TerminologyProvider terminology = this.getTerminologyProvider(); + Code result = terminology.lookup(new Code().withCode("000"), new CodeSystemInfo().withId("http://localhost/unit-test")); + assertNull(result); + } +} \ No newline at end of file diff --git a/evaluator.execution/src/test/java/org/opencds/cqf/cql/evaluator/execution/util/CodeUtilsTests.java b/evaluator.execution/src/test/java/org/opencds/cqf/cql/evaluator/execution/util/CodeUtilsTests.java new file mode 100644 index 000000000..2d77fa91a --- /dev/null +++ b/evaluator.execution/src/test/java/org/opencds/cqf/cql/evaluator/execution/util/CodeUtilsTests.java @@ -0,0 +1,126 @@ +package org.opencds.cqf.cql.evaluator.execution.util; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; + +import java.util.Collections; +import java.util.List; + +import org.hl7.fhir.Patient; +import org.hl7.fhir.dstu2.model.StringType; +import org.hl7.fhir.r4.model.CodeableConcept; +import org.hl7.fhir.r4.model.Coding; +import org.opencds.cqf.cql.engine.runtime.Code; +import org.testng.annotations.BeforeClass; +import org.testng.annotations.Test; + +import ca.uhn.fhir.context.FhirContext; + +public class CodeUtilsTests { + + FhirContext fhirContext; + CodeUtil codeUtil; + + @BeforeClass + public void initialize() { + this.fhirContext = FhirContext.forR4(); + this.codeUtil = new CodeUtil(fhirContext); + } + + @Test + public void TestGetCodeFromCode() { + + Code expected = new Code().withCode("code"); + + List actual = this.codeUtil.getElmCodesFromObject(expected); + + assertTrue(actual.get(0).equals(expected)); + } + + @Test + public void TestGetCodesFromCodes() { + + List expected = Collections.singletonList(new Code().withCode("code")); + + List actual = this.codeUtil.getElmCodesFromObject(expected); + + assertEquals(expected.size(), actual.size()); + assertEquals(expected.get(0), actual.get(0)); + } + + @Test + public void TestGetCodesFromNull() { + + List actual = this.codeUtil.getElmCodesFromObject(null); + + assertEquals(0, actual.size()); + } + + @Test + public void TestGetCodesFromCodingNoValues() { + + Coding coding = new Coding(); + + Code expected = new Code(); + + List actual = this.codeUtil.getElmCodesFromObject(coding); + + assertTrue(expected.equivalent(actual.get(0))); + } + + @Test + public void TestGetCodesFromCodingValues() { + + Coding coding = new Coding(); + + coding.setSystem("test-system"); + coding.setCode("test-code"); + + Code expected = new Code().withCode("test-code").withSystem("test-system"); + + List actualList = this.codeUtil.getElmCodesFromObject(coding); + + Code actual = actualList.get(0); + + assertTrue(expected.equivalent(actual)); + } + + @Test + public void TestGetCodesFromCodeableConceptOneCode() { + + Coding coding = new Coding(); + + coding.setSystem("test-system"); + coding.setCode("test-code"); + + CodeableConcept concept = new CodeableConcept(coding); + + Code expected = new Code().withCode("test-code").withSystem("test-system"); + + List actualList = this.codeUtil.getElmCodesFromObject(concept); + + Code actual = actualList.get(0); + + assertTrue(expected.equivalent(actual)); + } + + @Test + public void TestGetCodesFromCodeableNoCodes() { + + CodeableConcept concept = new CodeableConcept(); + + List actualList = this.codeUtil.getElmCodesFromObject(concept); + assertTrue(actualList.isEmpty()); + } + + @Test(expectedExceptions = IllegalArgumentException.class) + public void TestGetCodesFromInvalidResource() { + this.codeUtil.getElmCodesFromObject(new Patient()); + } + + + @Test(expectedExceptions = IllegalArgumentException.class) + public void TestGetCodesFromInvalidBase() { + this.codeUtil.getElmCodesFromObject(new StringType("test")); + } +} diff --git a/evaluator.execution/src/test/java/org/opencds/cqf/cql/evaluator/execution/util/DirectoryBundlerTests.java b/evaluator.execution/src/test/java/org/opencds/cqf/cql/evaluator/execution/util/DirectoryBundlerTests.java new file mode 100644 index 000000000..2aae44a3e --- /dev/null +++ b/evaluator.execution/src/test/java/org/opencds/cqf/cql/evaluator/execution/util/DirectoryBundlerTests.java @@ -0,0 +1,40 @@ +package org.opencds.cqf.cql.evaluator.execution.util; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotNull; + +import java.io.File; +import java.util.List; + +import org.hl7.fhir.instance.model.api.IBaseBundle; +import org.hl7.fhir.instance.model.api.IBaseResource; +import org.testng.annotations.Test; + +import ca.uhn.fhir.context.FhirContext; +import ca.uhn.fhir.util.BundleUtil; + +public class DirectoryBundlerTests { + + @Test + public void test_directoryBundler() { + FhirContext fhirContext = FhirContext.forR4(); + DirectoryBundler directoryBundler = new DirectoryBundler(fhirContext); + + String file = new File("src/test/resources/r4/bundleDirectory").getAbsolutePath(); + + IBaseBundle bundle = directoryBundler.bundle(file); + + assertNotNull(bundle); + + List resources = BundleUtil.toListOfResourcesOfType(fhirContext, bundle, + fhirContext.getResourceDefinition("ValueSet").getImplementingClass()); + + assertNotNull(resources); + assertEquals(1, resources.size()); + + resources = BundleUtil.toListOfResourcesOfType(fhirContext, bundle, + fhirContext.getResourceDefinition("Patient").getImplementingClass()); + assertNotNull(resources); + assertEquals(3, resources.size()); + } +} \ No newline at end of file diff --git a/service/src/test/java/org/opencds/cqf/cql/service/util/ValueSetUtilTests.java b/evaluator.execution/src/test/java/org/opencds/cqf/cql/evaluator/execution/util/ValueSetUtilTests.java similarity index 98% rename from service/src/test/java/org/opencds/cqf/cql/service/util/ValueSetUtilTests.java rename to evaluator.execution/src/test/java/org/opencds/cqf/cql/evaluator/execution/util/ValueSetUtilTests.java index 94a491031..8be53d93a 100644 --- a/service/src/test/java/org/opencds/cqf/cql/service/util/ValueSetUtilTests.java +++ b/evaluator.execution/src/test/java/org/opencds/cqf/cql/evaluator/execution/util/ValueSetUtilTests.java @@ -1,4 +1,4 @@ -package org.opencds.cqf.cql.service.util; +package org.opencds.cqf.cql.evaluator.execution.util; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; @@ -9,7 +9,7 @@ import org.hl7.fhir.instance.model.api.IBase; import org.hl7.fhir.instance.model.api.IBaseResource; -import org.opencds.cqf.cql.runtime.Code; +import org.opencds.cqf.cql.engine.runtime.Code; import org.testng.annotations.Test; import ca.uhn.fhir.context.FhirContext; diff --git a/evaluator.execution/src/test/resources/dstu3/TestValueSet.json b/evaluator.execution/src/test/resources/dstu3/TestValueSet.json new file mode 100644 index 000000000..574cf4d46 --- /dev/null +++ b/evaluator.execution/src/test/resources/dstu3/TestValueSet.json @@ -0,0 +1,59 @@ + +{ + "resourceType": "ValueSet", + "id": "TestValueSet", + "url": "http://cql.alphora.com/fhir/ValueSet/TestValueSet", + "name": "TestValueSet", + "title": "TestValueSet", + "status": "active", + "compose": { + "include": [ + { + "system": "http://cql.alphora.com/unit-test", + "version": "2018-03", + "concept": [ + { + "code": "000", + "display": "000 Code" + }, + { + "code": "111", + "display": "111 Code" + } + ] + }, + { + "system": "http://cql.alphora.com/unit-test-2", + "version": "2018-03", + "concept": [ + { + "code": "333", + "display": "333 Code" + } + ] + } + ] + }, + "expansion" : { + "contains" : [ + { + "system": "http://cql.alphora.com/unit-test", + "version": "2018-03", + "code": "000", + "display" : "000 Code" + }, + { + "system": "http://cql.alphora.com/unit-test", + "version": "2018-03", + "code": "111", + "display" : "111 Code" + }, + { + "system": "http://cql.alphora.com/unit-test-2", + "version": "2018-03", + "code": "333", + "display" : "333 Code" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.execution/src/test/resources/r4/TestBundleTwoPatients.json b/evaluator.execution/src/test/resources/r4/TestBundleTwoPatients.json new file mode 100644 index 000000000..ffb3527ae --- /dev/null +++ b/evaluator.execution/src/test/resources/r4/TestBundleTwoPatients.json @@ -0,0 +1,520 @@ +{ + "resourceType": "Bundle", + "id": "test-bundle-two-patients", + "type": "collection", + "entry": [ + { + "resource": { + "resourceType": "Condition", + "id": "test-one-r4-2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "10327003", + "display": "Cocaine-induced mood disorder (disorder)" + } + ] + }, + "subject": { + "reference": "Patient/test-one-r4" + } + } + }, + { + "resource": { + "resourceType": "Condition", + "id": "test-one-r4-6", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://localhost/unit-test", + "code": "000" + } + ] + }, + "subject": { + "reference": "Patient/test-one-r4" + } + } + }, + { + "resource": { + "resourceType": "Encounter", + "id": "test-one-r4-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "IMP", + "display": "inpatient encounter" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "32485007", + "display": "Hospital admission (procedure)" + } + ] + } + ], + "subject": { + "reference": "Patient/test-one-r4" + }, + "period": { + "start": "2019-01-16T08:30:00-07:00", + "end": "2019-01-20T08:30:00-07:00" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/test-one-r4-2" + } + } + ], + "hospitalization": { + "dischargeDisposition": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "306701001", + "display": "Discharge to community hospital (procedure)" + } + ] + } + } + } + }, + { + "resource": { + "resourceType": "MedicationAdministration", + "id": "test-one-r4-5", + "status": "completed", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "854228", + "display": "0.3 ML Enoxaparin sodium 100 MG/ML Prefilled Syringe" + } + ] + }, + "subject": { + "reference": "Patient/test-one-r4" + }, + "effectivePeriod": { + "start": "2019-01-19T12:30:00-07:00", + "end": "2019-01-19T13:00:00-07:00" + } + } + }, + { + "resource": { + "resourceType": "Patient", + "id": "test-one-r4", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2106-3", + "display": "White" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2186-5", + "display": "Not Hispanic or Latino" + } + } + ] + } + ], + "identifier": [ + { + "use": "usual", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "MR", + "display": "Medical Record Number" + } + ] + }, + "system": "http://hospital.smarthealthit.org", + "value": "999999996" + } + ], + "name": [ + { + "family": "Jones", + "given": [ + "Frank" + ] + } + ], + "gender": "male", + "birthDate": "1951-05-01" + } + }, + { + "resource": { + "resourceType": "Procedure", + "id": "test-one-r4-4", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "status": "completed", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "112943005", + "display": "Epidural injection of anesthetic substance" + } + ] + }, + "subject": { + "reference": "Patient/test-one-r4" + }, + "performedPeriod": { + "start": "2019-01-17T08:30:00-07:00", + "end": "2019-01-17T10:30:00-07:00" + } + } + }, + { + "resource": { + "resourceType": "Condition", + "id": "test-two-r4-2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "213213007", + "display": "Cardiac arrest as a complication of care (disorder)" + } + ] + }, + "subject": { + "reference": "Patient/test-two-r4" + } + } + }, + { + "resource": { + "resourceType": "Encounter", + "id": "test-two-r4-3", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "IMP", + "display": "inpatient encounter" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "32485007", + "display": "Hospital admission (procedure)" + } + ] + } + ], + "subject": { + "reference": "Patient/test-two-r4" + }, + "period": { + "start": "2019-01-16T08:30:00-07:00", + "end": "2019-01-20T08:30:00-07:00" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/test-two-r4-2" + }, + "use": { + "coding": [ + { + "system": "http://hl7.org/fhir/diagnosis-role", + "code": "billing", + "display": "Billing" + } + ] + }, + "rank": 1 + } + ], + "hospitalization": { + "dischargeDisposition": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "306701001", + "display": "Discharge to community hospital (procedure)" + } + ] + } + } + } + }, + { + "resource": { + "resourceType": "MedicationAdministration", + "id": "test-two-r4-5", + "status": "completed", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "854228", + "display": "0.3 ML Enoxaparin sodium 100 MG/ML Prefilled Syringe" + } + ] + }, + "subject": { + "reference": "Patient/test-two-r4" + }, + "effectivePeriod": { + "start": "2019-01-16T12:30:00-07:00", + "end": "2019-01-16T13:00:00-07:00" + } + } + }, + { + "resource": { + "resourceType": "Patient", + "id": "test-two-r4", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2106-3", + "display": "White" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2186-5", + "display": "Not Hispanic or Latino" + } + } + ] + } + ], + "identifier": [ + { + "use": "usual", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "MR", + "display": "Medical Record Number" + } + ] + }, + "system": "http://hospital.smarthealthit.org", + "value": "999999997" + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Jill" + ] + } + ], + "gender": "female", + "birthDate": "1963-09-13" + } + }, + { + "resource": { + "resourceType": "Medication", + "id": "test-med", + "contained": [ + { + "resourceType": "Organization", + "id": "org4", + "name": "Pfizer Laboratories Div Pfizer Inc" + } + ], + "code": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/ndc", + "code": "0069-2587-10", + "display": "Vancomycin Hydrochloride (VANCOMYCIN HYDROCHLORIDE)" + } + ] + }, + "status": "active", + "manufacturer": { + "reference": "#org4" + }, + "form": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "385219001", + "display": "Injection Solution (qualifier value)" + } + ] + }, + "ingredient": [ + { + "itemCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "66955", + "display": "Vancomycin Hydrochloride" + } + ] + }, + "isActive": true, + "strength": { + "numerator": { + "value": 500, + "system": "http://unitsofmeasure.org", + "code": "mg" + }, + "denominator": { + "value": 10, + "system": "http://unitsofmeasure.org", + "code": "mL" + } + } + } + ], + "batch": { + "lotNumber": "9494788", + "expirationDate": "2017-05-22" + } + } + } + ] +} \ No newline at end of file diff --git a/evaluator.execution/src/test/resources/r4/TestBundleValueSets.json b/evaluator.execution/src/test/resources/r4/TestBundleValueSets.json new file mode 100644 index 000000000..5398e3b5c --- /dev/null +++ b/evaluator.execution/src/test/resources/r4/TestBundleValueSets.json @@ -0,0 +1,144 @@ +{ + "resourceType": "Bundle", + "id": "test-bundle-two-valuesets", + "type": "collection", + "entry": [ + { + "resource": { + "resourceType": "ValueSet", + "id": "value-set-one", + "url": "http://localhost/fhir/ValueSet/value-set-one", + "name": "ValueSetOne", + "title": "ValueSetOne", + "status": "active", + "expansion": { + "contains": [ + { + "system": "http://localhost/unit-test", + "version": "2018-03", + "code": "000", + "display": "000 Code" + }, + { + "system": "http://localhost/unit-test", + "version": "2018-03", + "code": "111", + "display": "111 Code" + }, + { + "system": "http://localhost/unit-test-2", + "version": "2018-03", + "code": "333", + "display": "333 Code" + } + ] + }, + "compose": { + "include": [ + { + "system": "http://localhost/unit-test", + "version": "2018-03", + "concept": [ + { + "code": "000", + "display": "000 Code" + }, + { + "code": "111", + "display": "111 Code" + } + ] + }, + { + "system": "http://localhost/unit-test-2", + "version": "2018-03", + "concept": [ + { + "code": "333", + "display": "333 Code" + } + ] + } + ] + } + } + }, + { + "resource": { + "resourceType": "ValueSet", + "id": "value-set-two", + "url": "http://localhost/fhir/ValueSet/value-set-two", + "name": "ValueSetTwo", + "title": "ValueSetTwo", + "compose": { + "include": [ + { + "system": "http://localhost/unit-test", + "version": "2018-03", + "concept": [ + { + "code": "444", + "display": "444 Code" + }, + { + "code": "555", + "display": "555 Code" + } + ] + }, + { + "system": "http://localhost/unit-test-2", + "version": "2018-03", + "concept": [ + { + "code": "666", + "display": "666 Code" + } + ] + } + ] + } + } + }, + { + "resource": { + "resourceType": "ValueSet", + "id": "value-set-three", + "url": "http://localhost/fhir/ValueSet/value-set-three", + "name": "ValueSetThree", + "title": "ValueSetThree", + "expansion": { + "contains": [ + { + "system": "http://localhost/unit-test", + "version": "2018-03", + "code": "777", + "display": "777 Code" + }, + { + "system": "http://localhost/unit-test", + "version": "2018-03", + "code": "888", + "display": "888 Code" + }, + { + "system": "http://localhost/unit-test-2", + "version": "2018-03", + "code": "999", + "display": "999 Code" + } + ] + } + } + }, + { + "resource": { + "resourceType": "ValueSet", + "id": "value-set-four", + "url": "http://localhost/fhir/ValueSet/value-set-four", + "name": "ValueSetFour", + "title": "ValueSetFour" + } + } + ] +} \ No newline at end of file diff --git a/evaluator.execution/src/test/resources/r4/TestValueSet.json b/evaluator.execution/src/test/resources/r4/TestValueSet.json new file mode 100644 index 000000000..574cf4d46 --- /dev/null +++ b/evaluator.execution/src/test/resources/r4/TestValueSet.json @@ -0,0 +1,59 @@ + +{ + "resourceType": "ValueSet", + "id": "TestValueSet", + "url": "http://cql.alphora.com/fhir/ValueSet/TestValueSet", + "name": "TestValueSet", + "title": "TestValueSet", + "status": "active", + "compose": { + "include": [ + { + "system": "http://cql.alphora.com/unit-test", + "version": "2018-03", + "concept": [ + { + "code": "000", + "display": "000 Code" + }, + { + "code": "111", + "display": "111 Code" + } + ] + }, + { + "system": "http://cql.alphora.com/unit-test-2", + "version": "2018-03", + "concept": [ + { + "code": "333", + "display": "333 Code" + } + ] + } + ] + }, + "expansion" : { + "contains" : [ + { + "system": "http://cql.alphora.com/unit-test", + "version": "2018-03", + "code": "000", + "display" : "000 Code" + }, + { + "system": "http://cql.alphora.com/unit-test", + "version": "2018-03", + "code": "111", + "display" : "111 Code" + }, + { + "system": "http://cql.alphora.com/unit-test-2", + "version": "2018-03", + "code": "333", + "display" : "333 Code" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.execution/src/test/resources/r4/bundleDirectory/TestPatient.json b/evaluator.execution/src/test/resources/r4/bundleDirectory/TestPatient.json new file mode 100644 index 000000000..f48ff4223 --- /dev/null +++ b/evaluator.execution/src/test/resources/r4/bundleDirectory/TestPatient.json @@ -0,0 +1,63 @@ +{ + "resourceType": "Patient", + "id": "test-r4", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2106-3", + "display": "White" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2186-5", + "display": "Not Hispanic or Latino" + } + } + ] + } + ], + "identifier": [ + { + "use": "usual", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "MR", + "display": "Medical Record Number" + } + ] + }, + "system": "http://hospital.smarthealthit.org", + "value": "999999996" + } + ], + "name": [ + { + "family": "Jones", + "given": [ + "Frank" + ] + } + ], + "gender": "male", + "birthDate": "1951-05-01" +} \ No newline at end of file diff --git a/evaluator.execution/src/test/resources/r4/bundleDirectory/nestedDirectory/TestBundleNestedBundle.json b/evaluator.execution/src/test/resources/r4/bundleDirectory/nestedDirectory/TestBundleNestedBundle.json new file mode 100644 index 000000000..52b31f467 --- /dev/null +++ b/evaluator.execution/src/test/resources/r4/bundleDirectory/nestedDirectory/TestBundleNestedBundle.json @@ -0,0 +1,529 @@ +{ + "resourceType": "Bundle", + "id": "test-bundle-nested", + "type": "collection", + "entry": [ + { + "resource": { + "resourceType": "Bundle", + "id": "test-bundle-two-patients", + "type": "collection", + "entry": [ + { + "resource": { + "resourceType": "Condition", + "id": "test-one-r4-2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "10327003", + "display": "Cocaine-induced mood disorder (disorder)" + } + ] + }, + "subject": { + "reference": "Patient/test-one-r4" + } + } + }, + { + "resource": { + "resourceType": "Condition", + "id": "test-one-r4-6", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://localhost/unit-test", + "code": "000" + } + ] + }, + "subject": { + "reference": "Patient/test-one-r4" + } + } + }, + { + "resource": { + "resourceType": "Encounter", + "id": "test-one-r4-1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "IMP", + "display": "inpatient encounter" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "32485007", + "display": "Hospital admission (procedure)" + } + ] + } + ], + "subject": { + "reference": "Patient/test-one-r4" + }, + "period": { + "start": "2019-01-16T08:30:00-07:00", + "end": "2019-01-20T08:30:00-07:00" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/test-one-r4-2" + } + } + ], + "hospitalization": { + "dischargeDisposition": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "306701001", + "display": "Discharge to community hospital (procedure)" + } + ] + } + } + } + }, + { + "resource": { + "resourceType": "MedicationAdministration", + "id": "test-one-r4-5", + "status": "completed", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "854228", + "display": "0.3 ML Enoxaparin sodium 100 MG/ML Prefilled Syringe" + } + ] + }, + "subject": { + "reference": "Patient/test-one-r4" + }, + "effectivePeriod": { + "start": "2019-01-19T12:30:00-07:00", + "end": "2019-01-19T13:00:00-07:00" + } + } + }, + { + "resource": { + "resourceType": "Patient", + "id": "test-one-r4", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2106-3", + "display": "White" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2186-5", + "display": "Not Hispanic or Latino" + } + } + ] + } + ], + "identifier": [ + { + "use": "usual", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "MR", + "display": "Medical Record Number" + } + ] + }, + "system": "http://hospital.smarthealthit.org", + "value": "999999996" + } + ], + "name": [ + { + "family": "Jones", + "given": [ + "Frank" + ] + } + ], + "gender": "male", + "birthDate": "1951-05-01" + } + }, + { + "resource": { + "resourceType": "Procedure", + "id": "test-one-r4-4", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "status": "completed", + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "112943005", + "display": "Epidural injection of anesthetic substance" + } + ] + }, + "subject": { + "reference": "Patient/test-one-r4" + }, + "performedPeriod": { + "start": "2019-01-17T08:30:00-07:00", + "end": "2019-01-17T10:30:00-07:00" + } + } + }, + { + "resource": { + "resourceType": "Condition", + "id": "test-two-r4-2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ] + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ] + } + ], + "code": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "213213007", + "display": "Cardiac arrest as a complication of care (disorder)" + } + ] + }, + "subject": { + "reference": "Patient/test-two-r4" + } + } + }, + { + "resource": { + "resourceType": "Encounter", + "id": "test-two-r4-3", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "code": "IMP", + "display": "inpatient encounter" + }, + "type": [ + { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "32485007", + "display": "Hospital admission (procedure)" + } + ] + } + ], + "subject": { + "reference": "Patient/test-two-r4" + }, + "period": { + "start": "2019-01-16T08:30:00-07:00", + "end": "2019-01-20T08:30:00-07:00" + }, + "diagnosis": [ + { + "condition": { + "reference": "Condition/test-two-r4-2" + }, + "use": { + "coding": [ + { + "system": "http://hl7.org/fhir/diagnosis-role", + "code": "billing", + "display": "Billing" + } + ] + }, + "rank": 1 + } + ], + "hospitalization": { + "dischargeDisposition": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "306701001", + "display": "Discharge to community hospital (procedure)" + } + ] + } + } + } + }, + { + "resource": { + "resourceType": "MedicationAdministration", + "id": "test-two-r4-5", + "status": "completed", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "854228", + "display": "0.3 ML Enoxaparin sodium 100 MG/ML Prefilled Syringe" + } + ] + }, + "subject": { + "reference": "Patient/test-two-r4" + }, + "effectivePeriod": { + "start": "2019-01-16T12:30:00-07:00", + "end": "2019-01-16T13:00:00-07:00" + } + } + }, + { + "resource": { + "resourceType": "Patient", + "id": "test-two-r4", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + ] + }, + "extension": [ + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2106-3", + "display": "White" + } + } + ] + }, + { + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "extension": [ + { + "url": "ombCategory", + "valueCoding": { + "system": "urn:oid:2.16.840.1.113883.6.238", + "code": "2186-5", + "display": "Not Hispanic or Latino" + } + } + ] + } + ], + "identifier": [ + { + "use": "usual", + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "MR", + "display": "Medical Record Number" + } + ] + }, + "system": "http://hospital.smarthealthit.org", + "value": "999999997" + } + ], + "name": [ + { + "family": "Smith", + "given": [ + "Jill" + ] + } + ], + "gender": "female", + "birthDate": "1963-09-13" + } + }, + { + "resource": { + "resourceType": "Medication", + "id": "test-med", + "contained": [ + { + "resourceType": "Organization", + "id": "org4", + "name": "Pfizer Laboratories Div Pfizer Inc" + } + ], + "code": { + "coding": [ + { + "system": "http://hl7.org/fhir/sid/ndc", + "code": "0069-2587-10", + "display": "Vancomycin Hydrochloride (VANCOMYCIN HYDROCHLORIDE)" + } + ] + }, + "status": "active", + "manufacturer": { + "reference": "#org4" + }, + "form": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "385219001", + "display": "Injection Solution (qualifier value)" + } + ] + }, + "ingredient": [ + { + "itemCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "66955", + "display": "Vancomycin Hydrochloride" + } + ] + }, + "isActive": true, + "strength": { + "numerator": { + "value": 500, + "system": "http://unitsofmeasure.org", + "code": "mg" + }, + "denominator": { + "value": 10, + "system": "http://unitsofmeasure.org", + "code": "mL" + } + } + } + ], + "batch": { + "lotNumber": "9494788", + "expirationDate": "2017-05-22" + } + } + } + ] + } + } + ] +} \ No newline at end of file diff --git a/evaluator.execution/src/test/resources/r4/bundleDirectory/nestedDirectory/TestValueSet.json b/evaluator.execution/src/test/resources/r4/bundleDirectory/nestedDirectory/TestValueSet.json new file mode 100644 index 000000000..574cf4d46 --- /dev/null +++ b/evaluator.execution/src/test/resources/r4/bundleDirectory/nestedDirectory/TestValueSet.json @@ -0,0 +1,59 @@ + +{ + "resourceType": "ValueSet", + "id": "TestValueSet", + "url": "http://cql.alphora.com/fhir/ValueSet/TestValueSet", + "name": "TestValueSet", + "title": "TestValueSet", + "status": "active", + "compose": { + "include": [ + { + "system": "http://cql.alphora.com/unit-test", + "version": "2018-03", + "concept": [ + { + "code": "000", + "display": "000 Code" + }, + { + "code": "111", + "display": "111 Code" + } + ] + }, + { + "system": "http://cql.alphora.com/unit-test-2", + "version": "2018-03", + "concept": [ + { + "code": "333", + "display": "333 Code" + } + ] + } + ] + }, + "expansion" : { + "contains" : [ + { + "system": "http://cql.alphora.com/unit-test", + "version": "2018-03", + "code": "000", + "display" : "000 Code" + }, + { + "system": "http://cql.alphora.com/unit-test", + "version": "2018-03", + "code": "111", + "display" : "111 Code" + }, + { + "system": "http://cql.alphora.com/unit-test-2", + "version": "2018-03", + "code": "333", + "display" : "333 Code" + } + ] + } +} \ No newline at end of file diff --git a/evaluator.expression/pom.xml b/evaluator.expression/pom.xml new file mode 100644 index 000000000..9f3ebf86e --- /dev/null +++ b/evaluator.expression/pom.xml @@ -0,0 +1,29 @@ + + + 4.0.0 + + org.opencds.cqf.cql + evaluator.expression + ${revision} + jar + + CQL Evaluator Expression Evaluation + + + org.opencds.cqf.cql + evaluator.shared + ${revision} + + + + + info.cqframework + cql-to-elm + + + org.testng + testng + + + \ No newline at end of file diff --git a/service/src/main/java/org/opencds/cqf/cql/service/evaluation/ExpressionEvaluator.java b/evaluator.expression/src/main/java/org/opencds/cqf/cql/evaluator/expression/ExpressionEvaluator.java similarity index 60% rename from service/src/main/java/org/opencds/cqf/cql/service/evaluation/ExpressionEvaluator.java rename to evaluator.expression/src/main/java/org/opencds/cqf/cql/evaluator/expression/ExpressionEvaluator.java index b381ed51a..d48604704 100644 --- a/service/src/main/java/org/opencds/cqf/cql/service/evaluation/ExpressionEvaluator.java +++ b/evaluator.expression/src/main/java/org/opencds/cqf/cql/evaluator/expression/ExpressionEvaluator.java @@ -1,14 +1,14 @@ -package org.opencds.cqf.cql.service.evaluation; +package org.opencds.cqf.cql.evaluator.evaluation; import java.util.Collections; -import org.opencds.cqf.cql.service.Response; -import org.opencds.cqf.cql.service.Service; - -import org.apache.commons.lang3.tuple.Pair; +import org.opencds.cqf.cql.evaluator.Response; +import org.opencds.cqf.cql.evaluator.CqlEvaluator; +import org.opencds.cqf.cql.evaluator.ExpressionInfo; +import org.opencds.cqf.cql.evaluator.ParameterInfo; import org.cqframework.cql.elm.execution.VersionedIdentifier; import org.hl7.fhir.instance.model.api.IBaseResource; -import org.opencds.cqf.cql.service.Parameters; +import org.opencds.cqf.cql.evaluator.BuilderParameters; // This class is the start of something like "evaluate in context" public class ExpressionEvaluator { @@ -31,7 +31,7 @@ public static Object evaluateExpression(IBaseResource resource, String expressio private static String constructLocalLibrary(IBaseResource resource, String expression) { String resourceType = resource.fhirType(); String fhirVersion = resource.getStructureFhirVersionEnum().getFhirVersionString(); - fhirVersion = fhirVersion.equals("3.0.2") || fhirVersion.equals("3.0.1") ? fhirVersion = "3.0.0" : fhirVersion; + fhirVersion = fhirVersion.equals("3.0.2") || fhirVersion.equals("3.0.1") ? fhirVersion = "3.0.0" : fhirVersion; String source = String.format( "library LocalLibrary using FHIR version '%s' include FHIRHelpers version '%s' called FHIRHelpers parameter %s %s define Expression: %s", fhirVersion, fhirVersion, resourceType, resourceType, expression); @@ -40,14 +40,16 @@ private static String constructLocalLibrary(IBaseResource resource, String expre } private static Object evaluateLocalLibrary(IBaseResource resource, String libraryContent) { - Parameters parameters = new Parameters(); - parameters.libraries = Collections.singletonList(libraryContent); - parameters.expressions = Collections.singletonList(Pair.of("LocalLibrary", "Expression")); - parameters.parameters = Collections.singletonMap(Pair.of(null, resource.fhirType()), resource); - Service service = new Service(); - Response response = service.evaluate(parameters); - - return response.evaluationResult.forLibrary(new VersionedIdentifier().withId("LocalLibrary")) - .forExpression("Expression"); + // BuilderParameters parameters = new BuilderParameters(); + // parameters.libraries = Collections.singletonList(libraryContent); + // parameters.expressions = Collections.singletonList(new ExpressionInfo("LocalLibrary", "Expression")); + // parameters.parameters = Collections.singletonList(new ParameterInfo(null, resource.fhirType(), resource)); + // CqlEvaluator service = new CqlEvaluator(); + // Response response = service.evaluate(parameters); + + // return response.evaluationResult.forLibrary(new VersionedIdentifier().withId("LocalLibrary")) + // .forExpression("Expression"); + + return null; } } \ No newline at end of file diff --git a/service/src/test/java/org/opencds/cqf/cql/service/evaluation/ExpressionEvaluatorTest.java b/evaluator.expression/src/test/java/org/opencds/cqf/cql/evaluator/expression/ExpressionEvaluatorTest.java similarity index 79% rename from service/src/test/java/org/opencds/cqf/cql/service/evaluation/ExpressionEvaluatorTest.java rename to evaluator.expression/src/test/java/org/opencds/cqf/cql/evaluator/expression/ExpressionEvaluatorTest.java index be0dc50d8..4da2a73e6 100644 --- a/service/src/test/java/org/opencds/cqf/cql/service/evaluation/ExpressionEvaluatorTest.java +++ b/evaluator.expression/src/test/java/org/opencds/cqf/cql/evaluator/expression/ExpressionEvaluatorTest.java @@ -1,12 +1,12 @@ -package org.opencds.cqf.cql.service.evaluation; - -import org.hl7.fhir.r4.model.*; - -import org.junit.Test; +package org.opencds.cqf.cql.evaluator.evaluation; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; +import org.hl7.fhir.r4.model.IntegerType; +import org.hl7.fhir.r4.model.Observation; +import org.junit.Test; + public class ExpressionEvaluatorTest { diff --git a/evaluator.measure/pom.xml b/evaluator.measure/pom.xml new file mode 100644 index 000000000..294930250 --- /dev/null +++ b/evaluator.measure/pom.xml @@ -0,0 +1,34 @@ + + + 4.0.0 + + org.opencds.cqf.cql + evaluator.measure + ${revision} + jar + + CQL-based Measure Evaluator + + + org.opencds.cqf.cql + evaluator.shared + ${revision} + + + + + org.opencds.cqf.cql + engine + + + org.opencds.cqf.cql + engine.fhir + + + + org.testng + testng + + + \ No newline at end of file diff --git a/measure/src/main/java/org/opencds/cqf/cql/measure/common/MeasureEvaluation.java b/evaluator.measure/src/main/java/org/opencds/cqf/cql/evaluator/measure/common/MeasureEvaluation.java similarity index 73% rename from measure/src/main/java/org/opencds/cqf/cql/measure/common/MeasureEvaluation.java rename to evaluator.measure/src/main/java/org/opencds/cqf/cql/evaluator/measure/common/MeasureEvaluation.java index 0529ff263..a25936263 100644 --- a/measure/src/main/java/org/opencds/cqf/cql/measure/common/MeasureEvaluation.java +++ b/evaluator.measure/src/main/java/org/opencds/cqf/cql/evaluator/measure/common/MeasureEvaluation.java @@ -1,20 +1,27 @@ package org.opencds.cqf.cql.measure.common; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashMap; +import java.util.HashSet; +import java.util.List; +import java.util.function.Function; + import org.hl7.fhir.instance.model.api.IBase; -import org.opencds.cqf.cql.data.DataProvider; -import org.opencds.cqf.cql.execution.Context; -import org.opencds.cqf.cql.runtime.Interval; +import org.opencds.cqf.cql.engine.data.DataProvider; +import org.opencds.cqf.cql.engine.execution.Context; +import org.opencds.cqf.cql.engine.runtime.Interval; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.*; import java.util.function.Function; +@SuppressWarnings("unchecked") public abstract class MeasureEvaluation { private static final Logger logger = LoggerFactory.getLogger(MeasureEvaluation.class); - protected MeasureT measure; protected Context context; protected String subjectOrPractitionerId; @@ -24,24 +31,40 @@ public abstract class MeasureEvaluation getId; + protected abstract MeasureScoring getMeasureScoring(); + protected abstract String getCriteriaExpression(MeasureGroupPopulationComponentT mgpc); + protected abstract void setGroupScore(MeasureReportGroupComponentT mrgc, Double score); + protected abstract MeasurePopulationType getPopulationType(MeasureGroupPopulationComponentT mgpc); + protected abstract Iterable getGroup(); + protected abstract Iterable getPopulation(MeasureGroupComponentT mgc); - protected abstract void addPopulationReport(MeasureReportT report, MeasureReportGroupComponentT reportGroup, MeasureGroupPopulationComponentT populationCriteria, int populationCount, Iterable subjectPopulation); - protected abstract MeasureReportT createMeasureReport(String status, MeasureReportType type, Interval measurementPeriod, List subjects); + + protected abstract void addPopulationReport(MeasureReportT report, MeasureReportGroupComponentT reportGroup, + MeasureGroupPopulationComponentT populationCriteria, int populationCount, + Iterable subjectPopulation); + + protected abstract MeasureReportT createMeasureReport(String status, MeasureReportType type, + Interval measurementPeriod, List subjects); + protected abstract MeasureReportGroupComponentT createReportGroup(String id); + protected abstract String getGroupId(MeasureGroupComponentT group); + protected abstract void addReportGroup(MeasureReportT report, MeasureReportGroupComponentT group); - // TODO: Get the intervat from the - public MeasureEvaluation(Context context, MeasureT measure, Interval measurementPeriod, String packageName, Function getId) { + // TODO: Get the intervat from the + public MeasureEvaluation(Context context, MeasureT measure, Interval measurementPeriod, String packageName, + Function getId) { this(context, measure, measurementPeriod, packageName, getId, null); } - public MeasureEvaluation(Context context, MeasureT measure, Interval measurementPeriod, String packageName, Function getId, String patientOrPractitionerId) { + public MeasureEvaluation(Context context, MeasureT measure, Interval measurementPeriod, String packageName, + Function getId, String patientOrPractitionerId) { this.measure = measure; this.context = context; this.subjectOrPractitionerId = patientOrPractitionerId; @@ -54,7 +77,7 @@ public MeasureReportT evaluate(MeasureReportType type) { switch (type) { case INDIVIDUAL: return this.evaluatePatientMeasure(); - case SUBJECTLIST: + case SUBJECTLIST: return this.evaluateSubjectListMeasure(); case PATIENTLIST: return this.evaluatePatientListMeasure(); @@ -70,32 +93,35 @@ protected MeasureReportT evaluatePatientMeasure() { return evaluatePopulationMeasure(); } - Iterable subjectRetrieve = this.getDataProvider().retrieve("Patient", "id", this.subjectOrPractitionerId, "Patient", null, null, null, null, null, null, null, null); + Iterable subjectRetrieve = this.getDataProvider().retrieve("Patient", "id", + this.subjectOrPractitionerId, "Patient", null, null, null, null, null, null, null, null); SubjectT patient = null; if (subjectRetrieve.iterator().hasNext()) { - patient = (SubjectT)subjectRetrieve.iterator().next(); + patient = (SubjectT) subjectRetrieve.iterator().next(); } - return evaluate(patient == null ? Collections.emptyList() : Collections.singletonList(patient), MeasureReportType.INDIVIDUAL); + return evaluate(patient == null ? Collections.emptyList() : Collections.singletonList(patient), + MeasureReportType.INDIVIDUAL); } - protected MeasureReportT evaluateSubjectListMeasure() - { + protected MeasureReportT evaluateSubjectListMeasure() { logger.info("Generating subject-list report"); - List subjects = this.subjectOrPractitionerId == null ? getAllSubjects() : getPractitionerSubjects(this.subjectOrPractitionerId); + List subjects = this.subjectOrPractitionerId == null ? getAllSubjects() + : getPractitionerSubjects(this.subjectOrPractitionerId); return evaluate(subjects, MeasureReportType.SUBJECTLIST); } - protected MeasureReportT evaluatePatientListMeasure() - { + protected MeasureReportT evaluatePatientListMeasure() { logger.info("Generating patient-list report"); - List subjects = this.subjectOrPractitionerId == null ? getAllSubjects() : getPractitionerSubjects(this.subjectOrPractitionerId); + List subjects = this.subjectOrPractitionerId == null ? getAllSubjects() + : getPractitionerSubjects(this.subjectOrPractitionerId); return evaluate(subjects, MeasureReportType.PATIENTLIST); } private List getPractitionerSubjects(String practitionerRef) { List subjects = new ArrayList<>(); - Iterable subjectRetrieve = this.getDataProvider().retrieve("Practitioner", "generalPractitioner", practitionerRef, "Patient", null, null, null, null, null, null, null, null); + Iterable subjectRetrieve = this.getDataProvider().retrieve("Practitioner", "generalPractitioner", + practitionerRef, "Patient", null, null, null, null, null, null, null, null); subjectRetrieve.forEach(x -> subjects.add((SubjectT) x)); return subjects; } @@ -106,7 +132,8 @@ private DataProvider getDataProvider() { private List getAllSubjects() { List patients = new ArrayList<>(); - Iterable patientRetrieve = this.getDataProvider().retrieve(null, null, null, "Patient", null, null, null, null, null, null, null, null); + Iterable patientRetrieve = this.getDataProvider().retrieve(null, null, null, "Patient", null, null, + null, null, null, null, null, null); patientRetrieve.forEach(x -> patients.add((SubjectT) x)); return patients; } @@ -119,7 +146,7 @@ public MeasureReportT evaluatePopulationMeasure() { private Iterable evaluateCriteria(SubjectT subject, MeasureGroupPopulationComponentT pop) { String criteriaExpression = this.getCriteriaExpression(pop); - if (criteriaExpression == null || criteriaExpression.isEmpty()) { + if (criteriaExpression == null || criteriaExpression.isEmpty()) { return Collections.emptyList(); } @@ -128,23 +155,26 @@ private Iterable evaluateCriteria(SubjectT subject, MeasureGroupPopul if (result == null) { Collections.emptyList(); } - + if (result instanceof Boolean) { - if (((Boolean)result)) { + if (((Boolean) result)) { return Collections.singletonList(subject); - } - else { + } else { return Collections.emptyList(); } } - return (Iterable)result; +<<<<<<< HEAD + return (Iterable) result; +======= + return (Iterable)result; +>>>>>>> Updates to evaluator } - private boolean evaluatePopulationCriteria(SubjectT subject, - MeasureGroupPopulationComponentT criteria, HashMap population, HashMap populationSubjects, - MeasureGroupPopulationComponentT exclusionCriteria, HashMap exclusionPopulation, HashMap exclusionSubjects - ) { + private boolean evaluatePopulationCriteria(SubjectT subject, MeasureGroupPopulationComponentT criteria, + HashMap population, HashMap populationSubjects, + MeasureGroupPopulationComponentT exclusionCriteria, HashMap exclusionPopulation, + HashMap exclusionSubjects) { boolean inPopulation = false; if (criteria != null) { for (ResourceT resource : evaluateCriteria(subject, criteria)) { @@ -156,7 +186,7 @@ private boolean evaluatePopulationCriteria(SubjectT subject, if (inPopulation) { // Are they in the exclusion? if (exclusionCriteria != null) { - for (ResourceT resource: evaluateCriteria(subject, exclusionCriteria)) { + for (ResourceT resource : evaluateCriteria(subject, exclusionCriteria)) { inPopulation = false; exclusionPopulation.put(this.getId.apply(resource), resource); population.remove(this.getId.apply(resource)); @@ -174,17 +204,18 @@ private boolean evaluatePopulationCriteria(SubjectT subject, return inPopulation; } - private void addPopulationCriteriaReport(MeasureReportT report, MeasureReportGroupComponentT reportGroup, MeasureGroupPopulationComponentT populationCriteria, int populationCount, Iterable patientPopulation) { + private void addPopulationCriteriaReport(MeasureReportT report, MeasureReportGroupComponentT reportGroup, + MeasureGroupPopulationComponentT populationCriteria, int populationCount, + Iterable patientPopulation) { if (populationCriteria != null) { this.addPopulationReport(report, reportGroup, populationCriteria, populationCount, patientPopulation); } } - private MeasureReportT evaluate(List patients, MeasureReportType type) - { + private MeasureReportT evaluate(List patients, MeasureReportType type) { MeasureReportT report = this.createMeasureReport("complete", type, this.measurementPeriod, patients); - HashMap resources = new HashMap<>(); - HashMap> codeToResourceMap = new HashMap<>(); + HashMap resources = new HashMap<>(); + HashMap> codeToResourceMap = new HashMap<>(); MeasureScoring measureScoring = this.getMeasureScoring(); if (measureScoring == null) { @@ -192,11 +223,12 @@ private MeasureReportT evaluate(List patients, MeasureReportType type) } for (MeasureGroupComponentT group : this.getGroup()) { - MeasureReportGroupComponentT reportGroup = this.createReportGroup(this.getGroupId(group)); + MeasureReportGroupComponentT reportGroup = this.createReportGroup(this.getGroupId(group)); this.addReportGroup(report, reportGroup); // Declare variables to avoid a hash lookup on every patient - // TODO: Isn't quite right, there may be multiple initial populations for a ratio MeasureType... + // TODO: Isn't quite right, there may be multiple initial populations for a + // ratio MeasureType... MeasureGroupPopulationComponentT initialPopulationCriteria = null; MeasureGroupPopulationComponentT numeratorCriteria = null; MeasureGroupPopulationComponentT numeratorExclusionCriteria = null; @@ -288,6 +320,7 @@ private MeasureReportT evaluate(List patients, MeasureReportType type) } break; case MEASUREOBSERVATION: + measureObservation = new HashMap<>(); break; } } @@ -307,16 +340,16 @@ private MeasureReportT evaluate(List patients, MeasureReportType type) if (inInitialPopulation) { // Are they in the denominator? - boolean inDenominator = evaluatePopulationCriteria(patient, - denominatorCriteria, denominator, denominatorPatients, - denominatorExclusionCriteria, denominatorExclusion, denominatorExclusionPatients); + boolean inDenominator = evaluatePopulationCriteria(patient, denominatorCriteria, + denominator, denominatorPatients, denominatorExclusionCriteria, + denominatorExclusion, denominatorExclusionPatients); populateResourceMap(MeasurePopulationType.DENOMINATOR, resources, codeToResourceMap); if (inDenominator) { // Are they in the numerator? - boolean inNumerator = evaluatePopulationCriteria(patient, - numeratorCriteria, numerator, numeratorPatients, - numeratorExclusionCriteria, numeratorExclusion, numeratorExclusionPatients); + boolean inNumerator = evaluatePopulationCriteria(patient, numeratorCriteria, numerator, + numeratorPatients, numeratorExclusionCriteria, numeratorExclusion, + numeratorExclusionPatients); populateResourceMap(MeasurePopulationType.NUMERATOR, resources, codeToResourceMap); if (!inNumerator && inDenominator && (denominatorExceptionCriteria != null)) { @@ -326,7 +359,8 @@ private MeasureReportT evaluate(List patients, MeasureReportType type) inException = true; denominatorException.put(this.getId.apply(resource), resource); denominator.remove(this.getId.apply(resource)); - populateResourceMap(MeasurePopulationType.DENOMINATOREXCEPTION, resources, codeToResourceMap); + populateResourceMap(MeasurePopulationType.DENOMINATOREXCEPTION, resources, + codeToResourceMap); } if (inException) { if (denominatorExceptionPatients != null) { @@ -343,7 +377,7 @@ private MeasureReportT evaluate(List patients, MeasureReportType type) // Calculate actual MeasureType score, Count(numerator) / Count(denominator) if (denominator != null && numerator != null && denominator.size() > 0) { - this.setGroupScore(reportGroup, numerator.size() / (double)denominator.size()); + this.setGroupScore(reportGroup, numerator.size() / (double) denominator.size()); } break; @@ -360,13 +394,13 @@ private MeasureReportT evaluate(List patients, MeasureReportType type) if (inInitialPopulation) { // Are they in the MeasureType population? - boolean inMeasurePopulation = evaluatePopulationCriteria(patient, - measurePopulationCriteria, measurePopulation, measurePopulationPatients, - measurePopulationExclusionCriteria, measurePopulationExclusion, measurePopulationExclusionPatients); + boolean inMeasurePopulation = evaluatePopulationCriteria(patient, measurePopulationCriteria, + measurePopulation, measurePopulationPatients, measurePopulationExclusionCriteria, + measurePopulationExclusion, measurePopulationExclusionPatients); if (inMeasurePopulation) { // TODO: Evaluate MeasureType observations - for (ResourceT resource: evaluateCriteria(patient, measureObservationCriteria)) { + for (ResourceT resource : evaluateCriteria(patient, measureObservationCriteria)) { measureObservation.put(this.getId.apply(resource), resource); } } @@ -375,13 +409,13 @@ private MeasureReportT evaluate(List patients, MeasureReportType type) break; } - + case COHORT: { // For each patient in the PatientType list for (SubjectT patient : patients) { // Are they in the initial population? - boolean inInitialPopulation = evaluatePopulationCriteria(patient, initialPopulationCriteria, + evaluatePopulationCriteria(patient, initialPopulationCriteria, initialPopulation, initialPopulationPatients, null, null, null); populateResourceMap(MeasurePopulationType.INITIALPOPULATION, resources, codeToResourceMap); } @@ -391,46 +425,62 @@ private MeasureReportT evaluate(List patients, MeasureReportType type) } // Add population reports for each group - addPopulationCriteriaReport(report, reportGroup, initialPopulationCriteria, initialPopulation != null ? initialPopulation.size() : 0, initialPopulationPatients != null ? initialPopulationPatients.values() : null); - addPopulationCriteriaReport(report, reportGroup, numeratorCriteria, numerator != null ? numerator.size() : 0, numeratorPatients != null ? numeratorPatients.values() : null); - addPopulationCriteriaReport(report, reportGroup, numeratorExclusionCriteria, numeratorExclusion != null ? numeratorExclusion.size() : 0, numeratorExclusionPatients != null ? numeratorExclusionPatients.values() : null); - addPopulationCriteriaReport(report, reportGroup, denominatorCriteria, denominator != null ? denominator.size() : 0, denominatorPatients != null ? denominatorPatients.values() : null); - addPopulationCriteriaReport(report, reportGroup, denominatorExclusionCriteria, denominatorExclusion != null ? denominatorExclusion.size() : 0, denominatorExclusionPatients != null ? denominatorExclusionPatients.values() : null); - addPopulationCriteriaReport(report, reportGroup, denominatorExceptionCriteria, denominatorException != null ? denominatorException.size() : 0, denominatorExceptionPatients != null ? denominatorExceptionPatients.values() : null); - addPopulationCriteriaReport(report, reportGroup, measurePopulationCriteria, measurePopulation != null ? measurePopulation.size() : 0, measurePopulationPatients != null ? measurePopulationPatients.values() : null); - addPopulationCriteriaReport(report, reportGroup, measurePopulationExclusionCriteria, measurePopulationExclusion != null ? measurePopulationExclusion.size() : 0, measurePopulationExclusionPatients != null ? measurePopulationExclusionPatients.values() : null); + addPopulationCriteriaReport(report, reportGroup, initialPopulationCriteria, + initialPopulation != null ? initialPopulation.size() : 0, + initialPopulationPatients != null ? initialPopulationPatients.values() : null); + addPopulationCriteriaReport(report, reportGroup, numeratorCriteria, + numerator != null ? numerator.size() : 0, + numeratorPatients != null ? numeratorPatients.values() : null); + addPopulationCriteriaReport(report, reportGroup, numeratorExclusionCriteria, + numeratorExclusion != null ? numeratorExclusion.size() : 0, + numeratorExclusionPatients != null ? numeratorExclusionPatients.values() : null); + addPopulationCriteriaReport(report, reportGroup, denominatorCriteria, + denominator != null ? denominator.size() : 0, + denominatorPatients != null ? denominatorPatients.values() : null); + addPopulationCriteriaReport(report, reportGroup, denominatorExclusionCriteria, + denominatorExclusion != null ? denominatorExclusion.size() : 0, + denominatorExclusionPatients != null ? denominatorExclusionPatients.values() : null); + addPopulationCriteriaReport(report, reportGroup, denominatorExceptionCriteria, + denominatorException != null ? denominatorException.size() : 0, + denominatorExceptionPatients != null ? denominatorExceptionPatients.values() : null); + addPopulationCriteriaReport(report, reportGroup, measurePopulationCriteria, + measurePopulation != null ? measurePopulation.size() : 0, + measurePopulationPatients != null ? measurePopulationPatients.values() : null); + addPopulationCriteriaReport(report, reportGroup, measurePopulationExclusionCriteria, + measurePopulationExclusion != null ? measurePopulationExclusion.size() : 0, + measurePopulationExclusionPatients != null ? measurePopulationExclusionPatients.values() : null); // TODO: MeasureType Observations... } // for (String key : codeToResourceMap.keySet()) { - // list = new ListResource(); - // for (String element : codeToResourceMap.get(key)) { - // ListResource.ListEntryComponent comp = new ListEntryComponent(); - // comp.setItem(new Reference('#' + element)); - // list.addEntry(comp); - // } - - // if (!list.isEmpty()) { - // list.setId(UUID.randomUUID().toString()); - // list.setTitle(key); - // resources.put(list.getId(), list); - // } + // list = new ListResource(); + // for (String element : codeToResourceMap.get(key)) { + // ListResource.ListEntryComponent comp = new ListEntryComponent(); + // comp.setItem(new Reference('#' + element)); + // list.addEntry(comp); + // } + + // if (!list.isEmpty()) { + // list.setId(UUID.randomUUID().toString()); + // list.setTitle(key); + // resources.put(list.getId(), list); + // } // } // if (!resources.isEmpty()) { - // FhirMeasureBundler bundler = new FhirMeasureBundler(); - // Bundle evaluatedResources = bundler.bundle(resources.values()); - // evaluatedResources.setId(UUID.randomUUID().toString()); - // report.setEvaluatedResource(Collections.singletonList(new Reference('#' + evaluatedResources.getId()))); - // report.addContained(evaluatedResources); + // FhirMeasureBundler bundler = new FhirMeasureBundler(); + // Bundle evaluatedResources = bundler.bundle(resources.values()); + // evaluatedResources.setId(UUID.randomUUID().toString()); + // report.setEvaluatedResource(Collections.singletonList(new Reference('#' + + // evaluatedResources.getId()))); + // report.addContained(evaluatedResources); // } return report; } private void populateResourceMap(MeasurePopulationType type, HashMap resources, - HashMap> codeToResourceMap) - { + HashMap> codeToResourceMap) { if (this.context.getEvaluatedResources().isEmpty()) { return; } @@ -443,7 +493,7 @@ private void populateResourceMap(MeasurePopulationType type, HashMap extends MeasureEvaluation { diff --git a/measure/src/main/java/org/opencds/cqf/cql/measure/stu3/Stu3MeasureEvaluation.java b/evaluator.measure/src/main/java/org/opencds/cqf/cql/evaluator/measure/stu3/Stu3MeasureEvaluation.java similarity index 94% rename from measure/src/main/java/org/opencds/cqf/cql/measure/stu3/Stu3MeasureEvaluation.java rename to evaluator.measure/src/main/java/org/opencds/cqf/cql/evaluator/measure/stu3/Stu3MeasureEvaluation.java index 9aaceedf9..3129868e3 100644 --- a/measure/src/main/java/org/opencds/cqf/cql/measure/stu3/Stu3MeasureEvaluation.java +++ b/evaluator.measure/src/main/java/org/opencds/cqf/cql/evaluator/measure/stu3/Stu3MeasureEvaluation.java @@ -5,17 +5,20 @@ import java.util.UUID; import java.util.function.Function; +import org.hl7.fhir.dstu3.model.ListResource; +import org.hl7.fhir.dstu3.model.Measure; +import org.hl7.fhir.dstu3.model.Measure.MeasureGroupComponent; +import org.hl7.fhir.dstu3.model.Measure.MeasureGroupPopulationComponent; +import org.hl7.fhir.dstu3.model.MeasureReport; +import org.hl7.fhir.dstu3.model.MeasureReport.MeasureReportGroupComponent; +import org.hl7.fhir.dstu3.model.Period; +import org.hl7.fhir.dstu3.model.Reference; +import org.opencds.cqf.cql.engine.execution.Context; import org.opencds.cqf.cql.measure.common.MeasureEvaluation; import org.opencds.cqf.cql.measure.common.MeasurePopulationType; import org.opencds.cqf.cql.measure.common.MeasureReportType; import org.opencds.cqf.cql.measure.common.MeasureScoring; - -import org.hl7.fhir.dstu3.model.*; -import org.hl7.fhir.dstu3.model.Measure.MeasureGroupComponent; -import org.hl7.fhir.dstu3.model.Measure.MeasureGroupPopulationComponent; -import org.hl7.fhir.dstu3.model.MeasureReport.MeasureReportGroupComponent; -import org.opencds.cqf.cql.execution.Context; -import org.opencds.cqf.cql.runtime.Interval; +import org.opencds.cqf.cql.engine.runtime.Interval; public class Stu3MeasureEvaluation extends MeasureEvaluation { diff --git a/evaluator.serialization/pom.xml b/evaluator.serialization/pom.xml new file mode 100644 index 000000000..df391c84c --- /dev/null +++ b/evaluator.serialization/pom.xml @@ -0,0 +1,29 @@ + + + 4.0.0 + + org.opencds.cqf.cql + evaluator.serialization + ${revision} + jar + + CQL Evaluator Serialization Extensions + + + org.opencds.cqf.cql + evaluator.shared + ${revision} + + + + + info.cqframework + cql-to-elm + + + org.testng + testng + + + \ No newline at end of file diff --git a/service/src/main/java/org/opencds/cqf/cql/service/serialization/DefaultEvaluationResultsSerializer.java b/evaluator.serialization/src/main/java/org/opencds/cqf/cql/evaluator/serialization/DefaultEvaluationResultsSerializer.java similarity index 61% rename from service/src/main/java/org/opencds/cqf/cql/service/serialization/DefaultEvaluationResultsSerializer.java rename to evaluator.serialization/src/main/java/org/opencds/cqf/cql/evaluator/serialization/DefaultEvaluationResultsSerializer.java index e0fa4aaac..e5076fb51 100644 --- a/service/src/main/java/org/opencds/cqf/cql/service/serialization/DefaultEvaluationResultsSerializer.java +++ b/evaluator.serialization/src/main/java/org/opencds/cqf/cql/evaluator/serialization/DefaultEvaluationResultsSerializer.java @@ -1,3 +1,3 @@ -package org.opencds.cqf.cql.service.serialization; +package org.opencds.cqf.cql.evaluator.serialization; public class DefaultEvaluationResultsSerializer extends EvaluationResultsSerializer{} \ No newline at end of file diff --git a/evaluator.serialization/src/main/java/org/opencds/cqf/cql/evaluator/serialization/EvaluationResultsSerializer.java b/evaluator.serialization/src/main/java/org/opencds/cqf/cql/evaluator/serialization/EvaluationResultsSerializer.java new file mode 100644 index 000000000..71f953287 --- /dev/null +++ b/evaluator.serialization/src/main/java/org/opencds/cqf/cql/evaluator/serialization/EvaluationResultsSerializer.java @@ -0,0 +1,113 @@ +package org.opencds.cqf.cql.evaluator.serialization; + +import java.util.Map.Entry; + +import com.google.gson.JsonObject; + +import org.cqframework.cql.elm.execution.VersionedIdentifier; +import org.hl7.fhir.dstu3.model.Bundle; +import org.hl7.fhir.instance.model.api.IBaseDatatype; +import org.hl7.fhir.instance.model.api.IBaseResource; +import org.opencds.cqf.cql.engine.exception.CqlException; +import org.opencds.cqf.cql.engine.execution.EvaluationResult; + +import ca.uhn.fhir.context.FhirContext; + +public abstract class EvaluationResultsSerializer { + private static FhirContext fhirContext; + + private Entry expressionEntry; + + // add a deserializer + protected IBaseResource deserializeResult() { + // should return the resource that the json or represents + return new Bundle(); + } + + public void printResults(Boolean verbose, EvaluationResult evaluationResult) { + + if (evaluationResult.getDebugResult() != null) { + System.out.println("Messages/Warnings/Errors:"); + for (CqlException e : evaluationResult.getDebugResult().getMessages()) { + System.out.println(String.format( + "%s: %s%s", + e.getSeverity().toString(), + e.getSourceLocator() != null ? (e.getSourceLocator().toString() + ": ") : "", + e.getMessage() + )); + } + } + + System.out.println("Results:"); + for (Entry expressionEntry : evaluationResult.expressionResults.entrySet()) { + this.expressionEntry = expressionEntry; + System.out.println( + String.format("%s = %s", expressionEntry.getKey(), serializeResult())); + } + } + + protected String serializeResult(Object result) { + if (result == null) { + return null; + } + + if (result instanceof IBaseResource) { + return formatResults(getFhirContext().newJsonParser().encodeResourceToString((IBaseResource)result)); + } + + if (result instanceof Iterable) { + StringBuilder builder = new StringBuilder(); + builder.append("{\n"); + boolean first = true; + for (Object o : (Iterable)result) { + if (first) { + first = false; + } + else { + builder.append(",\n"); + } + builder.append(formatResults(serializeResult(o))); + } + builder.append("\n}"); + return formatResults(builder.toString()); + } + + return formatResults(result.toString()); + } + + protected String serializeResult() { + return serializeResult(expressionEntry.getValue()); + } + + protected String formatResults(String expressionEntryValue) { + return expressionEntryValue; + } + + protected void performRetrieve(Iterable result, JsonObject results) { + // Perform Retrieve for specific Context + } + + public FhirContext getFhirContext() { + if (fhirContext == null) { + setFhirContext("4.0.1"); + } + return fhirContext; + } + + public static void setFhirContext(String version) { + switch (version) { + case "2.0.0": + fhirContext = FhirContext.forDstu2_1(); + break; + case "3.0.0": + fhirContext = FhirContext.forDstu3(); + break; + case "4.0.0": + case "4.0.1": + fhirContext = FhirContext.forR4(); + break; + default: + throw new IllegalArgumentException(String.format("Unknown FHIR data provider version: %s", version)); + } + } +} \ No newline at end of file diff --git a/service/src/main/java/org/opencds/cqf/cql/service/serialization/VerboseEvaluationResultsSerializer.java b/evaluator.serialization/src/main/java/org/opencds/cqf/cql/evaluator/serialization/VerboseEvaluationResultsSerializer.java similarity index 64% rename from service/src/main/java/org/opencds/cqf/cql/service/serialization/VerboseEvaluationResultsSerializer.java rename to evaluator.serialization/src/main/java/org/opencds/cqf/cql/evaluator/serialization/VerboseEvaluationResultsSerializer.java index 96d84df23..ca6329482 100644 --- a/service/src/main/java/org/opencds/cqf/cql/service/serialization/VerboseEvaluationResultsSerializer.java +++ b/evaluator.serialization/src/main/java/org/opencds/cqf/cql/evaluator/serialization/VerboseEvaluationResultsSerializer.java @@ -1,37 +1,34 @@ -package org.opencds.cqf.cql.service.serialization; +package org.opencds.cqf.cql.evaluator.serialization; +import java.util.ArrayList; import java.util.Iterator; import java.util.List; -import java.util.ArrayList; -import com.google.gson.*; - -import org.opencds.cqf.cql.execution.LibraryResult; -import org.opencds.cqf.cql.retrieve.FhirBundleCursor; +import java.util.Map.Entry; -import ca.uhn.fhir.parser.IParser; +import com.google.gson.JsonObject; +import com.google.gson.JsonPrimitive; -import org.cqframework.cql.elm.execution.VersionedIdentifier; import org.hl7.fhir.instance.model.api.IBaseResource; -import java.util.Map.Entry; +import org.opencds.cqf.cql.engine.execution.EvaluationResult; +import org.opencds.cqf.cql.engine.fhir.retrieve.FhirBundleCursor; + +import ca.uhn.fhir.parser.IParser; -public class VerboseEvaluationResultsSerializer extends EvaluationResultsSerializer{ +public class VerboseEvaluationResultsSerializer extends EvaluationResultsSerializer { - private final char[] unwantedCharacters = { '\\', '\"' }; + private final char[] unwantedCharacters = { '\\', '\"' }; private boolean verbose; private String libraryEntryKeyId; private Entry expressionEntry; private Object expressionEntryObject; - @Override - public void printResults(Boolean verbose, Entry libraryEntry) { + public void printResults(Boolean verbose, EvaluationResult evaluationResult) { this.verbose = verbose != null && verbose; - - for (Entry expressionEntry : libraryEntry.getValue().expressionResults.entrySet()) { + for (Entry expressionEntry : evaluationResult.expressionResults.entrySet()) { this.expressionEntry = expressionEntry; this.expressionEntryObject = expressionEntry.getValue(); - this.libraryEntryKeyId = libraryEntry.getKey().getId(); String serializedExpressionEntryObject = this.serializeResult(); System.out.println(formatResults(serializedExpressionEntryObject)); @@ -40,8 +37,10 @@ public void printResults(Boolean verbose, Entry 0 && ((List) expressionEntryObject).get(0) instanceof IBaseResource) - { + } else if (expressionEntryObject instanceof List) { + if (((List) expressionEntryObject).size() > 0 + && ((List) expressionEntryObject).get(0) instanceof IBaseResource) { performRetrieve((Iterable) expressionEntryObject, result); - } - else - { + } else { result.add("result", new JsonPrimitive(expressionEntryObject.toString())); } - } - else if (expressionEntryObject instanceof IBaseResource) - { - result.add("result", new JsonPrimitive(this.getFhirContext().newJsonParser().setPrettyPrint(true).encodeResourceToString((IBaseResource) expressionEntryObject))); - } - else if (expressionEntryObject instanceof org.cqframework.cql.elm.execution.FunctionDef) - { + } else if (expressionEntryObject instanceof IBaseResource) { + result.add("result", new JsonPrimitive(this.getFhirContext().newJsonParser().setPrettyPrint(true) + .encodeResourceToString((IBaseResource) expressionEntryObject))); + } else if (expressionEntryObject instanceof org.cqframework.cql.elm.execution.FunctionDef) { result.add("result", new JsonPrimitive("Definition successfully validated")); - } - else - { + } else { result.add("result", new JsonPrimitive(expressionEntryObject.toString())); } result.add("resultType", new JsonPrimitive(resolveType(expressionEntryObject))); @@ -94,24 +82,25 @@ private String addIdOfObjectToResult(String serializedExpressionEntry) { if (idStartingIndex != -1 && idEndingIndex != -1) { int objectStringIdIndex = (objectString == null) ? -1 : objectString.indexOf("@"); - if(objectStringIdIndex != -1) { - objectString = objectString.substring(0, objectStringIdIndex) + "_"; + if (objectStringIdIndex != -1) { + objectString = objectString.substring(0, objectStringIdIndex) + "_"; } return objectString + serializedExpressionEntry.substring(idStartingIndex, idEndingIndex); - } - else return objectString; + } else + return objectString; } @Override protected String formatResults(String serializedResultString) { - if(verbose) { + if (verbose) { String lineSeperator = System.getProperty("line.separator"); - String cleanedUpResult = removeUnwantedCharacters(serializedResultString.replace("\\n", lineSeperator), unwantedCharacters); - return String.format("%s.%s = %s", libraryEntryKeyId, expressionEntry.getKey(), cleanedUpResult); - } - else { - String cleanedUpResult = removeUnwantedCharacters(addIdOfObjectToResult(serializedResultString), unwantedCharacters); - return String.format("%s.%s = %s", libraryEntryKeyId, expressionEntry.getKey(), cleanedUpResult); + String cleanedUpResult = removeUnwantedCharacters(serializedResultString.replace("\\n", lineSeperator), + unwantedCharacters); + return String.format("%s = %s", expressionEntry.getKey(), cleanedUpResult); + } else { + String cleanedUpResult = removeUnwantedCharacters(addIdOfObjectToResult(serializedResultString), + unwantedCharacters); + return String.format("%s = %s", expressionEntry.getKey(), cleanedUpResult); } } @@ -133,7 +122,7 @@ protected void performRetrieve(Iterable result, JsonObject results) { // returning full JSON retrieve response Object next = it.next(); if (next != null) { - findings.add(parser.encodeResourceToString((org.hl7.fhir.instance.model.api.IBaseResource)next)); + findings.add(parser.encodeResourceToString((org.hl7.fhir.instance.model.api.IBaseResource) next)); } } @@ -143,9 +132,12 @@ protected void performRetrieve(Iterable result, JsonObject results) { private String resolveType(Object result) { String type = result == null ? "Null" : result.getClass().getSimpleName(); switch (type) { - case "BigDecimal": return "Decimal"; - case "ArrayList": return "List"; - case "FhirBundleCursor": return "Retrieve"; + case "BigDecimal": + return "Decimal"; + case "ArrayList": + return "List"; + case "FhirBundleCursor": + return "Retrieve"; } return type; } diff --git a/rest/pom.xml b/evaluator.service/pom.xml similarity index 89% rename from rest/pom.xml rename to evaluator.service/pom.xml index fc9cb59b2..47cd860ef 100644 --- a/rest/pom.xml +++ b/evaluator.service/pom.xml @@ -3,25 +3,27 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - org.opencds.cqf.cql - rest + org.opencds.cqf.cql.evalator + evaluator.service ${revision} war - + org.opencds.cqf.cql - base + evaluator.shared ${revision} + CQL Evaluator Service + false - org.opencds.cqf.cql - service + org.opencds.cqf.cql.evalautor + builder ${revision} diff --git a/rest/src/main/java/org/opencds/cqf/cql/rest/CqlController.java b/evaluator.service/src/main/java/org/opencds/cqf/cql/evaluator/service/CqlController.java similarity index 100% rename from rest/src/main/java/org/opencds/cqf/cql/rest/CqlController.java rename to evaluator.service/src/main/java/org/opencds/cqf/cql/evaluator/service/CqlController.java diff --git a/rest/src/main/java/org/opencds/cqf/cql/rest/Main.java b/evaluator.service/src/main/java/org/opencds/cqf/cql/evaluator/service/Main.java similarity index 100% rename from rest/src/main/java/org/opencds/cqf/cql/rest/Main.java rename to evaluator.service/src/main/java/org/opencds/cqf/cql/evaluator/service/Main.java diff --git a/rest/src/main/java/org/opencds/cqf/cql/rest/ServletInitializer.java b/evaluator.service/src/main/java/org/opencds/cqf/cql/evaluator/service/ServletInitializer.java similarity index 100% rename from rest/src/main/java/org/opencds/cqf/cql/rest/ServletInitializer.java rename to evaluator.service/src/main/java/org/opencds/cqf/cql/evaluator/service/ServletInitializer.java diff --git a/rest/src/main/resources/application.properties b/evaluator.service/src/main/resources/application.properties similarity index 100% rename from rest/src/main/resources/application.properties rename to evaluator.service/src/main/resources/application.properties diff --git a/rest/src/main/resources/parameters.json b/evaluator.service/src/main/resources/parameters.json similarity index 100% rename from rest/src/main/resources/parameters.json rename to evaluator.service/src/main/resources/parameters.json diff --git a/rest/src/test/java/org/opencds/cqf/cql/rest/RestApplicationTests.java b/evaluator.service/src/test/java/org/opencds/cqf/cql/rest/RestApplicationTests.java similarity index 100% rename from rest/src/test/java/org/opencds/cqf/cql/rest/RestApplicationTests.java rename to evaluator.service/src/test/java/org/opencds/cqf/cql/rest/RestApplicationTests.java diff --git a/evaluator.translation/pom.xml b/evaluator.translation/pom.xml new file mode 100644 index 000000000..e27ba8d5d --- /dev/null +++ b/evaluator.translation/pom.xml @@ -0,0 +1,37 @@ + + + 4.0.0 + + org.opencds.cqf.cql + evaluator.translation + ${revision} + jar + + CQL Evaluator Translation Extensions + + + org.opencds.cqf.cql + evaluator.shared + ${revision} + + + + + info.cqframework + cql-to-elm + + + ca.uhn.hapi.fhir + hapi-fhir-client + + + ca.uhn.hapi.fhir + hapi-fhir-structures-dstu3 + + + ca.uhn.hapi.fhir + hapi-fhir-structures-r4 + + + \ No newline at end of file diff --git a/service/src/main/java/org/opencds/cqf/cql/service/provider/InMemoryLibrarySourceProvider.java b/evaluator.translation/src/main/java/org/opencds/cqf/cql/evaluator/translation/provider/InMemoryLibrarySourceProvider.java similarity index 94% rename from service/src/main/java/org/opencds/cqf/cql/service/provider/InMemoryLibrarySourceProvider.java rename to evaluator.translation/src/main/java/org/opencds/cqf/cql/evaluator/translation/provider/InMemoryLibrarySourceProvider.java index f3d174858..ba5b5f9ac 100644 --- a/service/src/main/java/org/opencds/cqf/cql/service/provider/InMemoryLibrarySourceProvider.java +++ b/evaluator.translation/src/main/java/org/opencds/cqf/cql/evaluator/translation/provider/InMemoryLibrarySourceProvider.java @@ -1,4 +1,4 @@ -package org.opencds.cqf.cql.service.provider; +package org.opencds.cqf.cql.evaluator.translation.provider; import java.io.ByteArrayInputStream; import java.io.InputStream; diff --git a/evaluator.translation/src/main/java/org/opencds/cqf/cql/evaluator/translation/provider/VersionComparingLibrarySourceProvider.java b/evaluator.translation/src/main/java/org/opencds/cqf/cql/evaluator/translation/provider/VersionComparingLibrarySourceProvider.java new file mode 100644 index 000000000..2c5c830c7 --- /dev/null +++ b/evaluator.translation/src/main/java/org/opencds/cqf/cql/evaluator/translation/provider/VersionComparingLibrarySourceProvider.java @@ -0,0 +1,46 @@ +package org.opencds.cqf.cql.evaluator.translation.provider; + +import org.cqframework.cql.cql2elm.LibrarySourceProvider; + +public abstract class VersionComparingLibrarySourceProvider implements LibrarySourceProvider { + public static int compareVersions(String version1, String version2) + { + // Treat null as MAX VERSION + if (version1 == null && version2 == null) { + return 0; + } + + if (version1 != null && version2 == null) { + return -1; + } + + if (version1 == null && version2 != null) { + return 1; + } + + String[] string1Vals = version1.split("\\."); + String[] string2Vals = version2.split("\\."); + + int length = Math.max(string1Vals.length, string2Vals.length); + + for (int i = 0; i < length; i++) + { + Integer v1 = (i < string1Vals.length)?Integer.parseInt(string1Vals[i]):0; + Integer v2 = (i < string2Vals.length)?Integer.parseInt(string2Vals[i]):0; + + //Making sure Version1 bigger than version2 + if (v1 > v2) + { + return 1; + } + //Making sure Version1 smaller than version2 + else if(v1 < v2) + { + return -1; + } + } + + //Both are equal + return 0; + } +} \ No newline at end of file diff --git a/evaluator.translation/src/main/java/org/opencds/cqf/cql/evaluator/translation/provider/stu3/Stu3BundleLibrarySourceProvider.java b/evaluator.translation/src/main/java/org/opencds/cqf/cql/evaluator/translation/provider/stu3/Stu3BundleLibrarySourceProvider.java new file mode 100644 index 000000000..ea3d8c79c --- /dev/null +++ b/evaluator.translation/src/main/java/org/opencds/cqf/cql/evaluator/translation/provider/stu3/Stu3BundleLibrarySourceProvider.java @@ -0,0 +1,50 @@ +package org.opencds.cqf.cql.evaluator.translation.provider.stu3; + +import java.io.ByteArrayInputStream; +import java.io.InputStream; +import java.util.Objects; + +import org.hl7.elm.r1.VersionedIdentifier; +import org.hl7.fhir.dstu3.model.*; +import org.opencds.cqf.cql.evaluator.translation.provider.VersionComparingLibrarySourceProvider; + + +public class Stu3BundleLibrarySourceProvider extends VersionComparingLibrarySourceProvider { + + Bundle bundle; + public Stu3BundleLibrarySourceProvider(Bundle bundle) { + this.bundle = bundle; + } + + @Override + public InputStream getLibrarySource(VersionedIdentifier versionedIdentifier) { + Objects.requireNonNull(versionedIdentifier, "versionedIdentifier can not be null."); + + Library library = this.getLibrary(versionedIdentifier.getId(), versionedIdentifier.getVersion()); + if (library == null ){ + return null; + } + + return this.getCqlStream(library); + } + + public Library getLibrary(String name, String version) { + // TODO: Check the bundle + + return null; + } + + private InputStream getCqlStream(Library library) { + if (library.hasContent()) { + for (Attachment content : library.getContent()) { + // TODO: Could use this for any content type, would require a mapping from content type to LanguageServer LanguageId + if (content.getContentType().equals("text/cql")) { + return new ByteArrayInputStream(content.getData()); + } + // TODO: Decompile ELM if no CQL is available? + } + } + + return null; + } +} \ No newline at end of file diff --git a/evaluator.translation/src/main/java/org/opencds/cqf/cql/evaluator/translation/provider/stu3/Stu3ServerLibrarySourceProvider.java b/evaluator.translation/src/main/java/org/opencds/cqf/cql/evaluator/translation/provider/stu3/Stu3ServerLibrarySourceProvider.java new file mode 100644 index 000000000..743f87888 --- /dev/null +++ b/evaluator.translation/src/main/java/org/opencds/cqf/cql/evaluator/translation/provider/stu3/Stu3ServerLibrarySourceProvider.java @@ -0,0 +1,106 @@ +package org.opencds.cqf.cql.evaluator.translation.provider.stu3; + +import java.io.ByteArrayInputStream; +import java.io.InputStream; +import java.util.Objects; + +import org.hl7.elm.r1.VersionedIdentifier; +import org.hl7.fhir.dstu3.model.*; +import org.opencds.cqf.cql.evaluator.translation.provider.VersionComparingLibrarySourceProvider; + +import ca.uhn.fhir.context.FhirVersionEnum; +import ca.uhn.fhir.rest.client.api.IGenericClient; + +public class Stu3ServerLibrarySourceProvider extends VersionComparingLibrarySourceProvider { + + private IGenericClient client; + + public Stu3ServerLibrarySourceProvider(IGenericClient client) { + this.client = client; + if (!client.getFhirContext().getVersion().getVersion().isEquivalentTo(FhirVersionEnum.DSTU3)) { + throw new IllegalArgumentException("This library source provider requires an STU3 server."); + } + } + + @Override + public InputStream getLibrarySource(VersionedIdentifier versionedIdentifier) { + Objects.requireNonNull(versionedIdentifier, "versionedIdentifier can not be null."); + + Library library = this.getLibrary(versionedIdentifier.getId(), versionedIdentifier.getVersion()); + if (library == null ){ + return null; + } + + return this.getCqlStream(library); + } + + public Library getLibrary(String url) { + try { + return this.client.read().resource(Library.class).withUrl(url).elementsSubset("name", "version", "content", "type").encodedJson().execute(); + } + catch (Exception e) { + // TODO: Logging + } + + return null; + } + + public Library getLibrary(String name, String version) { + try { + Bundle result = this.client.search().forResource(Library.class).elementsSubset("name", "version").where(Library.NAME.matchesExactly().value(name)) + .returnBundle(Bundle.class).encodedJson().execute(); + + Library library = null; + String libraryUrl = null; + Library maxVersion = null; + String maxUrl = null; + if (result.hasEntry() && result.getEntry().size() > 0){ + for (Bundle.BundleEntryComponent bec : result.getEntry()) { + Library l = (Library)bec.getResource(); + if ((version != null && l.getVersion().equals(version)) || + (version == null && !l.hasVersion())) + { + library = l; + libraryUrl = bec.getFullUrl(); + } + + if (maxVersion == null || compareVersions(maxVersion.getVersion(), l.getVersion()) < 0){ + maxVersion = l; + maxUrl = bec.getFullUrl(); + } + } + } + + if (version == null && maxVersion != null) { + library = maxVersion; + libraryUrl = maxUrl; + } + + // This is a subsetted resource, so we get the full version here. + if (library != null) { + return getLibrary(libraryUrl); + } + + } + catch (Exception e) { + // TODO: Logging + } + + return null; + } + + private InputStream getCqlStream(Library library) { + if (library.getType().getCoding().get(0).getCode().equals("logic-library")) { + for (Attachment content : library.getContent()) { + // TODO: Could use this for any content type, would require a mapping from content type to LanguageServer LanguageId + if (content.getContentType().equals("text/cql")) { + return new ByteArrayInputStream(content.getData()); + } + // TODO: Decompile ELM if no CQL is available? + } + } + + return null; + } + +} \ No newline at end of file diff --git a/evaluator/pom.xml b/evaluator/pom.xml new file mode 100644 index 000000000..cc187e2e7 --- /dev/null +++ b/evaluator/pom.xml @@ -0,0 +1,33 @@ + + + 4.0.0 + + org.opencds.cqf.cql + evaluator + ${revision} + jar + + CQL Evaluator + + + org.opencds.cqf.cql + evaluator.shared + ${revision} + + + + + org.opencds.cqf.cql + engine + + + org.opencds.cqf.cql + engine.fhir + + + info.cqframework + cql-to-elm + + + \ No newline at end of file diff --git a/evaluator/src/main/java/org/opencds/cqf/cql/evaluator/CqlEvaluator.java b/evaluator/src/main/java/org/opencds/cqf/cql/evaluator/CqlEvaluator.java new file mode 100644 index 000000000..de790294c --- /dev/null +++ b/evaluator/src/main/java/org/opencds/cqf/cql/evaluator/CqlEvaluator.java @@ -0,0 +1,115 @@ +package org.opencds.cqf.cql.evaluator; + +import java.util.EnumSet; +import java.util.Map; +import java.util.Objects; +import java.util.Set; + +import org.apache.commons.lang3.tuple.Pair; +import org.cqframework.cql.elm.execution.VersionedIdentifier; +import org.opencds.cqf.cql.engine.data.DataProvider; +import org.opencds.cqf.cql.evaluator.resolver.ParameterDeserializer; +import org.opencds.cqf.cql.evaluator.resolver.implementation.DefaultParameterDeserializer; +import org.opencds.cqf.cql.engine.execution.CqlEngine; +import org.opencds.cqf.cql.engine.execution.CqlEngine.Options; +import org.opencds.cqf.cql.engine.execution.EvaluationResult; +import org.opencds.cqf.cql.engine.execution.LibraryLoader; +import org.opencds.cqf.cql.engine.terminology.TerminologyProvider; + +// TODO: Add debug options +public class CqlEvaluator { + + private LibraryLoader libraryLoader; + + private ParameterDeserializer parameterDeserializer; + private VersionedIdentifier libraryIdentifier; + + private CqlEngine cqlEngine; + + public CqlEvaluator(LibraryLoader libraryLoader, String libraryName) { + this(libraryLoader, libraryName, null, null, null, null); + } + + public CqlEvaluator(LibraryLoader libraryLoader, VersionedIdentifier libraryIdentifier) { + this(libraryLoader, libraryIdentifier, null, null, null, null); + } + + public CqlEvaluator(LibraryLoader libraryLoader, String libraryName, Map dataProviders, + TerminologyProvider terminologyProvider) { + this(libraryLoader, libraryName, dataProviders, terminologyProvider, null, null); + } + + public CqlEvaluator(LibraryLoader libraryLoader, VersionedIdentifier libraryIdentifier, + Map dataProviders, TerminologyProvider terminologyProvider) { + this(libraryLoader, libraryIdentifier, dataProviders, terminologyProvider, null, null); + } + + public CqlEvaluator(LibraryLoader libraryLoader, String libraryName, EnumSet engineOptions) { + this(libraryLoader, libraryName, null, null, engineOptions, null); + } + + public CqlEvaluator(LibraryLoader libraryLoader, VersionedIdentifier libraryIdentifier, + EnumSet engineOptions) { + this(libraryLoader, libraryIdentifier, null, null, engineOptions, null); + } + + public CqlEvaluator(LibraryLoader libraryLoader, String libraryName, Map dataProviders, + TerminologyProvider terminologyProvider, EnumSet engineOptions, + ParameterDeserializer parameterResolver) { + this(libraryLoader, new VersionedIdentifier().withId(libraryName), dataProviders, terminologyProvider, + engineOptions, parameterResolver); + } + + public CqlEvaluator(LibraryLoader libraryLoader, VersionedIdentifier libraryIdentifier, + Map dataProviders, TerminologyProvider terminologyProvider, + EnumSet engineOptions, ParameterDeserializer parameterDeserializer) { + this.libraryLoader = Objects.requireNonNull(libraryLoader, "libraryLoader can not be null."); + this.libraryIdentifier = Objects.requireNonNull(libraryIdentifier, "libraryIdentifier can not be null."); + + if (parameterDeserializer == null) { + this.parameterDeserializer = new DefaultParameterDeserializer(); + } + + this.cqlEngine = new CqlEngine(this.libraryLoader, dataProviders, terminologyProvider, engineOptions); + } + + public EvaluationResult evaluate() { + return this.evaluate(null, null, null); + } + + public EvaluationResult evaluate(Set expressions) { + return this.evaluate(expressions, null, null); + } + + public EvaluationResult evaluate(Set expressions, Pair contextParameter) { + return this.evaluate(expressions, contextParameter, null); + } + + public EvaluationResult evaluate(Set expressions, Map parameters) { + return this.evaluate(expressions, null, parameters); + } + + public EvaluationResult evaluate(Pair contextParameter) { + return this.evaluate(null, contextParameter, null); + } + + public EvaluationResult evaluate(Pair contextParameter, Map parameters) { + return this.evaluate(null, contextParameter, parameters); + } + + public EvaluationResult evaluate(Map parameters) { + return this.evaluate(null, null, parameters); + } + + public EvaluationResult evaluate(Set expressions, Pair contextParameter, Map parameters) { + return this.cqlEngine.evaluate(this.libraryIdentifier, contextParameter, parameters); + } + + public Pair unmarshalContextParameter(Pair contextParameter) { + return this.parameterDeserializer.deserializeContextParameter(contextParameter); + } + + public Map unmarshalParameters(Map parameters) { + return this.parameterDeserializer.deserializeParameters(parameters); + } +} \ No newline at end of file diff --git a/service/src/main/java/org/opencds/cqf/cql/service/Helpers.java b/evaluator/src/main/java/org/opencds/cqf/cql/evaluator/Helpers.java similarity index 84% rename from service/src/main/java/org/opencds/cqf/cql/service/Helpers.java rename to evaluator/src/main/java/org/opencds/cqf/cql/evaluator/Helpers.java index d1d899739..4ae76d45a 100644 --- a/service/src/main/java/org/opencds/cqf/cql/service/Helpers.java +++ b/evaluator/src/main/java/org/opencds/cqf/cql/evaluator/Helpers.java @@ -1,4 +1,4 @@ -package org.opencds.cqf.cql.service; +package org.opencds.cqf.cql.evaluator; public class Helpers { public static boolean isFileUri(String uri) { diff --git a/evaluator/src/main/java/org/opencds/cqf/cql/evaluator/resolver/ParameterDeserializer.java b/evaluator/src/main/java/org/opencds/cqf/cql/evaluator/resolver/ParameterDeserializer.java new file mode 100644 index 000000000..b7dcb4327 --- /dev/null +++ b/evaluator/src/main/java/org/opencds/cqf/cql/evaluator/resolver/ParameterDeserializer.java @@ -0,0 +1,15 @@ +package org.opencds.cqf.cql.evaluator.resolver; + +import java.util.Map; + +import org.apache.commons.lang3.tuple.Pair; + +public interface ParameterDeserializer { + Pair deserializeContextParameter(Pair contextParameter); + Map deserializeParameters(Map parameters); + + Object deserializeContextParameter(String context, String contextValue); + Object deserializeParameter(String parameterName, String parameterValue); + + // TODO: We probably want serialization of the same as well. +} \ No newline at end of file diff --git a/evaluator/src/main/java/org/opencds/cqf/cql/evaluator/resolver/implementation/DefaultParameterDeserializer.java b/evaluator/src/main/java/org/opencds/cqf/cql/evaluator/resolver/implementation/DefaultParameterDeserializer.java new file mode 100644 index 000000000..06939dfab --- /dev/null +++ b/evaluator/src/main/java/org/opencds/cqf/cql/evaluator/resolver/implementation/DefaultParameterDeserializer.java @@ -0,0 +1,56 @@ +package org.opencds.cqf.cql.evaluator.resolver.implementation; + +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; + +import org.apache.commons.lang3.tuple.Pair; +import org.opencds.cqf.cql.evaluator.resolver.ParameterDeserializer; + + +/** + * The default implementation of the ParameterDeserializer is currently just a pass through of the strings. + * The intention is for it to eventually support CQL-defined types, and provide an interface for supporting + * other types, such as FHIR resources. NOTE: in order to support picking the correct serializer this class + * needs the context of which Library the parameters are defined on so that it can pick the correct type. + */ +public class DefaultParameterDeserializer implements ParameterDeserializer { + @Override + public Pair deserializeContextParameter(Pair contextParameter) { + if (contextParameter == null) { + return null; + } + + return Pair.of(contextParameter.getLeft(), + this.deserializeContextParameter(contextParameter.getLeft(), contextParameter.getRight())); + } + + @Override + public Map deserializeParameters(Map parameters) { + if (parameters == null) { + return null; + } + + Map deseralized = new HashMap<>(); + for (Map.Entry entry : parameters.entrySet()) { + deseralized.put(entry.getKey(), this.deserializeParameter(entry.getKey(), entry.getValue())); + } + return deseralized; + } + + @Override + public Object deserializeContextParameter(String context, String contextValue) { + Objects.requireNonNull(context); + Objects.requireNonNull(contextValue); + + return contextValue; + } + + @Override + public Object deserializeParameter(String parameterName, String parameterValue) { + Objects.requireNonNull(parameterName); + Objects.requireNonNull(parameterValue); + + return parameterValue; + } +} \ No newline at end of file diff --git a/evaluator/src/test/java/org/opencds/cqf/cql/evaluator/evaluation/CqlEvaluatorTest.java b/evaluator/src/test/java/org/opencds/cqf/cql/evaluator/evaluation/CqlEvaluatorTest.java new file mode 100644 index 000000000..67fc53871 --- /dev/null +++ b/evaluator/src/test/java/org/opencds/cqf/cql/evaluator/evaluation/CqlEvaluatorTest.java @@ -0,0 +1,23 @@ +package org.opencds.cqf.cql.evaluator.evaluation; + +import org.hl7.fhir.r4.model.IntegerType; +import org.hl7.fhir.r4.model.Observation; +import org.junit.Test; + + + +// + +public class CqlEvaluatorTest{ + + @Test + public void test_evaluator_returns_expressionValue() { + Observation ob = new Observation(); + IntegerType value = new IntegerType(5); + ob.setValue(value); + //Object result = ExpressionEvaluator.evaluateExpression(ob, "Observation.value"); + // assertNotNull(result); + // assertEquals(value, result); + } + +} \ No newline at end of file diff --git a/pom.xml b/pom.xml index 71a18ece1..442656b73 100644 --- a/pom.xml +++ b/pom.xml @@ -3,11 +3,14 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 + org.opencds.cqf.cql - base + evaluator.shared ${revision} pom + CQL Evaluator Project + 1 0 @@ -18,21 +21,23 @@ UTF-8 UTF-8 - 1.3.19 - 1.3.12 + 1.5.0 + 1.5.0 2.1.9.RELEASE + 5.0.2 + 5.0.4 + 1.7.30 - service - cli - rest - measure - - + evaluator - base - Base project for CQL modules - https://github.com/DBCG/org-opencds-cqf-cql/tree/master + evaluator.translation + evaluator.execution + + evaluator.cli + + @@ -51,9 +56,9 @@ - scm:git:git://github.com/DBCG/org-opencds-cqf-cql.git - scm:git:ssh://github.com:DBCG/org-opencds-cqf-cql.git - http://github.com/DBCG/org-opencds-cqf-cql.git/tree/master + scm:git:git://github.com/DBCG/cql-evaluator.git + scm:git:ssh://github.com:DBCG/cql-evaluator.git + http://github.com/DBCG/cql-evaluator.git/tree/master @@ -91,8 +96,8 @@ import - org.opencds.cqf - cql-engine + org.opencds.cqf.cql + engine ${cql-engine.version} @@ -102,8 +107,8 @@ - org.opencds.cqf - cql-engine-fhir + org.opencds.cqf.cql + engine.fhir ${cql-engine.version} @@ -112,15 +117,10 @@ - - org.slf4j - slf4j-simple - 1.7.29 - info.cqframework cql-to-elm - ${cqframework.version} + ${cql-translator.version} org.slf4j @@ -128,37 +128,139 @@ + + + + ca.uhn.hapi.fhir + hapi-fhir-client + ${hapi.version} + + + ca.uhn.hapi.fhir + hapi-fhir-structures-dstu3 + ${hapi.version} + + + ca.uhn.hapi.fhir + hapi-fhir-structures-r4 + ${hapi.version} + + + + net.sf.jopt-simple + jopt-simple + ${jopt-simple.version} + + + + org.testng testng 6.8.8 test + + org.hamcrest + hamcrest-all + 1.3 + test + + + org.mockito + mockito-core + 3.3.3 + test + + + + + org.slf4j + slf4j-simple + ${slf4j.version} + true + test + + + + org.slf4j + jcl-over-slf4j + ${slf4j.version} + true + test + + + + + + org.testng + testng + + + org.hamcrest + hamcrest-all + + + org.mockito + mockito-core + + + org.slf4j + slf4j-simple + + + + package + + org.apache.maven.plugins + maven-jmod-plugin + 3.0.0-alpha-1 + true + + + org.apache.maven.plugins + maven-jlink-plugin + 3.0.0-alpha-1 + true + + + org.apache.maven.plugins + maven-deploy-plugin + 3.0.0-M1 + org.apache.maven.plugins maven-compiler-plugin 3.8.1 - 11 - 11 + 1.8 + 1.8 + 8 org.apache.maven.plugins maven-jar-plugin 3.1.2 + + + + true + + + org.apache.maven.plugins maven-javadoc-plugin - 3.1.1 + 3.2.0 - 11 + 8 @@ -281,7 +383,7 @@ 1.1.0 true - resolveCiFriendliesOnly + ossrh @@ -300,6 +402,25 @@ + + org.jacoco + jacoco-maven-plugin + 0.8.2 + + + + prepare-agent + + + + report + prepare-package + + report + + + + @@ -323,6 +444,18 @@ org.codehaus.mojo flatten-maven-plugin + + org.jacoco + jacoco-maven-plugin + + + org.apache.maven.plugins + maven-deploy-plugin + + true + + false + diff --git a/service/src/main/java/org/opencds/cqf/cql/service/Parameters.java b/service/src/main/java/org/opencds/cqf/cql/service/Parameters.java deleted file mode 100644 index bedb2cca1..000000000 --- a/service/src/main/java/org/opencds/cqf/cql/service/Parameters.java +++ /dev/null @@ -1,24 +0,0 @@ -package org.opencds.cqf.cql.service; - -import java.util.List; -import java.util.Map; - -import org.apache.commons.lang3.tuple.Pair; - -public class Parameters { - // LibraryName, ExpressionName - public List> expressions; - public Map modelUris; - public String terminologyUri; - // LibraryName, ParameterName, Value - // LibraryName may be null. - public Map, Object> parameters; - public Map contextParameters; - public String libraryPath; - public String libraryName; - public String libraryVersion; - public List libraries; - - public Boolean verbose; - -} \ No newline at end of file diff --git a/service/src/main/java/org/opencds/cqf/cql/service/Response.java b/service/src/main/java/org/opencds/cqf/cql/service/Response.java deleted file mode 100644 index 44d6965f5..000000000 --- a/service/src/main/java/org/opencds/cqf/cql/service/Response.java +++ /dev/null @@ -1,7 +0,0 @@ -package org.opencds.cqf.cql.service; - -import org.opencds.cqf.cql.execution.EvaluationResult; - -public class Response { - public EvaluationResult evaluationResult; -} \ No newline at end of file diff --git a/service/src/main/java/org/opencds/cqf/cql/service/Service.java b/service/src/main/java/org/opencds/cqf/cql/service/Service.java deleted file mode 100644 index 0d18dcf53..000000000 --- a/service/src/main/java/org/opencds/cqf/cql/service/Service.java +++ /dev/null @@ -1,300 +0,0 @@ -package org.opencds.cqf.cql.service; - -import java.util.Collection; -import java.util.EnumSet; -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.opencds.cqf.cql.service.factory.DataProviderFactory; -import org.opencds.cqf.cql.service.factory.DefaultDataProviderFactory; -import org.opencds.cqf.cql.service.factory.DefaultLibraryLoaderFactory; -import org.opencds.cqf.cql.service.factory.DefaultTerminologyProviderFactory; -import org.opencds.cqf.cql.service.factory.LibraryLoaderFactory; -import org.opencds.cqf.cql.service.factory.TerminologyProviderFactory; -import org.opencds.cqf.cql.service.resolver.DefaultParameterResolver; -import org.opencds.cqf.cql.service.resolver.ParameterResolver; -import org.opencds.cqf.cql.service.serialization.EvaluationResultsSerializer; - -import org.apache.commons.lang3.tuple.Pair; -import org.cqframework.cql.cql2elm.CqlTranslator; -import org.cqframework.cql.elm.execution.Library; -import org.cqframework.cql.elm.execution.UsingDef; -import org.cqframework.cql.elm.execution.VersionedIdentifier; -import org.opencds.cqf.cql.data.DataProvider; -import org.opencds.cqf.cql.execution.CqlEngine; -import org.opencds.cqf.cql.execution.EvaluationResult; -import org.opencds.cqf.cql.execution.LibraryLoader; -import org.opencds.cqf.cql.terminology.TerminologyProvider; - -public class Service { - - public enum Options { - EnableFileUri - } - - private EnumSet options; - private EnumSet engineOptions; - private EnumSet translatorOptions; - private TerminologyProviderFactory terminologyProviderFactory; - private DataProviderFactory dataProviderFactory; - private LibraryLoaderFactory libraryLoaderFactory; - private ParameterResolver parameterResolver; - - public Service() { - this(null, null, null, null, null, null, null); - } - - // Use this as a quick way to enable file uris. - public Service(EnumSet options) { - this(null, null, null, null, options, null, null); - } - - public Service(LibraryLoaderFactory libraryLoaderFactory, DataProviderFactory dataProviderFactory, - TerminologyProviderFactory terminologyProviderFactory, ParameterResolver parameterResolver, - EnumSet options, - EnumSet engineOptions, - EnumSet translatorOptions) { - - if (libraryLoaderFactory == null) { - libraryLoaderFactory = new DefaultLibraryLoaderFactory(); - } - - if (dataProviderFactory == null) { - dataProviderFactory = new DefaultDataProviderFactory(); - } - - if (terminologyProviderFactory == null) { - terminologyProviderFactory = new DefaultTerminologyProviderFactory(); - } - - if (parameterResolver == null) { - parameterResolver = new DefaultParameterResolver(); - } - - if (engineOptions == null) { - engineOptions = EnumSet.of(org.opencds.cqf.cql.execution.CqlEngine.Options.EnableExpressionCaching); - } - - if (options == null) { - options = EnumSet.noneOf(Options.class); - } - - if (translatorOptions == null) { - // Default for measure eval - translatorOptions = EnumSet.of( - CqlTranslator.Options.EnableAnnotations, - CqlTranslator.Options.EnableLocators, - CqlTranslator.Options.DisableListDemotion, - CqlTranslator.Options.DisableListPromotion, - CqlTranslator.Options.DisableMethodInvocation); - } - - this.libraryLoaderFactory = libraryLoaderFactory; - this.dataProviderFactory = dataProviderFactory; - this.terminologyProviderFactory = terminologyProviderFactory; - this.parameterResolver = parameterResolver; - this.options = options; - this.engineOptions = engineOptions; - this.translatorOptions = translatorOptions; - } - - public Response evaluate(Parameters parameters) { - validateParameters(parameters); - - LibraryLoader libraryLoader = null; - if (parameters.libraryPath != null && !parameters.libraryPath.isEmpty()) { - libraryLoader = this.libraryLoaderFactory.create(parameters.libraryPath, this.translatorOptions); - } - else { - libraryLoader = this.libraryLoaderFactory.create(parameters.libraries, this.translatorOptions); - } - - Map> expressions = this.toExpressionMap(parameters.expressions); - Map> evaluationParameters = this.toParameterMap(parameters.parameters); - - // TOOD: Recursive resolve ALL libraries, not just those that are used by parameters, expressions, and library name. - // Either that or have the library manager just give them all to us. - - Map libraries = new HashMap(); - if (parameters.libraryName != null) { - Library lib = libraryLoader.load(toExecutionIdentifier(parameters.libraryName, parameters.libraryVersion)); - if (lib != null) { - libraries.put(lib.getIdentifier(), lib); - } - } - - for (VersionedIdentifier v : expressions.keySet()) { - Library lib = libraryLoader.load(v); - if (lib != null && !libraries.containsKey(lib.getIdentifier())) { - libraries.put(lib.getIdentifier(), lib); - } - } - - for (VersionedIdentifier v : evaluationParameters.keySet()) { - Library lib = libraryLoader.load(v); - if (lib != null && !libraries.containsKey(lib.getIdentifier())) { - libraries.put(lib.getIdentifier(), lib); - } - } - - Map> modelVersionAndUrls = getModelVersionAndUrls(libraries, parameters.modelUris); - TerminologyProvider terminologyProvider = this.terminologyProviderFactory.create(modelVersionAndUrls, parameters.terminologyUri); - Map dataProviders = this.dataProviderFactory.create(modelVersionAndUrls, terminologyProvider); - - Map resolvedContextParameters = this.parameterResolver.resolvecontextParameters(parameters.contextParameters); - Map> resolvedEvaluationParameters = this.parameterResolver.resolveParameters(libraries, evaluationParameters); - - CqlEngine engine = new CqlEngine(libraryLoader, dataProviders, terminologyProvider, this.engineOptions); - - EvaluationResult result = null; - if (parameters.libraryName != null) { - result = engine.evaluate(resolvedContextParameters, resolvedEvaluationParameters, - this.toExecutionIdentifier(parameters.libraryName, null)); - } else { - result = engine.evaluate(resolvedContextParameters, resolvedEvaluationParameters, expressions); - } - - Response response = new Response(); - response.evaluationResult = result; - - // TODO: Non-static serializers for different models. - Pair versionAndUrl = modelVersionAndUrls.get("FHIR"); - if (versionAndUrl != null) { - EvaluationResultsSerializer.setFhirContext(versionAndUrl.getLeft()); - } - - return response; - } - - private Map> getModelVersionAndUrls(Map libraries, - Map modelUris) { - - modelUris = this.expandAliasToUri(modelUris); - Map> versions = new HashMap<>(); - for (Library library : libraries.values()) { - if (library.getUsings() != null && library.getUsings().getDef() != null) { - for (UsingDef u : library.getUsings().getDef()) { - String uri = u.getUri(); - // Skip the system URI - if (uri.equals("urn:hl7-org:elm-types:r1")) { - continue; - } - String version = u.getVersion(); - if (versions.containsKey(uri)) { - Pair existing = versions.get(uri); - if (!existing.getLeft().equals(version)) { - throw new IllegalArgumentException(String.format( - "Libraries are using multiple versions of %s. Only one version is supported at a time.", - uri)); - } - } - else { - String url = modelUris.get(uri); - versions.put(uri, Pair.of(version, url)); - } - } - } - } - - return versions; - } - - private Map expandAliasToUri(Map modelUris) { - final Map aliasMap = new HashMap() { - { - put("FHIR", "http://hl7.org/fhir"); - put("QUICK", "http://hl7.org/fhir"); - put("QDM", "urn:healthit-gov:qdm:v5_4"); - } - }; - - Map expanded = new HashMap<>(); - if (modelUris == null || modelUris.isEmpty()) { - return expanded; - } - - for (Map.Entry entry : modelUris.entrySet()){ - if (aliasMap.containsKey(entry.getKey())) { - expanded.put(aliasMap.get(entry.getKey()), entry.getValue()); - } - else { - expanded.put(entry.getKey(), entry.getValue()); - } - } - - return expanded; - } - - - - public VersionedIdentifier toExecutionIdentifier(String name, String version) { - return new VersionedIdentifier().withId(name).withVersion(version); - } - - - private Map> toExpressionMap(List> expressions) { - Map> map = new HashMap<>(); - for (Pair p : expressions) { - VersionedIdentifier vi = toExecutionIdentifier(p.getLeft(), null); - if (!map.containsKey(vi)) { - map.put(vi, new HashSet<>()); - } - - map.get(vi).add(p.getRight()); - } - - return map; - } - - private Map> toParameterMap(Map, Object> parameters) { - Map> map = new HashMap<>(); - for (Map.Entry, Object> p : parameters.entrySet()) { - VersionedIdentifier vi = toExecutionIdentifier(p.getKey().getLeft(), null); - if (!map.containsKey(vi)) { - map.put(vi, new HashMap<>()); - } - - map.get(vi).put(p.getKey().getRight(), p.getValue()); - } - - return map; - } - - private void ensureNotFileUri(String uri) { - if (Helpers.isFileUri(uri)) { - throw new IllegalArgumentException(String.format("%s is not a valid uri", uri)); - } - } - - private void ensureNotFileUri(Collection uris) { - for (String s : uris) { - ensureNotFileUri(s); - } - } - - private void validateParameters(Parameters parameters) { - // Ensure EnableFileURI option is respected. This is a potential security risk on a public server, so this must remain implemented. - if (!this.options.contains(Options.EnableFileUri)) { - ensureNotFileUri(parameters.libraryPath); - ensureNotFileUri(parameters.terminologyUri); - if (parameters.modelUris != null) { - ensureNotFileUri(parameters.modelUris.values()); - } - } - - if (parameters.libraryName == null && (parameters.expressions == null || parameters.expressions.isEmpty())) { - throw new IllegalArgumentException("libraryName or expressions must be specified."); - } - - if (parameters.libraryName != null && (parameters.expressions != null && !parameters.expressions.isEmpty())) { - throw new IllegalArgumentException("libraryName and expressions are mutually exclusive. Only specify one."); - } - - if ((parameters.libraries != null && !parameters.libraries.isEmpty()) && (parameters.libraryPath != null && !parameters.libraryPath.isEmpty())) { - throw new IllegalArgumentException("libraries and library path are mutually exclusive. Only specify one."); - } - } -} \ No newline at end of file diff --git a/service/src/main/java/org/opencds/cqf/cql/service/factory/DataProviderFactory.java b/service/src/main/java/org/opencds/cqf/cql/service/factory/DataProviderFactory.java deleted file mode 100644 index 075c90138..000000000 --- a/service/src/main/java/org/opencds/cqf/cql/service/factory/DataProviderFactory.java +++ /dev/null @@ -1,11 +0,0 @@ -package org.opencds.cqf.cql.service.factory; - -import java.util.Map; - -import org.apache.commons.lang3.tuple.Pair; -import org.opencds.cqf.cql.data.DataProvider; -import org.opencds.cqf.cql.terminology.TerminologyProvider; - -public interface DataProviderFactory { - Map create(Map> modelVersionsAndUrls, TerminologyProvider terminologyProvider); -} \ No newline at end of file diff --git a/service/src/main/java/org/opencds/cqf/cql/service/factory/DefaultTerminologyProviderFactory.java b/service/src/main/java/org/opencds/cqf/cql/service/factory/DefaultTerminologyProviderFactory.java deleted file mode 100644 index b40415795..000000000 --- a/service/src/main/java/org/opencds/cqf/cql/service/factory/DefaultTerminologyProviderFactory.java +++ /dev/null @@ -1,66 +0,0 @@ -package org.opencds.cqf.cql.service.factory; - -import java.util.Map; - -import org.opencds.cqf.cql.service.Helpers; -import org.opencds.cqf.cql.service.provider.FileBasedFhirTerminologyProvider; - -import org.apache.commons.lang3.tuple.Pair; -import org.opencds.cqf.cql.terminology.TerminologyProvider; -import org.opencds.cqf.cql.terminology.fhir.Dstu3FhirTerminologyProvider; -import org.opencds.cqf.cql.terminology.fhir.R4FhirTerminologyProvider; - -import ca.uhn.fhir.context.FhirContext; - -// TODO: Auth and such. -public class DefaultTerminologyProviderFactory implements TerminologyProviderFactory { - public TerminologyProvider create(Map> modelVersionsAndUrls, String terminologyUri) { - if (terminologyUri == null || terminologyUri.isEmpty()) { - return null; - } - - // We currently only support FHIR-based terminology - // We assume that the terminology version is the same - // As the data version - Pair versionAndUrl = modelVersionsAndUrls.get("http://hl7.org/fhir"); - if (versionAndUrl == null) { - // Assume FHIR 3.0.0 - versionAndUrl = Pair.of("3.0.0", null); - } - - boolean isFileUri = Helpers.isFileUri(terminologyUri); - - FhirContext context; - switch (versionAndUrl.getLeft()) { - case "2.0.0": - context = FhirContext.forDstu2_1(); - if (isFileUri) { - return new FileBasedFhirTerminologyProvider(context, terminologyUri); - - } - else { - throw new IllegalArgumentException("Remote FHIR provider not supported for version FHIR 2.0.0"); - } - case "3.0.0": - context = FhirContext.forDstu3(); - if (isFileUri) { - return new FileBasedFhirTerminologyProvider(context, terminologyUri); - - } - else { - return new Dstu3FhirTerminologyProvider(context).setEndpoint(terminologyUri, false); - } - case "4.0.0": - context = FhirContext.forR4(); - if (isFileUri) { - return new FileBasedFhirTerminologyProvider(context, terminologyUri); - - } - else { - return new R4FhirTerminologyProvider(context).setEndpoint(terminologyUri, false); - } - default: - throw new IllegalArgumentException(String.format("Unknown FHIR terminology provider version: %s", versionAndUrl.getLeft())); - } - } -} \ No newline at end of file diff --git a/service/src/main/java/org/opencds/cqf/cql/service/factory/TerminologyProviderFactory.java b/service/src/main/java/org/opencds/cqf/cql/service/factory/TerminologyProviderFactory.java deleted file mode 100644 index 56372fc3e..000000000 --- a/service/src/main/java/org/opencds/cqf/cql/service/factory/TerminologyProviderFactory.java +++ /dev/null @@ -1,10 +0,0 @@ -package org.opencds.cqf.cql.service.factory; - -import java.util.Map; - -import org.apache.commons.lang3.tuple.Pair; -import org.opencds.cqf.cql.terminology.TerminologyProvider; - -public interface TerminologyProviderFactory { - TerminologyProvider create(Map> modelVersionsAndUrls, String terminologyUri); -} \ No newline at end of file diff --git a/service/src/main/java/org/opencds/cqf/cql/service/manager/CacheAwareModelManager.java b/service/src/main/java/org/opencds/cqf/cql/service/manager/CacheAwareModelManager.java deleted file mode 100644 index 0ca48f0f1..000000000 --- a/service/src/main/java/org/opencds/cqf/cql/service/manager/CacheAwareModelManager.java +++ /dev/null @@ -1,70 +0,0 @@ -package org.opencds.cqf.cql.service.manager; - -import org.cqframework.cql.cql2elm.ModelInfoLoader; -import org.cqframework.cql.cql2elm.ModelInfoProvider; -import org.cqframework.cql.cql2elm.ModelManager; -import org.cqframework.cql.cql2elm.model.Model; -import org.cqframework.cql.cql2elm.model.SystemModel; -import org.hl7.elm.r1.VersionedIdentifier; - -import java.util.HashMap; -import java.util.Map; - -/** - * Created by Bryn on 12/29/2016. - */ -public class CacheAwareModelManager extends ModelManager { - - private final Map globalCache; - - private final Map localCache; - - public CacheAwareModelManager(Map globalCache) { - this.globalCache = globalCache; - this.localCache = new HashMap<>(); - } - - private Model buildModel(VersionedIdentifier identifier) { - Model model = null; - try { - ModelInfoProvider provider = ModelInfoLoader.getModelInfoProvider(identifier); - if (identifier.getId().equals("System")) { - model = new SystemModel(provider.load()); - } - else { - model = new Model(provider.load(), resolveModel("System")); - } - } catch (ClassNotFoundException e) { - throw new IllegalArgumentException(String.format("Could not load model information for model %s, version %s.", - identifier.getId(), identifier.getVersion())); - } - - return model; - } - - @Override - public Model resolveModel(VersionedIdentifier modelIdentifier) { - Model model = null; - if (this.localCache.containsKey(modelIdentifier.getId())) { - model = this.localCache.get(modelIdentifier.getId()); - if (modelIdentifier.getVersion() != null && !modelIdentifier.getVersion().equals(model.getModelInfo().getVersion())) { - throw new IllegalArgumentException(String.format("Could not load model information for model %s, version %s because version %s is already loaded.", - modelIdentifier.getId(), modelIdentifier.getVersion(), model.getModelInfo().getVersion())); - } - - } - - if (model == null && this.globalCache.containsKey(modelIdentifier)) { - model = this.globalCache.get(modelIdentifier); - this.localCache.put(modelIdentifier.getId(), model); - } - - if (model == null) { - model = buildModel(modelIdentifier); - this.globalCache.put(modelIdentifier, model); - this.localCache.put(modelIdentifier.getId(), model); - } - - return model; - } -} diff --git a/service/src/main/java/org/opencds/cqf/cql/service/provider/FileBasedFhirRetrieveProvider.java b/service/src/main/java/org/opencds/cqf/cql/service/provider/FileBasedFhirRetrieveProvider.java deleted file mode 100644 index d133a0d57..000000000 --- a/service/src/main/java/org/opencds/cqf/cql/service/provider/FileBasedFhirRetrieveProvider.java +++ /dev/null @@ -1,365 +0,0 @@ -package org.opencds.cqf.cql.service.provider; - -import java.io.BufferedReader; -import java.io.File; -import java.io.FileReader; -import java.io.IOException; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.util.ArrayList; -import java.util.List; - -import org.opencds.cqf.cql.service.util.CodeUtil; - -import org.hl7.fhir.instance.model.api.IPrimitiveType; -import org.opencds.cqf.cql.exception.DataProviderException; -import org.opencds.cqf.cql.exception.UnknownPath; -import org.opencds.cqf.cql.model.ModelResolver; -import org.opencds.cqf.cql.retrieve.RetrieveProvider; -import org.opencds.cqf.cql.runtime.Code; -import org.opencds.cqf.cql.runtime.Interval; -import org.opencds.cqf.cql.terminology.TerminologyProvider; -import org.opencds.cqf.cql.terminology.ValueSetInfo; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -import ca.uhn.fhir.context.FhirContext; -import ca.uhn.fhir.parser.IParser; - -/* -What the heck does this thing do? - This class is intended to provide the user with the alternative of using a local repository - for clinical data retrieval instead of an external service. - NOTE: This class still uses a Terminology service for value set retrieval and evaluating code membership - -How do I use it? - Point the provider to the directory of patients: - FileBasedFhirProvider provider = new FileBasedFhirProvider(path to root data dir, terminology service endpoint(optional)); - Each subfolder name in the patients directory should be an id for a specific patients - In each patient folder there should be subfolders containing clinical information - (e.g. Condition, Procedure, etc...) for that patient in JSON format (XML support pending) - Here is a mock directory structure: - - patients - - 123 - - Conditions - - JSON representation of Fhir resources - - Procedures - - Encounters - - etc... - - 154 - - Observations - - etc... - - 209 - - etc... -*/ - -public class FileBasedFhirRetrieveProvider implements RetrieveProvider { - - private static final Logger logger = LoggerFactory.getLogger(FileBasedFhirRetrieveProvider.class); - - private Path path; - protected FhirContext fhirContext; - protected ModelResolver modelResolver; - protected TerminologyProvider terminologyProvider; - protected IParser parser; - - public FileBasedFhirRetrieveProvider(String path, TerminologyProvider terminologyProvider, FhirContext fhirContext, ModelResolver modelResolver) { - this.fhirContext = fhirContext; - this.modelResolver = modelResolver; - if (path.isEmpty()) { - throw new UnknownPath("Cannot resolve empty path"); - } - this.path = Paths.get(path); - this.terminologyProvider = terminologyProvider; - this.parser = this.fhirContext.newJsonParser(); - } - - @Override - public Iterable retrieve(String context, String contextPath, Object contextValue, String dataType, - String templateId, String codePath, Iterable codes, String valueSet, String datePath, - String dateLowPath, String dateHighPath, Interval dateRange) { - - List results = new ArrayList<>(); - List patientFiles; - Path toResults = path; - - // default context is Patient - if (context == null) { - context = "Patient"; - } - - if (templateId != null && !templateId.equals("")) { - // TODO: do something? - } - - if (codePath == null && (codes != null || valueSet != null)) { - throw new DataProviderException("A code path must be provided when filtering on codes or a valueset."); - } - - if (context.equals("Patient") && contextValue != null) { - toResults = toResults.resolve((String) contextValue); - } - - // Need the context value (patient id) to resolve the toResults path correctly - else if (context.equals("Patient") && contextValue == null) { - toResults = toResults.resolve(getDefaultPatient(toResults)); - } - - if (dataType != null) { - toResults = toResults.resolve(dataType); - } else { // Just in case -- probably redundant error checking... - throw new DataProviderException( - "A data type (i.e. Procedure, Valueset, etc...) must be specified for clinical data retrieval"); - } - - // No filtering - if (dateRange == null && codePath == null) { - patientFiles = getPatientFiles(toResults, context); - for (String resource : patientFiles) { - results.add(this.parser.parseResource(resource)); - } - return results; - } - - patientFiles = getPatientFiles(toResults, context); - - // filtering - // NOTE: retrieves can include both date and code filtering, - // so even though I may include a record if it is within the date range, - // that record may be excluded later during the code filtering stage - for (String resource : patientFiles) { - Object res = this.parser.parseResource(resource); - - // since retrieves can include both date and code filtering, I need this flag - // to determine inclusion of codes -- if date is no good -- don't test code - boolean includeRes = true; - - // dateRange element optionally allows a date range to be provided. - // The clinical statements returned would be only those clinical statements - // whose date - // fell within the range specified. - // if (dateRange != null) { - - // // Expand Interval DateTimes to avoid InEvaluator returning null - // // TODO: account for possible null for high or low? - No issues with this - // yet... - // Interval expanded = new Interval( - // ((DateTime)dateRange.getLow()).expandPartialMin(Precision.MILLISECOND), true, - // ((DateTime)dateRange.getHigh()).expandPartialMin(Precision.MILLISECOND), true - // ); - // if (datePath != null) { - // if (dateHighPath != null || dateLowPath != null) { - // throw new DataProviderException("If the datePath is specified, the - // dateLowPath and dateHighPath attributes must not be present."); - // } - - // DateTime date = null; - // Interval dateInterval = null; - // Object path = resolvePath(res, datePath); - - // if (path instanceof DateTime) { - // date = (DateTime) path; - // } - // else if (path instanceof DateTimeType) { - // date = toDateTime((DateTimeType) path); - // } - - // else if (path instanceof Interval) { - // dateInterval = (Interval) path; - // } - // // Interval could be represented as a Period - // else if (path instanceof Period) { - // DateTime start = toDateTime(((Period) path).getStart()); - // DateTime end = toDateTime(((Period) path).getEnd()); - // dateInterval = new Interval(start, true, end, true); - // } - - // if (date != null && InEvaluator.in(date, expanded, null)) { - // results.add(res); - // } - // else if (dateInterval != null && (Boolean) - // IncludesEvaluator.includes(expanded, dateInterval, "day")) { - // results.add(res); - // } - // else { - // includeRes = false; - // } - // } - - // else { - // if (dateHighPath == null && dateLowPath == null) { - // throw new DataProviderException("If the datePath is not given, either the - // lowDatePath or highDatePath must be provided."); - // } - - // // get the high and low dates if present - // // if not present, set to corresponding value in the expanded Interval - // DateTime highDt = dateHighPath != null ? (DateTime)resolvePath(res, - // dateHighPath) : (DateTime)expanded.getHigh(); - // DateTime lowDt = dateLowPath != null ? (DateTime)resolvePath(res, - // dateLowPath) : (DateTime)expanded.getLow(); - - // // the low and high dates are resolved -- create the Interval - // Interval highLowDtInterval = new Interval(lowDt, true, highDt, true); - - // // Now the Includes operation - // if ((Boolean)IncludesEvaluator.includes(expanded, highLowDtInterval, "day")) - // { - // results.add(res); - // } - // else { - // includeRes = false; - // } - // } - // } - - - // Check to make sure the resource matches the context if applicable. - if (contextPath != null && contextValue != null && context != null) { - try { - Object resContextValue = this.modelResolver.resolvePath(res, contextPath); - IPrimitiveType referenceValue = (IPrimitiveType)this.modelResolver.resolvePath(resContextValue, "reference"); - if (referenceValue == null) { - logger.warn("Found {} resource for unrelated to context. Check the resource.", dataType); - continue; - } - - String referenceString = referenceValue.getValueAsString(); - if (referenceString.contains("/")) { - referenceString = referenceString.substring(referenceString.indexOf("/") + 1, referenceString.length()); - } - - if (!referenceString.equals((String)contextValue)) { - logger.warn("Found {} resource for context value: {} when expecting: {}. Check the resource.", dataType, referenceString, (String)contextValue); - continue; - } - } - catch (Exception e ) { - continue; - } - } - - // codePath specifies which property/path of the model contains the Code or - // Codes for the clinical statement - if (codePath != null && !codePath.equals("") && includeRes) { - if (valueSet != null && !valueSet.equals("")) { - // now we need to get the codes in the resource and check for membership in the - // valueset - Object resCodes = this.modelResolver.resolvePath(res, codePath); - List resVersionIndependentCodes = CodeUtil.getElmCodesFromObject(resCodes, fhirContext); - if(resVersionIndependentCodes != null) { - for (Code code : resVersionIndependentCodes) { - boolean inValSet = checkCodeMembership(code, valueSet); - if (inValSet && results.indexOf(res) == -1) - results.add(res); - } - } - } else if (codes != null && codes.iterator().hasNext()) { - boolean codeMatch = false; - for (Code code : codes) { - if (codeMatch) - break; - - Object resCodes = this.modelResolver.resolvePath(res, codePath); - List resVersionIndependentCodes = CodeUtil.getElmCodesFromObject(resCodes, fhirContext); - if(resVersionIndependentCodes != null && isCodeMatch(code, resVersionIndependentCodes)) { - codeMatch = true; - break; - } - - } - if (codeMatch && results.indexOf(res) == -1) { - results.add(res); - } else if (!codeMatch && results.indexOf(res) != -1) { - results.remove(res); - } - } - } - } // end of filtering for each loop - - return results; - } - - private boolean isCodeMatch(Code code, Iterable codes) { - for (Code otherCode : codes) { - if (code.getCode().equals(otherCode.getCode()) - && code.getSystem().equals(otherCode.getSystem())) { - return true; - } - } - - return false; - } - - // If Patient context without patient id, get the first patient - public String getDefaultPatient(Path evalPath) { - File file = new File(evalPath.toString()); - if (!file.exists()) { - throw new UnknownPath(String.format("Unknown path: %s", evalPath.toString())); - } else if (file.listFiles().length == 0) { - throw new DataProviderException("The target directory is empty!"); - } - - return file.listFiles()[0].getName(); - } - - // evalPath examples -- NOTE: this occurs before filtering - // ..../data/procedure -- all procedures for all patients (Population context) - // ..../data/123/procedure -- all procedures for patient 123 - public List getPatientFiles(Path evalPath, String context) { - List fileContents = new ArrayList<>(); - if (context.equals("Patient") || context.equals("")) { - File file = new File(evalPath.toString()); - - if (!file.exists()) { - return fileContents; - } - - try { - for (File f : file.listFiles()) { - if (f.getName().contains(".json")) - fileContents.add(readFile(f)); - } - } catch (NullPointerException npe) { - throw new DataProviderException("The target directory is empty!"); - } - } else { // Population - File rootDir = new File(path.toString()); - for (File patientFolder : rootDir.listFiles()) { // all the patients in data set - for (File patientSubFolder : patientFolder.listFiles()) { // all the folders in the patient directory - if (!patientSubFolder.isDirectory()) { - continue; - } - // find the data type directory (condition, encounter, etc...) - if (patientSubFolder.getName().equals(evalPath.getName(evalPath.getNameCount() - 1).toString())) { - for (File dataTypeFile : patientSubFolder.listFiles()) { - if (dataTypeFile.getName().contains(".json")) - fileContents.add(readFile(dataTypeFile)); - } - } - } - } - } - return fileContents; - } - - public String readFile(File f) { - StringBuilder fileContent = new StringBuilder(); - // try with resources -- automatically closes files once read -- cool =) - try (BufferedReader data = new BufferedReader(new FileReader(f))) { - String line; - while ((line = data.readLine()) != null) { - fileContent.append(line); - } - } catch (IOException e) { - throw new UnknownPath("File not found at path " + f.getPath()); - } - return fileContent.toString(); - } - - public boolean checkCodeMembership(Code code, String vsId) { - ValueSetInfo valueSet = new ValueSetInfo().withId(vsId); - boolean result = this.terminologyProvider.in(code, valueSet); - return result; - } -} \ No newline at end of file diff --git a/service/src/main/java/org/opencds/cqf/cql/service/provider/FileBasedFhirTerminologyProvider.java b/service/src/main/java/org/opencds/cqf/cql/service/provider/FileBasedFhirTerminologyProvider.java deleted file mode 100644 index 899066359..000000000 --- a/service/src/main/java/org/opencds/cqf/cql/service/provider/FileBasedFhirTerminologyProvider.java +++ /dev/null @@ -1,145 +0,0 @@ -package org.opencds.cqf.cql.service.provider; - -import java.io.File; -import java.io.FilenameFilter; -import java.io.IOException; -import java.io.StringReader; -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.util.HashMap; -import java.util.Map; - -import org.opencds.cqf.cql.service.Helpers; - -import org.hl7.fhir.instance.model.api.IBaseResource; -import org.opencds.cqf.cql.runtime.Code; -import org.opencds.cqf.cql.service.util.ValueSetUtil; -import org.opencds.cqf.cql.terminology.CodeSystemInfo; -import org.opencds.cqf.cql.terminology.TerminologyProvider; -import org.opencds.cqf.cql.terminology.ValueSetInfo; - -import ca.uhn.fhir.context.FhirContext; -import ca.uhn.fhir.parser.IParser; - -public class FileBasedFhirTerminologyProvider implements TerminologyProvider { - - private String uri; - private FhirContext fhirContext; - private boolean initialized; - - private Map> valueSetIndex = new HashMap<>(); - - public FileBasedFhirTerminologyProvider(FhirContext fhirContext, String uri) { - if (uri == null || uri.isEmpty() || !Helpers.isFileUri(uri)) { - throw new IllegalArgumentException("File Terminology provider requires a valid path to Terminology resources"); - } - - this.fhirContext = fhirContext; - this.uri = uri; - this.initialized = false; - } - - @Override - public boolean in(Code code, ValueSetInfo valueSet) { - if (code == null || valueSet == null) { - throw new IllegalArgumentException("code and valueset must not be null when testing 'in'."); - } - - Iterable codes = this.expand(valueSet); - if (codes == null) { - return false; - } - - // TODO: Handle Versions - for (Code c : codes) { - if (c.getCode().equals(code.getCode()) && c.getSystem().equals(code.getSystem())) { - return true; - } - } - - return false; - } - - @Override - public Iterable expand(ValueSetInfo valueSet) { - if (valueSet == null) { - throw new IllegalArgumentException("valueset must not be null when attempting to expand"); - } - - if (!this.initialized) { - this.initialize(); - } - - if (!this.valueSetIndex.containsKey(valueSet.getId())) { - throw new IllegalArgumentException(String.format("Unable to locate valueset %s", valueSet.getId())); - } - - return this.valueSetIndex.get(valueSet.getId()); - } - - @Override - // TODO: We dont know about codes systems... - public Code lookup(Code code, CodeSystemInfo codeSystem) { - return null; - } - - private void initialize() { - FilenameFilter filter = new FilenameFilter() { - - public boolean accept(File f, String name) - { - return name.endsWith(".json") || name.endsWith(".xml"); - } - }; - - // TODO: We probably want more intelligent handling in the event - // We're not given a path. It's possible that this will result in a run-time - // error if terminology can not be resolved. - if (this.uri != null) { - Path path = Paths.get(this.uri); - File parent = new File(path.toAbsolutePath().toString()); - - File[] files = parent.listFiles(filter); - - - if (files != null && files.length > 0) { - for (File f : files) { - this.loadAsValueSet(f.getAbsolutePath()); - } - } - } - - this.initialized = true; - } - - private void loadAsValueSet(String path) { - Path filePath = Path.of(path); - try { - String content = new String (Files.readAllBytes(filePath)); - - IParser parser = path.endsWith(".json") ? this.fhirContext.newJsonParser() : this.fhirContext.newXmlParser(); - IBaseResource resource = parser.parseResource(new StringReader(content)); - - String resourceType = ValueSetUtil.getResourceType(this.fhirContext, resource); - - // Skip resources that are not ValueSets; - if (!resourceType.equals("ValueSet")) { - return; - } - - String url = ValueSetUtil.getUrl(fhirContext, resource); - Iterable codes = ValueSetUtil.getCodesInExpansion(this.fhirContext, resource); - - if (codes == null) { - codes = ValueSetUtil.getCodesInCompose(this.fhirContext, resource); - } - - this.valueSetIndex.put(url, codes); - - } - catch (IOException e) { - throw new IllegalArgumentException(String.format("Unable to load resource located at %s.", path)); - } - } -} \ No newline at end of file diff --git a/service/src/main/java/org/opencds/cqf/cql/service/provider/NoOpRetrieveProvider.java b/service/src/main/java/org/opencds/cqf/cql/service/provider/NoOpRetrieveProvider.java deleted file mode 100644 index 309564fe7..000000000 --- a/service/src/main/java/org/opencds/cqf/cql/service/provider/NoOpRetrieveProvider.java +++ /dev/null @@ -1,15 +0,0 @@ -package org.opencds.cqf.cql.service.provider; - -import org.opencds.cqf.cql.retrieve.RetrieveProvider; -import org.opencds.cqf.cql.runtime.Code; -import org.opencds.cqf.cql.runtime.Interval; - -public class NoOpRetrieveProvider implements RetrieveProvider { - - @Override - public Iterable retrieve(String context, String contextPath, Object contextValue, String dataType, - String templateId, String codePath, Iterable codes, String valueSet, String datePath, - String dateLowPath, String dateHighPath, Interval dateRange) { - return null; - } -} \ No newline at end of file diff --git a/service/src/main/java/org/opencds/cqf/cql/service/resolver/DefaultParameterResolver.java b/service/src/main/java/org/opencds/cqf/cql/service/resolver/DefaultParameterResolver.java deleted file mode 100644 index 234a7e180..000000000 --- a/service/src/main/java/org/opencds/cqf/cql/service/resolver/DefaultParameterResolver.java +++ /dev/null @@ -1,28 +0,0 @@ -package org.opencds.cqf.cql.service.resolver; - -import java.util.Map; -import java.util.stream.Collectors; - -import org.cqframework.cql.elm.execution.Library; -import org.cqframework.cql.elm.execution.VersionedIdentifier; - -public class DefaultParameterResolver implements ParameterResolver { - public Map resolvecontextParameters(Map parameters) { - if (parameters == null) { - return null; - } - - return parameters.entrySet().stream().collect(Collectors.toMap(x -> x.getKey(), y -> (Object)y.getValue())); - } - - // The job of this function to to match up input parameter libraries. - // In the future, it'll parse strings according the the type that's defined - // on the library. - // If a parameter has a "null" versioned identifier, it applied to every library. - // If the various libraries have disparate types for the parameter, we should throw - // An exception. - public Map> resolveParameters(Map libraries, - Map> parameters) { - return parameters; - } -} \ No newline at end of file diff --git a/service/src/main/java/org/opencds/cqf/cql/service/resolver/ParameterResolver.java b/service/src/main/java/org/opencds/cqf/cql/service/resolver/ParameterResolver.java deleted file mode 100644 index 9d3158ae3..000000000 --- a/service/src/main/java/org/opencds/cqf/cql/service/resolver/ParameterResolver.java +++ /dev/null @@ -1,11 +0,0 @@ -package org.opencds.cqf.cql.service.resolver; - -import java.util.Map; - -import org.cqframework.cql.elm.execution.Library; -import org.cqframework.cql.elm.execution.VersionedIdentifier; - -public interface ParameterResolver { - Map resolvecontextParameters(Map parameters); - Map> resolveParameters(Map libraries, Map> parameters); -} \ No newline at end of file diff --git a/service/src/main/java/org/opencds/cqf/cql/service/serialization/EvaluationResultsSerializer.java b/service/src/main/java/org/opencds/cqf/cql/service/serialization/EvaluationResultsSerializer.java deleted file mode 100644 index caccc325c..000000000 --- a/service/src/main/java/org/opencds/cqf/cql/service/serialization/EvaluationResultsSerializer.java +++ /dev/null @@ -1,64 +0,0 @@ -package org.opencds.cqf.cql.service.serialization; - -import java.util.Map.Entry; - -import com.google.gson.JsonObject; - -import org.cqframework.cql.elm.execution.VersionedIdentifier; -import org.hl7.fhir.dstu3.model.Bundle; -import org.hl7.fhir.instance.model.api.IBaseResource; -import org.opencds.cqf.cql.execution.LibraryResult; - -import ca.uhn.fhir.context.FhirContext; - -public abstract class EvaluationResultsSerializer { - private static FhirContext fhirContext; - - private Entry expressionEntry; - - // add a deserializer - protected IBaseResource deserializeResult() { - // should return the resource that the json or represents - return new Bundle(); - } - - public void printResults(Boolean verbose, Entry libraryEntry) { - for (Entry expressionEntry : libraryEntry.getValue().expressionResults.entrySet()) { - this.expressionEntry = expressionEntry; - System.out.println(String.format("%s.%s = %s", libraryEntry.getKey().getId(), expressionEntry.getKey(), - serializeResult())); - } - } - - protected String serializeResult() { - return (expressionEntry.getValue() == null) ? null : formatResults(expressionEntry.getValue().toString()); - } - - protected String formatResults(String expressionEntryValue) { - return expressionEntryValue; - } - - protected void performRetrieve(Iterable result, JsonObject results) { - // Perform Retrieve for specific Context - } - - public FhirContext getFhirContext() { - return fhirContext; - } - - public static void setFhirContext(String version) { - switch (version) { - case "2.0.0": - fhirContext = FhirContext.forDstu2_1(); - break; - case "3.0.0": - fhirContext = FhirContext.forDstu3(); - break; - case "4.0.0": - fhirContext = FhirContext.forR4(); - break; - default: - throw new IllegalArgumentException(String.format("Unknown FHIR data provider version: %s", version)); - } - } -} \ No newline at end of file diff --git a/service/src/main/java/org/opencds/cqf/cql/service/util/CodeUtil.java b/service/src/main/java/org/opencds/cqf/cql/service/util/CodeUtil.java deleted file mode 100644 index d8e2c30b8..000000000 --- a/service/src/main/java/org/opencds/cqf/cql/service/util/CodeUtil.java +++ /dev/null @@ -1,126 +0,0 @@ -package org.opencds.cqf.cql.service.util; - -import java.util.ArrayList; -import java.util.List; - -import org.hl7.fhir.instance.model.api.IBase; -import org.hl7.fhir.instance.model.api.IPrimitiveType; -import org.opencds.cqf.cql.runtime.Code; - -import ca.uhn.fhir.context.BaseRuntimeChildDefinition; -import ca.uhn.fhir.context.BaseRuntimeElementDefinition; -import ca.uhn.fhir.context.FhirContext; -import ca.uhn.fhir.context.RuntimeCompositeDatatypeDefinition; -import ca.uhn.fhir.context.BaseRuntimeChildDefinition.IAccessor; - -public class CodeUtil { - - public static List getElmCodesFromObject(Object object, FhirContext fhirContext) { - return tryIterableThenConcept(fhirContext, object); - } - - private static List tryIterableThenConcept(FhirContext fhirContext, Object object) { - List codes = new ArrayList(); - if(object instanceof Iterable) { - for (Object concept : (Iterable)object) { - codes.addAll(tryConceptThenCoding(fhirContext, (IBase)concept)); - } - } - else { - codes.addAll(tryConceptThenCoding(fhirContext, (IBase)object)); - } - return codes; - } - - private static List tryConceptThenCoding(FhirContext fhirContext, IBase object) { - RuntimeCompositeDatatypeDefinition conceptDefinition = (RuntimeCompositeDatatypeDefinition)getElementDefinition(fhirContext, "CodeableConcept"); - List codingObjects = getCodingObjectsFromDefinition(conceptDefinition, object); - if(codingObjects == null) { - return getCodesInCoding(fhirContext, object); - } - //would like to get the coding element definition from the codingObject rather than hardcoding it here - RuntimeCompositeDatatypeDefinition codingDefinition = (RuntimeCompositeDatatypeDefinition)getElementDefinition(fhirContext, "Coding"); - return getCodeChildren(codingDefinition, codingObjects); - } - - private static List getCodesInCoding(FhirContext fhirContext, IBase object) { - //would like to get the coding element definition from the codingObject rather than hardcoding it here - RuntimeCompositeDatatypeDefinition codingDefinition = (RuntimeCompositeDatatypeDefinition)getElementDefinition(fhirContext, "Coding"); - List codingObjects = getCodingObjectsFromDefinition(codingDefinition, object); - if (codingObjects == null) { - return null; - } - return getCodeChildren(codingDefinition, codingObjects); - } - - private static List getCodeChildren(RuntimeCompositeDatatypeDefinition codingDefinition, List codingObjects) { - BaseRuntimeChildDefinition versionDefinition = (BaseRuntimeChildDefinition)codingDefinition.getChildByName("version"); - BaseRuntimeChildDefinition codeDefinition = (BaseRuntimeChildDefinition)codingDefinition.getChildByName("code"); - BaseRuntimeChildDefinition systemDefinition = (BaseRuntimeChildDefinition)codingDefinition.getChildByName("system"); - BaseRuntimeChildDefinition displayDefinition = (BaseRuntimeChildDefinition)codingDefinition.getChildByName("display"); - - return generateCodes(codingObjects, versionDefinition, codeDefinition, systemDefinition, displayDefinition); - } - - private static List generateCodes(List codingObjects, BaseRuntimeChildDefinition versionDefinition, - BaseRuntimeChildDefinition codeDefinition, BaseRuntimeChildDefinition systemDefinition, - BaseRuntimeChildDefinition displayDefinition) { - - List codes = new ArrayList<>(); - for (IBase coding : codingObjects) { - String code = getStringValueFromPrimitiveDefinition(codeDefinition, coding); - String display = getStringValueFromPrimitiveDefinition(displayDefinition, coding); - String system = getStringValueFromPrimitiveDefinition(systemDefinition, coding); - String version = getStringValueFromPrimitiveDefinition(versionDefinition, coding); - codes.add(new Code() - .withSystem(system) - .withCode(code) - .withDisplay(display) - .withVersion(version)); - } - return codes; - } - - private static BaseRuntimeElementDefinition getElementDefinition(FhirContext fhirContext, String ElementName) { - BaseRuntimeElementDefinition def = fhirContext.getElementDefinition(ElementName); - return def; - } - - private static List getCodingObjectsFromDefinition(RuntimeCompositeDatatypeDefinition definition, IBase object) { - BaseRuntimeChildDefinition coding = (BaseRuntimeChildDefinition)definition.getChildByName("coding"); - List codingObject = null; - try { - codingObject = coding.getAccessor().getValues(object); - } catch (Exception e) { - //TODO: handle exception - } - return codingObject; - } - - private static String getStringValueFromPrimitiveDefinition(BaseRuntimeChildDefinition definition, IBase value) { - IAccessor accessor = definition.getAccessor(); - if (value == null || accessor == null) { - return null; - } - - List values = accessor.getValues(value); - if (values == null || values.isEmpty()) { - return null; - } - - if (values.size() > 1) { - throw new IllegalArgumentException("More than one value returned while attempting to access primitive value."); - } - - IBase baseValue = values.get(0); - - if (!(baseValue instanceof IPrimitiveType)) { - throw new IllegalArgumentException("Non-primitive value encountered while trying to access primitive value."); - } - else { - return ((IPrimitiveType)baseValue).getValueAsString(); - } - } - - -} \ No newline at end of file