diff --git a/.github/ISSUE_TEMPLATE/platform-user-story.md b/.github/ISSUE_TEMPLATE/platform-user-story.md index 366e238606a..6ec57ed53dc 100644 --- a/.github/ISSUE_TEMPLATE/platform-user-story.md +++ b/.github/ISSUE_TEMPLATE/platform-user-story.md @@ -21,21 +21,21 @@ so that _[Outcome - what is the value add to the user]_." ### Description/Use Case ### Risks/Impacts/Considerations ### Dev Notes ### Acceptance Criteria @@ -43,12 +43,8 @@ _Use this section to describe any useful technical information to duplicate an i What is Acceptance Criteria? A set of conditions or business rules, as defined by the Product Owner, which the functionality or feature should satisfy, in order to be accepted by the Product Owner. -Use the following template when creating new Acceptance Criteria: +Write the acceptance criteria as a list that can be checked off as work progresses. For example: -"Given _[describe the precondition]_, when I _[describe the action performed]_, then I expect _[describe the expected outcome]_." - -_OR... it may be written as a bulleted list._ - -- _Time must be displayed as HH:MM:SS_ -- _Delivery rate must be shown as a percentage_ +- [ ] _[Time must be displayed as HH:MM:SS]_ +- [ ] _[Delivery rate must be shown as a percentage]_ --> diff --git a/.github/actions/azviz/README.md b/.github/actions/azviz/README.md new file mode 100644 index 00000000000..662bc2ade45 --- /dev/null +++ b/.github/actions/azviz/README.md @@ -0,0 +1,90 @@ +# AzViz (Azure Visualizer) action +Note: This GitHub Action is imported from: https://github.com/josiahsiegel/azviz-action + +## ☕ Please donate to [AzViz Developer](https://github.com/PrateekKumarSingh/AzViz#readme) + +![](https://github.com/PrateekKumarSingh/AzViz/blob/master/img/themeneon.jpg) + +## Synopsis + +[AzViz](https://github.com/PrateekKumarSingh/AzViz) for [GitHub actions](https://github.com/marketplace?type=actions)! + +## Inputs + +### Required + +```yml +inputs: + resource-group: + description: Comma-seperated resource group list + required: true + out-file: + description: Graph export path + required: true + default: output/viz.svg + sub-name: + description: Azure subscription name + required: true + default: Pay-As-You-Go +``` + +### Optional + +```yml + theme: + description: Graph theme (dark, light, neon) + required: false + default: neon + depth: + description: Level of Azure Resource Sub-category to be included in vizualization (1 or 2) + required: false + default: '1' + verbosity: + description: Level of information to included in vizualization (1 or 2) + required: false + default: '1' + format: + description: Graph format (png or svg) + required: false + default: svg + direction: + description: Direction in which resource groups are plotted on the visualization (left-to-right or top-to-bottom) + required: false + default: top-to-bottom + exclude-types: + description: Exclude resources via string search + required: false + default: '*excludethisthing1,excludethisthing2*' + splines: + description: Controls how edges appear in visualization. ('spline', 'polyline', 'curved', 'ortho', 'line') + required: false + default: spline +``` + +## Quick start + +`sample_min_workflow.yml` +```yml +jobs: + generate-viz: + runs-on: ubuntu-latest + steps: + - name: Login to Azure + uses: azure/login@v1 + with: + creds: ${{ secrets.SERVICE_PRINCIPAL_CREDS }} + enable-AzPSSession: true + - uses: CDCgov/prime-reportstream/.github/actions/azviz@663e24299a6336f1ff8dbddadfac1ba5d462f731aaa + with: + resource-group: ${{ github.event.inputs.resource-group }} + out-file: ${{ github.event.inputs.out-file }} + sub-name: ${{ github.event.inputs.sub-name }} + - uses: actions/upload-artifact@v2 + with: + name: viz + path: output/* +``` + +## Dependencies + + * [azure/login](https://github.com/marketplace/actions/azure-login) with `enable-AzPSSession: true` diff --git a/.github/actions/azviz/action.yml b/.github/actions/azviz/action.yml new file mode 100644 index 00000000000..0178f26fcaf --- /dev/null +++ b/.github/actions/azviz/action.yml @@ -0,0 +1,83 @@ +# action.yml +name: 'Generate Azure resource topology diagrams with AzViz (Azure Visualizer)' +description: 'Run AzViz against one or more Azure Resource Groups' +branding: + icon: 'download-cloud' + color: 'blue' +inputs: + resource-group: + description: Comma-seperated resource group list + required: true + out-file: + description: Graph export path + required: true + default: viz.svg + sub-name: + description: Azure subscription name + required: true + default: Pay-As-You-Go + theme: + description: Graph theme (dark, light, neon) + required: false + default: neon + depth: + description: Level of Azure Resource Sub-category to be included in vizualization (1 or 2) + required: false + default: '1' + verbosity: + description: Level of information to included in vizualization (1 or 2) + required: false + default: '1' + format: + description: Graph format (png or svg) + required: true + default: svg + direction: + description: Direction in which resource groups are plotted on the visualization (left-to-right or top-to-bottom) + required: false + default: top-to-bottom + exclude-types: + description: Exclude resources via string search + required: false + default: '*excludethisthing1,excludethisthing2*' + splines: + description: Controls how edges appear in visualization. ('spline', 'polyline', 'curved', 'ortho', 'line') + required: false + default: spline + +runs: + using: "composite" + steps: + - name: Choco install graphviz + if: runner.os == 'Windows' + uses: crazy-max/ghaction-chocolatey@v1 + with: + args: install graphviz + - name: Apt-get install graphviz + if: runner.os != 'Windows' + run: | + sudo apt-get update; + sudo apt-get install graphviz -y; + shell: bash + - name: 'Install AzViz module' + shell: pwsh + run: | + [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; + Install-Module -Name AzViz -AllowClobber -Confirm:$False -Force; + Import-Module AzViz; + - name: Run AzViz + uses: azure/powershell@v1 + with: + azPSVersion: 'latest' + inlineScript: | + ${{ github.action_path }}/viz_run.ps1 ` + -RESOURCE_GROUP '${{ inputs.resource-group }}' ` + -OUT_FILE '${{ inputs.out-file }}' ` + -SUB_NAME '${{ inputs.sub-name }}' ` + -THEME '${{ inputs.theme }}' ` + -DEPTH ${{ inputs.depth }} ` + -VERBOSITY ${{ inputs.verbosity }} ` + -FORMAT '${{ inputs.format }}' ` + -DIRECTION '${{ inputs.direction }}' ` + -EXCLUDE_TYPES '${{ inputs.exclude-types }}' ` + -SPLINES '${{ inputs.splines }}' diff --git a/.github/actions/azviz/viz_run.ps1 b/.github/actions/azviz/viz_run.ps1 new file mode 100644 index 00000000000..87071186628 --- /dev/null +++ b/.github/actions/azviz/viz_run.ps1 @@ -0,0 +1,57 @@ +Param( + [Parameter(Mandatory)] + [String]$RESOURCE_GROUP, + [Parameter(Mandatory)] + [String]$OUT_FILE = 'viz.svg', + [Parameter(Mandatory)] + [String]$SUB_NAME = 'Pay-As-You-Go', + [Parameter(Mandatory)] + [String]$THEME = 'neon', + [Parameter(Mandatory)] + [String]$DEPTH = '1', + [Parameter(Mandatory)] + [String]$VERBOSITY = '1', + [Parameter(Mandatory)] + [String]$FORMAT = 'svg', + [Parameter(Mandatory)] + [String]$DIRECTION = 'top-to-bottom', + [String]$EXCLUDE_TYPES = '*excludethisthing1,excludethisthing2*', + [Parameter(Mandatory)] + [String]$SPLINES = 'spline' +) + +# Create missing directory paths for output +New-Item -ItemType File -Force -Path ${OUT_FILE} + +# Get current Azure context +$currentAzureContext = Get-AzContext; + +# Check If Azure context exists +if ($currentAzureContext.Tenant.TenantId) { + + # Set Azure subscription to match SUB_NAME + Set-AzContext -SubscriptionName ${SUB_NAME}; +}; + +# Run AzViz and export Azure diagram to location OUT_FILE +Export-AzViz ` + -ResourceGroup ${RESOURCE_GROUP}.Split(",") ` + -Theme ${THEME} ` + -OutputFormat ${FORMAT} ` + -CategoryDepth ${DEPTH} ` + -LabelVerbosity ${VERBOSITY} ` + -ExcludeTypes ${EXCLUDE_TYPES}.Split(",") ` + -Splines ${SPLINES} ` + -Direction ${DIRECTION} ` + -OutputFilePath ${OUT_FILE}; + +if (${FORMAT} -eq 'svg') { + + # Move svg embedded png to output directory + ((Get-Content -path ${OUT_FILE} -Raw) -replace '(?<=xlink:href\=").+?(?=icons)','') | Set-Content -Path ${OUT_FILE} + $ICON_PATH=$(Split-Path -Path ${OUT_FILE})+'/icons/' + Write-Host "Moving ${HOME}/*/AzViz/* icons to ${ICON_PATH}" + New-Item -ItemType Directory -Force -Path ${ICON_PATH} + Get-Childitem -Path ${HOME} -Force -recurse -include *.png -ErrorAction SilentlyContinue | Move-Item -dest ${ICON_PATH} -Force + +}; \ No newline at end of file diff --git a/.github/actions/git-secrets/.gitattributes b/.github/actions/git-secrets/.gitattributes new file mode 100644 index 00000000000..107aad84b10 --- /dev/null +++ b/.github/actions/git-secrets/.gitattributes @@ -0,0 +1,10 @@ +# Set the default behavior, in case people don't have core.autocrlf set. +* text=auto + +# Force the bash scripts to be checked out with LF line endings. +git-secrets text eol=lf +git-secrets.1 text eol=lf +test/bats/bin/* text eol=lf +test/bats/libexec/* text eol=lf +*.bats text eol=lf +*.bash text eol=lf \ No newline at end of file diff --git a/.github/actions/git-secrets/.travis.yml b/.github/actions/git-secrets/.travis.yml new file mode 100644 index 00000000000..259379892db --- /dev/null +++ b/.github/actions/git-secrets/.travis.yml @@ -0,0 +1,8 @@ +language: bash + +before_install: +- git config --global user.email "you@example.com" +- git config --global user.name "Your Name" + +script: +- make test diff --git a/.github/actions/git-secrets/CHANGELOG.md b/.github/actions/git-secrets/CHANGELOG.md new file mode 100644 index 00000000000..cfcae4e818c --- /dev/null +++ b/.github/actions/git-secrets/CHANGELOG.md @@ -0,0 +1,49 @@ +# CHANGELOG + +## 1.3.0 - 2019-02-10 + +* Empty provider output is now excluded + (https://github.com/awslabs/git-secrets/issues/34) +* Spaces are now supported in git exec path, making more Windows + paths execute properly. +* Patterns with newlines and carriage returns are now loaded properly. +* Patterns that contain only "\n" are now ignored. +* Various Bash 4 fixes (https://github.com/awslabs/git-secrets/issues/66). +* Make IAM key scanning much more targeted. + +## 1.2.1 - 2016-06-27 + +* Fixed an issue where secret provider commands were causing "command not + found" errors due to a previously set IFS variable. + https://github.com/awslabs/git-secrets/pull/30 + +## 1.2.0 - 2016-05-23 + +* Fixed an issue where spaces files with spaces in their names were not being + properly scanned in the pre-commit hook. +* Now ignoring empty lines and comments (e.g., `#`) in the .gitallowed file. +* Fixed an issue where numbers were being compared to strings causing failures + on some platforms. + +## 1.1.0 - 2016-04-06 + +* Bug fix: the pre-commit hook previously only scanned the working directory + rather than staged files. This release updates the pre-commit hook to instead + scan staged files so that git-secrets will detect violations if the working + directory drifts from the staging directory. +* Added the `--scan-history` subcommand so that you can scan your entire + git history for violations. +* Added the ability to filter false positives by using a .gitallowed file. +* Added support for `--cached`, `--no-index`, and `--untracked` to the `--scan` + subcommand. + +## 1.0.1 - 2016-01-11 + +* Now works correctly with filenames in a repository that contain spaces when + executing `git secrets --scan` with no provided filename (via `git grep`). +* Now works with git repositories with hundreds of thousands of files when + using `git secrets --scan` with no provided filename (via `git grep`). + +## 1.0.0 - 2015-12-10 + +* Initial release of ``git-secrets``. diff --git a/.github/actions/git-secrets/CODE_OF_CONDUCT.md b/.github/actions/git-secrets/CODE_OF_CONDUCT.md new file mode 100644 index 00000000000..3b64466870c --- /dev/null +++ b/.github/actions/git-secrets/CODE_OF_CONDUCT.md @@ -0,0 +1,4 @@ +## Code of Conduct +This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct). +For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact +opensource-codeofconduct@amazon.com with any additional questions or comments. diff --git a/.github/actions/git-secrets/CONTRIBUTING.md b/.github/actions/git-secrets/CONTRIBUTING.md new file mode 100644 index 00000000000..de6d3d38075 --- /dev/null +++ b/.github/actions/git-secrets/CONTRIBUTING.md @@ -0,0 +1,61 @@ +# Contributing Guidelines + +Thank you for your interest in contributing to our project. Whether it's a bug report, new feature, correction, or additional +documentation, we greatly value feedback and contributions from our community. + +Please read through this document before submitting any issues or pull requests to ensure we have all the necessary +information to effectively respond to your bug report or contribution. + + +## Reporting Bugs/Feature Requests + +We welcome you to use the GitHub issue tracker to report bugs or suggest features. + +When filing an issue, please check [existing open](https://github.com/awslabs/git-secrets/issues), or [recently closed](https://github.com/awslabs/git-secrets/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aclosed%20), issues to make sure somebody else hasn't already +reported the issue. Please try to include as much information as you can. Details like these are incredibly useful: + +* A reproducible test case or series of steps +* The version of our code being used +* Any modifications you've made relevant to the bug +* Anything unusual about your environment or deployment + + +## Contributing via Pull Requests +Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that: + +1. You are working against the latest source on the *master* branch. +2. You check existing open, and recently merged, pull requests to make sure someone else hasn't addressed the problem already. +3. You open an issue to discuss any significant work - we would hate for your time to be wasted. + +To send us a pull request, please: + +1. Fork the repository. +2. Modify the source; please focus on the specific change you are contributing. If you also reformat all the code, it will be hard for us to focus on your change. +3. Ensure local tests pass. +4. Commit to your fork using clear commit messages. +5. Send us a pull request, answering any default questions in the pull request interface. +6. Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation. + +GitHub provides additional document on [forking a repository](https://help.github.com/articles/fork-a-repo/) and +[creating a pull request](https://help.github.com/articles/creating-a-pull-request/). + + +## Finding contributions to work on +Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels ((enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any ['help wanted'](https://github.com/awslabs/git-secrets/labels/help%20wanted) issues is a great place to start. + + +## Code of Conduct +This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct). +For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact +opensource-codeofconduct@amazon.com with any additional questions or comments. + + +## Security issue notifications +If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/). Please do **not** create a public github issue. + + +## Licensing + +See the [LICENSE](https://github.com/awslabs/git-secrets/blob/master/LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution. + +We may ask you to sign a [Contributor License Agreement (CLA)](http://en.wikipedia.org/wiki/Contributor_License_Agreement) for larger changes. diff --git a/.github/actions/git-secrets/LICENSE.txt b/.github/actions/git-secrets/LICENSE.txt new file mode 100644 index 00000000000..de96b9473c9 --- /dev/null +++ b/.github/actions/git-secrets/LICENSE.txt @@ -0,0 +1,208 @@ + + 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. + +Note: Other license terms may apply to certain, identified software files +contained within or distributed with the accompanying software if such terms +are included in the directory containing the accompanying software. Such other +license terms will then apply in lieu of the terms of the software license +above. diff --git a/.github/actions/git-secrets/Makefile b/.github/actions/git-secrets/Makefile new file mode 100644 index 00000000000..a67eee2dd23 --- /dev/null +++ b/.github/actions/git-secrets/Makefile @@ -0,0 +1,25 @@ +PREFIX ?= /usr/local +MANPREFIX ?= "${PREFIX}/share/man/man1" + +help: + @echo "Please use \`make ' where is one of" + @echo " test to perform unit tests." + @echo " man to build the man file from README.rst" + @echo " install to install. Use PREFIX and MANPREFIX to customize." + +# We use bats for testing: https://github.com/sstephenson/bats +test: + LANG=C test/bats/bin/bats test/ + +# The man page is completely derived from README.rst. Edits to +# README.rst require a rebuild of the man page. +man: + rst2man.py README.rst > git-secrets.1 + +install: + @mkdir -p ${DESTDIR}${MANPREFIX} + @mkdir -p ${DESTDIR}${PREFIX}/bin + @cp -f git-secrets ${DESTDIR}${PREFIX}/bin + @cp -f git-secrets.1 ${DESTDIR}${MANPREFIX} + +.PHONY: help test man diff --git a/.github/actions/git-secrets/NOTICE.txt b/.github/actions/git-secrets/NOTICE.txt new file mode 100644 index 00000000000..a5e5da9ba01 --- /dev/null +++ b/.github/actions/git-secrets/NOTICE.txt @@ -0,0 +1,6 @@ +git-secrets +Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. + +bats +This product bundles bats, which is available under a "MIT" license. +For details, see test/bats. diff --git a/.github/actions/git-secrets/README.rst b/.github/actions/git-secrets/README.rst new file mode 100644 index 00000000000..20a3fa5feb2 --- /dev/null +++ b/.github/actions/git-secrets/README.rst @@ -0,0 +1,543 @@ +=========== +git-secrets +=========== + +------------------------------------------------------------------------------------------- +Prevents you from committing passwords and other sensitive information to a git repository. +------------------------------------------------------------------------------------------- + +.. contents:: :depth: 2 + +Synopsis +-------- + +:: + + git secrets --scan [-r|--recursive] [--cached] [--no-index] [--untracked] [...] + git secrets --scan-history + git secrets --install [-f|--force] [] + git secrets --list [--global] + git secrets --add [-a|--allowed] [-l|--literal] [--global] + git secrets --add-provider [--global] [arguments...] + git secrets --register-aws [--global] + git secrets --aws-provider [] + + +Description +----------- + +``git-secrets`` scans commits, commit messages, and ``--no-ff`` merges to +prevent adding secrets into your git repositories. If a commit, +commit message, or any commit in a ``--no-ff`` merge history matches one of +your configured prohibited regular expression patterns, then the commit is +rejected. + + +Installing git-secrets +---------------------- + +``git-secrets`` must be placed somewhere in your PATH so that it is picked up +by ``git`` when running ``git secrets``. + +\*nix (Linux/macOS) +~~~~~~~~~~~~~~~~~ + +You can use the ``install`` target of the provided Makefile to install ``git secrets`` and the man page. +You can customize the install path using the PREFIX and MANPREFIX variables. + +:: + + make install + +Windows +~~~~~~~ + +Run the provided ``install.ps1`` powershell script. This will copy the needed files +to an installation directory (``%USERPROFILE%/.git-secrets`` by default) and add +the directory to the current user ``PATH``. + +:: + + PS > ./install.ps1 + +Homebrew (for macOS users) +~~~~~~~~~~~~~~~~~~~~~~~~~~ + +:: + + brew install git-secrets + +.. warning:: + + You're not done yet! You MUST install the git hooks for every repo that + you wish to use with ``git secrets --install``. + +Here's a quick example of how to ensure a git repository is scanned for secrets +on each commit:: + + cd /path/to/my/repo + git secrets --install + git secrets --register-aws + + +Advanced configuration +---------------------- + +Add a configuration template if you want to add hooks to all repositories you +initialize or clone in the future. + +:: + + git secrets --register-aws --global + + +Add hooks to all your local repositories. + +:: + + git secrets --install ~/.git-templates/git-secrets + git config --global init.templateDir ~/.git-templates/git-secrets + + +Add custom providers to scan for security credentials. + +:: + + git secrets --add-provider -- cat /path/to/secret/file/patterns + + +Before making public a repository +--------------------------------- + +With git-secrets is also possible to scan a repository including all revisions: + +:: + + git secrets --scan-history + + +Options +------- + +Operation Modes +~~~~~~~~~~~~~~~ + +Each of these options must appear first on the command line. + +``--install`` + Installs git hooks for a repository. Once the hooks are installed for a git + repository, commits and non-fast-forward merges for that repository will be prevented + from committing secrets. + +``--scan`` + Scans one or more files for secrets. When a file contains a secret, the + matched text from the file being scanned will be written to stdout and the + script will exit with a non-zero status. Each matched line will be written with + the name of the file that matched, a colon, the line number that matched, + a colon, and then the line of text that matched. If no files are provided, + all files returned by ``git ls-files`` are scanned. + +``--scan-history`` + Scans repository including all revisions. When a file contains a secret, the + matched text from the file being scanned will be written to stdout and the + script will exit with a non-zero status. Each matched line will be written with + the name of the file that matched, a colon, the line number that matched, + a colon, and then the line of text that matched. + +``--list`` + Lists the ``git-secrets`` configuration for the current repo or in the global + git config. + +``--add`` + Adds a prohibited or allowed pattern. + +``--add-provider`` + Registers a secret provider. Secret providers are executables that when + invoked output prohibited patterns that ``git-secrets`` should treat as + prohibited. + +``--register-aws`` + Adds common AWS patterns to the git config and ensures that keys present + in ``~/.aws/credentials`` are not found in any commit. The following + checks are added: + + - AWS Access Key IDs via ``(A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}`` + - AWS Secret Access Key assignments via ":" or "=" surrounded by optional + quotes + - AWS account ID assignments via ":" or "=" surrounded by optional quotes + - Allowed patterns for example AWS keys (``AKIAIOSFODNN7EXAMPLE`` and + ``wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY``) + - Known credentials from ``~/.aws/credentials`` + + .. note:: + + While the patterns registered by this command should catch most + instances of AWS credentials, these patterns are **not** guaranteed to + catch them **all**. ``git-secrets`` should be used as an extra means of + insurance -- you still need to do your due diligence to ensure that you + do not commit credentials to a repository. + +``--aws-provider`` + Secret provider that outputs credentials found in an INI file. You can + optionally provide the path to an INI file. + + +Options for ``--install`` +~~~~~~~~~~~~~~~~~~~~~~~~~ + +``-f, --force`` + Overwrites existing hooks if present. + +```` + When provided, installs git hooks to the given directory. The current + directory is assumed if ```` is not provided. + + If the provided ```` is not in a git repository, the + directory will be created and hooks will be placed in + ``/hooks``. This can be useful for creating git template + directories using with ``git init --template ``. + + You can run ``git init`` on a repository that has already been initialized. + From the `git init documentation `_: + + From the git documentation: Running ``git init`` in an existing repository + is safe. It will not overwrite things that are already there. The + primary reason for rerunning ``git init`` is to pick up newly added + templates (or to move the repository to another place if + ``--separate-git-dir`` is given). + + The following git hooks are installed: + + 1. ``pre-commit``: Used to check if any of the files changed in the commit + use prohibited patterns. + 2. ``commit-msg``: Used to determine if a commit message contains a + prohibited patterns. + 3. ``prepare-commit-msg``: Used to determine if a merge commit will + introduce a history that contains a prohibited pattern at any point. + Please note that this hook is only invoked for non fast-forward merges. + + .. note:: + + Git only allows a single script to be executed per hook. If the + repository contains Debian-style subdirectories like ``pre-commit.d`` + and ``commit-msg.d``, then the git hooks will be installed into these + directories, which assumes that you've configured the corresponding + hooks to execute all of the scripts found in these directories. If + these git subdirectories are not present, then the git hooks will be + installed to the git repo's ``.git/hooks`` directory. + + +Examples +^^^^^^^^ + +Install git hooks to the current directory:: + + cd /path/to/my/repository + git secrets --install + +Install git hooks to a repository other than the current directory:: + + git secrets --install /path/to/my/repository + +Create a git template that has ``git-secrets`` installed, and then copy that +template into a git repository:: + + git secrets --install ~/.git-templates/git-secrets + git init --template ~/.git-templates/git-secrets + +Overwrite existing hooks if present:: + + git secrets --install -f + + +Options for ``--scan`` +~~~~~~~~~~~~~~~~~~~~~~ + +``-r, --recursive`` + Scans the given files recursively. If a directory is encountered, the + directory will be scanned. If ``-r`` is not provided, directories will be + ignored. + + ``-r`` cannot be used alongside ``--cached``, ``--no-index``, or + ``--untracked``. + +``--cached`` + Searches blobs registered in the index file. + +``--no-index`` + Searches files in the current directory that is not managed by git. + +``--untracked`` + In addition to searching in the tracked files in the working tree, + ``--scan`` also in untracked files. + +``...`` + The path to one or more files on disk to scan for secrets. + + If no files are provided, all files returned by ``git ls-files`` are + scanned. + + +Examples +^^^^^^^^ + +Scan all files in the repo:: + + git secrets --scan + +Scans a single file for secrets:: + + git secrets --scan /path/to/file + +Scans a directory recursively for secrets:: + + git secrets --scan -r /path/to/directory + +Scans multiple files for secrets:: + + git secrets --scan /path/to/file /path/to/other/file + +You can scan by globbing:: + + git secrets --scan /path/to/directory/* + +Scan from stdin:: + + echo 'hello!' | git secrets --scan - + + +Options for ``--list`` +~~~~~~~~~~~~~~~~~~~~~~ + +``--global`` + Lists only git-secrets configuration in the global git config. + + +Options for ``--add`` +~~~~~~~~~~~~~~~~~~~~~ + +``--global`` + Adds patterns to the global git config + +``-l, --literal`` + Escapes special regular expression characters in the provided pattern so + that the pattern is searched for literally. + +``-a, --allowed`` + Mark the pattern as allowed instead of prohibited. Allowed patterns are + used to filter our false positives. + +```` + The regex pattern to search. + + +Examples +^^^^^^^^ + +Adds a prohibited pattern to the current repo:: + + git secrets --add '[A-Z0-9]{20}' + +Adds a prohibited pattern to the global git config:: + + git secrets --add --global '[A-Z0-9]{20}' + +Adds a string that is scanned for literally (``+`` is escaped):: + + git secrets --add --literal 'foo+bar' + +Add an allowed pattern:: + + git secrets --add -a 'allowed pattern' + + +Options for ``--register-aws`` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +``--global`` + Adds AWS specific configuration variables to the global git config. + + +Options for ``--aws-provider`` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +``[]`` + If provided, specifies the custom path to an INI file to scan. If not + provided, ``~/.aws/credentials`` is assumed. + + +Options for ``--add-provider`` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +``--global`` + Adds the provider to the global git config. + +```` + Provider command to invoke. When invoked the command is expected to write + prohibited patterns separated by new lines to stdout. Any extra arguments + provided are passed on to the command. + + +Examples +^^^^^^^^ + +Registers a secret provider with arguments:: + + git secrets --add-provider -- git secrets --aws-provider + +Cats secrets out of a file:: + + git secrets --add-provider -- cat /path/to/secret/file/patterns + + +Defining prohibited patterns +---------------------------- + +``egrep``-compatible regular expressions are used to determine if a commit or +commit message contains any prohibited patterns. These regular expressions are +defined using the ``git config`` command. It is important to note that +different systems use different versions of egrep. For example, when running on +macOS, you will use a different version of ``egrep`` than when running on something +like Ubuntu (BSD vs GNU). + +You can add prohibited regular expression patterns to your git config using +``git secrets --add ``. + + +Ignoring false positives +------------------------ + +Sometimes a regular expression might match false positives. For example, git +commit SHAs look a lot like AWS access keys. You can specify many different +regular expression patterns as false positives using the following command: + +:: + + git secrets --add --allowed 'my regex pattern' + +You can also add regular expressions patterns to filter false positives to a +``.gitallowed`` file located in the repository's root directory. Lines starting +with ``#`` are skipped (comment line) and empty lines are also skipped. + +First, git-secrets will extract all lines from a file that contain a prohibited +match. Included in the matched results will be the full path to the name of +the file that was matched, followed by ':', followed by the line number that was +matched, followed by the entire line from the file that was matched by a secret +pattern. Then, if you've defined allowed regular expressions, git-secrets will +check to see if all of the matched lines match at least one of your registered +allowed regular expressions. If all of the lines that were flagged as secret +are canceled out by an allowed match, then the subject text does not contain +any secrets. If any of the matched lines are not matched by an allowed regular +expression, then git-secrets will fail the commit/merge/message. + +.. important:: + + Just as it is a bad practice to add prohibited patterns that are too + greedy, it is also a bad practice to add allowed patterns that are too + forgiving. Be sure to test out your patterns using ad-hoc calls to + ``git secrets --scan $filename`` to ensure they are working as intended. + + +Secret providers +---------------- + +Sometimes you want to check for an exact pattern match against a set of known +secrets. For example, you might want to ensure that no credentials present in +``~/.aws/credentials`` ever show up in a commit. In these cases, it's better to +leave these secrets in one location rather than spread them out across git +repositories in git configs. You can use "secret providers" to fetch these +types of credentials. A secret provider is an executable that when invoked +outputs prohibited patterns separated by new lines. + +You can add secret providers using the ``--add-provider`` command:: + + git secrets --add-provider -- git secrets --aws-provider + +Notice the use of ``--``. This ensures that any arguments associated with the +provider are passed to the provider each time it is invoked when scanning +for secrets. + + +Example walkthrough +------------------- + +Let's take a look at an example. Given the following subject text (stored in +``/tmp/example``):: + + This is a test! + password=ex@mplepassword + password=****** + More test... + +And the following registered patterns: + +:: + + git secrets --add 'password\s*=\s*.+' + git secrets --add --allowed --literal 'ex@mplepassword' + +Running ``git secrets --scan /tmp/example``, the result will +result in the following error output:: + + /tmp/example:3:password=****** + + [ERROR] Matched prohibited pattern + + Possible mitigations: + - Mark false positives as allowed using: git config --add secrets.allowed ... + - List your configured patterns: git config --get-all secrets.patterns + - List your configured allowed patterns: git config --get-all secrets.allowed + - Use --no-verify if this is a one-time false positive + +Breaking this down, the prohibited pattern value of ``password\s*=\s*.+`` will +match the following lines:: + + /tmp/example:2:password=ex@mplepassword + /tmp/example:3:password=****** + +...But the first match will be filtered out due to the fact that it matches the +allowed regular expression of ``ex@mplepassword``. Because there is still a +remaining line that did not match, it is considered a secret. + +Because that matching lines are placed on lines that start with the filename +and line number (e.g., ``/tmp/example:3:...``), you can create allowed +patterns that take filenames and line numbers into account in the regular +expression. For example, you could whitelist an entire file using something +like:: + + git secrets --add --allowed '/tmp/example:.*' + git secrets --scan /tmp/example && echo $? + # Outputs: 0 + +Alternatively, you could allow a specific line number of a file if that +line is unlikely to change using something like the following: + +:: + + git secrets --add --allowed '/tmp/example:3:.*' + git secrets --scan /tmp/example && echo $? + # Outputs: 0 + +Keep this in mind when creating allowed patterns to ensure that your allowed +patterns are not inadvertently matched due to the fact that the filename is +included in the subject text that allowed patterns are matched against. + + +Skipping validation +------------------- + +Use the ``--no-verify`` option in the event of a false positive match in a +commit, merge, or commit message. This will skip the execution of the +git hook and allow you to make the commit or merge. + + +About +------ + +- Author: `Michael Dowling `_ +- Issue tracker: This project's source code and issue tracker can be found at + `https://github.com/awslabs/git-secrets `_ +- Special thanks to Adrian Vatchinsky and Ari Juels of Cornell University for + providing suggestions and feedback. + +Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. diff --git a/.github/actions/git-secrets/git-secrets b/.github/actions/git-secrets/git-secrets new file mode 100755 index 00000000000..11be1537e74 --- /dev/null +++ b/.github/actions/git-secrets/git-secrets @@ -0,0 +1,357 @@ +#!/usr/bin/env bash +# Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"). +# You may not use this file except in compliance with the License. +# A copy of the License is located at +# +# http://aws.amazon.com/apache2.0 +# +# or in the "license" file accompanying this file. This file 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. + +NONGIT_OK=1 OPTIONS_SPEC="\ +git secrets --scan [-r|--recursive] [--cached] [--no-index] [--untracked] [...] +git secrets --scan-history +git secrets --install [-f|--force] [] +git secrets --list [--global] +git secrets --add [-a|--allowed] [-l|--literal] [--global] +git secrets --add-provider [--global] [arguments...] +git secrets --register-aws [--global] +git secrets --aws-provider [] +-- +scan Scans for prohibited patterns +scan-history Scans repo for prohibited patterns +install Installs git hooks for Git repository or Git template directory +list Lists secret patterns +add Adds a prohibited or allowed pattern, ensuring to de-dupe with existing patterns +add-provider Adds a secret provider that when called outputs secret patterns on new lines +aws-provider Secret provider that outputs credentials found in an ini file +register-aws Adds common AWS patterns to the git config and scans for ~/.aws/credentials +r,recursive --scan scans directories recursively +cached --scan scans searches blobs registered in the index file +no-index --scan searches files in the current directory that is not managed by Git +untracked In addition to searching in the tracked files in the working tree, --scan also in untracked files +f,force --install overwrites hooks if the hook already exists +l,literal --add and --add-allowed patterns are escaped so that they are literal +a,allowed --add adds an allowed pattern instead of a prohibited pattern +global Uses the --global git config +commit_msg_hook* commit-msg hook (internal only) +pre_commit_hook* pre-commit hook (internal only) +prepare_commit_msg_hook* prepare-commit-msg hook (internal only)" + +# Include the git setup script. This parses and normalized CLI arguments. +. "$(git --exec-path)"/git-sh-setup + +load_patterns() { + git config --get-all secrets.patterns + # Execute each provider and use their output to build up patterns + git config --get-all secrets.providers | while read -r cmd; do + # Only split words on '\n\t ' and strip "\r" from the output to account + # for carriage returns being added on Windows systems. Note that this + # trimming is done before the test to ensure that the string is not empty. + local result="$(export IFS=$'\n\t '; $cmd | tr -d $'\r')" + # Do not add empty lines from providers as that would match everything. + if [ -n "${result}" ]; then + echo "${result}" + fi + done +} + +load_allowed() { + git config --get-all secrets.allowed + local gitallowed="$(git rev-parse --show-toplevel)/.gitallowed" + if [ -e "$gitallowed" ]; then + cat $gitallowed | awk 'NF && $1!~/^#/' + fi +} + +# load patterns and combine them with | +load_combined_patterns() { + local patterns=$(load_patterns) + local combined_patterns='' + for pattern in $patterns; do + combined_patterns=${combined_patterns}${pattern}"|" + done + combined_patterns=${combined_patterns%?} + echo $combined_patterns +} + +# Scans files or a repo using patterns. +scan() { + local files=("${@}") options="" + [ "${SCAN_CACHED}" == 1 ] && options+="--cached" + [ "${SCAN_UNTRACKED}" == 1 ] && options+=" --untracked" + [ "${SCAN_NO_INDEX}" == 1 ] && options+=" --no-index" + # Scan using git-grep if there are no files or if git options are applied. + if [ ${#files[@]} -eq 0 ] || [ ! -z "${options}" ]; then + output=$(git_grep $options "${files[@]}") + else + output=$(regular_grep "${files[@]}") + fi + process_output $? "${output}" +} + +# Scans through history using patterns +scan_history() { + # git log does not support multiple patterns, so we need to combine them + local combined_patterns=$(load_combined_patterns) + [ -z "${combined_patterns}" ] && return 0 + # Looks for differences matching the patterns, reduces the number of revisions to scan + local to_scan=$(git log --all -G"${combined_patterns}" --pretty=%H) + # Scan through revisions with findings to normalize output + output=$(GREP_OPTIONS= LC_ALL=C git grep -nwHEI "${combined_patterns}" $to_scan) + process_output $? "${output}" +} + +# Performs a git-grep, taking into account patterns and options. +# Note: this function returns 1 on success, 0 on error. +git_grep() { + local options="$1"; shift + local files=("${@}") combined_patterns=$(load_combined_patterns) + + [ -z "${combined_patterns}" ] && return 1 + GREP_OPTIONS= LC_ALL=C git grep -nwHEI ${options} "${combined_patterns}" -- "${files[@]}" +} + +# Performs a regular grep, taking into account patterns and recursion. +# Note: this function returns 1 on success, 0 on error. +regular_grep() { + local files=("${@}") patterns=$(load_patterns) action='skip' + [ -z "${patterns}" ] && return 1 + [ ${RECURSIVE} -eq 1 ] && action="recurse" + GREP_OPTIONS= LC_ALL=C grep -d "${action}" -nwHEI "${patterns}" "${files[@]}" +} + +# Process the given status ($1) and output variables ($2). +# Takes into account allowed patterns, and if a bad match is found, +# prints an error message and exits 1. +process_output() { + local status="$1" output="$2" + local allowed=$(load_allowed) + case "$status" in + 0) + [ -z "${allowed}" ] && echo "${output}" >&2 && return 1 + # Determine with a negative grep if the found matches are allowed + echo "${output}" | GREP_OPTIONS= LC_ALL=C grep -Ev "${allowed}" >&2 \ + && return 1 || return 0 + ;; + 1) return 0 ;; + *) exit $status + esac +} + +# Calls the given scanning function at $1, shifts, and passes to it $@. +# Exit 0 if success, otherwise exit 1 with error message. +scan_with_fn_or_die() { + local fn="$1"; shift + $fn "$@" && exit 0 + echo >&2 + echo "[ERROR] Matched one or more prohibited patterns" >&2 + echo >&2 + echo "Possible mitigations:" >&2 + echo "- Mark false positives as allowed using: git config --add secrets.allowed ..." >&2 + echo "- Mark false positives as allowed by adding regular expressions to .gitallowed at repository's root directory" >&2 + echo "- List your configured patterns: git config --get-all secrets.patterns" >&2 + echo "- List your configured allowed patterns: git config --get-all secrets.allowed" >&2 + echo "- List your configured allowed patterns in .gitallowed at repository's root directory" >&2 + echo "- Use --no-verify if this is a one-time false positive" >&2 + exit 1 +} + +# Scans a commit message, passed in the path to a file. +commit_msg_hook() { + scan_with_fn_or_die "scan" "$1" +} + +# Scans all files that are about to be committed. +pre_commit_hook() { + SCAN_CACHED=1 + local files=() file found_match=0 rev="4b825dc642cb6eb9a060e54bf8d69288fbee4904" + # Diff against HEAD if this is not the first commit in the repo. + git rev-parse --verify HEAD >/dev/null 2>&1 && rev="HEAD" + # Filter out deleted files using --diff-filter + while IFS= read -r file; do + [ -n "$file" ] && files+=("$file") + done <<< "$(git diff-index --diff-filter 'ACMU' --name-only --cached $rev --)" + scan_with_fn_or_die "scan" "${files[@]}" +} + +# Determines if merging in a commit will introduce tainted history. +prepare_commit_msg_hook() { + case "$2,$3" in + merge,) + local git_head=$(env | grep GITHEAD) # e.g. GITHEAD_=release/1.43 + local sha="${git_head##*=}" # Get just the SHA + local branch=$(git symbolic-ref HEAD) # e.g. refs/heads/master + local dest="${branch#refs/heads/}" # cut out "refs/heads" + git log "${dest}".."${sha}" -p | scan_with_fn_or_die "scan" - + ;; + esac +} + +install_hook() { + local path="$1" hook="$2" cmd="$3" dest + # Determines the approriate path for a hook to be installed + if [ -d "${path}/hooks/${hook}.d" ]; then + dest="${path}/hooks/${hook}.d/git-secrets" + else + dest="${path}/hooks/${hook}" + fi + [ -f "${dest}" ] && [ "${FORCE}" -ne 1 ] \ + && die "${dest} already exists. Use -f to force" + echo "#!/usr/bin/env bash" > "${dest}" + echo "git secrets --${cmd} -- \"\$@\"" >> "${dest}" + chmod +x "${dest}" + say "$(tput setaf 2)✓$(tput sgr 0) Installed ${hook} hook to ${dest}" +} + +install_all_hooks() { + install_hook "$1" "commit-msg" "commit_msg_hook" + install_hook "$1" "pre-commit" "pre_commit_hook" + install_hook "$1" "prepare-commit-msg" "prepare_commit_msg_hook" +} + +# Adds a git config pattern, ensuring to de-dupe +add_config() { + local key="$1"; shift + local value="$@" + if [ ${LITERAL} -eq 1 ]; then + value=$(sed 's/[\.|$(){}?+*^]/\\&/g' <<< "${value}") + fi + if [ ${GLOBAL} -eq 1 ]; then + git config --global --get-all $key | grep -Fq "${value}" && return 1 + git config --global --add "${key}" "${value}" + else + git config --get-all $key | grep -Fq "${value}" && return 1 + git config --add "${key}" "${value}" + fi +} + +register_aws() { + # Reusable regex patterns + local aws="(AWS|aws|Aws)?_?" quote="(\"|')" connect="\s*(:|=>|=)\s*" + local opt_quote="${quote}?" + add_config 'secrets.providers' 'git secrets --aws-provider' + add_config 'secrets.patterns' '(A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}' + add_config 'secrets.patterns' "${opt_quote}${aws}(SECRET|secret|Secret)?_?(ACCESS|access|Access)?_?(KEY|key|Key)${opt_quote}${connect}${opt_quote}[A-Za-z0-9/\+=]{40}${opt_quote}" + add_config 'secrets.patterns' "${opt_quote}${aws}(ACCOUNT|account|Account)_?(ID|id|Id)?${opt_quote}${connect}${opt_quote}[0-9]{4}\-?[0-9]{4}\-?[0-9]{4}${opt_quote}" + add_config 'secrets.allowed' 'AKIAIOSFODNN7EXAMPLE' + add_config 'secrets.allowed' "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY" + + if [[ $? == 0 ]]; then + echo 'OK' + fi + + exit $? +} + +aws_provider() { + local fi="$1" + [ -z "$fi" ] && fi=~/.aws/credentials + # Find keys and ensure that special characters are escaped. + if [ -f $fi ]; then + awk -F "=" '/aws_access_key_id|aws_secret_access_key/ {print $2}' $fi \ + | tr -d ' "' \ + | sed 's/[]\.|$(){}?+*^]/\\&/g' + fi +} + +# Ensures that the command is what was expected for an option. +assert_option_for_command() { + local expected_command="$1" + local option_name="$2" + if [ "${COMMAND}" != "${expected_command}" ]; then + die "${option_name} can only be supplied with the ${expected_command} subcommand" + fi +} + +declare COMMAND="$1" FORCE=0 RECURSIVE=0 LITERAL=0 GLOBAL=0 ALLOWED=0 +declare SCAN_CACHED=0 SCAN_NO_INDEX=0 SCAN_UNTRACKED=0 + +# Shift off the command name +shift 1 +while [ "$#" -ne 0 ]; do + case "$1" in + -f) + assert_option_for_command "--install" "-f|--force" + FORCE=1 + ;; + -r) + assert_option_for_command "--scan" "-r|--recursive" + RECURSIVE=1 + ;; + -a) + assert_option_for_command "--add" "-a|--allowed" + ALLOWED=1 + ;; + -l) + assert_option_for_command "--add" "-l|--literal" + LITERAL=1 + ;; + --cached) + assert_option_for_command "--scan" "--cached" + SCAN_CACHED=1 + ;; + --no-index) + assert_option_for_command "--scan" "--no-index" + SCAN_NO_INDEX=1 + ;; + --untracked) + assert_option_for_command "--scan" "--untracked" + SCAN_UNTRACKED=1 + ;; + --global) GLOBAL=1 ;; + --) shift; break ;; + esac + shift +done + +# Ensure that recursive is not applied with mutually exclusive options. +if [ ${RECURSIVE} -eq 1 ]; then + if [ ${SCAN_CACHED} -eq 1 ] \ + || [ ${SCAN_NO_INDEX} -eq 1 ] \ + || [ ${SCAN_UNTRACKED} -eq 1 ]; + then + die "-r|--recursive cannot be supplied with --cached, --no-index, or --untracked" + fi +fi + +case "${COMMAND}" in + -h|--help|--) "$0" -h; exit 0 ;; + --add-provider) add_config "secrets.providers" "$@" ;; + --register-aws) register_aws ;; + --aws-provider) aws_provider "$1" ;; + --commit_msg_hook|--pre_commit_hook|--prepare_commit_msg_hook) + ${COMMAND:2} "$@" + ;; + --add) + if [ ${ALLOWED} -eq 1 ]; then + add_config "secrets.allowed" "$1" + else + add_config "secrets.patterns" "$1" + fi + ;; + --scan) scan_with_fn_or_die "scan" "$@" ;; + --scan-history) scan_with_fn_or_die "scan_history" "$@" ;; + --list) + if [ ${GLOBAL} -eq 1 ]; then + git config --global --get-regex secrets.* + else + git config --get-regex secrets.* + fi + ;; + --install) + DIRECTORY="$1" + if [ -z "${DIRECTORY}" ]; then + DIRECTORY=$(git rev-parse --git-dir) || die "Not in a Git repository" + elif [ -d "${DIRECTORY}"/.git ]; then + DIRECTORY="${DIRECTORY}/.git" + fi + mkdir -p "${DIRECTORY}/hooks" || die "Could not create dir: ${DIRECTORY}" + install_all_hooks "${DIRECTORY}" + ;; + *) echo "Unknown option: ${COMMAND}" && "$0" -h ;; +esac diff --git a/.github/actions/git-secrets/git-secrets.1 b/.github/actions/git-secrets/git-secrets.1 new file mode 100644 index 00000000000..1c6d25c3413 --- /dev/null +++ b/.github/actions/git-secrets/git-secrets.1 @@ -0,0 +1,843 @@ +.\" Man page generated from reStructuredText. +. +.TH GIT-SECRETS "" "" "" +.SH NAME +git-secrets \- Prevents you from committing passwords and other sensitive information to a git repository. +. +.nr rst2man-indent-level 0 +. +.de1 rstReportMargin +\\$1 \\n[an-margin] +level \\n[rst2man-indent-level] +level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] +- +\\n[rst2man-indent0] +\\n[rst2man-indent1] +\\n[rst2man-indent2] +.. +.de1 INDENT +.\" .rstReportMargin pre: +. RS \\$1 +. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] +. nr rst2man-indent-level +1 +.\" .rstReportMargin post: +.. +.de UNINDENT +. RE +.\" indent \\n[an-margin] +.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] +.nr rst2man-indent-level -1 +.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] +.in \\n[rst2man-indent\\n[rst2man-indent-level]]u +.. +.SS Contents +.INDENT 0.0 +.IP \(bu 2 +\fI\%Synopsis\fP +.IP \(bu 2 +\fI\%Description\fP +.IP \(bu 2 +\fI\%Installing git\-secrets\fP +.INDENT 2.0 +.IP \(bu 2 +\fI\%*nix (Linux/macOS)\fP +.IP \(bu 2 +\fI\%Windows\fP +.IP \(bu 2 +\fI\%Homebrew (for macOS users)\fP +.UNINDENT +.IP \(bu 2 +\fI\%Advanced configuration\fP +.IP \(bu 2 +\fI\%Before making public a repository\fP +.IP \(bu 2 +\fI\%Options\fP +.INDENT 2.0 +.IP \(bu 2 +\fI\%Operation Modes\fP +.IP \(bu 2 +\fI\%Options for \fB\-\-install\fP\fP +.IP \(bu 2 +\fI\%Options for \fB\-\-scan\fP\fP +.IP \(bu 2 +\fI\%Options for \fB\-\-list\fP\fP +.IP \(bu 2 +\fI\%Options for \fB\-\-add\fP\fP +.IP \(bu 2 +\fI\%Options for \fB\-\-register\-aws\fP\fP +.IP \(bu 2 +\fI\%Options for \fB\-\-aws\-provider\fP\fP +.IP \(bu 2 +\fI\%Options for \fB\-\-add\-provider\fP\fP +.UNINDENT +.IP \(bu 2 +\fI\%Defining prohibited patterns\fP +.IP \(bu 2 +\fI\%Ignoring false positives\fP +.IP \(bu 2 +\fI\%Secret providers\fP +.IP \(bu 2 +\fI\%Example walkthrough\fP +.IP \(bu 2 +\fI\%Skipping validation\fP +.IP \(bu 2 +\fI\%About\fP +.UNINDENT +.SH SYNOPSIS +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-scan [\-r|\-\-recursive] [\-\-cached] [\-\-no\-index] [\-\-untracked] [...] +git secrets \-\-scan\-history +git secrets \-\-install [\-f|\-\-force] [] +git secrets \-\-list [\-\-global] +git secrets \-\-add [\-a|\-\-allowed] [\-l|\-\-literal] [\-\-global] +git secrets \-\-add\-provider [\-\-global] [arguments...] +git secrets \-\-register\-aws [\-\-global] +git secrets \-\-aws\-provider [] +.ft P +.fi +.UNINDENT +.UNINDENT +.SH DESCRIPTION +.sp +\fBgit\-secrets\fP scans commits, commit messages, and \fB\-\-no\-ff\fP merges to +prevent adding secrets into your git repositories. If a commit, +commit message, or any commit in a \fB\-\-no\-ff\fP merge history matches one of +your configured prohibited regular expression patterns, then the commit is +rejected. +.SH INSTALLING GIT-SECRETS +.sp +\fBgit\-secrets\fP must be placed somewhere in your PATH so that it is picked up +by \fBgit\fP when running \fBgit secrets\fP\&. +.SS *nix (Linux/macOS) +.IP "System Message: WARNING/2 (README.rst:, line 43)" +Title underline too short. +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +\e*nix (Linux/macOS) +~~~~~~~~~~~~~~~~~ +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +You can use the \fBinstall\fP target of the provided Makefile to install \fBgit secrets\fP and the man page. +You can customize the install path using the PREFIX and MANPREFIX variables. +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +make install +.ft P +.fi +.UNINDENT +.UNINDENT +.SS Windows +.sp +Run the provided \fBinstall.ps1\fP powershell script. This will copy the needed files +to an installation directory (\fB%USERPROFILE%/.git\-secrets\fP by default) and add +the directory to the current user \fBPATH\fP\&. +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +PS > ./install.ps1 +.ft P +.fi +.UNINDENT +.UNINDENT +.SS Homebrew (for macOS users) +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +brew install git\-secrets +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +\fBWARNING:\fP +.INDENT 0.0 +.INDENT 3.5 +You\(aqre not done yet! You MUST install the git hooks for every repo that +you wish to use with \fBgit secrets \-\-install\fP\&. +.UNINDENT +.UNINDENT +.sp +Here\(aqs a quick example of how to ensure a git repository is scanned for secrets +on each commit: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +cd /path/to/my/repo +git secrets \-\-install +git secrets \-\-register\-aws +.ft P +.fi +.UNINDENT +.UNINDENT +.SH ADVANCED CONFIGURATION +.sp +Add a configuration template if you want to add hooks to all repositories you +initialize or clone in the future. +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-register\-aws \-\-global +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Add hooks to all your local repositories. +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-install ~/.git\-templates/git\-secrets +git config \-\-global init.templateDir ~/.git\-templates/git\-secrets +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Add custom providers to scan for security credentials. +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add\-provider \-\- cat /path/to/secret/file/patterns +.ft P +.fi +.UNINDENT +.UNINDENT +.SH BEFORE MAKING PUBLIC A REPOSITORY +.sp +With git\-secrets is also possible to scan a repository including all revisions: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-scan\-history +.ft P +.fi +.UNINDENT +.UNINDENT +.SH OPTIONS +.SS Operation Modes +.sp +Each of these options must appear first on the command line. +.INDENT 0.0 +.TP +.B \fB\-\-install\fP +Installs git hooks for a repository. Once the hooks are installed for a git +repository, commits and non\-fast\-forward merges for that repository will be prevented +from committing secrets. +.TP +.B \fB\-\-scan\fP +Scans one or more files for secrets. When a file contains a secret, the +matched text from the file being scanned will be written to stdout and the +script will exit with a non\-zero status. Each matched line will be written with +the name of the file that matched, a colon, the line number that matched, +a colon, and then the line of text that matched. If no files are provided, +all files returned by \fBgit ls\-files\fP are scanned. +.TP +.B \fB\-\-scan\-history\fP +Scans repository including all revisions. When a file contains a secret, the +matched text from the file being scanned will be written to stdout and the +script will exit with a non\-zero status. Each matched line will be written with +the name of the file that matched, a colon, the line number that matched, +a colon, and then the line of text that matched. +.TP +.B \fB\-\-list\fP +Lists the \fBgit\-secrets\fP configuration for the current repo or in the global +git config. +.TP +.B \fB\-\-add\fP +Adds a prohibited or allowed pattern. +.TP +.B \fB\-\-add\-provider\fP +Registers a secret provider. Secret providers are executables that when +invoked output prohibited patterns that \fBgit\-secrets\fP should treat as +prohibited. +.TP +.B \fB\-\-register\-aws\fP +Adds common AWS patterns to the git config and ensures that keys present +in \fB~/.aws/credentials\fP are not found in any commit. The following +checks are added: +.INDENT 7.0 +.IP \(bu 2 +AWS Access Key IDs via \fB(A3T[A\-Z0\-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A\-Z0\-9]{16}\fP +.IP \(bu 2 +AWS Secret Access Key assignments via ":" or "=" surrounded by optional +quotes +.IP \(bu 2 +AWS account ID assignments via ":" or "=" surrounded by optional quotes +.IP \(bu 2 +Allowed patterns for example AWS keys (\fBAKIAIOSFODNN7EXAMPLE\fP and +\fBwJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY\fP) +.IP \(bu 2 +Known credentials from \fB~/.aws/credentials\fP +.UNINDENT +.sp +\fBNOTE:\fP +.INDENT 7.0 +.INDENT 3.5 +While the patterns registered by this command should catch most +instances of AWS credentials, these patterns are \fBnot\fP guaranteed to +catch them \fBall\fP\&. \fBgit\-secrets\fP should be used as an extra means of +insurance \-\- you still need to do your due diligence to ensure that you +do not commit credentials to a repository. +.UNINDENT +.UNINDENT +.TP +.B \fB\-\-aws\-provider\fP +Secret provider that outputs credentials found in an INI file. You can +optionally provide the path to an INI file. +.UNINDENT +.SS Options for \fB\-\-install\fP +.INDENT 0.0 +.TP +.B \fB\-f, \-\-force\fP +Overwrites existing hooks if present. +.TP +.B \fB\fP +When provided, installs git hooks to the given directory. The current +directory is assumed if \fB\fP is not provided. +.sp +If the provided \fB\fP is not in a git repository, the +directory will be created and hooks will be placed in +\fB/hooks\fP\&. This can be useful for creating git template +directories using with \fBgit init \-\-template \fP\&. +.sp +You can run \fBgit init\fP on a repository that has already been initialized. +From the \fI\%git init documentation\fP: +.INDENT 7.0 +.INDENT 3.5 +From the git documentation: Running \fBgit init\fP in an existing repository +is safe. It will not overwrite things that are already there. The +primary reason for rerunning \fBgit init\fP is to pick up newly added +templates (or to move the repository to another place if +\fB\-\-separate\-git\-dir\fP is given). +.UNINDENT +.UNINDENT +.sp +The following git hooks are installed: +.INDENT 7.0 +.IP 1. 3 +\fBpre\-commit\fP: Used to check if any of the files changed in the commit +use prohibited patterns. +.IP 2. 3 +\fBcommit\-msg\fP: Used to determine if a commit message contains a +prohibited patterns. +.IP 3. 3 +\fBprepare\-commit\-msg\fP: Used to determine if a merge commit will +introduce a history that contains a prohibited pattern at any point. +Please note that this hook is only invoked for non fast\-forward merges. +.UNINDENT +.sp +\fBNOTE:\fP +.INDENT 7.0 +.INDENT 3.5 +Git only allows a single script to be executed per hook. If the +repository contains Debian\-style subdirectories like \fBpre\-commit.d\fP +and \fBcommit\-msg.d\fP, then the git hooks will be installed into these +directories, which assumes that you\(aqve configured the corresponding +hooks to execute all of the scripts found in these directories. If +these git subdirectories are not present, then the git hooks will be +installed to the git repo\(aqs \fB\&.git/hooks\fP directory. +.UNINDENT +.UNINDENT +.UNINDENT +.SS Examples +.sp +Install git hooks to the current directory: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +cd /path/to/my/repository +git secrets \-\-install +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Install git hooks to a repository other than the current directory: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-install /path/to/my/repository +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Create a git template that has \fBgit\-secrets\fP installed, and then copy that +template into a git repository: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-install ~/.git\-templates/git\-secrets +git init \-\-template ~/.git\-templates/git\-secrets +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Overwrite existing hooks if present: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-install \-f +.ft P +.fi +.UNINDENT +.UNINDENT +.SS Options for \fB\-\-scan\fP +.INDENT 0.0 +.TP +.B \fB\-r, \-\-recursive\fP +Scans the given files recursively. If a directory is encountered, the +directory will be scanned. If \fB\-r\fP is not provided, directories will be +ignored. +.sp +\fB\-r\fP cannot be used alongside \fB\-\-cached\fP, \fB\-\-no\-index\fP, or +\fB\-\-untracked\fP\&. +.TP +.B \fB\-\-cached\fP +Searches blobs registered in the index file. +.TP +.B \fB\-\-no\-index\fP +Searches files in the current directory that is not managed by git. +.TP +.B \fB\-\-untracked\fP +In addition to searching in the tracked files in the working tree, +\fB\-\-scan\fP also in untracked files. +.TP +.B \fB...\fP +The path to one or more files on disk to scan for secrets. +.sp +If no files are provided, all files returned by \fBgit ls\-files\fP are +scanned. +.UNINDENT +.SS Examples +.sp +Scan all files in the repo: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-scan +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Scans a single file for secrets: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-scan /path/to/file +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Scans a directory recursively for secrets: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-scan \-r /path/to/directory +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Scans multiple files for secrets: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-scan /path/to/file /path/to/other/file +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +You can scan by globbing: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-scan /path/to/directory/* +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Scan from stdin: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +echo \(aqhello!\(aq | git secrets \-\-scan \- +.ft P +.fi +.UNINDENT +.UNINDENT +.SS Options for \fB\-\-list\fP +.INDENT 0.0 +.TP +.B \fB\-\-global\fP +Lists only git\-secrets configuration in the global git config. +.UNINDENT +.SS Options for \fB\-\-add\fP +.INDENT 0.0 +.TP +.B \fB\-\-global\fP +Adds patterns to the global git config +.TP +.B \fB\-l, \-\-literal\fP +Escapes special regular expression characters in the provided pattern so +that the pattern is searched for literally. +.TP +.B \fB\-a, \-\-allowed\fP +Mark the pattern as allowed instead of prohibited. Allowed patterns are +used to filter our false positives. +.TP +.B \fB\fP +The regex pattern to search. +.UNINDENT +.SS Examples +.sp +Adds a prohibited pattern to the current repo: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add \(aq[A\-Z0\-9]{20}\(aq +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Adds a prohibited pattern to the global git config: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add \-\-global \(aq[A\-Z0\-9]{20}\(aq +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Adds a string that is scanned for literally (\fB+\fP is escaped): +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add \-\-literal \(aqfoo+bar\(aq +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Add an allowed pattern: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add \-a \(aqallowed pattern\(aq +.ft P +.fi +.UNINDENT +.UNINDENT +.SS Options for \fB\-\-register\-aws\fP +.INDENT 0.0 +.TP +.B \fB\-\-global\fP +Adds AWS specific configuration variables to the global git config. +.UNINDENT +.SS Options for \fB\-\-aws\-provider\fP +.INDENT 0.0 +.TP +.B \fB[]\fP +If provided, specifies the custom path to an INI file to scan. If not +provided, \fB~/.aws/credentials\fP is assumed. +.UNINDENT +.SS Options for \fB\-\-add\-provider\fP +.INDENT 0.0 +.TP +.B \fB\-\-global\fP +Adds the provider to the global git config. +.TP +.B \fB\fP +Provider command to invoke. When invoked the command is expected to write +prohibited patterns separated by new lines to stdout. Any extra arguments +provided are passed on to the command. +.UNINDENT +.SS Examples +.sp +Registers a secret provider with arguments: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add\-provider \-\- git secrets \-\-aws\-provider +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Cats secrets out of a file: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add\-provider \-\- cat /path/to/secret/file/patterns +.ft P +.fi +.UNINDENT +.UNINDENT +.SH DEFINING PROHIBITED PATTERNS +.sp +\fBegrep\fP\-compatible regular expressions are used to determine if a commit or +commit message contains any prohibited patterns. These regular expressions are +defined using the \fBgit config\fP command. It is important to note that +different systems use different versions of egrep. For example, when running on +macOS, you will use a different version of \fBegrep\fP than when running on something +like Ubuntu (BSD vs GNU). +.sp +You can add prohibited regular expression patterns to your git config using +\fBgit secrets \-\-add \fP\&. +.SH IGNORING FALSE POSITIVES +.sp +Sometimes a regular expression might match false positives. For example, git +commit SHAs look a lot like AWS access keys. You can specify many different +regular expression patterns as false positives using the following command: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add \-\-allowed \(aqmy regex pattern\(aq +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +You can also add regular expressions patterns to filter false positives to a +\fB\&.gitallowed\fP file located in the repository\(aqs root directory. Lines starting +with \fB#\fP are skipped (comment line) and empty lines are also skipped. +.sp +First, git\-secrets will extract all lines from a file that contain a prohibited +match. Included in the matched results will be the full path to the name of +the file that was matched, followed by \(aq:\(aq, followed by the line number that was +matched, followed by the entire line from the file that was matched by a secret +pattern. Then, if you\(aqve defined allowed regular expressions, git\-secrets will +check to see if all of the matched lines match at least one of your registered +allowed regular expressions. If all of the lines that were flagged as secret +are canceled out by an allowed match, then the subject text does not contain +any secrets. If any of the matched lines are not matched by an allowed regular +expression, then git\-secrets will fail the commit/merge/message. +.sp +\fBIMPORTANT:\fP +.INDENT 0.0 +.INDENT 3.5 +Just as it is a bad practice to add prohibited patterns that are too +greedy, it is also a bad practice to add allowed patterns that are too +forgiving. Be sure to test out your patterns using ad\-hoc calls to +\fBgit secrets \-\-scan $filename\fP to ensure they are working as intended. +.UNINDENT +.UNINDENT +.SH SECRET PROVIDERS +.sp +Sometimes you want to check for an exact pattern match against a set of known +secrets. For example, you might want to ensure that no credentials present in +\fB~/.aws/credentials\fP ever show up in a commit. In these cases, it\(aqs better to +leave these secrets in one location rather than spread them out across git +repositories in git configs. You can use "secret providers" to fetch these +types of credentials. A secret provider is an executable that when invoked +outputs prohibited patterns separated by new lines. +.sp +You can add secret providers using the \fB\-\-add\-provider\fP command: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add\-provider \-\- git secrets \-\-aws\-provider +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Notice the use of \fB\-\-\fP\&. This ensures that any arguments associated with the +provider are passed to the provider each time it is invoked when scanning +for secrets. +.SH EXAMPLE WALKTHROUGH +.sp +Let\(aqs take a look at an example. Given the following subject text (stored in +\fB/tmp/example\fP): +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +This is a test! +password=ex@mplepassword +password=****** +More test... +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +And the following registered patterns: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add \(aqpassword\es*=\es*.+\(aq +git secrets \-\-add \-\-allowed \-\-literal \(aqex@mplepassword\(aq +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Running \fBgit secrets \-\-scan /tmp/example\fP, the result will +result in the following error output: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +/tmp/example:3:password=****** + +[ERROR] Matched prohibited pattern + +Possible mitigations: +\- Mark false positives as allowed using: git config \-\-add secrets.allowed ... +\- List your configured patterns: git config \-\-get\-all secrets.patterns +\- List your configured allowed patterns: git config \-\-get\-all secrets.allowed +\- Use \-\-no\-verify if this is a one\-time false positive +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Breaking this down, the prohibited pattern value of \fBpassword\es*=\es*.+\fP will +match the following lines: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +/tmp/example:2:password=ex@mplepassword +/tmp/example:3:password=****** +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +\&...But the first match will be filtered out due to the fact that it matches the +allowed regular expression of \fBex@mplepassword\fP\&. Because there is still a +remaining line that did not match, it is considered a secret. +.sp +Because that matching lines are placed on lines that start with the filename +and line number (e.g., \fB/tmp/example:3:...\fP), you can create allowed +patterns that take filenames and line numbers into account in the regular +expression. For example, you could whitelist an entire file using something +like: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add \-\-allowed \(aq/tmp/example:.*\(aq +git secrets \-\-scan /tmp/example && echo $? +# Outputs: 0 +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Alternatively, you could allow a specific line number of a file if that +line is unlikely to change using something like the following: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add \-\-allowed \(aq/tmp/example:3:.*\(aq +git secrets \-\-scan /tmp/example && echo $? +# Outputs: 0 +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Keep this in mind when creating allowed patterns to ensure that your allowed +patterns are not inadvertently matched due to the fact that the filename is +included in the subject text that allowed patterns are matched against. +.SH SKIPPING VALIDATION +.sp +Use the \fB\-\-no\-verify\fP option in the event of a false positive match in a +commit, merge, or commit message. This will skip the execution of the +git hook and allow you to make the commit or merge. +.SH ABOUT +.INDENT 0.0 +.IP \(bu 2 +Author: \fI\%Michael Dowling\fP +.IP \(bu 2 +Issue tracker: This project\(aqs source code and issue tracker can be found at +\fI\%https://github.com/awslabs/git\-secrets\fP +.IP \(bu 2 +Special thanks to Adrian Vatchinsky and Ari Juels of Cornell University for +providing suggestions and feedback. +.UNINDENT +.sp +Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. +.\" Generated by docutils manpage writer. +. diff --git a/.github/actions/git-secrets/install.ps1 b/.github/actions/git-secrets/install.ps1 new file mode 100644 index 00000000000..fbffbfa9906 --- /dev/null +++ b/.github/actions/git-secrets/install.ps1 @@ -0,0 +1,48 @@ +Param([string]$InstallationDirectory = $($Env:USERPROFILE + "\.git-secrets")) + +Write-Host "Checking to see if installation directory already exists..." +if (-not (Test-Path $InstallationDirectory)) +{ + Write-Host "Creating installation directory." + New-Item -ItemType Directory -Path $InstallationDirectory | Out-Null +} +else +{ + Write-Host "Installation directory already exists." +} + +Write-Host "Copying files." +Copy-Item ./git-secrets -Destination $InstallationDirectory -Force +Copy-Item ./git-secrets.1 -Destination $InstallationDirectory -Force + +Write-Host "Checking if directory already exists in Path..." +$currentPath = [Environment]::GetEnvironmentVariable("PATH", "User") +if ($currentPath -notlike "*$InstallationDirectory*") +{ + Write-Host "Adding to path." + $newPath = $currentPath + if(-not ($newPath.EndsWith(";"))) + { + $newPath = $newPath + ";" + } + $newPath = $newPath + $InstallationDirectory + [Environment]::SetEnvironmentVariable("PATH", $newPath, "User") +} +else +{ + Write-Host "Already in Path." +} + +# Adding to Session +Write-Host "Adding to user session." +$currentSessionPath = $Env:Path +if ($currentSessionPath -notlike "*$InstallationDirectory*") +{ + if(-not ($currentSessionPath.EndsWith(";"))) + { + $currentSessionPath = $currentSessionPath + ";" + } + $Env:Path = $currentSessionPath + $InstallationDirectory +} + +Write-Host "Done." \ No newline at end of file diff --git a/.github/actions/git-secrets/test/bats/LICENSE b/.github/actions/git-secrets/test/bats/LICENSE new file mode 100644 index 00000000000..bac4eb29ccf --- /dev/null +++ b/.github/actions/git-secrets/test/bats/LICENSE @@ -0,0 +1,20 @@ +Copyright (c) 2014 Sam Stephenson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/.github/actions/git-secrets/test/bats/bin/bats b/.github/actions/git-secrets/test/bats/bin/bats new file mode 120000 index 00000000000..a50a884e581 --- /dev/null +++ b/.github/actions/git-secrets/test/bats/bin/bats @@ -0,0 +1 @@ +../libexec/bats \ No newline at end of file diff --git a/.github/actions/git-secrets/test/bats/libexec/bats b/.github/actions/git-secrets/test/bats/libexec/bats new file mode 100755 index 00000000000..71f392f757e --- /dev/null +++ b/.github/actions/git-secrets/test/bats/libexec/bats @@ -0,0 +1,142 @@ +#!/usr/bin/env bash +set -e + +version() { + echo "Bats 0.4.0" +} + +usage() { + version + echo "Usage: bats [-c] [-p | -t] [ ...]" +} + +help() { + usage + echo + echo " is the path to a Bats test file, or the path to a directory" + echo " containing Bats test files." + echo + echo " -c, --count Count the number of test cases without running any tests" + echo " -h, --help Display this help message" + echo " -p, --pretty Show results in pretty format (default for terminals)" + echo " -t, --tap Show results in TAP format" + echo " -v, --version Display the version number" + echo + echo " For more information, see https://github.com/sstephenson/bats" + echo +} + +resolve_link() { + $(type -p greadlink readlink | head -1) "$1" +} + +abs_dirname() { + local cwd="$(pwd)" + local path="$1" + + while [ -n "$path" ]; do + cd "${path%/*}" + local name="${path##*/}" + path="$(resolve_link "$name" || true)" + done + + pwd + cd "$cwd" +} + +expand_path() { + { cd "$(dirname "$1")" 2>/dev/null + local dirname="$PWD" + cd "$OLDPWD" + echo "$dirname/$(basename "$1")" + } || echo "$1" +} + +BATS_LIBEXEC="$(abs_dirname "$0")" +export BATS_PREFIX="$(abs_dirname "$BATS_LIBEXEC")" +export BATS_CWD="$(abs_dirname .)" +export PATH="$BATS_LIBEXEC:$PATH" + +options=() +arguments=() +for arg in "$@"; do + if [ "${arg:0:1}" = "-" ]; then + if [ "${arg:1:1}" = "-" ]; then + options[${#options[*]}]="${arg:2}" + else + index=1 + while option="${arg:$index:1}"; do + [ -n "$option" ] || break + options[${#options[*]}]="$option" + let index+=1 + done + fi + else + arguments[${#arguments[*]}]="$arg" + fi +done + +unset count_flag pretty +[ -t 0 ] && [ -t 1 ] && pretty="1" +[ -n "$CI" ] && pretty="" + +for option in "${options[@]}"; do + case "$option" in + "h" | "help" ) + help + exit 0 + ;; + "v" | "version" ) + version + exit 0 + ;; + "c" | "count" ) + count_flag="-c" + ;; + "t" | "tap" ) + pretty="" + ;; + "p" | "pretty" ) + pretty="1" + ;; + * ) + usage >&2 + exit 1 + ;; + esac +done + +if [ "${#arguments[@]}" -eq 0 ]; then + usage >&2 + exit 1 +fi + +filenames=() +for filename in "${arguments[@]}"; do + if [ -d "$filename" ]; then + shopt -s nullglob + for suite_filename in "$(expand_path "$filename")"/*.bats; do + filenames["${#filenames[@]}"]="$suite_filename" + done + shopt -u nullglob + else + filenames["${#filenames[@]}"]="$(expand_path "$filename")" + fi +done + +if [ "${#filenames[@]}" -eq 1 ]; then + command="bats-exec-test" +else + command="bats-exec-suite" +fi + +if [ -n "$pretty" ]; then + extended_syntax_flag="-x" + formatter="bats-format-tap-stream" +else + extended_syntax_flag="" + formatter="cat" +fi + +set -o pipefail execfail +exec "$command" $count_flag $extended_syntax_flag "${filenames[@]}" | "$formatter" diff --git a/.github/actions/git-secrets/test/bats/libexec/bats-exec-suite b/.github/actions/git-secrets/test/bats/libexec/bats-exec-suite new file mode 100755 index 00000000000..29ab255d062 --- /dev/null +++ b/.github/actions/git-secrets/test/bats/libexec/bats-exec-suite @@ -0,0 +1,55 @@ +#!/usr/bin/env bash +set -e + +count_only_flag="" +if [ "$1" = "-c" ]; then + count_only_flag=1 + shift +fi + +extended_syntax_flag="" +if [ "$1" = "-x" ]; then + extended_syntax_flag="-x" + shift +fi + +trap "kill 0; exit 1" int + +count=0 +for filename in "$@"; do + let count+="$(bats-exec-test -c "$filename")" +done + +if [ -n "$count_only_flag" ]; then + echo "$count" + exit +fi + +echo "1..$count" +status=0 +offset=0 +for filename in "$@"; do + index=0 + { + IFS= read -r # 1..n + while IFS= read -r line; do + case "$line" in + "begin "* ) + let index+=1 + echo "${line/ $index / $(($offset + $index)) }" + ;; + "ok "* | "not ok "* ) + [ -n "$extended_syntax_flag" ] || let index+=1 + echo "${line/ $index / $(($offset + $index)) }" + [ "${line:0:6}" != "not ok" ] || status=1 + ;; + * ) + echo "$line" + ;; + esac + done + } < <( bats-exec-test $extended_syntax_flag "$filename" ) + offset=$(($offset + $index)) +done + +exit "$status" diff --git a/.github/actions/git-secrets/test/bats/libexec/bats-exec-test b/.github/actions/git-secrets/test/bats/libexec/bats-exec-test new file mode 100755 index 00000000000..8f3bd5102e4 --- /dev/null +++ b/.github/actions/git-secrets/test/bats/libexec/bats-exec-test @@ -0,0 +1,346 @@ +#!/usr/bin/env bash +set -e +set -E +set -T + +BATS_COUNT_ONLY="" +if [ "$1" = "-c" ]; then + BATS_COUNT_ONLY=1 + shift +fi + +BATS_EXTENDED_SYNTAX="" +if [ "$1" = "-x" ]; then + BATS_EXTENDED_SYNTAX="$1" + shift +fi + +BATS_TEST_FILENAME="$1" +if [ -z "$BATS_TEST_FILENAME" ]; then + echo "usage: bats-exec " >&2 + exit 1 +elif [ ! -f "$BATS_TEST_FILENAME" ]; then + echo "bats: $BATS_TEST_FILENAME does not exist" >&2 + exit 1 +else + shift +fi + +BATS_TEST_DIRNAME="$(dirname "$BATS_TEST_FILENAME")" +BATS_TEST_NAMES=() + +load() { + local name="$1" + local filename + + if [ "${name:0:1}" = "/" ]; then + filename="${name}" + else + filename="$BATS_TEST_DIRNAME/${name}.bash" + fi + + [ -f "$filename" ] || { + echo "bats: $filename does not exist" >&2 + exit 1 + } + + source "${filename}" +} + +run() { + local e E T oldIFS + [[ ! "$-" =~ e ]] || e=1 + [[ ! "$-" =~ E ]] || E=1 + [[ ! "$-" =~ T ]] || T=1 + set +e + set +E + set +T + output="$("$@" 2>&1)" + status="$?" + oldIFS=$IFS + IFS=$'\n' lines=($output) + [ -z "$e" ] || set -e + [ -z "$E" ] || set -E + [ -z "$T" ] || set -T + IFS=$oldIFS +} + +setup() { + true +} + +teardown() { + true +} + +skip() { + BATS_TEST_SKIPPED=${1:-1} + BATS_TEST_COMPLETED=1 + exit 0 +} + +bats_test_begin() { + BATS_TEST_DESCRIPTION="$1" + if [ -n "$BATS_EXTENDED_SYNTAX" ]; then + echo "begin $BATS_TEST_NUMBER $BATS_TEST_DESCRIPTION" >&3 + fi + setup +} + +bats_test_function() { + local test_name="$1" + BATS_TEST_NAMES["${#BATS_TEST_NAMES[@]}"]="$test_name" +} + +bats_capture_stack_trace() { + BATS_PREVIOUS_STACK_TRACE=( "${BATS_CURRENT_STACK_TRACE[@]}" ) + BATS_CURRENT_STACK_TRACE=() + + local test_pattern=" $BATS_TEST_NAME $BATS_TEST_SOURCE" + local setup_pattern=" setup $BATS_TEST_SOURCE" + local teardown_pattern=" teardown $BATS_TEST_SOURCE" + + local frame + local index=1 + + while frame="$(caller "$index")"; do + BATS_CURRENT_STACK_TRACE["${#BATS_CURRENT_STACK_TRACE[@]}"]="$frame" + if [[ "$frame" = *"$test_pattern" || \ + "$frame" = *"$setup_pattern" || \ + "$frame" = *"$teardown_pattern" ]]; then + break + else + let index+=1 + fi + done + + BATS_SOURCE="$(bats_frame_filename "${BATS_CURRENT_STACK_TRACE[0]}")" + BATS_LINENO="$(bats_frame_lineno "${BATS_CURRENT_STACK_TRACE[0]}")" +} + +bats_print_stack_trace() { + local frame + local index=1 + local count="${#@}" + + for frame in "$@"; do + local filename="$(bats_trim_filename "$(bats_frame_filename "$frame")")" + local lineno="$(bats_frame_lineno "$frame")" + + if [ $index -eq 1 ]; then + echo -n "# (" + else + echo -n "# " + fi + + local fn="$(bats_frame_function "$frame")" + if [ "$fn" != "$BATS_TEST_NAME" ]; then + echo -n "from function \`$fn' " + fi + + if [ $index -eq $count ]; then + echo "in test file $filename, line $lineno)" + else + echo "in file $filename, line $lineno," + fi + + let index+=1 + done +} + +bats_print_failed_command() { + local frame="$1" + local status="$2" + local filename="$(bats_frame_filename "$frame")" + local lineno="$(bats_frame_lineno "$frame")" + + local failed_line="$(bats_extract_line "$filename" "$lineno")" + local failed_command="$(bats_strip_string "$failed_line")" + echo -n "# \`${failed_command}' " + + if [ $status -eq 1 ]; then + echo "failed" + else + echo "failed with status $status" + fi +} + +bats_frame_lineno() { + local frame="$1" + local lineno="${frame%% *}" + echo "$lineno" +} + +bats_frame_function() { + local frame="$1" + local rest="${frame#* }" + local fn="${rest%% *}" + echo "$fn" +} + +bats_frame_filename() { + local frame="$1" + local rest="${frame#* }" + local filename="${rest#* }" + + if [ "$filename" = "$BATS_TEST_SOURCE" ]; then + echo "$BATS_TEST_FILENAME" + else + echo "$filename" + fi +} + +bats_extract_line() { + local filename="$1" + local lineno="$2" + sed -n "${lineno}p" "$filename" +} + +bats_strip_string() { + local string="$1" + printf "%s" "$string" | sed -e "s/^[ "$'\t'"]*//" -e "s/[ "$'\t'"]*$//" +} + +bats_trim_filename() { + local filename="$1" + local length="${#BATS_CWD}" + + if [ "${filename:0:length+1}" = "${BATS_CWD}/" ]; then + echo "${filename:length+1}" + else + echo "$filename" + fi +} + +bats_debug_trap() { + if [ "$BASH_SOURCE" != "$1" ]; then + bats_capture_stack_trace + fi +} + +bats_error_trap() { + BATS_ERROR_STATUS="$?" + BATS_ERROR_STACK_TRACE=( "${BATS_PREVIOUS_STACK_TRACE[@]}" ) + trap - debug +} + +bats_teardown_trap() { + trap "bats_exit_trap" exit + local status=0 + teardown >>"$BATS_OUT" 2>&1 || status="$?" + + if [ $status -eq 0 ]; then + BATS_TEARDOWN_COMPLETED=1 + elif [ -n "$BATS_TEST_COMPLETED" ]; then + BATS_ERROR_STATUS="$status" + BATS_ERROR_STACK_TRACE=( "${BATS_CURRENT_STACK_TRACE[@]}" ) + fi + + bats_exit_trap +} + +bats_exit_trap() { + local status + local skipped + trap - err exit + + skipped="" + if [ -n "$BATS_TEST_SKIPPED" ]; then + skipped=" # skip" + if [ "1" != "$BATS_TEST_SKIPPED" ]; then + skipped+=" ($BATS_TEST_SKIPPED)" + fi + fi + + if [ -z "$BATS_TEST_COMPLETED" ] || [ -z "$BATS_TEARDOWN_COMPLETED" ]; then + echo "not ok $BATS_TEST_NUMBER $BATS_TEST_DESCRIPTION" >&3 + bats_print_stack_trace "${BATS_ERROR_STACK_TRACE[@]}" >&3 + bats_print_failed_command "${BATS_ERROR_STACK_TRACE[${#BATS_ERROR_STACK_TRACE[@]}-1]}" "$BATS_ERROR_STATUS" >&3 + sed -e "s/^/# /" < "$BATS_OUT" >&3 + status=1 + else + echo "ok ${BATS_TEST_NUMBER}${skipped} ${BATS_TEST_DESCRIPTION}" >&3 + status=0 + fi + + rm -f "$BATS_OUT" + exit "$status" +} + +bats_perform_tests() { + echo "1..$#" + test_number=1 + status=0 + for test_name in "$@"; do + "$0" $BATS_EXTENDED_SYNTAX "$BATS_TEST_FILENAME" "$test_name" "$test_number" || status=1 + let test_number+=1 + done + exit "$status" +} + +bats_perform_test() { + BATS_TEST_NAME="$1" + if [ "$(type -t "$BATS_TEST_NAME" || true)" = "function" ]; then + BATS_TEST_NUMBER="$2" + if [ -z "$BATS_TEST_NUMBER" ]; then + echo "1..1" + BATS_TEST_NUMBER="1" + fi + + BATS_TEST_COMPLETED="" + BATS_TEARDOWN_COMPLETED="" + trap "bats_debug_trap \"\$BASH_SOURCE\"" debug + trap "bats_error_trap" err + trap "bats_teardown_trap" exit + "$BATS_TEST_NAME" >>"$BATS_OUT" 2>&1 + BATS_TEST_COMPLETED=1 + + else + echo "bats: unknown test name \`$BATS_TEST_NAME'" >&2 + exit 1 + fi +} + +if [ -z "$TMPDIR" ]; then + BATS_TMPDIR="/tmp" +else + BATS_TMPDIR="${TMPDIR%/}" +fi + +BATS_TMPNAME="$BATS_TMPDIR/bats.$$" +BATS_PARENT_TMPNAME="$BATS_TMPDIR/bats.$PPID" +BATS_OUT="${BATS_TMPNAME}.out" + +bats_preprocess_source() { + BATS_TEST_SOURCE="${BATS_TMPNAME}.src" + { tr -d '\r' < "$BATS_TEST_FILENAME"; echo; } | bats-preprocess > "$BATS_TEST_SOURCE" + trap "bats_cleanup_preprocessed_source" err exit + trap "bats_cleanup_preprocessed_source; exit 1" int +} + +bats_cleanup_preprocessed_source() { + rm -f "$BATS_TEST_SOURCE" +} + +bats_evaluate_preprocessed_source() { + if [ -z "$BATS_TEST_SOURCE" ]; then + BATS_TEST_SOURCE="${BATS_PARENT_TMPNAME}.src" + fi + source "$BATS_TEST_SOURCE" +} + +exec 3<&1 + +if [ "$#" -eq 0 ]; then + bats_preprocess_source + bats_evaluate_preprocessed_source + + if [ -n "$BATS_COUNT_ONLY" ]; then + echo "${#BATS_TEST_NAMES[@]}" + else + bats_perform_tests "${BATS_TEST_NAMES[@]}" + fi +else + bats_evaluate_preprocessed_source + bats_perform_test "$@" +fi diff --git a/.github/actions/git-secrets/test/bats/libexec/bats-format-tap-stream b/.github/actions/git-secrets/test/bats/libexec/bats-format-tap-stream new file mode 100755 index 00000000000..614768f4d9e --- /dev/null +++ b/.github/actions/git-secrets/test/bats/libexec/bats-format-tap-stream @@ -0,0 +1,165 @@ +#!/usr/bin/env bash +set -e + +# Just stream the TAP output (sans extended syntax) if tput is missing +command -v tput >/dev/null || exec grep -v "^begin " + +header_pattern='[0-9]+\.\.[0-9]+' +IFS= read -r header + +if [[ "$header" =~ $header_pattern ]]; then + count="${header:3}" + index=0 + failures=0 + skipped=0 + name="" + count_column_width=$(( ${#count} * 2 + 2 )) +else + # If the first line isn't a TAP plan, print it and pass the rest through + printf "%s\n" "$header" + exec cat +fi + +update_screen_width() { + screen_width="$(tput cols)" + count_column_left=$(( $screen_width - $count_column_width )) +} + +trap update_screen_width WINCH +update_screen_width + +begin() { + go_to_column 0 + printf_with_truncation $(( $count_column_left - 1 )) " %s" "$name" + clear_to_end_of_line + go_to_column $count_column_left + printf "%${#count}s/${count}" "$index" + go_to_column 1 +} + +pass() { + go_to_column 0 + printf " ✓ %s" "$name" + advance +} + +skip() { + local reason="$1" + [ -z "$reason" ] || reason=": $reason" + go_to_column 0 + printf " - %s (skipped%s)" "$name" "$reason" + advance +} + +fail() { + go_to_column 0 + set_color 1 bold + printf " ✗ %s" "$name" + advance +} + +log() { + set_color 1 + printf " %s\n" "$1" + clear_color +} + +summary() { + printf "\n%d test%s" "$count" "$(plural "$count")" + + printf ", %d failure%s" "$failures" "$(plural "$failures")" + + if [ "$skipped" -gt 0 ]; then + printf ", %d skipped" "$skipped" + fi + + printf "\n" +} + +printf_with_truncation() { + local width="$1" + shift + local string="$(printf "$@")" + + if [ "${#string}" -gt "$width" ]; then + printf "%s..." "${string:0:$(( $width - 4 ))}" + else + printf "%s" "$string" + fi +} + +go_to_column() { + local column="$1" + printf "\x1B[%dG" $(( $column + 1 )) +} + +clear_to_end_of_line() { + printf "\x1B[K" +} + +advance() { + clear_to_end_of_line + echo + clear_color +} + +set_color() { + local color="$1" + local weight="$2" + printf "\x1B[%d;%dm" $(( 30 + $color )) "$( [ "$weight" = "bold" ] && echo 1 || echo 22 )" +} + +clear_color() { + printf "\x1B[0m" +} + +plural() { + [ "$1" -eq 1 ] || echo "s" +} + +_buffer="" + +buffer() { + _buffer="${_buffer}$("$@")" +} + +flush() { + printf "%s" "$_buffer" + _buffer="" +} + +finish() { + flush + printf "\n" +} + +trap finish EXIT + +while IFS= read -r line; do + case "$line" in + "begin "* ) + let index+=1 + name="${line#* $index }" + buffer begin + flush + ;; + "ok "* ) + skip_expr="ok $index # skip (\(([^)]*)\))?" + if [[ "$line" =~ $skip_expr ]]; then + let skipped+=1 + buffer skip "${BASH_REMATCH[2]}" + else + buffer pass + fi + ;; + "not ok "* ) + let failures+=1 + buffer fail + ;; + "# "* ) + buffer log "${line:2}" + ;; + esac +done + +buffer summary diff --git a/.github/actions/git-secrets/test/bats/libexec/bats-preprocess b/.github/actions/git-secrets/test/bats/libexec/bats-preprocess new file mode 100755 index 00000000000..04297ed019b --- /dev/null +++ b/.github/actions/git-secrets/test/bats/libexec/bats-preprocess @@ -0,0 +1,52 @@ +#!/usr/bin/env bash +set -e + +encode_name() { + local name="$1" + local result="test_" + + if [[ ! "$name" =~ [^[:alnum:]\ _-] ]]; then + name="${name//_/-5f}" + name="${name//-/-2d}" + name="${name// /_}" + result+="$name" + else + local length="${#name}" + local char i + + for ((i=0; i "$BATS_TMPDIR/test.txt" + repo_run git-secrets --scan "$BATS_TMPDIR/test.txt" + [ $status -eq 0 ] +} + +@test "Scans all files when no file provided" { + setup_bad_repo + repo_run git-secrets --scan + [ $status -eq 1 ] +} + +@test "Scans all files including history" { + setup_bad_repo + repo_run git-secrets --scan-history + [ $status -eq 1 ] +} + +@test "Scans all files when no file provided with secret in history" { + setup_bad_repo_history + repo_run git-secrets --scan + [ $status -eq 0 ] +} + +@test "Scans all files including history with secret in history" { + setup_bad_repo_history + repo_run git-secrets --scan-history + [ $status -eq 1 ] +} + +@test "Scans history with secrets distributed among branches in history" { + cd $TEST_REPO + echo '@todo' > $TEST_REPO/history_failure.txt + git add -A + git commit -m "Testing history" + echo 'todo' > $TEST_REPO/history_failure.txt + git add -A + git commit -m "Testing history" + git checkout -b testbranch + echo '@todo' > $TEST_REPO/history_failure.txt + git add -A + git commit -m "Testing history" + git checkout master + cd - + repo_run git-secrets --scan-history + [ $status -eq 1 ] +} + +@test "Scans recursively" { + setup_bad_repo + mkdir -p $TEST_REPO/foo/bar/baz + echo '@todo more stuff' > $TEST_REPO/foo/bar/baz/data.txt + repo_run git-secrets --scan -r $TEST_REPO/foo + [ $status -eq 1 ] +} + +@test "Scans recursively only if -r is given" { + setup_bad_repo + mkdir -p $TEST_REPO/foo/bar/baz + echo '@todo more stuff' > $TEST_REPO/foo/bar/baz/data.txt + repo_run git-secrets --scan $TEST_REPO/foo + [ $status -eq 0 ] +} + +@test "Excludes allowed patterns from failures" { + git config --add secrets.patterns 'foo="baz{1,5}"' + git config --add secrets.allowed 'foo="bazzz"' + echo 'foo="bazzz" is ok because 3 "z"s' > "$BATS_TMPDIR/test.txt" + repo_run git-secrets --scan "$BATS_TMPDIR/test.txt" + [ $status -eq 0 ] + echo 'This is NOT: ok foo="bazzzz"' > "$BATS_TMPDIR/test.txt" + repo_run git-secrets --scan "$BATS_TMPDIR/test.txt" + [ $status -eq 1 ] +} + +@test "Prohibited matches exits 1" { + file="$TEST_REPO/test.txt" + echo '@todo stuff' > $file + echo 'this is forbidden right?' >> $file + repo_run git-secrets --scan $file + [ $status -eq 1 ] + [ "${lines[0]}" == "$file:1:@todo stuff" ] + [ "${lines[1]}" == "$file:2:this is forbidden right?" ] +} + +@test "Only matches on word boundaries" { + file="$TEST_REPO/test.txt" + # Note that the following does not match as it is not a word. + echo 'mesa Jar Jar Binks' > $file + # The following do match because they are in word boundaries. + echo 'foo.me' >> $file + echo '"me"' >> $file + repo_run git-secrets --scan $file + [ $status -eq 1 ] + [ "${lines[0]}" == "$file:2:foo.me" ] + [ "${lines[1]}" == "$file:3:\"me\"" ] +} + +@test "Can scan from stdin using -" { + echo "foo" | "${BATS_TEST_DIRNAME}/../git-secrets" --scan - + echo "me" | "${BATS_TEST_DIRNAME}/../git-secrets" --scan - && exit 1 || true +} + +@test "installs hooks for repo" { + setup_bad_repo + repo_run git-secrets --install $TEST_REPO + [ -f $TEST_REPO/.git/hooks/pre-commit ] + [ -f $TEST_REPO/.git/hooks/prepare-commit-msg ] + [ -f $TEST_REPO/.git/hooks/commit-msg ] +} + +@test "fails if hook exists and no -f" { + repo_run git-secrets --install $TEST_REPO + repo_run git-secrets --install $TEST_REPO + [ $status -eq 1 ] +} + +@test "Overwrites hooks if -f is given" { + repo_run git-secrets --install $TEST_REPO + repo_run git-secrets --install -f $TEST_REPO + [ $status -eq 0 ] +} + +@test "installs hooks for repo with Debian style directories" { + setup_bad_repo + mkdir $TEST_REPO/.git/hooks/pre-commit.d + mkdir $TEST_REPO/.git/hooks/prepare-commit-msg.d + mkdir $TEST_REPO/.git/hooks/commit-msg.d + run git-secrets --install $TEST_REPO + [ -f $TEST_REPO/.git/hooks/pre-commit.d/git-secrets ] + [ -f $TEST_REPO/.git/hooks/prepare-commit-msg.d/git-secrets ] + [ -f $TEST_REPO/.git/hooks/commit-msg.d/git-secrets ] +} + +@test "installs hooks to template directory" { + setup_bad_repo + run git-secrets --install $TEMPLATE_DIR + [ $status -eq 0 ] + run git init --template $TEMPLATE_DIR + [ $status -eq 0 ] + [ -f "${TEST_REPO}/.git/hooks/pre-commit" ] + [ -f "${TEST_REPO}/.git/hooks/prepare-commit-msg" ] + [ -f "${TEST_REPO}/.git/hooks/commit-msg" ] +} + +@test "Scans using keys from credentials file" { + echo 'aws_access_key_id = abc123' > $BATS_TMPDIR/test.ini + echo 'aws_secret_access_key=foobaz' >> $BATS_TMPDIR/test.ini + echo 'aws_access_key_id = "Bernard"' >> $BATS_TMPDIR/test.ini + echo 'aws_secret_access_key= "Laverne"' >> $BATS_TMPDIR/test.ini + echo 'aws_access_key_id= Hoagie+man' >> $BATS_TMPDIR/test.ini + cd $TEST_REPO + run git secrets --aws-provider $BATS_TMPDIR/test.ini + [ $status -eq 0 ] + echo "$output" | grep -F "foobaz" + echo "$output" | grep -F "abc123" + echo "$output" | grep -F "Bernard" + echo "$output" | grep -F "Laverne" + echo "$output" | grep -F 'Hoagie\+man' + run git secrets --add-provider -- git secrets --aws-provider $BATS_TMPDIR/test.ini + [ $status -eq 0 ] + echo '(foobaz) test' > $TEST_REPO/bad_file + echo "abc123 test" >> $TEST_REPO/bad_file + echo 'Bernard test' >> $TEST_REPO/bad_file + echo 'Laverne test' >> $TEST_REPO/bad_file + echo 'Hoagie+man test' >> $TEST_REPO/bad_file + repo_run git-secrets --scan $TEST_REPO/bad_file + [ $status -eq 1 ] + echo "$output" | grep "foobaz" + echo "$output" | grep "abc123" + echo "$output" | grep "Bernard" + echo "$output" | grep "Laverne" + echo "$output" | grep -F 'Hoagie+man' +} + +@test "Lists secrets for a repo" { + repo_run git-secrets --list + [ $status -eq 0 ] + echo "$output" | grep -F 'secrets.patterns @todo' + echo "$output" | grep -F 'secrets.patterns forbidden|me' +} + +@test "Adds secrets to a repo and de-dedupes" { + repo_run git-secrets --add 'testing+123' + [ $status -eq 0 ] + repo_run git-secrets --add 'testing+123' + [ $status -eq 1 ] + repo_run git-secrets --add --literal 'testing+abc' + [ $status -eq 0 ] + repo_run git-secrets --add -l 'testing+abc' + [ $status -eq 1 ] + repo_run git-secrets --list + echo "$output" | grep -F 'secrets.patterns @todo' + echo "$output" | grep -F 'secrets.patterns forbidden|me' + echo "$output" | grep -F 'secrets.patterns testing+123' + echo "$output" | grep -F 'secrets.patterns testing\+abc' +} + +@test "Adds allowed patterns to a repo and de-dedupes" { + repo_run git-secrets --add -a 'testing+123' + [ $status -eq 0 ] + repo_run git-secrets --add --allowed 'testing+123' + [ $status -eq 1 ] + repo_run git-secrets --add -a -l 'testing+abc' + [ $status -eq 0 ] + repo_run git-secrets --add -a -l 'testing+abc' + [ $status -eq 1 ] + repo_run git-secrets --list + echo "$output" | grep -F 'secrets.patterns @todo' + echo "$output" | grep -F 'secrets.patterns forbidden|me' + echo "$output" | grep -F 'secrets.allowed testing+123' + echo "$output" | grep -F 'secrets.allowed testing\+abc' +} + +@test "Empty lines must be ignored in .gitallowed files" { + setup_bad_repo + echo '' >> $TEST_REPO/.gitallowed + repo_run git-secrets --scan + [ $status -eq 1 ] +} + +@test "Comment lines must be ignored in .gitallowed files" { + setup_bad_repo_with_hash + repo_run git-secrets --scan + [ $status -eq 1 ] + echo '#hash' > $TEST_REPO/.gitallowed + repo_run git-secrets --scan + [ $status -eq 1 ] + echo 'hash' > $TEST_REPO/.gitallowed + repo_run git-secrets --scan + [ $status -eq 0 ] +} + +@test "Scans all files and allowing none of the bad patterns in .gitallowed" { + setup_bad_repo + echo 'hello' > $TEST_REPO/.gitallowed + repo_run git-secrets --scan + [ $status -eq 1 ] +} + +@test "Scans all files and allowing all bad patterns in .gitallowed" { + setup_bad_repo + echo '@todo' > $TEST_REPO/.gitallowed + echo 'forbidden' >> $TEST_REPO/.gitallowed + echo 'me' >> $TEST_REPO/.gitallowed + repo_run git-secrets --scan + [ $status -eq 0 ] +} + +@test "Adds common AWS patterns" { + repo_run git config --unset-all secrets + repo_run git-secrets --register-aws + git config --local --get secrets.providers + repo_run git-secrets --list + echo "$output" | grep -F '(A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}' + echo "$output" | grep "AKIAIOSFODNN7EXAMPLE" + echo "$output" | grep "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY" +} + +@test "Adds providers" { + repo_run git-secrets --add-provider -- echo foo baz bar + [ $status -eq 0 ] + repo_run git-secrets --add-provider -- echo bam + [ $status -eq 0 ] + repo_run git-secrets --list + echo "$output" | grep -F 'echo foo baz bar' + echo "$output" | grep -F 'echo bam' + echo 'foo baz bar' > $TEST_REPO/bad_file + echo 'bam' >> $TEST_REPO/bad_file + repo_run git-secrets --scan $TEST_REPO/bad_file + [ $status -eq 1 ] + echo "$output" | grep -F 'foo baz bar' + echo "$output" | grep -F 'bam' +} + +@test "Strips providers that return nothing" { + repo_run git-secrets --add-provider -- 'echo' + [ $status -eq 0 ] + repo_run git-secrets --add-provider -- 'echo 123' + [ $status -eq 0 ] + repo_run git-secrets --list + echo "$output" | grep -F 'echo 123' + echo 'foo' > $TEST_REPO/bad_file + repo_run git-secrets --scan $TEST_REPO/bad_file + [ $status -eq 0 ] +} + +@test "--recursive cannot be used with SCAN_*" { + repo_run git-secrets --scan -r --cached + [ $status -eq 1 ] + repo_run git-secrets --scan -r --no-index + [ $status -eq 1 ] + repo_run git-secrets --scan -r --untracked + [ $status -eq 1 ] +} + +@test "--recursive can be used with --scan" { + repo_run git-secrets --scan -r + [ $status -eq 0 ] +} + +@test "--recursive can't be used with --list" { + repo_run git-secrets --list -r + [ $status -eq 1 ] +} + +@test "-f can only be used with --install" { + repo_run git-secrets --scan -f + [ $status -eq 1 ] +} + +@test "-a can only be used with --add" { + repo_run git-secrets --scan -a + [ $status -eq 1 ] +} + +@test "-l can only be used with --add" { + repo_run git-secrets --scan -l + [ $status -eq 1 ] +} + +@test "--cached can only be used with --scan" { + repo_run git-secrets --list --cached + [ $status -eq 1 ] +} + +@test "--no-index can only be used with --scan" { + repo_run git-secrets --list --no-index + [ $status -eq 1 ] +} + +@test "--untracked can only be used with --scan" { + repo_run git-secrets --list --untracked + [ $status -eq 1 ] +} diff --git a/.github/actions/git-secrets/test/pre-commit.bats b/.github/actions/git-secrets/test/pre-commit.bats new file mode 100644 index 00000000000..5ace267cbb3 --- /dev/null +++ b/.github/actions/git-secrets/test/pre-commit.bats @@ -0,0 +1,62 @@ +#!/usr/bin/env bats +load test_helper + +@test "Rejects commits with prohibited patterns in changeset" { + setup_bad_repo + repo_run git-secrets --install $TEST_REPO + cd $TEST_REPO + run git commit -m 'Contents are bad not the message' + [ $status -eq 1 ] + [ "${lines[0]}" == "data.txt:1:@todo more stuff" ] + [ "${lines[1]}" == "failure1.txt:1:another line... forbidden" ] + [ "${lines[2]}" == "failure2.txt:1:me" ] +} + +@test "Rejects commits with prohibited patterns in changeset with filename that contain spaces" { + setup_bad_repo_with_spaces + repo_run git-secrets --install $TEST_REPO + cd $TEST_REPO + run git commit -m 'Contents are bad not the message' + [ $status -eq 1 ] + [ "${lines[0]}" == "da ta.txt:1:@todo more stuff" ] +} + +@test "Scans staged files" { + cd $TEST_REPO + repo_run git-secrets --install $TEST_REPO + echo '@todo more stuff' > $TEST_REPO/data.txt + echo 'hi there' > $TEST_REPO/ok.txt + git add -A + echo 'fixed the working directory, but not staged' > $TEST_REPO/data.txt + run git commit -m 'Contents are bad not the message' + [ $status -eq 1 ] + [ "${lines[0]}" == "data.txt:1:@todo more stuff" ] +} + +@test "Allows commits that do not match prohibited patterns" { + setup_good_repo + repo_run git-secrets --install $TEST_REPO + cd $TEST_REPO + run git commit -m 'This is fine' + [ $status -eq 0 ] + # Ensure deleted files are filtered out of the grep + rm $TEST_REPO/data.txt + echo 'aaa' > $TEST_REPO/data_2.txt + run git add -A + run git commit -m 'This is also fine' + [ $status -eq 0 ] +} + +@test "Rejects commits with prohibited patterns in changeset when AWS provider is enabled" { + setup_bad_repo + repo_run git-secrets --install $TEST_REPO + repo_run git-secrets --register-aws $TEST_REPO + cd $TEST_REPO + run git commit -m 'Contents are bad not the message' + [ $status -eq 1 ] + echo "${lines}" | grep -vq 'git secrets --aws-provider: command not found' + + [ "${lines[0]}" == "data.txt:1:@todo more stuff" ] + [ "${lines[1]}" == "failure1.txt:1:another line... forbidden" ] + [ "${lines[2]}" == "failure2.txt:1:me" ] +} diff --git a/.github/actions/git-secrets/test/prepare-commit-msg.bats b/.github/actions/git-secrets/test/prepare-commit-msg.bats new file mode 100644 index 00000000000..a211c1318a2 --- /dev/null +++ b/.github/actions/git-secrets/test/prepare-commit-msg.bats @@ -0,0 +1,33 @@ +#!/usr/bin/env bats +load test_helper + +@test "Rejects merges with prohibited patterns in history" { + setup_good_repo + repo_run git-secrets --install $TEST_REPO + cd $TEST_REPO + git commit -m 'OK' + git checkout -b feature + echo '@todo' > data.txt + git add -A + git commit -m 'Bad commit' --no-verify + echo 'Fixing!' > data.txt + git add -A + git commit -m 'Fixing commit' + git checkout master + run git merge --no-ff feature + [ $status -eq 1 ] +} + +@test "Allows merges that do not match prohibited patterns" { + setup_good_repo + cd $TEST_REPO + repo_run git-secrets --install + git commit -m 'OK' + git checkout -b feature + echo 'Not bad' > data.txt + git add -A + git commit -m 'Good commit' + git checkout master + run git merge --no-ff feature + [ $status -eq 0 ] +} diff --git a/.github/actions/git-secrets/test/test_helper.bash b/.github/actions/git-secrets/test/test_helper.bash new file mode 100644 index 00000000000..9133e5162ec --- /dev/null +++ b/.github/actions/git-secrets/test/test_helper.bash @@ -0,0 +1,94 @@ +#!/bin/bash +export TEST_REPO="$BATS_TMPDIR/test-repo" +export TEMP_HOME="$BATS_TMPDIR/home" +export TEMPLATE_DIR="${BATS_TMPDIR}/template" +INITIAL_PATH="${PATH}" +INITIAL_HOME=${HOME} + +setup() { + setup_repo + [ -d "${TEMPLATE_DIR}" ] && rm -rf "${TEMPLATE_DIR}" + [ -d "${TEMP_HOME}" ] && rm -rf "${TEMP_HOME}" + mkdir -p $TEMP_HOME + export HOME=$TEMP_HOME + export PATH="${BATS_TEST_DIRNAME}/..:${INITIAL_PATH}" + cd $TEST_REPO +} + +teardown() { + delete_repo + export PATH="${INITIAL_PATH}" + export HOME="${INITIAL_HOME}" + [ -d "${TEMP_HOME}" ] && rm -rf "${TEMP_HOME}" +} + +delete_repo() { + [ -d $TEST_REPO ] && rm -rf $TEST_REPO || true +} + +setup_repo() { + delete_repo + mkdir -p $TEST_REPO + cd $TEST_REPO + git init + git config --local --add secrets.patterns '@todo' + git config --local --add secrets.patterns 'forbidden|me' + git config --local --add secrets.patterns '#hash' + git config --local user.email "you@example.com" + git config --local user.name "Your Name" + cd - +} + +repo_run() { + cmd="$1" + shift + cd "${TEST_REPO}" + run "${BATS_TEST_DIRNAME}/../${cmd}" $@ + cd - +} + +# Creates a repo that should fail +setup_bad_repo() { + cd $TEST_REPO + echo '@todo more stuff' > $TEST_REPO/data.txt + echo 'hi there' > $TEST_REPO/ok.txt + echo 'another line... forbidden' > $TEST_REPO/failure1.txt + echo 'me' > $TEST_REPO/failure2.txt + git add -A + cd - +} + +# Creates a repo that should fail +setup_bad_repo_with_spaces() { + cd $TEST_REPO + echo '@todo more stuff' > "$TEST_REPO/da ta.txt" + git add -A + cd - +} + +# Creates a repo that should fail +setup_bad_repo_with_hash() { + cd $TEST_REPO + echo '#hash' > "$TEST_REPO/data.txt" + git add -A + cd - +} + +# Creates a repo that should fail +setup_bad_repo_history() { + cd $TEST_REPO + echo '@todo' > $TEST_REPO/history_failure.txt + git add -A + git commit -m "Testing history" + echo 'todo' > $TEST_REPO/history_failure.txt + git add -A + cd - +} + +# Creates a repo that does not fail +setup_good_repo() { + cd $TEST_REPO + echo 'hello!' > $TEST_REPO/data.txt + git add -A + cd - +} diff --git a/.github/actions/reliable-pull-request/LICENSE b/.github/actions/reliable-pull-request/LICENSE new file mode 100644 index 00000000000..ade79f7960a --- /dev/null +++ b/.github/actions/reliable-pull-request/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 Josiah Siegel + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/.github/actions/reliable-pull-request/README.md b/.github/actions/reliable-pull-request/README.md new file mode 100644 index 00000000000..52650c0c493 --- /dev/null +++ b/.github/actions/reliable-pull-request/README.md @@ -0,0 +1,83 @@ +# Reliable* Pull Request Action + +> *Only uses built-in GitHub runner commands + +[![Test Action](https://github.com/CDCgov/prime-reportstream/.github/workflows/reliable-pull-request--test-action.yml/badge.svg)](https://github.com/CDCgov/prime-reportstream/.github/workflows/reliable-pull-request--test-action.yml) + +## Synopsis + +1. Create a pull request on a GitHub repository using existing branches. +2. [actions/checkout](https://github.com/actions/checkout) determins the active repo. + +## Usage + +```yml +jobs: + create-pr: + name: Test create PR on ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest] + steps: + - name: Checkout the repo + uses: actions/checkout@v4.1.1 + + - name: Create Pull Request + id: create_pr + uses: CDCgov/prime-reportstream/.github/actions/reliable-pull-request@ae8d0c88126329ee363a35392793d0bc94cb82e7 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + title: 'Automated Pull Request' + sourceBranch: ${{ github.ref_name }} + targetBranch: 'main' + body: 'This is an automated pull request.' + labels: 'automated,pr' + assignees: 'octocat' + + - name: Output PR URL + run: echo "The PR URL is ${{ steps.create_pr.outputs.PRURL }}" +``` + +## Inputs + +```yml +inputs: + title: + description: 'Pull Request Title' + required: true + sourceBranch: + description: 'Source Branch Name' + required: true + targetBranch: + description: 'Target Branch Name' + required: true + body: + description: 'Pull Request Body' + required: false + labels: + description: 'Labels (comma-separated)' + required: false + assignees: + description: 'Assignees (comma-separated)' + required: false +``` + +## Outputs +```yml +outputs: + PRURL: + description: 'The URL of the created pull request' +``` + +## Requirements + +The following permissions must be set for the repository: + * `Settings > Actions > General` + * Workflow permissions + 1. Read and write permissions + 2. Allow GitHub Actions to create and approve pull requests + 3. Save + +>*Alternative is to set [jobs..permissions](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idpermissions)* diff --git a/.github/actions/reliable-pull-request/action.yml b/.github/actions/reliable-pull-request/action.yml new file mode 100644 index 00000000000..4fcda57b318 --- /dev/null +++ b/.github/actions/reliable-pull-request/action.yml @@ -0,0 +1,42 @@ +name: Reliable Pull Request Action +description: Creates a pull request on a GitHub repository using existing branches +branding: + icon: 'git-pull-request' + color: 'blue' +inputs: + title: + description: 'Pull Request Title' + required: true + sourceBranch: + description: 'Source Branch Name' + required: true + targetBranch: + description: 'Target Branch Name' + required: true + body: + description: 'Pull Request Body' + required: false + labels: + description: 'Labels (comma-separated)' + required: false + assignees: + description: 'Assignees (comma-separated)' + required: false +outputs: + PRURL: + description: 'The URL of the created pull request' + value: ${{ steps.create_pr.outputs.PR_URL }} +runs: + using: 'composite' + steps: + - name: Create Pull Request + id: create_pr + shell: bash + run: bash ${{github.action_path}}/create-pr.sh + env: + INPUT_TITLE: ${{ inputs.title }} + INPUT_SOURCEBRANCH: ${{ inputs.sourceBranch }} + INPUT_TARGETBRANCH: ${{ inputs.targetBranch }} + INPUT_BODY: ${{ inputs.body }} + INPUT_LABELS: ${{ inputs.labels }} + INPUT_ASSIGNEES: ${{ inputs.assignees }} diff --git a/.github/actions/reliable-pull-request/create-pr.sh b/.github/actions/reliable-pull-request/create-pr.sh new file mode 100644 index 00000000000..c6046c0582d --- /dev/null +++ b/.github/actions/reliable-pull-request/create-pr.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +# Create Pull Request and capture the output +PR_OUTPUT=$(gh pr create \ + --title "$INPUT_TITLE" \ + --body "$INPUT_BODY" \ + --base "$INPUT_TARGETBRANCH" \ + --head "$INPUT_SOURCEBRANCH" \ + --label "$INPUT_LABELS" \ + --assignee "$INPUT_ASSIGNEES" 2>&1) + +# Extract PR URL from the output +PR_URL=$(echo "$PR_OUTPUT" | grep -o 'https://github.com/[^ ]*') + +# Set the PR URL as the output +echo "PR_URL=$PR_URL" >> $GITHUB_OUTPUT diff --git a/.github/actions/remote-branch/LICENSE b/.github/actions/remote-branch/LICENSE new file mode 100644 index 00000000000..ade79f7960a --- /dev/null +++ b/.github/actions/remote-branch/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 Josiah Siegel + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/.github/actions/remote-branch/README.md b/.github/actions/remote-branch/README.md new file mode 100644 index 00000000000..af36d8f980a --- /dev/null +++ b/.github/actions/remote-branch/README.md @@ -0,0 +1,106 @@ +# Remote Branch Action + +## Synopsis + +1. Create a branch on a remote repository. +2. [actions/checkout](https://github.com/actions/checkout) determins the active repo. + +## Usage + +### Single repo +```yml +jobs: + create-branch-action: + name: Create branch + runs-on: ubuntu-latest + steps: + - name: Checkout repo + uses: actions/checkout@v4 + + - name: Create branch + uses: CDCgov/prime-reportstream/.github/actions/remote-branch@v1.0.1 + with: + branch: new-branch +``` +### Single alternative repo +```yml +jobs: + create-branch-action: + name: Create branch + runs-on: ubuntu-latest + steps: + - name: Checkout repo + uses: actions/checkout@v4 + + - name: Checkout alt repo + uses: actions/checkout@v4 + with: + sparse-checkout: . + repository: me/alt-repo + token: ${{ secrets.ALT_REPO_TOKEN }} + path: alt-repo + + - name: Create branch on alt repo + uses: CDCgov/prime-reportstream/.github/actions/remote-branch@v1.0.1 + with: + branch: new-branch-alt-repo + path: alt-repo +``` +### Multiple repos +```yml +jobs: + create-branch-action: + name: Create branch + runs-on: ubuntu-latest + steps: + - name: Checkout repo + uses: actions/checkout@v4 + + - name: Checkout second repo + uses: actions/checkout@v4 + with: + sparse-checkout: . + repository: me/second-repo + token: ${{ secrets.SECONDARY_REPO_TOKEN }} + path: second-repo + + - name: Create branch + id: create-branch-action + uses: CDCgov/prime-reportstream/.github/actions/remote-branch@v1.0.1 + with: + branch: new-branch + + - name: Create branch on second repo + id: create-branch-action-second-repo + uses: CDCgov/prime-reportstream/.github/actions/remote-branch@v1.0.1 + with: + branch: new-branch-second-repo + path: second-repo + + - name: Get create branch status + run: echo ${{ steps.create-branch-action.outputs.create-status }} + + - name: Get create branch status on second repo + run: echo ${{ steps.create-branch-action-second-repo.outputs.create-status }} +``` + +## Inputs + +```yml +inputs: + branch: + description: Branch name + required: true + path: + description: Relative path under $GITHUB_WORKSPACE to place the repository + required: false + default: '.' +``` + +## Outputs +```yml +outputs: + create-status: + description: Branch creation status + value: ${{ steps.create-branch.outputs.create_status }} +``` diff --git a/.github/actions/remote-branch/action.yml b/.github/actions/remote-branch/action.yml new file mode 100644 index 00000000000..215d2203407 --- /dev/null +++ b/.github/actions/remote-branch/action.yml @@ -0,0 +1,61 @@ +# action.yml +name: Remote Branch Action +description: Create and manage a remote branch +branding: + icon: 'git-branch' + color: 'blue' +inputs: + branch: + description: Branch name + required: true + path: + description: Relative path under $GITHUB_WORKSPACE to place the repository + required: false + default: '.' +outputs: + create-status: + description: Branch creation status + value: ${{ steps.create-branch.outputs.create_status }} + +runs: + using: "composite" + steps: + + - name: Create branch + id: create-branch + working-directory: ${{ inputs.path }} + shell: bash + run: | + # Assign the arguments to variables + branch_name=${{ inputs.branch }} + + # Create a new branch locally + git checkout -b $branch_name + + # Check if the branch exists on the remote + check_status=$(git ls-remote --heads origin $branch_name | wc -l) + + # Check if the branch does not exist on the remote + if [ $check_status -eq 0 ]; then + # Push the new branch to the remote repository using the token + git push -u origin $branch_name + + # Store the status of the push command + status=$? + + # Check if the push was successful + if [ $status -eq 0 ]; then + # Print a success message + echo "Branch $branch_name created and pushed" + else + # Print an error message + echo "Branch creation failed with status $status" + status="Branch creation failed with status $status" + fi + else + # Print a message that the branch already exists on the remote + echo "Branch $branch_name already exists" + status="Branch $branch_name already exists" + fi + + echo "create_status=$status" >> $GITHUB_OUTPUT diff --git a/.github/actions/runleaks/.gitignore b/.github/actions/runleaks/.gitignore new file mode 100644 index 00000000000..47b70ae9777 --- /dev/null +++ b/.github/actions/runleaks/.gitignore @@ -0,0 +1,4 @@ +.git +_git +.github +_github diff --git a/.github/actions/runleaks/Dockerfile b/.github/actions/runleaks/Dockerfile new file mode 100644 index 00000000000..cb3b4e0ccb1 --- /dev/null +++ b/.github/actions/runleaks/Dockerfile @@ -0,0 +1,8 @@ +FROM cgr.dev/chainguard/wolfi-base:latest +RUN apk add git gh make parallel jq + +COPY git-secrets /git-secrets +RUN make -C /git-secrets install +COPY lib/* / + +ENTRYPOINT ["bash", "/scan.sh"] diff --git a/.github/actions/runleaks/LICENSE b/.github/actions/runleaks/LICENSE new file mode 100644 index 00000000000..251ac3d0313 --- /dev/null +++ b/.github/actions/runleaks/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2023 Josiah Siegel + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/.github/actions/runleaks/README.md b/.github/actions/runleaks/README.md new file mode 100644 index 00000000000..d86f92d2062 --- /dev/null +++ b/.github/actions/runleaks/README.md @@ -0,0 +1,163 @@ +# runleaks + +[![Scan Action Logs](https://github.com/CDCgov/prime-reportstream/.github/workflows/runleaks--main.yml/badge.svg?branch=main)](https://github.com/CDCgov/prime-reportstream/.github/workflows/runleaks--main.yml) + +Leverages [git-secrets](https://github.com/awslabs/git-secrets) to identify potential leaks in GitHub action run logs. + + * Common Azure and Google Cloud patterns are available, thanks to fork [msalemcode/git-secrets](https://github.com/msalemcode/git-secrets). + + +## Inputs +```yml + github-token: + description: 'Token used to login to GitHub' + required: true + repo: + description: 'Repo to scan run logs for exceptions' + required: false + default: ${{ github.repository }} + run-limit: + description: 'Limit on how many runs to scan' + required: false + default: '50' + min-days-old: + description: 'Min age of runs in days' + required: false + default: '0' + max-days-old: + description: 'Max age of runs in days' + required: false + default: '3' + patterns-path: + description: 'Patterns file path' + required: false + default: ".runleaks/patterns.txt" + exclusions-path: + description: 'Excluded patterns file path' + required: false + default: ".runleaks/exclusions.txt" + fail-on-leak: + description: 'Fail action if leak is found' + required: false + default: true +``` + +## Outputs +```yml + exceptions: + description: 'Json output of run logs with exceptions' + count: + description: 'Count of exceptions' +``` + +## Usage + * Note: [GitHub rate limits](#rate-limits) +```yml + - name: Checkout + uses: actions/checkout@v3 + - name: Scan run logs + uses: josiahsiegel/runleaks@4dd30d107c03b6ade87978e10c94a77015e488f9 + id: scan + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + run-limit: 500 + fail-on-leak: false + - name: Get scan exceptions + if: steps.scan.outputs.count > 0 + run: echo "${{ steps.scan.outputs.exceptions }}" +``` +or +```yml + - name: Checkout + uses: actions/checkout@v3 + - name: Scan run logs + uses: josiahsiegel/runleaks@4dd30d107c03b6ade87978e10c94a77015e488f9 + id: scan + with: + github-token: ${{ secrets.MY_TOKEN }} + patterns-path: ".github/patterns.txt" + exclusions-path: ".github/exclusions.txt" + fail-on-leak: false + - name: Get scan exceptions + if: steps.scan.outputs.count > 0 + run: echo "${{ steps.scan.outputs.exceptions }}" +``` +or +```yml + - name: Checkout + uses: actions/checkout@v3 + with: + repository: 'me/my-repo' + - name: Scan run logs + uses: josiahsiegel/runleaks@4dd30d107c03b6ade87978e10c94a77015e488f9 + id: scan + with: + github-token: ${{ secrets.MY_TOKEN }} + repo: 'me/my-repo' + run-limit: 200 + min-days-old: 0 + max-days-old: 4 + fail-on-leak: true +``` + +## Local testing + * Registers default patterns +```sh +git clone https://github.com/CDCgov/prime-reportstream/.github/actions/runleaks.git +cd runleaks/ +docker build -t runleaks . +docker run scan "" "" +``` + +## Pattern file + * Default location: `.runleaks/patterns.txt` + +``` +#################################################################### + +# Register a secret provider +#--register-azure +#--register-gcp +--register-aws + +#################################################################### + +# Add a prohibited pattern +--add [A-Z0-9]{20} +--add Account[k|K]ey +--add Shared[a|A]ccessSignature + +#################################################################### + +# Add a string that is scanned for literally (+ is escaped): +--add --literal foo+bar + +#################################################################### +``` + +## Exclusion file + * Default location: `.runleaks/exclusions.txt` +``` +#################################################################### + +# Add regular expressions patterns to filter false positives. + +# Allow GUID +("|')[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}("|') + +#################################################################### +``` + +## Performance + + * Scan 50 runs = 1 min + + * Scan 500 runs = 8 mins + +* Scan 3000 runs = 50 mins + +## Rate limits + +Built-in secret `GITHUB_TOKEN` is [limited to 1,000 requests per hour per repository](https://docs.github.com/en/rest/overview/resources-in-the-rest-api#requests-from-github-actions). + +To avoid repo-wide rate limiting, personal access tokens can be added to secrets, which are [limited to 5,000 requests per hour and per authenticated user](https://docs.github.com/en/rest/overview/resources-in-the-rest-api#requests-from-personal-accounts). diff --git a/.github/actions/runleaks/action.yml b/.github/actions/runleaks/action.yml new file mode 100644 index 00000000000..d431caf1cf6 --- /dev/null +++ b/.github/actions/runleaks/action.yml @@ -0,0 +1,55 @@ +# action.yml +name: 'runleaks' +description: 'Identify potential leaks in GitHub action logs' +branding: + icon: 'search' + color: 'red' +inputs: + github-token: + description: 'Token used to login to GitHub' + required: true + repo: + description: 'Repo to scan run logs for exceptions' + required: false + default: ${{ github.repository }} + run-limit: + description: 'Limit on how many runs to scan' + required: false + default: '100' + min-days-old: + description: 'Min age of runs in days' + required: false + default: '0' + max-days-old: + description: 'Max age of runs in days' + required: false + default: '3' + patterns-path: + description: 'Patterns file path' + required: false + default: ".github/runleaks/patterns.txt" + exclusions-path: + description: 'Excluded patterns file path' + required: false + default: ".github/runleaks/exclusions.txt" + fail-on-leak: + description: 'Fail action if leak is found' + required: false + default: true +outputs: + exceptions: + description: 'Json output of run logs with exceptions' + count: + description: 'Count of exceptions' +runs: + using: 'docker' + image: 'Dockerfile' + args: + - ${{ inputs.github-token }} + - ${{ inputs.repo }} + - ${{ inputs.run-limit }} + - ${{ inputs.min-days-old }} + - ${{ inputs.max-days-old }} + - ${{ inputs.patterns-path }} + - ${{ inputs.exclusions-path }} + - ${{ inputs.fail-on-leak }} diff --git a/.github/actions/runleaks/git-secrets/.pre-commit-hooks.yaml b/.github/actions/runleaks/git-secrets/.pre-commit-hooks.yaml new file mode 100644 index 00000000000..d313836246f --- /dev/null +++ b/.github/actions/runleaks/git-secrets/.pre-commit-hooks.yaml @@ -0,0 +1,5 @@ +- id: git-secrets + name: Git Secrets + description: git-secrets scans commits, commit messages, and --no-ff merges to prevent adding secrets into your git repositories. + entry: 'git-secrets --pre_commit_hook' + language: script diff --git a/.github/actions/runleaks/git-secrets/CHANGELOG.md b/.github/actions/runleaks/git-secrets/CHANGELOG.md new file mode 100644 index 00000000000..cfcae4e818c --- /dev/null +++ b/.github/actions/runleaks/git-secrets/CHANGELOG.md @@ -0,0 +1,49 @@ +# CHANGELOG + +## 1.3.0 - 2019-02-10 + +* Empty provider output is now excluded + (https://github.com/awslabs/git-secrets/issues/34) +* Spaces are now supported in git exec path, making more Windows + paths execute properly. +* Patterns with newlines and carriage returns are now loaded properly. +* Patterns that contain only "\n" are now ignored. +* Various Bash 4 fixes (https://github.com/awslabs/git-secrets/issues/66). +* Make IAM key scanning much more targeted. + +## 1.2.1 - 2016-06-27 + +* Fixed an issue where secret provider commands were causing "command not + found" errors due to a previously set IFS variable. + https://github.com/awslabs/git-secrets/pull/30 + +## 1.2.0 - 2016-05-23 + +* Fixed an issue where spaces files with spaces in their names were not being + properly scanned in the pre-commit hook. +* Now ignoring empty lines and comments (e.g., `#`) in the .gitallowed file. +* Fixed an issue where numbers were being compared to strings causing failures + on some platforms. + +## 1.1.0 - 2016-04-06 + +* Bug fix: the pre-commit hook previously only scanned the working directory + rather than staged files. This release updates the pre-commit hook to instead + scan staged files so that git-secrets will detect violations if the working + directory drifts from the staging directory. +* Added the `--scan-history` subcommand so that you can scan your entire + git history for violations. +* Added the ability to filter false positives by using a .gitallowed file. +* Added support for `--cached`, `--no-index`, and `--untracked` to the `--scan` + subcommand. + +## 1.0.1 - 2016-01-11 + +* Now works correctly with filenames in a repository that contain spaces when + executing `git secrets --scan` with no provided filename (via `git grep`). +* Now works with git repositories with hundreds of thousands of files when + using `git secrets --scan` with no provided filename (via `git grep`). + +## 1.0.0 - 2015-12-10 + +* Initial release of ``git-secrets``. diff --git a/.github/actions/runleaks/git-secrets/CODE_OF_CONDUCT.md b/.github/actions/runleaks/git-secrets/CODE_OF_CONDUCT.md new file mode 100644 index 00000000000..3b64466870c --- /dev/null +++ b/.github/actions/runleaks/git-secrets/CODE_OF_CONDUCT.md @@ -0,0 +1,4 @@ +## Code of Conduct +This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct). +For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact +opensource-codeofconduct@amazon.com with any additional questions or comments. diff --git a/.github/actions/runleaks/git-secrets/CONTRIBUTING.md b/.github/actions/runleaks/git-secrets/CONTRIBUTING.md new file mode 100644 index 00000000000..de6d3d38075 --- /dev/null +++ b/.github/actions/runleaks/git-secrets/CONTRIBUTING.md @@ -0,0 +1,61 @@ +# Contributing Guidelines + +Thank you for your interest in contributing to our project. Whether it's a bug report, new feature, correction, or additional +documentation, we greatly value feedback and contributions from our community. + +Please read through this document before submitting any issues or pull requests to ensure we have all the necessary +information to effectively respond to your bug report or contribution. + + +## Reporting Bugs/Feature Requests + +We welcome you to use the GitHub issue tracker to report bugs or suggest features. + +When filing an issue, please check [existing open](https://github.com/awslabs/git-secrets/issues), or [recently closed](https://github.com/awslabs/git-secrets/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aclosed%20), issues to make sure somebody else hasn't already +reported the issue. Please try to include as much information as you can. Details like these are incredibly useful: + +* A reproducible test case or series of steps +* The version of our code being used +* Any modifications you've made relevant to the bug +* Anything unusual about your environment or deployment + + +## Contributing via Pull Requests +Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that: + +1. You are working against the latest source on the *master* branch. +2. You check existing open, and recently merged, pull requests to make sure someone else hasn't addressed the problem already. +3. You open an issue to discuss any significant work - we would hate for your time to be wasted. + +To send us a pull request, please: + +1. Fork the repository. +2. Modify the source; please focus on the specific change you are contributing. If you also reformat all the code, it will be hard for us to focus on your change. +3. Ensure local tests pass. +4. Commit to your fork using clear commit messages. +5. Send us a pull request, answering any default questions in the pull request interface. +6. Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation. + +GitHub provides additional document on [forking a repository](https://help.github.com/articles/fork-a-repo/) and +[creating a pull request](https://help.github.com/articles/creating-a-pull-request/). + + +## Finding contributions to work on +Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels ((enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any ['help wanted'](https://github.com/awslabs/git-secrets/labels/help%20wanted) issues is a great place to start. + + +## Code of Conduct +This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct). +For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact +opensource-codeofconduct@amazon.com with any additional questions or comments. + + +## Security issue notifications +If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/). Please do **not** create a public github issue. + + +## Licensing + +See the [LICENSE](https://github.com/awslabs/git-secrets/blob/master/LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution. + +We may ask you to sign a [Contributor License Agreement (CLA)](http://en.wikipedia.org/wiki/Contributor_License_Agreement) for larger changes. diff --git a/.github/actions/runleaks/git-secrets/LICENSE.txt b/.github/actions/runleaks/git-secrets/LICENSE.txt new file mode 100644 index 00000000000..de96b9473c9 --- /dev/null +++ b/.github/actions/runleaks/git-secrets/LICENSE.txt @@ -0,0 +1,208 @@ + + 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. + +Note: Other license terms may apply to certain, identified software files +contained within or distributed with the accompanying software if such terms +are included in the directory containing the accompanying software. Such other +license terms will then apply in lieu of the terms of the software license +above. diff --git a/.github/actions/runleaks/git-secrets/Makefile b/.github/actions/runleaks/git-secrets/Makefile new file mode 100644 index 00000000000..a67eee2dd23 --- /dev/null +++ b/.github/actions/runleaks/git-secrets/Makefile @@ -0,0 +1,25 @@ +PREFIX ?= /usr/local +MANPREFIX ?= "${PREFIX}/share/man/man1" + +help: + @echo "Please use \`make ' where is one of" + @echo " test to perform unit tests." + @echo " man to build the man file from README.rst" + @echo " install to install. Use PREFIX and MANPREFIX to customize." + +# We use bats for testing: https://github.com/sstephenson/bats +test: + LANG=C test/bats/bin/bats test/ + +# The man page is completely derived from README.rst. Edits to +# README.rst require a rebuild of the man page. +man: + rst2man.py README.rst > git-secrets.1 + +install: + @mkdir -p ${DESTDIR}${MANPREFIX} + @mkdir -p ${DESTDIR}${PREFIX}/bin + @cp -f git-secrets ${DESTDIR}${PREFIX}/bin + @cp -f git-secrets.1 ${DESTDIR}${MANPREFIX} + +.PHONY: help test man diff --git a/.github/actions/runleaks/git-secrets/NOTICE.txt b/.github/actions/runleaks/git-secrets/NOTICE.txt new file mode 100644 index 00000000000..a5e5da9ba01 --- /dev/null +++ b/.github/actions/runleaks/git-secrets/NOTICE.txt @@ -0,0 +1,6 @@ +git-secrets +Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. + +bats +This product bundles bats, which is available under a "MIT" license. +For details, see test/bats. diff --git a/.github/actions/runleaks/git-secrets/README.rst b/.github/actions/runleaks/git-secrets/README.rst new file mode 100644 index 00000000000..1be1691ab8a --- /dev/null +++ b/.github/actions/runleaks/git-secrets/README.rst @@ -0,0 +1,565 @@ +=========== +git-secrets +=========== + +------------------------------------------------------------------------------------------- +Prevent committing AWS , AZURE and GCP sensitive creds to a git repository. +------------------------------------------------------------------------------------------- + +.. contents:: :depth: 2 + +Synopsis +-------- + +:: + + git secrets --scan [-r|--recursive] [--cached] [--no-index] [--untracked] [...] + git secrets --scan-history + git secrets --install [-f|--force] [] + git secrets --list [--global] + git secrets --add [-a|--allowed] [-l|--literal] [--global] + git secrets --add-provider [--global] [arguments...] + git secrets --register-aws [--global] + git secrets --register-gcp [--global] + git secrets --register-azure [--global] + git secrets --aws-provider [] + + +Description +----------- + +``git-secrets`` scans commits, commit messages, and ``--no-ff`` merges to +prevent adding secrets into your git repositories. If a commit, +commit message, or any commit in a ``--no-ff`` merge history matches one of +your configured prohibited regular expression patterns, then the commit is +rejected. + + +Installing git-secrets +---------------------- + +``git-secrets`` must be placed somewhere in your PATH so that it is picked up +by ``git`` when running ``git secrets``. + +\*nix (Linux/macOS) +~~~~~~~~~~~~~~~~~~~ + +You can use the ``install`` target of the provided Makefile to install ``git secrets`` and the man page. +You can customize the install path using the PREFIX and MANPREFIX variables. + +:: + + make install + +Windows +~~~~~~~ + +Run the provided ``install.ps1`` powershell script. This will copy the needed files +to an installation directory (``%USERPROFILE%/.git-secrets`` by default) and add +the directory to the current user ``PATH``. + +:: + + PS > ./install.ps1 + +Homebrew (for macOS users) +~~~~~~~~~~~~~~~~~~~~~~~~~~ + +:: + + brew install git-secrets + +.. warning:: + + You're not done yet! You MUST install the git hooks for every repo that + you wish to use with ``git secrets --install``. + +Here's a quick example of how to ensure a git repository is scanned for secrets +on each commit:: + + cd /path/to/my/repo + git secrets --install + git secrets --register-aws + git secrets --register-azure + git secrets --register-gcp + + +Advanced configuration +---------------------- + +Add a configuration template if you want to add hooks to all repositories you +initialize or clone in the future. + +:: + + git secrets --register-(aws/azure/gcp) --global + + +Add hooks to all your local repositories. + +:: + + git secrets --install ~/.git-templates/git-secrets + git config --global init.templateDir ~/.git-templates/git-secrets + + +Add custom providers to scan for security credentials. + +:: + + git secrets --add-provider -- cat /path/to/secret/file/patterns + + +Before making public a repository +--------------------------------- + +With git-secrets is also possible to scan a repository including all revisions: + +:: + + git secrets --scan-history + + +Options +------- + +Operation Modes +~~~~~~~~~~~~~~~ + +Each of these options must appear first on the command line. + +``--install`` + Installs git hooks for a repository. Once the hooks are installed for a git + repository, commits and non-fast-forward merges for that repository will be prevented + from committing secrets. + +``--scan`` + Scans one or more files for secrets. When a file contains a secret, the + matched text from the file being scanned will be written to stdout and the + script will exit with a non-zero status. Each matched line will be written with + the name of the file that matched, a colon, the line number that matched, + a colon, and then the line of text that matched. If no files are provided, + all files returned by ``git ls-files`` are scanned. + +``--scan-history`` + Scans repository including all revisions. When a file contains a secret, the + matched text from the file being scanned will be written to stdout and the + script will exit with a non-zero status. Each matched line will be written with + the name of the file that matched, a colon, the line number that matched, + a colon, and then the line of text that matched. + +``--list`` + Lists the ``git-secrets`` configuration for the current repo or in the global + git config. + +``--add`` + Adds a prohibited or allowed pattern. + +``--add-provider`` + Registers a secret provider. Secret providers are executables that when + invoked output prohibited patterns that ``git-secrets`` should treat as + prohibited. + +``--register-aws`` + Adds common AWS patterns to the git config and ensures that keys present + in ``~/.aws/credentials`` are not found in any commit. The following + checks are added: + + - AWS Access Key IDs via ``(A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}`` + - AWS Secret Access Key assignments via ":" or "=" surrounded by optional + quotes + - AWS account ID assignments via ":" or "=" surrounded by optional quotes + - Allowed patterns for example AWS keys (``AKIAIOSFODNN7EXAMPLE`` and + ``wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY``) + - Known credentials from ``~/.aws/credentials`` + + .. note:: + + While the patterns registered by this command should catch most + instances of AWS credentials, these patterns are **not** guaranteed to + catch them **all**. ``git-secrets`` should be used as an extra means of + insurance -- you still need to do your due diligence to ensure that you + do not commit credentials to a repository. + +``--register-gcp`` + Secret provider which scans files for Google Cloud Platform's (GCP's) crentials JSON files. + +``--register-azure`` + Secret provider which scans files for AZURE credentials + + +``--aws-provider`` + Secret provider that outputs credentials found in an INI file. You can + optionally provide the path to an INI file. + + +Options for ``--install`` +~~~~~~~~~~~~~~~~~~~~~~~~~ + +``-f, --force`` + Overwrites existing hooks if present. + +```` + When provided, installs git hooks to the given directory. The current + directory is assumed if ```` is not provided. + + If the provided ```` is not in a git repository, the + directory will be created and hooks will be placed in + ``/hooks``. This can be useful for creating git template + directories using with ``git init --template ``. + + You can run ``git init`` on a repository that has already been initialized. + From the `git init documentation `_: + + From the git documentation: Running ``git init`` in an existing repository + is safe. It will not overwrite things that are already there. The + primary reason for rerunning ``git init`` is to pick up newly added + templates (or to move the repository to another place if + ``--separate-git-dir`` is given). + + The following git hooks are installed: + + 1. ``pre-commit``: Used to check if any of the files changed in the commit + use prohibited patterns. + 2. ``commit-msg``: Used to determine if a commit message contains a + prohibited patterns. + 3. ``prepare-commit-msg``: Used to determine if a merge commit will + introduce a history that contains a prohibited pattern at any point. + Please note that this hook is only invoked for non fast-forward merges. + + .. note:: + + Git only allows a single script to be executed per hook. If the + repository contains Debian-style subdirectories like ``pre-commit.d`` + and ``commit-msg.d``, then the git hooks will be installed into these + directories, which assumes that you've configured the corresponding + hooks to execute all of the scripts found in these directories. If + these git subdirectories are not present, then the git hooks will be + installed to the git repo's ``.git/hooks`` directory. + + +Examples +^^^^^^^^ + +Install git hooks to the current directory:: + + cd /path/to/my/repository + git secrets --install + +Install git hooks to a repository other than the current directory:: + + git secrets --install /path/to/my/repository + +Create a git template that has ``git-secrets`` installed, and then copy that +template into a git repository:: + + git secrets --install ~/.git-templates/git-secrets + git init --template ~/.git-templates/git-secrets + +Overwrite existing hooks if present:: + + git secrets --install -f + + +Options for ``--scan`` +~~~~~~~~~~~~~~~~~~~~~~ + +``-r, --recursive`` + Scans the given files recursively. If a directory is encountered, the + directory will be scanned. If ``-r`` is not provided, directories will be + ignored. + + ``-r`` cannot be used alongside ``--cached``, ``--no-index``, or + ``--untracked``. + +``--cached`` + Searches blobs registered in the index file. + +``--no-index`` + Searches files in the current directory that is not managed by git. + +``--untracked`` + In addition to searching in the tracked files in the working tree, + ``--scan`` also in untracked files. + +``...`` + The path to one or more files on disk to scan for secrets. + + If no files are provided, all files returned by ``git ls-files`` are + scanned. + + +Examples +^^^^^^^^ + +Scan all files in the repo:: + + git secrets --scan + +Scans a single file for secrets:: + + git secrets --scan /path/to/file + +Scans a directory recursively for secrets:: + + git secrets --scan -r /path/to/directory + +Scans multiple files for secrets:: + + git secrets --scan /path/to/file /path/to/other/file + +You can scan by globbing:: + + git secrets --scan /path/to/directory/* + +Scan from stdin:: + + echo 'hello!' | git secrets --scan - + + +Options for ``--list`` +~~~~~~~~~~~~~~~~~~~~~~ + +``--global`` + Lists only git-secrets configuration in the global git config. + + +Options for ``--add`` +~~~~~~~~~~~~~~~~~~~~~ + +``--global`` + Adds patterns to the global git config + +``-l, --literal`` + Escapes special regular expression characters in the provided pattern so + that the pattern is searched for literally. + +``-a, --allowed`` + Mark the pattern as allowed instead of prohibited. Allowed patterns are + used to filter our false positives. + +```` + The regex pattern to search. + + +Examples +^^^^^^^^ + +Adds a prohibited pattern to the current repo:: + + git secrets --add '[A-Z0-9]{20}' + +Adds a prohibited pattern to the global git config:: + + git secrets --add --global '[A-Z0-9]{20}' + +Adds a string that is scanned for literally (``+`` is escaped):: + + git secrets --add --literal 'foo+bar' + +Add an allowed pattern:: + + git secrets --add -a 'allowed pattern' + + +Options for ``--register-aws`` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +``--global`` + Adds AWS specific configuration variables to the global git config. + +Options for ``--register-gcp`` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +``--global`` + Adds GCP specific configuration variables to the global git config. + +Options for ``--register-azure`` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +``--global`` + Adds AZURE specific configuration variables to the global git config. + +Options for ``--aws-provider`` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +``[]`` + If provided, specifies the custom path to an INI file to scan. If not + provided, ``~/.aws/credentials`` is assumed. + + +Options for ``--add-provider`` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +``--global`` + Adds the provider to the global git config. + +```` + Provider command to invoke. When invoked the command is expected to write + prohibited patterns separated by new lines to stdout. Any extra arguments + provided are passed on to the command. + + +Examples +^^^^^^^^ + +Registers a secret provider with arguments:: + + git secrets --add-provider -- git secrets --aws-provider + +Cats secrets out of a file:: + + git secrets --add-provider -- cat /path/to/secret/file/patterns + + +Defining prohibited patterns +---------------------------- + +``egrep``-compatible regular expressions are used to determine if a commit or +commit message contains any prohibited patterns. These regular expressions are +defined using the ``git config`` command. It is important to note that +different systems use different versions of egrep. For example, when running on +macOS, you will use a different version of ``egrep`` than when running on something +like Ubuntu (BSD vs GNU). + +You can add prohibited regular expression patterns to your git config using +``git secrets --add ``. + + +Ignoring false positives +------------------------ + +Sometimes a regular expression might match false positives. For example, git +commit SHAs look a lot like AWS access keys. You can specify many different +regular expression patterns as false positives using the following command: + +:: + + git secrets --add --allowed 'my regex pattern' + +You can also add regular expressions patterns to filter false positives to a +``.gitallowed`` file located in the repository's root directory. Lines starting +with ``#`` are skipped (comment line) and empty lines are also skipped. + +First, git-secrets will extract all lines from a file that contain a prohibited +match. Included in the matched results will be the full path to the name of +the file that was matched, followed by ':', followed by the line number that was +matched, followed by the entire line from the file that was matched by a secret +pattern. Then, if you've defined allowed regular expressions, git-secrets will +check to see if all of the matched lines match at least one of your registered +allowed regular expressions. If all of the lines that were flagged as secret +are canceled out by an allowed match, then the subject text does not contain +any secrets. If any of the matched lines are not matched by an allowed regular +expression, then git-secrets will fail the commit/merge/message. + +.. important:: + + Just as it is a bad practice to add prohibited patterns that are too + greedy, it is also a bad practice to add allowed patterns that are too + forgiving. Be sure to test out your patterns using ad-hoc calls to + ``git secrets --scan $filename`` to ensure they are working as intended. + + +Secret providers +---------------- + +Sometimes you want to check for an exact pattern match against a set of known +secrets. For example, you might want to ensure that no credentials present in +``~/.aws/credentials`` ever show up in a commit. In these cases, it's better to +leave these secrets in one location rather than spread them out across git +repositories in git configs. You can use "secret providers" to fetch these +types of credentials. A secret provider is an executable that when invoked +outputs prohibited patterns separated by new lines. + +You can add secret providers using the ``--add-provider`` command:: + + git secrets --add-provider -- git secrets --aws-provider + +Notice the use of ``--``. This ensures that any arguments associated with the +provider are passed to the provider each time it is invoked when scanning +for secrets. + + +Example walkthrough +------------------- + +Let's take a look at an example. Given the following subject text (stored in +``/tmp/example``):: + + This is a test! + password=ex@mplepassword + password=****** + More test... + +And the following registered patterns: + +:: + + git secrets --add 'password\s*=\s*.+' + git secrets --add --allowed --literal 'ex@mplepassword' + +Running ``git secrets --scan /tmp/example``, the result will +result in the following error output:: + + /tmp/example:3:password=****** + + [ERROR] Matched prohibited pattern + + Possible mitigations: + - Mark false positives as allowed using: git config --add secrets.allowed ... + - List your configured patterns: git config --get-all secrets.patterns + - List your configured allowed patterns: git config --get-all secrets.allowed + - Use --no-verify if this is a one-time false positive + +Breaking this down, the prohibited pattern value of ``password\s*=\s*.+`` will +match the following lines:: + + /tmp/example:2:password=ex@mplepassword + /tmp/example:3:password=****** + +...But the first match will be filtered out due to the fact that it matches the +allowed regular expression of ``ex@mplepassword``. Because there is still a +remaining line that did not match, it is considered a secret. + +Because that matching lines are placed on lines that start with the filename +and line number (e.g., ``/tmp/example:3:...``), you can create allowed +patterns that take filenames and line numbers into account in the regular +expression. For example, you could whitelist an entire file using something +like:: + + git secrets --add --allowed '/tmp/example:.*' + git secrets --scan /tmp/example && echo $? + # Outputs: 0 + +Alternatively, you could allow a specific line number of a file if that +line is unlikely to change using something like the following: + +:: + + git secrets --add --allowed '/tmp/example:3:.*' + git secrets --scan /tmp/example && echo $? + # Outputs: 0 + +Keep this in mind when creating allowed patterns to ensure that your allowed +patterns are not inadvertently matched due to the fact that the filename is +included in the subject text that allowed patterns are matched against. + + +Skipping validation +------------------- + +Use the ``--no-verify`` option in the event of a false positive match in a +commit, merge, or commit message. This will skip the execution of the +git hook and allow you to make the commit or merge. + + +About +------ + +- Author: `Michael Dowling `_ +- Issue tracker: This project's source code and issue tracker can be found at + `https://github.com/awslabs/git-secrets `_ +- Special thanks to Adrian Vatchinsky and Ari Juels of Cornell University for + providing suggestions and feedback. + +Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. diff --git a/.github/actions/runleaks/git-secrets/git-secrets b/.github/actions/runleaks/git-secrets/git-secrets new file mode 100755 index 00000000000..236d03b5cd1 --- /dev/null +++ b/.github/actions/runleaks/git-secrets/git-secrets @@ -0,0 +1,409 @@ +#!/usr/bin/env bash +# Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"). +# You may not use this file except in compliance with the License. +# A copy of the License is located at +# +# http://aws.amazon.com/apache2.0 +# +# or in the "license" file accompanying this file. This file 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. + +NONGIT_OK=1 OPTIONS_SPEC="\ +git secrets --scan [-r|--recursive] [--cached] [--no-index] [--untracked] [...] +git secrets --scan-history +git secrets --install [-f|--force] [] +git secrets --list [--global] +git secrets --add [-a|--allowed] [-l|--literal] [--global] +git secrets --add-provider [--global] [arguments...] +git secrets --register-aws [--global] +git secrets --register-azure [--global] +git secrets --register-gcp [--global] +git secrets --aws-provider [] +-- +scan Scans for prohibited patterns +scan-history Scans repo for prohibited patterns +install Installs git hooks for Git repository or Git template directory +list Lists secret patterns +add Adds a prohibited or allowed pattern, ensuring to de-dupe with existing patterns +add-provider Adds a secret provider that when called outputs secret patterns on new lines +aws-provider Secret provider that outputs credentials found in an ini file +register-aws Adds common AWS patterns to the git config and scans for ~/.aws/credentials +register-azure Adds common Azure patterns to the git config +register-gcp Adds common GCP patterns to the git config +r,recursive --scan scans directories recursively +cached --scan scans searches blobs registered in the index file +no-index --scan searches files in the current directory that is not managed by Git +untracked In addition to searching in the tracked files in the working tree, --scan also in untracked files +f,force --install overwrites hooks if the hook already exists +l,literal --add and --add-allowed patterns are escaped so that they are literal +a,allowed --add adds an allowed pattern instead of a prohibited pattern +global Uses the --global git config +commit_msg_hook* commit-msg hook (internal only) +pre_commit_hook* pre-commit hook (internal only) +prepare_commit_msg_hook* prepare-commit-msg hook (internal only)" + +# Include the git setup script. This parses and normalized CLI arguments. +. "$(git --exec-path)"/git-sh-setup + +load_patterns() { + git config --get-all secrets.patterns + # Execute each provider and use their output to build up patterns + git config --get-all secrets.providers | while read -r cmd; do + # Only split words on '\n\t ' and strip "\r" from the output to account + # for carriage returns being added on Windows systems. Note that this + # trimming is done before the test to ensure that the string is not empty. + local result="$(export IFS=$'\n\t '; $cmd | tr -d $'\r')" + # Do not add empty lines from providers as that would match everything. + if [ -n "${result}" ]; then + echo "${result}" + fi + done +} + +load_allowed() { + git config --get-all secrets.allowed + local gitallowed="$(git rev-parse --show-toplevel)/.gitallowed" + if [ -e "$gitallowed" ]; then + cat $gitallowed | awk 'NF && $1!~/^#/' + fi +} + +# load patterns and combine them with | +load_combined_patterns() { + local patterns=$(load_patterns) + local combined_patterns='' + for pattern in $patterns; do + combined_patterns=${combined_patterns}${pattern}"|" + done + combined_patterns=${combined_patterns%?} + echo $combined_patterns +} + +# Scans files or a repo using patterns. +scan() { + local files=("${@}") options="" + [ "${SCAN_CACHED}" == 1 ] && options+="--cached" + [ "${SCAN_UNTRACKED}" == 1 ] && options+=" --untracked" + [ "${SCAN_NO_INDEX}" == 1 ] && options+=" --no-index" + # Scan using git-grep if there are no files or if git options are applied. + if [ ${#files[@]} -eq 0 ] || [ ! -z "${options}" ]; then + output=$(git_grep $options "${files[@]}") + else + output=$(regular_grep "${files[@]}") + fi + process_output $? "${output}" +} + +# Scans through history using patterns +scan_history() { + # git log does not support multiple patterns, so we need to combine them + local combined_patterns=$(load_combined_patterns) + [ -z "${combined_patterns}" ] && return 0 + # Looks for differences matching the patterns, reduces the number of revisions to scan + local to_scan=$(git log --all -G"${combined_patterns}" --pretty=%H) + # Scan through revisions with findings to normalize output + output=$(GREP_OPTIONS= LC_ALL=C git grep -nwHEI "${combined_patterns}" $to_scan) + process_output $? "${output}" +} + +# Performs a git-grep, taking into account patterns and options. +# Note: this function returns 1 on success, 0 on error. +git_grep() { + local options="$1"; shift + local files=("${@}") combined_patterns=$(load_combined_patterns) + + [ -z "${combined_patterns}" ] && return 1 + GREP_OPTIONS= LC_ALL=C git grep -nwHEI ${options} "${combined_patterns}" -- "${files[@]}" +} + +# Performs a regular grep, taking into account patterns and recursion. +# Note: this function returns 1 on success, 0 on error. +regular_grep() { + local files=("${@}") patterns=$(load_patterns) action='skip' + [ -z "${patterns}" ] && return 1 + [ ${RECURSIVE} -eq 1 ] && action="recurse" + GREP_OPTIONS= LC_ALL=C grep -d "${action}" -nwHEI "${patterns}" "${files[@]}" +} + +# Process the given status ($1) and output variables ($2). +# Takes into account allowed patterns, and if a bad match is found, +# prints an error message and exits 1. +process_output() { + local status="$1" output="$2" + local allowed=$(load_allowed) + case "$status" in + 0) + [ -z "${allowed}" ] && echo "${output}" >&2 && return 1 + # Determine with a negative grep if the found matches are allowed + echo "${output}" | GREP_OPTIONS= LC_ALL=C grep -Ev "${allowed}" >&2 \ + && return 1 || return 0 + ;; + 1) return 0 ;; + *) exit $status + esac +} + +# Calls the given scanning function at $1, shifts, and passes to it $@. +# Exit 0 if success, otherwise exit 1 with error message. +scan_with_fn_or_die() { + local fn="$1"; shift + $fn "$@" && exit 0 + echo >&2 + echo "[ERROR] Matched one or more prohibited patterns" >&2 + echo >&2 + echo "Possible mitigations:" >&2 + echo "- Mark false positives as allowed using: git config --add secrets.allowed ..." >&2 + echo "- Mark false positives as allowed by adding regular expressions to .gitallowed at repository's root directory" >&2 + echo "- List your configured patterns: git config --get-all secrets.patterns" >&2 + echo "- List your configured allowed patterns: git config --get-all secrets.allowed" >&2 + echo "- List your configured allowed patterns in .gitallowed at repository's root directory" >&2 + echo "- Use --no-verify if this is a one-time false positive" >&2 + exit 1 +} + +# Scans a commit message, passed in the path to a file. +commit_msg_hook() { + scan_with_fn_or_die "scan" "$1" +} + +# Scans all files that are about to be committed. +pre_commit_hook() { + SCAN_CACHED=1 + local files=() file found_match=0 rev="4b825dc642cb6eb9a060e54bf8d69288fbee4904" + # Diff against HEAD if this is not the first commit in the repo. + git rev-parse --verify HEAD >/dev/null 2>&1 && rev="HEAD" + # Filter out deleted files using --diff-filter + while IFS= read -r file; do + [ -n "$file" ] && files+=("$file") + done <<< "$(git diff-index --diff-filter 'ACMU' --name-only --cached $rev --)" + scan_with_fn_or_die "scan" "${files[@]}" +} + +# Determines if merging in a commit will introduce tainted history. +prepare_commit_msg_hook() { + case "$2,$3" in + merge,) + local git_head=$(env | grep GITHEAD) # e.g. GITHEAD_=release/1.43 + local sha="${git_head##*=}" # Get just the SHA + local branch=$(git symbolic-ref HEAD) # e.g. refs/heads/master + local dest="${branch#refs/heads/}" # cut out "refs/heads" + git log "${dest}".."${sha}" -p | scan_with_fn_or_die "scan" - + ;; + esac +} + +install_hook() { + local path="$1" hook="$2" cmd="$3" dest + # Determines the approriate path for a hook to be installed + if [ -d "${path}/hooks/${hook}.d" ]; then + dest="${path}/hooks/${hook}.d/git-secrets" + else + dest="${path}/hooks/${hook}" + fi + [ -f "${dest}" ] && [ "${FORCE}" -ne 1 ] \ + && die "${dest} already exists. Use -f to force" + echo "#!/usr/bin/env bash" > "${dest}" + echo "git secrets --${cmd} -- \"\$@\"" >> "${dest}" + chmod +x "${dest}" + say "$(tput setaf 2)✓$(tput sgr 0) Installed ${hook} hook to ${dest}" +} + +install_all_hooks() { + install_hook "$1" "commit-msg" "commit_msg_hook" + install_hook "$1" "pre-commit" "pre_commit_hook" + install_hook "$1" "prepare-commit-msg" "prepare_commit_msg_hook" +} + +# Adds a git config pattern, ensuring to de-dupe +add_config() { + local key="$1"; shift + local value="$@" + if [ ${LITERAL} -eq 1 ]; then + value=$(sed 's/[\.|$(){}?+*^]/\\&/g' <<< "${value}") + fi + if [ ${GLOBAL} -eq 1 ]; then + git config --global --get-all $key | grep -Fq "${value}" && return 1 + git config --global --add "${key}" "${value}" + else + git config --get-all $key | grep -Fq "${value}" && return 1 + git config --add "${key}" "${value}" + fi +} + +register_aws() { + # Reusable regex patterns + local aws="(AWS|aws|Aws)?_?" quote="(\"|')" connect="\s*(:|=>|=)\s*" + local opt_quote="${quote}?" + add_config 'secrets.providers' 'git secrets --aws-provider' + add_config 'secrets.patterns' '(A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}' + add_config 'secrets.patterns' "${opt_quote}${aws}(SECRET|secret|Secret)?_?(ACCESS|access|Access)?_?(KEY|key|Key)${opt_quote}${connect}${opt_quote}[A-Za-z0-9/\+=]{40}${opt_quote}" + add_config 'secrets.patterns' "${opt_quote}${aws}(ACCOUNT|account|Account)_?(ID|id|Id)?${opt_quote}${connect}${opt_quote}[0-9]{4}\-?[0-9]{4}\-?[0-9]{4}${opt_quote}" + add_config 'secrets.allowed' 'AKIAIOSFODNN7EXAMPLE' + add_config 'secrets.allowed' "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY" + + if [[ $? == 0 ]]; then + echo 'OK' + fi + + exit $? +} + +register_azure() { + # Reusable regex patterns + local azure="(AZURE|azure|Azure)?_?" quote="(\"|')" connect="\s*(:|=>|=)\s*" + local opt_quote="${quote}" + add_config 'secrets.patterns' "${opt_quote}[0-9A-Fa-f]{8}-([0-9A-Fa-f]{4}-){3}[0-9A-Fa-f]{12}${opt_quote}" + add_config 'secrets.patterns' "${opt_quote}.*[0-9a-zA-Z]{2,256}[.][o|O][n|N][m|M][i|I][c|C][r|R][o|O][s|S][o|O][f|F][t|T][.][c|C][o|O][m|M]${opt_quote}" + add_config 'secrets.patterns' "${opt_quote}.*[0-9a-zA-Z]{2,256}[.][b|B][l|L][o|O][b|B][.][c|C][o|O][r|R][e|E][.][w|W][i|I][n|N][d|D][o|O][w|W][s|S][.][n|N][e|E][t|T]${opt_quote}" + add_config 'secrets.patterns' "${opt_quote}.*[0-9a-zA-Z]{2,256}[.][q|Q][u|U][e|E][u|U][e|E][.][c|C][o|O][r|R][e|E][.][w|W][i|I][n|N][d|D][o|O][w|W][s|S][.][n|N][e|E][t|T]${opt_quote}" + add_config 'secrets.patterns' "${opt_quote}.*[0-9a-zA-Z]{2,256}[.][t|T][a|A][b|B][l|L][e|E][.][c|C][o|O][r|R][e|E][.][w|W][i|I][n|N][d|D][o|O][w|W][s|S][.][n|N][e|E][t|T]${opt_quote}" + add_config 'secrets.patterns' "${opt_quote}.*[0-9a-zA-Z]{2,256}[.][d|D][a|A][t|T][a|A][b|B][a|A][s|S][e|E][.][w|W][i|I][n|N][d|D][o|O][w|W][s|S][.][n|N][e|E][t|T]${opt_quote}" + add_config 'secrets.patterns' "${opt_quote}.*[0-9a-zA-Z]{2,256}[.][s|S][e|E][r|R][v|V][i|I][c|C][e|E][b|B][u|U][s|S][.][w|W][i|I][n|N][d|D][o|O][w|W][s|S][.][n|N][e|E][t|T]${opt_quote}" + add_config 'secrets.patterns' "${opt_quote}.*[0-9a-zA-Z]{2,256}[.][t|T][i|I][m|M][e|E][s|S][e|E][r|R][i|I][e|E][s|S][.][a|A][z|Z][u|U][r|R][e|E][.][c|C][o|O][m|M]${opt_quote}" + add_config 'secrets.patterns' "${opt_quote}.*[0-9a-zA-Z]{2,256}[.][a|T][c|C][c|C][e|E][s|S][s|S][c|C][o|O][n|N][t|T][r|R][o|O][l|L][.][w|W][i|I][n|N][d|D][o|O][w|W][s|S][.][n|N][e|E][t|T]${opt_quote}" + add_config 'secrets.patterns' "${opt_quote}.*[0-9a-zA-Z]{2,256}[.][a|A][z|Z][u|U][r|R][e|E][h|H][d|D][i|I][n|N][s|S][i|I][g|G][h|H][t|T][.][n|N][e|E][t|T]${opt_quote}" + add_config 'secrets.patterns' "${opt_quote}.*[0-9a-zA-Z]{2,256}[.][c|C][l|L][o|O][u|U][d|D][a|A][p|P][p|P][.][a|A][z|Z][u|U][r|R][e|E][.][c|C][o|O][m|M]${opt_quote}" + add_config 'secrets.patterns' "${opt_quote}.*[0-9a-zA-Z]{2,256}[.][c|C][l|L][o|O][u|U][d|D][a|A][p|P][p|P][.][n|N][e|E][t|T]${opt_quote}" + add_config 'secrets.patterns' "${opt_quote}.*[0-9a-zA-Z]{2,256}[.][d|D][o|O][c|C][u|U][m|M][e|E][n|N][t|T][s|S][.][a|A][z|Z][u|U][r|R][e|E][.][c|C][o|O][m|M]${opt_quote}" + add_config 'secrets.patterns' "^-----BEGIN (RSA|EC|DSA|GPP) PRIVATE KEY-----$" + add_config 'secrets.patterns' "(\"|')[A-Z0-9a-z[:punct:]]{32}(\"|')$" + add_config 'secrets.patterns' "(\"|')[A-Z0-9a-z[:punct:]]{88}(\"|')$" + + + + + if [[ $? == 0 ]]; then + echo 'OK' + fi + + exit $? +} + + + + +register_gcp() { + # Reusable regex patterns + add_config 'secrets.patterns' '\bprivate_key.*\b' + + + if [[ $? == 0 ]]; then + echo 'OK' + fi + + exit $? +} + +aws_provider() { + local fi="$1" + [ -z "$fi" ] && fi=~/.aws/credentials + # Find keys and ensure that special characters are escaped. + if [ -f $fi ]; then + awk -F "=" '/aws_access_key_id|aws_secret_access_key/ {print $2}' $fi \ + | tr -d ' "' \ + | sed 's/[]\.|$(){}?+*^]/\\&/g' + fi +} + +# Ensures that the command is what was expected for an option. +assert_option_for_command() { + local expected_command="$1" + local option_name="$2" + if [ "${COMMAND}" != "${expected_command}" ]; then + die "${option_name} can only be supplied with the ${expected_command} subcommand" + fi +} + +declare COMMAND="$1" FORCE=0 RECURSIVE=0 LITERAL=0 GLOBAL=0 ALLOWED=0 +declare SCAN_CACHED=0 SCAN_NO_INDEX=0 SCAN_UNTRACKED=0 + +# Shift off the command name +shift 1 +while [ "$#" -ne 0 ]; do + case "$1" in + -f) + assert_option_for_command "--install" "-f|--force" + FORCE=1 + ;; + -r) + assert_option_for_command "--scan" "-r|--recursive" + RECURSIVE=1 + ;; + -a) + assert_option_for_command "--add" "-a|--allowed" + ALLOWED=1 + ;; + -l) + assert_option_for_command "--add" "-l|--literal" + LITERAL=1 + ;; + --cached) + assert_option_for_command "--scan" "--cached" + SCAN_CACHED=1 + ;; + --no-index) + assert_option_for_command "--scan" "--no-index" + SCAN_NO_INDEX=1 + ;; + --untracked) + assert_option_for_command "--scan" "--untracked" + SCAN_UNTRACKED=1 + ;; + --global) GLOBAL=1 ;; + --) shift; break ;; + esac + shift +done + +# Ensure that recursive is not applied with mutually exclusive options. +if [ ${RECURSIVE} -eq 1 ]; then + if [ ${SCAN_CACHED} -eq 1 ] \ + || [ ${SCAN_NO_INDEX} -eq 1 ] \ + || [ ${SCAN_UNTRACKED} -eq 1 ]; + then + die "-r|--recursive cannot be supplied with --cached, --no-index, or --untracked" + fi +fi + +case "${COMMAND}" in + -h|--help|--) "$0" -h; exit 0 ;; + --add-provider) add_config "secrets.providers" "$@" ;; + --register-aws) register_aws ;; + --register-azure) register_azure ;; + --register-gcp) register_gcp ;; + --aws-provider) aws_provider "$1" ;; + --commit_msg_hook|--pre_commit_hook|--prepare_commit_msg_hook) + ${COMMAND:2} "$@" + ;; + --add) + if [ ${ALLOWED} -eq 1 ]; then + add_config "secrets.allowed" "$1" + else + add_config "secrets.patterns" "$1" + fi + ;; + --scan) scan_with_fn_or_die "scan" "$@" ;; + --scan-history) scan_with_fn_or_die "scan_history" "$@" ;; + --list) + if [ ${GLOBAL} -eq 1 ]; then + git config --global --get-regex secrets.* + else + git config --get-regex secrets.* + fi + ;; + --install) + DIRECTORY="$1" + if [ -z "${DIRECTORY}" ]; then + DIRECTORY=$(git rev-parse --git-dir) || die "Not in a Git repository" + elif [ -d "${DIRECTORY}"/.git ]; then + DIRECTORY="${DIRECTORY}/.git" + fi + mkdir -p "${DIRECTORY}/hooks" || die "Could not create dir: ${DIRECTORY}" + install_all_hooks "${DIRECTORY}" + ;; + *) echo "Unknown option: ${COMMAND}" && "$0" -h ;; +esac diff --git a/.github/actions/runleaks/git-secrets/git-secrets.1 b/.github/actions/runleaks/git-secrets/git-secrets.1 new file mode 100644 index 00000000000..1c6d25c3413 --- /dev/null +++ b/.github/actions/runleaks/git-secrets/git-secrets.1 @@ -0,0 +1,843 @@ +.\" Man page generated from reStructuredText. +. +.TH GIT-SECRETS "" "" "" +.SH NAME +git-secrets \- Prevents you from committing passwords and other sensitive information to a git repository. +. +.nr rst2man-indent-level 0 +. +.de1 rstReportMargin +\\$1 \\n[an-margin] +level \\n[rst2man-indent-level] +level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] +- +\\n[rst2man-indent0] +\\n[rst2man-indent1] +\\n[rst2man-indent2] +.. +.de1 INDENT +.\" .rstReportMargin pre: +. RS \\$1 +. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] +. nr rst2man-indent-level +1 +.\" .rstReportMargin post: +.. +.de UNINDENT +. RE +.\" indent \\n[an-margin] +.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] +.nr rst2man-indent-level -1 +.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] +.in \\n[rst2man-indent\\n[rst2man-indent-level]]u +.. +.SS Contents +.INDENT 0.0 +.IP \(bu 2 +\fI\%Synopsis\fP +.IP \(bu 2 +\fI\%Description\fP +.IP \(bu 2 +\fI\%Installing git\-secrets\fP +.INDENT 2.0 +.IP \(bu 2 +\fI\%*nix (Linux/macOS)\fP +.IP \(bu 2 +\fI\%Windows\fP +.IP \(bu 2 +\fI\%Homebrew (for macOS users)\fP +.UNINDENT +.IP \(bu 2 +\fI\%Advanced configuration\fP +.IP \(bu 2 +\fI\%Before making public a repository\fP +.IP \(bu 2 +\fI\%Options\fP +.INDENT 2.0 +.IP \(bu 2 +\fI\%Operation Modes\fP +.IP \(bu 2 +\fI\%Options for \fB\-\-install\fP\fP +.IP \(bu 2 +\fI\%Options for \fB\-\-scan\fP\fP +.IP \(bu 2 +\fI\%Options for \fB\-\-list\fP\fP +.IP \(bu 2 +\fI\%Options for \fB\-\-add\fP\fP +.IP \(bu 2 +\fI\%Options for \fB\-\-register\-aws\fP\fP +.IP \(bu 2 +\fI\%Options for \fB\-\-aws\-provider\fP\fP +.IP \(bu 2 +\fI\%Options for \fB\-\-add\-provider\fP\fP +.UNINDENT +.IP \(bu 2 +\fI\%Defining prohibited patterns\fP +.IP \(bu 2 +\fI\%Ignoring false positives\fP +.IP \(bu 2 +\fI\%Secret providers\fP +.IP \(bu 2 +\fI\%Example walkthrough\fP +.IP \(bu 2 +\fI\%Skipping validation\fP +.IP \(bu 2 +\fI\%About\fP +.UNINDENT +.SH SYNOPSIS +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-scan [\-r|\-\-recursive] [\-\-cached] [\-\-no\-index] [\-\-untracked] [...] +git secrets \-\-scan\-history +git secrets \-\-install [\-f|\-\-force] [] +git secrets \-\-list [\-\-global] +git secrets \-\-add [\-a|\-\-allowed] [\-l|\-\-literal] [\-\-global] +git secrets \-\-add\-provider [\-\-global] [arguments...] +git secrets \-\-register\-aws [\-\-global] +git secrets \-\-aws\-provider [] +.ft P +.fi +.UNINDENT +.UNINDENT +.SH DESCRIPTION +.sp +\fBgit\-secrets\fP scans commits, commit messages, and \fB\-\-no\-ff\fP merges to +prevent adding secrets into your git repositories. If a commit, +commit message, or any commit in a \fB\-\-no\-ff\fP merge history matches one of +your configured prohibited regular expression patterns, then the commit is +rejected. +.SH INSTALLING GIT-SECRETS +.sp +\fBgit\-secrets\fP must be placed somewhere in your PATH so that it is picked up +by \fBgit\fP when running \fBgit secrets\fP\&. +.SS *nix (Linux/macOS) +.IP "System Message: WARNING/2 (README.rst:, line 43)" +Title underline too short. +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +\e*nix (Linux/macOS) +~~~~~~~~~~~~~~~~~ +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +You can use the \fBinstall\fP target of the provided Makefile to install \fBgit secrets\fP and the man page. +You can customize the install path using the PREFIX and MANPREFIX variables. +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +make install +.ft P +.fi +.UNINDENT +.UNINDENT +.SS Windows +.sp +Run the provided \fBinstall.ps1\fP powershell script. This will copy the needed files +to an installation directory (\fB%USERPROFILE%/.git\-secrets\fP by default) and add +the directory to the current user \fBPATH\fP\&. +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +PS > ./install.ps1 +.ft P +.fi +.UNINDENT +.UNINDENT +.SS Homebrew (for macOS users) +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +brew install git\-secrets +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +\fBWARNING:\fP +.INDENT 0.0 +.INDENT 3.5 +You\(aqre not done yet! You MUST install the git hooks for every repo that +you wish to use with \fBgit secrets \-\-install\fP\&. +.UNINDENT +.UNINDENT +.sp +Here\(aqs a quick example of how to ensure a git repository is scanned for secrets +on each commit: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +cd /path/to/my/repo +git secrets \-\-install +git secrets \-\-register\-aws +.ft P +.fi +.UNINDENT +.UNINDENT +.SH ADVANCED CONFIGURATION +.sp +Add a configuration template if you want to add hooks to all repositories you +initialize or clone in the future. +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-register\-aws \-\-global +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Add hooks to all your local repositories. +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-install ~/.git\-templates/git\-secrets +git config \-\-global init.templateDir ~/.git\-templates/git\-secrets +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Add custom providers to scan for security credentials. +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add\-provider \-\- cat /path/to/secret/file/patterns +.ft P +.fi +.UNINDENT +.UNINDENT +.SH BEFORE MAKING PUBLIC A REPOSITORY +.sp +With git\-secrets is also possible to scan a repository including all revisions: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-scan\-history +.ft P +.fi +.UNINDENT +.UNINDENT +.SH OPTIONS +.SS Operation Modes +.sp +Each of these options must appear first on the command line. +.INDENT 0.0 +.TP +.B \fB\-\-install\fP +Installs git hooks for a repository. Once the hooks are installed for a git +repository, commits and non\-fast\-forward merges for that repository will be prevented +from committing secrets. +.TP +.B \fB\-\-scan\fP +Scans one or more files for secrets. When a file contains a secret, the +matched text from the file being scanned will be written to stdout and the +script will exit with a non\-zero status. Each matched line will be written with +the name of the file that matched, a colon, the line number that matched, +a colon, and then the line of text that matched. If no files are provided, +all files returned by \fBgit ls\-files\fP are scanned. +.TP +.B \fB\-\-scan\-history\fP +Scans repository including all revisions. When a file contains a secret, the +matched text from the file being scanned will be written to stdout and the +script will exit with a non\-zero status. Each matched line will be written with +the name of the file that matched, a colon, the line number that matched, +a colon, and then the line of text that matched. +.TP +.B \fB\-\-list\fP +Lists the \fBgit\-secrets\fP configuration for the current repo or in the global +git config. +.TP +.B \fB\-\-add\fP +Adds a prohibited or allowed pattern. +.TP +.B \fB\-\-add\-provider\fP +Registers a secret provider. Secret providers are executables that when +invoked output prohibited patterns that \fBgit\-secrets\fP should treat as +prohibited. +.TP +.B \fB\-\-register\-aws\fP +Adds common AWS patterns to the git config and ensures that keys present +in \fB~/.aws/credentials\fP are not found in any commit. The following +checks are added: +.INDENT 7.0 +.IP \(bu 2 +AWS Access Key IDs via \fB(A3T[A\-Z0\-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A\-Z0\-9]{16}\fP +.IP \(bu 2 +AWS Secret Access Key assignments via ":" or "=" surrounded by optional +quotes +.IP \(bu 2 +AWS account ID assignments via ":" or "=" surrounded by optional quotes +.IP \(bu 2 +Allowed patterns for example AWS keys (\fBAKIAIOSFODNN7EXAMPLE\fP and +\fBwJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY\fP) +.IP \(bu 2 +Known credentials from \fB~/.aws/credentials\fP +.UNINDENT +.sp +\fBNOTE:\fP +.INDENT 7.0 +.INDENT 3.5 +While the patterns registered by this command should catch most +instances of AWS credentials, these patterns are \fBnot\fP guaranteed to +catch them \fBall\fP\&. \fBgit\-secrets\fP should be used as an extra means of +insurance \-\- you still need to do your due diligence to ensure that you +do not commit credentials to a repository. +.UNINDENT +.UNINDENT +.TP +.B \fB\-\-aws\-provider\fP +Secret provider that outputs credentials found in an INI file. You can +optionally provide the path to an INI file. +.UNINDENT +.SS Options for \fB\-\-install\fP +.INDENT 0.0 +.TP +.B \fB\-f, \-\-force\fP +Overwrites existing hooks if present. +.TP +.B \fB\fP +When provided, installs git hooks to the given directory. The current +directory is assumed if \fB\fP is not provided. +.sp +If the provided \fB\fP is not in a git repository, the +directory will be created and hooks will be placed in +\fB/hooks\fP\&. This can be useful for creating git template +directories using with \fBgit init \-\-template \fP\&. +.sp +You can run \fBgit init\fP on a repository that has already been initialized. +From the \fI\%git init documentation\fP: +.INDENT 7.0 +.INDENT 3.5 +From the git documentation: Running \fBgit init\fP in an existing repository +is safe. It will not overwrite things that are already there. The +primary reason for rerunning \fBgit init\fP is to pick up newly added +templates (or to move the repository to another place if +\fB\-\-separate\-git\-dir\fP is given). +.UNINDENT +.UNINDENT +.sp +The following git hooks are installed: +.INDENT 7.0 +.IP 1. 3 +\fBpre\-commit\fP: Used to check if any of the files changed in the commit +use prohibited patterns. +.IP 2. 3 +\fBcommit\-msg\fP: Used to determine if a commit message contains a +prohibited patterns. +.IP 3. 3 +\fBprepare\-commit\-msg\fP: Used to determine if a merge commit will +introduce a history that contains a prohibited pattern at any point. +Please note that this hook is only invoked for non fast\-forward merges. +.UNINDENT +.sp +\fBNOTE:\fP +.INDENT 7.0 +.INDENT 3.5 +Git only allows a single script to be executed per hook. If the +repository contains Debian\-style subdirectories like \fBpre\-commit.d\fP +and \fBcommit\-msg.d\fP, then the git hooks will be installed into these +directories, which assumes that you\(aqve configured the corresponding +hooks to execute all of the scripts found in these directories. If +these git subdirectories are not present, then the git hooks will be +installed to the git repo\(aqs \fB\&.git/hooks\fP directory. +.UNINDENT +.UNINDENT +.UNINDENT +.SS Examples +.sp +Install git hooks to the current directory: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +cd /path/to/my/repository +git secrets \-\-install +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Install git hooks to a repository other than the current directory: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-install /path/to/my/repository +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Create a git template that has \fBgit\-secrets\fP installed, and then copy that +template into a git repository: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-install ~/.git\-templates/git\-secrets +git init \-\-template ~/.git\-templates/git\-secrets +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Overwrite existing hooks if present: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-install \-f +.ft P +.fi +.UNINDENT +.UNINDENT +.SS Options for \fB\-\-scan\fP +.INDENT 0.0 +.TP +.B \fB\-r, \-\-recursive\fP +Scans the given files recursively. If a directory is encountered, the +directory will be scanned. If \fB\-r\fP is not provided, directories will be +ignored. +.sp +\fB\-r\fP cannot be used alongside \fB\-\-cached\fP, \fB\-\-no\-index\fP, or +\fB\-\-untracked\fP\&. +.TP +.B \fB\-\-cached\fP +Searches blobs registered in the index file. +.TP +.B \fB\-\-no\-index\fP +Searches files in the current directory that is not managed by git. +.TP +.B \fB\-\-untracked\fP +In addition to searching in the tracked files in the working tree, +\fB\-\-scan\fP also in untracked files. +.TP +.B \fB...\fP +The path to one or more files on disk to scan for secrets. +.sp +If no files are provided, all files returned by \fBgit ls\-files\fP are +scanned. +.UNINDENT +.SS Examples +.sp +Scan all files in the repo: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-scan +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Scans a single file for secrets: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-scan /path/to/file +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Scans a directory recursively for secrets: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-scan \-r /path/to/directory +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Scans multiple files for secrets: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-scan /path/to/file /path/to/other/file +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +You can scan by globbing: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-scan /path/to/directory/* +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Scan from stdin: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +echo \(aqhello!\(aq | git secrets \-\-scan \- +.ft P +.fi +.UNINDENT +.UNINDENT +.SS Options for \fB\-\-list\fP +.INDENT 0.0 +.TP +.B \fB\-\-global\fP +Lists only git\-secrets configuration in the global git config. +.UNINDENT +.SS Options for \fB\-\-add\fP +.INDENT 0.0 +.TP +.B \fB\-\-global\fP +Adds patterns to the global git config +.TP +.B \fB\-l, \-\-literal\fP +Escapes special regular expression characters in the provided pattern so +that the pattern is searched for literally. +.TP +.B \fB\-a, \-\-allowed\fP +Mark the pattern as allowed instead of prohibited. Allowed patterns are +used to filter our false positives. +.TP +.B \fB\fP +The regex pattern to search. +.UNINDENT +.SS Examples +.sp +Adds a prohibited pattern to the current repo: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add \(aq[A\-Z0\-9]{20}\(aq +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Adds a prohibited pattern to the global git config: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add \-\-global \(aq[A\-Z0\-9]{20}\(aq +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Adds a string that is scanned for literally (\fB+\fP is escaped): +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add \-\-literal \(aqfoo+bar\(aq +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Add an allowed pattern: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add \-a \(aqallowed pattern\(aq +.ft P +.fi +.UNINDENT +.UNINDENT +.SS Options for \fB\-\-register\-aws\fP +.INDENT 0.0 +.TP +.B \fB\-\-global\fP +Adds AWS specific configuration variables to the global git config. +.UNINDENT +.SS Options for \fB\-\-aws\-provider\fP +.INDENT 0.0 +.TP +.B \fB[]\fP +If provided, specifies the custom path to an INI file to scan. If not +provided, \fB~/.aws/credentials\fP is assumed. +.UNINDENT +.SS Options for \fB\-\-add\-provider\fP +.INDENT 0.0 +.TP +.B \fB\-\-global\fP +Adds the provider to the global git config. +.TP +.B \fB\fP +Provider command to invoke. When invoked the command is expected to write +prohibited patterns separated by new lines to stdout. Any extra arguments +provided are passed on to the command. +.UNINDENT +.SS Examples +.sp +Registers a secret provider with arguments: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add\-provider \-\- git secrets \-\-aws\-provider +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Cats secrets out of a file: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add\-provider \-\- cat /path/to/secret/file/patterns +.ft P +.fi +.UNINDENT +.UNINDENT +.SH DEFINING PROHIBITED PATTERNS +.sp +\fBegrep\fP\-compatible regular expressions are used to determine if a commit or +commit message contains any prohibited patterns. These regular expressions are +defined using the \fBgit config\fP command. It is important to note that +different systems use different versions of egrep. For example, when running on +macOS, you will use a different version of \fBegrep\fP than when running on something +like Ubuntu (BSD vs GNU). +.sp +You can add prohibited regular expression patterns to your git config using +\fBgit secrets \-\-add \fP\&. +.SH IGNORING FALSE POSITIVES +.sp +Sometimes a regular expression might match false positives. For example, git +commit SHAs look a lot like AWS access keys. You can specify many different +regular expression patterns as false positives using the following command: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add \-\-allowed \(aqmy regex pattern\(aq +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +You can also add regular expressions patterns to filter false positives to a +\fB\&.gitallowed\fP file located in the repository\(aqs root directory. Lines starting +with \fB#\fP are skipped (comment line) and empty lines are also skipped. +.sp +First, git\-secrets will extract all lines from a file that contain a prohibited +match. Included in the matched results will be the full path to the name of +the file that was matched, followed by \(aq:\(aq, followed by the line number that was +matched, followed by the entire line from the file that was matched by a secret +pattern. Then, if you\(aqve defined allowed regular expressions, git\-secrets will +check to see if all of the matched lines match at least one of your registered +allowed regular expressions. If all of the lines that were flagged as secret +are canceled out by an allowed match, then the subject text does not contain +any secrets. If any of the matched lines are not matched by an allowed regular +expression, then git\-secrets will fail the commit/merge/message. +.sp +\fBIMPORTANT:\fP +.INDENT 0.0 +.INDENT 3.5 +Just as it is a bad practice to add prohibited patterns that are too +greedy, it is also a bad practice to add allowed patterns that are too +forgiving. Be sure to test out your patterns using ad\-hoc calls to +\fBgit secrets \-\-scan $filename\fP to ensure they are working as intended. +.UNINDENT +.UNINDENT +.SH SECRET PROVIDERS +.sp +Sometimes you want to check for an exact pattern match against a set of known +secrets. For example, you might want to ensure that no credentials present in +\fB~/.aws/credentials\fP ever show up in a commit. In these cases, it\(aqs better to +leave these secrets in one location rather than spread them out across git +repositories in git configs. You can use "secret providers" to fetch these +types of credentials. A secret provider is an executable that when invoked +outputs prohibited patterns separated by new lines. +.sp +You can add secret providers using the \fB\-\-add\-provider\fP command: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add\-provider \-\- git secrets \-\-aws\-provider +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Notice the use of \fB\-\-\fP\&. This ensures that any arguments associated with the +provider are passed to the provider each time it is invoked when scanning +for secrets. +.SH EXAMPLE WALKTHROUGH +.sp +Let\(aqs take a look at an example. Given the following subject text (stored in +\fB/tmp/example\fP): +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +This is a test! +password=ex@mplepassword +password=****** +More test... +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +And the following registered patterns: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add \(aqpassword\es*=\es*.+\(aq +git secrets \-\-add \-\-allowed \-\-literal \(aqex@mplepassword\(aq +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Running \fBgit secrets \-\-scan /tmp/example\fP, the result will +result in the following error output: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +/tmp/example:3:password=****** + +[ERROR] Matched prohibited pattern + +Possible mitigations: +\- Mark false positives as allowed using: git config \-\-add secrets.allowed ... +\- List your configured patterns: git config \-\-get\-all secrets.patterns +\- List your configured allowed patterns: git config \-\-get\-all secrets.allowed +\- Use \-\-no\-verify if this is a one\-time false positive +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Breaking this down, the prohibited pattern value of \fBpassword\es*=\es*.+\fP will +match the following lines: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +/tmp/example:2:password=ex@mplepassword +/tmp/example:3:password=****** +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +\&...But the first match will be filtered out due to the fact that it matches the +allowed regular expression of \fBex@mplepassword\fP\&. Because there is still a +remaining line that did not match, it is considered a secret. +.sp +Because that matching lines are placed on lines that start with the filename +and line number (e.g., \fB/tmp/example:3:...\fP), you can create allowed +patterns that take filenames and line numbers into account in the regular +expression. For example, you could whitelist an entire file using something +like: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add \-\-allowed \(aq/tmp/example:.*\(aq +git secrets \-\-scan /tmp/example && echo $? +# Outputs: 0 +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Alternatively, you could allow a specific line number of a file if that +line is unlikely to change using something like the following: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +git secrets \-\-add \-\-allowed \(aq/tmp/example:3:.*\(aq +git secrets \-\-scan /tmp/example && echo $? +# Outputs: 0 +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Keep this in mind when creating allowed patterns to ensure that your allowed +patterns are not inadvertently matched due to the fact that the filename is +included in the subject text that allowed patterns are matched against. +.SH SKIPPING VALIDATION +.sp +Use the \fB\-\-no\-verify\fP option in the event of a false positive match in a +commit, merge, or commit message. This will skip the execution of the +git hook and allow you to make the commit or merge. +.SH ABOUT +.INDENT 0.0 +.IP \(bu 2 +Author: \fI\%Michael Dowling\fP +.IP \(bu 2 +Issue tracker: This project\(aqs source code and issue tracker can be found at +\fI\%https://github.com/awslabs/git\-secrets\fP +.IP \(bu 2 +Special thanks to Adrian Vatchinsky and Ari Juels of Cornell University for +providing suggestions and feedback. +.UNINDENT +.sp +Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. +.\" Generated by docutils manpage writer. +. diff --git a/.github/actions/runleaks/git-secrets/install.ps1 b/.github/actions/runleaks/git-secrets/install.ps1 new file mode 100644 index 00000000000..fbffbfa9906 --- /dev/null +++ b/.github/actions/runleaks/git-secrets/install.ps1 @@ -0,0 +1,48 @@ +Param([string]$InstallationDirectory = $($Env:USERPROFILE + "\.git-secrets")) + +Write-Host "Checking to see if installation directory already exists..." +if (-not (Test-Path $InstallationDirectory)) +{ + Write-Host "Creating installation directory." + New-Item -ItemType Directory -Path $InstallationDirectory | Out-Null +} +else +{ + Write-Host "Installation directory already exists." +} + +Write-Host "Copying files." +Copy-Item ./git-secrets -Destination $InstallationDirectory -Force +Copy-Item ./git-secrets.1 -Destination $InstallationDirectory -Force + +Write-Host "Checking if directory already exists in Path..." +$currentPath = [Environment]::GetEnvironmentVariable("PATH", "User") +if ($currentPath -notlike "*$InstallationDirectory*") +{ + Write-Host "Adding to path." + $newPath = $currentPath + if(-not ($newPath.EndsWith(";"))) + { + $newPath = $newPath + ";" + } + $newPath = $newPath + $InstallationDirectory + [Environment]::SetEnvironmentVariable("PATH", $newPath, "User") +} +else +{ + Write-Host "Already in Path." +} + +# Adding to Session +Write-Host "Adding to user session." +$currentSessionPath = $Env:Path +if ($currentSessionPath -notlike "*$InstallationDirectory*") +{ + if(-not ($currentSessionPath.EndsWith(";"))) + { + $currentSessionPath = $currentSessionPath + ";" + } + $Env:Path = $currentSessionPath + $InstallationDirectory +} + +Write-Host "Done." \ No newline at end of file diff --git a/.github/actions/runleaks/git-secrets/test/bats/LICENSE b/.github/actions/runleaks/git-secrets/test/bats/LICENSE new file mode 100644 index 00000000000..bac4eb29ccf --- /dev/null +++ b/.github/actions/runleaks/git-secrets/test/bats/LICENSE @@ -0,0 +1,20 @@ +Copyright (c) 2014 Sam Stephenson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/.github/actions/runleaks/git-secrets/test/bats/bin/bats b/.github/actions/runleaks/git-secrets/test/bats/bin/bats new file mode 120000 index 00000000000..a50a884e581 --- /dev/null +++ b/.github/actions/runleaks/git-secrets/test/bats/bin/bats @@ -0,0 +1 @@ +../libexec/bats \ No newline at end of file diff --git a/.github/actions/runleaks/git-secrets/test/bats/libexec/bats b/.github/actions/runleaks/git-secrets/test/bats/libexec/bats new file mode 100755 index 00000000000..71f392f757e --- /dev/null +++ b/.github/actions/runleaks/git-secrets/test/bats/libexec/bats @@ -0,0 +1,142 @@ +#!/usr/bin/env bash +set -e + +version() { + echo "Bats 0.4.0" +} + +usage() { + version + echo "Usage: bats [-c] [-p | -t] [ ...]" +} + +help() { + usage + echo + echo " is the path to a Bats test file, or the path to a directory" + echo " containing Bats test files." + echo + echo " -c, --count Count the number of test cases without running any tests" + echo " -h, --help Display this help message" + echo " -p, --pretty Show results in pretty format (default for terminals)" + echo " -t, --tap Show results in TAP format" + echo " -v, --version Display the version number" + echo + echo " For more information, see https://github.com/sstephenson/bats" + echo +} + +resolve_link() { + $(type -p greadlink readlink | head -1) "$1" +} + +abs_dirname() { + local cwd="$(pwd)" + local path="$1" + + while [ -n "$path" ]; do + cd "${path%/*}" + local name="${path##*/}" + path="$(resolve_link "$name" || true)" + done + + pwd + cd "$cwd" +} + +expand_path() { + { cd "$(dirname "$1")" 2>/dev/null + local dirname="$PWD" + cd "$OLDPWD" + echo "$dirname/$(basename "$1")" + } || echo "$1" +} + +BATS_LIBEXEC="$(abs_dirname "$0")" +export BATS_PREFIX="$(abs_dirname "$BATS_LIBEXEC")" +export BATS_CWD="$(abs_dirname .)" +export PATH="$BATS_LIBEXEC:$PATH" + +options=() +arguments=() +for arg in "$@"; do + if [ "${arg:0:1}" = "-" ]; then + if [ "${arg:1:1}" = "-" ]; then + options[${#options[*]}]="${arg:2}" + else + index=1 + while option="${arg:$index:1}"; do + [ -n "$option" ] || break + options[${#options[*]}]="$option" + let index+=1 + done + fi + else + arguments[${#arguments[*]}]="$arg" + fi +done + +unset count_flag pretty +[ -t 0 ] && [ -t 1 ] && pretty="1" +[ -n "$CI" ] && pretty="" + +for option in "${options[@]}"; do + case "$option" in + "h" | "help" ) + help + exit 0 + ;; + "v" | "version" ) + version + exit 0 + ;; + "c" | "count" ) + count_flag="-c" + ;; + "t" | "tap" ) + pretty="" + ;; + "p" | "pretty" ) + pretty="1" + ;; + * ) + usage >&2 + exit 1 + ;; + esac +done + +if [ "${#arguments[@]}" -eq 0 ]; then + usage >&2 + exit 1 +fi + +filenames=() +for filename in "${arguments[@]}"; do + if [ -d "$filename" ]; then + shopt -s nullglob + for suite_filename in "$(expand_path "$filename")"/*.bats; do + filenames["${#filenames[@]}"]="$suite_filename" + done + shopt -u nullglob + else + filenames["${#filenames[@]}"]="$(expand_path "$filename")" + fi +done + +if [ "${#filenames[@]}" -eq 1 ]; then + command="bats-exec-test" +else + command="bats-exec-suite" +fi + +if [ -n "$pretty" ]; then + extended_syntax_flag="-x" + formatter="bats-format-tap-stream" +else + extended_syntax_flag="" + formatter="cat" +fi + +set -o pipefail execfail +exec "$command" $count_flag $extended_syntax_flag "${filenames[@]}" | "$formatter" diff --git a/.github/actions/runleaks/git-secrets/test/bats/libexec/bats-exec-suite b/.github/actions/runleaks/git-secrets/test/bats/libexec/bats-exec-suite new file mode 100755 index 00000000000..29ab255d062 --- /dev/null +++ b/.github/actions/runleaks/git-secrets/test/bats/libexec/bats-exec-suite @@ -0,0 +1,55 @@ +#!/usr/bin/env bash +set -e + +count_only_flag="" +if [ "$1" = "-c" ]; then + count_only_flag=1 + shift +fi + +extended_syntax_flag="" +if [ "$1" = "-x" ]; then + extended_syntax_flag="-x" + shift +fi + +trap "kill 0; exit 1" int + +count=0 +for filename in "$@"; do + let count+="$(bats-exec-test -c "$filename")" +done + +if [ -n "$count_only_flag" ]; then + echo "$count" + exit +fi + +echo "1..$count" +status=0 +offset=0 +for filename in "$@"; do + index=0 + { + IFS= read -r # 1..n + while IFS= read -r line; do + case "$line" in + "begin "* ) + let index+=1 + echo "${line/ $index / $(($offset + $index)) }" + ;; + "ok "* | "not ok "* ) + [ -n "$extended_syntax_flag" ] || let index+=1 + echo "${line/ $index / $(($offset + $index)) }" + [ "${line:0:6}" != "not ok" ] || status=1 + ;; + * ) + echo "$line" + ;; + esac + done + } < <( bats-exec-test $extended_syntax_flag "$filename" ) + offset=$(($offset + $index)) +done + +exit "$status" diff --git a/.github/actions/runleaks/git-secrets/test/bats/libexec/bats-exec-test b/.github/actions/runleaks/git-secrets/test/bats/libexec/bats-exec-test new file mode 100755 index 00000000000..8f3bd5102e4 --- /dev/null +++ b/.github/actions/runleaks/git-secrets/test/bats/libexec/bats-exec-test @@ -0,0 +1,346 @@ +#!/usr/bin/env bash +set -e +set -E +set -T + +BATS_COUNT_ONLY="" +if [ "$1" = "-c" ]; then + BATS_COUNT_ONLY=1 + shift +fi + +BATS_EXTENDED_SYNTAX="" +if [ "$1" = "-x" ]; then + BATS_EXTENDED_SYNTAX="$1" + shift +fi + +BATS_TEST_FILENAME="$1" +if [ -z "$BATS_TEST_FILENAME" ]; then + echo "usage: bats-exec " >&2 + exit 1 +elif [ ! -f "$BATS_TEST_FILENAME" ]; then + echo "bats: $BATS_TEST_FILENAME does not exist" >&2 + exit 1 +else + shift +fi + +BATS_TEST_DIRNAME="$(dirname "$BATS_TEST_FILENAME")" +BATS_TEST_NAMES=() + +load() { + local name="$1" + local filename + + if [ "${name:0:1}" = "/" ]; then + filename="${name}" + else + filename="$BATS_TEST_DIRNAME/${name}.bash" + fi + + [ -f "$filename" ] || { + echo "bats: $filename does not exist" >&2 + exit 1 + } + + source "${filename}" +} + +run() { + local e E T oldIFS + [[ ! "$-" =~ e ]] || e=1 + [[ ! "$-" =~ E ]] || E=1 + [[ ! "$-" =~ T ]] || T=1 + set +e + set +E + set +T + output="$("$@" 2>&1)" + status="$?" + oldIFS=$IFS + IFS=$'\n' lines=($output) + [ -z "$e" ] || set -e + [ -z "$E" ] || set -E + [ -z "$T" ] || set -T + IFS=$oldIFS +} + +setup() { + true +} + +teardown() { + true +} + +skip() { + BATS_TEST_SKIPPED=${1:-1} + BATS_TEST_COMPLETED=1 + exit 0 +} + +bats_test_begin() { + BATS_TEST_DESCRIPTION="$1" + if [ -n "$BATS_EXTENDED_SYNTAX" ]; then + echo "begin $BATS_TEST_NUMBER $BATS_TEST_DESCRIPTION" >&3 + fi + setup +} + +bats_test_function() { + local test_name="$1" + BATS_TEST_NAMES["${#BATS_TEST_NAMES[@]}"]="$test_name" +} + +bats_capture_stack_trace() { + BATS_PREVIOUS_STACK_TRACE=( "${BATS_CURRENT_STACK_TRACE[@]}" ) + BATS_CURRENT_STACK_TRACE=() + + local test_pattern=" $BATS_TEST_NAME $BATS_TEST_SOURCE" + local setup_pattern=" setup $BATS_TEST_SOURCE" + local teardown_pattern=" teardown $BATS_TEST_SOURCE" + + local frame + local index=1 + + while frame="$(caller "$index")"; do + BATS_CURRENT_STACK_TRACE["${#BATS_CURRENT_STACK_TRACE[@]}"]="$frame" + if [[ "$frame" = *"$test_pattern" || \ + "$frame" = *"$setup_pattern" || \ + "$frame" = *"$teardown_pattern" ]]; then + break + else + let index+=1 + fi + done + + BATS_SOURCE="$(bats_frame_filename "${BATS_CURRENT_STACK_TRACE[0]}")" + BATS_LINENO="$(bats_frame_lineno "${BATS_CURRENT_STACK_TRACE[0]}")" +} + +bats_print_stack_trace() { + local frame + local index=1 + local count="${#@}" + + for frame in "$@"; do + local filename="$(bats_trim_filename "$(bats_frame_filename "$frame")")" + local lineno="$(bats_frame_lineno "$frame")" + + if [ $index -eq 1 ]; then + echo -n "# (" + else + echo -n "# " + fi + + local fn="$(bats_frame_function "$frame")" + if [ "$fn" != "$BATS_TEST_NAME" ]; then + echo -n "from function \`$fn' " + fi + + if [ $index -eq $count ]; then + echo "in test file $filename, line $lineno)" + else + echo "in file $filename, line $lineno," + fi + + let index+=1 + done +} + +bats_print_failed_command() { + local frame="$1" + local status="$2" + local filename="$(bats_frame_filename "$frame")" + local lineno="$(bats_frame_lineno "$frame")" + + local failed_line="$(bats_extract_line "$filename" "$lineno")" + local failed_command="$(bats_strip_string "$failed_line")" + echo -n "# \`${failed_command}' " + + if [ $status -eq 1 ]; then + echo "failed" + else + echo "failed with status $status" + fi +} + +bats_frame_lineno() { + local frame="$1" + local lineno="${frame%% *}" + echo "$lineno" +} + +bats_frame_function() { + local frame="$1" + local rest="${frame#* }" + local fn="${rest%% *}" + echo "$fn" +} + +bats_frame_filename() { + local frame="$1" + local rest="${frame#* }" + local filename="${rest#* }" + + if [ "$filename" = "$BATS_TEST_SOURCE" ]; then + echo "$BATS_TEST_FILENAME" + else + echo "$filename" + fi +} + +bats_extract_line() { + local filename="$1" + local lineno="$2" + sed -n "${lineno}p" "$filename" +} + +bats_strip_string() { + local string="$1" + printf "%s" "$string" | sed -e "s/^[ "$'\t'"]*//" -e "s/[ "$'\t'"]*$//" +} + +bats_trim_filename() { + local filename="$1" + local length="${#BATS_CWD}" + + if [ "${filename:0:length+1}" = "${BATS_CWD}/" ]; then + echo "${filename:length+1}" + else + echo "$filename" + fi +} + +bats_debug_trap() { + if [ "$BASH_SOURCE" != "$1" ]; then + bats_capture_stack_trace + fi +} + +bats_error_trap() { + BATS_ERROR_STATUS="$?" + BATS_ERROR_STACK_TRACE=( "${BATS_PREVIOUS_STACK_TRACE[@]}" ) + trap - debug +} + +bats_teardown_trap() { + trap "bats_exit_trap" exit + local status=0 + teardown >>"$BATS_OUT" 2>&1 || status="$?" + + if [ $status -eq 0 ]; then + BATS_TEARDOWN_COMPLETED=1 + elif [ -n "$BATS_TEST_COMPLETED" ]; then + BATS_ERROR_STATUS="$status" + BATS_ERROR_STACK_TRACE=( "${BATS_CURRENT_STACK_TRACE[@]}" ) + fi + + bats_exit_trap +} + +bats_exit_trap() { + local status + local skipped + trap - err exit + + skipped="" + if [ -n "$BATS_TEST_SKIPPED" ]; then + skipped=" # skip" + if [ "1" != "$BATS_TEST_SKIPPED" ]; then + skipped+=" ($BATS_TEST_SKIPPED)" + fi + fi + + if [ -z "$BATS_TEST_COMPLETED" ] || [ -z "$BATS_TEARDOWN_COMPLETED" ]; then + echo "not ok $BATS_TEST_NUMBER $BATS_TEST_DESCRIPTION" >&3 + bats_print_stack_trace "${BATS_ERROR_STACK_TRACE[@]}" >&3 + bats_print_failed_command "${BATS_ERROR_STACK_TRACE[${#BATS_ERROR_STACK_TRACE[@]}-1]}" "$BATS_ERROR_STATUS" >&3 + sed -e "s/^/# /" < "$BATS_OUT" >&3 + status=1 + else + echo "ok ${BATS_TEST_NUMBER}${skipped} ${BATS_TEST_DESCRIPTION}" >&3 + status=0 + fi + + rm -f "$BATS_OUT" + exit "$status" +} + +bats_perform_tests() { + echo "1..$#" + test_number=1 + status=0 + for test_name in "$@"; do + "$0" $BATS_EXTENDED_SYNTAX "$BATS_TEST_FILENAME" "$test_name" "$test_number" || status=1 + let test_number+=1 + done + exit "$status" +} + +bats_perform_test() { + BATS_TEST_NAME="$1" + if [ "$(type -t "$BATS_TEST_NAME" || true)" = "function" ]; then + BATS_TEST_NUMBER="$2" + if [ -z "$BATS_TEST_NUMBER" ]; then + echo "1..1" + BATS_TEST_NUMBER="1" + fi + + BATS_TEST_COMPLETED="" + BATS_TEARDOWN_COMPLETED="" + trap "bats_debug_trap \"\$BASH_SOURCE\"" debug + trap "bats_error_trap" err + trap "bats_teardown_trap" exit + "$BATS_TEST_NAME" >>"$BATS_OUT" 2>&1 + BATS_TEST_COMPLETED=1 + + else + echo "bats: unknown test name \`$BATS_TEST_NAME'" >&2 + exit 1 + fi +} + +if [ -z "$TMPDIR" ]; then + BATS_TMPDIR="/tmp" +else + BATS_TMPDIR="${TMPDIR%/}" +fi + +BATS_TMPNAME="$BATS_TMPDIR/bats.$$" +BATS_PARENT_TMPNAME="$BATS_TMPDIR/bats.$PPID" +BATS_OUT="${BATS_TMPNAME}.out" + +bats_preprocess_source() { + BATS_TEST_SOURCE="${BATS_TMPNAME}.src" + { tr -d '\r' < "$BATS_TEST_FILENAME"; echo; } | bats-preprocess > "$BATS_TEST_SOURCE" + trap "bats_cleanup_preprocessed_source" err exit + trap "bats_cleanup_preprocessed_source; exit 1" int +} + +bats_cleanup_preprocessed_source() { + rm -f "$BATS_TEST_SOURCE" +} + +bats_evaluate_preprocessed_source() { + if [ -z "$BATS_TEST_SOURCE" ]; then + BATS_TEST_SOURCE="${BATS_PARENT_TMPNAME}.src" + fi + source "$BATS_TEST_SOURCE" +} + +exec 3<&1 + +if [ "$#" -eq 0 ]; then + bats_preprocess_source + bats_evaluate_preprocessed_source + + if [ -n "$BATS_COUNT_ONLY" ]; then + echo "${#BATS_TEST_NAMES[@]}" + else + bats_perform_tests "${BATS_TEST_NAMES[@]}" + fi +else + bats_evaluate_preprocessed_source + bats_perform_test "$@" +fi diff --git a/.github/actions/runleaks/git-secrets/test/bats/libexec/bats-format-tap-stream b/.github/actions/runleaks/git-secrets/test/bats/libexec/bats-format-tap-stream new file mode 100755 index 00000000000..614768f4d9e --- /dev/null +++ b/.github/actions/runleaks/git-secrets/test/bats/libexec/bats-format-tap-stream @@ -0,0 +1,165 @@ +#!/usr/bin/env bash +set -e + +# Just stream the TAP output (sans extended syntax) if tput is missing +command -v tput >/dev/null || exec grep -v "^begin " + +header_pattern='[0-9]+\.\.[0-9]+' +IFS= read -r header + +if [[ "$header" =~ $header_pattern ]]; then + count="${header:3}" + index=0 + failures=0 + skipped=0 + name="" + count_column_width=$(( ${#count} * 2 + 2 )) +else + # If the first line isn't a TAP plan, print it and pass the rest through + printf "%s\n" "$header" + exec cat +fi + +update_screen_width() { + screen_width="$(tput cols)" + count_column_left=$(( $screen_width - $count_column_width )) +} + +trap update_screen_width WINCH +update_screen_width + +begin() { + go_to_column 0 + printf_with_truncation $(( $count_column_left - 1 )) " %s" "$name" + clear_to_end_of_line + go_to_column $count_column_left + printf "%${#count}s/${count}" "$index" + go_to_column 1 +} + +pass() { + go_to_column 0 + printf " ✓ %s" "$name" + advance +} + +skip() { + local reason="$1" + [ -z "$reason" ] || reason=": $reason" + go_to_column 0 + printf " - %s (skipped%s)" "$name" "$reason" + advance +} + +fail() { + go_to_column 0 + set_color 1 bold + printf " ✗ %s" "$name" + advance +} + +log() { + set_color 1 + printf " %s\n" "$1" + clear_color +} + +summary() { + printf "\n%d test%s" "$count" "$(plural "$count")" + + printf ", %d failure%s" "$failures" "$(plural "$failures")" + + if [ "$skipped" -gt 0 ]; then + printf ", %d skipped" "$skipped" + fi + + printf "\n" +} + +printf_with_truncation() { + local width="$1" + shift + local string="$(printf "$@")" + + if [ "${#string}" -gt "$width" ]; then + printf "%s..." "${string:0:$(( $width - 4 ))}" + else + printf "%s" "$string" + fi +} + +go_to_column() { + local column="$1" + printf "\x1B[%dG" $(( $column + 1 )) +} + +clear_to_end_of_line() { + printf "\x1B[K" +} + +advance() { + clear_to_end_of_line + echo + clear_color +} + +set_color() { + local color="$1" + local weight="$2" + printf "\x1B[%d;%dm" $(( 30 + $color )) "$( [ "$weight" = "bold" ] && echo 1 || echo 22 )" +} + +clear_color() { + printf "\x1B[0m" +} + +plural() { + [ "$1" -eq 1 ] || echo "s" +} + +_buffer="" + +buffer() { + _buffer="${_buffer}$("$@")" +} + +flush() { + printf "%s" "$_buffer" + _buffer="" +} + +finish() { + flush + printf "\n" +} + +trap finish EXIT + +while IFS= read -r line; do + case "$line" in + "begin "* ) + let index+=1 + name="${line#* $index }" + buffer begin + flush + ;; + "ok "* ) + skip_expr="ok $index # skip (\(([^)]*)\))?" + if [[ "$line" =~ $skip_expr ]]; then + let skipped+=1 + buffer skip "${BASH_REMATCH[2]}" + else + buffer pass + fi + ;; + "not ok "* ) + let failures+=1 + buffer fail + ;; + "# "* ) + buffer log "${line:2}" + ;; + esac +done + +buffer summary diff --git a/.github/actions/runleaks/git-secrets/test/bats/libexec/bats-preprocess b/.github/actions/runleaks/git-secrets/test/bats/libexec/bats-preprocess new file mode 100755 index 00000000000..04297ed019b --- /dev/null +++ b/.github/actions/runleaks/git-secrets/test/bats/libexec/bats-preprocess @@ -0,0 +1,52 @@ +#!/usr/bin/env bash +set -e + +encode_name() { + local name="$1" + local result="test_" + + if [[ ! "$name" =~ [^[:alnum:]\ _-] ]]; then + name="${name//_/-5f}" + name="${name//-/-2d}" + name="${name// /_}" + result+="$name" + else + local length="${#name}" + local char i + + for ((i=0; i "$BATS_TMPDIR/test.txt" + repo_run git-secrets --scan "$BATS_TMPDIR/test.txt" + [ $status -eq 0 ] +} + +@test "Scans all files when no file provided" { + setup_bad_repo + repo_run git-secrets --scan + [ $status -eq 1 ] +} + +@test "Scans all files including history" { + setup_bad_repo + repo_run git-secrets --scan-history + [ $status -eq 1 ] +} + +@test "Scans all files when no file provided with secret in history" { + setup_bad_repo_history + repo_run git-secrets --scan + [ $status -eq 0 ] +} + +@test "Scans all files including history with secret in history" { + setup_bad_repo_history + repo_run git-secrets --scan-history + [ $status -eq 1 ] +} + +@test "Scans history with secrets distributed among branches in history" { + cd $TEST_REPO + echo '@todo' > $TEST_REPO/history_failure.txt + git add -A + git commit -m "Testing history" + echo 'todo' > $TEST_REPO/history_failure.txt + git add -A + git commit -m "Testing history" + git checkout -b testbranch + echo '@todo' > $TEST_REPO/history_failure.txt + git add -A + git commit -m "Testing history" + git checkout master + cd - + repo_run git-secrets --scan-history + [ $status -eq 1 ] +} + +@test "Scans recursively" { + setup_bad_repo + mkdir -p $TEST_REPO/foo/bar/baz + echo '@todo more stuff' > $TEST_REPO/foo/bar/baz/data.txt + repo_run git-secrets --scan -r $TEST_REPO/foo + [ $status -eq 1 ] +} + +@test "Scans recursively only if -r is given" { + setup_bad_repo + mkdir -p $TEST_REPO/foo/bar/baz + echo '@todo more stuff' > $TEST_REPO/foo/bar/baz/data.txt + repo_run git-secrets --scan $TEST_REPO/foo + [ $status -eq 0 ] +} + +@test "Excludes allowed patterns from failures" { + git config --add secrets.patterns 'foo="baz{1,5}"' + git config --add secrets.allowed 'foo="bazzz"' + echo 'foo="bazzz" is ok because 3 "z"s' > "$BATS_TMPDIR/test.txt" + repo_run git-secrets --scan "$BATS_TMPDIR/test.txt" + [ $status -eq 0 ] + echo 'This is NOT: ok foo="bazzzz"' > "$BATS_TMPDIR/test.txt" + repo_run git-secrets --scan "$BATS_TMPDIR/test.txt" + [ $status -eq 1 ] +} + +@test "Prohibited matches exits 1" { + file="$TEST_REPO/test.txt" + echo '@todo stuff' > $file + echo 'this is forbidden right?' >> $file + repo_run git-secrets --scan $file + [ $status -eq 1 ] + [ "${lines[0]}" == "$file:1:@todo stuff" ] + [ "${lines[1]}" == "$file:2:this is forbidden right?" ] +} + +@test "Only matches on word boundaries" { + file="$TEST_REPO/test.txt" + # Note that the following does not match as it is not a word. + echo 'mesa Jar Jar Binks' > $file + # The following do match because they are in word boundaries. + echo 'foo.me' >> $file + echo '"me"' >> $file + repo_run git-secrets --scan $file + [ $status -eq 1 ] + [ "${lines[0]}" == "$file:2:foo.me" ] + [ "${lines[1]}" == "$file:3:\"me\"" ] +} + +@test "Can scan from stdin using -" { + echo "foo" | "${BATS_TEST_DIRNAME}/../git-secrets" --scan - + echo "me" | "${BATS_TEST_DIRNAME}/../git-secrets" --scan - && exit 1 || true +} + +@test "installs hooks for repo" { + setup_bad_repo + repo_run git-secrets --install $TEST_REPO + [ -f $TEST_REPO/.git/hooks/pre-commit ] + [ -f $TEST_REPO/.git/hooks/prepare-commit-msg ] + [ -f $TEST_REPO/.git/hooks/commit-msg ] +} + +@test "fails if hook exists and no -f" { + repo_run git-secrets --install $TEST_REPO + repo_run git-secrets --install $TEST_REPO + [ $status -eq 1 ] +} + +@test "Overwrites hooks if -f is given" { + repo_run git-secrets --install $TEST_REPO + repo_run git-secrets --install -f $TEST_REPO + [ $status -eq 0 ] +} + +@test "installs hooks for repo with Debian style directories" { + setup_bad_repo + mkdir $TEST_REPO/.git/hooks/pre-commit.d + mkdir $TEST_REPO/.git/hooks/prepare-commit-msg.d + mkdir $TEST_REPO/.git/hooks/commit-msg.d + run git-secrets --install $TEST_REPO + [ -f $TEST_REPO/.git/hooks/pre-commit.d/git-secrets ] + [ -f $TEST_REPO/.git/hooks/prepare-commit-msg.d/git-secrets ] + [ -f $TEST_REPO/.git/hooks/commit-msg.d/git-secrets ] +} + +@test "installs hooks to template directory" { + setup_bad_repo + run git-secrets --install $TEMPLATE_DIR + [ $status -eq 0 ] + run git init --template $TEMPLATE_DIR + [ $status -eq 0 ] + [ -f "${TEST_REPO}/.git/hooks/pre-commit" ] + [ -f "${TEST_REPO}/.git/hooks/prepare-commit-msg" ] + [ -f "${TEST_REPO}/.git/hooks/commit-msg" ] +} + +@test "Scans using keys from credentials file" { + echo 'aws_access_key_id = abc123' > $BATS_TMPDIR/test.ini + echo 'aws_secret_access_key=foobaz' >> $BATS_TMPDIR/test.ini + echo 'aws_access_key_id = "Bernard"' >> $BATS_TMPDIR/test.ini + echo 'aws_secret_access_key= "Laverne"' >> $BATS_TMPDIR/test.ini + echo 'aws_access_key_id= Hoagie+man' >> $BATS_TMPDIR/test.ini + cd $TEST_REPO + run git secrets --aws-provider $BATS_TMPDIR/test.ini + [ $status -eq 0 ] + echo "$output" | grep -F "foobaz" + echo "$output" | grep -F "abc123" + echo "$output" | grep -F "Bernard" + echo "$output" | grep -F "Laverne" + echo "$output" | grep -F 'Hoagie\+man' + run git secrets --add-provider -- git secrets --aws-provider $BATS_TMPDIR/test.ini + [ $status -eq 0 ] + echo '(foobaz) test' > $TEST_REPO/bad_file + echo "abc123 test" >> $TEST_REPO/bad_file + echo 'Bernard test' >> $TEST_REPO/bad_file + echo 'Laverne test' >> $TEST_REPO/bad_file + echo 'Hoagie+man test' >> $TEST_REPO/bad_file + repo_run git-secrets --scan $TEST_REPO/bad_file + [ $status -eq 1 ] + echo "$output" | grep "foobaz" + echo "$output" | grep "abc123" + echo "$output" | grep "Bernard" + echo "$output" | grep "Laverne" + echo "$output" | grep -F 'Hoagie+man' +} + +@test "Lists secrets for a repo" { + repo_run git-secrets --list + [ $status -eq 0 ] + echo "$output" | grep -F 'secrets.patterns @todo' + echo "$output" | grep -F 'secrets.patterns forbidden|me' +} + +@test "Adds secrets to a repo and de-dedupes" { + repo_run git-secrets --add 'testing+123' + [ $status -eq 0 ] + repo_run git-secrets --add 'testing+123' + [ $status -eq 1 ] + repo_run git-secrets --add --literal 'testing+abc' + [ $status -eq 0 ] + repo_run git-secrets --add -l 'testing+abc' + [ $status -eq 1 ] + repo_run git-secrets --list + echo "$output" | grep -F 'secrets.patterns @todo' + echo "$output" | grep -F 'secrets.patterns forbidden|me' + echo "$output" | grep -F 'secrets.patterns testing+123' + echo "$output" | grep -F 'secrets.patterns testing\+abc' +} + +@test "Adds allowed patterns to a repo and de-dedupes" { + repo_run git-secrets --add -a 'testing+123' + [ $status -eq 0 ] + repo_run git-secrets --add --allowed 'testing+123' + [ $status -eq 1 ] + repo_run git-secrets --add -a -l 'testing+abc' + [ $status -eq 0 ] + repo_run git-secrets --add -a -l 'testing+abc' + [ $status -eq 1 ] + repo_run git-secrets --list + echo "$output" | grep -F 'secrets.patterns @todo' + echo "$output" | grep -F 'secrets.patterns forbidden|me' + echo "$output" | grep -F 'secrets.allowed testing+123' + echo "$output" | grep -F 'secrets.allowed testing\+abc' +} + +@test "Empty lines must be ignored in .gitallowed files" { + setup_bad_repo + echo '' >> $TEST_REPO/.gitallowed + repo_run git-secrets --scan + [ $status -eq 1 ] +} + +@test "Comment lines must be ignored in .gitallowed files" { + setup_bad_repo_with_hash + repo_run git-secrets --scan + [ $status -eq 1 ] + echo '#hash' > $TEST_REPO/.gitallowed + repo_run git-secrets --scan + [ $status -eq 1 ] + echo 'hash' > $TEST_REPO/.gitallowed + repo_run git-secrets --scan + [ $status -eq 0 ] +} + +@test "Scans all files and allowing none of the bad patterns in .gitallowed" { + setup_bad_repo + echo 'hello' > $TEST_REPO/.gitallowed + repo_run git-secrets --scan + [ $status -eq 1 ] +} + +@test "Scans all files and allowing all bad patterns in .gitallowed" { + setup_bad_repo + echo '@todo' > $TEST_REPO/.gitallowed + echo 'forbidden' >> $TEST_REPO/.gitallowed + echo 'me' >> $TEST_REPO/.gitallowed + repo_run git-secrets --scan + [ $status -eq 0 ] +} + +@test "Adds common AWS patterns" { + repo_run git config --unset-all secrets + repo_run git-secrets --register-aws + git config --local --get secrets.providers + repo_run git-secrets --list + echo "$output" | grep -F '(A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}' + echo "$output" | grep "AKIAIOSFODNN7EXAMPLE" + echo "$output" | grep "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY" +} + +@test "Adds providers" { + repo_run git-secrets --add-provider -- echo foo baz bar + [ $status -eq 0 ] + repo_run git-secrets --add-provider -- echo bam + [ $status -eq 0 ] + repo_run git-secrets --list + echo "$output" | grep -F 'echo foo baz bar' + echo "$output" | grep -F 'echo bam' + echo 'foo baz bar' > $TEST_REPO/bad_file + echo 'bam' >> $TEST_REPO/bad_file + repo_run git-secrets --scan $TEST_REPO/bad_file + [ $status -eq 1 ] + echo "$output" | grep -F 'foo baz bar' + echo "$output" | grep -F 'bam' +} + +@test "Strips providers that return nothing" { + repo_run git-secrets --add-provider -- 'echo' + [ $status -eq 0 ] + repo_run git-secrets --add-provider -- 'echo 123' + [ $status -eq 0 ] + repo_run git-secrets --list + echo "$output" | grep -F 'echo 123' + echo 'foo' > $TEST_REPO/bad_file + repo_run git-secrets --scan $TEST_REPO/bad_file + [ $status -eq 0 ] +} + +@test "--recursive cannot be used with SCAN_*" { + repo_run git-secrets --scan -r --cached + [ $status -eq 1 ] + repo_run git-secrets --scan -r --no-index + [ $status -eq 1 ] + repo_run git-secrets --scan -r --untracked + [ $status -eq 1 ] +} + +@test "--recursive can be used with --scan" { + repo_run git-secrets --scan -r + [ $status -eq 0 ] +} + +@test "--recursive can't be used with --list" { + repo_run git-secrets --list -r + [ $status -eq 1 ] +} + +@test "-f can only be used with --install" { + repo_run git-secrets --scan -f + [ $status -eq 1 ] +} + +@test "-a can only be used with --add" { + repo_run git-secrets --scan -a + [ $status -eq 1 ] +} + +@test "-l can only be used with --add" { + repo_run git-secrets --scan -l + [ $status -eq 1 ] +} + +@test "--cached can only be used with --scan" { + repo_run git-secrets --list --cached + [ $status -eq 1 ] +} + +@test "--no-index can only be used with --scan" { + repo_run git-secrets --list --no-index + [ $status -eq 1 ] +} + +@test "--untracked can only be used with --scan" { + repo_run git-secrets --list --untracked + [ $status -eq 1 ] +} diff --git a/.github/actions/runleaks/git-secrets/test/pre-commit.bats b/.github/actions/runleaks/git-secrets/test/pre-commit.bats new file mode 100644 index 00000000000..5ace267cbb3 --- /dev/null +++ b/.github/actions/runleaks/git-secrets/test/pre-commit.bats @@ -0,0 +1,62 @@ +#!/usr/bin/env bats +load test_helper + +@test "Rejects commits with prohibited patterns in changeset" { + setup_bad_repo + repo_run git-secrets --install $TEST_REPO + cd $TEST_REPO + run git commit -m 'Contents are bad not the message' + [ $status -eq 1 ] + [ "${lines[0]}" == "data.txt:1:@todo more stuff" ] + [ "${lines[1]}" == "failure1.txt:1:another line... forbidden" ] + [ "${lines[2]}" == "failure2.txt:1:me" ] +} + +@test "Rejects commits with prohibited patterns in changeset with filename that contain spaces" { + setup_bad_repo_with_spaces + repo_run git-secrets --install $TEST_REPO + cd $TEST_REPO + run git commit -m 'Contents are bad not the message' + [ $status -eq 1 ] + [ "${lines[0]}" == "da ta.txt:1:@todo more stuff" ] +} + +@test "Scans staged files" { + cd $TEST_REPO + repo_run git-secrets --install $TEST_REPO + echo '@todo more stuff' > $TEST_REPO/data.txt + echo 'hi there' > $TEST_REPO/ok.txt + git add -A + echo 'fixed the working directory, but not staged' > $TEST_REPO/data.txt + run git commit -m 'Contents are bad not the message' + [ $status -eq 1 ] + [ "${lines[0]}" == "data.txt:1:@todo more stuff" ] +} + +@test "Allows commits that do not match prohibited patterns" { + setup_good_repo + repo_run git-secrets --install $TEST_REPO + cd $TEST_REPO + run git commit -m 'This is fine' + [ $status -eq 0 ] + # Ensure deleted files are filtered out of the grep + rm $TEST_REPO/data.txt + echo 'aaa' > $TEST_REPO/data_2.txt + run git add -A + run git commit -m 'This is also fine' + [ $status -eq 0 ] +} + +@test "Rejects commits with prohibited patterns in changeset when AWS provider is enabled" { + setup_bad_repo + repo_run git-secrets --install $TEST_REPO + repo_run git-secrets --register-aws $TEST_REPO + cd $TEST_REPO + run git commit -m 'Contents are bad not the message' + [ $status -eq 1 ] + echo "${lines}" | grep -vq 'git secrets --aws-provider: command not found' + + [ "${lines[0]}" == "data.txt:1:@todo more stuff" ] + [ "${lines[1]}" == "failure1.txt:1:another line... forbidden" ] + [ "${lines[2]}" == "failure2.txt:1:me" ] +} diff --git a/.github/actions/runleaks/git-secrets/test/prepare-commit-msg.bats b/.github/actions/runleaks/git-secrets/test/prepare-commit-msg.bats new file mode 100644 index 00000000000..a211c1318a2 --- /dev/null +++ b/.github/actions/runleaks/git-secrets/test/prepare-commit-msg.bats @@ -0,0 +1,33 @@ +#!/usr/bin/env bats +load test_helper + +@test "Rejects merges with prohibited patterns in history" { + setup_good_repo + repo_run git-secrets --install $TEST_REPO + cd $TEST_REPO + git commit -m 'OK' + git checkout -b feature + echo '@todo' > data.txt + git add -A + git commit -m 'Bad commit' --no-verify + echo 'Fixing!' > data.txt + git add -A + git commit -m 'Fixing commit' + git checkout master + run git merge --no-ff feature + [ $status -eq 1 ] +} + +@test "Allows merges that do not match prohibited patterns" { + setup_good_repo + cd $TEST_REPO + repo_run git-secrets --install + git commit -m 'OK' + git checkout -b feature + echo 'Not bad' > data.txt + git add -A + git commit -m 'Good commit' + git checkout master + run git merge --no-ff feature + [ $status -eq 0 ] +} diff --git a/.github/actions/runleaks/git-secrets/test/test_helper.bash b/.github/actions/runleaks/git-secrets/test/test_helper.bash new file mode 100644 index 00000000000..9133e5162ec --- /dev/null +++ b/.github/actions/runleaks/git-secrets/test/test_helper.bash @@ -0,0 +1,94 @@ +#!/bin/bash +export TEST_REPO="$BATS_TMPDIR/test-repo" +export TEMP_HOME="$BATS_TMPDIR/home" +export TEMPLATE_DIR="${BATS_TMPDIR}/template" +INITIAL_PATH="${PATH}" +INITIAL_HOME=${HOME} + +setup() { + setup_repo + [ -d "${TEMPLATE_DIR}" ] && rm -rf "${TEMPLATE_DIR}" + [ -d "${TEMP_HOME}" ] && rm -rf "${TEMP_HOME}" + mkdir -p $TEMP_HOME + export HOME=$TEMP_HOME + export PATH="${BATS_TEST_DIRNAME}/..:${INITIAL_PATH}" + cd $TEST_REPO +} + +teardown() { + delete_repo + export PATH="${INITIAL_PATH}" + export HOME="${INITIAL_HOME}" + [ -d "${TEMP_HOME}" ] && rm -rf "${TEMP_HOME}" +} + +delete_repo() { + [ -d $TEST_REPO ] && rm -rf $TEST_REPO || true +} + +setup_repo() { + delete_repo + mkdir -p $TEST_REPO + cd $TEST_REPO + git init + git config --local --add secrets.patterns '@todo' + git config --local --add secrets.patterns 'forbidden|me' + git config --local --add secrets.patterns '#hash' + git config --local user.email "you@example.com" + git config --local user.name "Your Name" + cd - +} + +repo_run() { + cmd="$1" + shift + cd "${TEST_REPO}" + run "${BATS_TEST_DIRNAME}/../${cmd}" $@ + cd - +} + +# Creates a repo that should fail +setup_bad_repo() { + cd $TEST_REPO + echo '@todo more stuff' > $TEST_REPO/data.txt + echo 'hi there' > $TEST_REPO/ok.txt + echo 'another line... forbidden' > $TEST_REPO/failure1.txt + echo 'me' > $TEST_REPO/failure2.txt + git add -A + cd - +} + +# Creates a repo that should fail +setup_bad_repo_with_spaces() { + cd $TEST_REPO + echo '@todo more stuff' > "$TEST_REPO/da ta.txt" + git add -A + cd - +} + +# Creates a repo that should fail +setup_bad_repo_with_hash() { + cd $TEST_REPO + echo '#hash' > "$TEST_REPO/data.txt" + git add -A + cd - +} + +# Creates a repo that should fail +setup_bad_repo_history() { + cd $TEST_REPO + echo '@todo' > $TEST_REPO/history_failure.txt + git add -A + git commit -m "Testing history" + echo 'todo' > $TEST_REPO/history_failure.txt + git add -A + cd - +} + +# Creates a repo that does not fail +setup_good_repo() { + cd $TEST_REPO + echo 'hello!' > $TEST_REPO/data.txt + git add -A + cd - +} diff --git a/.github/actions/runleaks/lib/scan.sh b/.github/actions/runleaks/lib/scan.sh new file mode 100644 index 00000000000..4a4b9cadb61 --- /dev/null +++ b/.github/actions/runleaks/lib/scan.sh @@ -0,0 +1,126 @@ +#!/bin/bash + +# Init +repo="$2" +run_count=$3 +min_days_old=$4 +max_days_old=$5 +fail_on_leak=$8 +max_proc_count=32 +log_file=exceptions_search.txt + +# Set defaults +if [[ -z $min_days_old ]]; then + min_days_old="0" + echo "min_days_old: $min_days_old" +fi + +if [[ -z $max_days_old ]]; then + max_days_old="3" + echo "max_days_old: $max_days_old" +fi + +if [[ -z $fail_on_leak ]]; then + fail_on_leak=true + echo "fail_on_leak: $fail_on_leak" +fi + +# If file path error, use default patterns +if cp "$6" /patterns.txt; then + # Register patterns + grep -v -E '(#.*$)|(^$)' /patterns.txt >/clean_patterns.txt + while read line; do + if [[ "$line" != "#*" ]]; then + git secrets $line --global + fi + done auth.txt +gh auth login --with-token ((now - ('"$max_days_old"'*86400))|strftime("%Y-%m-%dT%H:%M:%S %Z"))) | select(.status =="completed").databaseId' --limit $run_list_limit) +run_ids_limited=$(printf "%s\n" ${run_ids[@]} | head -$run_count) + +echo "Runs to scan: $run_count" +echo $run_ids_limited + +touch "$log_file" + +run_for_each() { + local each=$@ + + # Collect run logs and remove null + log_out=$(gh run view $each --repo "$repo" --log 2>/dev/null | sed 's/\x0//g') + if [[ $? -ne 0 ]]; then + exit 1 + fi + + # Identify potential exceptions + scan_out=$(echo "$log_out" | git secrets --scan - 2>&1) + status=$? + + # If exception, add to array of details + if (($status != 0)); then + raw_log_full=$(echo "$scan_out" | grep '(standard input)') + exception_line=$(echo "$raw_log_full" | awk -F '\t' '{print $2$3}' | sed 's/[^a-zA-Z0-9]/_/g' | sed 's/.*/"&",/') + exception=$(gh run view $each --repo "$repo" --json name,createdAt,databaseId,url,updatedAt,headBranch 2>/dev/null) + if [[ $? -ne 0 ]]; then + exit 1 + fi + exception_with_detail=$(echo $exception | jq '. + {exception_detail: {'"$exception_line"'}}') + echo $exception_with_detail >>"$log_file" + fi +} + +# Make visible to subprocesses +export -f run_for_each +export log_file +export repo + +parallel -0 --jobs $max_proc_count run_for_each ::: $run_ids_limited + +json_out=$(jq -n '.exceptions |= [inputs]' "$log_file") +json_out_length=$(echo $json_out | jq -s '.[].exceptions' | jq length) +echo "$json_out" + +# Make output friendly +json_out="${json_out//'%'/'%25'}" +json_out="${json_out//$'\n'/'%0A'}" +json_out="${json_out//$'\r'/'%0D'}" +echo "exceptions=$json_out" >> $GITHUB_OUTPUT +echo "count=$json_out_length" >> $GITHUB_OUTPUT + +rm "$log_file" + +if [[ $fail_on_leak = true && json_out_length -gt 0 ]]; then + echo "Failing since leak!" + exit 1 +fi diff --git a/.github/actions/slack-boltjs-app/.dockerignore b/.github/actions/slack-boltjs-app/.dockerignore new file mode 100644 index 00000000000..2eea525d885 --- /dev/null +++ b/.github/actions/slack-boltjs-app/.dockerignore @@ -0,0 +1 @@ +.env \ No newline at end of file diff --git a/.github/actions/slack-boltjs-app/.env.example b/.github/actions/slack-boltjs-app/.env.example new file mode 100644 index 00000000000..6f435a07baf --- /dev/null +++ b/.github/actions/slack-boltjs-app/.env.example @@ -0,0 +1,10 @@ +# App-Level Token w/connections:write +SLACK_APP_TOKEN= +# Bot User OAuth Token under the OAuth & Permissions sidebar +SLACK_BOT_TOKEN= +# https://github.com/settings/tokens +GITHUB_TOKEN= +# Only pushes to this repo if specified +GITHUB_REPO= +# Only pushes are permitted to these branches +GITHUB_TARGET_BRANCHES= \ No newline at end of file diff --git a/.github/actions/slack-boltjs-app/.eslintignore b/.github/actions/slack-boltjs-app/.eslintignore new file mode 100644 index 00000000000..3c3629e647f --- /dev/null +++ b/.github/actions/slack-boltjs-app/.eslintignore @@ -0,0 +1 @@ +node_modules diff --git a/.github/actions/slack-boltjs-app/.eslintrc.cjs b/.github/actions/slack-boltjs-app/.eslintrc.cjs new file mode 100644 index 00000000000..7a28658ef87 --- /dev/null +++ b/.github/actions/slack-boltjs-app/.eslintrc.cjs @@ -0,0 +1,15 @@ +module.exports = { + env: { + browser: false, + es2021: true, + }, + extends: ["eslint:recommended", "plugin:node/recommended"], + rules: { + "node/no-missing-import": [ + "error", + { + allowModules: ["@slack/bolt"], + }, + ], + }, +}; diff --git a/.github/actions/slack-boltjs-app/.gitignore b/.github/actions/slack-boltjs-app/.gitignore new file mode 100644 index 00000000000..1cda3b10143 --- /dev/null +++ b/.github/actions/slack-boltjs-app/.gitignore @@ -0,0 +1,7 @@ +.env +.help +node_modules +.git +_git +.github +_github diff --git a/.github/actions/slack-boltjs-app/.glitch-assets b/.github/actions/slack-boltjs-app/.glitch-assets new file mode 100644 index 00000000000..954626f61ff --- /dev/null +++ b/.github/actions/slack-boltjs-app/.glitch-assets @@ -0,0 +1,6 @@ +{"name":"drag-in-files.svg","date":"2016-10-22T16:17:49.954Z","url":"https://cdn.hyperdev.com/drag-in-files.svg","type":"image/svg","size":7646,"imageWidth":276,"imageHeight":276,"thumbnail":"https://cdn.hyperdev.com/drag-in-files.svg","thumbnailWidth":276,"thumbnailHeight":276,"dominantColor":"rgb(102, 153, 205)","uuid":"adSBq97hhhpFNUna"} +{"name":"click-me.svg","date":"2016-10-23T16:17:49.954Z","url":"https://cdn.hyperdev.com/click-me.svg","type":"image/svg","size":7116,"imageWidth":276,"imageHeight":276,"thumbnail":"https://cdn.hyperdev.com/click-me.svg","thumbnailWidth":276,"thumbnailHeight":276,"dominantColor":"rgb(243, 185, 186)","uuid":"adSBq97hhhpFNUnb"} +{"name":"paste-me.svg","date":"2016-10-24T16:17:49.954Z","url":"https://cdn.hyperdev.com/paste-me.svg","type":"image/svg","size":7242,"imageWidth":276,"imageHeight":276,"thumbnail":"https://cdn.hyperdev.com/paste-me.svg","thumbnailWidth":276,"thumbnailHeight":276,"dominantColor":"rgb(42, 179, 185)","uuid":"adSBq97hhhpFNUnc"} +{"uuid":"adSBq97hhhpFNUna","deleted":true} +{"uuid":"adSBq97hhhpFNUnb","deleted":true} +{"uuid":"adSBq97hhhpFNUnc","deleted":true} diff --git a/.github/actions/slack-boltjs-app/.help.example b/.github/actions/slack-boltjs-app/.help.example new file mode 100644 index 00000000000..b24e6e72302 --- /dev/null +++ b/.github/actions/slack-boltjs-app/.help.example @@ -0,0 +1,32 @@ +USAGE + [<@bot>] gh-deploy [] to [] [OPTIONAL: for ] + +EXAMPLES + @MyBot gh-deploy master to feature3 + @MyBot gh-deploy feature1 to feature3 for my/awesome_repo + +========================================================================== + +USAGE + [<@bot>] gh-lock [add|remove|show] [] + +EXAMPLES + @MyBot gh-lock add feature3 + @MyBot gh-lock remove feature1 + +========================================================================== + +USAGE + [<@bot>] gh-run [] [OPTIONAL: ] [OPTIONAL: --inputs ] + +EXAMPLES + @MyBot gh-run log_management.yml --inputs name:alpha,desc:uat env + @MyBot gh-run log_management.yml my/awesome_repo main --inputs name:alpha,desc:uat env + +========================================================================== + +USAGE + [<@bot>] gh-targets + +EXAMPLES + @bot gh-targets diff --git a/.github/actions/slack-boltjs-app/Dockerfile.example b/.github/actions/slack-boltjs-app/Dockerfile.example new file mode 100644 index 00000000000..0bc2f1257f9 --- /dev/null +++ b/.github/actions/slack-boltjs-app/Dockerfile.example @@ -0,0 +1,11 @@ +FROM node:20-bookworm-slim + +WORKDIR /usr/app +COPY --chown=node:node ./ ./ +RUN mkdir -p ./src/.locks && chown node ./src/.locks +VOLUME /usr/app/src/.locks + +RUN npm install +USER node + +CMD ["npm", "start"] diff --git a/.github/actions/slack-boltjs-app/Makefile b/.github/actions/slack-boltjs-app/Makefile new file mode 100644 index 00000000000..032201f6d6d --- /dev/null +++ b/.github/actions/slack-boltjs-app/Makefile @@ -0,0 +1,10 @@ +default: start + +start: build + docker stop slack-boltjs-app || true + docker rm slack-boltjs-app || true + docker run --name=slack-boltjs-app --env-file .env \ + --volume gh_locks:/usr/app/src/.locks -d slack_boltjs_app + +build: + docker build -t slack_boltjs_app -f Dockerfile.example . \ No newline at end of file diff --git a/.github/actions/slack-boltjs-app/README.md b/.github/actions/slack-boltjs-app/README.md new file mode 100644 index 00000000000..8eda2990df4 --- /dev/null +++ b/.github/actions/slack-boltjs-app/README.md @@ -0,0 +1,83 @@ +# Slack-Boltjs-App + +[![CodeQL](https://github.com/CDCgov/prime-reportstream/.github/workflows/slack-boltjs-app--codeql.yml/badge.svg)](https://github.com/JosiahSiegel/slack-bolt/actions/workflows/codeql.yml) +[![njsscan sarif](https://github.com/CDCgov/prime-reportstream/.github/workflows/slack-boltjs-app--njsscan.yml/badge.svg)](https://github.com/JosiahSiegel/slack-bolt/actions/workflows/njsscan.yml) +[![Codacy Badge](https://app.codacy.com/project/badge/Grade/3f3ee15eaf3f4c81915d658008e01c3f)](https://app.codacy.com/gh/CDCgov/prime-reportstream/.github/actions/slack-boltjs-app/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade) + +![](https://avatars.slack-edge.com/2023-04-24/5159910288243_7af56ae264408f296381_128.png) + +Remix on Glitch + +## A secure and simple Boltjs app for Slack ChatOps + +> App includes basic GitHub push functionality to get you started + +### Quickstart +* `cp .env.example .env` + * Update `.env` ⚠️(required)⚠️ +* `cp .help.example .help` + * Update `.help` (optional) +* `npm install` +* `npm start` + +### Helpful links + +* [Bolt getting started guide](https://api.slack.com/start/building/bolt) +* [Bolt documentation](https://slack.dev/bolt) +* [Slack app home](https://api.slack.com/apps) + +### Example Slack app manifest + +```yml +display_information: + name: Bolt DevBot +features: + app_home: + home_tab_enabled: true + messages_tab_enabled: false + messages_tab_read_only_enabled: false + bot_user: + display_name: DevBot + always_online: true +oauth_config: + scopes: + bot: + - app_mentions:read + - calls:write + - channels:read + - chat:write + - commands + - channels:history + - reactions:read +settings: + event_subscriptions: + bot_events: + - app_home_opened + - app_mention + - message.channels + - reaction_added + interactivity: + is_enabled: true + org_deploy_enabled: false + socket_mode_enabled: true + token_rotation_enabled: false +``` + +Tips: + +* For [external workspace users][1], add an `app.message` per `app.command`. +* Check vulnerabilities: `npm audit` +* Fix Glitch out of sync with repo: + * `git pull` + * `refresh` +* Hard refresh Glitch from repo: + * `git fetch --all` + * `git reset --hard origin/main` + * `refresh` + +--- + +[Glitch](https://glitch.com/~slack-boltjs-app) +[GitHub](https://github.com/CDCgov/prime-reportstream/.github/actions/slack-boltjs-app) + +[1]: https://slack.com/help/articles/115004151203-Slack-Connect-guide--work-with-external-organizations diff --git a/.github/actions/slack-boltjs-app/npm-shrinkwrap.json b/.github/actions/slack-boltjs-app/npm-shrinkwrap.json new file mode 100644 index 00000000000..aa05bfa7ddf --- /dev/null +++ b/.github/actions/slack-boltjs-app/npm-shrinkwrap.json @@ -0,0 +1,4263 @@ +{ + "name": "slack-bolt", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "slack-bolt", + "version": "1.0.0", + "license": "MIT", + "dependencies": { + "@slack/bolt": "^3.18.0", + "dotenv": "^16", + "node-localstorage": "^3.0.5" + }, + "devDependencies": { + "eslint": "9.3.0", + "eslint-config-eslint": "^10.0.0" + }, + "engines": { + "node": "^20", + "npm": "^10" + } + }, + "node_modules/@aashutoshrathi/word-wrap": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", + "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.24.2", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.2.tgz", + "integrity": "sha512-y5+tLQyV8pg3fsiln67BVLD1P13Eg4lh5RW9mF0zUuvLrv9uIQ4MCL+CRT+FTsBlBjcIan6PGsLcBN0m3ClUyQ==", + "dev": true, + "dependencies": { + "@babel/highlight": "^7.24.2", + "picocolors": "^1.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.5.tgz", + "integrity": "sha512-3q93SSKX2TWCG30M2G2kwaKeTYgEUp5Snjuj8qm729SObL6nbtUldAi37qbxkD5gg3xnBio+f9nqpSepGZMvxA==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/highlight": { + "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.5.tgz", + "integrity": "sha512-8lLmua6AVh/8SLJRRVD6V8p73Hir9w5mJrhE+IPpILG31KKlI9iz5zmBYKcWPS59qSfgP9RaSBQSHHE81WKuEw==", + "dev": true, + "dependencies": { + "@babel/helper-validator-identifier": "^7.24.5", + "chalk": "^2.4.2", + "js-tokens": "^4.0.0", + "picocolors": "^1.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/highlight/node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/highlight/node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/highlight/node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/@babel/highlight/node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, + "node_modules/@babel/highlight/node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/@babel/highlight/node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/highlight/node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/@es-joy/jsdoccomment": { + "version": "0.42.0", + "resolved": "https://registry.npmjs.org/@es-joy/jsdoccomment/-/jsdoccomment-0.42.0.tgz", + "integrity": "sha512-R1w57YlVA6+YE01wch3GPYn6bCsrOV3YW/5oGGE2tmX6JcL9Nr+b5IikrjMPF+v9CV3ay+obImEdsDhovhJrzw==", + "dev": true, + "dependencies": { + "comment-parser": "1.4.1", + "esquery": "^1.5.0", + "jsdoc-type-pratt-parser": "~4.0.0" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/@eslint-community/eslint-plugin-eslint-comments": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-plugin-eslint-comments/-/eslint-plugin-eslint-comments-4.3.0.tgz", + "integrity": "sha512-6e93KtgsndNkvwCCa07LOQJSwzzLLxwrFll3+huyFoiiQXWG0KBcmo0Q1bVgYQQDLfWOOZl2VPBsXqZL6vHIBQ==", + "dev": true, + "dependencies": { + "escape-string-regexp": "^4.0.0", + "ignore": "^5.2.4" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", + "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "dev": true, + "dependencies": { + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.10.0", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.0.tgz", + "integrity": "sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==", + "dev": true, + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/eslintrc": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.1.0.tgz", + "integrity": "sha512-4Bfj15dVJdoy3RfZmmo86RK1Fwzn6SstsvK9JS+BaVKqC6QQQQyXekNaC+g+LKNgkQ+2VhGAzm6hO40AhMR3zQ==", + "dev": true, + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^10.0.1", + "globals": "^14.0.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint/eslintrc/node_modules/globals": { + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz", + "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==", + "dev": true, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@eslint/js": { + "version": "9.3.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.3.0.tgz", + "integrity": "sha512-niBqk8iwv96+yuTwjM6bWg8ovzAPF9qkICsGtcoa5/dmqcEMfdwNAX7+/OHcJHc7wj7XqPxH98oAHytFYlw6Sw==", + "dev": true, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@humanwhocodes/config-array": { + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz", + "integrity": "sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==", + "dev": true, + "dependencies": { + "@humanwhocodes/object-schema": "^2.0.3", + "debug": "^4.3.1", + "minimatch": "^3.0.5" + }, + "engines": { + "node": ">=10.10.0" + } + }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true, + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/object-schema": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", + "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", + "dev": true + }, + "node_modules/@humanwhocodes/retry": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.0.tgz", + "integrity": "sha512-d2CGZR2o7fS6sWB7DG/3a95bGKQyHMACZ5aW8qGkkqQpUoZV6C0X7Pc7l4ZNMZkfNBf4VWNe9E1jRsf0G146Ew==", + "dev": true, + "engines": { + "node": ">=18.18" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@slack/bolt": { + "version": "3.18.0", + "resolved": "https://registry.npmjs.org/@slack/bolt/-/bolt-3.18.0.tgz", + "integrity": "sha512-A7bDi5kY50fS6/nsmURkQdO3iMxD8aX/rA+m1UXEM2ue2z4KijeQtx2sOZ4YkJQ/h7BsgTQM0CYh3qqmo+m5sQ==", + "dependencies": { + "@slack/logger": "^4.0.0", + "@slack/oauth": "^2.6.2", + "@slack/socket-mode": "^1.3.3", + "@slack/types": "^2.11.0", + "@slack/web-api": "^6.11.2", + "@types/express": "^4.16.1", + "@types/promise.allsettled": "^1.0.3", + "@types/tsscmp": "^1.0.0", + "axios": "^1.6.0", + "express": "^4.16.4", + "path-to-regexp": "^6.2.1", + "please-upgrade-node": "^3.2.0", + "promise.allsettled": "^1.0.2", + "raw-body": "^2.3.3", + "tsscmp": "^1.0.6" + }, + "engines": { + "node": ">=12.13.0", + "npm": ">=6.12.0" + } + }, + "node_modules/@slack/logger": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@slack/logger/-/logger-4.0.0.tgz", + "integrity": "sha512-Wz7QYfPAlG/DR+DfABddUZeNgoeY7d1J39OCR2jR+v7VBsB8ezulDK5szTnDDPDwLH5IWhLvXIHlCFZV7MSKgA==", + "dependencies": { + "@types/node": ">=18.0.0" + }, + "engines": { + "node": ">= 18", + "npm": ">= 8.6.0" + } + }, + "node_modules/@slack/oauth": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/@slack/oauth/-/oauth-2.6.2.tgz", + "integrity": "sha512-2R3MyB/R63hTRXzk5J6wcui59TBxXzhk+Uh2/Xu3Wp3O4pXg/BNucQhP/DQbL/ScVhLvFtMXirLrKi0Yo5gIVw==", + "dependencies": { + "@slack/logger": "^3.0.0", + "@slack/web-api": "^6.11.2", + "@types/jsonwebtoken": "^8.3.7", + "@types/node": ">=12", + "jsonwebtoken": "^9.0.0", + "lodash.isstring": "^4.0.1" + }, + "engines": { + "node": ">=12.13.0", + "npm": ">=6.12.0" + } + }, + "node_modules/@slack/oauth/node_modules/@slack/logger": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@slack/logger/-/logger-3.0.0.tgz", + "integrity": "sha512-DTuBFbqu4gGfajREEMrkq5jBhcnskinhr4+AnfJEk48zhVeEv3XnUKGIX98B74kxhYsIMfApGGySTn7V3b5yBA==", + "dependencies": { + "@types/node": ">=12.0.0" + }, + "engines": { + "node": ">= 12.13.0", + "npm": ">= 6.12.0" + } + }, + "node_modules/@slack/socket-mode": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/@slack/socket-mode/-/socket-mode-1.3.3.tgz", + "integrity": "sha512-vN3zG4woRtf2Ut6rZgRW6G/Oe56uLMlnz39I08Q7DOvVfB+1MmDbNv0PNOiFgujdKXJR+bXF41/F/VvryXcqlw==", + "dependencies": { + "@slack/logger": "^3.0.0", + "@slack/web-api": "^6.11.2", + "@types/node": ">=12.0.0", + "@types/p-queue": "^2.3.2", + "@types/ws": "^7.4.7", + "eventemitter3": "^3.1.0", + "finity": "^0.5.4", + "p-cancelable": "^1.1.0", + "p-queue": "^2.4.2", + "ws": "^7.5.3" + }, + "engines": { + "node": ">=12.13.0", + "npm": ">=6.12.0" + } + }, + "node_modules/@slack/socket-mode/node_modules/@slack/logger": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@slack/logger/-/logger-3.0.0.tgz", + "integrity": "sha512-DTuBFbqu4gGfajREEMrkq5jBhcnskinhr4+AnfJEk48zhVeEv3XnUKGIX98B74kxhYsIMfApGGySTn7V3b5yBA==", + "dependencies": { + "@types/node": ">=12.0.0" + }, + "engines": { + "node": ">= 12.13.0", + "npm": ">= 6.12.0" + } + }, + "node_modules/@slack/types": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/@slack/types/-/types-2.11.0.tgz", + "integrity": "sha512-UlIrDWvuLaDly3QZhCPnwUSI/KYmV1N9LyhuH6EDKCRS1HWZhyTG3Ja46T3D0rYfqdltKYFXbJSSRPwZpwO0cQ==", + "engines": { + "node": ">= 12.13.0", + "npm": ">= 6.12.0" + } + }, + "node_modules/@slack/web-api": { + "version": "6.12.0", + "resolved": "https://registry.npmjs.org/@slack/web-api/-/web-api-6.12.0.tgz", + "integrity": "sha512-RPw6F8rWfGveGkZEJ4+4jUin5iazxRK2q3FpQDz/FvdgzC3nZmPyLx8WRzc6nh0w3MBjEbphNnp2VZksfhpBIQ==", + "dependencies": { + "@slack/logger": "^3.0.0", + "@slack/types": "^2.11.0", + "@types/is-stream": "^1.1.0", + "@types/node": ">=12.0.0", + "axios": "^1.6.5", + "eventemitter3": "^3.1.0", + "form-data": "^2.5.0", + "is-electron": "2.2.2", + "is-stream": "^1.1.0", + "p-queue": "^6.6.1", + "p-retry": "^4.0.0" + }, + "engines": { + "node": ">= 12.13.0", + "npm": ">= 6.12.0" + } + }, + "node_modules/@slack/web-api/node_modules/@slack/logger": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@slack/logger/-/logger-3.0.0.tgz", + "integrity": "sha512-DTuBFbqu4gGfajREEMrkq5jBhcnskinhr4+AnfJEk48zhVeEv3XnUKGIX98B74kxhYsIMfApGGySTn7V3b5yBA==", + "dependencies": { + "@types/node": ">=12.0.0" + }, + "engines": { + "node": ">= 12.13.0", + "npm": ">= 6.12.0" + } + }, + "node_modules/@slack/web-api/node_modules/p-queue": { + "version": "6.6.2", + "resolved": "https://registry.npmjs.org/p-queue/-/p-queue-6.6.2.tgz", + "integrity": "sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ==", + "dependencies": { + "eventemitter3": "^4.0.4", + "p-timeout": "^3.2.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@slack/web-api/node_modules/p-queue/node_modules/eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==" + }, + "node_modules/@types/body-parser": { + "version": "1.19.5", + "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.5.tgz", + "integrity": "sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==", + "dependencies": { + "@types/connect": "*", + "@types/node": "*" + } + }, + "node_modules/@types/connect": { + "version": "3.4.38", + "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.38.tgz", + "integrity": "sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/express": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.21.tgz", + "integrity": "sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==", + "dependencies": { + "@types/body-parser": "*", + "@types/express-serve-static-core": "^4.17.33", + "@types/qs": "*", + "@types/serve-static": "*" + } + }, + "node_modules/@types/express-serve-static-core": { + "version": "4.17.43", + "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.43.tgz", + "integrity": "sha512-oaYtiBirUOPQGSWNGPWnzyAFJ0BP3cwvN4oWZQY+zUBwpVIGsKUkpBpSztp74drYcjavs7SKFZ4DX1V2QeN8rg==", + "dependencies": { + "@types/node": "*", + "@types/qs": "*", + "@types/range-parser": "*", + "@types/send": "*" + } + }, + "node_modules/@types/http-errors": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@types/http-errors/-/http-errors-2.0.4.tgz", + "integrity": "sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA==" + }, + "node_modules/@types/is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@types/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha512-jkZatu4QVbR60mpIzjINmtS1ZF4a/FqdTUTBeQDVOQ2PYyidtwFKr0B5G6ERukKwliq+7mIXvxyppwzG5EgRYg==", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/jsonwebtoken": { + "version": "8.5.9", + "resolved": "https://registry.npmjs.org/@types/jsonwebtoken/-/jsonwebtoken-8.5.9.tgz", + "integrity": "sha512-272FMnFGzAVMGtu9tkr29hRL6bZj4Zs1KZNeHLnKqAvp06tAIcarTMwOh8/8bz4FmKRcMxZhZNeUAQsNLoiPhg==", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/mime": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.5.tgz", + "integrity": "sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==" + }, + "node_modules/@types/node": { + "version": "20.11.23", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.23.tgz", + "integrity": "sha512-ZUarKKfQuRILSNYt32FuPL20HS7XwNT7/uRwSV8tiHWfyyVwDLYZNF6DZKc2bove++pgfsXn9sUwII/OsQ82cQ==", + "dependencies": { + "undici-types": "~5.26.4" + } + }, + "node_modules/@types/normalize-package-data": { + "version": "2.4.4", + "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz", + "integrity": "sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==", + "dev": true + }, + "node_modules/@types/p-queue": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/@types/p-queue/-/p-queue-2.3.2.tgz", + "integrity": "sha512-eKAv5Ql6k78dh3ULCsSBxX6bFNuGjTmof5Q/T6PiECDq0Yf8IIn46jCyp3RJvCi8owaEmm3DZH1PEImjBMd/vQ==" + }, + "node_modules/@types/promise.allsettled": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@types/promise.allsettled/-/promise.allsettled-1.0.6.tgz", + "integrity": "sha512-wA0UT0HeT2fGHzIFV9kWpYz5mdoyLxKrTgMdZQM++5h6pYAFH73HXcQhefg24nD1yivUFEn5KU+EF4b+CXJ4Wg==" + }, + "node_modules/@types/qs": { + "version": "6.9.12", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.12.tgz", + "integrity": "sha512-bZcOkJ6uWrL0Qb2NAWKa7TBU+mJHPzhx9jjLL1KHF+XpzEcR7EXHvjbHlGtR/IsP1vyPrehuS6XqkmaePy//mg==" + }, + "node_modules/@types/range-parser": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.7.tgz", + "integrity": "sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==" + }, + "node_modules/@types/retry": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.0.tgz", + "integrity": "sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==" + }, + "node_modules/@types/send": { + "version": "0.17.4", + "resolved": "https://registry.npmjs.org/@types/send/-/send-0.17.4.tgz", + "integrity": "sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==", + "dependencies": { + "@types/mime": "^1", + "@types/node": "*" + } + }, + "node_modules/@types/serve-static": { + "version": "1.15.5", + "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.15.5.tgz", + "integrity": "sha512-PDRk21MnK70hja/YF8AHfC7yIsiQHn1rcXx7ijCFBX/k+XQJhQT/gw3xekXKJvx+5SXaMMS8oqQy09Mzvz2TuQ==", + "dependencies": { + "@types/http-errors": "*", + "@types/mime": "*", + "@types/node": "*" + } + }, + "node_modules/@types/tsscmp": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@types/tsscmp/-/tsscmp-1.0.2.tgz", + "integrity": "sha512-cy7BRSU8GYYgxjcx0Py+8lo5MthuDhlyu076KUcYzVNXL23luYgRHkMG2fIFEc6neckeh/ntP82mw+U4QjZq+g==" + }, + "node_modules/@types/ws": { + "version": "7.4.7", + "resolved": "https://registry.npmjs.org/@types/ws/-/ws-7.4.7.tgz", + "integrity": "sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/accepts": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", + "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==", + "dependencies": { + "mime-types": "~2.1.34", + "negotiator": "0.6.3" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/acorn": { + "version": "8.11.3", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", + "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", + "dev": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/are-docs-informative": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/are-docs-informative/-/are-docs-informative-0.0.2.tgz", + "integrity": "sha512-ixiS0nLNNG5jNQzgZJNoUpBKdo9yTYZMGJ+QgT2jmjR7G7+QHRCc4v6LQ3NgE7EBJq+o0ams3waJwkrlBom8Ig==", + "dev": true, + "engines": { + "node": ">=14" + } + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "node_modules/array-buffer-byte-length": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz", + "integrity": "sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==", + "dependencies": { + "call-bind": "^1.0.5", + "is-array-buffer": "^3.0.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==" + }, + "node_modules/array.prototype.map": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/array.prototype.map/-/array.prototype.map-1.0.6.tgz", + "integrity": "sha512-nK1psgF2cXqP3wSyCSq0Hc7zwNq3sfljQqaG27r/7a7ooNUnn5nGq6yYWyks9jMO5EoFQ0ax80hSg6oXSRNXaw==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "es-array-method-boxes-properly": "^1.0.0", + "is-string": "^1.0.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/arraybuffer.prototype.slice": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.3.tgz", + "integrity": "sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==", + "dependencies": { + "array-buffer-byte-length": "^1.0.1", + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "es-abstract": "^1.22.3", + "es-errors": "^1.2.1", + "get-intrinsic": "^1.2.3", + "is-array-buffer": "^3.0.4", + "is-shared-array-buffer": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" + }, + "node_modules/available-typed-arrays": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz", + "integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==", + "dependencies": { + "possible-typed-array-names": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/axios": { + "version": "1.6.7", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.7.tgz", + "integrity": "sha512-/hDJGff6/c7u0hDkvkGxR/oy6CbCs8ziCsC7SqmhjfozqiJGc8Z11wrv9z9lYfY4K8l+H9TpjcMDX0xOZmx+RA==", + "dependencies": { + "follow-redirects": "^1.15.4", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "node_modules/axios/node_modules/form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true + }, + "node_modules/body-parser": { + "version": "1.20.2", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz", + "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==", + "dependencies": { + "bytes": "3.1.2", + "content-type": "~1.0.5", + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "on-finished": "2.4.1", + "qs": "6.11.0", + "raw-body": "2.5.2", + "type-is": "~1.6.18", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/body-parser/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/body-parser/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/browserslist": { + "version": "4.23.0", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.0.tgz", + "integrity": "sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "caniuse-lite": "^1.0.30001587", + "electron-to-chromium": "^1.4.668", + "node-releases": "^2.0.14", + "update-browserslist-db": "^1.0.13" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/buffer-equal-constant-time": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", + "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==" + }, + "node_modules/builtin-modules": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.3.0.tgz", + "integrity": "sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==", + "dev": true, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/bytes": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", + "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/call-bind": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", + "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.4", + "set-function-length": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001614", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001614.tgz", + "integrity": "sha512-jmZQ1VpmlRwHgdP1/uiKzgiAuGOfLEJsYFP4+GBou/QQ4U6IOJCB4NP1c+1p9RGLpwObcT94jA5/uO+F1vBbog==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ] + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/ci-info": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-4.0.0.tgz", + "integrity": "sha512-TdHqgGf9odd8SXNuxtUBVx8Nv+qZOejE6qyqiy5NtbYYQOeFa6zmHkxlPzmaLxWWHsU6nJmB7AETdVPi+2NBUg==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/sibiraj-s" + } + ], + "engines": { + "node": ">=8" + } + }, + "node_modules/clean-regexp": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/clean-regexp/-/clean-regexp-1.0.0.tgz", + "integrity": "sha512-GfisEZEJvzKrmGWkvfhgzcz/BllN1USeqD2V6tg14OAOgaCD2Z/PUEuxnAZ/nPvmaHRG7a8y77p1T/IRQ4D1Hw==", + "dev": true, + "dependencies": { + "escape-string-regexp": "^1.0.5" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/clean-regexp/node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/comment-parser": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/comment-parser/-/comment-parser-1.4.1.tgz", + "integrity": "sha512-buhp5kePrmda3vhc5B9t7pUQXAb2Tnd0qgpkIhPhkHXxJpiPJ11H0ZEU0oBpJ2QztSbzG/ZxMj/CHsYJqRHmyg==", + "dev": true, + "engines": { + "node": ">= 12.0.0" + } + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true + }, + "node_modules/content-disposition": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", + "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==", + "dependencies": { + "safe-buffer": "5.2.1" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/content-type": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz", + "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", + "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==" + }, + "node_modules/core-js-compat": { + "version": "3.37.0", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.37.0.tgz", + "integrity": "sha512-vYq4L+T8aS5UuFg4UwDhc7YNRWVeVZwltad9C/jV3R2LgVOpS9BDr7l/WL6BN0dbV3k1XejPTHqqEzJgsa0frA==", + "dev": true, + "dependencies": { + "browserslist": "^4.23.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, + "node_modules/cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dev": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true + }, + "node_modules/define-data-property": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", + "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "dependencies": { + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "gopd": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/define-properties": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", + "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", + "dependencies": { + "define-data-property": "^1.0.1", + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/destroy": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz", + "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==", + "engines": { + "node": ">= 0.8", + "npm": "1.2.8000 || >= 1.4.16" + } + }, + "node_modules/dotenv": { + "version": "16.4.5", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz", + "integrity": "sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://dotenvx.com" + } + }, + "node_modules/ecdsa-sig-formatter": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz", + "integrity": "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==", + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "node_modules/ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" + }, + "node_modules/electron-to-chromium": { + "version": "1.4.751", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.751.tgz", + "integrity": "sha512-2DEPi++qa89SMGRhufWTiLmzqyuGmNF3SK4+PQetW1JKiZdEpF4XQonJXJCzyuYSA6mauiMhbyVhqYAP45Hvfw==", + "dev": true + }, + "node_modules/encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/enhanced-resolve": { + "version": "5.16.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.16.0.tgz", + "integrity": "sha512-O+QWCviPNSSLAD9Ucn8Awv+poAkqn3T1XY5/N7kR7rQO9yfSGWkYZDwpJ+iKF7B8rxaQKWngSqACpgzeapSyoA==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.2.4", + "tapable": "^2.2.0" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "dependencies": { + "is-arrayish": "^0.2.1" + } + }, + "node_modules/es-abstract": { + "version": "1.22.5", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.22.5.tgz", + "integrity": "sha512-oW69R+4q2wG+Hc3KZePPZxOiisRIqfKBVo/HLx94QcJeWGU/8sZhCvc829rd1kS366vlJbzBfXf9yWwf0+Ko7w==", + "dependencies": { + "array-buffer-byte-length": "^1.0.1", + "arraybuffer.prototype.slice": "^1.0.3", + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", + "es-define-property": "^1.0.0", + "es-errors": "^1.3.0", + "es-set-tostringtag": "^2.0.3", + "es-to-primitive": "^1.2.1", + "function.prototype.name": "^1.1.6", + "get-intrinsic": "^1.2.4", + "get-symbol-description": "^1.0.2", + "globalthis": "^1.0.3", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.2", + "has-proto": "^1.0.3", + "has-symbols": "^1.0.3", + "hasown": "^2.0.1", + "internal-slot": "^1.0.7", + "is-array-buffer": "^3.0.4", + "is-callable": "^1.2.7", + "is-negative-zero": "^2.0.3", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.3", + "is-string": "^1.0.7", + "is-typed-array": "^1.1.13", + "is-weakref": "^1.0.2", + "object-inspect": "^1.13.1", + "object-keys": "^1.1.1", + "object.assign": "^4.1.5", + "regexp.prototype.flags": "^1.5.2", + "safe-array-concat": "^1.1.0", + "safe-regex-test": "^1.0.3", + "string.prototype.trim": "^1.2.8", + "string.prototype.trimend": "^1.0.7", + "string.prototype.trimstart": "^1.0.7", + "typed-array-buffer": "^1.0.2", + "typed-array-byte-length": "^1.0.1", + "typed-array-byte-offset": "^1.0.2", + "typed-array-length": "^1.0.5", + "unbox-primitive": "^1.0.2", + "which-typed-array": "^1.1.14" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-array-method-boxes-properly": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-array-method-boxes-properly/-/es-array-method-boxes-properly-1.0.0.tgz", + "integrity": "sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA==" + }, + "node_modules/es-define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", + "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "dependencies": { + "get-intrinsic": "^1.2.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-get-iterator": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/es-get-iterator/-/es-get-iterator-1.1.3.tgz", + "integrity": "sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw==", + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.3", + "has-symbols": "^1.0.3", + "is-arguments": "^1.1.1", + "is-map": "^2.0.2", + "is-set": "^2.0.2", + "is-string": "^1.0.7", + "isarray": "^2.0.5", + "stop-iteration-iterator": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-set-tostringtag": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.3.tgz", + "integrity": "sha512-3T8uNMC3OQTHkFUsFq8r/BwAXLHvU/9O9mE0fBc/MY5iq/8H7ncvO947LmYA6ldWw9Uh8Yhf25zu6n7nML5QWQ==", + "dependencies": { + "get-intrinsic": "^1.2.4", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dependencies": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/escalade": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", + "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" + }, + "node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint": { + "version": "9.3.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.3.0.tgz", + "integrity": "sha512-5Iv4CsZW030lpUqHBapdPo3MJetAPtejVW8B84GIcIIv8+ohFaddXsrn1Gn8uD9ijDb+kcYKFUVmC8qG8B2ORQ==", + "dev": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.6.1", + "@eslint/eslintrc": "^3.1.0", + "@eslint/js": "9.3.0", + "@humanwhocodes/config-array": "^0.13.0", + "@humanwhocodes/module-importer": "^1.0.1", + "@humanwhocodes/retry": "^0.3.0", + "@nodelib/fs.walk": "^1.2.8", + "ajv": "^6.12.4", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^8.0.1", + "eslint-visitor-keys": "^4.0.0", + "espree": "^10.0.1", + "esquery": "^1.4.2", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^8.0.0", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "is-path-inside": "^3.0.3", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3", + "strip-ansi": "^6.0.1", + "text-table": "^0.2.0" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-compat-utils": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/eslint-compat-utils/-/eslint-compat-utils-0.5.0.tgz", + "integrity": "sha512-dc6Y8tzEcSYZMHa+CMPLi/hyo1FzNeonbhJL7Ol0ccuKQkwopJcJBA9YL/xmMTLU1eKigXo9vj9nALElWYSowg==", + "dev": true, + "dependencies": { + "semver": "^7.5.4" + }, + "engines": { + "node": ">=12" + }, + "peerDependencies": { + "eslint": ">=6.0.0" + } + }, + "node_modules/eslint-config-eslint": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/eslint-config-eslint/-/eslint-config-eslint-10.0.0.tgz", + "integrity": "sha512-ejGeXkQLyAEqUBr6UE246sZBRqscQVuJOTuYLYIt+GaCrfRodLsoJ6/oXRHZumcLDbZYnZoXRpgYy8+NJ/UOOw==", + "dev": true, + "dependencies": { + "@eslint-community/eslint-plugin-eslint-comments": "^4.3.0", + "@eslint/js": "^9.0.0", + "eslint-plugin-jsdoc": "^48.2.3", + "eslint-plugin-n": "^17.2.0", + "eslint-plugin-unicorn": "^52.0.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/eslint-plugin-es-x": { + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-es-x/-/eslint-plugin-es-x-7.6.0.tgz", + "integrity": "sha512-I0AmeNgevgaTR7y2lrVCJmGYF0rjoznpDvqV/kIkZSZbZ8Rw3eu4cGlvBBULScfkSOCzqKbff5LR4CNrV7mZHA==", + "dev": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.1.2", + "@eslint-community/regexpp": "^4.6.0", + "eslint-compat-utils": "^0.5.0" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ota-meshi" + }, + "peerDependencies": { + "eslint": ">=8" + } + }, + "node_modules/eslint-plugin-jsdoc": { + "version": "48.2.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-48.2.3.tgz", + "integrity": "sha512-r9DMAmFs66VNvNqRLLjHejdnJtILrt3xGi+Qx0op0oRfFGVpOR1Hb3BC++MacseHx93d8SKYPhyrC9BS7Os2QA==", + "dev": true, + "dependencies": { + "@es-joy/jsdoccomment": "~0.42.0", + "are-docs-informative": "^0.0.2", + "comment-parser": "1.4.1", + "debug": "^4.3.4", + "escape-string-regexp": "^4.0.0", + "esquery": "^1.5.0", + "is-builtin-module": "^3.2.1", + "semver": "^7.6.0", + "spdx-expression-parse": "^4.0.0" + }, + "engines": { + "node": ">=18" + }, + "peerDependencies": { + "eslint": "^7.0.0 || ^8.0.0 || ^9.0.0" + } + }, + "node_modules/eslint-plugin-n": { + "version": "17.3.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-n/-/eslint-plugin-n-17.3.1.tgz", + "integrity": "sha512-25+HTtKe1F8U/M4ERmdzbz/xkm/gaY0OYC8Fcv1z/WvpLJ8Xfh9LzJ13JV5uj4QyCUD8kOPJrNjn/3y+tc57Vw==", + "dev": true, + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.0", + "enhanced-resolve": "^5.15.0", + "eslint-plugin-es-x": "^7.5.0", + "get-tsconfig": "^4.7.0", + "globals": "^15.0.0", + "ignore": "^5.2.4", + "minimatch": "^9.0.0", + "semver": "^7.5.3" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + }, + "peerDependencies": { + "eslint": ">=8.23.0" + } + }, + "node_modules/eslint-plugin-n/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/eslint-plugin-n/node_modules/minimatch": { + "version": "9.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz", + "integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/eslint-plugin-unicorn": { + "version": "52.0.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-52.0.0.tgz", + "integrity": "sha512-1Yzm7/m+0R4djH0tjDjfVei/ju2w3AzUGjG6q8JnuNIL5xIwsflyCooW5sfBvQp2pMYQFSWWCFONsjCax1EHng==", + "dev": true, + "dependencies": { + "@babel/helper-validator-identifier": "^7.22.20", + "@eslint-community/eslint-utils": "^4.4.0", + "@eslint/eslintrc": "^2.1.4", + "ci-info": "^4.0.0", + "clean-regexp": "^1.0.0", + "core-js-compat": "^3.34.0", + "esquery": "^1.5.0", + "indent-string": "^4.0.0", + "is-builtin-module": "^3.2.1", + "jsesc": "^3.0.2", + "pluralize": "^8.0.0", + "read-pkg-up": "^7.0.1", + "regexp-tree": "^0.1.27", + "regjsparser": "^0.10.0", + "semver": "^7.5.4", + "strip-indent": "^3.0.0" + }, + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sindresorhus/eslint-plugin-unicorn?sponsor=1" + }, + "peerDependencies": { + "eslint": ">=8.56.0" + } + }, + "node_modules/eslint-plugin-unicorn/node_modules/@eslint/eslintrc": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", + "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", + "dev": true, + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.6.0", + "globals": "^13.19.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-plugin-unicorn/node_modules/espree": { + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", + "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", + "dev": true, + "dependencies": { + "acorn": "^8.9.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.4.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-plugin-unicorn/node_modules/globals": { + "version": "13.24.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", + "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", + "dev": true, + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint-plugin-unicorn/node_modules/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint-scope": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.0.1.tgz", + "integrity": "sha512-pL8XjgP4ZOmmwfFE8mEhSxA7ZY4C+LWyqjQ3o4yWkkmD0qcMT9kkW3zWHOczhWcjTSgqycYAgwSlXvZltv65og==", + "dev": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint/node_modules/eslint-visitor-keys": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.0.0.tgz", + "integrity": "sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==", + "dev": true, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/espree": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-10.0.1.tgz", + "integrity": "sha512-MWkrWZbJsL2UwnjxTX3gG8FneachS/Mwg7tdGXce011sJd5b0JG54vat5KHnfSBODZ3Wvzd2WnjxyzsRoVv+ww==", + "dev": true, + "dependencies": { + "acorn": "^8.11.3", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^4.0.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/espree/node_modules/eslint-visitor-keys": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.0.0.tgz", + "integrity": "sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==", + "dev": true, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esquery": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", + "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", + "dev": true, + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/eventemitter3": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-3.1.2.tgz", + "integrity": "sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q==" + }, + "node_modules/express": { + "version": "4.19.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.19.2.tgz", + "integrity": "sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==", + "dependencies": { + "accepts": "~1.3.8", + "array-flatten": "1.1.1", + "body-parser": "1.20.2", + "content-disposition": "0.5.4", + "content-type": "~1.0.4", + "cookie": "0.6.0", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "2.0.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "finalhandler": "1.2.0", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "merge-descriptors": "1.0.1", + "methods": "~1.1.2", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "path-to-regexp": "0.1.7", + "proxy-addr": "~2.0.7", + "qs": "6.11.0", + "range-parser": "~1.2.1", + "safe-buffer": "5.2.1", + "send": "0.18.0", + "serve-static": "1.15.0", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "type-is": "~1.6.18", + "utils-merge": "1.0.1", + "vary": "~1.1.2" + }, + "engines": { + "node": ">= 0.10.0" + } + }, + "node_modules/express/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/express/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" + }, + "node_modules/express/node_modules/path-to-regexp": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==" + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true + }, + "node_modules/fastq": { + "version": "1.17.1", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", + "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", + "dev": true, + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/file-entry-cache": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", + "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", + "dev": true, + "dependencies": { + "flat-cache": "^4.0.0" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/finalhandler": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", + "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", + "dependencies": { + "debug": "2.6.9", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "on-finished": "2.4.1", + "parseurl": "~1.3.3", + "statuses": "2.0.1", + "unpipe": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/finalhandler/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/finalhandler/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" + }, + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/finity": { + "version": "0.5.4", + "resolved": "https://registry.npmjs.org/finity/-/finity-0.5.4.tgz", + "integrity": "sha512-3l+5/1tuw616Lgb0QBimxfdd2TqaDGpfCBpfX6EqtFmqUV3FtQnVEX4Aa62DagYEqnsTIjZcTfbq9msDbXYgyA==" + }, + "node_modules/flat-cache": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", + "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", + "dev": true, + "dependencies": { + "flatted": "^3.2.9", + "keyv": "^4.5.4" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/flatted": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", + "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==", + "dev": true + }, + "node_modules/follow-redirects": { + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/for-each": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", + "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "dependencies": { + "is-callable": "^1.1.3" + } + }, + "node_modules/form-data": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz", + "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 0.12" + } + }, + "node_modules/forwarded": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/function.prototype.name": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.6.tgz", + "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "functions-have-names": "^1.2.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/functions-have-names": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", + "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-intrinsic": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", + "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-symbol-description": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.2.tgz", + "integrity": "sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==", + "dependencies": { + "call-bind": "^1.0.5", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-tsconfig": { + "version": "4.7.3", + "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.7.3.tgz", + "integrity": "sha512-ZvkrzoUA0PQZM6fy6+/Hce561s+faD1rsNwhnO5FelNjyy7EMGJ3Rz1AQ8GYDWjhRs/7dBLOEJvhK8MiEJOAFg==", + "dev": true, + "dependencies": { + "resolve-pkg-maps": "^1.0.0" + }, + "funding": { + "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1" + } + }, + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/globals": { + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-15.1.0.tgz", + "integrity": "sha512-926gJqg+4mkxwYKiFvoomM4J0kWESfk3qfTvRL2/oc/tK/eTDBbrfcKnSa2KtfdxB5onoL7D3A3qIHQFpd4+UA==", + "dev": true, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/globalthis": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", + "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", + "dependencies": { + "define-properties": "^1.1.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/gopd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", + "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "dependencies": { + "get-intrinsic": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true + }, + "node_modules/has-bigints": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", + "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/has-property-descriptors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", + "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", + "dependencies": { + "es-define-property": "^1.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-proto": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", + "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "dependencies": { + "has-symbols": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.1.tgz", + "integrity": "sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA==", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true + }, + "node_modules/http-errors": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz", + "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==", + "dependencies": { + "depd": "2.0.0", + "inherits": "2.0.4", + "setprototypeof": "1.2.0", + "statuses": "2.0.1", + "toidentifier": "1.0.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ignore": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", + "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/indent-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", + "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "node_modules/internal-slot": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.7.tgz", + "integrity": "sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==", + "dependencies": { + "es-errors": "^1.3.0", + "hasown": "^2.0.0", + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/ipaddr.js": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", + "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/is-arguments": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", + "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-array-buffer": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.4.tgz", + "integrity": "sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==", + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", + "dev": true + }, + "node_modules/is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dependencies": { + "has-bigints": "^1.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-builtin-module": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-3.2.1.tgz", + "integrity": "sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==", + "dev": true, + "dependencies": { + "builtin-modules": "^3.3.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-callable": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", + "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-core-module": { + "version": "2.13.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", + "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", + "dev": true, + "dependencies": { + "hasown": "^2.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-electron": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/is-electron/-/is-electron-2.2.2.tgz", + "integrity": "sha512-FO/Rhvz5tuw4MCWkpMzHFKWD2LsfHzIb7i6MdPYZ/KW7AlxawyLkqdy+jPZP1WubqEADE3O4FUENlJHDfQASRg==" + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-map": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.2.tgz", + "integrity": "sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-negative-zero": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz", + "integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-number-object": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", + "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-set": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.2.tgz", + "integrity": "sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-shared-array-buffer": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.3.tgz", + "integrity": "sha512-nA2hv5XIhLR3uVzDDfCIknerhx8XUKnstuOERPNNIinXG7v9u+ohXF67vxm4TPTEPU6lm61ZkwP3c9PCB97rhg==", + "dependencies": { + "call-bind": "^1.0.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-typed-array": { + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", + "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", + "dependencies": { + "which-typed-array": "^1.1.14" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-weakref": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", + "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "dependencies": { + "call-bind": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/isarray": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==" + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true + }, + "node_modules/iterate-iterator": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/iterate-iterator/-/iterate-iterator-1.0.2.tgz", + "integrity": "sha512-t91HubM4ZDQ70M9wqp+pcNpu8OyJ9UAtXntT/Bcsvp5tZMnz9vRa+IunKXeI8AnfZMTv0jNuVEmGeLSMjVvfPw==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/iterate-value": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/iterate-value/-/iterate-value-1.0.2.tgz", + "integrity": "sha512-A6fMAio4D2ot2r/TYzr4yUWrmwNdsN5xL7+HUiyACE4DXm+q8HtPcnFTp+NnW3k4N05tZ7FVYFFb2CR13NxyHQ==", + "dependencies": { + "es-get-iterator": "^1.0.2", + "iterate-iterator": "^1.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/jsdoc-type-pratt-parser": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsdoc-type-pratt-parser/-/jsdoc-type-pratt-parser-4.0.0.tgz", + "integrity": "sha512-YtOli5Cmzy3q4dP26GraSOeAhqecewG04hoO8DY56CH4KJ9Fvv5qKWUCCo3HZob7esJQHCv6/+bnTy72xZZaVQ==", + "dev": true, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/jsesc": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.0.2.tgz", + "integrity": "sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==", + "dev": true, + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "dev": true + }, + "node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true + }, + "node_modules/jsonwebtoken": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-9.0.2.tgz", + "integrity": "sha512-PRp66vJ865SSqOlgqS8hujT5U4AOgMfhrwYIuIhfKaoSCZcirrmASQr8CX7cUg+RMih+hgznrjp99o+W4pJLHQ==", + "dependencies": { + "jws": "^3.2.2", + "lodash.includes": "^4.3.0", + "lodash.isboolean": "^3.0.3", + "lodash.isinteger": "^4.0.4", + "lodash.isnumber": "^3.0.3", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "lodash.once": "^4.0.0", + "ms": "^2.1.1", + "semver": "^7.5.4" + }, + "engines": { + "node": ">=12", + "npm": ">=6" + } + }, + "node_modules/jwa": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jwa/-/jwa-1.4.1.tgz", + "integrity": "sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==", + "dependencies": { + "buffer-equal-constant-time": "1.0.1", + "ecdsa-sig-formatter": "1.0.11", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/jws": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/jws/-/jws-3.2.2.tgz", + "integrity": "sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==", + "dependencies": { + "jwa": "^1.4.1", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "dev": true + }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lodash.includes": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz", + "integrity": "sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==" + }, + "node_modules/lodash.isboolean": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isboolean/-/lodash.isboolean-3.0.3.tgz", + "integrity": "sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==" + }, + "node_modules/lodash.isinteger": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/lodash.isinteger/-/lodash.isinteger-4.0.4.tgz", + "integrity": "sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==" + }, + "node_modules/lodash.isnumber": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/lodash.isnumber/-/lodash.isnumber-3.0.3.tgz", + "integrity": "sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw==" + }, + "node_modules/lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==" + }, + "node_modules/lodash.isstring": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/lodash.isstring/-/lodash.isstring-4.0.1.tgz", + "integrity": "sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==" + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true + }, + "node_modules/lodash.once": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.once/-/lodash.once-4.1.1.tgz", + "integrity": "sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==" + }, + "node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==" + }, + "node_modules/methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/min-indent": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", + "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true + }, + "node_modules/negotiator": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", + "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/node-localstorage": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/node-localstorage/-/node-localstorage-3.0.5.tgz", + "integrity": "sha512-GCwtK33iwVXboZWYcqQHu3aRvXEBwmPkAMRBLeaX86ufhqslyUkLGsi4aW3INEfdQYpUB5M9qtYf3eHvAk2VBg==", + "dependencies": { + "write-file-atomic": "^5.0.1" + }, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/node-releases": { + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz", + "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==", + "dev": true + }, + "node_modules/normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "node_modules/normalize-package-data/node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "dev": true, + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/object-inspect": { + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", + "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.assign": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.5.tgz", + "integrity": "sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==", + "dependencies": { + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "has-symbols": "^1.0.3", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/on-finished": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", + "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==", + "dependencies": { + "ee-first": "1.1.1" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/optionator": { + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", + "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", + "dev": true, + "dependencies": { + "@aashutoshrathi/word-wrap": "^1.2.3", + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/p-cancelable": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz", + "integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw==", + "engines": { + "node": ">=6" + } + }, + "node_modules/p-finally": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", + "integrity": "sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==", + "engines": { + "node": ">=4" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-queue": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/p-queue/-/p-queue-2.4.2.tgz", + "integrity": "sha512-n8/y+yDJwBjoLQe1GSJbbaYQLTI7QHNZI2+rpmCDbe++WLf9HC3gf6iqj5yfPAV71W4UF3ql5W1+UBPXoXTxng==", + "engines": { + "node": ">=4" + } + }, + "node_modules/p-retry": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/p-retry/-/p-retry-4.6.2.tgz", + "integrity": "sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ==", + "dependencies": { + "@types/retry": "0.12.0", + "retry": "^0.13.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/p-timeout": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz", + "integrity": "sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==", + "dependencies": { + "p-finally": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true + }, + "node_modules/path-to-regexp": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-6.2.1.tgz", + "integrity": "sha512-JLyh7xT1kizaEvcaXOQwOc2/Yhw6KZOvPf1S8401UyLk86CU79LN3vl7ztXGm/pZ+YjoyAJ4rxmHwbkBXJX+yw==" + }, + "node_modules/picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true + }, + "node_modules/please-upgrade-node": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz", + "integrity": "sha512-gQR3WpIgNIKwBMVLkpMUeR3e1/E1y42bqDQZfql+kDeXd8COYfM8PQA4X6y7a8u9Ua9FHmsrrmirW2vHs45hWg==", + "dependencies": { + "semver-compare": "^1.0.0" + } + }, + "node_modules/pluralize": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-8.0.0.tgz", + "integrity": "sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/possible-typed-array-names": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", + "integrity": "sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/promise.allsettled": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/promise.allsettled/-/promise.allsettled-1.0.7.tgz", + "integrity": "sha512-hezvKvQQmsFkOdrZfYxUxkyxl8mgFQeT259Ajj9PXdbg9VzBCWrItOev72JyWxkCD5VSSqAeHmlN3tWx4DlmsA==", + "dependencies": { + "array.prototype.map": "^1.0.5", + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1", + "get-intrinsic": "^1.2.1", + "iterate-value": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/proxy-addr": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==", + "dependencies": { + "forwarded": "0.2.0", + "ipaddr.js": "1.9.1" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" + }, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/qs": { + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", + "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", + "dependencies": { + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">=0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/raw-body": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz", + "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==", + "dependencies": { + "bytes": "3.1.2", + "http-errors": "2.0.0", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/read-pkg": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", + "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "dev": true, + "dependencies": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^2.5.0", + "parse-json": "^5.0.0", + "type-fest": "^0.6.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/read-pkg-up": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", + "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "dev": true, + "dependencies": { + "find-up": "^4.1.0", + "read-pkg": "^5.2.0", + "type-fest": "^0.8.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg-up/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/read-pkg-up/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/read-pkg-up/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/read-pkg-up/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/read-pkg/node_modules/type-fest": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", + "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/regexp-tree": { + "version": "0.1.27", + "resolved": "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.27.tgz", + "integrity": "sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA==", + "dev": true, + "bin": { + "regexp-tree": "bin/regexp-tree" + } + }, + "node_modules/regexp.prototype.flags": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz", + "integrity": "sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==", + "dependencies": { + "call-bind": "^1.0.6", + "define-properties": "^1.2.1", + "es-errors": "^1.3.0", + "set-function-name": "^2.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/regjsparser": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.10.0.tgz", + "integrity": "sha512-qx+xQGZVsy55CH0a1hiVwHmqjLryfh7wQyF5HO07XJ9f7dQMY/gPQHhlyDkIzJKC+x2fUCpCcUODUUUFrm7SHA==", + "dev": true, + "dependencies": { + "jsesc": "~0.5.0" + }, + "bin": { + "regjsparser": "bin/parser" + } + }, + "node_modules/regjsparser/node_modules/jsesc": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", + "integrity": "sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==", + "dev": true, + "bin": { + "jsesc": "bin/jsesc" + } + }, + "node_modules/resolve": { + "version": "1.22.8", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", + "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", + "dev": true, + "dependencies": { + "is-core-module": "^2.13.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/resolve-pkg-maps": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz", + "integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==", + "dev": true, + "funding": { + "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1" + } + }, + "node_modules/retry": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz", + "integrity": "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==", + "engines": { + "node": ">= 4" + } + }, + "node_modules/reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "dev": true, + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/safe-array-concat": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.0.tgz", + "integrity": "sha512-ZdQ0Jeb9Ofti4hbt5lX3T2JcAamT9hfzYU1MNB+z/jaEbB6wfFfPIR/zEORmZqobkCCJhSjodobH6WHNmJ97dg==", + "dependencies": { + "call-bind": "^1.0.5", + "get-intrinsic": "^1.2.2", + "has-symbols": "^1.0.3", + "isarray": "^2.0.5" + }, + "engines": { + "node": ">=0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/safe-regex-test": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.3.tgz", + "integrity": "sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==", + "dependencies": { + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "is-regex": "^1.1.4" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "node_modules/semver": { + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/semver-compare": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz", + "integrity": "sha512-YM3/ITh2MJ5MtzaM429anh+x2jiLVjqILF4m4oyQB18W7Ggea7BfqdH/wGMK7dDiMghv/6WG7znWMwUDzJiXow==" + }, + "node_modules/send": { + "version": "0.18.0", + "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", + "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", + "dependencies": { + "debug": "2.6.9", + "depd": "2.0.0", + "destroy": "1.2.0", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "2.0.0", + "mime": "1.6.0", + "ms": "2.1.3", + "on-finished": "2.4.1", + "range-parser": "~1.2.1", + "statuses": "2.0.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/send/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/send/node_modules/debug/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" + }, + "node_modules/send/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + }, + "node_modules/serve-static": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", + "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", + "dependencies": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.3", + "send": "0.18.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/set-function-length": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.1.tgz", + "integrity": "sha512-j4t6ccc+VsKwYHso+kElc5neZpjtq9EnRICFZtWyBsLojhmeF/ZBd/elqm22WJh/BziDe/SBiOeAt0m2mfLD0g==", + "dependencies": { + "define-data-property": "^1.1.2", + "es-errors": "^1.3.0", + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.3", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/set-function-name": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz", + "integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==", + "dependencies": { + "define-data-property": "^1.1.4", + "es-errors": "^1.3.0", + "functions-have-names": "^1.2.3", + "has-property-descriptors": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/setprototypeof": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", + "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==" + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/side-channel": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.5.tgz", + "integrity": "sha512-QcgiIWV4WV7qWExbN5llt6frQB/lBven9pqliLXfGPB+K9ZYXxDozp0wLkHS24kWCm+6YXH/f0HhnObZnZOBnQ==", + "dependencies": { + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4", + "object-inspect": "^1.13.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/spdx-correct": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", + "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", + "dev": true, + "dependencies": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-correct/node_modules/spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-exceptions": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz", + "integrity": "sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==", + "dev": true + }, + "node_modules/spdx-expression-parse": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-4.0.0.tgz", + "integrity": "sha512-Clya5JIij/7C6bRR22+tnGXbc4VKlibKSVj2iHvVeX5iMW7s1SIQlqu699JkODJJIhh/pUu8L0/VLh8xflD+LQ==", + "dev": true, + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-license-ids": { + "version": "3.0.17", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.17.tgz", + "integrity": "sha512-sh8PWc/ftMqAAdFiBu6Fy6JUOYjqDJBJvIhpfDMyHrr0Rbp5liZqd4TjtQ/RgfLjKFZb+LMx5hpml5qOWy0qvg==", + "dev": true + }, + "node_modules/statuses": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", + "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/stop-iteration-iterator": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.0.0.tgz", + "integrity": "sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==", + "dependencies": { + "internal-slot": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/string.prototype.trim": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.8.tgz", + "integrity": "sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimend": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.7.tgz", + "integrity": "sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimstart": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.7.tgz", + "integrity": "sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "es-abstract": "^1.22.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-indent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", + "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", + "dev": true, + "dependencies": { + "min-indent": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/tapable": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz", + "integrity": "sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", + "dev": true + }, + "node_modules/toidentifier": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", + "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==", + "engines": { + "node": ">=0.6" + } + }, + "node_modules/tsscmp": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/tsscmp/-/tsscmp-1.0.6.tgz", + "integrity": "sha512-LxhtAkPDTkVCMQjt2h6eBVY28KCjikZqZfMcC15YBeNjkgUpdCfBu5HoiOTDu86v6smE8yOjyEktJ8hlbANHQA==", + "engines": { + "node": ">=0.6.x" + } + }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/typed-array-buffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.2.tgz", + "integrity": "sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==", + "dependencies": { + "call-bind": "^1.0.7", + "es-errors": "^1.3.0", + "is-typed-array": "^1.1.13" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/typed-array-byte-length": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.1.tgz", + "integrity": "sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw==", + "dependencies": { + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/typed-array-byte-offset": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.2.tgz", + "integrity": "sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==", + "dependencies": { + "available-typed-arrays": "^1.0.7", + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/typed-array-length": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.5.tgz", + "integrity": "sha512-yMi0PlwuznKHxKmcpoOdeLwxBoVPkqZxd7q2FgMkmD3bNwvF5VW0+UlUQ1k1vmktTu4Yu13Q0RIxEP8+B+wloA==", + "dependencies": { + "call-bind": "^1.0.7", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-proto": "^1.0.3", + "is-typed-array": "^1.1.13", + "possible-typed-array-names": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/unbox-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", + "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", + "dependencies": { + "call-bind": "^1.0.2", + "has-bigints": "^1.0.2", + "has-symbols": "^1.0.3", + "which-boxed-primitive": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + }, + "node_modules/unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/update-browserslist-db": { + "version": "1.0.13", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz", + "integrity": "sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "dependencies": { + "escalade": "^3.1.1", + "picocolors": "^1.0.0" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==", + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "dependencies": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, + "node_modules/validate-npm-package-license/node_modules/spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==", + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dependencies": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/which-typed-array": { + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.14.tgz", + "integrity": "sha512-VnXFiIW8yNn9kIHN88xvZ4yOWchftKDsRJ8fEPacX/wl1lOvBrhsJ/OeJCXq7B0AaijRuqgzSKalJoPk+D8MPg==", + "dependencies": { + "available-typed-arrays": "^1.0.6", + "call-bind": "^1.0.5", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/write-file-atomic": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.1.tgz", + "integrity": "sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==", + "dependencies": { + "imurmurhash": "^0.1.4", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/ws": { + "version": "7.5.9", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz", + "integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==", + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, + "node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + } + } +} diff --git a/.github/actions/slack-boltjs-app/package.json b/.github/actions/slack-boltjs-app/package.json new file mode 100644 index 00000000000..1017bc2de5b --- /dev/null +++ b/.github/actions/slack-boltjs-app/package.json @@ -0,0 +1,27 @@ +{ + "name": "slack-bolt", + "version": "1.0.0", + "description": "A secure and simple Bolt app for Slack ChatOps", + "main": "src/index.js", + "type": "module", + "scripts": { + "start": "node -r dotenv/config src/index.js" + }, + "dependencies": { + "dotenv": "^16", + "@slack/bolt": "^3.18.0", + "node-localstorage": "^3.0.5" + }, + "engines": { + "node": "^20", + "npm": "^10" + }, + "repository": { + "url": "https://github.com/CDCgov/prime-reportstream/.github/actions/slack-boltjs-app" + }, + "license": "MIT", + "devDependencies": { + "eslint": "9.3.0", + "eslint-config-eslint": "^10.0.0" + } +} diff --git a/.github/actions/slack-boltjs-app/src/index.js b/.github/actions/slack-boltjs-app/src/index.js new file mode 100644 index 00000000000..a40aabce36a --- /dev/null +++ b/.github/actions/slack-boltjs-app/src/index.js @@ -0,0 +1,47 @@ +import boltjs from "@slack/bolt"; +const { App, directMention } = boltjs; +import fs from "fs"; +import ghRouter from "./utils/github/router.js"; +import appHome from "./views/app_home.js"; + +const app = new App({ + token: process.env.SLACK_BOT_TOKEN, + appToken: process.env.SLACK_APP_TOKEN, + socketMode: true, +}); + +// Use a single message listener with a switch statement to handle different commands +app.message(directMention(), async ({ message, say }) => { + const command = message.text.split(" ")[1].split("-")[0]; + switch (command) { + case ":wave:": + await say(`Hello, <@${message.user}>`); + break; + case "gh": + await ghRouter({ message, say }); + break; + case "help": + const filename = ".help"; + const data = fs.readFileSync(filename, "utf8"); + say(data); + break; + default: + // Handle unknown commands + say( + `Sorry, I don't recognize that command. Try typing \`@bot help\` for more information.` + ); + } +}); + +// Listen for users opening App Home +app.event("app_home_opened", async ({ event, client }) => { + appHome({ event, client }); +}); + +(async () => { + const port = process.env.PORT || 3000; + + // Start your app + await app.start(port); + console.log(`⚡️ Slack Bolt app is running on port ${port}!`); +})(); diff --git a/.github/actions/slack-boltjs-app/src/utils/github/default_branch.js b/.github/actions/slack-boltjs-app/src/utils/github/default_branch.js new file mode 100644 index 00000000000..7ba49a0a476 --- /dev/null +++ b/.github/actions/slack-boltjs-app/src/utils/github/default_branch.js @@ -0,0 +1,11 @@ +import request from "./request.js"; + +const default_branch = async function ({ api, app, token, say, msg }) { + const path = `/repos/${app}`; + const method = "GET"; + const data = null; + const out = await request({ api, path, method, token, data, say, msg }); + return JSON.parse(out)?.default_branch; +}; + +export default default_branch; diff --git a/.github/actions/slack-boltjs-app/src/utils/github/list_targets.js b/.github/actions/slack-boltjs-app/src/utils/github/list_targets.js new file mode 100644 index 00000000000..1cf459027c9 --- /dev/null +++ b/.github/actions/slack-boltjs-app/src/utils/github/list_targets.js @@ -0,0 +1,13 @@ +const list_targets = async ({ say }) => { + const deployTargets = process.env.GITHUB_TARGET_BRANCHES.split(","); + if (deployTargets.length === 0) { + return say( + "No targets branches defined. Set GITHUB_TARGET_BRANCHES first." + ); + } else { + var targets = "- " + deployTargets.join("\n- "); + return say(targets); + } +}; + +export default list_targets; diff --git a/.github/actions/slack-boltjs-app/src/utils/github/lock_target.js b/.github/actions/slack-boltjs-app/src/utils/github/lock_target.js new file mode 100644 index 00000000000..c7332647dc6 --- /dev/null +++ b/.github/actions/slack-boltjs-app/src/utils/github/lock_target.js @@ -0,0 +1,61 @@ +const lock_target = async ({ localStorage, args, say, user }) => { + const action = args[2]; + const branch = args[3]; + + const deployTargets = process.env.GITHUB_TARGET_BRANCHES.split(","); + if (!deployTargets.includes(branch)) { + say( + `\"${branch}\" is not in available target branches. Use: <@bot name> gh-targets` + ); + return false; + } + + switch (action) { + case "add": + // Check if the branch already has a lock + if (localStorage.getItem(branch)) { + // If yes, say that the branch is already locked + await say( + `Branch ${branch} is already locked by <@${localStorage.getItem( + branch + )}>` + ); + } else { + // If no, add the lock and say that the branch is locked + localStorage.setItem(branch, user); + await say(`Locked branch ${branch}`); + } + break; + case "remove": + // Check if the branch has a lock + if (localStorage.getItem(branch)) { + // If yes, remove the lock and say that the lock is removed + await say( + `Removed <@${localStorage.getItem( + branch + )}>'s lock on branch ${branch}` + ); + localStorage.removeItem(branch); + } else { + // If no, say that the branch is not locked + await say(`Branch ${branch} is not locked`); + } + break; + case "show": + // Check if the branch has a lock + if (localStorage.getItem(branch)) { + // If yes, say who locked the branch + await say( + `Branch ${branch} locked by <@${localStorage.getItem(branch)}>` + ); + } else { + // If no, say that the branch is not locked + await say(`Branch ${branch} is not locked`); + } + break; + default: + await say("Invalid lock command"); + } +}; + +export default lock_target; diff --git a/.github/actions/slack-boltjs-app/src/utils/github/push.js b/.github/actions/slack-boltjs-app/src/utils/github/push.js new file mode 100644 index 00000000000..3124d2aed65 --- /dev/null +++ b/.github/actions/slack-boltjs-app/src/utils/github/push.js @@ -0,0 +1,182 @@ +import request from "./request.js"; +import https from "https"; + +const push = async ({ localStorage, args, api, respond, say, force, isCommand }) => { + branchPush(localStorage, args, api, force, respond, say, isCommand); +}; + +export default push; + +// Define a function to check the configuration for branch push +const branchPushCheckConfiguration = function ( + localStorage, + sourceBranch, + targetBranch, + app, + token, + respond +) { + // Get the deploy targets from the environment variable + const deployTargets = process.env.GITHUB_TARGET_BRANCHES.split(","); + + // Define an array of error messages and conditions + const errors = [ + { + message: "Missing configuration: GITHUB_TOKEN", + condition: !token, + }, + { + message: + "Missing configuration: [for :owner/:repo] or GITHUB_OWNER/GITHUB_REPO", + condition: !app, + }, + { + message: + "Missing : gh-deploy to ", + condition: !sourceBranch, + }, + { + message: + "Missing : gh-deploy to ", + condition: !targetBranch, + }, + { + message: "Missing configuration: GITHUB_TARGET_BRANCHES", + condition: !process.env.GITHUB_TARGET_BRANCHES, + }, + { + message: `\"${targetBranch}\" is not in available target branches. Use: <@bot name> gh-targets`, + condition: !deployTargets.includes(targetBranch), + }, + ]; + + // Loop through the errors and respond if any condition is true + for (const error of errors) { + if (error.condition) { + respond(error.message); + return false; + } + } + + if (localStorage.getItem(targetBranch)) { + respond(`Branch ${targetBranch} is locked by <@${localStorage.getItem(targetBranch)}>`); + return false; + } + + // Return true if no errors are found + return true; +}; + +// Define constants +const token = process.env.GITHUB_TOKEN; +const app = process.env.GITHUB_REPO; +const port = 443; +const method = "PATCH"; +const headers = { + "User-Agent": "request", + "X-GitHub-Api-Version": "2022-11-28", +}; + +// Define a function to get the SHA of a branch +const getSHA = (api, branch) => { + return new Promise((resolve, reject) => { + // Set the options for the HTTPS request + const options = { + hostname: api, + port, + path: `/repos/${app}/git/refs/heads/${branch}`, + method: "GET", + headers, + }; + + // Make the HTTPS request + const req = https.request(options, (res) => { + let data = ""; + + // Concatenate the data chunks + res.on("data", (chunk) => { + data += chunk; + }); + + // Parse the JSON response and resolve the promise with the SHA + res.on("end", () => { + try { + const sha = JSON.parse(data).object.sha; + resolve(sha); + } catch (error) { + reject(error); + } + }); + }); + + // Handle errors and end the request + req.on("error", (error) => { + reject(error); + }); + req.end(); + }); +}; + +// Define a function to push a branch to another branch +const branchPush = async (localStorage, args, api, force, respond, say, isCommand) => { + // Get the source and target branches from the arguments + const sourceBranch = isCommand ? args[0] : args[2]; + const targetBranch = isCommand ? args[2] : args[4]; + + if ( + !branchPushCheckConfiguration( + localStorage, + sourceBranch, + targetBranch, + app, + token, + respond + ) + ) { + return; + } + + // Get the SHA of the source branch + try { + const sha = await getSHA(api, sourceBranch); + + // Prepare the data for the push request + const data = JSON.stringify({ + sha, + force, + }); + + // Set the path for the push request + const path = `/repos/${app}/git/refs/heads/${targetBranch}`; + + // Make the push request using the request module + const out = await request({ + api, + path, + method, + token, + data, + say, + msg: "", + }); + + // If the push request is successful, respond and say accordingly + if (out) { + const json = JSON.parse(out); + console.log(json); + respond( + `${ + force ? "Force pushed" : "Pushed" + } commit \"${sha}\" to branch \"${targetBranch}\"` + ); + say( + `\`deploy ${sourceBranch} to ${targetBranch} for ${app}\` triggered! :rocket:` + ); + } + } catch (error) { + // If there is an error, say that the branch was not found + say(`I failed to find branch \"${sourceBranch}\"!`); + } + + return true; +}; diff --git a/.github/actions/slack-boltjs-app/src/utils/github/request.js b/.github/actions/slack-boltjs-app/src/utils/github/request.js new file mode 100644 index 00000000000..faf1e373bb8 --- /dev/null +++ b/.github/actions/slack-boltjs-app/src/utils/github/request.js @@ -0,0 +1,44 @@ +import https from "https"; + +const request = async ({ api, path, method, token, data, say, msg }) => { + const json = await httpsRequest(api, path, method, token, data, say, msg); + return json; +}; + +export default request; + +const httpsRequest = (api, path, method, token, data, say, msg) => { + return new Promise((resolve, reject) => { + const options = { + hostname: api, + port: 443, + path, + method, + headers: { + "User-Agent": "request", + Authorization: `token ${token}`, + "Content-Type": "application/json", + "X-GitHub-Api-Version": "2022-11-28", + }, + }; + const req = https.request(options, async (res) => { + let body = ""; + res.on("data", (chunk) => { + body += chunk; + }); + res.on("end", async () => { + resolve(body); + if (msg) { + await say(msg); + } + }); + }); + req.on("error", (err) => { + reject(err); + }); + if (data) { + req.write(data); + } + req.end(); + }); +}; diff --git a/.github/actions/slack-boltjs-app/src/utils/github/router.js b/.github/actions/slack-boltjs-app/src/utils/github/router.js new file mode 100644 index 00000000000..da71834e9ef --- /dev/null +++ b/.github/actions/slack-boltjs-app/src/utils/github/router.js @@ -0,0 +1,65 @@ +import push from "../../utils/github/push.js"; +import listTargets from "./list_targets.js"; +import lockTarget from "./lock_target.js"; +import runWorkflow from "./run_workflow.js"; +import nodeLs from "node-localstorage"; + +const { LocalStorage } = nodeLs; +const { GITHUB_API } = process.env; +const localStorage = new LocalStorage("src/.locks"); +const api = GITHUB_API || "api.github.com"; +const force = true; + +// Define a function to route the commands +const router = async ({ message, say }) => { + const { text, user } = message; + // Split the message text by spaces + const args = text.split(" "); + + // Check if there are inputs after --inputs flag + const inputsIndex = args.indexOf("--inputs"); + let inputs; + if (inputsIndex > -1) { + // Get the inputs from the message text + inputs = text.split("--inputs")[1].trim(); + // Remove the inputs from the args array + args.splice(inputsIndex); + } + + // Get the command from the second argument + const ghCommand = args[1].split("-")[1]; + + try { + // Execute the command based on a switch statement + switch (ghCommand) { + case "deploy": + await push({ + localStorage, + args, + api, + respond: say, + say, + force, + isCommand: false, + }); + break; + case "targets": + await listTargets({ say }); + break; + case "run": + await runWorkflow({ args, api, say, inputs }); + break; + case "lock": + await lockTarget({ localStorage, args, say, user }); + break; + default: + await say(`Invalid command :(: ${ghCommand}`); + } + } catch (error) { + // Handle errors and log them + await say(`gh ${ghCommand} failed with error: ${error}`); + console.error(error); + } +}; + +export default router; diff --git a/.github/actions/slack-boltjs-app/src/utils/github/run_workflow.js b/.github/actions/slack-boltjs-app/src/utils/github/run_workflow.js new file mode 100644 index 00000000000..09881a97c92 --- /dev/null +++ b/.github/actions/slack-boltjs-app/src/utils/github/run_workflow.js @@ -0,0 +1,43 @@ +import defaultBranch from "../../utils/github/default_branch.js"; +import request from "../../utils/github/request.js"; + +const run_workflow = async ({ args, api, say, inputs }) => { + const [workflowFile, app = process.env.GITHUB_REPO, branch] = args.slice(2); + const token = process.env.GITHUB_TOKEN; + // Use an object to store the request data + let data = { ref: branch || (await defaultBranch({ api, app, token, say })) }; + + if (inputs) { + // Use JSON.parse and JSON.stringify to convert the inputs to a valid JSON object + data.inputs = JSON.parse( + `{${inputs}}` + .replace(/([,\{] *)(\w+):/g, '$1"$2":') + .replace( + /([,\{] *"\w+":)(?! *-?[0-9\.]+[,\}])(?! *[\{\[])( *)([^,\}]*)/g, + '$1$2"$3"' + ) + ); + } + + const stringData = JSON.stringify(data); + const path = `/repos/${app}/actions/workflows/${workflowFile}/dispatches`; + const method = "POST"; + + const out = await request({ + api, + path, + method, + token, + data: stringData, + say, + }); + if (out) { + say(JSON.parse(out).message); + } else { + say( + `Triggered workflow \`${workflowFile}\` with \`${stringData}\` for \`${app}\`! :rocket:` + ); + } +}; + +export default run_workflow; diff --git a/.github/actions/slack-boltjs-app/src/views/app_home.js b/.github/actions/slack-boltjs-app/src/views/app_home.js new file mode 100644 index 00000000000..11202a820d9 --- /dev/null +++ b/.github/actions/slack-boltjs-app/src/views/app_home.js @@ -0,0 +1,33 @@ +const appHome = async ({ event, client }) => { + try { + /* view.publish is the method that your app uses to push a view to the Home tab */ + await client.views.publish({ + /* the user that opened your app's app home */ + user_id: event.user, + + /* the view object that appears in the app home*/ + view: { + type: "home", + callback_id: "home_view", + + /* body of the view */ + blocks: [ + { + type: "section", + text: { + type: "mrkdwn", + text: "Welcome :tada:", + }, + }, + { + type: "divider", + }, + ], + }, + }); + } catch (error) { + console.error(error); + } +}; + +export default appHome; diff --git a/.github/actions/terraform-stats/.gitignore b/.github/actions/terraform-stats/.gitignore new file mode 100644 index 00000000000..4d6246fd61a --- /dev/null +++ b/.github/actions/terraform-stats/.gitignore @@ -0,0 +1,2 @@ +terraform/*.git +.github diff --git a/.github/actions/terraform-stats/LICENSE b/.github/actions/terraform-stats/LICENSE new file mode 100644 index 00000000000..1c50494ad20 --- /dev/null +++ b/.github/actions/terraform-stats/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 Josiah Siegel + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/.github/actions/terraform-stats/README.md b/.github/actions/terraform-stats/README.md new file mode 100644 index 00000000000..84522f09306 --- /dev/null +++ b/.github/actions/terraform-stats/README.md @@ -0,0 +1,107 @@ +# Terraform Stats +## Synopsis + +Output the following statistics for the Terraform environment: +1. Terraform version +2. Drift count + * "Drift" refers to changes made outside of Terraform and does not necessary match any resources listed for changes. +3. Resource drifts +4. Change count + * "Change" refers to change actions that Terraform plans to use to move from the prior state to a new state. +5. Change percent + * Percentage of changes to total resources. +6. Resource changes + +## Usage + +```yml +- name: Terraform stats + uses: josiahsiegel/terraform-stats@ + id: stats + with: + terraform-directory: ${{ env.tf-dir }} + terraform-version: 1.1.9 +- name: Get outputs + run: | + echo "terraform-version: ${{ steps.stats.outputs.terraform-version }}" + echo "drift-count: ${{ steps.stats.outputs.drift-count }}" + echo "resource-drifts: ${{ steps.stats.outputs.resource-drifts }}" + echo "change-count: ${{ steps.stats.outputs.change-count }}" + echo "change-percent: ${{ steps.stats.outputs.change-percent }}" + echo "resource-changes: ${{ steps.stats.outputs.resource-changes }}" +``` + +## Workflow summary + +### :construction: Terraform Stats :construction: + +* change-count: 2 +* change-percent: 100 +* resource-changes: +```json +[ + { + "address": "docker_container.nginx", + "changes": [ + "create" + ] + }, + { + "address": "docker_image.nginx", + "changes": [ + "create" + ] + } +] +``` + +## Inputs + +```yml +inputs: + terraform-directory: + description: Terraform commands will run in this location. + required: true + default: "./terraform" + include-no-op: + description: "\"no-op\" refers to the before and after Terraform changes are identical as a value will only be known after apply." + required: true + default: false + add-args: + description: Pass additional arguments to Terraform plan. + required: true + default: "" + upload-plan: + description: Upload plan file. true or false + required: true + default: false + upload-retention-days: + description: Number of days to keep uploaded plan. + required: true + default: 7 + plan-file: + description: Name of plan file. + required: true + default: tf__stats__plan.bin + terraform-version: + description: Specify a specific version of Terraform + required: true + default: latest +``` + +## Outputs +```yml +outputs: + terraform-version: + description: 'Terraform version' + drift-count: + description: 'Count of drifts' + resource-drifts: + description: 'JSON output of resource drifts' + change-count: + description: 'Count of changes' + change-percent: + description: 'Percentage of changes to total resources' + resource-changes: + description: 'JSON output of resource changes' +``` diff --git a/.github/actions/terraform-stats/action.yml b/.github/actions/terraform-stats/action.yml new file mode 100644 index 00000000000..bfe0b53976e --- /dev/null +++ b/.github/actions/terraform-stats/action.yml @@ -0,0 +1,108 @@ +# action.yml +name: 'Generate Terraform statistics' +description: 'Output Terraform stats for drift and pending changes' +branding: + icon: 'bar-chart' + color: 'purple' +inputs: + terraform-directory: + description: Terraform commands will run in this location. + required: true + default: "./terraform" + include-no-op: + description: "\"no-op\" refers to the before and after Terraform changes are identical as a value will only be known after apply." + required: true + default: false + add-args: + description: Pass additional arguments to Terraform plan. + required: true + default: "" + upload-plan: + description: Upload plan file. true or false + required: true + default: false + upload-retention-days: + description: Number of days to keep uploaded plan. + required: true + default: 7 + plan-file: + description: Name of plan file. + required: true + default: tf__stats__plan.bin + terraform-version: + description: Specify a specific version of Terraform + required: true + default: latest + +outputs: + terraform-version: + description: 'Terraform version' + value: ${{ steps.local-action.outputs.terraform-version }} + drift-count: + description: 'Count of drifts' + value: ${{ steps.local-action.outputs.drift-count }} + resource-drifts: + description: 'JSON output of resource drifts' + value: ${{ steps.local-action.outputs.resource-drifts }} + change-count: + description: 'Count of changes' + value: ${{ steps.local-action.outputs.change-count }} + resource-changes: + description: 'JSON output of resource changes' + value: ${{ steps.local-action.outputs.resource-changes }} + change-percent: + description: 'Percentage of changes to total resources' + value: ${{ steps.local-action.outputs.change-percent }} + +runs: + using: "composite" + steps: + - name: Use specific version of Terraform + uses: hashicorp/setup-terraform@v3 + with: + terraform_version: ${{ inputs.terraform-version }} + terraform_wrapper: false + - name: Run Terraform stats + id: local-action + run: | + ${{ github.action_path }}/lib/tf_stats.sh \ + "${{ inputs.terraform-directory }}" \ + ${{ inputs.include-no-op }} \ + "${{ inputs.add-args }}" \ + "${{ inputs.plan-file }}" + shell: bash + + - name: Upload Artifact + if: inputs.upload-plan == 'true' + uses: actions/upload-artifact@v4.3.3 + with: + name: ${{ inputs.plan-file }} + path: "${{ inputs.terraform-directory }}/${{ inputs.plan-file }}" + retention-days: ${{ inputs.upload-retention-days }} + + - name: Create summary + if: | + steps.local-action.outputs.change-count > 0 || + steps.local-action.outputs.drift-count > 0 + run: | + echo "### :construction: Terraform Stats :construction:" >> $GITHUB_STEP_SUMMARY + if [[ ${{ steps.local-action.outputs.change-count }} > 0 ]]; then + resource_changes=$(echo "${{ steps.local-action.outputs.resource-changes }}" | jq .) + echo " + * change-count: ${{ steps.local-action.outputs.change-count }} + * change-percent: ${{ steps.local-action.outputs.change-percent }} + * resource-changes: + \`\`\`json + $resource_changes + \`\`\`" >> $GITHUB_STEP_SUMMARY + fi + if [[ ${{ steps.local-action.outputs.drift-count }} > 0 ]]; then + resource_drifts=$(echo "${{ steps.local-action.outputs.resource-drifts }}" | jq .) + echo " + * drift-count: ${{ steps.local-action.outputs.drift-count }} + * resource-drift: + \`\`\`json + $resource_drifts + \`\`\`" >> $GITHUB_STEP_SUMMARY + fi + shell: bash diff --git a/.github/actions/terraform-stats/lib/tf_stats.sh b/.github/actions/terraform-stats/lib/tf_stats.sh new file mode 100755 index 00000000000..74eb7431ed9 --- /dev/null +++ b/.github/actions/terraform-stats/lib/tf_stats.sh @@ -0,0 +1,79 @@ +#!/bin/bash + +tf_dir=$1 +#For ["no-op"], the before and +#after values are identical. The "after" value will be incomplete if there +#are values within it that won't be known until after apply. +include_no_op=$2 +add_args=$3 +plan_file=$4 + +# Define a function to run terraform plan with common arguments +tf_plan() { + terraform -chdir=$tf_dir plan $add_args -input=false -no-color -lock-timeout=120s -out=$plan_file "$@" +} + +# Try to run terraform plan and init if needed +if ! tf_plan &>/dev/null; then + terraform -chdir=$tf_dir init >/dev/null || exit 1 + tf_plan >/dev/null || exit 1 +fi + +# Get the plan output in text and json formats +PLAN_TXT=$( terraform -chdir=$tf_dir show -no-color $plan_file ) +PLAN_JSON=$( terraform -chdir=$tf_dir show -no-color -json $plan_file ) + +# Define a function to parse the plan json with jq +parse_plan_json() { + echo $PLAN_JSON | jq "$@" +} + +# Define a function to make output friendly +make_output_friendly() { + local output=$1 + output="${output//'%'/'%25'}" + output="${output//$'\n'/'%0A'}" + output="${output//$'\r'/'%0D'}" + output="${output//'"'/'\"'}" + output="${output//'\\"'/'\\\"'}" + echo $output +} + +# Define a function to write the output to the github output file +write_output() { + local key=$1 + local value=$2 + echo "$key=$(make_output_friendly $value)" >> $GITHUB_OUTPUT +} + +# Get the terraform version from the plan json +VERSION=$(parse_plan_json .terraform_version) + +# Get the resource drift from the plan json +DRIFT=$(parse_plan_json .resource_drift) +DRIFT_COUNT=$(echo $DRIFT | jq length) +DRIFTED_RESOURCES=$(echo $DRIFT | jq -c '[.[] | {address: .address, changes: .change.actions}]') + +# Get the resource changes from the plan json +CHANGES=$(parse_plan_json .resource_changes) +if [[ $include_no_op = true ]]; then + CHANGES_FILTERED=$CHANGES +else + CHANGES_FILTERED=$(echo $CHANGES | jq -c '[.[] | {address: .address, changes: .change.actions} | select( .changes[] != "no-op")]') +fi +CHANGE_COUNT=$(echo $CHANGES_FILTERED | jq length) + +# Get the total resources and percent changed from the plan json +TOTAL_RESOURCES=$(parse_plan_json .planned_values.root_module) +TOTAL_ROOT=$(echo $TOTAL_RESOURCES | jq -c .resources | jq length) +TOTAL_CHILD=$(echo $TOTAL_RESOURCES | jq -c .child_modules | jq -c '[.[]?.resources | length] | add') +TOTAL_COUNT=$(( TOTAL_ROOT + TOTAL_CHILD )) +CHANGE_PERC=$(echo "scale=0 ; $CHANGE_COUNT / $TOTAL_COUNT * 100" | bc) + +# Write the output to the github output file +write_output "terraform-version" "$VERSION" +write_output "change-percent" "$CHANGE_PERC" +write_output "drift-count" "$DRIFT_COUNT" +write_output "change-count" "$CHANGE_COUNT" +write_output "resource-drifts" "$DRIFTED_RESOURCES" +write_output "resource-changes" "$CHANGES_FILTERED" diff --git a/.github/actions/terraform-stats/terraform/main.tf b/.github/actions/terraform-stats/terraform/main.tf new file mode 100644 index 00000000000..57ddbbef9c2 --- /dev/null +++ b/.github/actions/terraform-stats/terraform/main.tf @@ -0,0 +1,24 @@ +terraform { + required_providers { + docker = { + source = "kreuzwerker/docker" + version = "~> 2.13.0" + } + } +} + +provider "docker" {} + +resource "docker_image" "nginx" { + name = "nginx:latest" + keep_locally = false +} + +resource "docker_container" "nginx" { + image = docker_image.nginx.latest + name = "tutorial" + ports { + internal = 80 + external = 8000 + } +} \ No newline at end of file diff --git a/.github/actions/workflow-housekeeper/.gitignore b/.github/actions/workflow-housekeeper/.gitignore new file mode 100644 index 00000000000..47b70ae9777 --- /dev/null +++ b/.github/actions/workflow-housekeeper/.gitignore @@ -0,0 +1,4 @@ +.git +_git +.github +_github diff --git a/.github/actions/workflow-housekeeper/README.md b/.github/actions/workflow-housekeeper/README.md new file mode 100644 index 00000000000..60abfd838a9 --- /dev/null +++ b/.github/actions/workflow-housekeeper/README.md @@ -0,0 +1,55 @@ +# Workflow Housekeeper + +Retain a time period or quantity of workflow runs. + +[![Test action](https://github.com/CDCgov/prime-reportstream/.github/workflows/workflow-housekeeper--test_action.yml/badge.svg)](https://github.com/CDCgov/prime-reportstream/.github/workflows/workflow-housekeeper--test_action.yml) + +### Dependencies: + +>Change in repo: `Settings -> Actions -> General -> Workflow Permissions to allow read and write` + +## Inputs +```yml + ignore-branch-workflows: + description: 'Ignore runs from workflows currently in ./github/workflow' + required: false + retention-time: + description: 'Period of time to maintain history. E.g. "2 weeks", "3 days", etc.' + required: false + retain-run-count: + description: 'Number of latest runs to keep' + required: false + dry-run: + description: 'Only list runs pending deletion' + required: false +``` + +## Usage +```yml + - name: Checkout + uses: actions/checkout@v3 + - name: Run workflow housekeeper + uses: josiahsiegel/workflow-housekeeper@ + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +``` +or +```yml + - name: Checkout + uses: actions/checkout@v3 + - name: Run workflow housekeeper + uses: josiahsiegel/workflow-housekeeper@ + id: scan + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + ignore-branch-workflows: true + retention-time: '1 days' + retain-run-count: 1 + dry-run: false +``` + +## Generated summary +### ✨ Workflow Housekeeper ✨ + * .github/workflows/test_action.yml 4618840926 + * .github/workflows/test_action.yml 4618827035 \ No newline at end of file diff --git a/.github/actions/workflow-housekeeper/action.yml b/.github/actions/workflow-housekeeper/action.yml new file mode 100644 index 00000000000..796910b771c --- /dev/null +++ b/.github/actions/workflow-housekeeper/action.yml @@ -0,0 +1,41 @@ +# action.yml +name: 'Workflow Housekeeper' +description: 'Retain a time period or quantity of workflow runs.' +branding: + icon: 'trash-2' + color: 'red' +inputs: + ignore-branch-workflows: + description: 'Ignore runs from workflows currently in ./github/workflow' + required: false + retention-time: + description: 'Period of time to maintain history. E.g. "2 weeks", "3 days", etc.' + required: false + retain-run-count: + description: 'Number of latest runs to keep' + required: false + dry-run: + description: 'Only list runs pending deletion' + required: false +outputs: + housekeeping_output: + description: 'Output of housekeeping steps' + value: ${{ steps.local-action.outputs.housekeeping_output }} +runs: + using: "composite" + steps: + - name: Run local action + id: local-action + run: | + ${{ github.action_path }}/lib/housekeeper.sh \ + "${{ github.repository }}" \ + "${{ inputs.ignore-branch-workflows }}" \ + "${{ inputs.retention-time }}" \ + "${{ inputs.retain-run-count }}" \ + "${{ inputs.dry-run }}" + shell: bash + - name: Create summary + run: | + echo "### :sparkles: Workflow Housekeeper :sparkles:" >> $GITHUB_STEP_SUMMARY + echo -e "${{ steps.local-action.outputs.housekeeping_output }}" >> $GITHUB_STEP_SUMMARY + shell: bash diff --git a/.github/actions/workflow-housekeeper/lib/housekeeper.sh b/.github/actions/workflow-housekeeper/lib/housekeeper.sh new file mode 100755 index 00000000000..ff4bd6e84cc --- /dev/null +++ b/.github/actions/workflow-housekeeper/lib/housekeeper.sh @@ -0,0 +1,72 @@ +#!/bin/bash + +# Init +repo="$1" +ignore_branch_workflows=$2 +retention_time=$3 +retain_run_count=$4 +dry_run=$5 + +# ignore_branch_workflows +if [[ -z $ignore_branch_workflows ]]; then + ignore_branch_workflows=false +fi +echo "ignore_branch_workflows: $ignore_branch_workflows" + +if [[ $ignore_branch_workflows = true ]]; then + files=$(ls -1 .github/workflows/ | sed 's/^/and .path != \".github\/workflows\//;s/$/\"/') +else + files="" +fi + +# retention_time +if [[ -z $retention_time ]]; then + retention_time="" +else + keep_date=$(date -d "$date -$retention_time" +%s) + keep_stmt="| select (.run_started_at | . == null or fromdateiso8601 < $keep_date)" +fi +echo "time_threshold: $retention_time" + +# retain_run_count +if [[ -z $retain_run_count ]]; then + retain_run_count=0 +fi +let retain_run_count2=retain_run_count*2 +echo "retain_run_count: $retain_run_count2" + +# dry_run +if [[ -z $dry_run ]]; then + dry_run=false +fi +echo "dry_run: $dry_run" + +# Build jq query +runs="repos/$repo/actions/runs" +query=".workflow_runs[] \ +| select( \ +.path != \".github/workflows/placeholder.yaml\" \ +"$files" +) +$keep_stmt +| (.path,.id)" + +# Get run ids +output=$(gh api --paginate $runs --jq "$query") +output=($(echo $output | tr " " "\n")) +output=${output[@]:$retain_run_count2} + +# Delete or echo run ids +for id in $output; do + if [[ $dry_run = false ]]; then + [[ $id != ".git"* ]] && gh api --silent $runs/$id -X DELETE + else + [[ $id != ".git"* ]] && echo "gh api --silent $runs/$id -X DELETE" || echo "$id" + fi + [[ $id = ".git"* ]] && summary+=" * $id" || summary+=" $id\n" + + # Prevent rate limit + sleep 1; +done + +echo "housekeeping_output=$(echo "${summary}")" >>$GITHUB_OUTPUT diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 6365ac26954..acfe600ce32 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -140,6 +140,29 @@ updates: time: "00:17" timezone: "US/Eastern" rebase-strategy: "disabled" + # Remove ignore entries when frontend is manually migrated for these libraries + ignore: + - dependency-name: "react" + update-types: + - version-update:semver-major + - dependency-name: "react-dom" + update-types: + - version-update:semver-major + - dependency-name: "@types/react" + update-types: + - version-update:semver-major + - dependency-name: "@types/react-dom" + update-types: + - version-update:semver-major + - dependency-name: "react-router" + update-types: + - version-update:semver-major + - dependency-name: "react-router-dom" + update-types: + - version-update:semver-major + - dependency-name: "undici" + update-types: + - version-update:semver-major groups: project: patterns: diff --git a/auth/build.gradle.kts b/auth/build.gradle.kts index e3265185757..043426387a5 100644 --- a/auth/build.gradle.kts +++ b/auth/build.gradle.kts @@ -1,10 +1,10 @@ apply(from = rootProject.file("buildSrc/shared.gradle.kts")) plugins { - id("org.springframework.boot") version "3.4.0" - id("io.spring.dependency-management") version "1.1.6" + id("org.springframework.boot") version "3.4.1" + id("io.spring.dependency-management") version "1.1.7" id("reportstream.project-conventions") - kotlin("plugin.spring") version "2.0.21" + kotlin("plugin.spring") version "2.1.0" } group = "gov.cdc.prime" @@ -31,7 +31,7 @@ dependencies { runtimeOnly("com.okta.sdk:okta-sdk-impl:20.0.0") // Swagger - implementation("org.springdoc:springdoc-openapi-starter-webflux-ui:2.6.0") + implementation("org.springdoc:springdoc-openapi-starter-webflux-ui:2.7.0") testImplementation("org.springframework.boot:spring-boot-starter-test") testImplementation("org.springframework.security:spring-security-test") @@ -48,7 +48,7 @@ configurations.all { dependencyManagement { imports { - mavenBom("com.azure.spring:spring-cloud-azure-dependencies:5.18.0") + mavenBom("com.azure.spring:spring-cloud-azure-dependencies:5.19.0") mavenBom("org.springframework.cloud:spring-cloud-dependencies:2024.0.0") } } diff --git a/frontend-react/.storybook/preview.tsx b/frontend-react/.storybook/preview.tsx index 2eeea2d85c1..e1f66b2e6c7 100644 --- a/frontend-react/.storybook/preview.tsx +++ b/frontend-react/.storybook/preview.tsx @@ -1,4 +1,3 @@ -import { initialize, mswLoader } from "msw-storybook-addon"; import { CacheProvider } from "rest-hooks"; import { HelmetProvider } from "react-helmet-async"; import MockDate from "mockdate"; @@ -25,8 +24,6 @@ export const parameters = { }, }; -initialize(); - function withRestHooksCacheProvider(Story) { return ( @@ -45,4 +42,4 @@ function withHelmet(Story) { export const decorators = [withHelmet, withRestHooksCacheProvider]; -export const loaders = [mswLoader]; +export const loaders = []; diff --git a/frontend-react/__mocks__/focus-trap-react.tsx b/frontend-react/__mocks__/focus-trap-react.tsx index 3fef86165be..1abc45ef15b 100644 --- a/frontend-react/__mocks__/focus-trap-react.tsx +++ b/frontend-react/__mocks__/focus-trap-react.tsx @@ -1,17 +1,13 @@ -import type * as FocusTrapType from "focus-trap-react"; +import { FocusTrapProps } from "focus-trap-react"; import React from "react"; import { vi } from "vitest"; -const FocusTrap = (await vi.importActual("focus-trap-react")) - .default as React.ComponentType; +const FocusTrap = (await vi.importActual("focus-trap-react")).default as React.ComponentType; /** * Override displayCheck for testing. See: https://github.com/focus-trap/tabbable#testing-in-jsdom */ -const FixedComponent = ({ - focusTrapOptions, - ...props -}: FocusTrapType.Props) => { +const FixedComponent = ({ focusTrapOptions, ...props }: FocusTrapProps) => { const fixedOptions = { ...focusTrapOptions }; fixedOptions.tabbableOptions = { ...fixedOptions.tabbableOptions, diff --git a/frontend-react/e2e/spec/all/public/developer-resources/api/api.spec.ts b/frontend-react/e2e/spec/all/public/developer-resources/api/api.spec.ts index 16f850ce267..03a5cf40943 100644 --- a/frontend-react/e2e/spec/all/public/developer-resources/api/api.spec.ts +++ b/frontend-react/e2e/spec/all/public/developer-resources/api/api.spec.ts @@ -1,6 +1,6 @@ import { developerResourcesApiSideNav } from "../../../../../helpers/internal-links"; import { DeveloperResourcesApiPage } from "../../../../../pages/public/developer-resources/api/api"; -import { test as baseTest, expect } from "../../../../../test.js"; +import { test as baseTest } from "../../../../../test.js"; export interface Fixtures { developerResourcesApiPage: DeveloperResourcesApiPage; @@ -45,14 +45,6 @@ test.describe( await developerResourcesApiPage.testSidenav(developerResourcesApiSideNav); }); - test("pdf file download works", async ({ developerResourcesApiPage }) => { - const downloadPromise = developerResourcesApiPage.page.waitForEvent("download"); - await developerResourcesApiPage.page.getByRole("link", { name: "downloadable PDF" }).click(); - const download = await downloadPromise; - expect(download.suggestedFilename()).toMatch(/^.+\.pdf$/); - await download.cancel(); - }); - test("has correct title + heading", async ({ developerResourcesApiPage }) => { await developerResourcesApiPage.testHeader(); }); diff --git a/frontend-react/package.json b/frontend-react/package.json index 29afe0ce1a4..827d1e0ca55 100644 --- a/frontend-react/package.json +++ b/frontend-react/package.json @@ -8,41 +8,41 @@ "@microsoft/applicationinsights-react-js": "^17.3.4", "@microsoft/applicationinsights-web": "^3.3.4", "@okta/okta-react": "^6.9.0", - "@okta/okta-signin-widget": "^7.26.1", + "@okta/okta-signin-widget": "^7.27.2", "@rest-hooks/rest": "^3.0.3", - "@tanstack/react-query": "^5.62.2", - "@tanstack/react-query-devtools": "^5.62.2", + "@tanstack/react-query": "^5.64.0", + "@tanstack/react-query-devtools": "^5.64.0", "@trussworks/react-uswds": "^9.1.0", "@uswds/uswds": "3.7.1", - "axios": "^1.7.8", + "axios": "^1.7.9", "classnames": "^2.5.1", "date-fns": "^4.1.0", "date-fns-tz": "^3.2.0", "dompurify": "^3.2.3", "export-to-csv-fix-source-map": "^0.2.1", - "focus-trap-react": "^10.3.1", + "focus-trap-react": "^11.0.2", "history": "^5.3.0", "html-to-text": "^9.0.5", "lodash": "^4.17.21", - "p-limit": "^6.1.0", + "p-limit": "^6.2.0", "react": "^18.3.1", "react-dom": "^18.3.1", "react-helmet-async": "^2.0.5", "react-idle-timer": "^5.7.2", "react-loader-spinner": "^6.1.6", - "react-markdown": "^9.0.1", + "react-markdown": "^9.0.3", "react-query-kit": "^3.3.1", - "react-router": "~6.28.0", - "react-router-dom": "~6.28.0", + "react-router": "^6.28.0", + "react-router-dom": "^6.28.0", "react-scroll-sync": "^0.11.2", - "react-toastify": "^10.0.6", + "react-toastify": "^11.0.2", "rehype-raw": "^7.0.0", "rehype-slug": "^5.1.0", "rest-hooks": "^6.1.7", - "sanitize-html": "^2.13.1", + "sanitize-html": "^2.14.0", "tsx": "^4.19.2", "use-deep-compare-effect": "^1.8.1", - "uuid": "^11.0.3", + "uuid": "^11.0.5", "web-vitals": "^3.4.0" }, "scripts": { @@ -109,8 +109,8 @@ ] }, "devDependencies": { - "@eslint/compat": "^1.2.4", - "@eslint/js": "^9.17.0", + "@eslint/compat": "^1.2.5", + "@eslint/js": "^9.18.0", "@mdx-js/react": "^3.1.0", "@mdx-js/rollup": "^3.1.0", "@playwright/test": "^1.49.1", @@ -130,17 +130,17 @@ "@storybook/theming": "^8.4.7", "@testing-library/dom": "^10.4.0", "@testing-library/jest-dom": "^6.6.3", - "@testing-library/react": "^16.0.1", + "@testing-library/react": "^16.1.0", "@testing-library/user-event": "^14.5.2", "@types/dompurify": "^3.2.0", "@types/dotenv-flow": "^3.3.3", "@types/eslint__js": "^8.42.3", "@types/github-slugger": "^2.0.0", "@types/html-to-text": "^9.0.4", - "@types/lodash": "^4.17.13", + "@types/lodash": "^4.17.14", "@types/mdx": "^2.0.13", "@types/node": "^20.12.5", - "@types/react": "18.3.11", + "@types/react": "^18.3.11", "@types/react-dom": "^18.3.1", "@types/react-router-dom": "^5.3.3", "@types/react-scroll-sync": "^0.9.0", @@ -149,55 +149,54 @@ "@vitest/coverage-istanbul": "^2.1.8", "@vitest/ui": "^2.1.8", "autoprefixer": "^10.4.20", - "browserslist": "^4.24.3", + "browserslist": "^4.24.4", "browserslist-useragent-regexp": "^4.1.3", - "chromatic": "^11.20.2", + "chromatic": "^11.22.2", "cross-env": "^7.0.3", "dotenv-flow": "^4.1.0", - "eslint": "9.17.0", + "eslint": "^9.18.0", "eslint-config-prettier": "^9.1.0", - "eslint-import-resolver-typescript": "^3.6.3", + "eslint-import-resolver-typescript": "^3.7.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-jest-dom": "^5.5.0", "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-playwright": "^2.1.0", - "eslint-plugin-react": "^7.37.2", - "eslint-plugin-react-hooks": "^5.0.0", - "eslint-plugin-react-refresh": "^0.4.14", - "eslint-plugin-storybook": "^0.11.1", + "eslint-plugin-react": "^7.37.3", + "eslint-plugin-react-hooks": "^5.1.0", + "eslint-plugin-react-refresh": "^0.4.18", + "eslint-plugin-storybook": "^0.11.2", "eslint-plugin-testing-library": "^7.1.1", "eslint-plugin-vitest": "^0.5.4", - "globals": "^15.13.0", + "globals": "^15.14.0", "husky": "^9.1.7", - "jsdom": "^25.0.1", - "lint-staged": "^15.2.11", + "jsdom": "^26.0.0", + "lint-staged": "^15.3.0", "mockdate": "^3.0.5", - "msw": "^2.6.8", - "msw-storybook-addon": "^2.0.4", + "msw": "^2.7.0", "npm-run-all": "^4.1.5", "otpauth": "^9.3.6", "patch-package": "^8.0.0", "postcss": "^8.4.49", "prettier": "^3.4.2", - "react-error-boundary": "^4.1.2", + "react-error-boundary": "^5.0.0", "remark-frontmatter": "^5.0.0", "remark-mdx-frontmatter": "^5.0.0", "remark-mdx-toc": "^0.3.1", - "sass": "^1.81.0", + "sass": "^1.83.1", "storybook": "^8.4.7", - "storybook-addon-remix-react-router": "^3.0.2", + "storybook-addon-remix-react-router": "^4.0.1", "ts-node": "^10.9.2", "tslib": "^2.8.1", - "typescript": "^5.7.2", - "typescript-eslint": "^8.16.0", - "undici": "~6.20.1", - "vite": "^6.0.3", + "typescript": "^5.7.3", + "typescript-eslint": "^8.19.0", + "undici": "^6.20.1", + "vite": "^6.0.7", "vite-plugin-checker": "^0.8.0", "vite-plugin-svgr": "^4.3.0", "vitest": "^2.1.8" }, "resolutions": { - "@types/react": "18.3.11", + "@types/react": "^18.3.11", "@okta/okta-auth-js": ">=7.8.1", "cookie": ">=0.7.0", "send": ">=0.19.0" diff --git a/frontend-react/public/assets/xlsm/20241204_ReportStream-Mapping-Template.xlsm b/frontend-react/public/assets/xlsm/20241204_ReportStream-Mapping-Template.xlsm new file mode 100644 index 00000000000..a6563f7d9e4 Binary files /dev/null and b/frontend-react/public/assets/xlsm/20241204_ReportStream-Mapping-Template.xlsm differ diff --git a/frontend-react/src/components/App/App.tsx b/frontend-react/src/components/App/App.tsx index 4d84e0b8731..3f09079c12a 100644 --- a/frontend-react/src/components/App/App.tsx +++ b/frontend-react/src/components/App/App.tsx @@ -5,11 +5,7 @@ import { QueryClientProvider } from "@tanstack/react-query"; import { ReactQueryDevtools } from "@tanstack/react-query-devtools"; import { Suspense, useCallback, useMemo } from "react"; import { HelmetProvider } from "react-helmet-async"; -import { - createBrowserRouter, - RouteObject, - RouterProvider, -} from "react-router-dom"; +import { createBrowserRouter, RouteObject, RouterProvider } from "react-router-dom"; import { CacheProvider, NetworkErrorBoundary } from "rest-hooks"; import AuthStateGate from "./AuthStateGate"; @@ -25,7 +21,6 @@ import { RSConsole } from "../../utils/rsConsole/rsConsole"; import { createTelemetryService } from "../../utils/TelemetryService/TelemetryService"; import { PERMISSIONS } from "../../utils/UsefulTypes"; -import "react-toastify/dist/ReactToastify.css"; import RSErrorBoundary from "../RSErrorBoundary/RSErrorBoundary"; export interface AppProps { @@ -48,10 +43,7 @@ function App({ config, routes }: AppProps) { () => new RSConsole({ ai: aiReactPlugin, ...config.RSCONSOLE }), [aiReactPlugin, config.RSCONSOLE], ); - const oktaAuth = useMemo( - () => new OktaAuth(config.OKTA_AUTH), - [config.OKTA_AUTH], - ); + const oktaAuth = useMemo(() => new OktaAuth(config.OKTA_AUTH), [config.OKTA_AUTH]); const router = useMemo(() => createBrowserRouter(routes), [routes]); const Fallback = useCallback(() => , []); @@ -67,25 +59,13 @@ function App({ config, routes }: AppProps) { let url = originalUri; if (originalUri === "/") { /* PERMISSIONS REFACTOR: Redirect URL should be determined by active membership type */ - if ( - authState?.accessToken && - permissionCheck( - PERMISSIONS.PRIME_ADMIN, - authState.accessToken, - ) - ) { + if (authState?.accessToken && permissionCheck(PERMISSIONS.PRIME_ADMIN, authState.accessToken)) { url = "/admin/settings"; } - if ( - authState?.accessToken && - permissionCheck(PERMISSIONS.SENDER, authState.accessToken) - ) { + if (authState?.accessToken && permissionCheck(PERMISSIONS.SENDER, authState.accessToken)) { url = "/submissions"; } - if ( - authState?.accessToken && - permissionCheck(PERMISSIONS.RECEIVER, authState.accessToken) - ) { + if (authState?.accessToken && permissionCheck(PERMISSIONS.RECEIVER, authState.accessToken)) { url = "/daily-data"; } } @@ -101,36 +81,20 @@ function App({ config, routes }: AppProps) { return ( - + - + - + - + - + - + diff --git a/frontend-react/src/content/about/our-network.mdx b/frontend-react/src/content/about/our-network.mdx index 6f73b1a0281..2f4d46c9da8 100644 --- a/frontend-react/src/content/about/our-network.mdx +++ b/frontend-react/src/content/about/our-network.mdx @@ -102,6 +102,7 @@ Labs, testing facilities, and other healthcare organizations throughout the coun - ARCpoint Labs - BASE10 Genetics - BZD Labs +- Carbon Health - CLX Health - Color - CovX Labs @@ -115,6 +116,7 @@ Labs, testing facilities, and other healthcare organizations throughout the coun - Innolitics - Intrivo - LIMSABC +- MakeMyTestCount.org - Mayo Clinic - MedArbor Diagnostics - Medical Network Solutions diff --git a/frontend-react/src/content/developer-resources/reportstream-api/ReportStreamApi.mdx b/frontend-react/src/content/developer-resources/reportstream-api/ReportStreamApi.mdx index b8600ea6505..62967947a18 100644 --- a/frontend-react/src/content/developer-resources/reportstream-api/ReportStreamApi.mdx +++ b/frontend-react/src/content/developer-resources/reportstream-api/ReportStreamApi.mdx @@ -31,9 +31,6 @@ import site from "../../site.json"; - -

Our API guide and documentation is also available as a downloadable PDF.

- ***
diff --git a/frontend-react/src/content/developer-resources/reportstream-api/getting-started/GettingStarted.mdx b/frontend-react/src/content/developer-resources/reportstream-api/getting-started/GettingStarted.mdx index 568d358cf1c..28475e9084b 100644 --- a/frontend-react/src/content/developer-resources/reportstream-api/getting-started/GettingStarted.mdx +++ b/frontend-react/src/content/developer-resources/reportstream-api/getting-started/GettingStarted.mdx @@ -8,10 +8,14 @@ meta: altText: "A collection of lines extend out from a central point. Each line ends in a circle of square, some green and some white." --- -import Step1 from "./Step1.mdx"; -import Step2 from "./Step2.mdx"; -import Step3 from "./Step3.mdx"; -import Step4 from "./Step4.mdx"; +import Step2_1 from "./Step2_1.mdx"; +import Step2_2 from "./Step2_2.mdx"; +import Step2_3 from "./Step2_3.mdx"; +import Step2_4 from "./Step2_4.mdx"; +import Step3_1 from "./Step3_1.mdx"; +import Step3_2 from "./Step3_2.mdx"; +import Step3_3 from "./Step3_3.mdx"; +import Step3_4 from "./Step3_4.mdx"; import Sidenav from "../Sidenav.mdx"; import site from "../../../site.json"; @@ -25,7 +29,7 @@ import site from "../../../site.json"; Examples in this guide use curl commands for simplicity with the assumption you’ll be coding these calls into your sending system. You can also use a program like Postman to test submissions. -

**Last updated:** 11/4/24

+

**Last updated:** 12/17/24

*** @@ -42,10 +46,41 @@ to review upon request. When you’ve formatted your fake (non-PII) data file, test your data model using the NIST Electronic Lab Reporting (ELR) Validation Suite. -(Note: If you’re testing OTC data, use the NIST HL7 General Validation Tool and -select “RADx MARS HL7v2” from the tool scope dropdown. Navigate to the “Context-free” tab and select the “Onboarding” profile group). +Note: If you’re testing OTC data, use the NIST HL7 General Validation Tool and +select **RADx MARS HL7v2** from the **Tool Scopes** dropdown. Navigate to the **Context-free** tab and select the **Onboarding** profile group. Correct any errors you receive. +

Map your codes

+ +We will ensure that all potential codes you might send to ReportStream are mapped in our system as part of your onboarding. First, format your result and organism codes in a CSV file using our template. Then, send the completed CSV to your onboarding engineer or reportstream@cdc.gov. We will review your codes and provide next steps to continue your onboarding. + +, + id: "2_1" + }, + { + headingLevel: "h3", + title: "Step 2.2: Input all result codes", + content: , + id: "2_2" + }, + { + headingLevel: "h3", + title: "Step 2.3: Input all organism codes (if applicable)", + content: , + id: "2_3" + }, + { + headingLevel: "h3", + title: "Step 2.4: Upload your file", + content: , + id: "2_4" + }, +]} /> +

Set up authentication and test your API connection

After you have finalized the formatting of your data, the ReportStream team will begin onboarding you to our staging environment. @@ -68,27 +103,27 @@ The data submitted are sent as the payload of the POST, as is, with no changes. , - id: 1 + title: "Step 3.1: Prior to submission, send your public key to ReportStream.", + content: , + id: "3_1" }, { headingLevel: "h3", - title: "Step 2: At the time of submission, generate a signed JWT using your private key", - content: , - id: 2 + title: "Step 3.2: At the time of submission, generate a signed JWT using your private key", + content: , + id: "3_2" }, { headingLevel: "h3", - title: "Step 3: Send the signed JWT to ReportStream to get a temporary bearer token", - content: , - id: 3 + title: "Step 3.3: Send the signed JWT to ReportStream to get a temporary bearer token", + content: , + id: "3_3" }, { headingLevel: "h3", - title: "Step 4: Submit data to ReportStream using the bearer token", - content: , - id: 4 + title: "Step 3.4: Submit data to ReportStream using the bearer token", + content: , + id: "3_4" }, ]} /> diff --git a/frontend-react/src/content/developer-resources/reportstream-api/getting-started/Step2_1.mdx b/frontend-react/src/content/developer-resources/reportstream-api/getting-started/Step2_1.mdx new file mode 100644 index 00000000000..69cd8da5a01 --- /dev/null +++ b/frontend-react/src/content/developer-resources/reportstream-api/getting-started/Step2_1.mdx @@ -0,0 +1,85 @@ +--- +tableContent: [ + [ + { + columnKey: "Code", + columnHeader: "Code", + content: "97099-6", + }, + { + columnKey: "Name", + columnHeader: "Name", + content: "Influenza virus A and B and SARS-CoV-2 (COVID-19) Ag panel - Upper respiratory specimen by Rapid immunoassay", + }, + { + columnKey: "CodingSystem", + columnHeader: "Coding system", + content: + "LOINC", + }, + ], + [ + { + columnKey: "Code", + columnHeader: "Code", + content: "123456", + }, + { + columnKey: "Name", + columnHeader: "Name", + content: "LDT Flu Test", + }, + { + columnKey: "CodingSystem", + columnHeader: "Coding system", + content: + "LOCAL", + }, + ], + [ + { + columnKey: "Code", + columnHeader: "Code", + content: "47457-7", + }, + { + columnKey: "Name", + columnHeader: "Name", + content: "Influenza virus A H8 Ab [Titer] in Serum", + }, + { + columnKey: "CodingSystem", + columnHeader: "Coding system", + content: + "LOINC", + }, + ], + [ + { + columnKey: "Code", + columnHeader: "Code", + content: "115329001", + }, + { + columnKey: "Name", + columnHeader: "Name", + content: "Methicillin resistant Staphylococcus aureus", + }, + { + columnKey: "CodingSystem", + columnHeader: "Coding system", + content: "SNOMEDCT", + }, + ], +] +--- + +import { Table } from "../../../../shared"; +import site from "../../../site.json"; + + +Download our template that provides detailed instructions and correctly formatted columns. + +If you do not want to use the template, you can also create your own file. The CSV file should only contain three columns labeled: Code, Name, and Coding system as shown in the example below. + + diff --git a/frontend-react/src/content/developer-resources/reportstream-api/getting-started/Step2_2.mdx b/frontend-react/src/content/developer-resources/reportstream-api/getting-started/Step2_2.mdx new file mode 100644 index 00000000000..df814521fe1 --- /dev/null +++ b/frontend-react/src/content/developer-resources/reportstream-api/getting-started/Step2_2.mdx @@ -0,0 +1,7 @@ +Enter all result codes your organization will use to send data through ReportStream. + +In column A (**Code**): Enter the coded value for all performed test results. This should be the value sent in `OBX-3.1` in an HL7 Message or `Bundle.entry.resource.ofType(Observation).code.coding.code` of a FHIR Observation resource. + +In column B (**Name**): Enter the textual description of the code in column A. If the value in column A is a LOINC code, use the LOINC Long Common Name. If the value in column A is a local code, use a descriptive result name. + +In column C (**Coding system**): Enter `LOINC` if the value in column A is a LOINC code. Enter `LOCAL` if the value is a local code. \ No newline at end of file diff --git a/frontend-react/src/content/developer-resources/reportstream-api/getting-started/Step2_3.mdx b/frontend-react/src/content/developer-resources/reportstream-api/getting-started/Step2_3.mdx new file mode 100644 index 00000000000..23b77c2070d --- /dev/null +++ b/frontend-react/src/content/developer-resources/reportstream-api/getting-started/Step2_3.mdx @@ -0,0 +1,7 @@ +Input all codes for organisms that your organization will send through ReportStream. If you are not sending any reportable microbiological culture results, you can move on to Step 2.4. + +In column A (**Code**): Enter the coded value for all potential reportable organisms. This should be the value sent in `OBX-5.1` in an HL7 Message or `Bundle.entry.resource.ofType(Observation).value CodableConcept.cod` of a FHIR Observation resource. + +In column B (**Name**): Enter the textual description of the code in column A. If the value in column A is a SNOMED code, use the SNOMED description. If the value in column A is a local code, use a descriptive result name. + +In column C (**Coding system**): Enter `SNOMEDCT` if the value in column A is a SNOMED code. Enter `LOCAL` if the value is a local code. \ No newline at end of file diff --git a/frontend-react/src/content/developer-resources/reportstream-api/getting-started/Step2_4.mdx b/frontend-react/src/content/developer-resources/reportstream-api/getting-started/Step2_4.mdx new file mode 100644 index 00000000000..490e96a7301 --- /dev/null +++ b/frontend-react/src/content/developer-resources/reportstream-api/getting-started/Step2_4.mdx @@ -0,0 +1,3 @@ +import site from "../../../site.json"; + +After completing the mapping file, export the column headers and filled rows as a CSV file. Send the generated CSV your onboarding engineer or reportstream@cdc.gov. We will review your codes and provide next steps to continue your onboarding. \ No newline at end of file diff --git a/frontend-react/src/content/developer-resources/reportstream-api/getting-started/Step1.mdx b/frontend-react/src/content/developer-resources/reportstream-api/getting-started/Step3_1.mdx similarity index 100% rename from frontend-react/src/content/developer-resources/reportstream-api/getting-started/Step1.mdx rename to frontend-react/src/content/developer-resources/reportstream-api/getting-started/Step3_1.mdx diff --git a/frontend-react/src/content/developer-resources/reportstream-api/getting-started/Step2.mdx b/frontend-react/src/content/developer-resources/reportstream-api/getting-started/Step3_2.mdx similarity index 100% rename from frontend-react/src/content/developer-resources/reportstream-api/getting-started/Step2.mdx rename to frontend-react/src/content/developer-resources/reportstream-api/getting-started/Step3_2.mdx diff --git a/frontend-react/src/content/developer-resources/reportstream-api/getting-started/Step3.mdx b/frontend-react/src/content/developer-resources/reportstream-api/getting-started/Step3_3.mdx similarity index 100% rename from frontend-react/src/content/developer-resources/reportstream-api/getting-started/Step3.mdx rename to frontend-react/src/content/developer-resources/reportstream-api/getting-started/Step3_3.mdx diff --git a/frontend-react/src/content/developer-resources/reportstream-api/getting-started/Step4.mdx b/frontend-react/src/content/developer-resources/reportstream-api/getting-started/Step3_4.mdx similarity index 100% rename from frontend-react/src/content/developer-resources/reportstream-api/getting-started/Step4.mdx rename to frontend-react/src/content/developer-resources/reportstream-api/getting-started/Step3_4.mdx diff --git a/frontend-react/src/content/site.json b/frontend-react/src/content/site.json index 2172da9ecf5..bb8da5464d2 100644 --- a/frontend-react/src/content/site.json +++ b/frontend-react/src/content/site.json @@ -59,6 +59,9 @@ }, "onePager": { "path": "/assets/pdf/ReportStream_Onepager_20240605.pdf" + }, + "codeMapTemplate": { + "path": "/assets/xlsm/20241204_ReportStream-Mapping-Template.xlsm" } }, "external": { diff --git a/frontend-react/src/contexts/Toast/index.tsx b/frontend-react/src/contexts/Toast/index.tsx index 7708f80693f..958935a1c71 100644 --- a/frontend-react/src/contexts/Toast/index.tsx +++ b/frontend-react/src/contexts/Toast/index.tsx @@ -1,31 +1,17 @@ -import { - createContext, - PropsWithChildren, - ReactNode, - useCallback, - useContext, - useMemo, -} from "react"; +import { createContext, PropsWithChildren, ReactNode, useCallback, useContext, useMemo } from "react"; import { toast } from "react-toastify"; import useSessionContext from "../Session/useSessionContext"; export interface ToastCtx { - toast: ( - msgOrErr: Error | ReactNode, - type: "success" | "warning" | "error" | "info", - ) => void; + toast: (msgOrErr: Error | ReactNode, type: "success" | "warning" | "error" | "info") => void; } export const ToastContext = createContext({ toast: () => void 0 }); -export const showToast = ( - message: ReactNode, - type: "success" | "warning" | "error" | "info", -) => { - const toastId = `id_${message?.toString()}` - .replace(/\W/gi, "_") - .substring(0, 512); +export const showToast = (message: ReactNode, type: "success" | "warning" | "error" | "info") => { + // eslint-disable-next-line @typescript-eslint/no-base-to-string + const toastId = `id_${message?.toString()}`.replace(/\W/gi, "_").substring(0, 512); const msg = message instanceof Error ? message.message : message; // basically the USWDS Alert UI @@ -34,9 +20,7 @@ export const showToast = ( className={`usa-alert usa-alert--slim usa-alert--no-icon usa-alert--${type} rs-alert-toast`} data-testid="alerttoast" > -
- {msg &&

{msg}

} -
+
{msg &&

{msg}

}
, { toastId, @@ -55,10 +39,7 @@ export const useToast = () => useContext(ToastContext); function ToastProvider({ children }: PropsWithChildren) { const { rsConsole } = useSessionContext(); const fn = useCallback( - ( - msgOrErr: Error | ReactNode, - type: "success" | "warning" | "error" | "info", - ) => { + (msgOrErr: Error | ReactNode, type: "success" | "warning" | "error" | "info") => { let message: ReactNode; if (msgOrErr instanceof Error) { message = msgOrErr.message; @@ -88,9 +69,7 @@ function ToastProvider({ children }: PropsWithChildren) { [fn], ); - return ( - {children} - ); + return {children}; } export default ToastProvider; diff --git a/frontend-react/src/shared/ReportStreamFooter/ReportStreamFooter.tsx b/frontend-react/src/shared/ReportStreamFooter/ReportStreamFooter.tsx index ebf0e301f82..a9f12127c8a 100644 --- a/frontend-react/src/shared/ReportStreamFooter/ReportStreamFooter.tsx +++ b/frontend-react/src/shared/ReportStreamFooter/ReportStreamFooter.tsx @@ -68,7 +68,7 @@ export const ReportStreamFooter = () => { - + FOIA requests diff --git a/frontend-react/src/utils/TemporarySettingsAPITypes.ts b/frontend-react/src/utils/TemporarySettingsAPITypes.ts index b004941d1d7..c2fec0ebc39 100644 --- a/frontend-react/src/utils/TemporarySettingsAPITypes.ts +++ b/frontend-react/src/utils/TemporarySettingsAPITypes.ts @@ -66,6 +66,7 @@ enum USTimeZone { EAST_INDIANA = "EAST_INDIANA", HAWAII = "HAWAII", INDIANA_STARKE = "INDIANA_STARKE", + MAJURO = "MAJURO", MICHIGAN = "MICHIGAN", MOUNTAIN = "MOUNTAIN", PACIFIC = "PACIFIC", @@ -139,10 +140,7 @@ class SampleFilterObject extends SampleObject { getAllEnums(): Map { return new Map([ - [ - "Available Filters", - Array.from(Object.values(ReportStreamFilterDefinition)), - ], + ["Available Filters", Array.from(Object.values(ReportStreamFilterDefinition))], ]); } @@ -221,9 +219,7 @@ class SampleTranslationObj extends SampleObject { schemaName = "schema"; getAllEnums(): Map { - return new Map([ - ["format", Array.from(Object.values(Format))], - ]); + return new Map([["format", Array.from(Object.values(Format))]]); } description(): string { @@ -265,9 +261,7 @@ class SampleTransportObject extends SampleObject { }; getAllEnums(): Map { - return new Map([ - ["GAEN.uuidFormat", Array.from(Object.values(GAENUUIDFormat))], - ]); + return new Map([["GAEN.uuidFormat", Array.from(Object.values(GAENUUIDFormat))]]); } description(): string { diff --git a/frontend-react/yarn.lock b/frontend-react/yarn.lock index 8806372e85c..9b93c313d1a 100644 --- a/frontend-react/yarn.lock +++ b/frontend-react/yarn.lock @@ -29,6 +29,19 @@ __metadata: languageName: node linkType: hard +"@asamuzakjp/css-color@npm:^2.8.2": + version: 2.8.2 + resolution: "@asamuzakjp/css-color@npm:2.8.2" + dependencies: + "@csstools/css-calc": ^2.1.1 + "@csstools/css-color-parser": ^3.0.7 + "@csstools/css-parser-algorithms": ^3.0.4 + "@csstools/css-tokenizer": ^3.0.3 + lru-cache: ^11.0.2 + checksum: 3ab340702857b617a6526d1d4e1969d93dfaeab06e9d23136d137e16808be4c07f7baa4b810aea7235d85769fd71cdbb4fbd7e50052eb364e3fb7a7a68d18f47 + languageName: node + linkType: hard + "@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.25.9, @babel/code-frame@npm:^7.26.0, @babel/code-frame@npm:^7.26.2": version: 7.26.2 resolution: "@babel/code-frame@npm:7.26.2" @@ -281,6 +294,52 @@ __metadata: languageName: node linkType: hard +"@csstools/color-helpers@npm:^5.0.1": + version: 5.0.1 + resolution: "@csstools/color-helpers@npm:5.0.1" + checksum: be5b44931d0edbba09cd7eb1dc36cfd2fdd92b84e5125ddd16d06550f53a4f4502882fbae58e52352313ffe2aee2047f1583b76784fcc959604fc5b5d9d2c3b1 + languageName: node + linkType: hard + +"@csstools/css-calc@npm:^2.1.1": + version: 2.1.1 + resolution: "@csstools/css-calc@npm:2.1.1" + peerDependencies: + "@csstools/css-parser-algorithms": ^3.0.4 + "@csstools/css-tokenizer": ^3.0.3 + checksum: 82bf7e4a09db4679d84fdc84be2530f61ebdf1439a5d7005c4cfd9f6c15431ab5c928bf44639b5b6d91c5d5910178a2ac8b7af52d95e876062d7e0e589ca5c3f + languageName: node + linkType: hard + +"@csstools/css-color-parser@npm:^3.0.7": + version: 3.0.7 + resolution: "@csstools/css-color-parser@npm:3.0.7" + dependencies: + "@csstools/color-helpers": ^5.0.1 + "@csstools/css-calc": ^2.1.1 + peerDependencies: + "@csstools/css-parser-algorithms": ^3.0.4 + "@csstools/css-tokenizer": ^3.0.3 + checksum: 5a8ae044cf9c799383c8592ae7ba1097d9140b98a508ea5785b89278639cb4e936e968618ea0502581e21eee0a3638d1a30f59fedbaac5d1757cfed408007803 + languageName: node + linkType: hard + +"@csstools/css-parser-algorithms@npm:^3.0.4": + version: 3.0.4 + resolution: "@csstools/css-parser-algorithms@npm:3.0.4" + peerDependencies: + "@csstools/css-tokenizer": ^3.0.3 + checksum: 5b6b2b97fbe0a0c5652e44613bcf62ec89a93f64069a48f6cd63b5757c7dc227970c54c50a8212b9feb90aff399490636a58366df3ca733d490d911768eaddaf + languageName: node + linkType: hard + +"@csstools/css-tokenizer@npm:^3.0.3": + version: 3.0.3 + resolution: "@csstools/css-tokenizer@npm:3.0.3" + checksum: 6b300beba1b29c546b720887be18a40bafded5dc96550fb87d61fbc2c550e9632e7baafa2bf34a66e0f25fb6b70558ee67ef3b45856aa5e621febc2124cf5039 + languageName: node + linkType: hard + "@emotion/is-prop-valid@npm:1.2.1": version: 1.2.1 resolution: "@emotion/is-prop-valid@npm:1.2.1" @@ -318,9 +377,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/aix-ppc64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/aix-ppc64@npm:0.24.0" +"@esbuild/aix-ppc64@npm:0.24.2": + version: 0.24.2 + resolution: "@esbuild/aix-ppc64@npm:0.24.2" conditions: os=aix & cpu=ppc64 languageName: node linkType: hard @@ -339,9 +398,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/android-arm64@npm:0.24.0" +"@esbuild/android-arm64@npm:0.24.2": + version: 0.24.2 + resolution: "@esbuild/android-arm64@npm:0.24.2" conditions: os=android & cpu=arm64 languageName: node linkType: hard @@ -360,9 +419,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-arm@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/android-arm@npm:0.24.0" +"@esbuild/android-arm@npm:0.24.2": + version: 0.24.2 + resolution: "@esbuild/android-arm@npm:0.24.2" conditions: os=android & cpu=arm languageName: node linkType: hard @@ -381,9 +440,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/android-x64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/android-x64@npm:0.24.0" +"@esbuild/android-x64@npm:0.24.2": + version: 0.24.2 + resolution: "@esbuild/android-x64@npm:0.24.2" conditions: os=android & cpu=x64 languageName: node linkType: hard @@ -402,9 +461,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/darwin-arm64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/darwin-arm64@npm:0.24.0" +"@esbuild/darwin-arm64@npm:0.24.2": + version: 0.24.2 + resolution: "@esbuild/darwin-arm64@npm:0.24.2" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard @@ -423,9 +482,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/darwin-x64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/darwin-x64@npm:0.24.0" +"@esbuild/darwin-x64@npm:0.24.2": + version: 0.24.2 + resolution: "@esbuild/darwin-x64@npm:0.24.2" conditions: os=darwin & cpu=x64 languageName: node linkType: hard @@ -444,9 +503,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/freebsd-arm64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/freebsd-arm64@npm:0.24.0" +"@esbuild/freebsd-arm64@npm:0.24.2": + version: 0.24.2 + resolution: "@esbuild/freebsd-arm64@npm:0.24.2" conditions: os=freebsd & cpu=arm64 languageName: node linkType: hard @@ -465,9 +524,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/freebsd-x64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/freebsd-x64@npm:0.24.0" +"@esbuild/freebsd-x64@npm:0.24.2": + version: 0.24.2 + resolution: "@esbuild/freebsd-x64@npm:0.24.2" conditions: os=freebsd & cpu=x64 languageName: node linkType: hard @@ -486,9 +545,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-arm64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/linux-arm64@npm:0.24.0" +"@esbuild/linux-arm64@npm:0.24.2": + version: 0.24.2 + resolution: "@esbuild/linux-arm64@npm:0.24.2" conditions: os=linux & cpu=arm64 languageName: node linkType: hard @@ -507,9 +566,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-arm@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/linux-arm@npm:0.24.0" +"@esbuild/linux-arm@npm:0.24.2": + version: 0.24.2 + resolution: "@esbuild/linux-arm@npm:0.24.2" conditions: os=linux & cpu=arm languageName: node linkType: hard @@ -528,9 +587,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-ia32@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/linux-ia32@npm:0.24.0" +"@esbuild/linux-ia32@npm:0.24.2": + version: 0.24.2 + resolution: "@esbuild/linux-ia32@npm:0.24.2" conditions: os=linux & cpu=ia32 languageName: node linkType: hard @@ -549,9 +608,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-loong64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/linux-loong64@npm:0.24.0" +"@esbuild/linux-loong64@npm:0.24.2": + version: 0.24.2 + resolution: "@esbuild/linux-loong64@npm:0.24.2" conditions: os=linux & cpu=loong64 languageName: node linkType: hard @@ -570,9 +629,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-mips64el@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/linux-mips64el@npm:0.24.0" +"@esbuild/linux-mips64el@npm:0.24.2": + version: 0.24.2 + resolution: "@esbuild/linux-mips64el@npm:0.24.2" conditions: os=linux & cpu=mips64el languageName: node linkType: hard @@ -591,9 +650,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-ppc64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/linux-ppc64@npm:0.24.0" +"@esbuild/linux-ppc64@npm:0.24.2": + version: 0.24.2 + resolution: "@esbuild/linux-ppc64@npm:0.24.2" conditions: os=linux & cpu=ppc64 languageName: node linkType: hard @@ -612,9 +671,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-riscv64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/linux-riscv64@npm:0.24.0" +"@esbuild/linux-riscv64@npm:0.24.2": + version: 0.24.2 + resolution: "@esbuild/linux-riscv64@npm:0.24.2" conditions: os=linux & cpu=riscv64 languageName: node linkType: hard @@ -633,9 +692,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-s390x@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/linux-s390x@npm:0.24.0" +"@esbuild/linux-s390x@npm:0.24.2": + version: 0.24.2 + resolution: "@esbuild/linux-s390x@npm:0.24.2" conditions: os=linux & cpu=s390x languageName: node linkType: hard @@ -654,13 +713,20 @@ __metadata: languageName: node linkType: hard -"@esbuild/linux-x64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/linux-x64@npm:0.24.0" +"@esbuild/linux-x64@npm:0.24.2": + version: 0.24.2 + resolution: "@esbuild/linux-x64@npm:0.24.2" conditions: os=linux & cpu=x64 languageName: node linkType: hard +"@esbuild/netbsd-arm64@npm:0.24.2": + version: 0.24.2 + resolution: "@esbuild/netbsd-arm64@npm:0.24.2" + conditions: os=netbsd & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/netbsd-x64@npm:0.21.5": version: 0.21.5 resolution: "@esbuild/netbsd-x64@npm:0.21.5" @@ -675,9 +741,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/netbsd-x64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/netbsd-x64@npm:0.24.0" +"@esbuild/netbsd-x64@npm:0.24.2": + version: 0.24.2 + resolution: "@esbuild/netbsd-x64@npm:0.24.2" conditions: os=netbsd & cpu=x64 languageName: node linkType: hard @@ -689,9 +755,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/openbsd-arm64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/openbsd-arm64@npm:0.24.0" +"@esbuild/openbsd-arm64@npm:0.24.2": + version: 0.24.2 + resolution: "@esbuild/openbsd-arm64@npm:0.24.2" conditions: os=openbsd & cpu=arm64 languageName: node linkType: hard @@ -710,9 +776,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/openbsd-x64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/openbsd-x64@npm:0.24.0" +"@esbuild/openbsd-x64@npm:0.24.2": + version: 0.24.2 + resolution: "@esbuild/openbsd-x64@npm:0.24.2" conditions: os=openbsd & cpu=x64 languageName: node linkType: hard @@ -731,9 +797,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/sunos-x64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/sunos-x64@npm:0.24.0" +"@esbuild/sunos-x64@npm:0.24.2": + version: 0.24.2 + resolution: "@esbuild/sunos-x64@npm:0.24.2" conditions: os=sunos & cpu=x64 languageName: node linkType: hard @@ -752,9 +818,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-arm64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/win32-arm64@npm:0.24.0" +"@esbuild/win32-arm64@npm:0.24.2": + version: 0.24.2 + resolution: "@esbuild/win32-arm64@npm:0.24.2" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard @@ -773,9 +839,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-ia32@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/win32-ia32@npm:0.24.0" +"@esbuild/win32-ia32@npm:0.24.2": + version: 0.24.2 + resolution: "@esbuild/win32-ia32@npm:0.24.2" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard @@ -794,9 +860,9 @@ __metadata: languageName: node linkType: hard -"@esbuild/win32-x64@npm:0.24.0": - version: 0.24.0 - resolution: "@esbuild/win32-x64@npm:0.24.0" +"@esbuild/win32-x64@npm:0.24.2": + version: 0.24.2 + resolution: "@esbuild/win32-x64@npm:0.24.2" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -819,15 +885,15 @@ __metadata: languageName: node linkType: hard -"@eslint/compat@npm:^1.2.4": - version: 1.2.4 - resolution: "@eslint/compat@npm:1.2.4" +"@eslint/compat@npm:^1.2.5": + version: 1.2.5 + resolution: "@eslint/compat@npm:1.2.5" peerDependencies: eslint: ^9.10.0 peerDependenciesMeta: eslint: optional: true - checksum: d68b0e5d4f2890c86b439cd2e4c0f9c6e7eae09230a69cf80a0b647f7242ed5c662cc286a06d6eb06d95e3def62ed26e9e1eac494538d58b4e2cfc355d37c176 + checksum: 267afd3dc8fd70562c728ba4714678b7b76f9aaa8615c461f24346a5362cf0b41a736a2a97205e53dab8cef95de9dc14528184f74cf4e5dc712981f2c12848e6 languageName: node linkType: hard @@ -842,12 +908,12 @@ __metadata: languageName: node linkType: hard -"@eslint/core@npm:^0.9.0": - version: 0.9.1 - resolution: "@eslint/core@npm:0.9.1" +"@eslint/core@npm:^0.10.0": + version: 0.10.0 + resolution: "@eslint/core@npm:0.10.0" dependencies: "@types/json-schema": ^7.0.15 - checksum: 33c8159842cc3a646caa267c008cb567ca60e0220bcdcf6e426128409953b8f6a9b142246db616c71d06331edf769c192d7e2792b3f19c2a6b8179e491512d89 + checksum: 851fa099b3fef00e7ff8ece14523aff0822d3e1b47b047ab0a0d898e80c1362a22aa8b7778727231c383246932ecb63de79b4448ec1e500901c578580b087573 languageName: node linkType: hard @@ -868,10 +934,10 @@ __metadata: languageName: node linkType: hard -"@eslint/js@npm:9.17.0, @eslint/js@npm:^9.17.0": - version: 9.17.0 - resolution: "@eslint/js@npm:9.17.0" - checksum: b68a14ff518ffa12e3b85fa9c72b818faeff092285acfbf02da2d0fb12a681b76651638881e98845f2df2ed346ed0d33faeb1d9caac163daf232c223b7efe89c +"@eslint/js@npm:9.18.0, @eslint/js@npm:^9.18.0": + version: 9.18.0 + resolution: "@eslint/js@npm:9.18.0" + checksum: a47cfcc684f87094992fe4a5c5e54018393231d8d42bd2150a08eb167813a6bf8d7c7ccbc9611933e5f782ff3b96a06c9be8d19342965cadd4530a45521b8981 languageName: node linkType: hard @@ -882,12 +948,13 @@ __metadata: languageName: node linkType: hard -"@eslint/plugin-kit@npm:^0.2.3": - version: 0.2.4 - resolution: "@eslint/plugin-kit@npm:0.2.4" +"@eslint/plugin-kit@npm:^0.2.5": + version: 0.2.5 + resolution: "@eslint/plugin-kit@npm:0.2.5" dependencies: + "@eslint/core": ^0.10.0 levn: ^0.4.1 - checksum: 5693465dca5fc6f27b090f987b51bc738f48c6a6b5678dcc1791522921834206388b462578edd362d458e8de6dcd21cce1a2e8cff47d1512411ba0389112c231 + checksum: 423db33e67ff16f6db71bf8bfc8d5b0c2c4fe6f2209131e5886a573bf994bfc72ab4f825068d6521f186247731d4c9d48eb42a5e5ce389c6faa275752c0e9459 languageName: node linkType: hard @@ -1282,6 +1349,31 @@ __metadata: languageName: node linkType: hard +"@mjackson/form-data-parser@npm:^0.4.0": + version: 0.4.0 + resolution: "@mjackson/form-data-parser@npm:0.4.0" + dependencies: + "@mjackson/multipart-parser": ^0.6.1 + checksum: 4079b2c2431ac87e38c561725ab28521fb0976e665de758ac2ef6c62118a751aff1720f1892efe8b47790e3c40dd160f25c96a43e8cc1936a4d77359bffaf2ad + languageName: node + linkType: hard + +"@mjackson/headers@npm:^0.5.0": + version: 0.5.1 + resolution: "@mjackson/headers@npm:0.5.1" + checksum: de2cc127ee01ca779969b336c8222da24916edaff68cf75892716160013019aaf7b59d3aa8208dbee02842e69fdbe8c3c798bcf3061e9f9fce118f12b8d420e7 + languageName: node + linkType: hard + +"@mjackson/multipart-parser@npm:^0.6.1": + version: 0.6.3 + resolution: "@mjackson/multipart-parser@npm:0.6.3" + dependencies: + "@mjackson/headers": ^0.5.0 + checksum: 4c897fb3ee376c811f9053eb3c1ccf7cd9783f1028416a8192b6a0b6752c7e17ebc4ec329325eb3750395d7a26d03cc7102d6da1fd265027166c22d873ab8f0d + languageName: node + linkType: hard + "@mswjs/interceptors@npm:^0.37.0": version: 0.37.3 resolution: "@mswjs/interceptors@npm:0.37.3" @@ -1400,11 +1492,11 @@ __metadata: languageName: node linkType: hard -"@okta/okta-signin-widget@npm:^7.26.1": - version: 7.26.1 - resolution: "@okta/okta-signin-widget@npm:7.26.1" +"@okta/okta-signin-widget@npm:^7.27.2": + version: 7.27.2 + resolution: "@okta/okta-signin-widget@npm:7.27.2" dependencies: - "@okta/okta-auth-js": ^7.9.0 + "@okta/okta-auth-js": ^7.10.0 "@sindresorhus/to-milliseconds": ^1.0.0 "@types/backbone": ^1.4.15 "@types/eslint-scope": ^3.7.3 @@ -1426,7 +1518,7 @@ __metadata: dependenciesMeta: fsevents: optional: true - checksum: bac77bb6cda8c34a5155859f11e4c1a50ff62a523fe48e2bbfdb58527ffa1265e7eabbacdc67c104b43b32b3f60b0a82704f075a65f7008090dc32a80b549433 + checksum: ca41430cc088fe703864d7e57bf29e1a9073fe0211ea9676632bbde8b3009254f520eb661215e1a7e32342ba760693206c02a3891130734ee9076cd5f8d416fa languageName: node linkType: hard @@ -2316,7 +2408,7 @@ __metadata: languageName: node linkType: hard -"@storybook/theming@npm:8.4.7, @storybook/theming@npm:^8.4.7": +"@storybook/theming@npm:8.4.7, @storybook/theming@npm:^8.0.0, @storybook/theming@npm:^8.4.7": version: 8.4.7 resolution: "@storybook/theming@npm:8.4.7" peerDependencies: @@ -2452,40 +2544,40 @@ __metadata: languageName: node linkType: hard -"@tanstack/query-core@npm:5.62.2": - version: 5.62.2 - resolution: "@tanstack/query-core@npm:5.62.2" - checksum: 1d15f007214c65c15360eadfe6ccefb8a2d780b85383b8ce7083950d8648efc95784e36d304792f1b738178b9fb0531e0d062c7f63d69f4577c1f1b9f7c15af7 +"@tanstack/query-core@npm:5.64.0": + version: 5.64.0 + resolution: "@tanstack/query-core@npm:5.64.0" + checksum: a489552af41419f9561baaff15073d63a4cf8634b5a9f4a484364a70734b6e37f7460560acccf61ef4b631ac4b6008000c4f13996b905f219b8099bd8343451c languageName: node linkType: hard -"@tanstack/query-devtools@npm:5.61.4": - version: 5.61.4 - resolution: "@tanstack/query-devtools@npm:5.61.4" - checksum: b2138f9848e38353d21abf17a1ae7c65528ba6f095537988b5cbb365bb0a64176b7ff9ea5c0494d69b5d2799a4c495fc0fc877b5e1f369f178549655c2748be9 +"@tanstack/query-devtools@npm:5.62.16": + version: 5.62.16 + resolution: "@tanstack/query-devtools@npm:5.62.16" + checksum: 1b6554334ef00818ae4ba3cea1a369c70ce2d9605e7c44de3dd802cce355a8d559108f93a68cd5df5de7e5eeee4e89259577cf83611a43f62f67f27fc9cdb61a languageName: node linkType: hard -"@tanstack/react-query-devtools@npm:^5.62.2": - version: 5.62.2 - resolution: "@tanstack/react-query-devtools@npm:5.62.2" +"@tanstack/react-query-devtools@npm:^5.64.0": + version: 5.64.0 + resolution: "@tanstack/react-query-devtools@npm:5.64.0" dependencies: - "@tanstack/query-devtools": 5.61.4 + "@tanstack/query-devtools": 5.62.16 peerDependencies: - "@tanstack/react-query": ^5.62.2 + "@tanstack/react-query": ^5.64.0 react: ^18 || ^19 - checksum: 5a01a2ebff96d13572afc72f7f167c612d3417a17006759e4fc12b7f2bc428b58693ea7f467e286edcff7c5e454d937da9857b8cc99a7d02ad66b3eaab2d3b8d + checksum: 24e2aed653ed79ab132a8da451e8323daaea9acf4c677e7dad1cdc4fd8c5d7419906801d350a6596f7ff35b80dae97ba3c432d8e84d748d8ea53bc75b41348f6 languageName: node linkType: hard -"@tanstack/react-query@npm:^5.62.2": - version: 5.62.2 - resolution: "@tanstack/react-query@npm:5.62.2" +"@tanstack/react-query@npm:^5.64.0": + version: 5.64.0 + resolution: "@tanstack/react-query@npm:5.64.0" dependencies: - "@tanstack/query-core": 5.62.2 + "@tanstack/query-core": 5.64.0 peerDependencies: react: ^18 || ^19 - checksum: 4735781dade3a55d0f2992b4f5c4c0e27d89788f2df37f57abeb45126aab54314638a040bae2bd39dda2aa4d27c96439b5df457890f1c0822ea74d290ffe2d9c + checksum: d6676fd1481753af1c348c8084057f9c879a8ac69c5cd5ae3f90ae29a6734a32511de90b2b02f9ac31da1ca475ecd72d2fb5e06d01dfa78c78d59919d32364d5 languageName: node linkType: hard @@ -2573,23 +2665,23 @@ __metadata: languageName: node linkType: hard -"@testing-library/react@npm:^16.0.1": - version: 16.0.1 - resolution: "@testing-library/react@npm:16.0.1" +"@testing-library/react@npm:^16.1.0": + version: 16.1.0 + resolution: "@testing-library/react@npm:16.1.0" dependencies: "@babel/runtime": ^7.12.5 peerDependencies: "@testing-library/dom": ^10.0.0 - "@types/react": ^18.0.0 - "@types/react-dom": ^18.0.0 - react: ^18.0.0 - react-dom: ^18.0.0 + "@types/react": ^18.0.0 || ^19.0.0 + "@types/react-dom": ^18.0.0 || ^19.0.0 + react: ^18.0.0 || ^19.0.0 + react-dom: ^18.0.0 || ^19.0.0 peerDependenciesMeta: "@types/react": optional: true "@types/react-dom": optional: true - checksum: 1837db473ea018cf2b5d0cbfffb7a30d0d759e5a7f23aad431441c77bcc3d2533250cd003a61878fd908267df47404cedcb5914f12d79e413002c659652b37fd + checksum: 5dc8e7abda23d108c29f43cdacd43fad750e981ee87ee8902fb349a2683f2f774ef1136f2d3ef3d9efb87e8b04426c43d7b46e95511cd7c9d37b10c3bdd3e9e2 languageName: node linkType: hard @@ -2873,10 +2965,10 @@ __metadata: languageName: node linkType: hard -"@types/lodash@npm:^4.17.13": - version: 4.17.13 - resolution: "@types/lodash@npm:4.17.13" - checksum: d0bf8fbd950be71946e0076b30fd40d492293baea75f05931b6b5b906fd62583708c6229abdb95b30205ad24ce1ed2f48bc9d419364f682320edd03405cc0c7e +"@types/lodash@npm:^4.17.14": + version: 4.17.14 + resolution: "@types/lodash@npm:4.17.14" + checksum: 2dbeaff92b31cb523f6bc4bb99a3d8c88fbb001d54f2367a888add85784fb213744a9b1600e1e98b6790ab191fdb6ec839eb0e3d63fcf6fb6cf1ebe4c3d21149 languageName: node linkType: hard @@ -2913,9 +3005,9 @@ __metadata: linkType: hard "@types/prop-types@npm:*": - version: 15.7.5 - resolution: "@types/prop-types@npm:15.7.5" - checksum: 5b43b8b15415e1f298243165f1d44390403bb2bd42e662bca3b5b5633fdd39c938e91b7fce3a9483699db0f7a715d08cef220c121f723a634972fdf596aec980 + version: 15.7.14 + resolution: "@types/prop-types@npm:15.7.14" + checksum: d0c5407b9ccc3dd5fae0ccf9b1007e7622ba5e6f1c18399b4f24dff33619d469da4b9fa918a374f19dc0d9fe6a013362aab0b844b606cfc10676efba3f5f736d languageName: node linkType: hard @@ -2927,11 +3019,11 @@ __metadata: linkType: hard "@types/react-dom@npm:^18.3.1": - version: 18.3.1 - resolution: "@types/react-dom@npm:18.3.1" - dependencies: - "@types/react": "*" - checksum: ad28ecce3915d30dc76adc2a1373fda1745ba429cea290e16c6628df9a05fd80b6403c8e87d78b45e6c60e51df7a67add389ab62b90070fbfdc9bda8307d9953 + version: 18.3.5 + resolution: "@types/react-dom@npm:18.3.5" + peerDependencies: + "@types/react": ^18.0.0 + checksum: 95c757684f71e761515c5a11299e5feec550c72bb52975487f360e6f0d359b26454c26eaf2ce45dd22748205aa9b2c2fe0abe7005ebcbd233a7615283ac39a7d languageName: node linkType: hard @@ -2965,13 +3057,13 @@ __metadata: languageName: node linkType: hard -"@types/react@npm:18.3.11": - version: 18.3.11 - resolution: "@types/react@npm:18.3.11" +"@types/react@npm:^18.3.11": + version: 18.3.18 + resolution: "@types/react@npm:18.3.18" dependencies: "@types/prop-types": "*" csstype: ^3.0.2 - checksum: 6cbf36673b64e758dd61b16c24139d015f58530e0d476777de26ba83f24b55e142fbf64e3b8f6b3c7b05ed9ba548551b2a62d9ffb0f95743d0a368646a619163 + checksum: 5933597bc9f53e282f0438f0bb76d0f0fab60faabe760ea806e05ffe6f5c61b9b4d363e1a03a8fea47c510d493c6cf926cdeeba9f7074fa97b61940c350245e7 languageName: node linkType: hard @@ -3061,44 +3153,40 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:8.16.0": - version: 8.16.0 - resolution: "@typescript-eslint/eslint-plugin@npm:8.16.0" +"@typescript-eslint/eslint-plugin@npm:8.19.1": + version: 8.19.1 + resolution: "@typescript-eslint/eslint-plugin@npm:8.19.1" dependencies: "@eslint-community/regexpp": ^4.10.0 - "@typescript-eslint/scope-manager": 8.16.0 - "@typescript-eslint/type-utils": 8.16.0 - "@typescript-eslint/utils": 8.16.0 - "@typescript-eslint/visitor-keys": 8.16.0 + "@typescript-eslint/scope-manager": 8.19.1 + "@typescript-eslint/type-utils": 8.19.1 + "@typescript-eslint/utils": 8.19.1 + "@typescript-eslint/visitor-keys": 8.19.1 graphemer: ^1.4.0 ignore: ^5.3.1 natural-compare: ^1.4.0 - ts-api-utils: ^1.3.0 + ts-api-utils: ^2.0.0 peerDependencies: "@typescript-eslint/parser": ^8.0.0 || ^8.0.0-alpha.0 eslint: ^8.57.0 || ^9.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: dbb0127eca578a876654b820ea270ef4f2c374447d5c214a8677cc1ccf1ba1b87d9b021cb7586d7e33c4feb9b7b40de1b5ad109f385713cac4627d6ec29bd96b + typescript: ">=4.8.4 <5.8.0" + checksum: 07774aeb373882c9177b0da061dde12f08202107696d9947f11819f3e4b6223f922d944f1c8967438685041a9b0a5a61cfed1d246bb168b8a31c8ec1792c2405 languageName: node linkType: hard -"@typescript-eslint/parser@npm:8.16.0": - version: 8.16.0 - resolution: "@typescript-eslint/parser@npm:8.16.0" +"@typescript-eslint/parser@npm:8.19.1": + version: 8.19.1 + resolution: "@typescript-eslint/parser@npm:8.19.1" dependencies: - "@typescript-eslint/scope-manager": 8.16.0 - "@typescript-eslint/types": 8.16.0 - "@typescript-eslint/typescript-estree": 8.16.0 - "@typescript-eslint/visitor-keys": 8.16.0 + "@typescript-eslint/scope-manager": 8.19.1 + "@typescript-eslint/types": 8.19.1 + "@typescript-eslint/typescript-estree": 8.19.1 + "@typescript-eslint/visitor-keys": 8.19.1 debug: ^4.3.4 peerDependencies: eslint: ^8.57.0 || ^9.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 10a390b59556d8ace1fb9edeb51c77b86322dd7211fbfa61e993326d85f082b6b173bffcf7a506165cea03fd2ba053c83fcec41687538ed247452158529c4344 + typescript: ">=4.8.4 <5.8.0" + checksum: a321f03ecdf1b80da6b574cf15225d77b7d15835b8ebfdbfc98b3d8aa881c0ce23b7050c35f03aa0528db8a00ccca69391eeba4f7a10ed579b29e77c7bf3c368 languageName: node linkType: hard @@ -3112,40 +3200,28 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:8.16.0": - version: 8.16.0 - resolution: "@typescript-eslint/scope-manager@npm:8.16.0" +"@typescript-eslint/scope-manager@npm:8.19.1, @typescript-eslint/scope-manager@npm:^8.15.0": + version: 8.19.1 + resolution: "@typescript-eslint/scope-manager@npm:8.19.1" dependencies: - "@typescript-eslint/types": 8.16.0 - "@typescript-eslint/visitor-keys": 8.16.0 - checksum: 12427e2a95a8b0cb49259be1a8a9a23f734fd0dbabbc5cebf1ba56b48812e2ca7ba32b71ededf24efa1a9da07a13b20ced004e2eea6f4b8c07003438f664ce30 + "@typescript-eslint/types": 8.19.1 + "@typescript-eslint/visitor-keys": 8.19.1 + checksum: 972ee3bc3339f549e206f01b3db30b71d99090b4d581ff1b73ce833d95e4e2f6520f7f227174c53393a2646980068463daaaeb945e417458cf6f37d60e31c173 languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:8.17.0, @typescript-eslint/scope-manager@npm:^8.15.0": - version: 8.17.0 - resolution: "@typescript-eslint/scope-manager@npm:8.17.0" +"@typescript-eslint/type-utils@npm:8.19.1": + version: 8.19.1 + resolution: "@typescript-eslint/type-utils@npm:8.19.1" dependencies: - "@typescript-eslint/types": 8.17.0 - "@typescript-eslint/visitor-keys": 8.17.0 - checksum: c5f628e5b4793181a219fc8be4dc2653b2a2a158c4add645b3ba063b9618f5892e5bbf6726c9e674731e698a3df4f2ddb671494482e0f59b6625c43810f78eeb - languageName: node - linkType: hard - -"@typescript-eslint/type-utils@npm:8.16.0": - version: 8.16.0 - resolution: "@typescript-eslint/type-utils@npm:8.16.0" - dependencies: - "@typescript-eslint/typescript-estree": 8.16.0 - "@typescript-eslint/utils": 8.16.0 + "@typescript-eslint/typescript-estree": 8.19.1 + "@typescript-eslint/utils": 8.19.1 debug: ^4.3.4 - ts-api-utils: ^1.3.0 + ts-api-utils: ^2.0.0 peerDependencies: eslint: ^8.57.0 || ^9.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: ea3654ff6ae6181911ad6784a7addab9be6b3ce221e6367480061bc8abe8b7ce9f23249f2257f1c5b205e3ea498d5050016596732c66d51ad599dd50aa2c9e16 + typescript: ">=4.8.4 <5.8.0" + checksum: 9345ba9f2399adc9b45a8b41e68749be4485cfd4e24558c42eb2a12199610370473307bc823e6715e4d1f136cd3f9a0a61a05a27bc4ce664468eab7f76efb549 languageName: node linkType: hard @@ -3156,17 +3232,10 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:8.16.0": - version: 8.16.0 - resolution: "@typescript-eslint/types@npm:8.16.0" - checksum: 1ed10343dc65c7fd493cfe789639f547f4c730e6e04472007fa92a00ff1fb77b31fc8016a350a10e553d38b12485f78c331d91c071dc08f69476076f5bbef5cd - languageName: node - linkType: hard - -"@typescript-eslint/types@npm:8.17.0": - version: 8.17.0 - resolution: "@typescript-eslint/types@npm:8.17.0" - checksum: 5f6933903ce4af536f180c9e326c18da715f6f400e6bc5b89828dcb5779ae5693bf95c59d253e105c9efe6ffd2046d0db868bcfb1c5288c5e194bae4ebaa9976 +"@typescript-eslint/types@npm:8.19.1": + version: 8.19.1 + resolution: "@typescript-eslint/types@npm:8.19.1" + checksum: 76756b9c5496e1463255aa3c881eaec51a6fe718894b91f49929e9e7e258111d86a9c38a9c76b5ada29293a4cb60b96cffac82a203ec47053aa138f298ffab67 languageName: node linkType: hard @@ -3189,58 +3258,36 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:8.16.0": - version: 8.16.0 - resolution: "@typescript-eslint/typescript-estree@npm:8.16.0" +"@typescript-eslint/typescript-estree@npm:8.19.1": + version: 8.19.1 + resolution: "@typescript-eslint/typescript-estree@npm:8.19.1" dependencies: - "@typescript-eslint/types": 8.16.0 - "@typescript-eslint/visitor-keys": 8.16.0 + "@typescript-eslint/types": 8.19.1 + "@typescript-eslint/visitor-keys": 8.19.1 debug: ^4.3.4 fast-glob: ^3.3.2 is-glob: ^4.0.3 minimatch: ^9.0.4 semver: ^7.6.0 - ts-api-utils: ^1.3.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 047ae08a7774e4be4307409970d7b8b27d46d10e302ed236199b1b7648242d2aa10b7d1dbeae1fed0f55f683c863f9d399e50108c215e35370fb6a3851bda427 - languageName: node - linkType: hard - -"@typescript-eslint/typescript-estree@npm:8.17.0": - version: 8.17.0 - resolution: "@typescript-eslint/typescript-estree@npm:8.17.0" - dependencies: - "@typescript-eslint/types": 8.17.0 - "@typescript-eslint/visitor-keys": 8.17.0 - debug: ^4.3.4 - fast-glob: ^3.3.2 - is-glob: ^4.0.3 - minimatch: ^9.0.4 - semver: ^7.6.0 - ts-api-utils: ^1.3.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 35d3dca3cde7a1f3a7a1e4e5a25a69b6151338cd329dceeb52880e6f05048d10c9ac472a07e558fdfb7acc10dd60cd106284e834cfe40ced3d2c4527e8727335 + ts-api-utils: ^2.0.0 + peerDependencies: + typescript: ">=4.8.4 <5.8.0" + checksum: 982ac1735d076c595c3b6bfb4c2d02a41bb3cc27d8d05bdac9a08e9f007be3f151ded0f7e691de00b2aa86458e1cd5ef49cf1c19dd38d24269b1f107db2a700b languageName: node linkType: hard -"@typescript-eslint/utils@npm:8.16.0, @typescript-eslint/utils@npm:^8.8.1": - version: 8.16.0 - resolution: "@typescript-eslint/utils@npm:8.16.0" +"@typescript-eslint/utils@npm:8.19.1, @typescript-eslint/utils@npm:^8.15.0, @typescript-eslint/utils@npm:^8.8.1": + version: 8.19.1 + resolution: "@typescript-eslint/utils@npm:8.19.1" dependencies: "@eslint-community/eslint-utils": ^4.4.0 - "@typescript-eslint/scope-manager": 8.16.0 - "@typescript-eslint/types": 8.16.0 - "@typescript-eslint/typescript-estree": 8.16.0 + "@typescript-eslint/scope-manager": 8.19.1 + "@typescript-eslint/types": 8.19.1 + "@typescript-eslint/typescript-estree": 8.19.1 peerDependencies: eslint: ^8.57.0 || ^9.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 5e3c4b4d453bee6c38715f851d517ad3bbdb9335de5c2ef487e350eea97ae8b2e996046a1d8f3a93109e06a569d1e161b4ef8d33c530766931e4dbc43cb26ed7 + typescript: ">=4.8.4 <5.8.0" + checksum: 745c24b9538c2c4e41cda0cfe73b78d1a8aaec3958ece128cf086f1e8d09f3f53b3299610570ae5a921300c05e43d181eda099acfb3218fadf3b310bf49b290e languageName: node linkType: hard @@ -3258,23 +3305,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:^8.15.0": - version: 8.17.0 - resolution: "@typescript-eslint/utils@npm:8.17.0" - dependencies: - "@eslint-community/eslint-utils": ^4.4.0 - "@typescript-eslint/scope-manager": 8.17.0 - "@typescript-eslint/types": 8.17.0 - "@typescript-eslint/typescript-estree": 8.17.0 - peerDependencies: - eslint: ^8.57.0 || ^9.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 67d8e390eb661e96b7782e6a900f7eb5825baae0b09e89e67159a576b157db4fd83f78887bbbb1778cd4097e0022f3ea2a9be12aab215320d47f13c03e1558d7 - languageName: node - linkType: hard - "@typescript-eslint/visitor-keys@npm:7.18.0": version: 7.18.0 resolution: "@typescript-eslint/visitor-keys@npm:7.18.0" @@ -3285,23 +3315,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:8.16.0": - version: 8.16.0 - resolution: "@typescript-eslint/visitor-keys@npm:8.16.0" +"@typescript-eslint/visitor-keys@npm:8.19.1": + version: 8.19.1 + resolution: "@typescript-eslint/visitor-keys@npm:8.19.1" dependencies: - "@typescript-eslint/types": 8.16.0 + "@typescript-eslint/types": 8.19.1 eslint-visitor-keys: ^4.2.0 - checksum: e7444d3d57b4fcdebfa0d7effcdff9c928d77b6a6765da6980f0dbeb6438af707bd4c2c21e24e7ae1638f9c4a5697168f94027fff94ad663da57fa5f44f0983d - languageName: node - linkType: hard - -"@typescript-eslint/visitor-keys@npm:8.17.0": - version: 8.17.0 - resolution: "@typescript-eslint/visitor-keys@npm:8.17.0" - dependencies: - "@typescript-eslint/types": 8.17.0 - eslint-visitor-keys: ^4.2.0 - checksum: f92f659ec88a1ce34f5003722a133ced1ebf9b3dfc1c0ff18caa5362d4722307edb42fa606ebf80aada8525abe78b24143ef93864d38a1e359605096f1fe2f00 + checksum: dc68a7e46cd73579c81ec5594315a8564fcc74984b3d399331e66abd48db956acfa24d445660f133609d7a969a88819ca73ded493f109f42ba659958df52be7e languageName: node linkType: hard @@ -3554,7 +3574,7 @@ __metadata: languageName: node linkType: hard -"agent-base@npm:^7.0.2, agent-base@npm:^7.1.0": +"agent-base@npm:^7.1.0": version: 7.1.0 resolution: "agent-base@npm:7.1.0" dependencies: @@ -3563,6 +3583,13 @@ __metadata: languageName: node linkType: hard +"agent-base@npm:^7.1.2": + version: 7.1.3 + resolution: "agent-base@npm:7.1.3" + checksum: 87bb7ee54f5ecf0ccbfcba0b07473885c43ecd76cb29a8db17d6137a19d9f9cd443a2a7c5fd8a3f24d58ad8145f9eb49116344a66b107e1aeab82cf2383f4753 + languageName: node + linkType: hard + "agentkeepalive@npm:^4.2.1": version: 4.4.0 resolution: "agentkeepalive@npm:4.4.0" @@ -3733,13 +3760,13 @@ __metadata: languageName: node linkType: hard -"array-buffer-byte-length@npm:^1.0.1": - version: 1.0.1 - resolution: "array-buffer-byte-length@npm:1.0.1" +"array-buffer-byte-length@npm:^1.0.1, array-buffer-byte-length@npm:^1.0.2": + version: 1.0.2 + resolution: "array-buffer-byte-length@npm:1.0.2" dependencies: - call-bind: ^1.0.5 - is-array-buffer: ^3.0.4 - checksum: 53524e08f40867f6a9f35318fafe467c32e45e9c682ba67b11943e167344d2febc0f6977a17e699b05699e805c3e8f073d876f8bbf1b559ed494ad2cd0fae09e + call-bound: ^1.0.3 + is-array-buffer: ^3.0.5 + checksum: 0ae3786195c3211b423e5be8dd93357870e6fb66357d81da968c2c39ef43583ef6eece1f9cb1caccdae4806739c65dea832b44b8593414313cd76a89795fca63 languageName: node linkType: hard @@ -3804,15 +3831,15 @@ __metadata: languageName: node linkType: hard -"array.prototype.flatmap@npm:^1.3.2": - version: 1.3.2 - resolution: "array.prototype.flatmap@npm:1.3.2" +"array.prototype.flatmap@npm:^1.3.2, array.prototype.flatmap@npm:^1.3.3": + version: 1.3.3 + resolution: "array.prototype.flatmap@npm:1.3.3" dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - es-shim-unscopables: ^1.0.0 - checksum: ce09fe21dc0bcd4f30271f8144083aa8c13d4639074d6c8dc82054b847c7fc9a0c97f857491f4da19d4003e507172a78f4bcd12903098adac8b9cd374f734be3 + call-bind: ^1.0.8 + define-properties: ^1.2.1 + es-abstract: ^1.23.5 + es-shim-unscopables: ^1.0.2 + checksum: 11b4de09b1cf008be6031bb507d997ad6f1892e57dc9153583de6ebca0f74ea403fffe0f203461d359de05048d609f3f480d9b46fed4099652d8b62cc972f284 languageName: node linkType: hard @@ -3829,19 +3856,18 @@ __metadata: languageName: node linkType: hard -"arraybuffer.prototype.slice@npm:^1.0.3": - version: 1.0.3 - resolution: "arraybuffer.prototype.slice@npm:1.0.3" +"arraybuffer.prototype.slice@npm:^1.0.4": + version: 1.0.4 + resolution: "arraybuffer.prototype.slice@npm:1.0.4" dependencies: array-buffer-byte-length: ^1.0.1 - call-bind: ^1.0.5 + call-bind: ^1.0.8 define-properties: ^1.2.1 - es-abstract: ^1.22.3 - es-errors: ^1.2.1 - get-intrinsic: ^1.2.3 + es-abstract: ^1.23.5 + es-errors: ^1.3.0 + get-intrinsic: ^1.2.6 is-array-buffer: ^3.0.4 - is-shared-array-buffer: ^1.0.2 - checksum: 352259cba534dcdd969c92ab002efd2ba5025b2e3b9bead3973150edbdf0696c629d7f4b3f061c5931511e8207bdc2306da614703c820b45dabce39e3daf7e3e + checksum: b1d1fd20be4e972a3779b1569226f6740170dca10f07aa4421d42cefeec61391e79c557cda8e771f5baefe47d878178cd4438f60916ce831813c08132bced765 languageName: node linkType: hard @@ -3945,14 +3971,14 @@ __metadata: languageName: node linkType: hard -"axios@npm:^1.7.8": - version: 1.7.8 - resolution: "axios@npm:1.7.8" +"axios@npm:^1.7.9": + version: 1.7.9 + resolution: "axios@npm:1.7.9" dependencies: follow-redirects: ^1.15.6 form-data: ^4.0.0 proxy-from-env: ^1.1.0 - checksum: 3d21652faf8e29fb36c47517d2872bb5e2285127a24f5c53ce23082c4eac7f5a88de84dd49d4a1a83068e5301dcfd9067b41e5fbd00b0d20ab7b0a843559273d + checksum: cb8ce291818effda09240cb60f114d5625909b345e10f389a945320e06acf0bc949d0f8422d25720f5dd421362abee302c99f5e97edec4c156c8939814b23d19 languageName: node linkType: hard @@ -4059,22 +4085,22 @@ __metadata: linkType: hard "browserslist@npm:^4.23.3, browserslist@npm:^4.24.0": - version: 4.24.2 - resolution: "browserslist@npm:4.24.2" + version: 4.24.3 + resolution: "browserslist@npm:4.24.3" dependencies: - caniuse-lite: ^1.0.30001669 - electron-to-chromium: ^1.5.41 - node-releases: ^2.0.18 + caniuse-lite: ^1.0.30001688 + electron-to-chromium: ^1.5.73 + node-releases: ^2.0.19 update-browserslist-db: ^1.1.1 bin: browserslist: cli.js - checksum: cf64085f12132d38638f38937a255edb82c7551b164a98577b055dd79719187a816112f7b97b9739e400c4954cd66479c0d7a843cb816e346f4795dc24fd5d97 + checksum: 016efc9953350e3a7212edcfdd72210cb33b339c1a974a77c0715eb67d23d7e5cd0a073ce1c801ab09235d8c213425ca51b92d41bbb829b833872b45f885fe7c languageName: node linkType: hard -"browserslist@npm:^4.24.3": - version: 4.24.3 - resolution: "browserslist@npm:4.24.3" +"browserslist@npm:^4.24.4": + version: 4.24.4 + resolution: "browserslist@npm:4.24.4" dependencies: caniuse-lite: ^1.0.30001688 electron-to-chromium: ^1.5.73 @@ -4082,7 +4108,7 @@ __metadata: update-browserslist-db: ^1.1.1 bin: browserslist: cli.js - checksum: 016efc9953350e3a7212edcfdd72210cb33b339c1a974a77c0715eb67d23d7e5cd0a073ce1c801ab09235d8c213425ca51b92d41bbb829b833872b45f885fe7c + checksum: 64074bf6cf0a9ae3094d753270e3eae9cf925149db45d646f0bc67bacc2e46d7ded64a4e835b95f5fdcf0350f63a83c3755b32f80831f643a47f0886deb8a065 languageName: node linkType: hard @@ -4122,16 +4148,35 @@ __metadata: languageName: node linkType: hard -"call-bind@npm:^1.0.2, call-bind@npm:^1.0.5, call-bind@npm:^1.0.6, call-bind@npm:^1.0.7": - version: 1.0.7 - resolution: "call-bind@npm:1.0.7" +"call-bind-apply-helpers@npm:^1.0.0, call-bind-apply-helpers@npm:^1.0.1": + version: 1.0.1 + resolution: "call-bind-apply-helpers@npm:1.0.1" dependencies: - es-define-property: ^1.0.0 es-errors: ^1.3.0 function-bind: ^1.1.2 + checksum: 3c55343261bb387c58a4762d15ad9d42053659a62681ec5eb50690c6b52a4a666302a01d557133ce6533e8bd04530ee3b209f23dd06c9577a1925556f8fcccdf + languageName: node + linkType: hard + +"call-bind@npm:^1.0.2, call-bind@npm:^1.0.7, call-bind@npm:^1.0.8": + version: 1.0.8 + resolution: "call-bind@npm:1.0.8" + dependencies: + call-bind-apply-helpers: ^1.0.0 + es-define-property: ^1.0.0 get-intrinsic: ^1.2.4 - set-function-length: ^1.2.1 - checksum: 295c0c62b90dd6522e6db3b0ab1ce26bdf9e7404215bda13cfee25b626b5ff1a7761324d58d38b1ef1607fc65aca2d06e44d2e18d0dfc6c14b465b00d8660029 + set-function-length: ^1.2.2 + checksum: aa2899bce917a5392fd73bd32e71799c37c0b7ab454e0ed13af7f6727549091182aade8bbb7b55f304a5bc436d543241c14090fb8a3137e9875e23f444f4f5a9 + languageName: node + linkType: hard + +"call-bound@npm:^1.0.2, call-bound@npm:^1.0.3": + version: 1.0.3 + resolution: "call-bound@npm:1.0.3" + dependencies: + call-bind-apply-helpers: ^1.0.1 + get-intrinsic: ^1.2.6 + checksum: a93bbe0f2d0a2d6c144a4349ccd0593d5d0d5d9309b69101710644af8964286420062f2cc3114dca120b9bc8cc07507952d4b1b3ea7672e0d7f6f1675efedb32 languageName: node linkType: hard @@ -4156,14 +4201,7 @@ __metadata: languageName: node linkType: hard -"caniuse-lite@npm:^1.0.30001646, caniuse-lite@npm:^1.0.30001669": - version: 1.0.30001669 - resolution: "caniuse-lite@npm:1.0.30001669" - checksum: 8ed0c69d0c6aa3b1cbc5ba4e5f5330943e7b7165e257f6955b8b73f043d07ad922265261f2b54d9bbaf02886bbdba5e6f5b16662310a13f91f17035af3212de1 - languageName: node - linkType: hard - -"caniuse-lite@npm:^1.0.30001688": +"caniuse-lite@npm:^1.0.30001646, caniuse-lite@npm:^1.0.30001688": version: 1.0.30001688 resolution: "caniuse-lite@npm:1.0.30001688" checksum: b48109e337f924a969ad3505d81cde32624b598f3ff67047dbd69a9bed59672cea37b6095c3a876174511447be5e356d87acac6c859d941572e57c220978e241 @@ -4221,10 +4259,10 @@ __metadata: languageName: node linkType: hard -"chalk@npm:~5.3.0": - version: 5.3.0 - resolution: "chalk@npm:5.3.0" - checksum: 623922e077b7d1e9dedaea6f8b9e9352921f8ae3afe739132e0e00c275971bdd331268183b2628cf4ab1727c45ea1f28d7e24ac23ce1db1eb653c414ca8a5a80 +"chalk@npm:~5.4.1": + version: 5.4.1 + resolution: "chalk@npm:5.4.1" + checksum: 0c656f30b782fed4d99198825c0860158901f449a6b12b818b0aabad27ec970389e7e8767d0e00762175b23620c812e70c4fd92c0210e55fc2d993638b74e86e languageName: node linkType: hard @@ -4298,9 +4336,9 @@ __metadata: languageName: node linkType: hard -"chromatic@npm:^11.20.2": - version: 11.20.2 - resolution: "chromatic@npm:11.20.2" +"chromatic@npm:^11.22.2": + version: 11.22.2 + resolution: "chromatic@npm:11.22.2" peerDependencies: "@chromatic-com/cypress": ^0.*.* || ^1.0.0 "@chromatic-com/playwright": ^0.*.* || ^1.0.0 @@ -4313,7 +4351,7 @@ __metadata: chroma: dist/bin.js chromatic: dist/bin.js chromatic-cli: dist/bin.js - checksum: fb1732aa78b42ee18934a40b53c7e09a701f3a6a75cb4323a1c449a5488178da0774e7063a281349d09cfa1cf57e275c9363e3d58af850cd93f1388caf9461ad + checksum: fd8249f0d172fd148cdbddf66a0bd86c6c7a460c8fbbefa6a9b1698e2440360817d2d7a6d5bef8d1e17e120ffd28d479a9aafb76fb87b0cce7e6e6e20e1c297f languageName: node linkType: hard @@ -4407,10 +4445,10 @@ __metadata: languageName: node linkType: hard -"clsx@npm:^2.1.0": - version: 2.1.0 - resolution: "clsx@npm:2.1.0" - checksum: 43fefc29b6b49c9476fbce4f8b1cc75c27b67747738e598e6651dd40d63692135dc60b18fa1c5b78a2a9ba8ae6fd2055a068924b94e20b42039bd53b78b98e1d +"clsx@npm:^2.1.1": + version: 2.1.1 + resolution: "clsx@npm:2.1.1" + checksum: acd3e1ab9d8a433ecb3cc2f6a05ab95fe50b4a3cfc5ba47abb6cbf3754585fcb87b84e90c822a1f256c4198e3b41c7f6c391577ffc8678ad587fc0976b24fd57 languageName: node linkType: hard @@ -4589,15 +4627,15 @@ __metadata: linkType: hard "cross-spawn@npm:^6.0.5": - version: 6.0.5 - resolution: "cross-spawn@npm:6.0.5" + version: 6.0.6 + resolution: "cross-spawn@npm:6.0.6" dependencies: nice-try: ^1.0.4 path-key: ^2.0.1 semver: ^5.5.0 shebang-command: ^1.2.0 which: ^1.2.9 - checksum: f893bb0d96cd3d5751d04e67145bdddf25f99449531a72e82dcbbd42796bbc8268c1076c6b3ea51d4d455839902804b94bc45dfb37ecbb32ea8e54a6741c3ab9 + checksum: a6e2e5b04a0e0f806c1df45f92cd079b65f95fbe5a7650ee1ab60318c33a6c156a8a2f8b6898f57764f7363ec599a0625e9855dfa78d52d2d73dbd32eb11c25e languageName: node linkType: hard @@ -4637,12 +4675,13 @@ __metadata: languageName: node linkType: hard -"cssstyle@npm:^4.1.0": - version: 4.1.0 - resolution: "cssstyle@npm:4.1.0" +"cssstyle@npm:^4.2.1": + version: 4.2.1 + resolution: "cssstyle@npm:4.2.1" dependencies: - rrweb-cssom: ^0.7.1 - checksum: a8f5746430c42347e76dc830548f3a296882e42a90af188ae44e4c1a4131aec246b0b6c8562e3e6e4fa0ff14aeee5cd14a0e2fe5a7105dcf39f98eb70d16b634 + "@asamuzakjp/css-color": ^2.8.2 + rrweb-cssom: ^0.8.0 + checksum: 415a501e94e15244f906dfd5913a5775997406709115a39a5b11ca9e79df0de4c8c3efe39e893a2cbf96f8bf21b996ba1d7bc54f6d139293477ecf29e15dcf50 languageName: node linkType: hard @@ -4670,36 +4709,36 @@ __metadata: languageName: node linkType: hard -"data-view-buffer@npm:^1.0.1": - version: 1.0.1 - resolution: "data-view-buffer@npm:1.0.1" +"data-view-buffer@npm:^1.0.2": + version: 1.0.2 + resolution: "data-view-buffer@npm:1.0.2" dependencies: - call-bind: ^1.0.6 + call-bound: ^1.0.3 es-errors: ^1.3.0 - is-data-view: ^1.0.1 - checksum: ce24348f3c6231223b216da92e7e6a57a12b4af81a23f27eff8feabdf06acfb16c00639c8b705ca4d167f761cfc756e27e5f065d0a1f840c10b907fdaf8b988c + is-data-view: ^1.0.2 + checksum: 1e1cd509c3037ac0f8ba320da3d1f8bf1a9f09b0be09394b5e40781b8cc15ff9834967ba7c9f843a425b34f9fe14ce44cf055af6662c44263424c1eb8d65659b languageName: node linkType: hard -"data-view-byte-length@npm:^1.0.1": - version: 1.0.1 - resolution: "data-view-byte-length@npm:1.0.1" +"data-view-byte-length@npm:^1.0.2": + version: 1.0.2 + resolution: "data-view-byte-length@npm:1.0.2" dependencies: - call-bind: ^1.0.7 + call-bound: ^1.0.3 es-errors: ^1.3.0 - is-data-view: ^1.0.1 - checksum: dbb3200edcb7c1ef0d68979834f81d64fd8cab2f7691b3a4c6b97e67f22182f3ec2c8602efd7b76997b55af6ff8bce485829c1feda4fa2165a6b71fb7baa4269 + is-data-view: ^1.0.2 + checksum: 3600c91ced1cfa935f19ef2abae11029e01738de8d229354d3b2a172bf0d7e4ed08ff8f53294b715569fdf72dfeaa96aa7652f479c0f60570878d88e7e8bddf6 languageName: node linkType: hard -"data-view-byte-offset@npm:^1.0.0": - version: 1.0.0 - resolution: "data-view-byte-offset@npm:1.0.0" +"data-view-byte-offset@npm:^1.0.1": + version: 1.0.1 + resolution: "data-view-byte-offset@npm:1.0.1" dependencies: - call-bind: ^1.0.6 + call-bound: ^1.0.2 es-errors: ^1.3.0 is-data-view: ^1.0.1 - checksum: 7f0bf8720b7414ca719eedf1846aeec392f2054d7af707c5dc9a753cc77eb8625f067fa901e0b5127e831f9da9056138d894b9c2be79c27a21f6db5824f009c2 + checksum: 8dd492cd51d19970876626b5b5169fbb67ca31ec1d1d3238ee6a71820ca8b80cafb141c485999db1ee1ef02f2cc3b99424c5eda8d59e852d9ebb79ab290eb5ee languageName: node linkType: hard @@ -4719,15 +4758,15 @@ __metadata: languageName: node linkType: hard -"debug@npm:4, debug@npm:^4.0.0, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.3, debug@npm:^4.3.4, debug@npm:^4.3.5, debug@npm:^4.3.7": - version: 4.3.7 - resolution: "debug@npm:4.3.7" +"debug@npm:4, debug@npm:^4.0.0, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.3, debug@npm:^4.3.4, debug@npm:^4.3.7, debug@npm:~4.4.0": + version: 4.4.0 + resolution: "debug@npm:4.4.0" dependencies: ms: ^2.1.3 peerDependenciesMeta: supports-color: optional: true - checksum: 822d74e209cd910ef0802d261b150314bbcf36c582ccdbb3e70f0894823c17e49a50d3e66d96b633524263975ca16b6a833f3e3b7e030c157169a5fabac63160 + checksum: fb42df878dd0e22816fc56e1fdca9da73caa85212fbe40c868b1295a6878f9101ae684f4eeef516c13acfc700f5ea07f1136954f43d4cd2d477a811144136479 languageName: node linkType: hard @@ -4740,18 +4779,6 @@ __metadata: languageName: node linkType: hard -"debug@npm:~4.4.0": - version: 4.4.0 - resolution: "debug@npm:4.4.0" - dependencies: - ms: ^2.1.3 - peerDependenciesMeta: - supports-color: - optional: true - checksum: fb42df878dd0e22816fc56e1fdca9da73caa85212fbe40c868b1295a6878f9101ae684f4eeef516c13acfc700f5ea07f1136954f43d4cd2d477a811144136479 - languageName: node - linkType: hard - "decimal.js@npm:^10.4.3": version: 10.4.3 resolution: "decimal.js@npm:10.4.3" @@ -4980,19 +5007,7 @@ __metadata: languageName: node linkType: hard -"dompurify@npm:*": - version: 3.2.2 - resolution: "dompurify@npm:3.2.2" - dependencies: - "@types/trusted-types": ^2.0.7 - dependenciesMeta: - "@types/trusted-types": - optional: true - checksum: e4831baa447cc7ed4350ede29f7ec4d2614a59287b6916f3691d287dd4a1c45eb3ce9cb26058edf37b3f2648bbf0a3ca5fb3b74c2f78bdcf6ebb7716c2f14252 - languageName: node - linkType: hard - -"dompurify@npm:^3.2.3": +"dompurify@npm:*, dompurify@npm:^3.2.3": version: 3.2.3 resolution: "dompurify@npm:3.2.3" dependencies: @@ -5041,6 +5056,17 @@ __metadata: languageName: node linkType: hard +"dunder-proto@npm:^1.0.0, dunder-proto@npm:^1.0.1": + version: 1.0.1 + resolution: "dunder-proto@npm:1.0.1" + dependencies: + call-bind-apply-helpers: ^1.0.1 + es-errors: ^1.3.0 + gopd: ^1.2.0 + checksum: 149207e36f07bd4941921b0ca929e3a28f1da7bd6b6ff8ff7f4e2f2e460675af4576eeba359c635723dc189b64cdd4787e0255897d5b135ccc5d15cb8685fc90 + languageName: node + linkType: hard + "eastasianwidth@npm:^0.2.0": version: 0.2.0 resolution: "eastasianwidth@npm:0.2.0" @@ -5061,13 +5087,6 @@ __metadata: languageName: node linkType: hard -"electron-to-chromium@npm:^1.5.41": - version: 1.5.42 - resolution: "electron-to-chromium@npm:1.5.42" - checksum: 8527f6e050b7f869d0135869587b3273fefa1cc2cbb9799bff552e10586b61860139758ee9824c803cdce632e24d4897bb7f67dcecf1c2bef279977fdfa9afa1 - languageName: node - linkType: hard - "electron-to-chromium@npm:^1.5.73": version: 1.5.73 resolution: "electron-to-chromium@npm:1.5.73" @@ -5122,7 +5141,7 @@ __metadata: languageName: node linkType: hard -"entities@npm:^4.2.0, entities@npm:^4.4.0": +"entities@npm:^4.2.0, entities@npm:^4.4.0, entities@npm:^4.5.0": version: 4.5.0 resolution: "entities@npm:4.5.0" checksum: 853f8ebd5b425d350bffa97dd6958143179a5938352ccae092c62d1267c4e392a039be1bae7d51b6e4ffad25f51f9617531fedf5237f15df302ccfb452cbf2d7 @@ -5159,70 +5178,69 @@ __metadata: languageName: node linkType: hard -"es-abstract@npm:^1.17.5, es-abstract@npm:^1.19.1, es-abstract@npm:^1.22.1, es-abstract@npm:^1.22.3, es-abstract@npm:^1.23.0, es-abstract@npm:^1.23.2, es-abstract@npm:^1.23.3": - version: 1.23.3 - resolution: "es-abstract@npm:1.23.3" +"es-abstract@npm:^1.17.5, es-abstract@npm:^1.19.1, es-abstract@npm:^1.22.1, es-abstract@npm:^1.23.2, es-abstract@npm:^1.23.3, es-abstract@npm:^1.23.5, es-abstract@npm:^1.23.6": + version: 1.23.7 + resolution: "es-abstract@npm:1.23.7" dependencies: - array-buffer-byte-length: ^1.0.1 - arraybuffer.prototype.slice: ^1.0.3 + array-buffer-byte-length: ^1.0.2 + arraybuffer.prototype.slice: ^1.0.4 available-typed-arrays: ^1.0.7 - call-bind: ^1.0.7 - data-view-buffer: ^1.0.1 - data-view-byte-length: ^1.0.1 - data-view-byte-offset: ^1.0.0 - es-define-property: ^1.0.0 + call-bind: ^1.0.8 + call-bound: ^1.0.3 + data-view-buffer: ^1.0.2 + data-view-byte-length: ^1.0.2 + data-view-byte-offset: ^1.0.1 + es-define-property: ^1.0.1 es-errors: ^1.3.0 es-object-atoms: ^1.0.0 es-set-tostringtag: ^2.0.3 - es-to-primitive: ^1.2.1 - function.prototype.name: ^1.1.6 - get-intrinsic: ^1.2.4 - get-symbol-description: ^1.0.2 - globalthis: ^1.0.3 - gopd: ^1.0.1 + es-to-primitive: ^1.3.0 + function.prototype.name: ^1.1.8 + get-intrinsic: ^1.2.6 + get-symbol-description: ^1.1.0 + globalthis: ^1.0.4 + gopd: ^1.2.0 has-property-descriptors: ^1.0.2 - has-proto: ^1.0.3 - has-symbols: ^1.0.3 + has-proto: ^1.2.0 + has-symbols: ^1.1.0 hasown: ^2.0.2 - internal-slot: ^1.0.7 - is-array-buffer: ^3.0.4 + internal-slot: ^1.1.0 + is-array-buffer: ^3.0.5 is-callable: ^1.2.7 - is-data-view: ^1.0.1 - is-negative-zero: ^2.0.3 - is-regex: ^1.1.4 - is-shared-array-buffer: ^1.0.3 - is-string: ^1.0.7 - is-typed-array: ^1.1.13 - is-weakref: ^1.0.2 - object-inspect: ^1.13.1 + is-data-view: ^1.0.2 + is-regex: ^1.2.1 + is-shared-array-buffer: ^1.0.4 + is-string: ^1.1.1 + is-typed-array: ^1.1.15 + is-weakref: ^1.1.0 + math-intrinsics: ^1.1.0 + object-inspect: ^1.13.3 object-keys: ^1.1.1 - object.assign: ^4.1.5 - regexp.prototype.flags: ^1.5.2 - safe-array-concat: ^1.1.2 - safe-regex-test: ^1.0.3 - string.prototype.trim: ^1.2.9 - string.prototype.trimend: ^1.0.8 + object.assign: ^4.1.7 + regexp.prototype.flags: ^1.5.3 + safe-array-concat: ^1.1.3 + safe-regex-test: ^1.1.0 + string.prototype.trim: ^1.2.10 + string.prototype.trimend: ^1.0.9 string.prototype.trimstart: ^1.0.8 - typed-array-buffer: ^1.0.2 - typed-array-byte-length: ^1.0.1 - typed-array-byte-offset: ^1.0.2 - typed-array-length: ^1.0.6 - unbox-primitive: ^1.0.2 - which-typed-array: ^1.1.15 - checksum: f840cf161224252512f9527306b57117192696571e07920f777cb893454e32999206198b4f075516112af6459daca282826d1735c450528470356d09eff3a9ae + typed-array-buffer: ^1.0.3 + typed-array-byte-length: ^1.0.3 + typed-array-byte-offset: ^1.0.4 + typed-array-length: ^1.0.7 + unbox-primitive: ^1.1.0 + which-typed-array: ^1.1.18 + checksum: 030f09ff2d7db69cd6c6da5b1ccb88aee986e23cf82149135f78b5b9675f1cd79a0e64de2d7e393ae40b98de76369292d87bf31db69b5b9151370f7948ee7c59 languageName: node linkType: hard -"es-define-property@npm:^1.0.0": - version: 1.0.0 - resolution: "es-define-property@npm:1.0.0" - dependencies: - get-intrinsic: ^1.2.4 - checksum: f66ece0a887b6dca71848fa71f70461357c0e4e7249696f81bad0a1f347eed7b31262af4a29f5d726dc026426f085483b6b90301855e647aa8e21936f07293c6 +"es-define-property@npm:^1.0.0, es-define-property@npm:^1.0.1": + version: 1.0.1 + resolution: "es-define-property@npm:1.0.1" + checksum: 0512f4e5d564021c9e3a644437b0155af2679d10d80f21adaf868e64d30efdfbd321631956f20f42d655fedb2e3a027da479fad3fa6048f768eb453a80a5f80a languageName: node linkType: hard -"es-errors@npm:^1.2.1, es-errors@npm:^1.3.0": +"es-errors@npm:^1.3.0": version: 1.3.0 resolution: "es-errors@npm:1.3.0" checksum: ec1414527a0ccacd7f15f4a3bc66e215f04f595ba23ca75cdae0927af099b5ec865f9f4d33e9d7e86f512f252876ac77d4281a7871531a50678132429b1271b5 @@ -5246,25 +5264,27 @@ __metadata: languageName: node linkType: hard -"es-iterator-helpers@npm:^1.1.0": - version: 1.1.0 - resolution: "es-iterator-helpers@npm:1.1.0" +"es-iterator-helpers@npm:^1.2.1": + version: 1.2.1 + resolution: "es-iterator-helpers@npm:1.2.1" dependencies: - call-bind: ^1.0.7 + call-bind: ^1.0.8 + call-bound: ^1.0.3 define-properties: ^1.2.1 - es-abstract: ^1.23.3 + es-abstract: ^1.23.6 es-errors: ^1.3.0 es-set-tostringtag: ^2.0.3 function-bind: ^1.1.2 - get-intrinsic: ^1.2.4 + get-intrinsic: ^1.2.6 globalthis: ^1.0.4 + gopd: ^1.2.0 has-property-descriptors: ^1.0.2 - has-proto: ^1.0.3 - has-symbols: ^1.0.3 - internal-slot: ^1.0.7 - iterator.prototype: ^1.1.3 - safe-array-concat: ^1.1.2 - checksum: 4ba3a32ab7ba05b85f0ae30604feeb8ffd801fe762e9df9577bd220a96b9eaa2e90af8e6bdc498e523051f293955e2f7d2bddd34de71e1428a1b8ff3fd961016 + has-proto: ^1.2.0 + has-symbols: ^1.1.0 + internal-slot: ^1.1.0 + iterator.prototype: ^1.1.4 + safe-array-concat: ^1.1.3 + checksum: 952808dd1df3643d67ec7adf20c30b36e5eecadfbf36354e6f39ed3266c8e0acf3446ce9bc465e38723d613cb1d915c1c07c140df65bdce85da012a6e7bda62b languageName: node linkType: hard @@ -5304,14 +5324,14 @@ __metadata: languageName: node linkType: hard -"es-to-primitive@npm:^1.2.1": - version: 1.2.1 - resolution: "es-to-primitive@npm:1.2.1" +"es-to-primitive@npm:^1.3.0": + version: 1.3.0 + resolution: "es-to-primitive@npm:1.3.0" dependencies: - is-callable: ^1.1.4 - is-date-object: ^1.0.1 - is-symbol: ^1.0.2 - checksum: 4ead6671a2c1402619bdd77f3503991232ca15e17e46222b0a41a5d81aebc8740a77822f5b3c965008e631153e9ef0580540007744521e72de8e33599fca2eed + is-callable: ^1.2.7 + is-date-object: ^1.0.5 + is-symbol: ^1.0.4 + checksum: 966965880356486cd4d1fe9a523deda2084c81b3702d951212c098f5f2ee93605d1b7c1840062efb48a07d892641c7ed1bc194db563645c0dd2b919cb6d65b93 languageName: node linkType: hard @@ -5326,34 +5346,35 @@ __metadata: languageName: node linkType: hard -"esbuild@npm:^0.18.0 || ^0.19.0 || ^0.20.0 || ^0.21.0 || ^0.22.0 || ^0.23.0 || ^0.24.0, esbuild@npm:^0.24.0": - version: 0.24.0 - resolution: "esbuild@npm:0.24.0" - dependencies: - "@esbuild/aix-ppc64": 0.24.0 - "@esbuild/android-arm": 0.24.0 - "@esbuild/android-arm64": 0.24.0 - "@esbuild/android-x64": 0.24.0 - "@esbuild/darwin-arm64": 0.24.0 - "@esbuild/darwin-x64": 0.24.0 - "@esbuild/freebsd-arm64": 0.24.0 - "@esbuild/freebsd-x64": 0.24.0 - "@esbuild/linux-arm": 0.24.0 - "@esbuild/linux-arm64": 0.24.0 - "@esbuild/linux-ia32": 0.24.0 - "@esbuild/linux-loong64": 0.24.0 - "@esbuild/linux-mips64el": 0.24.0 - "@esbuild/linux-ppc64": 0.24.0 - "@esbuild/linux-riscv64": 0.24.0 - "@esbuild/linux-s390x": 0.24.0 - "@esbuild/linux-x64": 0.24.0 - "@esbuild/netbsd-x64": 0.24.0 - "@esbuild/openbsd-arm64": 0.24.0 - "@esbuild/openbsd-x64": 0.24.0 - "@esbuild/sunos-x64": 0.24.0 - "@esbuild/win32-arm64": 0.24.0 - "@esbuild/win32-ia32": 0.24.0 - "@esbuild/win32-x64": 0.24.0 +"esbuild@npm:^0.18.0 || ^0.19.0 || ^0.20.0 || ^0.21.0 || ^0.22.0 || ^0.23.0 || ^0.24.0, esbuild@npm:^0.24.2": + version: 0.24.2 + resolution: "esbuild@npm:0.24.2" + dependencies: + "@esbuild/aix-ppc64": 0.24.2 + "@esbuild/android-arm": 0.24.2 + "@esbuild/android-arm64": 0.24.2 + "@esbuild/android-x64": 0.24.2 + "@esbuild/darwin-arm64": 0.24.2 + "@esbuild/darwin-x64": 0.24.2 + "@esbuild/freebsd-arm64": 0.24.2 + "@esbuild/freebsd-x64": 0.24.2 + "@esbuild/linux-arm": 0.24.2 + "@esbuild/linux-arm64": 0.24.2 + "@esbuild/linux-ia32": 0.24.2 + "@esbuild/linux-loong64": 0.24.2 + "@esbuild/linux-mips64el": 0.24.2 + "@esbuild/linux-ppc64": 0.24.2 + "@esbuild/linux-riscv64": 0.24.2 + "@esbuild/linux-s390x": 0.24.2 + "@esbuild/linux-x64": 0.24.2 + "@esbuild/netbsd-arm64": 0.24.2 + "@esbuild/netbsd-x64": 0.24.2 + "@esbuild/openbsd-arm64": 0.24.2 + "@esbuild/openbsd-x64": 0.24.2 + "@esbuild/sunos-x64": 0.24.2 + "@esbuild/win32-arm64": 0.24.2 + "@esbuild/win32-ia32": 0.24.2 + "@esbuild/win32-x64": 0.24.2 dependenciesMeta: "@esbuild/aix-ppc64": optional: true @@ -5389,6 +5410,8 @@ __metadata: optional: true "@esbuild/linux-x64": optional: true + "@esbuild/netbsd-arm64": + optional: true "@esbuild/netbsd-x64": optional: true "@esbuild/openbsd-arm64": @@ -5405,7 +5428,7 @@ __metadata: optional: true bin: esbuild: bin/esbuild - checksum: dd386d92a05c7eb03078480522cdd8b40c434777b5f08487c27971d30933ecaae3f08bd221958dd8f9c66214915cdc85f844283ca9bdbf8ee703d889ae526edd + checksum: e2303f8331887e31330b5a972fb9640ad93dfc5af76cb2156faa9eaa32bac5c403244096cbdafc45622829913e63664dfd88410987e3468df4354492f908a094 languageName: node linkType: hard @@ -5622,18 +5645,18 @@ __metadata: languageName: node linkType: hard -"eslint-import-resolver-typescript@npm:^3.6.3": - version: 3.6.3 - resolution: "eslint-import-resolver-typescript@npm:3.6.3" +"eslint-import-resolver-typescript@npm:^3.7.0": + version: 3.7.0 + resolution: "eslint-import-resolver-typescript@npm:3.7.0" dependencies: "@nolyfill/is-core-module": 1.0.39 - debug: ^4.3.5 + debug: ^4.3.7 enhanced-resolve: ^5.15.0 - eslint-module-utils: ^2.8.1 fast-glob: ^3.3.2 get-tsconfig: ^4.7.5 is-bun-module: ^1.0.2 is-glob: ^4.0.3 + stable-hash: ^0.0.4 peerDependencies: eslint: "*" eslint-plugin-import: "*" @@ -5643,11 +5666,11 @@ __metadata: optional: true eslint-plugin-import-x: optional: true - checksum: 1ed0cab4f3852de1b14ea6978e76c27694b253a289c2030a35847ba8ab6ac4258d513877f83ea7bc265f746d570240a6348b11d77cc9cd77589749ad86a32234 + checksum: e24659fbd91957c9db8de72243a6ffcf891ffd1175bca54d6993a9ddecc352e76d512c7ee22a48ae7d3ec1ae4c492fd2ab649cde636a993f4a42bf4d1ae4d34a languageName: node linkType: hard -"eslint-module-utils@npm:^2.12.0, eslint-module-utils@npm:^2.8.1": +"eslint-module-utils@npm:^2.12.0": version: 2.12.0 resolution: "eslint-module-utils@npm:2.12.0" dependencies: @@ -5740,62 +5763,62 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-react-hooks@npm:^5.0.0": - version: 5.0.0 - resolution: "eslint-plugin-react-hooks@npm:5.0.0" +"eslint-plugin-react-hooks@npm:^5.1.0": + version: 5.1.0 + resolution: "eslint-plugin-react-hooks@npm:5.1.0" peerDependencies: eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 - checksum: eddd514a8796e8f805aa0c712d5fe6120fa6db778e3ad2949459b208f8a4bed6a48c152edfa9613f137c7527b00b42d489b5f94363d01d3a509e1f31630674dd + checksum: 14d2692214ea15b19ef330a9abf51cb8c1586339d9e758ebd61b182be68dd772af56462b04e4b9d2be923d72f46db61e8d32fcf37c248b04949c0b02f5bfb3c0 languageName: node linkType: hard -"eslint-plugin-react-refresh@npm:^0.4.14": - version: 0.4.14 - resolution: "eslint-plugin-react-refresh@npm:0.4.14" +"eslint-plugin-react-refresh@npm:^0.4.18": + version: 0.4.18 + resolution: "eslint-plugin-react-refresh@npm:0.4.18" peerDependencies: - eslint: ">=7" - checksum: 55a7fea190454f33edff6a86739767af21bee8797cd6132466cf2b69a9c75aefd76b03c29b39d0e8ea826af314bde1583d7046f21088afa7fac511f8af4eb714 + eslint: ">=8.40" + checksum: c93283d15156cd436c05515262dcee2e9e6cbf3efdc4a311be451bec77f62fb61a31b659eee272205c8e71ac44a6a7fb11ff4b74b1f60366d10c2ede2dcb4884 languageName: node linkType: hard -"eslint-plugin-react@npm:^7.37.2": - version: 7.37.2 - resolution: "eslint-plugin-react@npm:7.37.2" +"eslint-plugin-react@npm:^7.37.3": + version: 7.37.3 + resolution: "eslint-plugin-react@npm:7.37.3" dependencies: array-includes: ^3.1.8 array.prototype.findlast: ^1.2.5 - array.prototype.flatmap: ^1.3.2 + array.prototype.flatmap: ^1.3.3 array.prototype.tosorted: ^1.1.4 doctrine: ^2.1.0 - es-iterator-helpers: ^1.1.0 + es-iterator-helpers: ^1.2.1 estraverse: ^5.3.0 hasown: ^2.0.2 jsx-ast-utils: ^2.4.1 || ^3.0.0 minimatch: ^3.1.2 object.entries: ^1.1.8 object.fromentries: ^2.0.8 - object.values: ^1.2.0 + object.values: ^1.2.1 prop-types: ^15.8.1 resolve: ^2.0.0-next.5 semver: ^6.3.1 - string.prototype.matchall: ^4.0.11 + string.prototype.matchall: ^4.0.12 string.prototype.repeat: ^1.0.0 peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7 - checksum: 7f5203afee7fbe3702b27fdd2b9a3c0ccbbb47d0672f58311b9d8a08dea819c9da4a87c15e8bd508f2562f327a9d29ee8bd9cd189bf758d8dc903de5648b0bfa + checksum: 670dcee215f560a394b8b9966aecfc3c5ee5c15603a690f5333b0e16863275958f9c1853b12355eb0e36ef74dfac8bf645e4f440cb9b985a3bae2ac09d5ed55a languageName: node linkType: hard -"eslint-plugin-storybook@npm:^0.11.1": - version: 0.11.1 - resolution: "eslint-plugin-storybook@npm:0.11.1" +"eslint-plugin-storybook@npm:^0.11.2": + version: 0.11.2 + resolution: "eslint-plugin-storybook@npm:0.11.2" dependencies: "@storybook/csf": ^0.1.11 "@typescript-eslint/utils": ^8.8.1 ts-dedent: ^2.2.0 peerDependencies: - eslint: ">=6" - checksum: 8b8eb30b598f3c44c2bbf921e318215338f1159c1fba2d2f6cd5bc0b2ec14515655cf1760b5e11355baddabc2ac8446d4dc18ee6df6d2252555b126ff649a421 + eslint: ">=8" + checksum: 04dab47b676db57aa6c2325d4ab66283f5970133a2615cc68a97e42cb4ae1c79317e6db73bcfc24468e146bdff4c9ffe90a368bf2bcb67593954485f058b33ca languageName: node linkType: hard @@ -5852,17 +5875,17 @@ __metadata: languageName: node linkType: hard -"eslint@npm:9.17.0": - version: 9.17.0 - resolution: "eslint@npm:9.17.0" +"eslint@npm:^9.18.0": + version: 9.18.0 + resolution: "eslint@npm:9.18.0" dependencies: "@eslint-community/eslint-utils": ^4.2.0 "@eslint-community/regexpp": ^4.12.1 "@eslint/config-array": ^0.19.0 - "@eslint/core": ^0.9.0 + "@eslint/core": ^0.10.0 "@eslint/eslintrc": ^3.2.0 - "@eslint/js": 9.17.0 - "@eslint/plugin-kit": ^0.2.3 + "@eslint/js": 9.18.0 + "@eslint/plugin-kit": ^0.2.5 "@humanfs/node": ^0.16.6 "@humanwhocodes/module-importer": ^1.0.1 "@humanwhocodes/retry": ^0.4.1 @@ -5897,7 +5920,7 @@ __metadata: optional: true bin: eslint: bin/eslint.js - checksum: 0caae58c53bf4dc9b4893d75e62339e4c40fe5589652a3cb63f30a15bad1f34f8f784ca4fca471bbffedabee516a9f9620ebc33818b55e1b715e8f000865c851 + checksum: 5e05ae9d25a42ae8cad86a0118ea45107b42446f3614cd0ba822affa3eb85d746e0820529b1fde72820f24aa3c3447d3260505a5ee5e95be1b8b7455740a2256 languageName: node linkType: hard @@ -6246,21 +6269,22 @@ __metadata: languageName: node linkType: hard -"focus-trap-react@npm:^10.3.1": - version: 10.3.1 - resolution: "focus-trap-react@npm:10.3.1" +"focus-trap-react@npm:^11.0.2": + version: 11.0.2 + resolution: "focus-trap-react@npm:11.0.2" dependencies: - focus-trap: ^7.6.1 + focus-trap: ^7.6.2 tabbable: ^6.2.0 peerDependencies: - prop-types: ^15.8.1 - react: ">=16.3.0" - react-dom: ">=16.3.0" - checksum: 7992402b86a2ebada9232f36388fe7997e395365f1ca89927114caf84c53c546940c066b0a60417b01b4b366d97d0ac313d7c65ef69b74d188fc0863f850f480 + "@types/react": ^18.0.0 || ^19.0.0 + "@types/react-dom": ^18.0.0 || ^19.0.0 + react: ^18.0.0 || ^19.0.0 + react-dom: ^18.0.0 || ^19.0.0 + checksum: 992b6330101ff71abba01c0ea0c85104a0bbf3bf91f335ca004776e77c7d700d8f1e8a12425cb7a1bc8a041169c2b0d4c25c9ac0db5b5bdf8d17c21d66085ab8 languageName: node linkType: hard -"focus-trap@npm:^7.6.1": +"focus-trap@npm:^7.6.2": version: 7.6.2 resolution: "focus-trap@npm:7.6.2" dependencies: @@ -6309,6 +6333,17 @@ __metadata: languageName: node linkType: hard +"form-data@npm:^4.0.1": + version: 4.0.1 + resolution: "form-data@npm:4.0.1" + dependencies: + asynckit: ^0.4.0 + combined-stream: ^1.0.8 + mime-types: ^2.1.12 + checksum: ccee458cd5baf234d6b57f349fe9cc5f9a2ea8fd1af5ecda501a18fd1572a6dd3bf08a49f00568afd995b6a65af34cb8dec083cf9d582c4e621836499498dd84 + languageName: node + linkType: hard + "format@npm:^0.2.0": version: 0.2.2 resolution: "format@npm:0.2.2" @@ -6416,15 +6451,17 @@ __metadata: languageName: node linkType: hard -"function.prototype.name@npm:^1.1.5, function.prototype.name@npm:^1.1.6": - version: 1.1.6 - resolution: "function.prototype.name@npm:1.1.6" +"function.prototype.name@npm:^1.1.6, function.prototype.name@npm:^1.1.8": + version: 1.1.8 + resolution: "function.prototype.name@npm:1.1.8" dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 + call-bind: ^1.0.8 + call-bound: ^1.0.3 + define-properties: ^1.2.1 functions-have-names: ^1.2.3 - checksum: 7a3f9bd98adab09a07f6e1f03da03d3f7c26abbdeaeee15223f6c04a9fb5674792bdf5e689dac19b97ac71de6aad2027ba3048a9b883aa1b3173eed6ab07f479 + hasown: ^2.0.2 + is-callable: ^1.2.7 + checksum: 3a366535dc08b25f40a322efefa83b2da3cd0f6da41db7775f2339679120ef63b6c7e967266182609e655b8f0a8f65596ed21c7fd72ad8bd5621c2340edd4010 languageName: node linkType: hard @@ -6472,16 +6509,21 @@ __metadata: languageName: node linkType: hard -"get-intrinsic@npm:^1.1.1, get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.1, get-intrinsic@npm:^1.2.3, get-intrinsic@npm:^1.2.4": - version: 1.2.4 - resolution: "get-intrinsic@npm:1.2.4" +"get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.4, get-intrinsic@npm:^1.2.5, get-intrinsic@npm:^1.2.6": + version: 1.2.6 + resolution: "get-intrinsic@npm:1.2.6" dependencies: + call-bind-apply-helpers: ^1.0.1 + dunder-proto: ^1.0.0 + es-define-property: ^1.0.1 es-errors: ^1.3.0 + es-object-atoms: ^1.0.0 function-bind: ^1.1.2 - has-proto: ^1.0.1 - has-symbols: ^1.0.3 - hasown: ^2.0.0 - checksum: 414e3cdf2c203d1b9d7d33111df746a4512a1aa622770b361dadddf8ed0b5aeb26c560f49ca077e24bfafb0acb55ca908d1f709216ccba33ffc548ec8a79a951 + gopd: ^1.2.0 + has-symbols: ^1.1.0 + hasown: ^2.0.2 + math-intrinsics: ^1.0.0 + checksum: a7592a0b7f023a2e83c0121fa9449ca83780e370a5feeebe8452119474d148016e43b455049134ae7a683b9b11b93d3f65eac199a0ad452ab740d5f0c299de47 languageName: node linkType: hard @@ -6492,14 +6534,14 @@ __metadata: languageName: node linkType: hard -"get-symbol-description@npm:^1.0.2": - version: 1.0.2 - resolution: "get-symbol-description@npm:1.0.2" +"get-symbol-description@npm:^1.1.0": + version: 1.1.0 + resolution: "get-symbol-description@npm:1.1.0" dependencies: - call-bind: ^1.0.5 + call-bound: ^1.0.3 es-errors: ^1.3.0 - get-intrinsic: ^1.2.4 - checksum: e1cb53bc211f9dbe9691a4f97a46837a553c4e7caadd0488dc24ac694db8a390b93edd412b48dcdd0b4bbb4c595de1709effc75fc87c0839deedc6968f5bd973 + get-intrinsic: ^1.2.6 + checksum: 655ed04db48ee65ef2ddbe096540d4405e79ba0a7f54225775fef43a7e2afcb93a77d141c5f05fdef0afce2eb93bcbfb3597142189d562ac167ff183582683cd languageName: node linkType: hard @@ -6588,14 +6630,14 @@ __metadata: languageName: node linkType: hard -"globals@npm:^15.13.0": - version: 15.13.0 - resolution: "globals@npm:15.13.0" - checksum: 3f98514ce25a21150b246fbd63aeaeb271a93b3340cf7f4f6e9934d3b37dbb4b0fddef9c470183097dcfd2e8757bb86bbae701588f0e376667d8d9d6f665db3b +"globals@npm:^15.14.0": + version: 15.14.0 + resolution: "globals@npm:15.14.0" + checksum: fa993433a01bf4a118904fbafbcff34db487fce83f73da75fb4a8653afc6dcd72905e6208c49bab307ff0980928273d0ecd1cfc67e1a4782dabfbd92c234ab68 languageName: node linkType: hard -"globalthis@npm:^1.0.3, globalthis@npm:^1.0.4": +"globalthis@npm:^1.0.4": version: 1.0.4 resolution: "globalthis@npm:1.0.4" dependencies: @@ -6628,12 +6670,10 @@ __metadata: languageName: node linkType: hard -"gopd@npm:^1.0.1": - version: 1.0.1 - resolution: "gopd@npm:1.0.1" - dependencies: - get-intrinsic: ^1.1.3 - checksum: a5ccfb8806e0917a94e0b3de2af2ea4979c1da920bc381667c260e00e7cafdbe844e2cb9c5bcfef4e5412e8bf73bab837285bc35c7ba73aaaf0134d4583393a6 +"gopd@npm:^1.0.1, gopd@npm:^1.2.0": + version: 1.2.0 + resolution: "gopd@npm:1.2.0" + checksum: cc6d8e655e360955bdccaca51a12a474268f95bb793fc3e1f2bdadb075f28bfd1fd988dab872daf77a61d78cbaf13744bc8727a17cfb1d150d76047d805375f3 languageName: node linkType: hard @@ -6676,7 +6716,7 @@ __metadata: languageName: node linkType: hard -"has-bigints@npm:^1.0.1, has-bigints@npm:^1.0.2": +"has-bigints@npm:^1.0.2": version: 1.0.2 resolution: "has-bigints@npm:1.0.2" checksum: 390e31e7be7e5c6fe68b81babb73dfc35d413604d7ee5f56da101417027a4b4ce6a27e46eff97ad040c835b5d228676eae99a9b5c3bc0e23c8e81a49241ff45b @@ -6706,17 +6746,19 @@ __metadata: languageName: node linkType: hard -"has-proto@npm:^1.0.1, has-proto@npm:^1.0.3": - version: 1.0.3 - resolution: "has-proto@npm:1.0.3" - checksum: fe7c3d50b33f50f3933a04413ed1f69441d21d2d2944f81036276d30635cad9279f6b43bc8f32036c31ebdfcf6e731150f46c1907ad90c669ffe9b066c3ba5c4 +"has-proto@npm:^1.2.0": + version: 1.2.0 + resolution: "has-proto@npm:1.2.0" + dependencies: + dunder-proto: ^1.0.0 + checksum: f55010cb94caa56308041d77967c72a02ffd71386b23f9afa8447e58bc92d49d15c19bf75173713468e92fe3fb1680b03b115da39c21c32c74886d1d50d3e7ff languageName: node linkType: hard -"has-symbols@npm:^1.0.2, has-symbols@npm:^1.0.3": - version: 1.0.3 - resolution: "has-symbols@npm:1.0.3" - checksum: a054c40c631c0d5741a8285010a0777ea0c068f99ed43e5d6eb12972da223f8af553a455132fdb0801bdcfa0e0f443c0c03a68d8555aa529b3144b446c3f2410 +"has-symbols@npm:^1.0.3, has-symbols@npm:^1.1.0": + version: 1.1.0 + resolution: "has-symbols@npm:1.1.0" + checksum: b2316c7302a0e8ba3aaba215f834e96c22c86f192e7310bdf689dd0e6999510c89b00fbc5742571507cebf25764d68c988b3a0da217369a73596191ac0ce694b languageName: node linkType: hard @@ -7010,13 +7052,13 @@ __metadata: languageName: node linkType: hard -"https-proxy-agent@npm:^7.0.5": - version: 7.0.5 - resolution: "https-proxy-agent@npm:7.0.5" +"https-proxy-agent@npm:^7.0.6": + version: 7.0.6 + resolution: "https-proxy-agent@npm:7.0.6" dependencies: - agent-base: ^7.0.2 + agent-base: ^7.1.2 debug: 4 - checksum: 2e1a28960f13b041a50702ee74f240add8e75146a5c37fc98f1960f0496710f6918b3a9fe1e5aba41e50f58e6df48d107edd9c405c5f0d73ac260dabf2210857 + checksum: b882377a120aa0544846172e5db021fa8afbf83fea2a897d397bd2ddd8095ab268c24bc462f40a15f2a8c600bf4aa05ce52927f70038d4014e68aefecfa94e8d languageName: node linkType: hard @@ -7106,14 +7148,14 @@ __metadata: languageName: node linkType: hard -"internal-slot@npm:^1.0.4, internal-slot@npm:^1.0.7": - version: 1.0.7 - resolution: "internal-slot@npm:1.0.7" +"internal-slot@npm:^1.0.4, internal-slot@npm:^1.1.0": + version: 1.1.0 + resolution: "internal-slot@npm:1.1.0" dependencies: es-errors: ^1.3.0 - hasown: ^2.0.0 - side-channel: ^1.0.4 - checksum: cadc5eea5d7d9bc2342e93aae9f31f04c196afebb11bde97448327049f492cd7081e18623ae71388aac9cd237b692ca3a105be9c68ac39c1dec679d7409e33eb + hasown: ^2.0.2 + side-channel: ^1.1.0 + checksum: 8e0991c2d048cc08dab0a91f573c99f6a4215075887517ea4fa32203ce8aea60fa03f95b177977fa27eb502e5168366d0f3e02c762b799691411d49900611861 languageName: node linkType: hard @@ -7163,13 +7205,14 @@ __metadata: languageName: node linkType: hard -"is-array-buffer@npm:^3.0.1, is-array-buffer@npm:^3.0.4": - version: 3.0.4 - resolution: "is-array-buffer@npm:3.0.4" +"is-array-buffer@npm:^3.0.1, is-array-buffer@npm:^3.0.4, is-array-buffer@npm:^3.0.5": + version: 3.0.5 + resolution: "is-array-buffer@npm:3.0.5" dependencies: - call-bind: ^1.0.2 - get-intrinsic: ^1.2.1 - checksum: e4e3e6ef0ff2239e75371d221f74bc3c26a03564a22efb39f6bb02609b598917ddeecef4e8c877df2a25888f247a98198959842a5e73236bc7f22cabdf6351a7 + call-bind: ^1.0.8 + call-bound: ^1.0.3 + get-intrinsic: ^1.2.6 + checksum: f137a2a6e77af682cdbffef1e633c140cf596f72321baf8bba0f4ef22685eb4339dde23dfe9e9ca430b5f961dee4d46577dcf12b792b68518c8449b134fb9156 languageName: node linkType: hard @@ -7189,12 +7232,12 @@ __metadata: languageName: node linkType: hard -"is-bigint@npm:^1.0.1": - version: 1.0.4 - resolution: "is-bigint@npm:1.0.4" +"is-bigint@npm:^1.1.0": + version: 1.1.0 + resolution: "is-bigint@npm:1.1.0" dependencies: - has-bigints: ^1.0.1 - checksum: c56edfe09b1154f8668e53ebe8252b6f185ee852a50f9b41e8d921cb2bed425652049fbe438723f6cb48a63ca1aa051e948e7e401e093477c99c84eba244f666 + has-bigints: ^1.0.2 + checksum: ee1544f0e664f253306786ed1dce494b8cf242ef415d6375d8545b4d8816b0f054bd9f948a8988ae2c6325d1c28260dd02978236b2f7b8fb70dfc4838a6c9fa7 languageName: node linkType: hard @@ -7207,13 +7250,13 @@ __metadata: languageName: node linkType: hard -"is-boolean-object@npm:^1.1.0": - version: 1.1.2 - resolution: "is-boolean-object@npm:1.1.2" +"is-boolean-object@npm:^1.2.1": + version: 1.2.1 + resolution: "is-boolean-object@npm:1.2.1" dependencies: - call-bind: ^1.0.2 - has-tostringtag: ^1.0.0 - checksum: c03b23dbaacadc18940defb12c1c0e3aaece7553ef58b162a0f6bba0c2a7e1551b59f365b91e00d2dbac0522392d576ef322628cb1d036a0fe51eb466db67222 + call-bound: ^1.0.2 + has-tostringtag: ^1.0.2 + checksum: 2672609f0f2536172873810a38ec006a415e43ddc6a240f7638a1659cb20dfa91cc75c8a1bed36247bb046aa8f0eab945f20d1203bc69606418bd129c745f861 languageName: node linkType: hard @@ -7233,7 +7276,7 @@ __metadata: languageName: node linkType: hard -"is-callable@npm:^1.1.3, is-callable@npm:^1.1.4, is-callable@npm:^1.2.7": +"is-callable@npm:^1.1.3, is-callable@npm:^1.2.7": version: 1.2.7 resolution: "is-callable@npm:1.2.7" checksum: 61fd57d03b0d984e2ed3720fb1c7a897827ea174bd44402878e059542ea8c4aeedee0ea0985998aa5cc2736b2fa6e271c08587addb5b3959ac52cf665173d1ac @@ -7249,21 +7292,24 @@ __metadata: languageName: node linkType: hard -"is-data-view@npm:^1.0.1": - version: 1.0.1 - resolution: "is-data-view@npm:1.0.1" +"is-data-view@npm:^1.0.1, is-data-view@npm:^1.0.2": + version: 1.0.2 + resolution: "is-data-view@npm:1.0.2" dependencies: + call-bound: ^1.0.2 + get-intrinsic: ^1.2.6 is-typed-array: ^1.1.13 - checksum: 4ba4562ac2b2ec005fefe48269d6bd0152785458cd253c746154ffb8a8ab506a29d0cfb3b74af87513843776a88e4981ae25c89457bf640a33748eab1a7216b5 + checksum: 31600dd19932eae7fd304567e465709ffbfa17fa236427c9c864148e1b54eb2146357fcf3aed9b686dee13c217e1bb5a649cb3b9c479e1004c0648e9febde1b2 languageName: node linkType: hard -"is-date-object@npm:^1.0.1, is-date-object@npm:^1.0.5": - version: 1.0.5 - resolution: "is-date-object@npm:1.0.5" +"is-date-object@npm:^1.0.5, is-date-object@npm:^1.1.0": + version: 1.1.0 + resolution: "is-date-object@npm:1.1.0" dependencies: - has-tostringtag: ^1.0.0 - checksum: baa9077cdf15eb7b58c79398604ca57379b2fc4cf9aa7a9b9e295278648f628c9b201400c01c5e0f7afae56507d741185730307cbe7cad3b9f90a77e5ee342fc + call-bound: ^1.0.2 + has-tostringtag: ^1.0.2 + checksum: d6c36ab9d20971d65f3fc64cef940d57a4900a2ac85fb488a46d164c2072a33da1cb51eefcc039e3e5c208acbce343d3480b84ab5ff0983f617512da2742562a languageName: node linkType: hard @@ -7290,12 +7336,12 @@ __metadata: languageName: node linkType: hard -"is-finalizationregistry@npm:^1.0.2": - version: 1.0.2 - resolution: "is-finalizationregistry@npm:1.0.2" +"is-finalizationregistry@npm:^1.1.0": + version: 1.1.1 + resolution: "is-finalizationregistry@npm:1.1.1" dependencies: - call-bind: ^1.0.2 - checksum: 4f243a8e06228cd45bdab8608d2cb7abfc20f6f0189c8ac21ea8d603f1f196eabd531ce0bb8e08cbab047e9845ef2c191a3761c9a17ad5cabf8b35499c4ad35d + call-bound: ^1.0.3 + checksum: 38c646c506e64ead41a36c182d91639833311970b6b6c6268634f109eef0a1a9d2f1f2e499ef4cb43c744a13443c4cdd2f0812d5afdcee5e9b65b72b28c48557 languageName: node linkType: hard @@ -7354,33 +7400,27 @@ __metadata: languageName: node linkType: hard -"is-map@npm:^2.0.1, is-map@npm:^2.0.2": - version: 2.0.2 - resolution: "is-map@npm:2.0.2" - checksum: ace3d0ecd667bbdefdb1852de601268f67f2db725624b1958f279316e13fecb8fa7df91fd60f690d7417b4ec180712f5a7ee967008e27c65cfd475cc84337728 - languageName: node - linkType: hard - -"is-negative-zero@npm:^2.0.3": +"is-map@npm:^2.0.2, is-map@npm:^2.0.3": version: 2.0.3 - resolution: "is-negative-zero@npm:2.0.3" - checksum: c1e6b23d2070c0539d7b36022d5a94407132411d01aba39ec549af824231f3804b1aea90b5e4e58e807a65d23ceb538ed6e355ce76b267bdd86edb757ffcbdcd + resolution: "is-map@npm:2.0.3" + checksum: e6ce5f6380f32b141b3153e6ba9074892bbbbd655e92e7ba5ff195239777e767a976dcd4e22f864accaf30e53ebf961ab1995424aef91af68788f0591b7396cc languageName: node linkType: hard -"is-node-process@npm:^1.0.1, is-node-process@npm:^1.2.0": +"is-node-process@npm:^1.2.0": version: 1.2.0 resolution: "is-node-process@npm:1.2.0" checksum: 930765cdc6d81ab8f1bbecbea4a8d35c7c6d88a3ff61f3630e0fc7f22d624d7661c1df05c58547d0eb6a639dfa9304682c8e342c4113a6ed51472b704cee2928 languageName: node linkType: hard -"is-number-object@npm:^1.0.4": - version: 1.0.7 - resolution: "is-number-object@npm:1.0.7" +"is-number-object@npm:^1.1.1": + version: 1.1.1 + resolution: "is-number-object@npm:1.1.1" dependencies: - has-tostringtag: ^1.0.0 - checksum: d1e8d01bb0a7134c74649c4e62da0c6118a0bfc6771ea3c560914d52a627873e6920dd0fd0ebc0e12ad2ff4687eac4c308f7e80320b973b2c8a2c8f97a7524f7 + call-bound: ^1.0.3 + has-tostringtag: ^1.0.2 + checksum: 6517f0a0e8c4b197a21afb45cd3053dc711e79d45d8878aa3565de38d0102b130ca8732485122c7b336e98c27dacd5236854e3e6526e0eb30cae64956535662f languageName: node linkType: hard @@ -7428,29 +7468,31 @@ __metadata: languageName: node linkType: hard -"is-regex@npm:^1.1.4": - version: 1.1.4 - resolution: "is-regex@npm:1.1.4" +"is-regex@npm:^1.1.4, is-regex@npm:^1.2.1": + version: 1.2.1 + resolution: "is-regex@npm:1.2.1" dependencies: - call-bind: ^1.0.2 - has-tostringtag: ^1.0.0 - checksum: 362399b33535bc8f386d96c45c9feb04cf7f8b41c182f54174c1a45c9abbbe5e31290bbad09a458583ff6bf3b2048672cdb1881b13289569a7c548370856a652 + call-bound: ^1.0.2 + gopd: ^1.2.0 + has-tostringtag: ^1.0.2 + hasown: ^2.0.2 + checksum: 99ee0b6d30ef1bb61fa4b22fae7056c6c9b3c693803c0c284ff7a8570f83075a7d38cda53b06b7996d441215c27895ea5d1af62124562e13d91b3dbec41a5e13 languageName: node linkType: hard -"is-set@npm:^2.0.1, is-set@npm:^2.0.2": - version: 2.0.2 - resolution: "is-set@npm:2.0.2" - checksum: b64343faf45e9387b97a6fd32be632ee7b269bd8183701f3b3f5b71a7cf00d04450ed8669d0bd08753e08b968beda96fca73a10fd0ff56a32603f64deba55a57 +"is-set@npm:^2.0.2, is-set@npm:^2.0.3": + version: 2.0.3 + resolution: "is-set@npm:2.0.3" + checksum: 36e3f8c44bdbe9496c9689762cc4110f6a6a12b767c5d74c0398176aa2678d4467e3bf07595556f2dba897751bde1422480212b97d973c7b08a343100b0c0dfe languageName: node linkType: hard -"is-shared-array-buffer@npm:^1.0.2, is-shared-array-buffer@npm:^1.0.3": - version: 1.0.3 - resolution: "is-shared-array-buffer@npm:1.0.3" +"is-shared-array-buffer@npm:^1.0.2, is-shared-array-buffer@npm:^1.0.4": + version: 1.0.4 + resolution: "is-shared-array-buffer@npm:1.0.4" dependencies: - call-bind: ^1.0.7 - checksum: a4fff602c309e64ccaa83b859255a43bb011145a42d3f56f67d9268b55bc7e6d98a5981a1d834186ad3105d6739d21547083fe7259c76c0468483fc538e716d8 + call-bound: ^1.0.3 + checksum: 1611fedc175796eebb88f4dfc393dd969a4a8e6c69cadaff424ee9d4464f9f026399a5f84a90f7c62d6d7ee04e3626a912149726de102b0bd6c1ee6a9868fa5a languageName: node linkType: hard @@ -7461,56 +7503,59 @@ __metadata: languageName: node linkType: hard -"is-string@npm:^1.0.5, is-string@npm:^1.0.7": - version: 1.0.7 - resolution: "is-string@npm:1.0.7" +"is-string@npm:^1.0.7, is-string@npm:^1.1.1": + version: 1.1.1 + resolution: "is-string@npm:1.1.1" dependencies: - has-tostringtag: ^1.0.0 - checksum: 323b3d04622f78d45077cf89aab783b2f49d24dc641aa89b5ad1a72114cfeff2585efc8c12ef42466dff32bde93d839ad321b26884cf75e5a7892a938b089989 + call-bound: ^1.0.3 + has-tostringtag: ^1.0.2 + checksum: 2eeaaff605250f5e836ea3500d33d1a5d3aa98d008641d9d42fb941e929ffd25972326c2ef912987e54c95b6f10416281aaf1b35cdf81992cfb7524c5de8e193 languageName: node linkType: hard -"is-symbol@npm:^1.0.2, is-symbol@npm:^1.0.3": - version: 1.0.4 - resolution: "is-symbol@npm:1.0.4" +"is-symbol@npm:^1.0.4, is-symbol@npm:^1.1.1": + version: 1.1.1 + resolution: "is-symbol@npm:1.1.1" dependencies: - has-symbols: ^1.0.2 - checksum: 92805812ef590738d9de49d677cd17dfd486794773fb6fa0032d16452af46e9b91bb43ffe82c983570f015b37136f4b53b28b8523bfb10b0ece7a66c31a54510 + call-bound: ^1.0.2 + has-symbols: ^1.1.0 + safe-regex-test: ^1.1.0 + checksum: bfafacf037af6f3c9d68820b74be4ae8a736a658a3344072df9642a090016e281797ba8edbeb1c83425879aae55d1cb1f30b38bf132d703692b2570367358032 languageName: node linkType: hard -"is-typed-array@npm:^1.1.13, is-typed-array@npm:^1.1.3": - version: 1.1.13 - resolution: "is-typed-array@npm:1.1.13" +"is-typed-array@npm:^1.1.13, is-typed-array@npm:^1.1.14, is-typed-array@npm:^1.1.15, is-typed-array@npm:^1.1.3": + version: 1.1.15 + resolution: "is-typed-array@npm:1.1.15" dependencies: - which-typed-array: ^1.1.14 - checksum: 150f9ada183a61554c91e1c4290086d2c100b0dff45f60b028519be72a8db964da403c48760723bf5253979b8dffe7b544246e0e5351dcd05c5fdb1dcc1dc0f0 + which-typed-array: ^1.1.16 + checksum: ea7cfc46c282f805d19a9ab2084fd4542fed99219ee9dbfbc26284728bd713a51eac66daa74eca00ae0a43b61322920ba334793607dc39907465913e921e0892 languageName: node linkType: hard -"is-weakmap@npm:^2.0.1": - version: 2.0.1 - resolution: "is-weakmap@npm:2.0.1" - checksum: 1222bb7e90c32bdb949226e66d26cb7bce12e1e28e3e1b40bfa6b390ba3e08192a8664a703dff2a00a84825f4e022f9cd58c4599ff9981ab72b1d69479f4f7f6 +"is-weakmap@npm:^2.0.2": + version: 2.0.2 + resolution: "is-weakmap@npm:2.0.2" + checksum: f36aef758b46990e0d3c37269619c0a08c5b29428c0bb11ecba7f75203442d6c7801239c2f31314bc79199217ef08263787f3837d9e22610ad1da62970d6616d languageName: node linkType: hard -"is-weakref@npm:^1.0.2": - version: 1.0.2 - resolution: "is-weakref@npm:1.0.2" +"is-weakref@npm:^1.0.2, is-weakref@npm:^1.1.0": + version: 1.1.0 + resolution: "is-weakref@npm:1.1.0" dependencies: - call-bind: ^1.0.2 - checksum: 95bd9a57cdcb58c63b1c401c60a474b0f45b94719c30f548c891860f051bc2231575c290a6b420c6bc6e7ed99459d424c652bd5bf9a1d5259505dc35b4bf83de + call-bound: ^1.0.2 + checksum: 2a2f3a1746ee1baecf9ac6483d903cd3f8ef3cca88e2baa42f2e85ea064bd246d218eed5f6d479fc1c76dae2231e71133b6b86160e821d176932be9fae3da4da languageName: node linkType: hard -"is-weakset@npm:^2.0.1": - version: 2.0.2 - resolution: "is-weakset@npm:2.0.2" +"is-weakset@npm:^2.0.3": + version: 2.0.4 + resolution: "is-weakset@npm:2.0.4" dependencies: - call-bind: ^1.0.2 - get-intrinsic: ^1.1.1 - checksum: 5d8698d1fa599a0635d7ca85be9c26d547b317ed8fd83fc75f03efbe75d50001b5eececb1e9971de85fcde84f69ae6f8346bc92d20d55d46201d328e4c74a367 + call-bound: ^1.0.3 + get-intrinsic: ^1.2.6 + checksum: 5c6c8415a06065d78bdd5e3a771483aa1cd928df19138aa73c4c51333226f203f22117b4325df55cc8b3085a6716870a320c2d757efee92d7a7091a039082041 languageName: node linkType: hard @@ -7589,16 +7634,17 @@ __metadata: languageName: node linkType: hard -"iterator.prototype@npm:^1.1.3": - version: 1.1.3 - resolution: "iterator.prototype@npm:1.1.3" +"iterator.prototype@npm:^1.1.4": + version: 1.1.4 + resolution: "iterator.prototype@npm:1.1.4" dependencies: - define-properties: ^1.2.1 - get-intrinsic: ^1.2.1 - has-symbols: ^1.0.3 - reflect.getprototypeof: ^1.0.4 - set-function-name: ^2.0.1 - checksum: 7d2a1f8bcbba7b76f72e956faaf7b25405f4de54430c9d099992e6fb9d571717c3044604e8cdfb8e624cb881337d648030ee8b1541d544af8b338835e3f47ebe + define-data-property: ^1.1.4 + es-object-atoms: ^1.0.0 + get-intrinsic: ^1.2.6 + has-symbols: ^1.1.0 + reflect.getprototypeof: ^1.0.8 + set-function-name: ^2.0.2 + checksum: e2b1f0f7678cf6ff02b74085dbd708bdfb6c18357af46cedc18a34e08d066c9b26e9dfb7dd2619dc199d17e681f30200b122425f793e9ad0105671191433d50f languageName: node linkType: hard @@ -7661,21 +7707,21 @@ __metadata: languageName: node linkType: hard -"jsdom@npm:^25.0.1": - version: 25.0.1 - resolution: "jsdom@npm:25.0.1" +"jsdom@npm:^26.0.0": + version: 26.0.0 + resolution: "jsdom@npm:26.0.0" dependencies: - cssstyle: ^4.1.0 + cssstyle: ^4.2.1 data-urls: ^5.0.0 decimal.js: ^10.4.3 - form-data: ^4.0.0 + form-data: ^4.0.1 html-encoding-sniffer: ^4.0.0 http-proxy-agent: ^7.0.2 - https-proxy-agent: ^7.0.5 + https-proxy-agent: ^7.0.6 is-potential-custom-element-name: ^1.0.1 - nwsapi: ^2.2.12 - parse5: ^7.1.2 - rrweb-cssom: ^0.7.1 + nwsapi: ^2.2.16 + parse5: ^7.2.1 + rrweb-cssom: ^0.8.0 saxes: ^6.0.0 symbol-tree: ^3.2.4 tough-cookie: ^5.0.0 @@ -7683,15 +7729,15 @@ __metadata: webidl-conversions: ^7.0.0 whatwg-encoding: ^3.1.1 whatwg-mimetype: ^4.0.0 - whatwg-url: ^14.0.0 + whatwg-url: ^14.1.0 ws: ^8.18.0 xml-name-validator: ^5.0.0 peerDependencies: - canvas: ^2.11.2 + canvas: ^3.0.0 peerDependenciesMeta: canvas: optional: true - checksum: b637d28445d570014195b3c77d06e54ef69d1f807eaf61388cb470e4d9227244e7fe2e0c32b6df03ac4fe35f746d7c721672d9136ecebb49d2e61a04ab9628e0 + checksum: 566993558f36450fab2839dca5a5bf7353a0558dbf8e04fccd8d97cd62b58b7cd027ebe6214a4210a27dd8df602d0a79d28976d54e7af55eb42f2c8f5a5d5fc2 languageName: node linkType: hard @@ -7872,11 +7918,11 @@ __metadata: languageName: node linkType: hard -"lint-staged@npm:^15.2.11": - version: 15.2.11 - resolution: "lint-staged@npm:15.2.11" +"lint-staged@npm:^15.3.0": + version: 15.3.0 + resolution: "lint-staged@npm:15.3.0" dependencies: - chalk: ~5.3.0 + chalk: ~5.4.1 commander: ~12.1.0 debug: ~4.4.0 execa: ~8.0.1 @@ -7888,7 +7934,7 @@ __metadata: yaml: ~2.6.1 bin: lint-staged: bin/lint-staged.js - checksum: 9668e67791fd73aa91cf9268641a5b41191b4221ac9e4d34b51bb10088a082548aa5984d9b38066c3832e41f5a01bbb36aa41d9a8c96bbc775301cb5c9071e13 + checksum: 9917a13c946cd812e4986a724602dfacf09baa4ddbbb4f08f7e59760181a7bf38459fcef54a396cc80b2af1655edae3e45410b23cfe1f70cf431662b2bf45624 languageName: node linkType: hard @@ -8009,6 +8055,13 @@ __metadata: languageName: node linkType: hard +"lru-cache@npm:^11.0.2": + version: 11.0.2 + resolution: "lru-cache@npm:11.0.2" + checksum: f9c27c58919a30f42834de9444de9f75bcbbb802c459239f96dd449ad880d8f9a42f51556d13659864dc94ab2dbded9c4a4f42a3e25a45b6da01bb86111224df + languageName: node + linkType: hard + "lru-cache@npm:^5.1.1": version: 5.1.1 resolution: "lru-cache@npm:5.1.1" @@ -8123,6 +8176,13 @@ __metadata: languageName: node linkType: hard +"math-intrinsics@npm:^1.0.0, math-intrinsics@npm:^1.1.0": + version: 1.1.0 + resolution: "math-intrinsics@npm:1.1.0" + checksum: 0e513b29d120f478c85a70f49da0b8b19bc638975eca466f2eeae0071f3ad00454c621bf66e16dd435896c208e719fc91ad79bbfba4e400fe0b372e7c1c9c9a2 + languageName: node + linkType: hard + "mdast-util-from-markdown@npm:^2.0.0": version: 2.0.0 resolution: "mdast-util-from-markdown@npm:2.0.0" @@ -8865,20 +8925,9 @@ __metadata: languageName: node linkType: hard -"msw-storybook-addon@npm:^2.0.4": - version: 2.0.4 - resolution: "msw-storybook-addon@npm:2.0.4" - dependencies: - is-node-process: ^1.0.1 - peerDependencies: - msw: ^2.0.0 - checksum: 17d40c71fbdb896e616849bcba58df24de539786f232ccb635ce478d2f17098300275f7cb02d6b3d4078f8f8b8aeb996e7642effefa486a320e261b5142e6614 - languageName: node - linkType: hard - -"msw@npm:^2.6.8": - version: 2.6.8 - resolution: "msw@npm:2.6.8" +"msw@npm:^2.7.0": + version: 2.7.0 + resolution: "msw@npm:2.7.0" dependencies: "@bundled-es-modules/cookie": ^2.0.1 "@bundled-es-modules/statuses": ^1.0.1 @@ -8889,12 +8938,12 @@ __metadata: "@open-draft/until": ^2.1.0 "@types/cookie": ^0.6.0 "@types/statuses": ^2.0.4 - chalk: ^4.1.2 graphql: ^16.8.1 headers-polyfill: ^4.0.2 is-node-process: ^1.2.0 outvariant: ^1.4.3 path-to-regexp: ^6.3.0 + picocolors: ^1.1.1 strict-event-emitter: ^0.5.1 type-fest: ^4.26.1 yargs: ^17.7.2 @@ -8905,7 +8954,7 @@ __metadata: optional: true bin: msw: cli/index.js - checksum: 5847c78a19413647edfc215452479b389ecaca155581726ac63c82e61bc388f2dd69f4efce9f9b867fb18405a1d748ecaf6ceab00cca26e743673baa20015a79 + checksum: d8851ced7a7b6a8ca11d2cd1cb7a21082ed2543ebe93afa047b0ed5a9fb4708bcf230fe888f3b88b8c73f4432d3dc858ac4943f2d1e09fc3380c1f28ccbb53e5 languageName: node linkType: hard @@ -8917,11 +8966,11 @@ __metadata: linkType: hard "nanoid@npm:^3.3.6, nanoid@npm:^3.3.7": - version: 3.3.7 - resolution: "nanoid@npm:3.3.7" + version: 3.3.8 + resolution: "nanoid@npm:3.3.8" bin: nanoid: bin/nanoid.cjs - checksum: d36c427e530713e4ac6567d488b489a36582ef89da1d6d4e3b87eded11eb10d7042a877958c6f104929809b2ab0bafa17652b076cdf84324aa75b30b722204f2 + checksum: dfe0adbc0c77e9655b550c333075f51bb28cfc7568afbf3237249904f9c86c9aaaed1f113f0fddddba75673ee31c758c30c43d4414f014a52a7a626efc5958c9 languageName: node linkType: hard @@ -9016,13 +9065,6 @@ __metadata: languageName: node linkType: hard -"node-releases@npm:^2.0.18": - version: 2.0.18 - resolution: "node-releases@npm:2.0.18" - checksum: ef55a3d853e1269a6d6279b7692cd6ff3e40bc74947945101138745bfdc9a5edabfe72cb19a31a8e45752e1910c4c65c77d931866af6357f242b172b7283f5b3 - languageName: node - linkType: hard - "node-releases@npm:^2.0.19": version: 2.0.19 resolution: "node-releases@npm:2.0.19" @@ -9118,10 +9160,10 @@ __metadata: languageName: node linkType: hard -"nwsapi@npm:^2.2.12": - version: 2.2.12 - resolution: "nwsapi@npm:2.2.12" - checksum: 4dbce7ecbcf336eef1edcbb5161cbceea95863e63a16d9bcec8e81cbb260bdab3d07e6c7b58354d465dc803eef6d0ea4fb20220a80fa148ae65f18d56df81799 +"nwsapi@npm:^2.2.16": + version: 2.2.16 + resolution: "nwsapi@npm:2.2.16" + checksum: 467b36a74b7b8647d53fd61d05ca7d6c73a4a5d1b94ea84f770c03150b00ef46d38076cf8e708936246ae450c42a1f21e28e153023719784dc4d1a19b1737d47 languageName: node linkType: hard @@ -9132,10 +9174,10 @@ __metadata: languageName: node linkType: hard -"object-inspect@npm:^1.13.1": - version: 1.13.1 - resolution: "object-inspect@npm:1.13.1" - checksum: 7d9fa9221de3311dcb5c7c307ee5dc011cdd31dc43624b7c184b3840514e118e05ef0002be5388304c416c0eb592feb46e983db12577fc47e47d5752fbbfb61f +"object-inspect@npm:^1.13.3": + version: 1.13.3 + resolution: "object-inspect@npm:1.13.3" + checksum: 8c962102117241e18ea403b84d2521f78291b774b03a29ee80a9863621d88265ffd11d0d7e435c4c2cea0dc2a2fbf8bbc92255737a05536590f2df2e8756f297 languageName: node linkType: hard @@ -9156,15 +9198,17 @@ __metadata: languageName: node linkType: hard -"object.assign@npm:^4.1.4, object.assign@npm:^4.1.5": - version: 4.1.5 - resolution: "object.assign@npm:4.1.5" +"object.assign@npm:^4.1.4, object.assign@npm:^4.1.7": + version: 4.1.7 + resolution: "object.assign@npm:4.1.7" dependencies: - call-bind: ^1.0.5 + call-bind: ^1.0.8 + call-bound: ^1.0.3 define-properties: ^1.2.1 - has-symbols: ^1.0.3 + es-object-atoms: ^1.0.0 + has-symbols: ^1.1.0 object-keys: ^1.1.1 - checksum: f9aeac0541661370a1fc86e6a8065eb1668d3e771f7dbb33ee54578201336c057b21ee61207a186dd42db0c62201d91aac703d20d12a79fc79c353eed44d4e25 + checksum: 60e07d2651cf4f5528c485f1aa4dbded9b384c47d80e8187cefd11320abb1aebebf78df5483451dfa549059f8281c21f7b4bf7d19e9e5e97d8d617df0df298de languageName: node linkType: hard @@ -9202,14 +9246,15 @@ __metadata: languageName: node linkType: hard -"object.values@npm:^1.1.6, object.values@npm:^1.2.0": - version: 1.2.0 - resolution: "object.values@npm:1.2.0" +"object.values@npm:^1.1.6, object.values@npm:^1.2.0, object.values@npm:^1.2.1": + version: 1.2.1 + resolution: "object.values@npm:1.2.1" dependencies: - call-bind: ^1.0.7 + call-bind: ^1.0.8 + call-bound: ^1.0.3 define-properties: ^1.2.1 es-object-atoms: ^1.0.0 - checksum: 51fef456c2a544275cb1766897f34ded968b22adfc13ba13b5e4815fdaf4304a90d42a3aee114b1f1ede048a4890381d47a5594d84296f2767c6a0364b9da8fa + checksum: f9b9a2a125ccf8ded29414d7c056ae0d187b833ee74919821fc60d7e216626db220d9cb3cf33f965c84aaaa96133626ca13b80f3c158b673976dc8cfcfcd26bb languageName: node linkType: hard @@ -9319,12 +9364,12 @@ __metadata: languageName: node linkType: hard -"p-limit@npm:^6.1.0": - version: 6.1.0 - resolution: "p-limit@npm:6.1.0" +"p-limit@npm:^6.2.0": + version: 6.2.0 + resolution: "p-limit@npm:6.2.0" dependencies: yocto-queue: ^1.1.1 - checksum: 0c98d8fc1006b70fc7423232a47e8d026dc69279b06fe7ff8b4c0cc8023de2b6bb8991b609d93c3dec691a7a362ab0f0157df521d931a01fec192a5e404b9ee5 + checksum: ea46ba4a3013daa3335833013156bdcdd8f5c67b49ad2f33b34832b0d528f003d29b55bf5beeedc39ba9d9ada3dab7b1f4b890db3ebc8260a044a011126c6fc9 languageName: node linkType: hard @@ -9433,7 +9478,7 @@ __metadata: languageName: node linkType: hard -"parse5@npm:^7.0.0, parse5@npm:^7.1.2": +"parse5@npm:^7.0.0": version: 7.1.2 resolution: "parse5@npm:7.1.2" dependencies: @@ -9442,6 +9487,15 @@ __metadata: languageName: node linkType: hard +"parse5@npm:^7.2.1": + version: 7.2.1 + resolution: "parse5@npm:7.2.1" + dependencies: + entities: ^4.5.0 + checksum: 11253cf8aa2e7fc41c004c64cba6f2c255f809663365db65bd7ad0e8cf7b89e436a563c20059346371cc543a6c1b567032088883ca6a2cbc88276c666b68236d + languageName: node + linkType: hard + "parseley@npm:^0.12.0": version: 0.12.1 resolution: "parseley@npm:0.12.1" @@ -9862,14 +9916,14 @@ __metadata: languageName: node linkType: hard -"react-error-boundary@npm:^4.1.2": - version: 4.1.2 - resolution: "react-error-boundary@npm:4.1.2" +"react-error-boundary@npm:^5.0.0": + version: 5.0.0 + resolution: "react-error-boundary@npm:5.0.0" dependencies: "@babel/runtime": ^7.12.5 peerDependencies: react: ">=16.13.1" - checksum: afe692f1bbbfb5998b49e1001d7682a3cbfdc623dca1318b408e738606f3450d925c28fbbfa5dc84d2cf285d17c2e7f079d59386a27da354dea9c902a935149b + checksum: 4fa78890bb254fe1f0ee1eed893ac161a27482c4567f7667ef83a8339432eb99e323ee69757f01f4864e0037b01a9b6822735ea122f02e749d0bf7a781d9ea53 languageName: node linkType: hard @@ -9884,14 +9938,14 @@ __metadata: version: 0.0.0-use.local resolution: "react-frontend@workspace:." dependencies: - "@eslint/compat": ^1.2.4 - "@eslint/js": ^9.17.0 + "@eslint/compat": ^1.2.5 + "@eslint/js": ^9.18.0 "@mdx-js/react": ^3.1.0 "@mdx-js/rollup": ^3.1.0 "@microsoft/applicationinsights-react-js": ^17.3.4 "@microsoft/applicationinsights-web": ^3.3.4 "@okta/okta-react": ^6.9.0 - "@okta/okta-signin-widget": ^7.26.1 + "@okta/okta-signin-widget": ^7.27.2 "@playwright/test": ^1.49.1 "@rest-hooks/rest": ^3.0.3 "@rest-hooks/test": ^7.3.1 @@ -9908,11 +9962,11 @@ __metadata: "@storybook/react-vite": ^8.4.7 "@storybook/testing-library": ^0.2.2 "@storybook/theming": ^8.4.7 - "@tanstack/react-query": ^5.62.2 - "@tanstack/react-query-devtools": ^5.62.2 + "@tanstack/react-query": ^5.64.0 + "@tanstack/react-query-devtools": ^5.64.0 "@testing-library/dom": ^10.4.0 "@testing-library/jest-dom": ^6.6.3 - "@testing-library/react": ^16.0.1 + "@testing-library/react": ^16.1.0 "@testing-library/user-event": ^14.5.2 "@trussworks/react-uswds": ^9.1.0 "@types/dompurify": ^3.2.0 @@ -9920,10 +9974,10 @@ __metadata: "@types/eslint__js": ^8.42.3 "@types/github-slugger": ^2.0.0 "@types/html-to-text": ^9.0.4 - "@types/lodash": ^4.17.13 + "@types/lodash": ^4.17.14 "@types/mdx": ^2.0.13 "@types/node": ^20.12.5 - "@types/react": 18.3.11 + "@types/react": ^18.3.11 "@types/react-dom": ^18.3.1 "@types/react-router-dom": ^5.3.3 "@types/react-scroll-sync": ^0.9.0 @@ -9933,78 +9987,77 @@ __metadata: "@vitest/coverage-istanbul": ^2.1.8 "@vitest/ui": ^2.1.8 autoprefixer: ^10.4.20 - axios: ^1.7.8 - browserslist: ^4.24.3 + axios: ^1.7.9 + browserslist: ^4.24.4 browserslist-useragent-regexp: ^4.1.3 - chromatic: ^11.20.2 + chromatic: ^11.22.2 classnames: ^2.5.1 cross-env: ^7.0.3 date-fns: ^4.1.0 date-fns-tz: ^3.2.0 dompurify: ^3.2.3 dotenv-flow: ^4.1.0 - eslint: 9.17.0 + eslint: ^9.18.0 eslint-config-prettier: ^9.1.0 - eslint-import-resolver-typescript: ^3.6.3 + eslint-import-resolver-typescript: ^3.7.0 eslint-plugin-import: ^2.31.0 eslint-plugin-jest-dom: ^5.5.0 eslint-plugin-jsx-a11y: ^6.10.2 eslint-plugin-playwright: ^2.1.0 - eslint-plugin-react: ^7.37.2 - eslint-plugin-react-hooks: ^5.0.0 - eslint-plugin-react-refresh: ^0.4.14 - eslint-plugin-storybook: ^0.11.1 + eslint-plugin-react: ^7.37.3 + eslint-plugin-react-hooks: ^5.1.0 + eslint-plugin-react-refresh: ^0.4.18 + eslint-plugin-storybook: ^0.11.2 eslint-plugin-testing-library: ^7.1.1 eslint-plugin-vitest: ^0.5.4 export-to-csv-fix-source-map: ^0.2.1 - focus-trap-react: ^10.3.1 - globals: ^15.13.0 + focus-trap-react: ^11.0.2 + globals: ^15.14.0 history: ^5.3.0 html-to-text: ^9.0.5 husky: ^9.1.7 - jsdom: ^25.0.1 - lint-staged: ^15.2.11 + jsdom: ^26.0.0 + lint-staged: ^15.3.0 lodash: ^4.17.21 mockdate: ^3.0.5 - msw: ^2.6.8 - msw-storybook-addon: ^2.0.4 + msw: ^2.7.0 npm-run-all: ^4.1.5 otpauth: ^9.3.6 - p-limit: ^6.1.0 + p-limit: ^6.2.0 patch-package: ^8.0.0 postcss: ^8.4.49 prettier: ^3.4.2 react: ^18.3.1 react-dom: ^18.3.1 - react-error-boundary: ^4.1.2 + react-error-boundary: ^5.0.0 react-helmet-async: ^2.0.5 react-idle-timer: ^5.7.2 react-loader-spinner: ^6.1.6 - react-markdown: ^9.0.1 + react-markdown: ^9.0.3 react-query-kit: ^3.3.1 - react-router: ~6.28.0 - react-router-dom: ~6.28.0 + react-router: ^6.28.0 + react-router-dom: ^6.28.0 react-scroll-sync: ^0.11.2 - react-toastify: ^10.0.6 + react-toastify: ^11.0.2 rehype-raw: ^7.0.0 rehype-slug: ^5.1.0 remark-frontmatter: ^5.0.0 remark-mdx-frontmatter: ^5.0.0 remark-mdx-toc: ^0.3.1 rest-hooks: ^6.1.7 - sanitize-html: ^2.13.1 - sass: ^1.81.0 + sanitize-html: ^2.14.0 + sass: ^1.83.1 storybook: ^8.4.7 - storybook-addon-remix-react-router: ^3.0.2 + storybook-addon-remix-react-router: ^4.0.1 ts-node: ^10.9.2 tslib: ^2.8.1 tsx: ^4.19.2 - typescript: ^5.7.2 - typescript-eslint: ^8.16.0 - undici: ~6.20.1 + typescript: ^5.7.3 + typescript-eslint: ^8.19.0 + undici: ^6.20.1 use-deep-compare-effect: ^1.8.1 - uuid: ^11.0.3 - vite: ^6.0.3 + uuid: ^11.0.5 + vite: ^6.0.7 vite-plugin-checker: ^0.8.0 vite-plugin-svgr: ^4.3.0 vitest: ^2.1.8 @@ -10078,9 +10131,9 @@ __metadata: languageName: node linkType: hard -"react-markdown@npm:^9.0.1": - version: 9.0.1 - resolution: "react-markdown@npm:9.0.1" +"react-markdown@npm:^9.0.3": + version: 9.0.3 + resolution: "react-markdown@npm:9.0.3" dependencies: "@types/hast": ^3.0.0 devlop: ^1.0.0 @@ -10095,7 +10148,7 @@ __metadata: peerDependencies: "@types/react": ">=18" react: ">=18" - checksum: ca1daa650d48b84a5a9771683cdb3f3d2d418247ce0faf73ede3207c65f2a21cdebb9df37afda67f6fc8f0f0a7b9ce00eb239781954a4d6c7ad88ea4df068add + checksum: 7ebb01b295f7c9acddcd305308a8531c58c582c24fb8d6a4897f16b21ba0bd7e9e20ddae4a9024767e910310d22db0003489b61478cdb491a3d802343cf3a931 languageName: node linkType: hard @@ -10116,27 +10169,27 @@ __metadata: languageName: node linkType: hard -"react-router-dom@npm:~6.28.0": - version: 6.28.0 - resolution: "react-router-dom@npm:6.28.0" +"react-router-dom@npm:^6.28.0": + version: 6.28.1 + resolution: "react-router-dom@npm:6.28.1" dependencies: "@remix-run/router": 1.21.0 - react-router: 6.28.0 + react-router: 6.28.1 peerDependencies: react: ">=16.8" react-dom: ">=16.8" - checksum: 0cf4658a92bc66f50ec9d8518c36aa5a402bcadce71fb624ed6f900d73a29ea87ff904a4f2c42279107e75e80cc08c6192563fadcc5d4e642e6d476e38e83b21 + checksum: 85380f5f3448fc8b64463bc7d64a053f724e64c4c50e64a3d57d450d3b365815e902927a8ff927c162d82093976bcbba70157dff1ade1ba0ae464ad3472518cb languageName: node linkType: hard -"react-router@npm:6.28.0, react-router@npm:~6.28.0": - version: 6.28.0 - resolution: "react-router@npm:6.28.0" +"react-router@npm:6.28.1, react-router@npm:^6.28.0": + version: 6.28.1 + resolution: "react-router@npm:6.28.1" dependencies: "@remix-run/router": 1.21.0 peerDependencies: react: ">=16.8" - checksum: 23246ca957b5c2bc8d6f9a81fee2df2ce4fc3feca3ec27c2fd85999568fc1299a4e8273e4ab70b6f3acd43a1fb45e0c93cb01ef77e68c9f9e1f7e4f42a1419ea + checksum: c1c4fe644a7197437f9ce9b8b621e79f9620b7a7b1192c9d1d44a6971b08af94408f3e63bd2cf122903c27d9a73b2e5632e4ca428e9ac0bf1d61e325968d4994 languageName: node linkType: hard @@ -10152,15 +10205,15 @@ __metadata: languageName: node linkType: hard -"react-toastify@npm:^10.0.6": - version: 10.0.6 - resolution: "react-toastify@npm:10.0.6" +"react-toastify@npm:^11.0.2": + version: 11.0.2 + resolution: "react-toastify@npm:11.0.2" dependencies: - clsx: ^2.1.0 + clsx: ^2.1.1 peerDependencies: - react: ">=18" - react-dom: ">=18" - checksum: 89fa24718eba0800e2bc1f88121a6e119efd87df26344d5b3c86442d4a13fbd65b67932e01bd6442758f4fe3f5eca6c8fc80c1dfb51c8dc2a4ec06bdaf9762da + react: ^18 || ^19 + react-dom: ^18 || ^19 + checksum: b951638b517e110f09a60f8164d759d29d480132832d574a57b5724ed6887ec728401f6fe9bf00d4a70ec5edb5a7871fc45f18ddeffdecf677b1dbbdddc55b2c languageName: node linkType: hard @@ -10246,17 +10299,19 @@ __metadata: languageName: node linkType: hard -"reflect.getprototypeof@npm:^1.0.4": - version: 1.0.4 - resolution: "reflect.getprototypeof@npm:1.0.4" +"reflect.getprototypeof@npm:^1.0.6, reflect.getprototypeof@npm:^1.0.8, reflect.getprototypeof@npm:^1.0.9": + version: 1.0.9 + resolution: "reflect.getprototypeof@npm:1.0.9" dependencies: - call-bind: ^1.0.2 - define-properties: ^1.2.0 - es-abstract: ^1.22.1 - get-intrinsic: ^1.2.1 - globalthis: ^1.0.3 - which-builtin-type: ^1.1.3 - checksum: 16e2361988dbdd23274b53fb2b1b9cefeab876c3941a2543b4cadac6f989e3db3957b07a44aac46cfceb3e06e2871785ec2aac992d824f76292f3b5ee87f66f2 + call-bind: ^1.0.8 + define-properties: ^1.2.1 + dunder-proto: ^1.0.1 + es-abstract: ^1.23.6 + es-errors: ^1.3.0 + get-intrinsic: ^1.2.6 + gopd: ^1.2.0 + which-builtin-type: ^1.2.1 + checksum: 280cfdb1ba29d838440731ccea877431ec41415783dff7845d5f026c9923a71165a00e56ebd21050cec31e9c39e2e3620d6077ad3025d3782ede8b47d14ef8ab languageName: node linkType: hard @@ -10276,15 +10331,15 @@ __metadata: languageName: node linkType: hard -"regexp.prototype.flags@npm:^1.4.3, regexp.prototype.flags@npm:^1.5.2": - version: 1.5.2 - resolution: "regexp.prototype.flags@npm:1.5.2" +"regexp.prototype.flags@npm:^1.4.3, regexp.prototype.flags@npm:^1.5.3": + version: 1.5.3 + resolution: "regexp.prototype.flags@npm:1.5.3" dependencies: - call-bind: ^1.0.6 + call-bind: ^1.0.7 define-properties: ^1.2.1 es-errors: ^1.3.0 - set-function-name: ^2.0.1 - checksum: d7f333667d5c564e2d7a97c56c3075d64c722c9bb51b2b4df6822b2e8096d623a5e63088fb4c83df919b6951ef8113841de8b47de7224872fa6838bc5d8a7d64 + set-function-name: ^2.0.2 + checksum: 83ff0705b837f7cb6d664010a11642250f36d3f642263dd0f3bdfe8f150261aa7b26b50ee97f21c1da30ef82a580bb5afedbef5f45639d69edaafbeac9bbb0ed languageName: node linkType: hard @@ -10621,10 +10676,10 @@ __metadata: languageName: node linkType: hard -"rrweb-cssom@npm:^0.7.1": - version: 0.7.1 - resolution: "rrweb-cssom@npm:0.7.1" - checksum: 62e410ddbaaba6abc196c3bbfa8de4952e0a134d9f2b454ee293039bf9931322d806e14d52ed122a5c2bd332a868b9da2e99358fb6232c33758b5ede86d992c8 +"rrweb-cssom@npm:^0.8.0": + version: 0.8.0 + resolution: "rrweb-cssom@npm:0.8.0" + checksum: b84912cd1fbab9c972bf3fd5ca27b492efb442cacb23b6fd5a5ef6508572a91e411d325692609bf758865bc38a01b876e343c552d0e2ae87d0ff9907d96ef622 languageName: node linkType: hard @@ -10637,15 +10692,16 @@ __metadata: languageName: node linkType: hard -"safe-array-concat@npm:^1.1.2": - version: 1.1.2 - resolution: "safe-array-concat@npm:1.1.2" +"safe-array-concat@npm:^1.1.3": + version: 1.1.3 + resolution: "safe-array-concat@npm:1.1.3" dependencies: - call-bind: ^1.0.7 - get-intrinsic: ^1.2.4 - has-symbols: ^1.0.3 + call-bind: ^1.0.8 + call-bound: ^1.0.2 + get-intrinsic: ^1.2.6 + has-symbols: ^1.1.0 isarray: ^2.0.5 - checksum: a3b259694754ddfb73ae0663829e396977b99ff21cbe8607f35a469655656da8e271753497e59da8a7575baa94d2e684bea3e10ddd74ba046c0c9b4418ffa0c4 + checksum: 00f6a68140e67e813f3ad5e73e6dedcf3e42a9fa01f04d44b0d3f7b1f4b257af876832a9bfc82ac76f307e8a6cc652e3cf95876048a26cbec451847cf6ae3707 languageName: node linkType: hard @@ -10656,14 +10712,14 @@ __metadata: languageName: node linkType: hard -"safe-regex-test@npm:^1.0.3": - version: 1.0.3 - resolution: "safe-regex-test@npm:1.0.3" +"safe-regex-test@npm:^1.0.3, safe-regex-test@npm:^1.1.0": + version: 1.1.0 + resolution: "safe-regex-test@npm:1.1.0" dependencies: - call-bind: ^1.0.6 + call-bound: ^1.0.2 es-errors: ^1.3.0 - is-regex: ^1.1.4 - checksum: 6c7d392ff1ae7a3ae85273450ed02d1d131f1d2c76e177d6b03eb88e6df8fa062639070e7d311802c1615f351f18dc58f9454501c58e28d5ffd9b8f502ba6489 + is-regex: ^1.2.1 + checksum: 3c809abeb81977c9ed6c869c83aca6873ea0f3ab0f806b8edbba5582d51713f8a6e9757d24d2b4b088f563801475ea946c8e77e7713e8c65cdd02305b6caedab languageName: node linkType: hard @@ -10674,9 +10730,9 @@ __metadata: languageName: node linkType: hard -"sanitize-html@npm:^2.13.1": - version: 2.13.1 - resolution: "sanitize-html@npm:2.13.1" +"sanitize-html@npm:^2.14.0": + version: 2.14.0 + resolution: "sanitize-html@npm:2.14.0" dependencies: deepmerge: ^4.2.2 escape-string-regexp: ^4.0.0 @@ -10684,13 +10740,13 @@ __metadata: is-plain-object: ^5.0.0 parse-srcset: ^1.0.2 postcss: ^8.3.11 - checksum: 645381375fcb9c70070644b02538f1d43d35db6c9761eba32ec5f0ea919fdc70aa19e186ae949e6e21de767cbf11ced3e6a31b322a6c705593dc9a902a257d7a + checksum: e8eb9ac1bd4d5d41cfbe647c506bdecaebb19932dc9acd044e6322a31ebdf2abc43213384d518f855d19b54782e136f1aa14b0e1ac79ffc9bdea9d47d2d5a812 languageName: node linkType: hard -"sass@npm:^1.81.0": - version: 1.81.0 - resolution: "sass@npm:1.81.0" +"sass@npm:^1.83.1": + version: 1.83.1 + resolution: "sass@npm:1.83.1" dependencies: "@parcel/watcher": ^2.4.1 chokidar: ^4.0.0 @@ -10701,7 +10757,7 @@ __metadata: optional: true bin: sass: sass.js - checksum: 93db5b342c3b0449af2b08123ed4c0793643bd3a30f78e4e0686a1aa991ad640e0d9bc8da09aa5d7ff313bbd317b3be9c827cca60fb33b07d9f4b14b001eccfe + checksum: 367a9f270c74a9ad2851955e1cf5b2a05e57d27aec4bf054be1da48eb49858076467b65ec180d8c4392b5c55c0f4d4ba644855f985652ffca15d68a20641d5e0 languageName: node linkType: hard @@ -10773,7 +10829,7 @@ __metadata: languageName: node linkType: hard -"set-function-length@npm:^1.2.1": +"set-function-length@npm:^1.2.2": version: 1.2.2 resolution: "set-function-length@npm:1.2.2" dependencies: @@ -10787,7 +10843,7 @@ __metadata: languageName: node linkType: hard -"set-function-name@npm:^2.0.1, set-function-name@npm:^2.0.2": +"set-function-name@npm:^2.0.2": version: 2.0.2 resolution: "set-function-name@npm:2.0.2" dependencies: @@ -10845,15 +10901,51 @@ __metadata: languageName: node linkType: hard -"side-channel@npm:^1.0.4, side-channel@npm:^1.0.6": - version: 1.0.6 - resolution: "side-channel@npm:1.0.6" +"side-channel-list@npm:^1.0.0": + version: 1.0.0 + resolution: "side-channel-list@npm:1.0.0" dependencies: - call-bind: ^1.0.7 es-errors: ^1.3.0 - get-intrinsic: ^1.2.4 - object-inspect: ^1.13.1 - checksum: bfc1afc1827d712271453e91b7cd3878ac0efd767495fd4e594c4c2afaa7963b7b510e249572bfd54b0527e66e4a12b61b80c061389e129755f34c493aad9b97 + object-inspect: ^1.13.3 + checksum: 603b928997abd21c5a5f02ae6b9cc36b72e3176ad6827fab0417ead74580cc4fb4d5c7d0a8a2ff4ead34d0f9e35701ed7a41853dac8a6d1a664fcce1a044f86f + languageName: node + linkType: hard + +"side-channel-map@npm:^1.0.1": + version: 1.0.1 + resolution: "side-channel-map@npm:1.0.1" + dependencies: + call-bound: ^1.0.2 + es-errors: ^1.3.0 + get-intrinsic: ^1.2.5 + object-inspect: ^1.13.3 + checksum: 42501371cdf71f4ccbbc9c9e2eb00aaaab80a4c1c429d5e8da713fd4d39ef3b8d4a4b37ed4f275798a65260a551a7131fd87fe67e922dba4ac18586d6aab8b06 + languageName: node + linkType: hard + +"side-channel-weakmap@npm:^1.0.2": + version: 1.0.2 + resolution: "side-channel-weakmap@npm:1.0.2" + dependencies: + call-bound: ^1.0.2 + es-errors: ^1.3.0 + get-intrinsic: ^1.2.5 + object-inspect: ^1.13.3 + side-channel-map: ^1.0.1 + checksum: a815c89bc78c5723c714ea1a77c938377ea710af20d4fb886d362b0d1f8ac73a17816a5f6640f354017d7e292a43da9c5e876c22145bac00b76cfb3468001736 + languageName: node + linkType: hard + +"side-channel@npm:^1.0.4, side-channel@npm:^1.1.0": + version: 1.1.0 + resolution: "side-channel@npm:1.1.0" + dependencies: + es-errors: ^1.3.0 + object-inspect: ^1.13.3 + side-channel-list: ^1.0.0 + side-channel-map: ^1.0.1 + side-channel-weakmap: ^1.0.2 + checksum: bf73d6d6682034603eb8e99c63b50155017ed78a522d27c2acec0388a792c3ede3238b878b953a08157093b85d05797217d270b7666ba1f111345fbe933380ff languageName: node linkType: hard @@ -11039,6 +11131,13 @@ __metadata: languageName: node linkType: hard +"stable-hash@npm:^0.0.4": + version: 0.0.4 + resolution: "stable-hash@npm:0.0.4" + checksum: 21c039d21c1cb739cf8342561753a5e007cb95ea682ccd452e76310bbb9c6987a89de8eda023e320b019f3e4691aabda75079cdbb7dadf7ab9013e931f2f23cd + languageName: node + linkType: hard + "stackback@npm:0.0.2": version: 0.0.2 resolution: "stackback@npm:0.0.2" @@ -11069,10 +11168,12 @@ __metadata: languageName: node linkType: hard -"storybook-addon-remix-react-router@npm:^3.0.2": - version: 3.0.2 - resolution: "storybook-addon-remix-react-router@npm:3.0.2" +"storybook-addon-remix-react-router@npm:^4.0.1": + version: 4.0.1 + resolution: "storybook-addon-remix-react-router@npm:4.0.1" dependencies: + "@mjackson/form-data-parser": ^0.4.0 + "@storybook/theming": ^8.0.0 compare-versions: ^6.0.0 react-inspector: 6.0.2 peerDependencies: @@ -11083,15 +11184,15 @@ __metadata: "@storybook/manager-api": ^8.0.0 "@storybook/preview-api": ^8.0.0 "@storybook/theming": ^8.0.0 - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 - react-router-dom: ^6.4.0 || ^7.0.0 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 + react-router: ^7.0.2 peerDependenciesMeta: react: optional: true react-dom: optional: true - checksum: 725ca79a1050a2141a0bb60e5c25f405a39f6a90be31d7ccecb08a1edda1bd9afa4f4829e71217461a0084aaab8db333ca9f4a1a1169de3ef0d161fdedc170ab + checksum: 59f0be5e6d80fac1972c5365add9721fb162f0b63ef4429cde93548808f478aaa4f6ec09a0a7083776e902daa7b513e0b2fb012969662e3c3a464fab26775865 languageName: node linkType: hard @@ -11171,23 +11272,24 @@ __metadata: languageName: node linkType: hard -"string.prototype.matchall@npm:^4.0.11": - version: 4.0.11 - resolution: "string.prototype.matchall@npm:4.0.11" +"string.prototype.matchall@npm:^4.0.12": + version: 4.0.12 + resolution: "string.prototype.matchall@npm:4.0.12" dependencies: - call-bind: ^1.0.7 + call-bind: ^1.0.8 + call-bound: ^1.0.3 define-properties: ^1.2.1 - es-abstract: ^1.23.2 + es-abstract: ^1.23.6 es-errors: ^1.3.0 es-object-atoms: ^1.0.0 - get-intrinsic: ^1.2.4 - gopd: ^1.0.1 - has-symbols: ^1.0.3 - internal-slot: ^1.0.7 - regexp.prototype.flags: ^1.5.2 + get-intrinsic: ^1.2.6 + gopd: ^1.2.0 + has-symbols: ^1.1.0 + internal-slot: ^1.1.0 + regexp.prototype.flags: ^1.5.3 set-function-name: ^2.0.2 - side-channel: ^1.0.6 - checksum: 6ac6566ed065c0c8489c91156078ca077db8ff64d683fda97ae652d00c52dfa5f39aaab0a710d8243031a857fd2c7c511e38b45524796764d25472d10d7075ae + side-channel: ^1.1.0 + checksum: 98a09d6af91bfc6ee25556f3d7cd6646d02f5f08bda55d45528ed273d266d55a71af7291fe3fc76854deffb9168cc1a917d0b07a7d5a178c7e9537c99e6d2b57 languageName: node linkType: hard @@ -11212,26 +11314,30 @@ __metadata: languageName: node linkType: hard -"string.prototype.trim@npm:^1.2.9": - version: 1.2.9 - resolution: "string.prototype.trim@npm:1.2.9" +"string.prototype.trim@npm:^1.2.10": + version: 1.2.10 + resolution: "string.prototype.trim@npm:1.2.10" dependencies: - call-bind: ^1.0.7 + call-bind: ^1.0.8 + call-bound: ^1.0.2 + define-data-property: ^1.1.4 define-properties: ^1.2.1 - es-abstract: ^1.23.0 + es-abstract: ^1.23.5 es-object-atoms: ^1.0.0 - checksum: ea2df6ec1e914c9d4e2dc856fa08228e8b1be59b59e50b17578c94a66a176888f417264bb763d4aac638ad3b3dad56e7a03d9317086a178078d131aa293ba193 + has-property-descriptors: ^1.0.2 + checksum: 87659cd8561237b6c69f5376328fda934693aedde17bb7a2c57008e9d9ff992d0c253a391c7d8d50114e0e49ff7daf86a362f7961cf92f7564cd01342ca2e385 languageName: node linkType: hard -"string.prototype.trimend@npm:^1.0.8": - version: 1.0.8 - resolution: "string.prototype.trimend@npm:1.0.8" +"string.prototype.trimend@npm:^1.0.8, string.prototype.trimend@npm:^1.0.9": + version: 1.0.9 + resolution: "string.prototype.trimend@npm:1.0.9" dependencies: - call-bind: ^1.0.7 + call-bind: ^1.0.8 + call-bound: ^1.0.2 define-properties: ^1.2.1 es-object-atoms: ^1.0.0 - checksum: cc3bd2de08d8968a28787deba9a3cb3f17ca5f9f770c91e7e8fa3e7d47f079bad70fadce16f05dda9f261788be2c6e84a942f618c3bed31e42abc5c1084f8dfd + checksum: cb86f639f41d791a43627784be2175daa9ca3259c7cb83e7a207a729909b74f2ea0ec5d85de5761e6835e5f443e9420c6ff3f63a845378e4a61dd793177bc287 languageName: node linkType: hard @@ -11612,6 +11718,15 @@ __metadata: languageName: node linkType: hard +"ts-api-utils@npm:^2.0.0": + version: 2.0.0 + resolution: "ts-api-utils@npm:2.0.0" + peerDependencies: + typescript: ">=4.8.4" + checksum: f16f3e4e3308e7ad7ccf0bec3e0cb2e06b46c2d6919c40b6439e37912409c72f14340d231343b2b1b8cc17c2b8b01c5f2418690ea788312db6ca4e72cf2df6d8 + languageName: node + linkType: hard + "ts-dedent@npm:^2.0.0, ts-dedent@npm:^2.2.0": version: 2.2.0 resolution: "ts-dedent@npm:2.2.0" @@ -11747,91 +11862,90 @@ __metadata: languageName: node linkType: hard -"typed-array-buffer@npm:^1.0.2": - version: 1.0.2 - resolution: "typed-array-buffer@npm:1.0.2" +"typed-array-buffer@npm:^1.0.3": + version: 1.0.3 + resolution: "typed-array-buffer@npm:1.0.3" dependencies: - call-bind: ^1.0.7 + call-bound: ^1.0.3 es-errors: ^1.3.0 - is-typed-array: ^1.1.13 - checksum: 02ffc185d29c6df07968272b15d5319a1610817916ec8d4cd670ded5d1efe72901541ff2202fcc622730d8a549c76e198a2f74e312eabbfb712ed907d45cbb0b + is-typed-array: ^1.1.14 + checksum: 3fb91f0735fb413b2bbaaca9fabe7b8fc14a3fa5a5a7546bab8a57e755be0e3788d893195ad9c2b842620592de0e68d4c077d4c2c41f04ec25b8b5bb82fa9a80 languageName: node linkType: hard -"typed-array-byte-length@npm:^1.0.1": - version: 1.0.1 - resolution: "typed-array-byte-length@npm:1.0.1" +"typed-array-byte-length@npm:^1.0.3": + version: 1.0.3 + resolution: "typed-array-byte-length@npm:1.0.3" dependencies: - call-bind: ^1.0.7 + call-bind: ^1.0.8 for-each: ^0.3.3 - gopd: ^1.0.1 - has-proto: ^1.0.3 - is-typed-array: ^1.1.13 - checksum: f65e5ecd1cf76b1a2d0d6f631f3ea3cdb5e08da106c6703ffe687d583e49954d570cc80434816d3746e18be889ffe53c58bf3e538081ea4077c26a41055b216d + gopd: ^1.2.0 + has-proto: ^1.2.0 + is-typed-array: ^1.1.14 + checksum: cda9352178ebeab073ad6499b03e938ebc30c4efaea63a26839d89c4b1da9d2640b0d937fc2bd1f049eb0a38def6fbe8a061b601292ae62fe079a410ce56e3a6 languageName: node linkType: hard -"typed-array-byte-offset@npm:^1.0.2": - version: 1.0.2 - resolution: "typed-array-byte-offset@npm:1.0.2" +"typed-array-byte-offset@npm:^1.0.4": + version: 1.0.4 + resolution: "typed-array-byte-offset@npm:1.0.4" dependencies: available-typed-arrays: ^1.0.7 - call-bind: ^1.0.7 + call-bind: ^1.0.8 for-each: ^0.3.3 - gopd: ^1.0.1 - has-proto: ^1.0.3 - is-typed-array: ^1.1.13 - checksum: c8645c8794a621a0adcc142e0e2c57b1823bbfa4d590ad2c76b266aa3823895cf7afb9a893bf6685e18454ab1b0241e1a8d885a2d1340948efa4b56add4b5f67 + gopd: ^1.2.0 + has-proto: ^1.2.0 + is-typed-array: ^1.1.15 + reflect.getprototypeof: ^1.0.9 + checksum: 670b7e6bb1d3c2cf6160f27f9f529e60c3f6f9611c67e47ca70ca5cfa24ad95415694c49d1dbfeda016d3372cab7dfc9e38c7b3e1bb8d692cae13a63d3c144d7 languageName: node linkType: hard -"typed-array-length@npm:^1.0.6": - version: 1.0.6 - resolution: "typed-array-length@npm:1.0.6" +"typed-array-length@npm:^1.0.7": + version: 1.0.7 + resolution: "typed-array-length@npm:1.0.7" dependencies: call-bind: ^1.0.7 for-each: ^0.3.3 gopd: ^1.0.1 - has-proto: ^1.0.3 is-typed-array: ^1.1.13 possible-typed-array-names: ^1.0.0 - checksum: f0315e5b8f0168c29d390ff410ad13e4d511c78e6006df4a104576844812ee447fcc32daab1f3a76c9ef4f64eff808e134528b5b2439de335586b392e9750e5c + reflect.getprototypeof: ^1.0.6 + checksum: deb1a4ffdb27cd930b02c7030cb3e8e0993084c643208e52696e18ea6dd3953dfc37b939df06ff78170423d353dc8b10d5bae5796f3711c1b3abe52872b3774c languageName: node linkType: hard -"typescript-eslint@npm:^8.16.0": - version: 8.16.0 - resolution: "typescript-eslint@npm:8.16.0" +"typescript-eslint@npm:^8.19.0": + version: 8.19.1 + resolution: "typescript-eslint@npm:8.19.1" dependencies: - "@typescript-eslint/eslint-plugin": 8.16.0 - "@typescript-eslint/parser": 8.16.0 - "@typescript-eslint/utils": 8.16.0 + "@typescript-eslint/eslint-plugin": 8.19.1 + "@typescript-eslint/parser": 8.19.1 + "@typescript-eslint/utils": 8.19.1 peerDependencies: eslint: ^8.57.0 || ^9.0.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: e8cb50761b9d216158b3738a745adca633dea8fc870e9f26a98979bc22e00bfb5626220f0321e72ad570b6307fb5c9b88bbf8cdda916c931dee9689ac8aa815c + typescript: ">=4.8.4 <5.8.0" + checksum: 60d22b3c2378c56749f48df3b154a6c8645c25968f16c5f4517bbca2f182178623b085190cc8475641e09ee34f9211d5c126c89083f822b07ae8ab17bba2097d languageName: node linkType: hard -"typescript@npm:^5.7.2": - version: 5.7.2 - resolution: "typescript@npm:5.7.2" +"typescript@npm:^5.7.3": + version: 5.7.3 + resolution: "typescript@npm:5.7.3" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: b55300c4cefee8ee380d14fa9359ccb41ff8b54c719f6bc49b424899d662a5ce62ece390ce769568c7f4d14af844085255e63788740084444eb12ef423b13433 + checksum: 6c38b1e989918e576f0307e6ee013522ea480dfce5f3ca85c9b2d8adb1edeffd37f4f30cd68de0c38a44563d12ba922bdb7e36aa2dac9c51de5d561e6e9a2e9c languageName: node linkType: hard -"typescript@patch:typescript@^5.7.2#~builtin": - version: 5.7.2 - resolution: "typescript@patch:typescript@npm%3A5.7.2#~builtin::version=5.7.2&hash=14eedb" +"typescript@patch:typescript@^5.7.3#~builtin": + version: 5.7.3 + resolution: "typescript@patch:typescript@npm%3A5.7.3#~builtin::version=5.7.3&hash=14eedb" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 803430c6da2ba73c25a21880d8d4f08a56d9d2444e6db2ea949ac4abceeece8e4a442b7b9b585db7d8a0b47ebda2060e45fe8ee8b8aca23e27ec1d4844987ee6 + checksum: 633cd749d6cd7bc842c6b6245847173bba99742a60776fae3c0fbcc0d1733cd51a733995e5f4dadd8afb0e64e57d3c7dbbeae953a072ee303940eca69e22f311 languageName: node linkType: hard @@ -11858,15 +11972,15 @@ __metadata: languageName: node linkType: hard -"unbox-primitive@npm:^1.0.2": - version: 1.0.2 - resolution: "unbox-primitive@npm:1.0.2" +"unbox-primitive@npm:^1.1.0": + version: 1.1.0 + resolution: "unbox-primitive@npm:1.1.0" dependencies: - call-bind: ^1.0.2 + call-bound: ^1.0.3 has-bigints: ^1.0.2 - has-symbols: ^1.0.3 - which-boxed-primitive: ^1.0.2 - checksum: b7a1cf5862b5e4b5deb091672ffa579aa274f648410009c81cca63fed3b62b610c4f3b773f912ce545bb4e31edc3138975b5bc777fc6e4817dca51affb6380e9 + has-symbols: ^1.1.0 + which-boxed-primitive: ^1.1.1 + checksum: 729f13b84a5bfa3fead1d8139cee5c38514e63a8d6a437819a473e241ba87eeb593646568621c7fc7f133db300ef18d65d1a5a60dc9c7beb9000364d93c581df languageName: node linkType: hard @@ -11884,10 +11998,10 @@ __metadata: languageName: node linkType: hard -"undici@npm:~6.20.1": - version: 6.20.1 - resolution: "undici@npm:6.20.1" - checksum: 3bb1405b406fa0e913ff4ec6fd310c9b4d950b7064ba5949b2f616c1f13070d26f5558aefb4b56b2eafb555925443ce44cb801e143d2417ecf12ddf8d5c05cf6 +"undici@npm:^6.20.1": + version: 6.21.0 + resolution: "undici@npm:6.21.0" + checksum: bc2eb26c4b010a4f816314d48d4529f62b1116405097b2c5f0ac68247c56049a857d11a9f05b237818f04ce4f51d6f5e8d6fcc6aae2ab816c2b7318a9706727c languageName: node linkType: hard @@ -12143,12 +12257,12 @@ __metadata: languageName: node linkType: hard -"uuid@npm:^11.0.3": - version: 11.0.3 - resolution: "uuid@npm:11.0.3" +"uuid@npm:^11.0.5": + version: 11.0.5 + resolution: "uuid@npm:11.0.5" bin: uuid: dist/esm/bin/uuid - checksum: 646181c77e8b8df9bd07254faa703943e1c4d5ccde7d080312edf12f443f6c5750801fd9b27bf2e628594182165e6b1b880c0382538f7eca00b26622203741dc + checksum: 8a8ed824c77ccc9387eed3049e75268a862379f0d41222716020743c438f31e9acfbe6495bd4cb1a7727c91fcf5ae20be40b306826a62c96f9ff42db48e8ed93 languageName: node linkType: hard @@ -12354,11 +12468,11 @@ __metadata: languageName: node linkType: hard -"vite@npm:^6.0.3": - version: 6.0.3 - resolution: "vite@npm:6.0.3" +"vite@npm:^6.0.7": + version: 6.0.7 + resolution: "vite@npm:6.0.7" dependencies: - esbuild: ^0.24.0 + esbuild: ^0.24.2 fsevents: ~2.3.3 postcss: ^8.4.49 rollup: ^4.23.0 @@ -12402,7 +12516,7 @@ __metadata: optional: true bin: vite: bin/vite.js - checksum: b6738c1f78dbd58bc4d56cb3aba96d4fabc095c61633bbeff8778fd5ab72c4040eda2609a10d4163553b52b5481ed2f8bb6eba862798ed8b8320d60d5d29a4e6 + checksum: 0a948bcd33cf1891a1079ccea6d7e2d1e030ed5d1ad86c9de41a5cb2935da50f77ef699a57ea12fa4a332d9def5494e80d75ea6504758d9d1d9a139f3c1c7fbe languageName: node linkType: hard @@ -12622,6 +12736,16 @@ __metadata: languageName: node linkType: hard +"whatwg-url@npm:^14.1.0": + version: 14.1.0 + resolution: "whatwg-url@npm:14.1.0" + dependencies: + tr46: ^5.0.0 + webidl-conversions: ^7.0.0 + checksum: e429d1d2a5fc1b7886d9343f5b03d91201a9a32726b13e48a7fb943cf94c276771f6aa648337ae520484deb25b657ce6ad19a90dfca0d2d1c9596e21b438e3a0 + languageName: node + linkType: hard + "whatwg-url@npm:^5.0.0": version: 5.0.0 resolution: "whatwg-url@npm:5.0.0" @@ -12632,61 +12756,63 @@ __metadata: languageName: node linkType: hard -"which-boxed-primitive@npm:^1.0.2": - version: 1.0.2 - resolution: "which-boxed-primitive@npm:1.0.2" +"which-boxed-primitive@npm:^1.0.2, which-boxed-primitive@npm:^1.1.0, which-boxed-primitive@npm:^1.1.1": + version: 1.1.1 + resolution: "which-boxed-primitive@npm:1.1.1" dependencies: - is-bigint: ^1.0.1 - is-boolean-object: ^1.1.0 - is-number-object: ^1.0.4 - is-string: ^1.0.5 - is-symbol: ^1.0.3 - checksum: 53ce774c7379071729533922adcca47220228405e1895f26673bbd71bdf7fb09bee38c1d6399395927c6289476b5ae0629863427fd151491b71c4b6cb04f3a5e + is-bigint: ^1.1.0 + is-boolean-object: ^1.2.1 + is-number-object: ^1.1.1 + is-string: ^1.1.1 + is-symbol: ^1.1.1 + checksum: ee41d0260e4fd39551ad77700c7047d3d281ec03d356f5e5c8393fe160ba0db53ef446ff547d05f76ffabfd8ad9df7c9a827e12d4cccdbc8fccf9239ff8ac21e languageName: node linkType: hard -"which-builtin-type@npm:^1.1.3": - version: 1.1.3 - resolution: "which-builtin-type@npm:1.1.3" +"which-builtin-type@npm:^1.2.1": + version: 1.2.1 + resolution: "which-builtin-type@npm:1.2.1" dependencies: - function.prototype.name: ^1.1.5 - has-tostringtag: ^1.0.0 + call-bound: ^1.0.2 + function.prototype.name: ^1.1.6 + has-tostringtag: ^1.0.2 is-async-function: ^2.0.0 - is-date-object: ^1.0.5 - is-finalizationregistry: ^1.0.2 + is-date-object: ^1.1.0 + is-finalizationregistry: ^1.1.0 is-generator-function: ^1.0.10 - is-regex: ^1.1.4 + is-regex: ^1.2.1 is-weakref: ^1.0.2 isarray: ^2.0.5 - which-boxed-primitive: ^1.0.2 - which-collection: ^1.0.1 - which-typed-array: ^1.1.9 - checksum: 43730f7d8660ff9e33d1d3f9f9451c4784265ee7bf222babc35e61674a11a08e1c2925019d6c03154fcaaca4541df43abe35d2720843b9b4cbcebdcc31408f36 + which-boxed-primitive: ^1.1.0 + which-collection: ^1.0.2 + which-typed-array: ^1.1.16 + checksum: 7a3617ba0e7cafb795f74db418df889867d12bce39a477f3ee29c6092aa64d396955bf2a64eae3726d8578440e26777695544057b373c45a8bcf5fbe920bf633 languageName: node linkType: hard -"which-collection@npm:^1.0.1": - version: 1.0.1 - resolution: "which-collection@npm:1.0.1" +"which-collection@npm:^1.0.1, which-collection@npm:^1.0.2": + version: 1.0.2 + resolution: "which-collection@npm:1.0.2" dependencies: - is-map: ^2.0.1 - is-set: ^2.0.1 - is-weakmap: ^2.0.1 - is-weakset: ^2.0.1 - checksum: c815bbd163107ef9cb84f135e6f34453eaf4cca994e7ba85ddb0d27cea724c623fae2a473ceccfd5549c53cc65a5d82692de418166df3f858e1e5dc60818581c + is-map: ^2.0.3 + is-set: ^2.0.3 + is-weakmap: ^2.0.2 + is-weakset: ^2.0.3 + checksum: c51821a331624c8197916598a738fc5aeb9a857f1e00d89f5e4c03dc7c60b4032822b8ec5696d28268bb83326456a8b8216344fb84270d18ff1d7628051879d9 languageName: node linkType: hard -"which-typed-array@npm:^1.1.14, which-typed-array@npm:^1.1.15, which-typed-array@npm:^1.1.2, which-typed-array@npm:^1.1.9": - version: 1.1.15 - resolution: "which-typed-array@npm:1.1.15" +"which-typed-array@npm:^1.1.16, which-typed-array@npm:^1.1.18, which-typed-array@npm:^1.1.2, which-typed-array@npm:^1.1.9": + version: 1.1.18 + resolution: "which-typed-array@npm:1.1.18" dependencies: available-typed-arrays: ^1.0.7 - call-bind: ^1.0.7 + call-bind: ^1.0.8 + call-bound: ^1.0.3 for-each: ^0.3.3 - gopd: ^1.0.1 + gopd: ^1.2.0 has-tostringtag: ^1.0.2 - checksum: 65227dcbfadf5677aacc43ec84356d17b5500cb8b8753059bb4397de5cd0c2de681d24e1a7bd575633f976a95f88233abfd6549c2105ef4ebd58af8aa1807c75 + checksum: d2feea7f51af66b3a240397aa41c796585033e1069f18e5b6d4cd3878538a1e7780596fd3ea9bf347c43d9e98e13be09b37d9ea3887cef29b11bc291fd47bb52 languageName: node linkType: hard @@ -12841,16 +12967,7 @@ __metadata: languageName: node linkType: hard -"yaml@npm:^2.0.0, yaml@npm:^2.2.2": - version: 2.5.0 - resolution: "yaml@npm:2.5.0" - bin: - yaml: bin.mjs - checksum: a116dca5c61641d9bf1f1016c6e71daeb1ed4915f5930ed237d45ab7a605aa5d92c332ff64879a6cd088cabede008c778774e3060ffeb4cd617d28088e4b2d83 - languageName: node - linkType: hard - -"yaml@npm:~2.6.1": +"yaml@npm:^2.0.0, yaml@npm:^2.2.2, yaml@npm:~2.6.1": version: 2.6.1 resolution: "yaml@npm:2.6.1" bin: diff --git a/operations/app/terraform/modules/init/key_vault.tf b/operations/app/terraform/modules/init/key_vault.tf index d8c1756ed29..36b69673f16 100644 --- a/operations/app/terraform/modules/init/key_vault.tf +++ b/operations/app/terraform/modules/init/key_vault.tf @@ -107,7 +107,7 @@ resource "azurerm_key_vault_access_policy" "init_tf" { key_vault_id = azurerm_key_vault.init[each.value].id tenant_id = data.azurerm_client_config.current.tenant_id // terraform-automation 5ab367bf-df15-45af-a027-47f95f2c75d8 - object_id = "4d81288c-27a3-4df8-b776-c9da8e688bc7" + object_id = "a58ee002-62c7-4a91-a2dc-4a837663aa00" key_permissions = [ "Create", diff --git a/operations/app/terraform/vars/demo/locals.tf b/operations/app/terraform/vars/demo/locals.tf index 52e3441efa8..72250bbb34a 100644 --- a/operations/app/terraform/vars/demo/locals.tf +++ b/operations/app/terraform/vars/demo/locals.tf @@ -26,7 +26,7 @@ locals { tf_secrets_vault = "pdh${local.init.environment}-keyvault${local.init.random_id}" } ad = { - terraform_object_id = "4d81288c-27a3-4df8-b776-c9da8e688bc7" + terraform_object_id = "a58ee002-62c7-4a91-a2dc-4a837663aa00" aad_object_keyvault_admin = "3c17896c-ff94-4298-a719-aaac248aa2c8" aad_group_postgres_admin = "f94409a9-12b1-4820-a1b6-e3e0a4fa282d" } diff --git a/operations/app/terraform/vars/prod/locals.tf b/operations/app/terraform/vars/prod/locals.tf index a64ee7953a8..78df2edc770 100644 --- a/operations/app/terraform/vars/prod/locals.tf +++ b/operations/app/terraform/vars/prod/locals.tf @@ -25,7 +25,7 @@ locals { tf_secrets_vault = "pdh${local.init.environment}-keyvault" } ad = { - terraform_object_id = "4d81288c-27a3-4df8-b776-c9da8e688bc7" + terraform_object_id = "a58ee002-62c7-4a91-a2dc-4a837663aa00" aad_object_keyvault_admin = "5c6a951e-a4c2-4890-b62c-0ed8179501bb" aad_group_postgres_admin = "c4031f1f-229c-4a8a-b3b9-23bae9dbf197" } diff --git a/operations/app/terraform/vars/staging/locals.tf b/operations/app/terraform/vars/staging/locals.tf index 47066309e34..3a221af96a7 100644 --- a/operations/app/terraform/vars/staging/locals.tf +++ b/operations/app/terraform/vars/staging/locals.tf @@ -25,7 +25,7 @@ locals { tf_secrets_vault = "pdh${local.init.environment}-keyvault" } ad = { - terraform_object_id = "4d81288c-27a3-4df8-b776-c9da8e688bc7" + terraform_object_id = "a58ee002-62c7-4a91-a2dc-4a837663aa00" aad_object_keyvault_admin = "b35a2a63-aeb2-438c-913b-bebeb821adfe" aad_group_postgres_admin = "c4031f1f-229c-4a8a-b3b9-23bae9dbf197" } diff --git a/operations/app/terraform/vars/test/locals.tf b/operations/app/terraform/vars/test/locals.tf index b229fad36f0..8ff6b711219 100644 --- a/operations/app/terraform/vars/test/locals.tf +++ b/operations/app/terraform/vars/test/locals.tf @@ -25,7 +25,7 @@ locals { tf_secrets_vault = "pdh${local.init.environment}-keyvault" } ad = { - terraform_object_id = "4d81288c-27a3-4df8-b776-c9da8e688bc7" + terraform_object_id = "a58ee002-62c7-4a91-a2dc-4a837663aa00" aad_object_keyvault_admin = "3c17896c-ff94-4298-a719-aaac248aa2c8" aad_group_postgres_admin = "f94409a9-12b1-4820-a1b6-e3e0a4fa282d" } diff --git a/prime-router/build.gradle.kts b/prime-router/build.gradle.kts index d489a8564d7..ad8ffb8bd27 100644 --- a/prime-router/build.gradle.kts +++ b/prime-router/build.gradle.kts @@ -75,7 +75,7 @@ val javaVersion = when (appJvmTarget) { } val ktorVersion = "2.3.12" val kotlinVersion by System.getProperties() -val jacksonVersion = "2.18.1" +val jacksonVersion = "2.18.2" jacoco.toolVersion = "0.8.12" // Local database information, first one wins: @@ -882,7 +882,7 @@ dependencies { implementation("org.apache.logging.log4j:log4j-slf4j2-impl:2.24.0") implementation("org.apache.logging.log4j:log4j-layout-template-json:2.24.0") implementation("org.apache.logging.log4j:log4j-api-kotlin:1.5.0") - implementation("io.github.oshai:kotlin-logging-jvm:7.0.0") + implementation("io.github.oshai:kotlin-logging-jvm:7.0.3") implementation("com.github.doyaaaaaken:kotlin-csv-jvm:1.10.0") implementation("tech.tablesaw:tablesaw-core:0.43.1") implementation("com.github.ajalt.clikt:clikt-jvm:4.4.0") @@ -914,16 +914,16 @@ dependencies { implementation("com.okta.jwt:okta-jwt-verifier:0.5.7") implementation("org.json:json:20240303") // DO NOT INCREMENT SSHJ to a newer version without first thoroughly testing it locally. - implementation("com.hierynomus:sshj:0.38.0") + implementation("com.hierynomus:sshj:0.39.0") implementation("com.jcraft:jsch:0.1.55") implementation("org.apache.poi:poi:5.3.0") implementation("org.apache.commons:commons-csv:1.12.0") implementation("org.apache.commons:commons-lang3:3.15.0") implementation("org.apache.commons:commons-text:1.12.0") implementation("commons-codec:commons-codec:1.17.1") - implementation("commons-io:commons-io:2.17.0") + implementation("commons-io:commons-io:2.18.0") implementation("org.postgresql:postgresql:42.7.4") - implementation("com.zaxxer:HikariCP:6.2.0") + implementation("com.zaxxer:HikariCP:6.2.1") implementation("org.flywaydb:flyway-core:10.21.0") implementation("org.flywaydb:flyway-database-postgresql:10.21.0") implementation("org.commonmark:commonmark:0.24.0") @@ -937,7 +937,7 @@ dependencies { implementation("com.cronutils:cron-utils:9.2.1") implementation("io.jsonwebtoken:jjwt-api:0.11.5") implementation("de.m3y.kformat:kformat:0.11") - implementation("io.github.java-diff-utils:java-diff-utils:4.11") + implementation("io.github.java-diff-utils:java-diff-utils:4.15") implementation("io.ktor:ktor-client-core:$ktorVersion") implementation("io.ktor:ktor-client-cio:$ktorVersion") implementation("io.ktor:ktor-client-apache:$ktorVersion") @@ -951,7 +951,7 @@ dependencies { implementation("org.apache.poi:poi:5.3.0") implementation("org.apache.poi:poi-ooxml:5.3.0") implementation("org.apache.commons:commons-compress:1.27.1") - implementation("commons-io:commons-io:2.17.0") + implementation("commons-io:commons-io:2.18.0") implementation("com.anyascii:anyascii:0.3.2") // force jsoup since skrapeit-html-parser@1.2.1+ has not updated implementation("org.jsoup:jsoup:1.18.1") @@ -979,7 +979,7 @@ dependencies { implementation("xalan:xalan:2.7.3") // validations - implementation("com.networknt:json-schema-validator:1.5.2") + implementation("com.networknt:json-schema-validator:1.5.4") implementation("io.konform:konform-jvm:0.4.0") runtimeOnly("com.okta.jwt:okta-jwt-verifier-impl:0.5.7") diff --git a/prime-router/docs/design/design/HL7v2-FHIR-Inventory.md b/prime-router/docs/design/design/HL7v2-FHIR-Inventory.md index 3a38116943d..f6bad801178 100644 --- a/prime-router/docs/design/design/HL7v2-FHIR-Inventory.md +++ b/prime-router/docs/design/design/HL7v2-FHIR-Inventory.md @@ -146,8 +146,7 @@ implementation differs from what is in the spreadsheets. ### PD1 -> Patient -- PD1.4 is deprecated in the HL7v2.7 and NIST HL7v2.5.1 specs. Further, the HAPI v2.7 model has set both fields to - NULLDT. Thus, this field is not being mapped. +- PD1.4 Backwards compatible in NIST. Needed for ETOR NBS use case. Mapped to Patient.generalPractitioner. ### PV1 -> Patient diff --git a/prime-router/docs/docs-deprecated/environment-provisioning.md b/prime-router/docs/docs-deprecated/environment-provisioning.md index 83d62558c67..f9460ae2533 100644 --- a/prime-router/docs/docs-deprecated/environment-provisioning.md +++ b/prime-router/docs/docs-deprecated/environment-provisioning.md @@ -6,7 +6,7 @@ Any adjustments to the infrastructure provisining process should be noted here s 2. [Trial Frontend Environments](#trial-frontend-environments) ## Azure Prerequisites -We assume the following infrastructure has already been deployed by CMS. +We assume the following infrastructure has already been deployed by CMS. - Resource Group for underlying infrastructure - Storage Account - Used to store the terraform tf state. - You will need to authenticate the az command line application using your SU account: @@ -42,14 +42,14 @@ Push (or merge) code into any of the following branches: > 1. Navigate to `demo` Terraform directory using one of the following methods: > * `terraform -chdir=operations/app/terraform/vars/demo` > * `operations/app/terraform/vars/demo terraform` -> +> > 2. Specify `-var-file` and `-backend-config` from the desired demo directory (demo1, demo2, or demo3) > * `-var-file=demo1/env.tfvars.json` > * `-backend-config=demo1/env.tfbackend` -> +> > 3. Target the `init` Terraform module to `apply` base resources (vnets, key vaults, etc.) > * `-target=module.init` -> +> > 4. After base resources are created, run `apply` without a target ### Specify environment & Terraform path @@ -84,11 +84,11 @@ echo "init complete" # Import access polices that are shared with init and key_vault modules terraform -chdir=$path import -var-file=$env/env.tfvars.json \ module.key_vault.azurerm_key_vault_access_policy.terraform_app_config_access_policy[0] \ -"/subscriptions/7d1e3999-6577-4cd5-b296-f518e5c8e677/resourceGroups/prime-data-hub-$env/providers/Microsoft.KeyVault/vaults/pdh$env-appconfigmt8/objectId/4d81288c-27a3-4df8-b776-c9da8e688bc7" +"/subscriptions/7d1e3999-6577-4cd5-b296-f518e5c8e677/resourceGroups/prime-data-hub-$env/providers/Microsoft.KeyVault/vaults/pdh$env-appconfigmt8/objectId/a58ee002-62c7-4a91-a2dc-4a837663aa00" terraform -chdir=$path import -var-file=$env/env.tfvars.json \ module.key_vault.azurerm_key_vault_access_policy.terraform_access_policy[0] \ -"/subscriptions/7d1e3999-6577-4cd5-b296-f518e5c8e677/resourceGroups/prime-data-hub-$env/providers/Microsoft.KeyVault/vaults/pdh$env-keyvaultmt8/objectId/4d81288c-27a3-4df8-b776-c9da8e688bc7" +"/subscriptions/7d1e3999-6577-4cd5-b296-f518e5c8e677/resourceGroups/prime-data-hub-$env/providers/Microsoft.KeyVault/vaults/pdh$env-keyvaultmt8/objectId/a58ee002-62c7-4a91-a2dc-4a837663aa00" for i in {1..3}; do \ terraform -chdir=$path apply \ diff --git a/prime-router/docs/onboarding-users/migrating-receivers.md b/prime-router/docs/migrating-users/migrating-receivers.md similarity index 95% rename from prime-router/docs/onboarding-users/migrating-receivers.md rename to prime-router/docs/migrating-users/migrating-receivers.md index 53f3bd07ab2..6d972ded4a1 100644 --- a/prime-router/docs/onboarding-users/migrating-receivers.md +++ b/prime-router/docs/migrating-users/migrating-receivers.md @@ -137,14 +137,14 @@ After updating the receiver to route messages to the UP it should look like this At the time this documentation was written the only sender onboarded to the UP is SimpleReport. Therefore, to test sending reports to STLTs we can only use reports generated from SimpleReport. The most up to date messages can be found here: -* [UP SR FHIR bundle](./samples/SimpleReport/SR_UP_02262024.fhir) -* [CP SR CSV message](./samples/SimpleReport/SR_CP_02262024.csv) +* [UP SR FHIR bundle](../onboarding-users/samples/SimpleReport/SR_UP_02262024.fhir) +* [CP SR CSV message](../onboarding-users/samples/SimpleReport/SR_CP_02262024.csv) However, they continue making updates to their messages so a more up-to-date message can be retrieved by following these instructions: [Simple Report Test data](#simple-report-test-data) Make sure to update the patient state or facility state to match the jurisdictional filter of the state being migrated. After deciding what message to use the following postman collections can be used to send reports using ReportStream's API as a Simple Report Covid and UP sender. -* [SimpleReport covid postman collection](./samples/SimpleReport/Simple%20Report%20Covid.postman_collection.json) -* [SimpleReport UP postman collection](./samples/SimpleReport/Simple%20Report%20UP.postman_collection.json) +* [SimpleReport covid postman collection](../onboarding-users/samples/SimpleReport/Simple%20Report%20Covid.postman_collection.json) +* [SimpleReport UP postman collection](../onboarding-users/samples/SimpleReport/Simple%20Report%20UP.postman_collection.json) Make sure to replace the Body request with a most up-to-date message if needed. The API will return a Submission Id and report Id that can be used to find the status of the submission by calling this API: @@ -181,6 +181,8 @@ If the receiver has any of the following settings enabled they will need a recei - useOrderingFacilityName not STANDARD - receivingOrganization - stripInvalidCharsRegex +- deidentify +- deidentifiedValue Examples on how to create and set-up a receiver schema can be found under `src/main/resources/hl7_mapping/receivers/STLTs` More information on how transforms in the UP work can be found in the [transform design doc](../design/design/transformations.md) @@ -228,7 +230,7 @@ Once we have data we can notify the STLT to start reviewing the messages. A quick and easy way to get test data to send to a STLT is by going into SimpleReport's test environment https://test.simplereport.gov. * Access can be requested on the [shared-simple-report-universal-pipeline](https://nava.slack.com/archives/C0411VC78DN) thread. * Instructions on how to send a test message can be found on this youtube playlist https://www.youtube.com/playlist?list=PL3U3nqqPGhab0sys3ombZmwOplRYlBOBF. -* The file [SR upload](./samples/SimpleReport/SR-UPLOAD.csv) can be used test sending reports through SimpleReport's CSV upload. +* The file [SR upload](../onboarding-users/samples/SimpleReport/SR-UPLOAD.csv) can be used test sending reports through SimpleReport's CSV upload. * To route the report to a specific STLT either the patient or facility state needs to updated to the STLT's jurisdiction. Keep in mind that if they are not updated the message might get routed to the incorrect STLT. * The report sent by SimpleReport can be found in the Azure BlobStorage. The UP message will be stored in the `receive/simple_report.fullelr` and the covid pipeline message will be stored in `receive/simple_report.default`. This message can be used locally to test any new sender or receiver transforms. * To access the blob storage. Microsoft Storage Explorer needs to be installed and login with your CDC SU credentials. @@ -243,12 +245,12 @@ Sometimes STLTs use the same SFTP server or REST endpoint for test and productio * A spreadsheet that keeps track of where to find a receiver's transport and their status can be found here: https://cdc.sharepoint.com/:x:/r/teams/ReportStream/_layouts/15/doc2.aspx?sourcedoc=%7B28EDE785-0FC9-4921-BCD0-B423F3C5E92A%7D&file=Receiver%20Staging%20Connection%20Test%20-%20Jan%202024.xlsx&action=default&mobileredirect=true * If the transport can't be found we'll need to get that information from the STLT during the kick-off call and request new credentials if necessary. -Once the STLT's transport has been found. It can be tested by following these instructions [How to Check Transport](./transport/how-to-check-transport.md) +Once the STLT's transport has been found. It can be tested by following these instructions [How to Check Transport](../onboarding-users/transport/how-to-check-transport.md) * Status returns "Network error": This probably means their SFTP server needs to be whitelisted. * Status returns anything related to credentials: This probably means the credentials were not created correctly or are not present. * Instructions on how to create credentials can be found here: - * [REST](./transport/rest.md) - * [SFTP](./transport/sftp.md) + * [REST](../onboarding-users/transport/rest.md) + * [SFTP](../onboarding-users/transport/sftp.md) ## How to check if STLT needs to be whitelisted diff --git a/prime-router/docs/onboarding-users/migration.md b/prime-router/docs/migrating-users/migration.md similarity index 100% rename from prime-router/docs/onboarding-users/migration.md rename to prime-router/docs/migrating-users/migration.md diff --git a/prime-router/docs/observability/azure-events.md b/prime-router/docs/observability/azure-events.md index 487bb61f758..5dcace3be8e 100644 --- a/prime-router/docs/observability/azure-events.md +++ b/prime-router/docs/observability/azure-events.md @@ -45,6 +45,77 @@ class MyService( } ``` +## Event properties +The following properties contain the metadata that can be queried for observability purposes. ++ submittedReportIds ++ parentReportId ++ childReportId ++ pipelineStepName ++ error ++ submittedReportIds ++ parentReportId ++ childReportId ++ topic ++ blobUrl ++ pipelineStepName ++ timestamp ++ submittedItemIndex ++ parentItemIndex ++ childItemIndex ++ sender ++ trackingId ++ queueMessage + +Additional Parameters ++ params.itemFormat ++ params.fileLength ++ params.requestParameters ++ params.senderIp ++ params.senderName ++ params.fileName ++ params.receiverName ++ params.transportType ++ params.processingError ++ params.validationProfile ++ params.enrichments[] ++ params.originalFormat ++ params.targetFormat ++ params.failingFilters ++ params.filterType + +`BundleDigestLabResult` (for test results) ++ orderingFacilityState ++ patientState [] ++ performerState [] ++ observationSummaries + +`BundleDigestTestOrder` (for test orders [ETOR use case]) ++ LabTestOrderedSummary + + +## Current custom events +| **Pipeline location** | **Event name** | +|---|---| +| Receive | REPORT_RECEIVED | +| Convert | REPORT_NOT_RECEIVABLE | +| Convert | REPORT_NOT_PROCESSABLE | +| Convert | ITEM_FAILED_VALIDATION | +| Convert | ITEM_ACCEPTED | +| Destination Filter | ITEM_NOT_ROUTED | +| Destination Filter | ITEM_ROUTED | +| Receiver Enrichment | ITEM_TRANSFORMED | +| Receiver Filter | ITEM_FILTER_FAILED | +| Translate | ITEM_TRANSFORMED | +| Batch | - | +| Send | ITEM_SENT | +| Send | REPORT_SENT | +| Send | REPORT_LAST_MILE_FAILURE | + +The PIPELINE_EXCEPTION event can be logged if any step within the pipeline fails or encounters a processing error. + +This information is also captured in [LucidChart]([url](https://lucidgov.app/lucidchart/89edc4c3-695b-4324-be8e-6556dd9fec95/edit?viewport_loc=-780%2C-396%2C2323%2C1267%2CxjIqI_OT3aNK&invitationId=inv_a44a9145-fc99-49ca-9053-a873937c7b23)) (requires login), which also denotes what properties are being logged for each custom event. +To see where in the pipeline these events sequentially occur, please refer to another [LucidChart diagram]([url](https://lucidgov.app/lucidchart/3820834e-a916-43d5-9575-0482c8e3f299/edit?viewport_loc=-608%2C-997%2C2973%2C1621%2CKYWo9OtDiKnx&invitationId=inv_db7796a6-a5ef-476b-b199-329581794844)). + ## How to query for events Events that are pushed to Azure can be found in the `customEvents` table in the log explorer. The properties defined in @@ -164,7 +235,7 @@ customEvents | mv-expand submittedReportIds | project childReportId=tostring(submittedReportIds)) on $left.reportId == $right.childReportId ``` -### Items not routed to States that we are connected to in the UP +### Items not routed to States that we are connected to in the UP (but we think they should be) ```kql let States = dynamic(["DC","CT", "NE","VA","MI","KY","WV","NC","GA","PA", "NJ","DE","OH","MS","NH","VT", "WA","IN","NM","PR","MH","TN","UT","WY","WI"]); customEvents @@ -176,3 +247,31 @@ customEvents | where not(Ordering_Facility_State in (States) or Performer_State in (States) or Patient_State in (States)) | project timestamp, Sender = customDimensions.sender, Ordering_Facility_State, Patient_State, Performer_State, Topic = customDimensions.topic, TrackingID = customDimensions.trackingId, customDimensions ``` +### Items that were routed by filtered out +```kql +customEvents +| where name == "ITEM_FILTER_FAILED" +| extend Receiver_Name = tostring(parse_json(tostring(customDimensions.params)).receiverName) +| extend Filter_Type = tostring(parse_json(tostring(customDimensions.params)).filterType) +| project timestamp, Receiver_Name, Filter_Type, customDimensions +``` +### Errors that did not trigger an exception +```kql +customEvents +| where name == "REPORT_NOT_RECEIVABLE" or name == "REPORT_NOT_PROCESSABLE" or name == "REPORT_NOT_PROCESSABLE" or name == "ITEM_FAILED_VALIDATION" or name == "REPORT_LAST_MILE_FAILURE" +``` +### Routed but not Sent, and did not trigger a Filter event (under construction, but functional) +```kql +customEvents +| where name == "ITEM_ROUTED" +| extend trackingId_ = tostring(customDimensions.trackingId) +| join kind=leftanti ( + customEvents + | where name == "ITEM_SENT" or name == "ITEM_FILTER_FAILED" + | extend trackingId_ = tostring(customDimensions.trackingId) + ) + on trackingId_ +| extend Receiver_Name = tostring(parse_json(tostring(customDimensions.params)).receiverName) +| project timestamp, Receiver_Name, customDimensions +``` +The four queries above were made into modules within the [UP Message Monitoring dashboard](https://portal.azure.com/#@cdc.onmicrosoft.com/dashboard/arm/subscriptions/7d1e3999-6577-4cd5-b296-f518e5c8e677/resourcegroups/prime-data-hub-test/providers/microsoft.portal/dashboards/9a35cfea-cebd-4c9e-9a63-32c5d510d528) in Azure (requires CDC login, see DevOps for additional permissions). diff --git a/prime-router/docs/onboarding-users/README.md b/prime-router/docs/onboarding-users/README.md index 96970552ead..12c1239299b 100644 --- a/prime-router/docs/onboarding-users/README.md +++ b/prime-router/docs/onboarding-users/README.md @@ -5,7 +5,7 @@ This section is a step by step walkthrough for an Engagement Engineer (not an ex Walkthrough for setting up a new sender/receiver with an Okta account The first step to onboarding a new organization to ReportStream is to set up their Okta Account. -- [Okta account creation](./okta-account-creation.md) +- [Okta account creation](okta/okta-account-creation.md) ## How to Onboard to ReportStream @@ -14,5 +14,5 @@ After setting up an Okta account for the receiver/sender the next step is to co sending or receiving data: - [Configuring a new sender](sender-onboarding/senders.md) -- [Configuring a new receiver](./receivers.md) -- [Migrating from the legacy pipeline](./migration.md) \ No newline at end of file +- [Configuring a new receiver](receiver-onboarding/receivers.md) +- [Migrating from the legacy pipeline](../migrating-users/migration.md) \ No newline at end of file diff --git a/prime-router/docs/onboarding-users/okta-account-creation.md b/prime-router/docs/onboarding-users/okta/okta-account-creation.md similarity index 100% rename from prime-router/docs/onboarding-users/okta-account-creation.md rename to prime-router/docs/onboarding-users/okta/okta-account-creation.md diff --git a/prime-router/docs/onboarding-users/receiver-onboarding/example-test-cases.xlsx b/prime-router/docs/onboarding-users/receiver-onboarding/example-test-cases.xlsx new file mode 100644 index 00000000000..5e670a81b43 Binary files /dev/null and b/prime-router/docs/onboarding-users/receiver-onboarding/example-test-cases.xlsx differ diff --git a/prime-router/docs/onboarding-users/receiver-onboarding/receiver-testing.md b/prime-router/docs/onboarding-users/receiver-onboarding/receiver-testing.md new file mode 100644 index 00000000000..a97629c28cf --- /dev/null +++ b/prime-router/docs/onboarding-users/receiver-onboarding/receiver-testing.md @@ -0,0 +1,296 @@ +# How to test receiver transforms,settings and filters + +Anytime a receiver transform, setting or filter is created or changed, it needs to be appropriately tested to ensure +that the change behaves as expected and no unintended changes are introduced. Since the transforms, settings and filters +all work together to create the final message sent to a receiver, integration testing where a report is submitted to the +ReportStream application and the final product as it would be sent to the receiver is compared to expected should be +performed on any change. + +## Testing + +### Testing Transforms +Basic testing on transforms can be performed using the fhirdata CLI command locally: + +Example: +``` +./prime fhirdata -i "@/c/user/some-file-location.fhir" -o "@/c/user/some-file-location.fhir" output-file.fhir -s "classpath:/metadata/fhir_transforms/senders/SimpleReport/simple-report-sender-transform.yml" --output-format FHIR + +Usage: prime fhirdata [] + + Process data into/from FHIR + +Options: + -i, --input-file= Input file to process + -o, --output-file= output file + --output-format=(HL7|FHIR) output format + --enrichment-schemas= comma separated enrichment schema name(s) from + current directory + --diff-hl7-output= when true, diff the the input HL7 with the + output, can only be used going HL7 -> FHIR -> + HL7 + -r, --receiver-schema= Receiver schema location. Required for HL7 + output. + --receiver-name= Name of the receiver settings to use + --org= Name of the org settings to use + --receiver-setting-env= Environment that specifies where to get the + receiver settings + -s, --sender-schema= Sender schema location + --input-schema= Mapping schema for input file + -h, --help Show this message and exit +``` +The CLI command will also display any errors or warnings that the transform is generating. Example: +"{"message":"Element sr-patient-second-given-name is updating a bundle property, but did not specify a value","thread":"main","timestamp":"2024-09-09T21:21:35.665Z","level":"WARN","logger":"gov.cdc.prime.router.fhirengine.translation.hl7.FhirTransformer"}" + +### Testing Settings +Certain receiver settings affect the message output. In the Universal Pipeline these settings are: + +- customerStatus + - Type: Custom + - Description: Status of receiver. If a receiver is set to "inactive" ReportStream will not route any messages to that receiver. + - Options: + - active + - inactive + - testing +- schemaName + - Type: String + - Description: the path to the schema/transform used for the receiver +- enrichmentSchemasNames + - Type: List of strings + - Description: the paths to schema(s) used to enrich the bundle before translating it to its final format +- timeZone + - Type: USTimeZone + - Description: The timezone for the receiver. This is different from the timezone in Timing, which controls the calculation of when and how often to send reports to the receiver.The timeZone for the receiver is the timezone they operate under and can convert date times in their data to if convertDateTimestoReceiverLocalTimes is set to "true" + - Options: + - PACIFIC("US/Pacific") + - MOUNTAIN("US/Mountain") + - ARIZONA("US/Arizona") + - CENTRAL("US/Central") + - EASTERN("US/Eastern") + - SAMOA("US/Samoa") + - HAWAII("US/Hawaii") + - EAST_INDIANA("US/East-Indiana") + - INDIANA_STARKE("US/Indiana-Starke") + - MICHIGAN("US/Michigan") + - CHAMORRO("Pacific/Guam") + - ALASKA("US/Alaska") + - UTC("UTC") +- dateTimeFormat + - Type: DateTimeFormat + - Description: the format to use for date and datetime values, either Offset or Local +- truncateHl7Fields + - Type: List of strings + - Description: List of HL7 fields to truncate to HL7 v2.5.1 specified max length. +- convertTimestampToDateTime + - Type: Boolean + - Description: converts all timestamps in messages to datetime format: YYYYMMDD +- convertDateTimesToReceiverLocalTime + - Type: Boolean + - Description: if set to "true" will convert all datetimes in messges to the timezone specified in timeZone setting +- useHighPrecisionHeaderDateTimeFormat + - Type: Boolean + - Description: sets batch and file header timestamps to format "YYYYMMDDHHMMSS.SSSS+/-ZZZZ" +- Type: + - Type: Custom + - Description: Defines what format the output message should be + - Options: + - HL7 + - FHIR + +There is another list of settings found in [migrating-receiver.md](docs/migrating-users/migrating-receivers.md) section 4 that modify messages on the *Covid Pipeline* only. +The functionality of these settings on the Universal Pipeline has been moved to receiver transforms. + +In order to test changing settings it is recommended that you create two copies of the receiver that you wish to change locally, one with the current settings and one without and compare the output. + +### Testing Filters +Filters will determine which messages get routed to receivers so it is important they are appropriately set up. Every filter in the Universal pipeline is made up of a list of fhirpath expressions that must evaluate to a boolean expression. +In order to check if your filter evaluates to a Boolean you can use the ./prime fhirdata CLI command + +example: + +``` +./prime fhirpath -i "@/c/user/some-file-location.fhir" + +Usage: prime fhirpath [] + + Input FHIR paths to be resolved using the input FHIR bundle + +Options: + -i, --input-file= Input file to process + -c, --constants= a constant in the form of key=value to be used in + FHIR Path. Option can be repeated. + -h, --help Show this message and exit +``` +This command will provide a prompt to input a fhirpath expression: +``` +$ ./prime fhirpath -i "@/c/user/some-file-location.fhir" +Using constants: + rsext='https://reportstream.cdc.gov/fhir/StructureDefinition/' + +Using the FHIR bundle in C:\Users\James.Gilmore\Desktop\test.fhir.txt... +Special commands: + !![FHIR path] - appends specified FHIR path to the end of the last path + quit, exit - exit the tool + reset - Sets %resource to Bundle + resource [=|:] [']['] - Sets %resource to a given FHIR path + +%resource = Bundle +Last path = +FHIR path> +``` +Inputting a fhirpath expression into the "FHIR path>" prompt location will return the type of the expression and return any fhir resources in the input file that meet the path criteria: +``` + ./prime fhirpath -i "C:\Users\James.Gilmore\Desktop\test.fhir.txt" +Using constants: + rsext='https://reportstream.cdc.gov/fhir/StructureDefinition/' + +Using the FHIR bundle in C:\Users\James.Gilmore\Desktop\test.fhir.txt... +Special commands: + !![FHIR path] - appends specified FHIR path to the end of the last path + quit, exit - exit the tool + reset - Sets %resource to Bundle + resource [=|:] [']['] - Sets %resource to a given FHIR path + +%resource = Bundle +Last path = "(Bundle.entry.resource.ofType(MessageHeader).meta.tag.where(system = 'http://terminology.hl7.org/CodeSystem/v2-0103').code = 'P')" +FHIR path> (Bundle.entry.ofType(Observation).code.coding.extension('https://reportstream.cdc.gov/fhir/StructureDefinition/condition-code').value.where(code in ('840539006')).exists()) +Primitive: BooleanType[false] +Number of results = 1 ---------------------------- +``` +Ensure that any filters used have a BooleanType or the results of the filter will be unexpected. All filters used in the Universal Pipeline are lists of fhirpath expressions that will be evaluated together +with the exception of the jurisdictional filter which is evaluated prior to any of the other filters. + +- jurisdictionalFilter + - list of fhirpath expressions which determines the messages that qualify for a given jurisdiction. If no jurisdictional filter is provided for a receiver, no messages will qualify for that receiver + - example: "(Bundle.entry.resource.ofType(ServiceRequest)[0].requester.resolve().organization.resolve().address.state = 'LA') or (Bundle.entry.resource.ofType(Patient).address.state = 'LA')" +- qualityFilter + - list of fhirpath expressions which determines if a given messages is of sufficient quality to route to a receiver. This is similar to the concept of message validation and will eventually likely be superceded + by a validation solution. These fhirpath expressions should all relate to the suitability of the message for the receivers needs. i.e. if a message doesn't have a patient date of birth it shouldn't be sent to a receiver. + - example: "Bundle.entry.resource.ofType(Patient).birthDate.exists()" +- routingFilter + - Similar in concept to a jurisdictional filter but on a more granular level. These expressions should all relate to some category or feature or the message that is not related to the message quality. i.e. a receiver + only wants final and corrected results not prelim results + - example: "Bundle.entry.resource.ofType(DiagnosticReport).where(status in 'final'|'corrected').exists() +- processingModeFilter + - List of fhirpath expressions that related to the processing mode code of the message. Can be used to separate test and production messages if needed + - example: "(Bundle.entry.resource.ofType(MessageHeader).meta.tag.where(system = 'http://terminology.hl7.org/CodeSystem/v2-0103').code = 'P')" +- conditionFilter + - List of fhirpath expressions which relate to which reportable conditions/tests a receiver will accept. Often uses a condition-code from the observation-mapping table in the db but does not have two. +There are two ways to use the conditionFilter. If the fhirpath expression starts with "%resource" the conditionFilter will "prune" any observations that evaluate to "false" for the expression. If the resource is explicitly stated like "Bundle.entry.resource.ofType(Observation)" +the filter will reject the entire message/Bundle if it evaluates to "false". + - example: "(Bundle.entry.ofType(Observation).code.coding.extension('https://reportstream.cdc.gov/fhir/StructureDefinition/condition-code').value.where(code in ('840539006')).exists())" + - example with pruning: "%resource.code.coding.extension('https://reportstream.cdc.gov/fhir/StructureDefinition/condition-code').value.where(code in ('840539006')).exists()" + The below filters are either used only in the covid pipeline or have no effective purpose in the Universal pipeline +- reverseTheQualityFilter (*do not use*) +- mappedConditionFilter (*do not use*) + +### Integration Testing + +When making changes to receiver settings or transforms it is important to update the integration tests. Integration tests +can be defined to use sender and receiver settings. Keep in mind a single message may not be sufficient to test all settings/transform elements +and multiple messages may need to be used for each transform/receiver. See testing plans and testing with receivers below for more information + +## Test plans and testing with receivers + +When a new receiver or a significant change is made to an existing receiver, it is important to thoroughly test with the +intended recipient. As part of this testing a test plan should be created to document the test cases performed and ensure +that all reasonably anticipated edge cases have been tested. + +### Testing Plans +A good testing plan needs to test every single receiver setting, filter and transform element to ensure that no unexpected data will make it to the receiver. The type of transform being performed will +determine how many messages you need to test to be sure that all transform cases are being covered. The following example can help identify how many and what type of messages you will need + +Example transform: + +```yaml +hl7Class: ca.uhn.hl7v2.model.v251.message.ORU_R01 + +extends: classpath:/metadata/hl7_mapping/ORU_R01/ORU_R01-base.yml + +elements: + +- name: test-receiving-application + condition: 'true' + value: [ '"TEST-DOH"' ] + hl7Spec: [ 'MSH-5-1' ] + +- name: test-patient-race-coding-system + resource: 'Bundle.entry.resource.ofType(Patient).extension("http://ibm.com/fhir/cdm/StructureDefinition/local-race-cd").value.coding' + condition: '%resource.code.exists()' + value: [ '%resource.system.getCodingSystemMapping()' ] + hl7Spec: [ '/PATIENT_RESULT/PATIENT/PID-10-3' ] + +- name: test-patient-county-codes + condition: 'Bundle.entry.resource.ofType(Patient).address.district.empty().not() and Bundle.entry.resource.ofType(Patient).address.state.empty().not()' + hl7Spec: [ '/PATIENT_RESULT/PATIENT/PID-11-9' ] + value: ["FIPSCountyLookup(Bundle.entry.resource.ofType(Patient).address.district,Bundle.entry.resource.ofType(Patient).address.state)[0]"] + +- name: test-patient-ethnicity-identifier-code + value: + - 'Bundle.entry.resource.ofType(Patient).extension(%`rsext-ethnic-group`).value.coding[0].code' + hl7Spec: [ '/PATIENT_RESULT/PATIENT/PID-22-1' ] + valueSet: + values: + H: 2135-2 + N: 2186-5 + +# Needed to convert HL7 timestamp to HL7 date for OBX-5 +- name: obx-value-dtm-dt + condition: '%context.extension(%`rsext-obx-observation`).extension.where(url = "OBX.2").value = "DT"' + value: [ '%resource.value.extension(%`rsext-hl7v2-date-time`).value.toString().replace("-","")' ] + hl7Spec: [ '%{hl7OBXField}-5' ] + +- name: test-specimen-source-site-text + condition: 'true' + value: [ 'Bundle.entry.resource.ofType(Specimen).collection.bodySite.text' ] + hl7Spec: [ '/PATIENT_RESULT/ORDER_OBSERVATION/SPECIMEN/SPM-8-2' ] + +# TEST DOH does not want AOEs at all, so this is overridden to prevent identified AOEs from mapping to an HL7 segment +- name: observation-result-with-aoe + resource: '%resource.result.resolve()' +``` +In the example above you can see we have several different types of transforms. Some of them like element "test-receiving-application" are just defaulting a value and all we +have to do is make sure that value exists on every message we test. Others like "test-patient-ethnicity-identifier-code" are using a valueset to transform one value into another and elements like +"obx-value-dtm-dt" have a complex condition and are modifying the format of a field. For these kinds of elements we need to make sure and test both the positive and negative case. i.e. for "test-patient-ethnicity-identifier-code" we need to test a message with "H" or "N" in "Bundle.entry.resource.ofType(Patient).extension(%`rsext-ethnic-group`).value.coding[0].code" +and then also test when "Bundle.entry.resource.ofType(Patient).extension(%`rsext-ethnic-group`).value.coding[0].code" is neither of those values. For "obx-value-dtm-dt" we need to test where the condition is both "true" and "false" + +You can see how some of these test cases can be combined. For example, we can have a single message with both a "Bundle.entry.resource.ofType(Patient).extension(%`rsext-ethnic-group`).value.coding[0].code" value of "N" and that +meets the condition for "obx-value-dtm-dt". + +One of the most complex items we commonly test are the condition filters. For example take a conditionFilter such as: + +``` +"%resource.code.coding.extension('https://reportstream.cdc.gov/fhir/StructureDefinition/condition-code').value.where(code in ('840539006'|'55735004'|'6142004')).exists() and %resource.interpretation.coding.code = 'A'" +``` + +We have three possible condition codes that also need to have a positive result to qualify. In addition, we are pruning observations that do not meet that criteria. +you can see how in order to test both the positive and negative cases we will need several test messages. Also, because there is the possibility that we may receive a message +with multiple observations that meet the criteria we also want to test that case. + +It is also important to keep in mind that we have different sources of data. SimpleReport Manual entry, SimpleReport CSV entry and direct HL7 to ReportStream. We should make sure to test +examples of all sources the receiver will get production data from. An example test plan can be found here [Example Test Plan](prime-router/docs/onboarding-users/receiver-onboarding/example-test-cases.xlsx). + +### Simple Report Test data + +A quick and easy way to get test data to send to a STLT is by going into SimpleReport's test environment https://test.simplereport.gov. +* Access can be requested on the [shared-simple-report-universal-pipeline](https://nava.slack.com/archives/C0411VC78DN) thread. +* Instructions on how to send a test message can be found on this youtube playlist https://www.youtube.com/playlist?list=PL3U3nqqPGhab0sys3ombZmwOplRYlBOBF. +* The file [SR upload](../onboarding-users/samples/SimpleReport/SR-UPLOAD.csv) can be used test sending reports through SimpleReport's CSV upload. +* To route the report to a specific STLT either the patient or facility state needs to updated to the STLT's jurisdiction. Keep in mind that if they are not updated the message might get routed to the incorrect STLT. +* The report sent by SimpleReport can be found in the Azure BlobStorage. The UP message will be stored in the `receive/simple_report.fullelr` and the covid pipeline message will be stored in `receive/simple_report.default`. This message can be used locally to test any new sender or receiver transforms. +* To access the blob storage. Microsoft Storage Explorer needs to be installed and login with your CDC SU credentials. + +### Testing with receivers +Ultimately the receiver will be the judge of whether sufficient testing has been completed or not, receivers tend to not +assume that all data will look the same from each sender since they do not know what exact transforms and settings are being applied. +Receivers also have a tendency to overlook certain items which do not cause errors in their application but can cause problems in other +ways like incorrect timezones. If is important that you ask your receiver to check for specific items in the test messages to ensure they +are coming across appropriately. These items may include: + +- date/timestamps +- race/ethnicity +- patient demographic information (county code) +- specimen source/type +- Abnormal flags +- Order status flags +- Any complex custom logic done for the receiver (i.e. turning observations into notes). + diff --git a/prime-router/docs/onboarding-users/receivers.md b/prime-router/docs/onboarding-users/receiver-onboarding/receivers.md similarity index 97% rename from prime-router/docs/onboarding-users/receivers.md rename to prime-router/docs/onboarding-users/receiver-onboarding/receivers.md index 14e9b138b0d..d843633feb3 100644 --- a/prime-router/docs/onboarding-users/receivers.md +++ b/prime-router/docs/onboarding-users/receiver-onboarding/receivers.md @@ -166,7 +166,7 @@ transport: * NOTE: If developing on an Apple Mac with a Silicon chip please follow our guide in place of the above three commands: -- [Using Apple Silicon Macs for Development](../docs-deprecated/getting-started/Using-an-apple-silicon-mac.md) +- [Using Apple Silicon Macs for Development](../../docs-deprecated/getting-started/Using-an-apple-silicon-mac.md) * At this point, once the container is loaded you can submit a file via curl: ```shell @@ -191,7 +191,7 @@ output here: `/prime-router/build/sftp` ### 8. Set up transport ReportStream supports the below forms of transport for receivers and can be configured through the `transport` receiver setting. -- [SFTP](./transport/sftp.md) -- [SOAP](./transport/soap.md) -- [REST](./transport/rest.md) -- [Azure Blob](./transport/blob.md) +- [SFTP](../transport/sftp.md) +- [SOAP](../transport/soap.md) +- [REST](../transport/rest.md) +- [Azure Blob](../transport/blob.md) diff --git a/prime-router/docs/standard-operating-procedures/new-conditions-sop.md b/prime-router/docs/standard-operating-procedures/new-conditions-sop.md new file mode 100644 index 00000000000..2b701b2a37e --- /dev/null +++ b/prime-router/docs/standard-operating-procedures/new-conditions-sop.md @@ -0,0 +1,128 @@ +# Standard Operating Procedure (SOP) for Validating New Reportable Conditions + +--- + +## Purpose +To ensure that data from new reportable conditions sent by new or existing senders is processed correctly and successfully delivered to state, tribal, local, and territorial (STLT) health departments. + +--- + +## Step 1: Verify LOINC Code Mappings + +1. **Check Observation Mapping Table**: + - Ensure all LOINC codes for new conditions are mapped in ReportStream’s observation mapping table. + - Verify that any new Ask at Order Entry (AOE) questions included in the message are also mapped. + +2. **Address Missing Mappings**: + - If codes are not mapped, refer to the documentation: [Mapping Sender Codes to Conditions](https://github.com/CDCgov/prime-reportstream/blob/main/prime-router/docs/onboarding-users/sender-onboarding/mapping-sender-codes-to-condition.md). + +--- + +## Step 2: Validate LOINC Descriptions and Minimum Data + +1. **Ensure Accurate Descriptions**: + - Verify that LOINC descriptions in ReportStream’s local LOINC table match the expected codes and descriptions. + +2. **Confirm Minimum Data**: + - Ensure the minimum required data is present to represent a test. + - For FHIR messages: + - **Test Ordered**: Located under `DiagnosticReport.code.coding.code`. + - **Test Ordered Description**: Located under `DiagnosticReport.code.coding.display`. + - **Test Performed**: Located under `Observation.code.coding.code`. + - **Test Ordered Description**: Located under `Observation.code.coding.display`. + - For HL7 v2.5.1 messages: + - **Test Ordered**: Located in `OBR-4`. + - **Test Performed**: Located in `OBX-3`. + +--- + +## Step 3: Minimal Data Requirements + +### FHIR Representation + +1. **DiagnosticReport** + - **status**: The diagnostic report status (e.g., `final`, `partial`, `amended`). + - **code**: Type of report (e.g., LOINC code for "Complete Blood Count"). + - **subject**: Reference to the patient resource. + - **effectiveDateTime** or **effectivePeriod**: Clinical relevance time. + - **issued**: Timestamp when the report was issued. + - **result**: References to associated **Observation** resources. + +2. **Observation** + - **status**: The observation status (e.g., `final`, `preliminary`). + - **code**: Type of observation (e.g., "Glucose level" as a LOINC code). + - **subject**: Reference to the patient. + - **effectiveDateTime** or **effectivePeriod**: Clinical relevance time. + - **value[x]**: Observation value, such as: + - **valueQuantity**: Numeric result (e.g., `10 mg/dL`). + - **valueString**: Textual result (e.g., "Negative"). + - **referenceRange**: Normal range for quantitative results. + +3. **Patient** + - **identifier**: Unique identifier (e.g., MRN or national ID). + - **name**: Patient’s full name. + - **gender**: Patient’s gender. + - **birthDate**: Patient’s date of birth. + +4. **Practitioner** (if applicable) + - **identifier**: Identifier for the practitioner (e.g., license number). + - **name**: Practitioner’s full name. + +5. **Organization** (if applicable) + - **name**: Reporting organization’s name. + - **identifier**: Organization’s identifier (e.g., CLIA number). + +### HL7 v2.5.1 Representation + +1. **Message Header (MSH Segment)** + - Essential fields: + - `MSH-1` (Field Separator): `|` + - `MSH-2` (Encoding Characters): `^~\&` + - `MSH-9` (Message Type): `ORU^R01` + - `MSH-12` (Version ID): `2.5.1` + +2. **Patient Identification (PID Segment)** + - Essential fields: + - `PID-3` (Patient Identifier List): Unique patient ID. + - `PID-5` (Patient Name): Patient’s full name. + - `PID-7` (Date of Birth): Patient’s DOB. + - `PID-8` (Sex): Gender. + +3. **Observation Request (OBR Segment)** + - Essential fields: + - `OBR-4` (Universal Service Identifier): Type of test ordered. + - `OBR-16` (Ordering Provider): Name of the requesting provider. + +4. **Observation Result (OBX Segment)** + - Essential fields: + - `OBX-2` (Value Type): Type of result (e.g., numeric). + - `OBX-3` (Observation Identifier): Specific test performed. + - `OBX-5` (Observation Value): Result value. + - `OBX-6` (Units): Measurement units. + - `OBX-7` (Reference Range): Normal range. + - `OBX-11` (Observation Result Status): Status (e.g., `F` for final). + +5. **Specimen (SPM Segment)** (if applicable) + - Essential fields: + - `SPM-4` (Specimen Type): Type of specimen (e.g., blood). + +--- + +## Step 4: Validate Example Messages + +1. **FHIR Example**: + - Ask the sender to send a sample message and validate a FHIR message for the new condition. + - Convert the message to HL7 and ensure no data is being lost during translation +2. **HL7 Example**: + - Ask the sender to send a sample HL7 v2.5.1 ORU_R01 message for the new condition. + - Process the message through the UP and ensure no data is being lost during translation from HL7 -> FHIR -> HL7 + +--- + +## Step 5: Test End-to-End Workflow + +1. Submit sample messages to the staging environment. +2. Confirm data passes validation checks in ReportStream. +3. Verify successful delivery to the intended STLT systems. + + diff --git a/prime-router/docs/universal-pipeline/send.md b/prime-router/docs/universal-pipeline/send.md index 2c3508e2ce6..4a232b3542f 100644 --- a/prime-router/docs/universal-pipeline/send.md +++ b/prime-router/docs/universal-pipeline/send.md @@ -54,7 +54,7 @@ transport: credentialName: DEFAULT-SFTP ``` -For more details on how to set up a receiver, see [onboarding receivers](../onboarding-users/receivers.md). +For more details on how to set up a receiver, see [onboarding receivers](../onboarding-users/receiver-onboarding/receivers.md). ## How it works diff --git a/prime-router/metadata/HL7/catchall/hl7/codesystem/ExtensionUrlMapping.yml b/prime-router/metadata/HL7/catchall/hl7/codesystem/ExtensionUrlMapping.yml index cc27f956220..f45fbe7cf75 100644 --- a/prime-router/metadata/HL7/catchall/hl7/codesystem/ExtensionUrlMapping.yml +++ b/prime-router/metadata/HL7/catchall/hl7/codesystem/ExtensionUrlMapping.yml @@ -52,6 +52,8 @@ url: "http://hl7.org/fhir/StructureDefinition/patient-animal" - id: "relationship" url: "https://hl7.org/fhir/StructureDefinition/relationship" +- id: "extension-subscriber-id" + url: "http://hl7.org/fhir/R5/StructureDefinition/extension-subscriberId" ## Datatypes @@ -281,6 +283,10 @@ - id: "nte-annotation" url: "https://reportstream.cdc.gov/fhir/StructureDefinition/nte-annotation" +# IN1 -> Coverage +- id: "in1-coverage" + url: "https://reportstream.cdc.gov/fhir/StructureDefinition/in1-coverage" + ## Generic # internal indicator of sender, usable for filtering @@ -297,9 +303,11 @@ url: "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Component" # Date time as hl7v2 string -# This extension exists because HL7 dates have very little restrictions (i.e. YYYY-MM, YYYY-MM-DD HH, YYYY-MM-DD HH:MM) -# are all valid, but the FHIR specs has much stricter rules. In order to reliably generate the same HL7 message, this extension -# is used to capture what was in the original HL7 message and then exclusively used when mapping FHIR->HL7 +# These extensions exist because HL7 dates have very little restrictions (i.e. YYYY-MM, YYYY-MM-DD HH, YYYY-MM-DD HH:MM) +# are all valid, but the FHIR specs has much stricter rules. In order to reliably generate the same HL7 message, these +# extensions are used to capture what was in the original HL7 message and then exclusively used when mapping FHIR->HL7 +- id: "hl7v2-date" + url: "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date" - id: "hl7v2-date-time" url: "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time" diff --git a/prime-router/metadata/HL7/catchall/hl7/datatypes/AUI/AUIExtension.yml b/prime-router/metadata/HL7/catchall/hl7/datatypes/AUI/AUIExtension.yml index af09ea3cb7d..3f704b217bc 100644 --- a/prime-router/metadata/HL7/catchall/hl7/datatypes/AUI/AUIExtension.yml +++ b/prime-router/metadata/HL7/catchall/hl7/datatypes/AUI/AUIExtension.yml @@ -2,7 +2,7 @@ url: type: STRING - valueOf: IN1.14 + valueOf: $auiExtensionName extension: generateList: true diff --git a/prime-router/metadata/HL7/catchall/hl7/datatypes/DT/Period.yml b/prime-router/metadata/HL7/catchall/hl7/datatypes/DT/Period.yml new file mode 100644 index 00000000000..d0e0a4a31cd --- /dev/null +++ b/prime-router/metadata/HL7/catchall/hl7/datatypes/DT/Period.yml @@ -0,0 +1,47 @@ +# $schema: ./../../../../../json_schema/fhir/hl7-to-fhir-mapping-resource-template.json + +start: + condition: $dateIn NOT_NULL + type: STRING + valueOf: "GeneralUtils.dateTimeWithZoneId(dateIn,ZONEID)" + expressionType: JEXL + vars: + dateIn: $start +_start: + expressionType: nested + condition: $start NOT_NULL + expressionsMap: + extension_1: + generateList: true + expressionType: nested + expressionsMap: + url: + type: SYSTEM_URL + value: hl7v2-date + valueString: + type: STRING + valueOf: $start + expressionType: HL7Spec + +end: + condition: $dateIn NOT_NULL + type: STRING + valueOf: "GeneralUtils.dateTimeWithZoneId(dateIn,ZONEID)" + expressionType: JEXL + vars: + dateIn: $end +_end: + expressionType: nested + condition: $end NOT_NULL + expressionsMap: + extension_1: + generateList: true + expressionType: nested + expressionsMap: + url: + type: SYSTEM_URL + value: hl7v2-date + valueString: + type: STRING + valueOf: $end + expressionType: HL7Spec \ No newline at end of file diff --git a/prime-router/metadata/HL7/catchall/hl7/datatypes/XON/Organization.yml b/prime-router/metadata/HL7/catchall/hl7/datatypes/XON/Organization.yml index 18218c076fa..b1b9bdaca88 100644 --- a/prime-router/metadata/HL7/catchall/hl7/datatypes/XON/Organization.yml +++ b/prime-router/metadata/HL7/catchall/hl7/datatypes/XON/Organization.yml @@ -14,85 +14,92 @@ name: identifier: expressionType: nested - vars: - xon3: XON.3 - xon4: XON.4 - xon5: XON.5 - xon6: XON.6 - xon7: XON.7 - xon8: XON.8 - xon10: String, XON.10 - expressionsMap: - value_1: - condition: $xon10 NULL - type: STRING - expressionType: HL7Spec - valueOf: XON.3 - value_2: - condition: $xon10 NOT_NULL - type: STRING - expressionType: HL7Spec - valueOf: XON.10 - type: - condition: $xon7 NOT_NULL + expressions: + - condition: $CXIdentifier NOT_NULL + valueOf: datatypes/CX/Identifier + expressionType: resource + specs: $CXIdentifier + - condition: $CXIdentifier NULL expressionType: nested - generateList: true + vars: + xon3: XON.3 + xon4: XON.4 + xon5: XON.5 + xon6: XON.6 + xon7: XON.7 + xon8: XON.8 + xon10: String, XON.10 expressionsMap: - coding: + value_1: + condition: $xon10 NULL + type: STRING + expressionType: HL7Spec + valueOf: XON.3 + value_2: + condition: $xon10 NOT_NULL + type: STRING + expressionType: HL7Spec + valueOf: XON.10 + type: + condition: $xon7 NOT_NULL expressionType: nested generateList: true expressionsMap: - code: - valueOf: XON.7 + coding: + expressionType: nested + generateList: true + expressionsMap: + code: + valueOf: XON.7 + type: STRING + expressionType: HL7Spec + system: + type: STRING + value: "http://terminology.hl7.org/CodeSystem/v2-0203" + extension_1-checkDigitSchema: + condition: $xon5 NOT_NULL + generateList: true + expressionType: nested + expressionsMap: + url: + type: SYSTEM_URL + value: naming-system-check-digit + valueCode: + valueOf: XON.5 type: STRING expressionType: HL7Spec - system: + extension_2-checkDigit: + condition: $xon4 NOT_NULL + generateList: true + expressionType: nested + expressionsMap: + url: + type: SYSTEM_URL + value: identifier-check-digit + valueString: type: STRING - value: "http://terminology.hl7.org/CodeSystem/v2-0203" - extension_1-checkDigitSchema: - condition: $xon5 NOT_NULL - generateList: true - expressionType: nested - expressionsMap: - url: - type: SYSTEM_URL - value: naming-system-check-digit - valueCode: - valueOf: XON.5 - type: STRING - expressionType: HL7Spec - extension_2-checkDigit: - condition: $xon4 NOT_NULL - generateList: true - expressionType: nested - expressionsMap: - url: - type: SYSTEM_URL - value: identifier-check-digit - valueString: - type: STRING - expressionType: HL7Spec - valueOf: XON.4 - extension_3-assigningAuthority: - condition: $xon6 NOT_NULL - generateList: true - expressionType: resource - valueOf: datatypes/HD/ExtensionAssigningAuthority - specs: XON.6 - extension_4-location: - condition: $xon8 NOT_NULL - generateList: true - expressionType: nested - vars: - xon8: String, XON.8 - expressionsMap: - url: - type: SYSTEM_URL - value: identifier-location - valueReference: - expressionType: reference - valueOf: datatypes/HD/Location - specs: XON.8 + expressionType: HL7Spec + valueOf: XON.4 + extension_3-assigningAuthority: + condition: $xon6 NOT_NULL + generateList: true + expressionType: resource + valueOf: datatypes/HD/ExtensionAssigningAuthority + specs: XON.6 + extension_4-location: + condition: $xon8 NOT_NULL + generateList: true + expressionType: nested + vars: + xon8: String, XON.8 + expressionsMap: + url: + type: SYSTEM_URL + value: identifier-location + valueReference: + expressionType: reference + valueOf: datatypes/HD/Location + specs: XON.8 address: condition: $XADAddress NOT_NULL diff --git a/prime-router/metadata/HL7/catchall/hl7/datatypes/XPN/RelatedPerson.yml b/prime-router/metadata/HL7/catchall/hl7/datatypes/XPN/RelatedPerson.yml new file mode 100644 index 00000000000..379f65907ef --- /dev/null +++ b/prime-router/metadata/HL7/catchall/hl7/datatypes/XPN/RelatedPerson.yml @@ -0,0 +1,12 @@ +# $schema: ./../../../../../json_schema/fhir/hl7-to-fhir-mapping-resource-template.json + +resourceType: RelatedPerson + +id: + type: STRING + valueOf: "GeneralUtils.generateResourceId()" + expressionType: JEXL + +name: + expressionType: resource + valueOf: datatypes/XPN/HumanName diff --git a/prime-router/metadata/HL7/catchall/hl7/message/ORM_O01.yml b/prime-router/metadata/HL7/catchall/hl7/message/ORM_O01.yml index ba4e40eb4a8..bee638df3d7 100644 --- a/prime-router/metadata/HL7/catchall/hl7/message/ORM_O01.yml +++ b/prime-router/metadata/HL7/catchall/hl7/message/ORM_O01.yml @@ -39,6 +39,13 @@ resources: additionalSegments: - .PV2 + - resourceName: Coverage + segment: .IN1 + group: PATIENT.INSURANCE + resourcePath: segments/IN1/Coverage + repeats: false + isReferenced: false + - resourceName: OrderObservation segment: .ORDER_DETAIL.OBSERVATION.OBX group: ORDER diff --git a/prime-router/metadata/HL7/catchall/hl7/segments/IN1/Coverage.yml b/prime-router/metadata/HL7/catchall/hl7/segments/IN1/Coverage.yml index c4bfd5d0c1b..1de1af54cca 100644 --- a/prime-router/metadata/HL7/catchall/hl7/segments/IN1/Coverage.yml +++ b/prime-router/metadata/HL7/catchall/hl7/segments/IN1/Coverage.yml @@ -2,47 +2,100 @@ resourceType: Coverage +# IN1.2 CWE[Identifier] is a subset of the input CWE; maps identifier.name which does not exist; use IN1Extension +# IN1.4 references IN1.5 for address but both fields are repeatable; use IN1Extension for these fields +# IN1.10 and IN1.49 are mapped to the same FHIR extension; use IN1Extension for these fields +# IN1.10 when CX.5 is not "SN" has a definition that conflicts with XON[Organization] with no clear hierarchy +# IN1.11 is repeatable but maps to policyHolder on Coverage which is not, so it's all captured in IN1Extension +# IN1.16 is repeatable but maps to subscriber on Coverage which is not, so it's all captured in IN1Extension + id: type: STRING valueOf: "GeneralUtils.generateResourceId()" expressionType: JEXL -extension: +beneficiary: + expressionType: resource + valueOf: datatype/Reference + specs: $Patient + +payor: + expressionType: reference + condition: $in14 NOT_NULL || $in15 NOT_NULL + valueOf: datatypes/XON/Organization + specs: IN1.4 + vars: + XADAddress: IN1.5 + in14: STRING_ALL, IN1.4 + in15: STRING_ALL, IN1.5 + +period: + valueOf: datatypes/DT/Period + expressionType: resource + vars: + start: IN1.12 + end: IN1.13 + +policyHolder: + expressionType: reference + condition: $in111 NOT_NULL + valueOf: datatypes/XON/Organization + specs: IN1.11 + vars: + in111: STRING_ALL, IN1.11 + CXIdentifier: IN1.10 + +relationship: + expressionType: resource + valueOf: datatypes/CWE/CodeableConcept + specs: IN1.17 + +subscriber: expressionType: nested + vars: + in117: STRING, IN1.17.1 + expressions: + - condition: $in117 EQUALS patient || $in117 EQUALS SEL + valueOf: datatype/Reference + expressionType: resource + specs: $Patient + - condition: $in117 NOT_NULL && $in117 NOT_EQUALS patient && $in117 NOT_EQUALS SEL + expressionType: reference + valueOf: datatypes/XPN/RelatedPerson + specs: IN1.16 + +type: + expressionType: resource + valueOf: datatypes/CWE/CodeableConcept + specs: IN1.15 + +extension: generateList: true + expressionType: nested expressions: - - expressionType: resource - valueOf: datatypes/AUI/AUIExtension - specs: IN1.14 - - expressionType: resource + - expressionType: nested vars: - in137: STRING, IN1.37 - condition: $in137 NOT_NULL - valueOf: datatypes/CP/CPExtension - constants: - cpExtensionName: IN1.37 - specs: IN1.37 - - expressionType: resource - vars: - in138: STRING, IN1.38 - condition: $in138 NOT_NULL - valueOf: datatypes/CP/CPExtension - constants: - cpExtensionName: IN1.38 - specs: IN1.38 - - expressionType: resource + in1105: STRING, IN1.10.5 + condition: $in1105 EQUALS SN + expressionsMap: + url: + type: SYSTEM_URL + value: extension-subscriber-id + valueIdentifier: + valueOf: datatypes/CX/Identifier + expressionType: resource + specs: IN1.10 + - expressionType: nested vars: - in140: STRING, IN1.40 - condition: $in140 NOT_NULL - valueOf: datatypes/CP/CPExtension - constants: - cpExtensionName: IN1.40 - specs: IN1.40 + in149: STRING, IN1.49 + condition: $in149 NOT_NULL + expressionsMap: + url: + type: SYSTEM_URL + value: extension-subscriber-id + valueIdentifier: + valueOf: datatypes/CX/Identifier + expressionType: resource + specs: IN1.49 - expressionType: resource - vars: - in141: STRING, IN1.41 - condition: $in141 NOT_NULL - valueOf: datatypes/CP/CPExtension - constants: - cpExtensionName: IN1.41 - specs: IN1.41 + valueOf: segments/IN1/IN1Extension \ No newline at end of file diff --git a/prime-router/metadata/HL7/catchall/hl7/segments/IN1/IN1Extension.yml b/prime-router/metadata/HL7/catchall/hl7/segments/IN1/IN1Extension.yml new file mode 100644 index 00000000000..486ad94caaf --- /dev/null +++ b/prime-router/metadata/HL7/catchall/hl7/segments/IN1/IN1Extension.yml @@ -0,0 +1,688 @@ +# $schema: ./../../../../../json_schema/fhir/hl7-to-fhir-mapping-resource-template.json + +url: + type: SYSTEM_URL + value: in1-coverage + +extension: + expressionType: nested + generateList: true + expressions: + - expressionType: nested + specs: IN1.2 + condition: $in12 NOT_NULL + generateList: true + vars: + in12: STRING_ALL, IN1.2 + expressionsMap: + url: + type: STRING + value: IN1.2 + valueCodeableConcept: + valueOf: datatypes/CWE/CodeableConcept + expressionType: resource + - expressionType: nested + specs: IN1.3 * + condition: $in13 NOT_NULL + generateList: true + vars: + in13: STRING_ALL, IN1.3 + expressionsMap: + url: + type: STRING + value: IN1.3 + valueIdentifier: + valueOf: datatypes/CX/Identifier + expressionType: resource + - expressionType: nested + vars: + in14: STRING_ALL, IN1.4 + condition: $in14 NOT_NULL + specs: IN1.4 * + generateList: true + expressionsMap: + url: + type: STRING + value: IN1.4 + valueReference: + valueOf: datatypes/XON/Organization + expressionType: reference + - expressionType: nested + vars: + in15: STRING_ALL, IN1.5 + condition: $in15 NOT_NULL + specs: IN1.5 * + generateList: true + expressionsMap: + url: + type: STRING + value: IN1.5 + valueAddress: + expressionType: resource + valueOf: datatypes/XAD/Address + - expressionType: nested + vars: + in16: STRING_ALL, IN1.6 + condition: $in16 NOT_NULL + specs: IN1.6 * + generateList: true + expressionsMap: + url: + type: STRING + value: IN1.6 + valueHumanName: + expressionType: resource + valueOf: datatypes/XPN/HumanName + - expressionType: nested + vars: + in17: STRING_ALL, IN1.7 + condition: $in17 NOT_NULL + specs: IN1.7 * + generateList: true + expressionsMap: + url: + type: STRING + value: IN1.7 + valueContactPoint: + expressionType: resource + valueOf: datatypes/XTN/ContactPoint + - expressionType: nested + vars: + in18: STRING_ALL, IN1.8 + condition: $in18 NOT_NULL + specs: IN1.8 + generateList: true + expressionsMap: + url: + type: STRING + value: IN1.8 + valueString: + type: STRING + valueOf: IN1.8 + expressionType: HL7Spec + - expressionType: nested + vars: + in19: STRING_ALL, IN1.9 + condition: $in19 NOT_NULL + specs: IN1.9 * + generateList: true + expressionsMap: + url: + type: STRING + value: IN1.9 + valueReference: + expressionType: reference + valueOf: datatypes/XON/Organization + - expressionType: nested + specs: IN1.10 * + condition: $in110 NOT_NULL + generateList: true + vars: + in110: STRING_ALL, IN1.10 + expressionsMap: + url: + type: STRING + value: IN1.10 + valueIdentifier: + valueOf: datatypes/CX/Identifier + expressionType: resource + - expressionType: nested + vars: + in111: STRING_ALL, IN1.11 + condition: $in111 NOT_NULL + specs: IN1.11 * + generateList: true + expressionsMap: + url: + type: STRING + value: IN1.11 + valueReference: + valueOf: datatypes/XON/Organization + expressionType: reference + - expressionType: resource + valueOf: datatypes/AUI/AUIExtension + vars: + in114: STRING_ALL, IN1.14 + condition: $in114 NOT_NULL + specs: IN1.14 + constants: + auiExtensionName: IN1.14 + - expressionType: nested + specs: IN1.16 * + condition: $in116 NOT_NULL + generateList: true + vars: + in116: STRING_ALL, IN1.16 + expressionsMap: + url: + type: STRING + value: IN1.16 + valueHumanName: + valueOf: datatypes/XPN/HumanName + expressionType: resource + - expressionType: nested + specs: IN1.17 + condition: $in117 NOT_NULL + generateList: true + vars: + in117: STRING_ALL, IN1.17 + expressionsMap: + url: + type: STRING + value: IN1.17 + valueCodeableConcept: + valueOf: datatypes/CWE/CodeableConcept + expressionType: resource + - expressionType: nested + vars: + in118: IN1.18 + condition: $in118 NOT_NULL + generateList: true + expressionsMap: + url: + type: STRING + value: IN1.18 + valueDateTime: + expressionType: nested + expressions: + - type: STRING + valueOf: "GeneralUtils.dateTimeWithZoneId(in118,ZONEID)" + expressionType: JEXL + _valueDateTime: + expressionType: nested + expressionsMap: + extension: + generateList: true + expressionType: nested + expressionsMap: + url: + type: SYSTEM_URL + value: hl7v2-date-time + valueString: + type: STRING + valueOf: IN1.18 + expressionType: HL7Spec + - expressionType: nested + vars: + in119: STRING_ALL, IN1.19 + condition: $in119 NOT_NULL + specs: IN1.19 * + generateList: true + expressionsMap: + url: + type: STRING + value: IN1.19 + valueAddress: + expressionType: resource + valueOf: datatypes/XAD/Address + - expressionType: nested + specs: IN1.20 + condition: $in120 NOT_NULL + generateList: true + vars: + in120: STRING_ALL, IN1.20 + expressionsMap: + url: + type: STRING + value: IN1.20 + valueCodeableConcept: + valueOf: datatypes/CWE/CodeableConcept + expressionType: resource + - expressionType: nested + specs: IN1.21 + condition: $in121 NOT_NULL + generateList: true + vars: + in121: STRING_ALL, IN1.21 + expressionsMap: + url: + type: STRING + value: IN1.21 + valueCodeableConcept: + valueOf: datatypes/CWE/CodeableConcept + expressionType: resource + - expressionType: nested + vars: + in122: STRING_ALL, IN1.22 + condition: $in122 NOT_NULL + specs: IN1.22 + generateList: true + expressionsMap: + url: + type: STRING + value: IN1.22 + valueString: + type: STRING + valueOf: IN1.22 + expressionType: HL7Spec + - expressionType: nested + vars: + in123: STRING_ALL, IN1.23 + condition: $in123 NOT_NULL + specs: IN1.23 + generateList: true + expressionsMap: + url: + type: STRING + value: IN1.23 + valueString: + type: STRING + valueOf: IN1.23 + expressionType: HL7Spec + - expressionType: nested + vars: + in124: IN1.24 + condition: $in124 NOT_NULL + generateList: true + expressionsMap: + url: + type: STRING + value: IN1.24 + valueString: + type: STRING + valueOf: IN1.24 + expressionType: HL7Spec + - expressionType: nested + vars: + in125: STRING_ALL, IN1.25 + condition: $in125 NOT_NULL + specs: IN1.25 + generateList: true + expressionsMap: + url: + type: STRING + value: IN1.25 + valueString: + type: STRING + valueOf: IN1.25 + expressionType: HL7Spec + - expressionType: nested + vars: + in126: IN1.26 + condition: $in126 NOT_NULL + generateList: true + expressionsMap: + url: + type: STRING + value: IN1.26 + valueString: + type: STRING + valueOf: IN1.26 + expressionType: HL7Spec + - expressionType: nested + specs: IN1.27 + condition: $in127 NOT_NULL + generateList: true + vars: + in127: STRING_ALL, IN1.27 + expressionsMap: + url: + type: STRING + value: IN1.27 + valueCodeableConcept: + valueOf: datatypes/CWE/CodeableConcept + expressionType: resource + - expressionType: nested + vars: + in128: STRING_ALL, IN1.28 + condition: $in128 NOT_NULL + specs: IN1.28 + generateList: true + expressionsMap: + url: + type: STRING + value: IN1.28 + valueString: + type: STRING + valueOf: IN1.28 + expressionType: HL7Spec + - expressionType: nested + vars: + in129: IN1.29 + condition: $in129 NOT_NULL + generateList: true + expressionsMap: + url: + type: STRING + value: IN1.29 + valueDateTime: + expressionType: nested + expressions: + - type: STRING + valueOf: "GeneralUtils.dateTimeWithZoneId(in129,ZONEID)" + expressionType: JEXL + _valueDateTime: + expressionType: nested + expressionsMap: + extension: + generateList: true + expressionType: nested + expressionsMap: + url: + type: SYSTEM_URL + value: hl7v2-date-time + valueString: + type: STRING + valueOf: IN1.29 + expressionType: HL7Spec + - expressionType: nested + vars: + in130: STRING_ALL, IN1.30 + condition: $in130 NOT_NULL + specs: IN1.30 * + generateList: true + expressionsMap: + url: + type: STRING + value: IN1.30 + valueReference: + expressionType: reference + valueOf: datatypes/XCN/Practitioner + - expressionType: nested + specs: IN1.31 + condition: $in131 NOT_NULL + generateList: true + vars: + in131: STRING_ALL, IN1.31 + expressionsMap: + url: + type: STRING + value: IN1.31 + valueCodeableConcept: + valueOf: datatypes/CWE/CodeableConcept + expressionType: resource + - expressionType: nested + specs: IN1.32 + condition: $in132 NOT_NULL + generateList: true + vars: + in132: STRING_ALL, IN1.32 + expressionsMap: + url: + type: STRING + value: IN1.32 + valueCodeableConcept: + valueOf: datatypes/CWE/CodeableConcept + expressionType: resource + - expressionType: nested + vars: + in133: IN1.33 + condition: $in133 NOT_NULL + generateList: true + expressionsMap: + url: + type: STRING + value: IN1.33 + valueString: + type: STRING + valueOf: IN1.33 + expressionType: HL7Spec + - expressionType: nested + vars: + in134: IN1.34 + condition: $in134 NOT_NULL + generateList: true + expressionsMap: + url: + type: STRING + value: IN1.34 + valueString: + type: STRING + valueOf: IN1.34 + expressionType: HL7Spec + - expressionType: nested + specs: IN1.35 + condition: $in135 NOT_NULL + generateList: true + vars: + in135: STRING_ALL, IN1.35 + expressionsMap: + url: + type: STRING + value: IN1.35 + valueCodeableConcept: + valueOf: datatypes/CWE/CodeableConcept + expressionType: resource + - expressionType: nested + vars: + in136: IN1.36 + condition: $in136 NOT_NULL + generateList: true + expressionsMap: + url: + type: STRING + value: IN1.36 + valueString: + type: STRING + valueOf: IN1.36 + expressionType: HL7Spec + - expressionType: resource + vars: + in137: STRING, IN1.37 + condition: $in137 NOT_NULL + valueOf: datatypes/CP/CPExtension + constants: + cpExtensionName: IN1.37 + specs: IN1.37 + - expressionType: resource + vars: + in138: STRING, IN1.38 + condition: $in138 NOT_NULL + valueOf: datatypes/CP/CPExtension + constants: + cpExtensionName: IN1.38 + specs: IN1.38 + - expressionType: nested + vars: + in139: IN1.39 + condition: $in139 NOT_NULL + generateList: true + expressionsMap: + url: + type: STRING + value: IN1.39 + valueString: + type: STRING + valueOf: IN1.39 + expressionType: HL7Spec + - expressionType: resource + vars: + in140: STRING, IN1.40 + condition: $in140 NOT_NULL + valueOf: datatypes/CP/CPExtension + constants: + cpExtensionName: IN1.40 + specs: IN1.40 + - expressionType: resource + vars: + in141: STRING, IN1.41 + condition: $in141 NOT_NULL + valueOf: datatypes/CP/CPExtension + constants: + cpExtensionName: IN1.41 + specs: IN1.41 + - expressionType: nested + specs: IN1.42 + condition: $in142 NOT_NULL + generateList: true + vars: + in142: STRING_ALL, IN1.42 + expressionsMap: + url: + type: STRING + value: IN1.42 + valueCodeableConcept: + valueOf: datatypes/CWE/CodeableConcept + expressionType: resource + - expressionType: nested + specs: IN1.43 + condition: $in143 NOT_NULL + generateList: true + vars: + in143: STRING_ALL, IN1.43 + expressionsMap: + url: + type: STRING + value: IN1.43 + valueCodeableConcept: + valueOf: datatypes/CWE/CodeableConcept + expressionType: resource + - expressionType: nested + vars: + in144: STRING_ALL, IN1.44 + condition: $in144 NOT_NULL + specs: IN1.44 * + generateList: true + expressionsMap: + url: + type: STRING + value: IN1.44 + valueAddress: + expressionType: resource + valueOf: datatypes/XAD/Address + - expressionType: nested + vars: + in145: IN1.45 + condition: $in145 NOT_NULL + generateList: true + expressionsMap: + url: + type: STRING + value: IN1.45 + valueString: + type: STRING + valueOf: IN1.45 + expressionType: HL7Spec + - expressionType: nested + specs: IN1.46 + condition: $in146 NOT_NULL + generateList: true + vars: + in146: STRING_ALL, IN1.46 + expressionsMap: + url: + type: STRING + value: IN1.46 + valueCodeableConcept: + valueOf: datatypes/CWE/CodeableConcept + expressionType: resource + - expressionType: nested + specs: IN1.47 + condition: $in147 NOT_NULL + generateList: true + vars: + in147: STRING_ALL, IN1.47 + expressionsMap: + url: + type: STRING + value: IN1.47 + valueCodeableConcept: + valueOf: datatypes/CWE/CodeableConcept + expressionType: resource + - expressionType: nested + specs: IN1.48 + condition: $in148 NOT_NULL + generateList: true + vars: + in148: STRING_ALL, IN1.48 + expressionsMap: + url: + type: STRING + value: IN1.48 + valueCodeableConcept: + valueOf: datatypes/CWE/CodeableConcept + expressionType: resource + - expressionType: nested + specs: IN1.49 * + condition: $in149 NOT_NULL + generateList: true + vars: + in149: STRING_ALL, IN1.49 + expressionsMap: + url: + type: STRING + value: IN1.49 + valueIdentifier: + valueOf: datatypes/CX/Identifier + expressionType: resource + - expressionType: nested + specs: IN1.50 + condition: $in150 NOT_NULL + generateList: true + vars: + in150: STRING_ALL, IN1.50 + expressionsMap: + url: + type: STRING + value: IN1.50 + valueCodeableConcept: + valueOf: datatypes/CWE/CodeableConcept + expressionType: resource + - expressionType: nested + vars: + in151: STRING_ALL, IN1.51 + condition: $in151 NOT_NULL + specs: IN1.51 + generateList: true + expressionsMap: + url: + type: STRING + value: IN1.51 + valueString: + type: STRING + valueOf: IN1.51 + expressionType: HL7Spec + - expressionType: nested + vars: + in152: STRING_ALL, IN1.52 + condition: $in152 NOT_NULL + specs: IN1.52 + generateList: true + expressionsMap: + url: + type: STRING + value: IN1.52 + valueString: + type: STRING + valueOf: IN1.52 + expressionType: HL7Spec + - expressionType: nested + specs: IN1.53 + condition: $in153 NOT_NULL + generateList: true + vars: + in153: STRING_ALL, IN1.53 + expressionsMap: + url: + type: STRING + value: IN1.53 + valueCodeableConcept: + valueOf: datatypes/CWE/CodeableConcept + expressionType: resource + - expressionType: nested + specs: IN1.54 * + condition: $in154 NOT_NULL + generateList: true + vars: + in154: STRING_ALL, IN1.54 + expressionsMap: + url: + type: STRING + value: IN1.54 + valueIdentifier: + valueOf: datatypes/CX/Identifier + expressionType: resource + - expressionType: nested + vars: + in155: STRING_ALL, IN1.55 + condition: $in155 NOT_NULL + specs: IN1.55 + generateList: true + expressionsMap: + url: + type: STRING + value: IN1.55 + valueString: + type: STRING + valueOf: IN1.55 + expressionType: HL7Spec diff --git a/prime-router/metadata/HL7/catchall/hl7/segments/PID/Patient.yml b/prime-router/metadata/HL7/catchall/hl7/segments/PID/Patient.yml index 3dc555ef779..cf9fd031117 100644 --- a/prime-router/metadata/HL7/catchall/hl7/segments/PID/Patient.yml +++ b/prime-router/metadata/HL7/catchall/hl7/segments/PID/Patient.yml @@ -18,7 +18,7 @@ resourceType: Patient # to Patient.link which includes a reference to RelatedPerson -# - PD1.4 Deprecated in NIST, set to NullDT in HAPI. Field not mapped +# - PD1.4 Backwards compatible in NIST. Needed for ETOR NBS use case. Mapped to Patient.generalPractitioner. id: type: STRING @@ -423,14 +423,23 @@ meta: expressionType: reference specs: PID.34 -generalPractitioner_Organization: - condition: $pd13 NOT_NULL +generalPractitioner: + expressionType: nested generateList: true - specs: PD1.3 * vars: pd13: STRING_ALL, PD1.3 - valueOf: datatypes/XON/Organization - expressionType: reference + pd14: STRING_ALL, PD1.4 + expressions: + - condition: $pd13 NOT_NULL + valueOf: datatypes/XON/Organization + expressionType: reference + specs: PD1.3 * + generateList: true + - condition: $pd14 NOT_NULL + valueOf: datatypes/XCN/Practitioner + expressionType: reference + specs: PD1.4 * + generateList: true extension: expressionType: nested diff --git a/prime-router/metadata/file_name_templates/file-name-templates.yml b/prime-router/metadata/file_name_templates/file-name-templates.yml index ab0724d713d..8388d9bc672 100644 --- a/prime-router/metadata/file_name_templates/file-name-templates.yml +++ b/prime-router/metadata/file_name_templates/file-name-templates.yml @@ -117,3 +117,13 @@ - IDOH_CDCSR_ - createdDate(MMddyyyyHHmmss) +- name: golden-copy + upperCase: true + elements: + - GOLDEN-COPY + - "-" + - uuid() + +- name: uuid + elements: + - uuid() \ No newline at end of file diff --git a/prime-router/metadata/json_schema/organizations/organizations.json b/prime-router/metadata/json_schema/organizations/organizations.json index 8be19b987c1..36a36d2da7d 100644 --- a/prime-router/metadata/json_schema/organizations/organizations.json +++ b/prime-router/metadata/json_schema/organizations/organizations.json @@ -557,6 +557,7 @@ "HAWAII", "EAST_INDIANA", "INDIANA_STARKE", + "MAJURO", "MICHIGAN", "CHAMORRO", "UTC", diff --git a/prime-router/settings/STLTs/Flexion/flexion.yml b/prime-router/settings/STLTs/Flexion/flexion.yml index 1ee010b4027..a9056be2231 100644 --- a/prime-router/settings/STLTs/Flexion/flexion.yml +++ b/prime-router/settings/STLTs/Flexion/flexion.yml @@ -215,3 +215,53 @@ type: "BLOBSTORE" storageName: "cdctiautomated" containerName: "automated" + - name: "golden-copy-orders" + organizationName: "flexion" + topic: "etor-ti" + customerStatus: "active" + jurisdictionalFilter: + - "Bundle.entry.resource.ofType(MessageHeader).event.code = 'O21'" # OML_O21 + - "Bundle.entry.resource.ofType(MessageHeader).meta.tag.where(system = 'http://localcodes.org/ETOR').code = 'ETOR'" # required to avoid looping issue + - "Bundle.entry.resource.ofType(MessageHeader).meta.tag.where(system = 'http://terminology.hl7.org/CodeSystem/v2-0103').code = 'N'" # automated test processing id (MSH-11) + - "Bundle.entry.resource.ofType(MessageHeader).source.extension('https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id').value = 'GOLDEN-COPY'" + qualityFilter: + - "true" + timing: + operation: "MERGE" + numberPerDay: 1440 # Every minute + initialTime: "00:00" + translation: + type: "HL7" + schemaName: "classpath:/metadata/hl7_mapping/OML_O21/OML_O21-base.yml" + useTestProcessingMode: false + useBatchHeaders: false + nameFormat: "golden-copy" + transport: + type: "BLOBSTORE" + storageName: "cdctiautomated" + containerName: "automated" + - name: "golden-copy-results" + organizationName: "flexion" + topic: "etor-ti" + customerStatus: "active" + jurisdictionalFilter: + - "Bundle.entry.resource.ofType(MessageHeader).event.code = 'R01'" # ORU_R01 + - "Bundle.entry.resource.ofType(MessageHeader).meta.tag.where(system = 'http://localcodes.org/ETOR').code = 'ETOR'" # required to avoid looping issue + - "Bundle.entry.resource.ofType(MessageHeader).meta.tag.where(system = 'http://terminology.hl7.org/CodeSystem/v2-0103').code = 'N'" # automated test processing id (MSH-11) + - "Bundle.entry.resource.ofType(MessageHeader).source.extension('https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id').value = 'GOLDEN-COPY'" + qualityFilter: + - "true" + timing: + operation: "MERGE" + numberPerDay: 1440 # Every minute + initialTime: "00:00" + translation: + type: "HL7" + schemaName: "classpath:/metadata/hl7_mapping/ORU_R01/ORU_R01-base.yml" + useTestProcessingMode: false + useBatchHeaders: false + nameFormat: "golden-copy" + transport: + type: "BLOBSTORE" + storageName: "cdctiautomated" + containerName: "automated" \ No newline at end of file diff --git a/prime-router/settings/STLTs/MH/rmi-doh.yml b/prime-router/settings/STLTs/MH/rmi-doh.yml index c400c670be4..5ed2656e5ce 100644 --- a/prime-router/settings/STLTs/MH/rmi-doh.yml +++ b/prime-router/settings/STLTs/MH/rmi-doh.yml @@ -1,3 +1,4 @@ +--- - name: "rmi-doh" description: "Marshall Island Health Informatics Department" jurisdiction: "STATE" @@ -13,7 +14,7 @@ topic: "full-elr" customerStatus: "active" translation: - schemaName: "azure:/metadata/hl7_mapping/receivers/STLTs/MH/MH-receiver-transform.yml" + schemaName: "azure:/hl7_mapping/receivers/STLTs/MH/MH-receiver-transform.yml" useTestProcessingMode: false useBatchHeaders: true receivingApplicationName: "RMI_DOH" @@ -49,7 +50,7 @@ receivingOrganization: null convertPositiveDateTimeOffsetToNegative: false stripInvalidCharsRegex: null - convertDateTimesToReceiverLocalTime: false + convertDateTimesToReceiverLocalTime: true useHighPrecisionHeaderDateTimeFormat: false type: "HL7" truncationConfig: @@ -69,8 +70,9 @@ processingModeFilter: [] reverseTheQualityFilter: false conditionFilter: - # Accept COVID only - - "(%resource.code.coding.extension('https://reportstream.cdc.gov/fhir/StructureDefinition/condition-code').value.where(code in ('840539006')).exists())" + # RSV: 55735004, COVID: 840539006 (Antigen) | 895448002 - Antibody result, FLU (A or B by Antigen): 6142004, FLU (A or B by Culture and Identification Method): 541131000124102. + # Multiplex (All), + - "(%resource.code.coding.extension('https://reportstream.cdc.gov/fhir/StructureDefinition/condition-code').value.where(code in ('55735004'|'6142004'|'840539006'|'895448002'|'541131000124102')).exists())" mappedConditionFilter: [] deidentify: false deidentifiedValue: "" @@ -91,6 +93,7 @@ filePath: ./upload credentialName: DEFAULT-SFTP externalName: null - enrichmentSchemaNames: [] - timeZone: null + enrichmentSchemaNames: + - "azure:/fhir_transforms/common/datetime-to-local/datetime-to-local-majuro.yml" + timeZone: "MAJURO" dateTimeFormat: "OFFSET" diff --git a/prime-router/settings/STLTs/WA/wa-phd.yml b/prime-router/settings/STLTs/WA/wa-phd.yml index b4c3e2d43b7..5c7ae4ba5f4 100644 --- a/prime-router/settings/STLTs/WA/wa-phd.yml +++ b/prime-router/settings/STLTs/WA/wa-phd.yml @@ -90,6 +90,7 @@ reverseTheQualityFilter: false conditionFilter: #Accept COVID only, "matches(abnormal_flag, A)" + #Verified that Covid only, "matches(abnormal_flag, A)" Abi Philip Jan 6 2025 - "%resource.interpretation.coding.code = 'A' and (%resource.code.coding.extension('https://reportstream.cdc.gov/fhir/StructureDefinition/condition-code').value.where(code in ('840539006')).exists())" mappedConditionFilter: [] deidentify: false diff --git a/prime-router/src/main/kotlin/Receiver.kt b/prime-router/src/main/kotlin/Receiver.kt index 5d0e74d3fe6..3c7e5641795 100644 --- a/prime-router/src/main/kotlin/Receiver.kt +++ b/prime-router/src/main/kotlin/Receiver.kt @@ -3,6 +3,7 @@ package gov.cdc.prime.router import com.fasterxml.jackson.annotation.JsonIgnore import gov.cdc.prime.router.azure.BlobAccess import gov.cdc.prime.router.common.DateUtilities +import gov.cdc.prime.router.common.Environment import gov.cdc.prime.router.fhirengine.translation.hl7.FhirToHl7Converter import gov.cdc.prime.router.fhirengine.translation.hl7.SchemaException import java.time.LocalTime @@ -249,6 +250,7 @@ open class Receiver( * Validate the object and return null or an error message */ fun consistencyErrorMessage(metadata: Metadata): String? { + // TODO: The logic in this method is slated to be removed as part of #17020 if (conditionFilter.isNotEmpty() || mappedConditionFilter.isNotEmpty()) { if (!topic.isUniversalPipeline) { return "Condition filter(s) not allowed for receivers with topic '${topic.jsonVal}'" @@ -258,8 +260,13 @@ open class Receiver( if (translation is CustomConfiguration) { if (this.topic.isUniversalPipeline) { try { - // This is already scheduled for deletion in https://github.com/CDCgov/prime-reportstream/pull/13313 - FhirToHl7Converter(translation.schemaName, BlobAccess.defaultBlobMetadata) + FhirToHl7Converter( + translation.schemaName, + BlobAccess.BlobContainerMetadata.build( + "metadata", + Environment.get().storageEnvVar + ) + ) } catch (e: SchemaException) { return e.message } diff --git a/prime-router/src/main/kotlin/SettingsProvider.kt b/prime-router/src/main/kotlin/SettingsProvider.kt index ba98f8a168f..7eaa32d3dee 100644 --- a/prime-router/src/main/kotlin/SettingsProvider.kt +++ b/prime-router/src/main/kotlin/SettingsProvider.kt @@ -5,7 +5,6 @@ import com.fasterxml.jackson.annotation.JsonValue import gov.cdc.prime.router.CustomerStatus.ACTIVE import gov.cdc.prime.router.CustomerStatus.INACTIVE import gov.cdc.prime.router.CustomerStatus.TESTING -import gov.cdc.prime.router.fhirengine.utils.HL7Reader import gov.cdc.prime.router.validation.IItemValidator import gov.cdc.prime.router.validation.MarsOtcElrOnboardingValidator import gov.cdc.prime.router.validation.MarsOtcElrValidator @@ -55,7 +54,6 @@ enum class Topic( val isUniversalPipeline: Boolean = true, val isSendOriginal: Boolean = false, val validator: IItemValidator = NoopItemValidator(), - val hl7ParseConfiguration: HL7Reader.Companion.HL7MessageParseAndConvertConfiguration? = null, ) { FULL_ELR("full-elr", true, false), ETOR_TI("etor-ti", true, false), diff --git a/prime-router/src/main/kotlin/SubmissionReceiver.kt b/prime-router/src/main/kotlin/SubmissionReceiver.kt index d9cc88a1e5b..fe819504005 100644 --- a/prime-router/src/main/kotlin/SubmissionReceiver.kt +++ b/prime-router/src/main/kotlin/SubmissionReceiver.kt @@ -9,8 +9,8 @@ import gov.cdc.prime.router.azure.ReportWriter import gov.cdc.prime.router.azure.WorkflowEngine import gov.cdc.prime.router.azure.db.enums.TaskAction import gov.cdc.prime.router.fhirengine.engine.FhirConvertQueueMessage -import gov.cdc.prime.router.fhirengine.engine.MessageType import gov.cdc.prime.router.fhirengine.utils.FhirTranscoder +import gov.cdc.prime.router.fhirengine.utils.HL7MessageHelpers import gov.cdc.prime.router.fhirengine.utils.HL7Reader /** @@ -268,14 +268,14 @@ class UniversalPipelineReceiver : SubmissionReceiver { when (sender.format) { MimeFormat.HL7 -> { - val messages = HL7Reader(actionLogs).getMessages(content) - val isBatch = HL7Reader(actionLogs).isBatch(content, messages.size) - // create a Report for this incoming HL7 message to use for tracking in the database + val messageCount = HL7MessageHelpers.messageCount(content) + val isBatch = HL7Reader.isBatch(content, messageCount) + // create a Report for this incoming HL7 message to use for tracking in the database report = Report( if (isBatch) MimeFormat.HL7_BATCH else MimeFormat.HL7, sources, - messages.size, + messageCount, metadata = metadata, nextAction = TaskAction.convert, topic = sender.topic, @@ -290,11 +290,8 @@ class UniversalPipelineReceiver : SubmissionReceiver { // actionLogs // ) // } - - // check for valid message type - messages.forEachIndexed { - idx, element -> - MessageType.validateMessageType(element, actionLogs, idx + 1) + if (messageCount == 0 && !actionLogs.hasErrors()) { + actionLogs.error(InvalidReportMessage("Unable to find HL7 messages in provided data.")) } } diff --git a/prime-router/src/main/kotlin/USTimeZone.kt b/prime-router/src/main/kotlin/USTimeZone.kt index 7d0d61d0395..ab26dfd0d0c 100644 --- a/prime-router/src/main/kotlin/USTimeZone.kt +++ b/prime-router/src/main/kotlin/USTimeZone.kt @@ -17,4 +17,7 @@ enum class USTimeZone(val zoneId: String) { // not technically a US time zone but we need it UTC("UTC"), + + // Marshall Island timezone (UTC+12) + MAJURO("Pacific/Majuro"), } \ No newline at end of file diff --git a/prime-router/src/main/kotlin/azure/BlobAccess.kt b/prime-router/src/main/kotlin/azure/BlobAccess.kt index 8b88fbcf017..8cbe6f1b68e 100644 --- a/prime-router/src/main/kotlin/azure/BlobAccess.kt +++ b/prime-router/src/main/kotlin/azure/BlobAccess.kt @@ -401,19 +401,6 @@ class BlobAccess() : Logging { return binaryData } - /** - * Copy a blob at [fromBlobUrl] to a blob in [blobConnInfo] - */ - fun copyBlob(fromBlobUrl: String, blobConnInfo: BlobContainerMetadata): String { - val fromBytes = downloadBlobAsByteArray(fromBlobUrl) - logger.info("Ready to copy ${fromBytes.size} bytes from $fromBlobUrl") - val toFilename = BlobInfo.getBlobFilename(fromBlobUrl) - logger.info("New blob filename will be $toFilename") - val toBlobUrl = uploadBlob(toFilename, fromBytes, blobConnInfo) - logger.info("New blob URL is $toBlobUrl") - return toBlobUrl - } - /** * Accepts a [BlobItemAndPreviousVersions] and grabs the most recent previous version and updates * the blob to it. diff --git a/prime-router/src/main/kotlin/azure/ConditionMapper.kt b/prime-router/src/main/kotlin/azure/ConditionMapper.kt index e14ba24276d..9c999ff29ef 100644 --- a/prime-router/src/main/kotlin/azure/ConditionMapper.kt +++ b/prime-router/src/main/kotlin/azure/ConditionMapper.kt @@ -4,7 +4,9 @@ import gov.cdc.prime.router.Metadata import gov.cdc.prime.router.fhirengine.utils.getCodeSourcesMap import gov.cdc.prime.router.metadata.ObservationMappingConstants import org.hl7.fhir.r4.model.Coding +import org.hl7.fhir.r4.model.Extension import org.hl7.fhir.r4.model.Observation +import org.hl7.fhir.r4.model.StringType interface IConditionMapper { /** @@ -12,6 +14,12 @@ interface IConditionMapper { * @return a map associating test [codings] to their diagnostic conditions as Coding's */ fun lookupConditions(codings: List): Map> + + /** + * Lookup test code to Member OID mappings for the given [codings]. + * @return a map associating test codes to their Member OIDs + */ + fun lookupMemberOid(codings: List): Map } class LookupTableConditionMapper(metadata: Metadata) : IConditionMapper { @@ -34,16 +42,42 @@ class LookupTableConditionMapper(metadata: Metadata) : IConditionMapper { acc } } + + override fun lookupMemberOid(codings: List): Map { + // Extract condition codes using the mapping table, not directly from codings + val testCodes = codings.mapNotNull { it.code } // These are the input test codes + + // Filter rows related to condition mappings based on test codes + val filteredRows = mappingTable.FilterBuilder() + .isIn(ObservationMappingConstants.TEST_CODE_KEY, testCodes) // Map test codes to conditions + .filter().caseSensitiveDataRowsMap + + // Create a map of condition codes to member OIDs + return filteredRows + .mapNotNull { condition -> + val conditionCode = condition[ObservationMappingConstants.CONDITION_CODE_KEY] + val memberOid = condition[ObservationMappingConstants.TEST_OID_KEY] + if (!conditionCode.isNullOrEmpty() && !memberOid.isNullOrEmpty()) { + conditionCode to memberOid + } else { + null + } + } + .toMap() + } } class ConditionStamper(private val conditionMapper: IConditionMapper) { companion object { - const val conditionCodeExtensionURL = "https://reportstream.cdc.gov/fhir/StructureDefinition/condition-code" + const val CONDITION_CODE_EXTENSION_URL = "https://reportstream.cdc.gov/fhir/StructureDefinition/condition-code" + const val MEMBER_OID_EXTENSION_URL = + "https://reportstream.cdc.gov/fhir/StructureDefinition/test-performed-member-oid" const val BUNDLE_CODE_IDENTIFIER = "observation.code.coding.code" const val BUNDLE_VALUE_IDENTIFIER = "observation.valueCodeableConcept.coding.code" const val MAPPING_CODES_IDENTIFIER = "observation.{code|valueCodeableConcept}.coding.code" } + data class ObservationMappingFailure(val source: String, val failures: List) data class ObservationStampingResult( @@ -52,29 +86,59 @@ class ConditionStamper(private val conditionMapper: IConditionMapper) { ) /** - * Lookup condition codes for an [observation] and add them as custom extensions + * Lookup condition codes and member OIDs for an [observation] and add them as custom extensions * @param observation the observation that will be stamped * @return a [ObservationStampingResult] including stamping success and any mapping failures */ fun stampObservation(observation: Observation): ObservationStampingResult { + // Retrieve only the code sources that are non-empty val codeSourcesMap = observation.getCodeSourcesMap().filterValues { it.isNotEmpty() } - if (codeSourcesMap.values.flatten().isEmpty()) return ObservationStampingResult(false) + if (codeSourcesMap.values.flatten().isEmpty()) { + return ObservationStampingResult(false) + } + // Look up mapped SNOMED conditions and member OIDs val conditionsToCode = conditionMapper.lookupConditions(codeSourcesMap.values.flatten()) + val memberOidMap = conditionMapper.lookupMemberOid(codeSourcesMap.values.flatten()) + var mappedSomething = false + val failures = mutableListOf() - val failures = codeSourcesMap.mapNotNull { codes -> - val unnmapped = codes.value.mapNotNull { code -> - val conditions = conditionsToCode.getOrDefault(code, emptyList()) - if (conditions.isEmpty()) { - code + codeSourcesMap.forEach { (key, codings) -> + val unmappedCodings = mutableListOf() + codings.forEach { originalCoding -> + val mappedConditions = conditionsToCode[originalCoding].orEmpty() + if (mappedConditions.isEmpty()) { + // If no mapped conditions, record as unmapped + unmappedCodings.add(originalCoding) } else { - conditions.forEach { code.addExtension(conditionCodeExtensionURL, it) } - mappedSomething = true - null + mappedConditions.forEach { conditionCoding -> + val snomedCoding = Coding().apply { + system = conditionCoding.system + code = conditionCoding.code + display = conditionCoding.display + } + + // If we have an OID for this code, add it as a sub-extension + memberOidMap[conditionCoding.code]?.let { memberOid -> + val memberOidExtension = Extension(MEMBER_OID_EXTENSION_URL).apply { + setValue(StringType(memberOid)) + } + snomedCoding.addExtension(memberOidExtension) + } + + // Create the top-level condition-code extension + val conditionExtension = Extension(CONDITION_CODE_EXTENSION_URL, snomedCoding) + originalCoding.addExtension(conditionExtension) + mappedSomething = true + } } } - if (unnmapped.isEmpty()) null else ObservationMappingFailure(codes.key, unnmapped) + + // If there's any unmapped codes, record them as failures + if (unmappedCodings.isNotEmpty()) { + failures.add(ObservationMappingFailure(key, unmappedCodings)) + } } return ObservationStampingResult(mappedSomething, failures) diff --git a/prime-router/src/main/kotlin/azure/ReportFunction.kt b/prime-router/src/main/kotlin/azure/ReportFunction.kt index 44c13ef3075..00a2b8294ea 100644 --- a/prime-router/src/main/kotlin/azure/ReportFunction.kt +++ b/prime-router/src/main/kotlin/azure/ReportFunction.kt @@ -5,6 +5,7 @@ import com.fasterxml.jackson.databind.SerializationFeature import com.fasterxml.jackson.databind.json.JsonMapper import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule import com.github.ajalt.clikt.core.CliktError +import com.google.common.net.HttpHeaders import com.microsoft.azure.functions.HttpMethod import com.microsoft.azure.functions.HttpRequestMessage import com.microsoft.azure.functions.HttpResponseMessage @@ -148,6 +149,8 @@ class ReportFunction( ) request: HttpRequestMessage, ): HttpResponseMessage { val claims = AuthenticatedClaims.authenticate(request) + val caseInsensitiveHeaders = request.headers.mapKeys { it.key.lowercase() } + val accessToken = caseInsensitiveHeaders[HttpHeaders.AUTHORIZATION.lowercase()] if (claims != null && claims.authorized(setOf(Scope.primeAdminScope))) { val receiverName = request.queryParameters["receiverName"] val organizationName = request.queryParameters["organizationName"] @@ -179,11 +182,12 @@ class ReportFunction( try { val result = ProcessFhirCommands().processFhirDataRequest( file, - Environment.get().envName, + Environment.get(), receiverName, organizationName, senderSchema, - false + false, + accessToken!! ) file.delete() val message = if (result.message != null) { @@ -202,17 +206,13 @@ class ReportFunction( MessageOrBundleStringified( message, bundle, - result.senderTransformPassed, result.senderTransformErrors, result.senderTransformWarnings, - result.enrichmentSchemaPassed, result.enrichmentSchemaErrors, result.senderTransformWarnings, - result.receiverTransformPassed, result.receiverTransformErrors, result.receiverTransformWarnings, result.filterErrors, - result.filtersPassed ) ) ) @@ -227,17 +227,13 @@ class ReportFunction( class MessageOrBundleStringified( var message: String? = null, var bundle: String? = null, - override var senderTransformPassed: Boolean = true, override var senderTransformErrors: MutableList = mutableListOf(), override var senderTransformWarnings: MutableList = mutableListOf(), - override var enrichmentSchemaPassed: Boolean = true, override var enrichmentSchemaErrors: MutableList = mutableListOf(), override var enrichmentSchemaWarnings: MutableList = mutableListOf(), - override var receiverTransformPassed: Boolean = true, override var receiverTransformErrors: MutableList = mutableListOf(), override var receiverTransformWarnings: MutableList = mutableListOf(), override var filterErrors: MutableList = mutableListOf(), - override var filtersPassed: Boolean = true, ) : ProcessFhirCommands.MessageOrBundleParent() /** diff --git a/prime-router/src/main/kotlin/azure/SenderFunction.kt b/prime-router/src/main/kotlin/azure/SenderFunction.kt new file mode 100644 index 00000000000..2b19e42369d --- /dev/null +++ b/prime-router/src/main/kotlin/azure/SenderFunction.kt @@ -0,0 +1,84 @@ +package gov.cdc.prime.router.azure + +import com.fasterxml.jackson.databind.ObjectMapper +import com.github.doyaaaaaken.kotlincsv.dsl.csvReader +import com.microsoft.azure.functions.HttpMethod +import com.microsoft.azure.functions.HttpRequestMessage +import com.microsoft.azure.functions.HttpResponseMessage +import com.microsoft.azure.functions.annotation.AuthorizationLevel +import com.microsoft.azure.functions.annotation.FunctionName +import com.microsoft.azure.functions.annotation.HttpTrigger +import gov.cdc.prime.router.azure.db.enums.TaskAction +import gov.cdc.prime.router.cli.LookupTableCompareMappingCommand +import gov.cdc.prime.router.metadata.ObservationMappingConstants +import gov.cdc.prime.router.tokens.AuthenticatedClaims +import gov.cdc.prime.router.tokens.authenticationFailure +import gov.cdc.prime.router.tokens.authorizationFailure +import org.apache.logging.log4j.kotlin.Logging + +class SenderFunction( + private val workflowEngine: WorkflowEngine = WorkflowEngine(), + private val actionHistory: ActionHistory = ActionHistory(TaskAction.receive), +) : RequestFunction(workflowEngine), + Logging { + + /** + * POST a CSV with test codes and conditions to compare with existing + * code to condition observation mapping table + * + * @return original request body data with mapping results in JSON format + */ + @FunctionName("conditionCodeComparisonPostRequest") + fun conditionCodeComparisonPostRequest( + @HttpTrigger( + name = "conditionCodeComparisonPostRequest", + methods = [HttpMethod.POST], + authLevel = AuthorizationLevel.ANONYMOUS, + route = "sender/conditionCode/comparison" + ) request: HttpRequestMessage, + ): HttpResponseMessage { + val senderName = extractClient(request) + if (senderName.isBlank()) { + return HttpUtilities.bad(request, "Expected a '$CLIENT_PARAMETER' query parameter") + } + + actionHistory.trackActionParams(request) + try { + val claims = AuthenticatedClaims.authenticate(request) + ?: return HttpUtilities.unauthorizedResponse(request, authenticationFailure) + + val sender = workflowEngine.settings.findSender(senderName) + ?: return HttpUtilities.bad(request, "'$CLIENT_PARAMETER:$senderName': unknown client") + + if (!claims.authorizedForSendOrReceive(sender, request)) { + return HttpUtilities.unauthorizedResponse(request, authorizationFailure) + } + + // Read request body CSV + val bodyCsvText = request.body ?: "" + val bodyCsv = csvReader().readAllWithHeader(bodyCsvText) + + // Get observation mapping table + val tableMapper = LookupTableConditionMapper(workflowEngine.metadata) + val observationMappingTable = tableMapper.mappingTable.caseSensitiveDataRowsMap + val tableTestCodeMap = observationMappingTable.associateBy { it[ObservationMappingConstants.TEST_CODE_KEY] } + + // Compare request CSV with table using CLI wrapper + val conditionCodeComparison = LookupTableCompareMappingCommand.compareMappings( + compendium = bodyCsv, tableTestCodeMap = tableTestCodeMap + ) + + // Create output JSON with mapping comparison result + val conditionCodeComparisonJson = ObjectMapper().writeValueAsString(conditionCodeComparison) + + return HttpUtilities.okResponse(request, conditionCodeComparisonJson) + } catch (ex: Exception) { + if (ex.message != null) { + logger.error(ex.message!!, ex) + } else { + logger.error(ex) + } + return HttpUtilities.internalErrorResponse(request) + } + } +} \ No newline at end of file diff --git a/prime-router/src/main/kotlin/azure/observability/event/CodeSummary.kt b/prime-router/src/main/kotlin/azure/observability/event/CodeSummary.kt index 7365ecca5d2..5ac3146463d 100644 --- a/prime-router/src/main/kotlin/azure/observability/event/CodeSummary.kt +++ b/prime-router/src/main/kotlin/azure/observability/event/CodeSummary.kt @@ -14,10 +14,10 @@ data class CodeSummary( /** * Create an instance of [CodeSummary] from a [Coding] */ - fun fromCoding(coding: Coding) = CodeSummary( - coding.system ?: UNKNOWN, - coding.code ?: UNKNOWN, - coding.display ?: UNKNOWN, + fun fromCoding(coding: Coding?) = CodeSummary( + coding?.system ?: UNKNOWN, + coding?.code ?: UNKNOWN, + coding?.display ?: UNKNOWN, ) } } \ No newline at end of file diff --git a/prime-router/src/main/kotlin/azure/observability/event/TestSummary.kt b/prime-router/src/main/kotlin/azure/observability/event/TestSummary.kt index c1486968977..6b333f45083 100644 --- a/prime-router/src/main/kotlin/azure/observability/event/TestSummary.kt +++ b/prime-router/src/main/kotlin/azure/observability/event/TestSummary.kt @@ -1,6 +1,6 @@ package gov.cdc.prime.router.azure.observability.event -import gov.cdc.prime.router.azure.ConditionStamper.Companion.conditionCodeExtensionURL +import gov.cdc.prime.router.azure.ConditionStamper.Companion.CONDITION_CODE_EXTENSION_URL import org.hl7.fhir.r4.model.Coding data class TestSummary( @@ -17,7 +17,7 @@ data class TestSummary( */ fun fromCoding(coding: Coding): TestSummary { val conditions = coding.extension - .filter { it.url == conditionCodeExtensionURL } + .filter { it.url == CONDITION_CODE_EXTENSION_URL } .map { it.castToCoding(it.value) } .map(CodeSummary::fromCoding) return TestSummary( diff --git a/prime-router/src/main/kotlin/azure/service/SubmissionResponseBuilder.kt b/prime-router/src/main/kotlin/azure/service/SubmissionResponseBuilder.kt index c01f4a76fbc..eff8dcd02da 100644 --- a/prime-router/src/main/kotlin/azure/service/SubmissionResponseBuilder.kt +++ b/prime-router/src/main/kotlin/azure/service/SubmissionResponseBuilder.kt @@ -5,12 +5,12 @@ import com.google.common.net.HttpHeaders import com.microsoft.azure.functions.HttpRequestMessage import com.microsoft.azure.functions.HttpResponseMessage import com.microsoft.azure.functions.HttpStatus -import gov.cdc.prime.router.ActionLogger import gov.cdc.prime.router.Sender import gov.cdc.prime.router.azure.HttpUtilities import gov.cdc.prime.router.azure.HttpUtilities.Companion.isSuccessful import gov.cdc.prime.router.common.JacksonMapperUtilities import gov.cdc.prime.router.fhirengine.translation.hl7.utils.HL7ACKUtils +import gov.cdc.prime.router.fhirengine.utils.HL7MessageHelpers import gov.cdc.prime.router.fhirengine.utils.HL7Reader import gov.cdc.prime.router.history.DetailedSubmissionHistory import org.apache.logging.log4j.kotlin.Logging @@ -106,12 +106,11 @@ class SubmissionResponseBuilder( contentType == HttpUtilities.hl7V2MediaType && requestBody != null ) { - val hl7Reader = HL7Reader(ActionLogger()) - val messages = hl7Reader.getMessages(requestBody) - val isBatch = hl7Reader.isBatch(requestBody, messages.size) + val messageCount = HL7MessageHelpers.messageCount(requestBody) + val isBatch = HL7Reader.isBatch(requestBody, messageCount) - if (!isBatch && messages.size == 1) { - val message = messages.first() + if (!isBatch && messageCount == 1) { + val message = HL7Reader.parseHL7Message(requestBody) val acceptAcknowledgementType = HL7Reader.getAcceptAcknowledgmentType(message) val ackResponseRequired = acceptAcknowledgmentTypeRespondValues.contains(acceptAcknowledgementType) if (ackResponseRequired) { diff --git a/prime-router/src/main/kotlin/cli/ProcessFhirCommands.kt b/prime-router/src/main/kotlin/cli/ProcessFhirCommands.kt index c1a91a09b92..73012d84748 100644 --- a/prime-router/src/main/kotlin/cli/ProcessFhirCommands.kt +++ b/prime-router/src/main/kotlin/cli/ProcessFhirCommands.kt @@ -129,6 +129,8 @@ class ProcessFhirCommands : CliktCommand( private val environmentParam by option( "--receiver-setting-env", help = "Environment that specifies where to get the receiver settings" ) + .choice("local", "test", "staging", "prod", "demo1") + .default("local", "local environment") /** * Sender schema location @@ -141,15 +143,39 @@ class ProcessFhirCommands : CliktCommand( private val hl7DiffHelper = HL7DiffHelper() + /** + * The environment specified by the command line parameters + */ + val environment: Environment by lazy { + Environment.get(environmentParam) + } + + /** + * The access token left by a previous login command as specified by the command line parameters + */ + private val oktaAccessToken: String by lazy { + + if (environment.oktaApp == null) { + "placeholder_token" + } else { + OktaCommand.fetchAccessToken(environment.oktaApp) + ?: abort( + "Invalid access token. " + + "Run ./prime login to fetch/refresh your access token for the $environmentParam environment." + ) + } + } + override fun run() { val messageOrBundle = processFhirDataRequest( inputFile, - environmentParam, + environment, receiverNameParam, orgNameParam, senderSchemaParam, - true + true, + oktaAccessToken ) if (messageOrBundle.message != null) { outputResult(messageOrBundle.message!!) @@ -162,18 +188,19 @@ class ProcessFhirCommands : CliktCommand( fun processFhirDataRequest( inputFile: File, - environment: String?, + environment: Environment, receiverName: String?, orgName: String?, senderSchema: String?, isCli: Boolean, + accessToken: String, ): MessageOrBundle { // Read the contents of the file val contents = inputFile.inputStream().readBytes().toString(Charsets.UTF_8) if (contents.isBlank()) throw CliktError("File ${inputFile.absolutePath} is empty.") // Check on the extension of the file for supported operations val inputFileType = inputFile.extension.uppercase() - val receiver = getReceiver(environment, receiverName, orgName, GetMultipleSettings(), isCli) + val receiver = getReceiver(environment, receiverName, orgName, isCli, accessToken) val messageOrBundle = MessageOrBundle() when { @@ -223,8 +250,8 @@ class ProcessFhirCommands : CliktCommand( (isCli && outputFormat == MimeFormat.HL7.toString()) || ( receiver != null && - (receiver.format == MimeFormat.HL7 || receiver.format == MimeFormat.HL7_BATCH) - ) + (receiver.format == MimeFormat.HL7 || receiver.format == MimeFormat.HL7_BATCH) + ) ) -> { val (bundle2, inputMessage) = convertHl7ToFhir(contents, receiver) @@ -293,11 +320,10 @@ class ProcessFhirCommands : CliktCommand( messageOrBundle.bundle = output } - messageOrBundle.enrichmentSchemaPassed = messageOrBundle.enrichmentSchemaErrors.isEmpty() } } - private fun evaluateReceiverFilters(receiver: Receiver?, messageOrBundle: MessageOrBundle, isCli: Boolean) { + private fun evaluateReceiverFilters(receiver: Receiver?, messageOrBundle: MessageOrBundle, isCli: Boolean) { if (receiver != null && messageOrBundle.bundle != null) { val reportStreamFilters = mutableListOf>() reportStreamFilters.add(Pair("Jurisdictional Filter", receiver.jurisdictionalFilter)) @@ -350,33 +376,25 @@ class ProcessFhirCommands : CliktCommand( } abstract class MessageOrBundleParent( - open var senderTransformPassed: Boolean = true, open var senderTransformErrors: MutableList = mutableListOf(), open var senderTransformWarnings: MutableList = mutableListOf(), - open var enrichmentSchemaPassed: Boolean = true, open var enrichmentSchemaErrors: MutableList = mutableListOf(), open var enrichmentSchemaWarnings: MutableList = mutableListOf(), - open var receiverTransformPassed: Boolean = true, open var receiverTransformErrors: MutableList = mutableListOf(), open var receiverTransformWarnings: MutableList = mutableListOf(), open var filterErrors: MutableList = mutableListOf(), - open var filtersPassed: Boolean = true, ) class MessageOrBundle( var message: Message? = null, var bundle: Bundle? = null, - override var senderTransformPassed: Boolean = true, override var senderTransformErrors: MutableList = mutableListOf(), override var senderTransformWarnings: MutableList = mutableListOf(), - override var enrichmentSchemaPassed: Boolean = true, override var enrichmentSchemaErrors: MutableList = mutableListOf(), override var enrichmentSchemaWarnings: MutableList = mutableListOf(), - override var receiverTransformPassed: Boolean = true, override var receiverTransformErrors: MutableList = mutableListOf(), override var receiverTransformWarnings: MutableList = mutableListOf(), override var filterErrors: MutableList = mutableListOf(), - override var filtersPassed: Boolean = true, ) : MessageOrBundleParent() private fun applyConditionFilter(receiver: Receiver, bundle: Bundle): Bundle { @@ -404,27 +422,20 @@ class ProcessFhirCommands : CliktCommand( } fun getReceiver( - environment: String?, + environment: Environment, receiverName: String?, orgName: String?, - getMultipleSettings: GetMultipleSettings = GetMultipleSettings(), isCli: Boolean, + accessToken: String, ): Receiver? { - if (!environment.isNullOrBlank() && !receiverName.isNullOrBlank() && !orgName.isNullOrBlank()) { + if (!receiverName.isNullOrBlank() && !orgName.isNullOrBlank()) { if (isCli && !outputFormat.isNullOrBlank()) { throw CliktError( "Please specify either a receiver OR an output format. Not both." ) } - val foundEnvironment = Environment.get(environment) - val accessToken = OktaCommand.fetchAccessToken(foundEnvironment.oktaApp) - ?: abort( - "Invalid access token. " + - "Run ./prime login to fetch/refresh your access " + - "token for the $foundEnvironment environment." - ) - val organizations = getMultipleSettings.getAll( - environment = foundEnvironment, + val organizations = GetMultipleSettings().getAll( + environment = environment, accessToken = accessToken, specificOrg = orgName, exactMatch = true @@ -439,7 +450,7 @@ class ProcessFhirCommands : CliktCommand( } } else if (isCli && outputFormat.isNullOrBlank()) { throw CliktError( - "Output format is required if the environment, receiver, and org " + + "Output format is required if the receiver and org " + "are not specified. " ) } @@ -491,7 +502,6 @@ class ProcessFhirCommands : CliktCommand( errors = messageOrBundle.receiverTransformErrors ).process(messageOrBundle.bundle!!) messageOrBundle.message = message - messageOrBundle.receiverTransformPassed = messageOrBundle.receiverTransformErrors.isEmpty() } } @@ -522,10 +532,8 @@ class ProcessFhirCommands : CliktCommand( // However, the library used to encode the HL7 message throws an error it there are more than 4 encoding // characters, so this work around exists for that scenario val stringToEncode = hl7String.replace("MSH|^~\\&#|", "MSH|^~\\&|") - val hl7message = HL7Reader.parseHL7Message( - stringToEncode, - null - ) + val hl7message = HL7Reader.parseHL7Message(stringToEncode) + // if a hl7 parsing failure happens, throw error and show the message if (hl7message.toString().lowercase().contains("failed")) { throw CliktError("HL7 parser failure. $hl7message") @@ -534,12 +542,8 @@ class ProcessFhirCommands : CliktCommand( val msh = hl7message.get("MSH") as Segment Terser.set(msh, 2, 0, 1, 1, "^~\\&#") } - val hl7profile = HL7Reader.getMessageProfile(hl7message.toString()) // search hl7 profile map and create translator with config path if found - var fhirMessage = when (val configPath = HL7Reader.profileDirectoryMap[hl7profile]) { - null -> HL7toFhirTranslator(inputSchema).translate(hl7message) - else -> HL7toFhirTranslator(configPath).translate(hl7message) - } + var fhirMessage = HL7toFhirTranslator(inputSchema).translate(hl7message) val stamper = ConditionStamper(LookupTableConditionMapper(Metadata.getInstance())) fhirMessage.getObservations().forEach { observation -> diff --git a/prime-router/src/main/kotlin/cli/ProcessHl7Commands.kt b/prime-router/src/main/kotlin/cli/ProcessHl7Commands.kt index 1f89270217f..9c23ab1c9ec 100644 --- a/prime-router/src/main/kotlin/cli/ProcessHl7Commands.kt +++ b/prime-router/src/main/kotlin/cli/ProcessHl7Commands.kt @@ -1,11 +1,11 @@ package gov.cdc.prime.router.cli +import ca.uhn.hl7v2.util.Hl7InputStreamMessageStringIterator import com.github.ajalt.clikt.core.CliktCommand import com.github.ajalt.clikt.core.CliktError import com.github.ajalt.clikt.parameters.options.option import com.github.ajalt.clikt.parameters.options.required import com.github.ajalt.clikt.parameters.types.file -import gov.cdc.prime.router.ActionLogger import gov.cdc.prime.router.cli.helpers.HL7DiffHelper import gov.cdc.prime.router.fhirengine.utils.HL7Reader @@ -45,9 +45,14 @@ class ProcessHl7Commands : CliktCommand( val comparisonFile = comparisonFile.inputStream().readBytes().toString(Charsets.UTF_8) if (comparisonFile.isBlank()) throw CliktError("File ${this.comparisonFile.absolutePath} is empty.") - val actionLogger = ActionLogger() - val starterMessages = HL7Reader(actionLogger).getMessages(starterFile) - val comparisonMessages = HL7Reader(actionLogger).getMessages(comparisonFile) + val starterMessages = Hl7InputStreamMessageStringIterator(starterFile.byteInputStream()).asSequence() + .map { rawItem -> + HL7Reader.parseHL7Message(rawItem) + }.toList() + val comparisonMessages = Hl7InputStreamMessageStringIterator(comparisonFile.byteInputStream()).asSequence() + .map { rawItem -> + HL7Reader.parseHL7Message(rawItem) + }.toList() starterMessages.forEachIndexed { counter, message -> val differences = hl7DiffHelper.diffHl7(message, comparisonMessages[counter]) diff --git a/prime-router/src/main/kotlin/cli/SettingCommands.kt b/prime-router/src/main/kotlin/cli/SettingCommands.kt index 6df51ce8d49..b329a111590 100644 --- a/prime-router/src/main/kotlin/cli/SettingCommands.kt +++ b/prime-router/src/main/kotlin/cli/SettingCommands.kt @@ -1051,7 +1051,7 @@ class GetMultipleSettings : SettingCommand( fun getAll( environment: Environment, - accessToken: String = oktaAccessToken, + accessToken: String, specificOrg: String? = filter, exactMatch: Boolean = false, ): List { diff --git a/prime-router/src/main/kotlin/common/DateUtilities.kt b/prime-router/src/main/kotlin/common/DateUtilities.kt index e8ab8de32b2..1faa69329fb 100644 --- a/prime-router/src/main/kotlin/common/DateUtilities.kt +++ b/prime-router/src/main/kotlin/common/DateUtilities.kt @@ -42,6 +42,7 @@ object DateUtilities { /** wraps around all the possible variations of a date for finding something that matches */ const val variableDateTimePattern = "[yyyyMMdd]" + + "[yyyyMMddHHmmss.SSSSxx]" + "[yyyyMMdd[HHmm][ss][.S][Z]]" + "[yyyy-MM-dd HH:mm:ss.ZZZ]" + // nano seconds diff --git a/prime-router/src/main/kotlin/fhirengine/engine/FHIRConverter.kt b/prime-router/src/main/kotlin/fhirengine/engine/FHIRConverter.kt index 87bff24f1e9..0ce0eb45ab7 100644 --- a/prime-router/src/main/kotlin/fhirengine/engine/FHIRConverter.kt +++ b/prime-router/src/main/kotlin/fhirengine/engine/FHIRConverter.kt @@ -50,11 +50,9 @@ import gov.cdc.prime.router.fhirengine.translation.hl7.FhirTransformer import gov.cdc.prime.router.fhirengine.translation.hl7.utils.CustomContext import gov.cdc.prime.router.fhirengine.translation.hl7.utils.FhirPathUtils import gov.cdc.prime.router.fhirengine.utils.FhirTranscoder -import gov.cdc.prime.router.fhirengine.utils.HL7Reader import gov.cdc.prime.router.fhirengine.utils.HL7Reader.Companion.parseHL7Message import gov.cdc.prime.router.fhirengine.utils.getObservations import gov.cdc.prime.router.fhirengine.utils.getRSMessageType -import gov.cdc.prime.router.fhirengine.utils.isElr import gov.cdc.prime.router.logging.LogMeasuredTime import gov.cdc.prime.router.report.ReportService import gov.cdc.prime.router.validation.IItemValidator @@ -114,7 +112,6 @@ class FHIRConverter( companion object { private val clientIdHeader = "client_id" - private val payloadNameHeader = "payloadname" /** * Converts a [FhirConvertQueueMessage] into the input to the convert processing @@ -161,7 +158,6 @@ class FHIRConverter( val blobSubFolderName = message.blobSubFolderName val clientId = message.headers[clientIdHeader] - val payloadName = message.headers[payloadNameHeader] val sender = clientId?.takeIf { it.isNotBlank() }?.let { settings.findSender(it) } if (sender == null) { throw SubmissionSenderNotFound(clientId ?: "", reportId, blobUrl) @@ -183,8 +179,7 @@ class FHIRConverter( // is properly recorded in the report file table with the correct sender actionHistory.trackExternalInputReport( report, - BlobAccess.BlobInfo(format, blobUrl, blobDigest.toByteArray()), - payloadName + BlobAccess.BlobInfo(format, blobUrl, blobDigest.toByteArray()) ) actionHistory.trackActionSenderInfo(sender.fullName) @@ -400,7 +395,7 @@ class FHIRConverter( ) } - FHIREngineRunResult( + FHIREngineRunResult( routeEvent, report, blobInfo.blobUrl, @@ -430,7 +425,7 @@ class FHIRConverter( report, TaskAction.convert, "Submitted report was either empty or could not be parsed into HL7" - ) { + ) { parentReportId(input.reportId) params( mapOf( @@ -482,7 +477,7 @@ class FHIRConverter( "format" to format.name ) ) { - getBundlesFromRawHL7(rawReport, validator, input.topic.hl7ParseConfiguration) + getBundlesFromRawHL7(rawReport, validator) } } catch (ex: ParseFailureError) { actionLogger.error( @@ -574,7 +569,6 @@ class FHIRConverter( private fun getBundlesFromRawHL7( rawReport: String, validator: IItemValidator, - hL7MessageParseAndConvertConfiguration: HL7Reader.Companion.HL7MessageParseAndConvertConfiguration?, ): List> { val itemStream = Hl7InputStreamMessageStringIterator(rawReport.byteInputStream()).asSequence() @@ -583,17 +577,16 @@ class FHIRConverter( }.toList() return maybeParallelize(itemStream.size, itemStream.stream(), "Generating FHIR bundles in").map { item -> - parseHL7Item(item, hL7MessageParseAndConvertConfiguration) + parseHL7Item(item) }.map { item -> - validateAndConvertHL7Item(item, validator, hL7MessageParseAndConvertConfiguration) + validateAndConvertHL7Item(item, validator) }.collect(Collectors.toList()) } private fun parseHL7Item( item: ProcessedHL7Item, - hL7MessageParseAndConvertConfiguration: HL7Reader.Companion.HL7MessageParseAndConvertConfiguration?, ) = try { - val message = parseHL7Message(item.rawItem, hL7MessageParseAndConvertConfiguration) + val message = parseHL7Message(item.rawItem) item.updateParsed(message) } catch (e: HL7Exception) { item.updateParsed( @@ -608,20 +601,11 @@ class FHIRConverter( private fun validateAndConvertHL7Item( item: ProcessedHL7Item, validator: IItemValidator, - hL7MessageParseAndConvertConfiguration: HL7Reader.Companion.HL7MessageParseAndConvertConfiguration?, ): ProcessedHL7Item = if (item.parsedItem != null) { val validationResult = validator.validate(item.parsedItem) if (validationResult.isValid()) { try { - val bundle = when (hL7MessageParseAndConvertConfiguration) { - null -> HL7toFhirTranslator.getHL7ToFhirTranslatorInstance().translate(item.parsedItem) - else -> - HL7toFhirTranslator - .getHL7ToFhirTranslatorInstance( - hL7MessageParseAndConvertConfiguration.hl7toFHIRMappingLocation - ) - .translate(item.parsedItem) - } + val bundle = HL7toFhirTranslator.getHL7ToFhirTranslatorInstance().translate(item.parsedItem) item.setBundle(bundle) } catch (ex: Exception) { item.setConversionError( @@ -762,13 +746,13 @@ class FHIRConverter( * transformer in tests. */ fun getTransformerFromSchema(schemaName: String): FhirTransformer? = if (schemaName.isNotBlank()) { - withLoggingContext(mapOf("schemaName" to schemaName)) { - logger.info("Apply a sender transform to the items in the report") - } - FhirTransformer(schemaName) - } else { - null + withLoggingContext(mapOf("schemaName" to schemaName)) { + logger.info("Apply a sender transform to the items in the report") } + FhirTransformer(schemaName) + } else { + null + } } /** diff --git a/prime-router/src/main/kotlin/fhirengine/translation/TranslationSchemaManager.kt b/prime-router/src/main/kotlin/fhirengine/translation/TranslationSchemaManager.kt index 8890f198b63..b5c97da7463 100644 --- a/prime-router/src/main/kotlin/fhirengine/translation/TranslationSchemaManager.kt +++ b/prime-router/src/main/kotlin/fhirengine/translation/TranslationSchemaManager.kt @@ -1,9 +1,9 @@ package gov.cdc.prime.router.fhirengine.translation +import ca.uhn.hl7v2.util.Hl7InputStreamMessageStringIterator import com.azure.storage.blob.models.BlobItem import fhirengine.engine.CustomFhirPathFunctions import fhirengine.engine.CustomTranslationFunctions -import gov.cdc.prime.router.ActionLogger import gov.cdc.prime.router.Hl7Configuration import gov.cdc.prime.router.azure.BlobAccess import gov.cdc.prime.router.fhirengine.config.HL7TranslationConfig @@ -41,7 +41,6 @@ class TranslationSchemaManager : Logging { Regex("/$previousValidBlobName-$timestampRegex") private val previousPreviousValidBlobNameRegex = Regex("/$previousPreviousValidBlobName-$timestampRegex") - private val hL7Reader = HL7Reader(ActionLogger()) /** * Container class that holds the current state for a schema type in a particular azure store. @@ -440,7 +439,11 @@ class TranslationSchemaManager : Logging { ) ).validate( inputBundle, - hL7Reader.getMessages(rawValidationInput.output)[0] + HL7Reader.parseHL7Message( + Hl7InputStreamMessageStringIterator(rawValidationInput.output.byteInputStream()) + .asSequence() + .first() + ), ) } } diff --git a/prime-router/src/main/kotlin/fhirengine/translation/hl7/utils/CustomFHIRFunctions.kt b/prime-router/src/main/kotlin/fhirengine/translation/hl7/utils/CustomFHIRFunctions.kt index 819df5d2def..3ee64310671 100644 --- a/prime-router/src/main/kotlin/fhirengine/translation/hl7/utils/CustomFHIRFunctions.kt +++ b/prime-router/src/main/kotlin/fhirengine/translation/hl7/utils/CustomFHIRFunctions.kt @@ -14,7 +14,9 @@ import org.hl7.fhir.r4.model.HumanName import org.hl7.fhir.r4.model.IntegerType import org.hl7.fhir.r4.model.StringType import java.time.DateTimeException +import java.time.LocalDate import java.time.ZoneId +import java.time.format.DateTimeParseException import java.util.TimeZone /** @@ -109,9 +111,13 @@ object CustomFHIRFunctions : FhirPathFunctions { CustomFHIRFunctionNames.ChangeTimezone -> { FunctionDetails( - "changes the timezone of a dateTime, instant, or date resource to the timezone passed in", + "changes the timezone of a dateTime, instant, or date resource to the timezone passed in. " + + "optional params: " + + "dateTimeFormat ('OFFSET', 'LOCAL', 'HIGH_PRECISION_OFFSET', 'DATE_ONLY')(default: 'OFFSET')," + + " convertPositiveDateTimeOffsetToNegative (boolean)(default: false)," + + " useHighPrecisionHeaderDateTimeFormat (boolean)(default: false)", 1, - 1 + 4 ) } @@ -446,10 +452,19 @@ object CustomFHIRFunctions : FhirPathFunctions { throw SchemaException("Must call changeTimezone on a single element") } - if (parameters == null || parameters[0].size != 1) { + if (parameters == null || parameters.first().isEmpty()) { throw SchemaException("Must pass a timezone as the parameter") } + var dateTimeFormat = DateUtilities.DateTimeFormat.OFFSET + if (parameters.size > 1) { + try { + dateTimeFormat = DateUtilities.DateTimeFormat.valueOf(parameters.get(1).first().primitiveValue()) + } catch (e: IllegalArgumentException) { + throw SchemaException("Date time format not found.") + } + } + val inputTimeZone = parameters.first().first().primitiveValue() val timezonePassed = try { TimeZone.getTimeZone(ZoneId.of(inputTimeZone)) @@ -462,27 +477,24 @@ object CustomFHIRFunctions : FhirPathFunctions { } return if (focus[0] is StringType) { - if (focus[0].toString().length <= 8) { // we don't want to convert Date-only strings - return mutableListOf(StringType(focus[0].toString())) + val inputDate = try { + DateUtilities.parseDate((focus[0].toString())) + } catch (e: DateTimeParseException) { + throw SchemaException("Error trying to change time zone: " + e.message) } - // TODO: find a way to pass in these values from receiver settings - - val dateTimeFormat = null - val convertPositiveDateTimeOffsetToNegative = null - val useHighPrecisionHeaderDateTimeFormat = null + if (inputDate is LocalDate) { + return mutableListOf(StringType(focus[0].toString())) + } val formattedDate = DateUtilities.formatDateForReceiver( - DateUtilities.parseDate((focus[0].toString())), + inputDate, ZoneId.of(inputTimeZone), - dateTimeFormat ?: DateUtilities.DateTimeFormat.OFFSET, - convertPositiveDateTimeOffsetToNegative ?: false, - useHighPrecisionHeaderDateTimeFormat ?: false - ) - - mutableListOf( - StringType(formattedDate) + dateTimeFormat, + parameters.getOrNull(2)?.first()?.primitiveValue()?.toBoolean() ?: false, + parameters.getOrNull(3)?.first()?.primitiveValue()?.toBoolean() ?: false ) + mutableListOf(StringType(formattedDate)) } else { val inputDate = focus[0] as? BaseDateTimeType ?: throw SchemaException( "Must call changeTimezone on a dateTime, instant, or date; " + diff --git a/prime-router/src/main/kotlin/fhirengine/utils/FHIRBundleHelpers.kt b/prime-router/src/main/kotlin/fhirengine/utils/FHIRBundleHelpers.kt index dc12c4a9e8c..a5accd62201 100644 --- a/prime-router/src/main/kotlin/fhirengine/utils/FHIRBundleHelpers.kt +++ b/prime-router/src/main/kotlin/fhirengine/utils/FHIRBundleHelpers.kt @@ -7,7 +7,7 @@ import gov.cdc.prime.router.ReportStreamConditionFilter import gov.cdc.prime.router.ReportStreamFilter import gov.cdc.prime.router.azure.ConditionStamper.Companion.BUNDLE_CODE_IDENTIFIER import gov.cdc.prime.router.azure.ConditionStamper.Companion.BUNDLE_VALUE_IDENTIFIER -import gov.cdc.prime.router.azure.ConditionStamper.Companion.conditionCodeExtensionURL +import gov.cdc.prime.router.azure.ConditionStamper.Companion.CONDITION_CODE_EXTENSION_URL import gov.cdc.prime.router.codes import gov.cdc.prime.router.fhirengine.engine.RSMessageType import gov.cdc.prime.router.fhirengine.translation.hl7.utils.CustomContext @@ -65,7 +65,7 @@ fun Observation.getMappedConditionExtensions(): List { return this.getCodeSourcesMap() .flatMap { it.value } .flatMap { it.extension } - .filter { it.url == conditionCodeExtensionURL } + .filter { it.url == CONDITION_CODE_EXTENSION_URL } } /** diff --git a/prime-router/src/main/kotlin/fhirengine/utils/HL7MessageHelpers.kt b/prime-router/src/main/kotlin/fhirengine/utils/HL7MessageHelpers.kt index 6b05e746c36..cbd8b1b4700 100644 --- a/prime-router/src/main/kotlin/fhirengine/utils/HL7MessageHelpers.kt +++ b/prime-router/src/main/kotlin/fhirengine/utils/HL7MessageHelpers.kt @@ -1,6 +1,8 @@ package gov.cdc.prime.router.fhirengine.utils +import ca.uhn.hl7v2.AbstractHL7Exception import ca.uhn.hl7v2.model.v251.datatype.DTM +import ca.uhn.hl7v2.util.Hl7InputStreamMessageStringIterator import ca.uhn.hl7v2.util.Terser import gov.cdc.prime.router.ActionLogger import gov.cdc.prime.router.Hl7Configuration @@ -24,6 +26,8 @@ object HL7MessageHelpers : Logging { */ const val hl7SegmentDelimiter = "\r" + val actionLogger = ActionLogger() + /** * Generate a HL7 Batch file from the list of [hl7RawMsgs] for the given [receiver]. The [hl7RawMsgs] are expected * to be real HL7 messages at this point, so we will not validate their contents here for performance reasons. @@ -34,12 +38,17 @@ object HL7MessageHelpers : Logging { val useBatchHeaders = receiver.translation.useBatchHeaders // Grab the first message to extract some data if not set in the settings val firstMessage = if (hl7RawMsgs.isNotEmpty()) { - val messages = HL7Reader(ActionLogger()).getMessages(hl7RawMsgs[0]) - if (messages.isEmpty()) { + try { + val message = HL7Reader.parseHL7Message(hl7RawMsgs[0]) + Terser(message) + } catch (exception: Hl7InputStreamMessageStringIterator.ParseFailureError) { + logger.warn("Unable to extract batch header values from HL7: ${hl7RawMsgs[0].take(80)} ...") + HL7Reader.logHL7ParseFailure(exception, actionLogger) + null + } catch (exception: AbstractHL7Exception) { logger.warn("Unable to extract batch header values from HL7: ${hl7RawMsgs[0].take(80)} ...") + HL7Reader.recordError(exception, actionLogger) null - } else { - Terser(messages[0]) } } else { null @@ -94,4 +103,8 @@ object HL7MessageHelpers : Logging { return builder.toString() } + + fun messageCount(rawHl7: String): Int { + return Hl7InputStreamMessageStringIterator(rawHl7.byteInputStream()).asSequence().count() + } } \ No newline at end of file diff --git a/prime-router/src/main/kotlin/fhirengine/utils/HL7Reader.kt b/prime-router/src/main/kotlin/fhirengine/utils/HL7Reader.kt index aa48c011d8f..698b41c7697 100644 --- a/prime-router/src/main/kotlin/fhirengine/utils/HL7Reader.kt +++ b/prime-router/src/main/kotlin/fhirengine/utils/HL7Reader.kt @@ -5,10 +5,8 @@ import ca.uhn.hl7v2.DefaultHapiContext import ca.uhn.hl7v2.ErrorCode import ca.uhn.hl7v2.HL7Exception import ca.uhn.hl7v2.HapiContext -import ca.uhn.hl7v2.model.AbstractMessage import ca.uhn.hl7v2.model.Message import ca.uhn.hl7v2.parser.ParserConfiguration -import ca.uhn.hl7v2.util.Hl7InputStreamMessageIterator import ca.uhn.hl7v2.util.Hl7InputStreamMessageStringIterator import ca.uhn.hl7v2.util.Terser import ca.uhn.hl7v2.validation.ValidationException @@ -21,13 +19,10 @@ import gov.cdc.prime.router.ActionLogger import gov.cdc.prime.router.InvalidReportMessage import org.apache.commons.lang3.exception.ExceptionUtils import org.apache.logging.log4j.Level -import org.apache.logging.log4j.kotlin.Logging +import org.apache.logging.log4j.kotlin.logger import java.util.Date -import ca.uhn.hl7v2.model.v251.message.ORU_R01 as v251_ORU_R01 import ca.uhn.hl7v2.model.v251.segment.MSH as v251_MSH -import ca.uhn.hl7v2.model.v27.message.ORU_R01 as v27_ORU_R01 import ca.uhn.hl7v2.model.v27.segment.MSH as v27_MSH -import fhirengine.translation.hl7.structures.nistelr251.message.ORU_R01 as NIST_ELR_ORU_R01 import fhirengine.translation.hl7.structures.nistelr251.segment.MSH as NIST_MSH private const val MSH_SEGMENT_NAME = "MSH" @@ -35,184 +30,12 @@ private const val MSH_SEGMENT_NAME = "MSH" /** * Converts raw HL7 data (message or batch) to HL7 message objects. */ -class HL7Reader(private val actionLogger: ActionLogger) : Logging { - - /** - * Returns one or more messages read from the raw HL7 data. - * - * This function takes a couple of different approaches to transforming the raw string into messages. - * - * First, it will read the message type from MSH.9 and attempt to find the list of mapped MessageModels. - * See [getMessageModelClasses]. These mappings will typically consist of the v27 structure and the v25 structure - * for that message type. If models are found, the code will iterate over the models and attempt to parse the - * message. If messages are parsed, loop short circuits. - * - * The reason we need to use multiple message models is due to inconsistencies of the specs across different - * organizations. For example, the NIST profile for v251 includes fields that are only available in the v27 - * standard spec. To get around this fact, we take advantage that the specs are mostly backwards compatible; - * a NIST v251 can be parsed using the v271 structure successfully and will now also include the data from the - * fields only available in the standard v27. The only caveat to this approach is that the HAPI library itself - * is not 100% backwards compatible. A common error is that a v251 message will specify a component is a CE, but - * the v27 spec says it must be a CWE; though these two data types are compatible from a field standpoint, the HAPI - * library will throw a type error along the lines of "a CWE field cannot be set to a CE type". To get around this - * issue, if the message cannot be parsed to v27 we fall back to parsing it as a v251 message. - * - * - * If no message models are returned by [getMessageModelClasses], the string is parsed using the default behavior - * of [Hl7InputStreamMessageIterator]. - * - * - * @return one or more HL7 messages - * @throws IllegalArgumentException if the raw data cannot be parsed or no messages were read - */ - fun getMessages(rawMessage: String): List { - val messageModelsToTry = getMessageModelClasses(rawMessage) - val messages: MutableList = mutableListOf() - if (rawMessage.isBlank()) { - actionLogger.error(InvalidReportMessage("Provided raw data is empty.")) - } else if (messageModelsToTry.isEmpty()) { - try { - val iterator = Hl7InputStreamMessageIterator(rawMessage.byteInputStream()) - while (iterator.hasNext()) { - messages.add(iterator.next()) - } - } catch (e: Hl7InputStreamMessageStringIterator.ParseFailureError) { - logHL7ParseFailure(e) - } - } else { - val validationContext = ValidationContextFactory.noValidation() - val parseError = mutableListOf() - run modelLoop@{ - messageModelsToTry.forEach { model -> - val context = DefaultHapiContext(ReportStreamCanonicalModelClassFactory(model)) - context.validationContext = validationContext - try { - val iterator = Hl7InputStreamMessageIterator(rawMessage.byteInputStream(), context) - while (iterator.hasNext()) { - messages.add(iterator.next()) - } - } catch (e: Hl7InputStreamMessageStringIterator.ParseFailureError) { - messages.clear() - parseError.add(e) - } - - if (messages.isNotEmpty()) { - // Don't try other message models if we were able to parse - return@modelLoop - } - } - } - - // if it was able to parse the message through one of the models, then we do not want to log it as an error - val parseLogLevel = if (parseError.size == messageModelsToTry.size) Level.ERROR else Level.WARN - parseError.forEach { currentError -> - logHL7ParseFailure(currentError, messages.isEmpty(), parseLogLevel) - } - } - - if (messages.isEmpty() && !actionLogger.hasErrors()) { - actionLogger.error(InvalidReportMessage("Unable to find HL7 messages in provided data.")) - } - - return messages - } - - /** - * Extracts the message type from the MSH segment and returns the list of message models to use to - * try to parse the messages. - * - * This function assumes all the message types will be the same if this is a HL7 batch. - */ - private fun getMessageModelClasses(rawMessage: String): List> { - try { - val messageProfile = getMessageProfile(rawMessage) - if (messageProfile != null) { - when (messageProfile.typeID) { - "ORU" -> { - return when (messageProfile.profileID) { - // TODO: NIST ELR conformance profile to be enabled in a future PR (rename to "NIST_ELR") - "NIST_ELR_TEST" -> listOf( - NIST_ELR_ORU_R01::class.java - ) - else -> listOf( - v27_ORU_R01::class.java, - v251_ORU_R01::class.java - ) - } - } - else -> { - logger.warn( - "${messageProfile.typeID} did not have any mapped message model classes, " + - "using default behavior" - ) - return emptyList() - } - } - } - } catch (ex: Hl7InputStreamMessageStringIterator.ParseFailureError) { - logHL7ParseFailure(ex) - return emptyList() - } - actionLogger.error(InvalidReportMessage("String did not contain any HL7 messages")) - return emptyList() - } - - /** - * Takes a [rawMessage] and the number of messages [numMessages] in the rawMessage and determines if it is a batch - * or singular HL7 message. It will qualify as a batch message if it follows the HL7 standards and have the Hl7 - * batch headers which start with "FHS" or if they left off the batch headers and just sent multiple messages - */ - fun isBatch(rawMessage: String, numMessages: Int): Boolean { - return rawMessage.startsWith("FHS") || numMessages > 1 - } - - /** - * Takes an [exception] thrown by the HL7 HAPI library, gets the root cause and logs the error into [actionLogger]. - * Sample error messages returned by the HAPI library are: - * Error Code = DATA_TYPE_ERROR-102: 'test' in record 3 is invalid for version 2.5.1 - * Error Code = REQUIRED_FIELD_MISSING-101: Can't find version ID - MSH.12 is null - * This functions only logs messages that contain meaningful data. - * - */ - private fun logHL7ParseFailure( - exception: Hl7InputStreamMessageStringIterator.ParseFailureError, - isError: Boolean = true, - logLevel: Level = Level.ERROR, - ) { - logger.log(logLevel, "Failed to parse message: ${exception.message}") - - // Get the exception root cause and log it accordingly - when (val rootCause = ExceptionUtils.getRootCause(exception)) { - is AbstractHL7Exception -> recordError(rootCause, isError) - else -> throw rootCause - } - } - - private fun recordError(exception: AbstractHL7Exception, isError: Boolean) { - val errorMessage: String = when (exception) { - is ValidationException -> "Validation Failed: ${exception.message}" - - is HL7Exception -> { - when (exception.errorCode) { - ErrorCode.REQUIRED_FIELD_MISSING.code -> "Required field missing: ${exception.message}" - ErrorCode.DATA_TYPE_ERROR.code -> "Data type error: ${exception.message}" - else -> "Failed to parse message" - } - } - - else -> "Failed to parse message" - } - if (isError) { - actionLogger.error(InvalidReportMessage(errorMessage)) - } else { - actionLogger.warn(InvalidReportMessage(errorMessage)) - } - } - +class HL7Reader { companion object { // This regex is used to replace \n with \r while not replacing \r\n val newLineRegex = Regex("(?, - val hl7toFHIRMappingLocation: String, - ) - - /** - * Map of configured message types to their configuration - */ - val messageToConfigMap = mapOf( - HL7MessageType( - "ORU_R01", - "2.5.1", - "2.16.840.1.113883.9.10" - ) to HL7MessageParseAndConvertConfiguration( - ORU_R01::class.java, - "./metadata/HL7/catchall" - ), - HL7MessageType( - "ORU_R01", - "2.5.1", - "2.16.840.1.113883.9.11" - ) to HL7MessageParseAndConvertConfiguration( - ORU_R01::class.java, - "./metadata/HL7/catchall" - ) - ) - - // TODO: https://github.com/CDCgov/prime-reportstream/issues/14116 /** * Accepts a raw HL7 string and uses the MSH segment to detect the [HL7MessageType] which is then used - * to parse the string into an instance of [Message]. If the type is not one that is configured in - * [messageToConfigMap] the default HAPI parsing logic is used + * to parse the string into an instance of [Message]. If the type is not one that is supported in + * [getHL7ParsingContext] the default HAPI parsing logic is used * * @param rawHL7 the HL7 string to convert into a [Message] * - * @return a [Pair] with parsed message and optional type + * @return a [Message] with parsed message and optional type */ fun parseHL7Message( rawHL7: String, - parseConfiguration: HL7MessageParseAndConvertConfiguration?, ): Message { // A carriage return is the official segment delimiter; a newline is not recognized so we replace // them val carriageReturnFixedHL7 = rawHL7.replace(newLineRegex, "\r") val hl7MessageType = getMessageType(carriageReturnFixedHL7) - return getHL7ParsingContext(hl7MessageType, parseConfiguration).pipeParser.parse(carriageReturnFixedHL7) + return getHL7ParsingContext(hl7MessageType).pipeParser.parse(carriageReturnFixedHL7) } /** * Creates a HAPI context that can be used to parse an HL7 string. If no configuration is passed, the function * will return a context with the HAPI defaults which will defer to that library to determine the kind of message * - * @param hl7MessageParseAndConvertConfiguration optional configuration to use when creating a context */ private fun getHL7ParsingContext( hl7MessageType: HL7MessageType?, - hl7MessageParseAndConvertConfiguration: HL7MessageParseAndConvertConfiguration?, ): HapiContext { - return if (hl7MessageParseAndConvertConfiguration == null) { - if (hl7MessageType?.msh93 == "ORU_R01") { + return when (hl7MessageType?.msh93) { + "ORU_R01" -> { DefaultHapiContext( ParserConfiguration(), ValidationContextFactory.noValidation(), ReportStreamCanonicalModelClassFactory(ORU_R01::class.java), ) - } else if (hl7MessageType?.msh93 == "OML_O21") { + } + "OML_O21" -> { DefaultHapiContext( ParserConfiguration(), ValidationContextFactory.noValidation(), ReportStreamCanonicalModelClassFactory(OML_O21::class.java), ) - } else if (hl7MessageType?.msh93 == "ORM_O01") { + } + "ORM_O01" -> { DefaultHapiContext( ParserConfiguration(), ValidationContextFactory.noValidation(), ReportStreamCanonicalModelClassFactory(ORM_O01::class.java), ) - } else { + } + else -> { DefaultHapiContext(ValidationContextFactory.noValidation()) } - } else { - DefaultHapiContext( - ParserConfiguration(), - ValidationContextFactory.noValidation(), - ReportStreamCanonicalModelClassFactory(hl7MessageParseAndConvertConfiguration.messageModelClass), - ) } } @@ -335,7 +117,7 @@ class HL7Reader(private val actionLogger: ActionLogger) : Logging { */ @Throws(HL7Exception::class) internal fun getMessageType(rawHL7: String): HL7MessageType { - val message = getHL7ParsingContext(null, null) + val message = getHL7ParsingContext(null) .pipeParser // In order to determine the message configuration, only parse the MSH segment since the type of message // is required in order to accurately parse the message in its entirety @@ -349,19 +131,6 @@ class HL7Reader(private val actionLogger: ActionLogger) : Logging { ) } - // map of HL7 message profiles: maps profile to configuration directory path - val profileDirectoryMap: Map = mapOf( - // TODO: https://github.com/CDCgov/prime-reportstream/issues/14124 - // Pair(MessageProfile("ORU", "NIST_ELR"), "./metadata/HL7/v251-elr"), - ) - - // map of HL7 OIDs to supported conformance profiles - // list of OIDs for NIST ELR retrieved from https://oidref.com/2.16.840.1.113883.9 - private val oidProfileMap: Map = mapOf( - Pair("2.16.840.1.113883.9.10", "NIST_ELR"), - Pair("2.16.840.1.113883.9.11", "NIST_ELR") - ) - // data class to uniquely identify a message profile data class MessageProfile(val typeID: String, val profileID: String) @@ -391,21 +160,6 @@ class HL7Reader(private val actionLogger: ActionLogger) : Logging { } } - /** - * Get the profile of the [rawmessage] - * If there are multiple HL7 messages the first message's data will be returned - * @param rawmessage string representative of hl7 messages - * @return the message profile, or null if there is no message - */ - fun getMessageProfile(rawmessage: String): MessageProfile? { - val iterator = Hl7InputStreamMessageIterator(rawmessage.byteInputStream()) - if (!iterator.hasNext()) return null - val hl7message = iterator.next() - val msh9 = Terser(hl7message).get("MSH-9") - val profileID = oidProfileMap[Terser(hl7message).get("MSH-21-3")] ?: "" - return MessageProfile(msh9 ?: "", profileID) - } - /** * Get the birthTime from the [message] * @return the birthTime, if available or blank if not @@ -480,5 +234,53 @@ class HL7Reader(private val actionLogger: ActionLogger) : Logging { else -> null } } + + /** + * Takes a [rawMessage] and the number of messages [numMessages] in the rawMessage and determines if it is a batch + * or singular HL7 message. It will qualify as a batch message if it follows the HL7 standards and have the Hl7 + * batch headers which start with "FHS" or if they left off the batch headers and just sent multiple messages + */ + fun isBatch(rawMessage: String, numMessages: Int): Boolean { + return rawMessage.startsWith("FHS") || numMessages > 1 + } + + /** + * Takes an [exception] thrown by the HL7 HAPI library, gets the root cause and logs the error into [actionLogger]. + * Sample error messages returned by the HAPI library are: + * Error Code = DATA_TYPE_ERROR-102: 'test' in record 3 is invalid for version 2.5.1 + * Error Code = REQUIRED_FIELD_MISSING-101: Can't find version ID - MSH.12 is null + * This functions only logs messages that contain meaningful data. + * + */ + fun logHL7ParseFailure( + exception: Hl7InputStreamMessageStringIterator.ParseFailureError, + actionLogger: ActionLogger, + logLevel: Level = Level.ERROR, + ) { + logger.log(logLevel, "Failed to parse message: ${exception.message}") + + // Get the exception root cause and log it accordingly + when (val rootCause = ExceptionUtils.getRootCause(exception)) { + is AbstractHL7Exception -> recordError(rootCause, actionLogger) + else -> throw rootCause + } + } + + fun recordError(exception: AbstractHL7Exception, actionLogger: ActionLogger) { + val errorMessage: String = when (exception) { + is ValidationException -> "Validation Failed: ${exception.message}" + + is HL7Exception -> { + when (exception.errorCode) { + ErrorCode.REQUIRED_FIELD_MISSING.code -> "Required field missing: ${exception.message}" + ErrorCode.DATA_TYPE_ERROR.code -> "Data type error: ${exception.message}" + else -> "Failed to parse message" + } + } + + else -> "Failed to parse message" + } + actionLogger.error(InvalidReportMessage(errorMessage)) + } } } \ No newline at end of file diff --git a/prime-router/src/main/kotlin/history/db/ReportGraph.kt b/prime-router/src/main/kotlin/history/db/ReportGraph.kt index 0b44dcfe271..103b9831eb3 100644 --- a/prime-router/src/main/kotlin/history/db/ReportGraph.kt +++ b/prime-router/src/main/kotlin/history/db/ReportGraph.kt @@ -123,10 +123,11 @@ class ReportGraph( } /** - * Recursively goes up the report_lineage table from any report until it reaches - * a report that does not appear in report_lineage as a child report (the root report) + * Recursively goes up the report_linage table from any report until it reaches + * a report with an action type of "receive" (the root report) * - * This will return null if the root is passed in + * This will return null if no report with action type "receive" is present or if + * the root is passed in */ fun getRootReport(childReportId: UUID): ReportFile? { return db.transactReturning { txn -> @@ -171,19 +172,19 @@ class ReportGraph( .from(cte) .join(REPORT_FILE) .on(REPORT_FILE.REPORT_ID.eq(ItemGraphTable.ITEM_GRAPH.PARENT_REPORT_ID)) - .leftJoin(REPORT_LINEAGE) - .on(REPORT_FILE.REPORT_ID.eq(REPORT_LINEAGE.CHILD_REPORT_ID)) - .where(REPORT_LINEAGE.PARENT_REPORT_ID.isNull()) - .orderBy(REPORT_FILE.ACTION_ID.asc()) + .join(ACTION) + .on(ACTION.ACTION_ID.eq(REPORT_FILE.ACTION_ID)) + .where(ACTION.ACTION_NAME.eq(TaskAction.receive)) .fetchOneInto(Item::class.java) return rootItem } /** - * Recursively goes up the report_lineage table from any report until it reaches - * all reports that do not appear in report_lineage as a child report (the root report) + * Recursively goes up the report_linage table from any report until it reaches + * all reports with an action type of "receive" (the root report) * - * This will return null if the root is passed in + * This will return null if no report with action type "receive" is present or if + * the root is passed in * * If the passed in report ID has multiple root reports, they will all be returned */ @@ -475,10 +476,9 @@ class ReportGraph( .from(cte) .join(REPORT_FILE) .on(REPORT_FILE.REPORT_ID.eq(cte.field(0, UUID::class.java))) - .leftJoin(REPORT_LINEAGE) - .on(REPORT_FILE.REPORT_ID.eq(REPORT_LINEAGE.CHILD_REPORT_ID)) - .where(REPORT_LINEAGE.PARENT_REPORT_ID.isNull()) - .orderBy(REPORT_FILE.ACTION_ID.asc()) + .join(ACTION) + .on(ACTION.ACTION_ID.eq(REPORT_FILE.ACTION_ID)) + .where(ACTION.ACTION_NAME.eq(TaskAction.receive)) /** * Accepts a list of ids and walks down the report lineage graph diff --git a/prime-router/src/main/kotlin/transport/BlobStoreTransport.kt b/prime-router/src/main/kotlin/transport/BlobStoreTransport.kt index ea372653d59..2f3dfe9e6dd 100644 --- a/prime-router/src/main/kotlin/transport/BlobStoreTransport.kt +++ b/prime-router/src/main/kotlin/transport/BlobStoreTransport.kt @@ -31,7 +31,11 @@ class BlobStoreTransport : ITransport { val receiver = header.receiver ?: error("No receiver defined for report ${header.reportFile.reportId}") val bodyUrl = header.reportFile.bodyUrl ?: error("Report ${header.reportFile.reportId} has no blob to copy") context.logger.info("About to copy $bodyUrl to $envVar:$storageName") - val newUrl = BlobAccess.copyBlob(bodyUrl, BlobAccess.BlobContainerMetadata.build(transportType)) + val blobConnection = BlobAccess.BlobContainerMetadata.build(transportType) + val blobFile = BlobAccess.downloadBlobAsByteArray(bodyUrl) + context.logger.info("New blob filename will be $externalFileName") + val newUrl = BlobAccess.uploadBlob(externalFileName, blobFile, blobConnection) + context.logger.info("New blob URL is $newUrl") val msg = "Successfully copied $bodyUrl to $newUrl" context.logger.info(msg) actionHistory.trackActionResult(msg) diff --git a/prime-router/src/main/kotlin/transport/RESTTransport.kt b/prime-router/src/main/kotlin/transport/RESTTransport.kt index c134ad04e0b..232689792df 100644 --- a/prime-router/src/main/kotlin/transport/RESTTransport.kt +++ b/prime-router/src/main/kotlin/transport/RESTTransport.kt @@ -25,9 +25,7 @@ import gov.cdc.prime.router.tokens.AuthUtils import io.ktor.client.HttpClient import io.ktor.client.call.body import io.ktor.client.engine.apache.Apache -import io.ktor.client.plugins.ClientRequestException import io.ktor.client.plugins.ResponseException -import io.ktor.client.plugins.ServerResponseException import io.ktor.client.plugins.contentnegotiation.ContentNegotiation import io.ktor.client.plugins.defaultRequest import io.ktor.client.plugins.expectSuccess @@ -181,47 +179,39 @@ class RESTTransport(private val httpClient: HttpClient? = null) : ITransport { logger.severe(msg) logger.severe(t.stackTraceToString()) // do some additional handling of the error here. if we are dealing with a 400 error, we - // probably don't want to retry, and we need to stop now - // if the error is a 500 we can do a retry, but both should probably throw a pager duty notification + // probably don't want to retry unless it is a 429 and the issue is due to overzealous rate-limiting. when (t) { - is ClientRequestException -> { - (t).let { - logger.severe( - "Received ${it.response.status.value}: ${it.response.status.description} " + - "requesting ${it.response.request.url}. This is not recoverable. Will not retry." - ) - } - actionHistory.setActionType(TaskAction.send_error) - actionHistory.trackActionResult(t.response.status, msg) - null - } - - is ServerResponseException -> { - // this is largely duplicated code as below, but we may want to add additional - // instrumentation based on the specific error type we're getting. One benefit - // we can use now is getting the specific response information from the - // ServerResponseException - (t).let { - logger.severe( - "Received ${it.response.status.value}: ${it.response.status.description} " + - "from the server ${it.response.request.url}, ${it.response.version}." + - " This may be recoverable. Will retry." - ) + // do not retry on any response exception that is a client exception unless it is a 429 + is ResponseException -> { + if (t.response.status.value in 400..499 && t.response.status.value != 429) { + (t).let { + logger.severe( + "Received ${it.response.status.value}: ${it.response.status.description} " + + "requesting ${it.response.request.url}. This is not recoverable. Will not retry." + ) + } + actionHistory.setActionType(TaskAction.send_error) + actionHistory.trackActionResult(t.response.status, msg) + null + } else { + (t).let { + logger.severe( + "Received ${it.response.status.value}: ${it.response.status.description} " + + "from the server ${it.response.request.url}, ${it.response.version}." + + " This may be recoverable. Will retry." + ) + } + actionHistory.setActionType(TaskAction.send_warning) + actionHistory.trackActionResult(t.response.status, msg) + RetryToken.allItems } - actionHistory.setActionType(TaskAction.send_warning) - actionHistory.trackActionResult(t.response.status, msg) - RetryToken.allItems } else -> { // this is an unknown exception, and maybe not one related to ktor, so we should // track, but try again actionHistory.setActionType(TaskAction.send_warning) - if (t is ResponseException) { - actionHistory.trackActionResult(t.response.status, msg) - } else { - actionHistory.trackActionResult(msg) - } + actionHistory.trackActionResult(msg) RetryToken.allItems } } diff --git a/prime-router/src/main/resources/metadata/fhir_transforms/common/datetime-to-local-majuro.yml b/prime-router/src/main/resources/metadata/fhir_transforms/common/datetime-to-local-majuro.yml new file mode 100644 index 00000000000..d72e00f11a2 --- /dev/null +++ b/prime-router/src/main/resources/metadata/fhir_transforms/common/datetime-to-local-majuro.yml @@ -0,0 +1,12 @@ +elements: + - name: hl7-datetime-to-local + resource: "Bundle.descendants().where(url='https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time')" + bundleProperty: "%resource.value[x]" + value: ["%resource.value.changeTimezone('Pacific/Majuro')"] + + + - name: message-date-time-to-local + resource: 'Bundle.entry.resource.ofType(MessageHeader).extension("https://reportstream.cdc.gov/fhir/StructureDefinition/msh-message-header").extension("MSH.7")' + condition: '%resource.value.exists()' + bundleProperty: '%resource.value[x]' + value: ["%resource.value.changeTimezone('Pacific/Majuro')"] diff --git a/prime-router/src/main/resources/metadata/fhir_transforms/senders/MMTC/mmtc-sender-transform.yml b/prime-router/src/main/resources/metadata/fhir_transforms/senders/MMTC/mmtc-sender-transform.yml index 60110a9f807..2e3b82c2d22 100644 --- a/prime-router/src/main/resources/metadata/fhir_transforms/senders/MMTC/mmtc-sender-transform.yml +++ b/prime-router/src/main/resources/metadata/fhir_transforms/senders/MMTC/mmtc-sender-transform.yml @@ -10,3 +10,37 @@ elements: resource: "Bundle.entry.resource.ofType(ServiceRequest).requester.resolve().organization.resolve().address" bundleProperty: '%resource.extension("https://reportstream.cdc.gov/fhir/StructureDefinition/state-from-zip-code").value[x]' value: [ '%resource.postalCode.getStateFromZipCode()' ] + + # Ticket 16776 + # Temporary override for MSH 5 and 6 until original fields are updated + # If this override is removed, the associated test files should also be removed: mmtc-msh5-msh6-sender-override.hl7 + - name: msh-5-1-override + resource: 'Bundle.entry.resource.ofType(MessageHeader).destination.where(extension("https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field").value = "MSH.5")' + bundleProperty: '%resource.name' + value: [ '"CDC PRIME"' ] + + - name: msh-5-2-override + resource: 'Bundle.entry.resource.ofType(MessageHeader).destination.where(extension("https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field").value = "MSH.5")' + bundleProperty: '%resource.extension("https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id").value[x]' + value: [ '"2.16.840.1.114222.4.1.237821"' ] + + - name: msh-5-3-override + resource: 'Bundle.entry.resource.ofType(MessageHeader).destination.where(extension("https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field").value = "MSH.5")' + bundleProperty: '%resource.extension("https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type").value[x]' + value: [ '"ISO"' ] + + # Assume that HL7 messages will have these extension properties... + - name: msh-6-1-override + resource: 'Bundle.entry.resource.ofType(MessageHeader).destination.receiver.resolve().where(extension("https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field").value = "MSH.6").identifier.where(extension("https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field").value = "HD.1")' + bundleProperty: '%resource.value' + value: [ '"CDC PRIME"' ] + + - name: msh-6-2-override + resource: 'Bundle.entry.resource.ofType(MessageHeader).destination.receiver.resolve().where(extension("https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field").value = "MSH.6").identifier.where(extension("https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field").value = "HD.2,HD.3")' + bundleProperty: '%resource.value' + value: [ '"2.16.840.1.114222.4.1.237821"' ] + + - name: msh-6-3-override + resource: 'Bundle.entry.resource.ofType(MessageHeader).destination.receiver.resolve().where(extension("https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field").value = "MSH.6").identifier.where(extension("https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field").value = "HD.2,HD.3")' + bundleProperty: '%resource.type.coding[0].code' + value: [ '"ISO"' ] \ No newline at end of file diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/OML_O21-base.yml b/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/OML_O21-base.yml index 5038b8227fa..c3303ed9033 100644 --- a/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/OML_O21-base.yml +++ b/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/OML_O21-base.yml @@ -35,11 +35,9 @@ elements: schema: classpath:/metadata/hl7_mapping/OML_O21/base/patient/patient-base.yml - name: insurance - resource: 'Bundle.entry.resource.ofType(Coverage)' - # todo: update logic when Coverage.subscriber is mapped (IN1-16/IN1-17) - # https://github.com/CDCgov/prime-reportstream/issues/15500 - # resource: 'Bundle.entry.resource.ofType(Coverage).where(subscriber.resolve().id = %resource.entry.resource.ofType(Patient).id)' + resource: 'Bundle.entry.resource.ofType(Coverage).where(beneficiary.resolve().id = %resource.entry.resource.ofType(Patient).id)' schema: classpath:/metadata/hl7_mapping/resources/Coverage/IN1.yml + resourceIndex: insuranceIndex constants: hl7SegmentGroup: '/PATIENT/INSURANCE' diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/datatypes/dateTime/DTMorDT.yml b/prime-router/src/main/resources/metadata/hl7_mapping/datatypes/dateTime/DTMorDT.yml index 7d1b1554f95..3e3237554e6 100644 --- a/prime-router/src/main/resources/metadata/hl7_mapping/datatypes/dateTime/DTMorDT.yml +++ b/prime-router/src/main/resources/metadata/hl7_mapping/datatypes/dateTime/DTMorDT.yml @@ -4,6 +4,7 @@ elements: - name: dateTime value: - '%resource.extension(%`rsext-hl7v2-date-time`).value' + - '%resource.extension(%`rsext-hl7v2-date`).value' # These two values are backups to allow FHIR senders to not have to use the rs specific extensions - '%resource.extension("http://hl7.org/fhir/StructureDefinition/patient-birthTime").value' - '%resource' diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/receivers/STLTs/WA/WA-receiver-transform.yml b/prime-router/src/main/resources/metadata/hl7_mapping/receivers/STLTs/WA/WA-receiver-transform.yml index 8d233b16b8d..139c65d91e1 100644 --- a/prime-router/src/main/resources/metadata/hl7_mapping/receivers/STLTs/WA/WA-receiver-transform.yml +++ b/prime-router/src/main/resources/metadata/hl7_mapping/receivers/STLTs/WA/WA-receiver-transform.yml @@ -42,6 +42,18 @@ elements: value: [ '"ISO"' ] hl7Spec: [ '%{MSH}-3-3' ] + - name: wa-sending-facility-namespace-id + value: [ '"7uycso49"' ] + hl7Spec: [ '%{MSH}-4-1' ] + + - name: wa-sending-facility-universal-id + value: [ '"1.3.6.1.4.1.38630.2.1.1.519"' ] + hl7Spec: [ '%{MSH}-4-2' ] + + - name: wa-sending-facility-universal-id-type + value: [ '"ISO"' ] + hl7Spec: [ '%{MSH}-4-3' ] + - name: wa-receiving-application-namespace-id value: [ '"WADOHPHRED"' ] hl7Spec: [ '%{MSH}-5-1' ] @@ -151,4 +163,5 @@ elements: value: [ 'Bundle.entry.resource.ofType(Organization).telecom.value[x].replaceMatches("[^0-9]", "")' ] hl7Spec: [ '%{ORC}-23-12', '%{ORC}-23-1' ] - + - name: observation-result-with-aoe + resource: "Bundle.entry.resource.ofType(Observation).where(code.coding.extension('https://reportstream.cdc.gov/fhir/StructureDefinition/condition-code').value.where(code in ('AOE')).exists().not())" \ No newline at end of file diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/resources/Coverage/IN1.yml b/prime-router/src/main/resources/metadata/hl7_mapping/resources/Coverage/IN1.yml index b412907a538..ecff8cb7204 100644 --- a/prime-router/src/main/resources/metadata/hl7_mapping/resources/Coverage/IN1.yml +++ b/prime-router/src/main/resources/metadata/hl7_mapping/resources/Coverage/IN1.yml @@ -4,33 +4,58 @@ constants: hl7IN1Field: '%{hl7SegmentGroup}/IN1' elements: + - name: in1-set-id + value: [ '%insuranceIndex + 1' ] + hl7Spec: [ '%{hl7IN1Field}-1' ] - - name: in1-authorization-information - resource: '%resource.extension.where(url = "IN1.14")' - schema: classpath:/metadata/hl7_mapping/datatypes/extensionAUI/AUI.yml + - name: in1-insurance-company-name + resource: '%resource.payor.resolve().ofType(Organization)' + schema: classpath:/metadata/hl7_mapping/resources/Organization/XON.yml constants: - auiField: '%{hl7IN1Field}-14' + hl7XONField: '%{hl7IN1Field}-4' - - name: in1-policy-deductable - resource: '%resource.extension(%`rsext-composite-price`).where(extension(%`rsext-hl7v2Field`).value = "IN1.37")' - schema: classpath:/metadata/hl7_mapping/datatypes/extensionCP/CP.yml + - name: in1-insurance-company-address + resource: '%resource.payor.resolve().ofType(Organization).address' + schema: classpath:/metadata/hl7_mapping/datatypes/Address/XAD.yml constants: - cpField: '%{hl7IN1Field}-37' + xadField: '%{hl7IN1Field}-5' - - name: in1-policy-limit-amount - resource: '%resource.extension(%`rsext-composite-price`).where(extension(%`rsext-hl7v2Field`).value = "IN1.38")' - schema: classpath:/metadata/hl7_mapping/datatypes/extensionCP/CP.yml + - name: in1-insured-group-emp_name + resource: '%resource.policyHolder.resolve()' + schema: classpath:/metadata/hl7_mapping/resources/Organization/XON.yml constants: - cpField: '%{hl7IN1Field}-38' + hl7XONField: '%{hl7IN1Field}-11' - - name: in1-room-rate-semi-private - resource: '%resource.extension(%`rsext-composite-price`).where(extension(%`rsext-hl7v2Field`).value = "IN1.40")' - schema: classpath:/metadata/hl7_mapping/datatypes/extensionCP/CP.yml + - name: in1-plan-effective-date + resource: '%resource.period.start' constants: - cpField: '%{hl7IN1Field}-40' + dtmFieldPath: '%{hl7IN1Field}-12' + schema: classpath:/metadata/hl7_mapping/datatypes/dateTime/DTMorDT.yml - - name: in1-room-rate-private - resource: '%resource.extension(%`rsext-composite-price`).where(extension(%`rsext-hl7v2Field`).value = "IN1.41")' - schema: classpath:/metadata/hl7_mapping/datatypes/extensionCP/CP.yml + - name: in1-plan-expiration-date + resource: '%resource.period.end' constants: - cpField: '%{hl7IN1Field}-41' + dtmFieldPath: '%{hl7IN1Field}-13' + schema: classpath:/metadata/hl7_mapping/datatypes/dateTime/DTMorDT.yml + + - name: in1-plan-type + resource: '%resource.type' + schema: classpath:/metadata/hl7_mapping/datatypes/codeableConcept/CWE.yml + constants: + cweField: '%{hl7IN1Field}-15' + + - name: in1-name-of-insured + resource: '%resource.subscriber.resolve().name' + constants: + xpnField: '%{hl7IN1Field}-16' + schema: classpath:/metadata/hl7_mapping/datatypes/HumanName/XPN.yml + + - name: in1-insured-relationship-to-patient + resource: '%resource.relationship' + schema: classpath:/metadata/hl7_mapping/datatypes/codeableConcept/CWE.yml + constants: + cweField: '%{hl7IN1Field}-17' + + - name: in1-extension-values + resource: '%resource.extension(%`rsext-in1-coverage`)' + schema: classpath:/metadata/hl7_mapping/resources/Coverage/IN1Extension.yml diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/resources/Coverage/IN1Extension.yml b/prime-router/src/main/resources/metadata/hl7_mapping/resources/Coverage/IN1Extension.yml new file mode 100644 index 00000000000..d855c508e4b --- /dev/null +++ b/prime-router/src/main/resources/metadata/hl7_mapping/resources/Coverage/IN1Extension.yml @@ -0,0 +1,299 @@ +# $schema: ./../../../../../../../metadata/json_schema/fhir/fhir-to-hl7-mapping.json + +elements: + + - name: IN1.2 + resource: '%resource.extension.where(url = "IN1.2").value' + schema: classpath:/metadata/hl7_mapping/datatypes/codeableConcept/CWE.yml + constants: + cweField: '%{hl7IN1Field}-2' + + - name: IN1.3 + resource: '%resource.extension.where(url = "IN1.3").value' + schema: classpath:/metadata/hl7_mapping/datatypes/identifier/CX.yml + resourceIndex: cxIndex + constants: + cxField: '%{hl7IN1Field}-3(%{cxIndex})' + + - name: IN1.4 + resource: '%resource.extension.where(url = "IN1.4").value.resolve()' + schema: classpath:/metadata/hl7_mapping/resources/Organization/XON.yml + resourceIndex: xonIndex + constants: + hl7XONField: '%{hl7IN1Field}-4(%{xonIndex})' + + - name: IN1.5 + resource: '%resource.extension.where(url = "IN1.5").value' + schema: classpath:/metadata/hl7_mapping/datatypes/Address/XAD.yml + resourceIndex: xadIndex + constants: + xadField: '%{hl7IN1Field}-5(%{xadIndex})' + + - name: IN1.6 + resource: '%resource.extension.where(url = "IN1.6").value' + schema: classpath:/metadata/hl7_mapping/datatypes/HumanName/XPN.yml + resourceIndex: xpnIndex + constants: + xpnField: '%{hl7IN1Field}-6(%{xpnIndex})' + + - name: IN1.7 + resource: '%resource.extension.where(url = "IN1.7").value' + schema: classpath:/metadata/hl7_mapping/datatypes/contactPoint/XTN.yml + resourceIndex: telecomIndex + constants: + hl7TelecomField: '%{hl7IN1Field}-7' + + - name: IN1.8 + value: [ '%resource.extension.where(url = "IN1.8").value' ] + hl7Spec: [ '%{hl7IN1Field}-8' ] + + - name: IN1.9 + resource: '%resource.extension.where(url = "IN1.9").value.resolve()' + schema: classpath:/metadata/hl7_mapping/resources/Organization/XON.yml + resourceIndex: xonIndex + constants: + hl7XONField: '%{hl7IN1Field}-9(%{xonIndex})' + + - name: IN1.10 + resource: '%resource.extension.where(url = "IN1.10").value' + schema: classpath:/metadata/hl7_mapping/datatypes/identifier/CX.yml + resourceIndex: cxIndex + constants: + cxField: '%{hl7IN1Field}-10(%{cxIndex})' + + - name: IN1.11 + resource: '%resource.extension.where(url = "IN1.11").value.resolve()' + schema: classpath:/metadata/hl7_mapping/resources/Organization/XON.yml + resourceIndex: xonIndex + constants: + hl7XONField: '%{hl7IN1Field}-11(%{xonIndex})' + + - name: IN1.14 + resource: '%resource.extension.where(url = "IN1.14")' + schema: classpath:/metadata/hl7_mapping/datatypes/extensionAUI/AUI.yml + constants: + auiField: '%{hl7IN1Field}-14' + + - name: IN1.16 + resource: '%resource.extension.where(url = "IN1.16").value' + schema: classpath:/metadata/hl7_mapping/datatypes/HumanName/XPN.yml + resourceIndex: xpnIndex + constants: + xpnField: '%{hl7IN1Field}-16(%{xpnIndex})' + + - name: IN1.17 + resource: '%resource.extension.where(url = "IN1.17").value' + schema: classpath:/metadata/hl7_mapping/datatypes/codeableConcept/CWE.yml + constants: + cweField: '%{hl7IN1Field}-17' + + - name: IN1.18 + resource: '%resource.extension.where(url = "IN1.18").value' + schema: classpath:/metadata/hl7_mapping/datatypes/dateTime/DTMorDT.yml + constants: + dtmFieldPath: '%{hl7IN1Field}-18' + + - name: IN1.19 + resource: '%resource.extension.where(url = "IN1.19").value' + schema: classpath:/metadata/hl7_mapping/datatypes/Address/XAD.yml + resourceIndex: xadIndex + constants: + xadField: '%{hl7IN1Field}-19(%{xadIndex})' + + - name: IN1.20 + resource: '%resource.extension.where(url = "IN1.20").value' + schema: classpath:/metadata/hl7_mapping/datatypes/codeableConcept/CWE.yml + constants: + cweField: '%{hl7IN1Field}-20' + + - name: IN1.21 + resource: '%resource.extension.where(url = "IN1.21").value' + schema: classpath:/metadata/hl7_mapping/datatypes/codeableConcept/CWE.yml + constants: + cweField: '%{hl7IN1Field}-21' + + - name: IN1.22 + value: [ '%resource.extension.where(url = "IN1.22").value' ] + hl7Spec: [ '%{hl7IN1Field}-22' ] + + - name: IN1.23 + value: [ '%resource.extension.where(url = "IN1.23").value' ] + hl7Spec: [ '%{hl7IN1Field}-23' ] + + - name: IN1.24 + resource: '%resource.extension.where(url = "IN1.24").value' + schema: classpath:/metadata/hl7_mapping/datatypes/dateTime/DTMorDT.yml + constants: + dtmFieldPath: '%{hl7IN1Field}-24' + + - name: IN1.25 + value: [ '%resource.extension.where(url = "IN1.25").value' ] + hl7Spec: [ '%{hl7IN1Field}-25' ] + + - name: IN1.26 + resource: '%resource.extension.where(url = "IN1.26").value' + schema: classpath:/metadata/hl7_mapping/datatypes/dateTime/DTMorDT.yml + constants: + dtmFieldPath: '%{hl7IN1Field}-26' + + - name: IN1.27 + resource: '%resource.extension.where(url = "IN1.27").value' + schema: classpath:/metadata/hl7_mapping/datatypes/codeableConcept/CWE.yml + constants: + cweField: '%{hl7IN1Field}-27' + + - name: IN1.28 + value: [ '%resource.extension.where(url = "IN1.28").value' ] + hl7Spec: [ '%{hl7IN1Field}-28' ] + + - name: IN1.29 + resource: '%resource.extension.where(url = "IN1.29").value' + schema: classpath:/metadata/hl7_mapping/datatypes/dateTime/DTMorDT.yml + constants: + dtmFieldPath: '%{hl7IN1Field}-29' + + - name: IN1.30 + resource: '%resource.extension.where(url = "IN1.30").value.resolve()' + schema: classpath:/metadata/hl7_mapping/resources/Practitioner/XCN.yml + resourceIndex: relatedPersonIndex + constants: + hl7XCNField: '%{hl7IN1Field}-30(%{relatedPersonIndex})' + + - name: IN1.31 + resource: '%resource.extension.where(url = "IN1.31").value' + schema: classpath:/metadata/hl7_mapping/datatypes/codeableConcept/CWE.yml + constants: + cweField: '%{hl7IN1Field}-31' + + - name: IN1.32 + resource: '%resource.extension.where(url = "IN1.32").value' + schema: classpath:/metadata/hl7_mapping/datatypes/codeableConcept/CWE.yml + constants: + cweField: '%{hl7IN1Field}-32' + + - name: IN1.33 + value: [ '%resource.extension.where(url = "IN1.33").value' ] + hl7Spec: [ '%{hl7IN1Field}-33' ] + + - name: IN1.34 + value: [ '%resource.extension.where(url = "IN1.34").value' ] + hl7Spec: [ '%{hl7IN1Field}-34' ] + + - name: IN1.35 + resource: '%resource.extension.where(url = "IN1.35").value' + schema: classpath:/metadata/hl7_mapping/datatypes/codeableConcept/CWE.yml + constants: + cweField: '%{hl7IN1Field}-35' + + - name: IN1.36 + value: [ '%resource.extension.where(url = "IN1.36").value' ] + hl7Spec: [ '%{hl7IN1Field}-36' ] + + - name: IN1.37 + resource: '%resource.extension(%`rsext-composite-price`).where(extension(%`rsext-hl7v2Field`).value = "IN1.37")' + schema: classpath:/metadata/hl7_mapping/datatypes/extensionCP/CP.yml + constants: + cpField: '%{hl7IN1Field}-37' + + - name: IN1.38 + resource: '%resource.extension(%`rsext-composite-price`).where(extension(%`rsext-hl7v2Field`).value = "IN1.38")' + schema: classpath:/metadata/hl7_mapping/datatypes/extensionCP/CP.yml + constants: + cpField: '%{hl7IN1Field}-38' + + - name: IN1.39 + value: [ '%resource.extension.where(url = "IN1.39").value' ] + hl7Spec: [ '%{hl7IN1Field}-39' ] + + - name: IN1.40 + resource: '%resource.extension(%`rsext-composite-price`).where(extension(%`rsext-hl7v2Field`).value = "IN1.40")' + schema: classpath:/metadata/hl7_mapping/datatypes/extensionCP/CP.yml + constants: + cpField: '%{hl7IN1Field}-40' + + - name: IN1.41 + resource: '%resource.extension(%`rsext-composite-price`).where(extension(%`rsext-hl7v2Field`).value = "IN1.41")' + schema: classpath:/metadata/hl7_mapping/datatypes/extensionCP/CP.yml + constants: + cpField: '%{hl7IN1Field}-41' + + - name: IN1.42 + resource: '%resource.extension.where(url = "IN1.42").value' + schema: classpath:/metadata/hl7_mapping/datatypes/codeableConcept/CWE.yml + constants: + cweField: '%{hl7IN1Field}-42' + + - name: IN1.43 + resource: '%resource.extension.where(url = "IN1.43").value' + schema: classpath:/metadata/hl7_mapping/datatypes/codeableConcept/CWE.yml + constants: + cweField: '%{hl7IN1Field}-43' + + - name: IN1.44 + resource: '%resource.extension.where(url = "IN1.44").value' + schema: classpath:/metadata/hl7_mapping/datatypes/Address/XAD.yml + resourceIndex: xadIndex + constants: + xadField: '%{hl7IN1Field}-44(%{xadIndex})' + + - name: IN1.45 + value: [ '%resource.extension.where(url = "IN1.45").value' ] + hl7Spec: [ '%{hl7IN1Field}-45' ] + + - name: IN1.46 + resource: '%resource.extension.where(url = "IN1.46").value' + schema: classpath:/metadata/hl7_mapping/datatypes/codeableConcept/CWE.yml + constants: + cweField: '%{hl7IN1Field}-46' + + - name: IN1.47 + resource: '%resource.extension.where(url = "IN1.47").value' + schema: classpath:/metadata/hl7_mapping/datatypes/codeableConcept/CWE.yml + constants: + cweField: '%{hl7IN1Field}-47' + + - name: IN1.48 + resource: '%resource.extension.where(url = "IN1.48").value' + schema: classpath:/metadata/hl7_mapping/datatypes/codeableConcept/CWE.yml + constants: + cweField: '%{hl7IN1Field}-48' + + - name: IN1.49 + resource: '%resource.extension.where(url = "IN1.49").value' + schema: classpath:/metadata/hl7_mapping/datatypes/identifier/CX.yml + resourceIndex: cxIndex + constants: + cxField: '%{hl7IN1Field}-49(%{cxIndex})' + + - name: IN1.50 + resource: '%resource.extension.where(url = "IN1.50").value' + schema: classpath:/metadata/hl7_mapping/datatypes/codeableConcept/CWE.yml + constants: + cweField: '%{hl7IN1Field}-50' + + - name: IN1.51 + resource: '%resource.extension.where(url = "IN1.51").value' + schema: classpath:/metadata/hl7_mapping/datatypes/dateTime/DTMorDT.yml + constants: + dtmFieldPath: '%{hl7IN1Field}-51' + + - name: IN1.52 + value: [ '%resource.extension.where(url = "IN1.52").value' ] + hl7Spec: [ '%{hl7IN1Field}-52' ] + + - name: IN1.53 + resource: '%resource.extension.where(url = "IN1.53").value' + schema: classpath:/metadata/hl7_mapping/datatypes/codeableConcept/CWE.yml + constants: + cweField: '%{hl7IN1Field}-53' + + - name: IN1.54 + resource: '%resource.extension.where(url = "IN1.54").value' + schema: classpath:/metadata/hl7_mapping/datatypes/identifier/CX.yml + resourceIndex: cxIndex + constants: + cxField: '%{hl7IN1Field}-54(%{cxIndex})' + + - name: IN1.55 + value: [ '%resource.extension.where(url = "IN1.55").value' ] + hl7Spec: [ '%{hl7IN1Field}-55' ] \ No newline at end of file diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/resources/Patient/PD1.yml b/prime-router/src/main/resources/metadata/hl7_mapping/resources/Patient/PD1.yml index 309aec4ce49..a2dbfccadaf 100644 --- a/prime-router/src/main/resources/metadata/hl7_mapping/resources/Patient/PD1.yml +++ b/prime-router/src/main/resources/metadata/hl7_mapping/resources/Patient/PD1.yml @@ -11,6 +11,13 @@ elements: constants: hl7XONField: '%{hl7PD1Field}-3(%{xonIndex})' + - name: patient-primary-provider + resource: '%resource.generalPractitioner.resolve().ofType(Practitioner)' + schema: classpath:/metadata/hl7_mapping/resources/Practitioner/XCN.yml + resourceIndex: xcnIndex + constants: + hl7XCNField: '%{hl7PD1Field}-4(%{xcnIndex})' + - name: student-indicator condition: '%context.extension(%`rsext-studentStatus`).exists()' resource: '%resource.extension(%`rsext-studentStatus`).value' diff --git a/prime-router/src/main/resources/metadata/hl7_validation/v251/radxmars/production/coconstraints.xml b/prime-router/src/main/resources/metadata/hl7_validation/v251/radxmars/production/coconstraints.xml index c303e228733..de8ff98e28e 100644 --- a/prime-router/src/main/resources/metadata/hl7_validation/v251/radxmars/production/coconstraints.xml +++ b/prime-router/src/main/resources/metadata/hl7_validation/v251/radxmars/production/coconstraints.xml @@ -1,570 +1,7 @@ - + - - - - - - - </Selectors> - <Constraints> - <PlainText Name="OBR-4.2" Path="4[*].2[*]" - Value="SARS-CoV-2 (COVID-19) Ag [Presence] in Upper respiratory specimen by Rapid immunoassay"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBR-4.1" Path="4[*].1[*]" Value="94558-4"/> - </Selectors> - <Constraints> - <PlainText Name="OBR-4.2" Path="4[*].2[*]" - Value="SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBR-4.1" Path="4[*].1[*]" Value="95409-9"/> - </Selectors> - <Constraints> - <PlainText Name="OBR-4.2" Path="4[*].2[*]" - Value="SARS coronavirus 2 (COVID19) N gene [Presence] in Nose by NAA with probe detection"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBR-4.1" Path="4[*].1[*]" Value="94559-2"/> - </Selectors> - <Constraints> - <PlainText Name="OBR-4.2" Path="4[*].2[*]" - Value="SARS-CoV-2 (COVID-19) ORF1ab region [Presence] in Respiratory specimen by NAA with probe detection"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBR-4.1" Path="4[*].1[*]" Value="95209-3"/> - </Selectors> - <Constraints> - <PlainText Name="OBR-4.2" Path="4[*].2[*]" - Value="SARS-CoV+SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBR-4.1" Path="4[*].1[*]" Value="96986-5"/> - </Selectors> - <Constraints> - <PlainText Name="OBR-4.2" Path="4[*].2[*]" - Value="SARS-CoV-2 (COVID-19) N gene [Presence] in Nose by NAA with non-probe detection"/> - </Constraints> - </CoConstraint> - </SimpleTable> - </Segment> - <Segment Name="OBX" Path="3[*].2[*].6[*].1[*]"> - <SimpleTable> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-3.1" Path="3[*].1[*]" Value="97097-0"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-3.2" Path="3[*].2[*]" - Value="SARS-CoV-2 (COVID-19) Ag [Presence] in Upper respiratory specimen by Rapid immunoassay"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-3.1" Path="3[*].1[*]" Value="94558-4"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-3.2" Path="3[*].2[*]" - Value="SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-3.1" Path="3[*].1[*]" Value="95409-9"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-3.2" Path="3[*].2[*]" - Value="SARS coronavirus 2 (COVID19) N gene [Presence] in Nose by NAA with probe detection"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-3.1" Path="3[*].1[*]" Value="94559-2"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-3.2" Path="3[*].2[*]" - Value="SARS-CoV-2 (COVID-19) ORF1ab region [Presence] in Respiratory specimen by NAA with probe detection"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-3.1" Path="3[*].1[*]" Value="95209-3"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-3.2" Path="3[*].2[*]" - Value="SARS-CoV+SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-3.1" Path="3[*].1[*]" Value="96986-5"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-3.2" Path="3[*].2[*]" - Value="SARS-CoV-2 (COVID-19) N gene [Presence] in Nose by NAA with non-probe detection"/> - </Constraints> - </CoConstraint> - </SimpleTable> - <SimpleTable> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-17.1" Path="17[*].1[*]" - Value="Flowflex COVID-19 Antigen Home Test_ACON Laboratories, Inc_EUA"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-3.1" Path="3[*].1[*]" Value="97097-0"/> - <PlainText Name="OBX-15.1" Path="15[*].1[*]" Value="00Z0000042"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-17.1" Path="17[*].1[*]" - Value="BD Veritor At-Home COVID-19 Test_Becton, Dickinson and Company (BD)_EUA"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-3.1" Path="3[*].1[*]" Value="97097-0"/> - <PlainText Name="OBX-15.1" Path="15[*].1[*]" Value="00Z0000043"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-17.1" Path="17[*].1[*]" - Value="Celltrion DiaTrust COVID-19 Ag Home Test_Celltrion USA, Inc._EUA"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-3.1" Path="3[*].1[*]" Value="97097-0"/> - <PlainText Name="OBX-15.1" Path="15[*].1[*]" Value="00Z0000042"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-17.1" Path="17[*].1[*]" - Value="Cue COVID-19 Test for Home and Over The Counter (OTC) Use_Cue Health Inc._EUA"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-3.1" Path="3[*].1[*]" Value="95409-9"/> - <PlainText Name="OBX-15.1" Path="15[*].1[*]" Value="00Z0000043"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-17.1" Path="17[*].1[*]" - Value="Ellume COVID-19 Home Test_Ellume Limited_EUA"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-3.1" Path="3[*].1[*]" Value="95209-3"/> - <PlainText Name="OBX-15.1" Path="15[*].1[*]" Value="00Z0000043"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-17.1" Path="17[*].1[*]" Value="Detect Covid-19 Test_Detect, Inc._EUA"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-3.1" Path="3[*].1[*]" Value="94559-2"/> - <PlainText Name="OBX-15.1" Path="15[*].1[*]" Value="00Z0000042"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-17.1" Path="17[*].1[*]" - Value="iHealth COVID-19 Antigen Rapid Test_iHealth Labs, Inc._EUA"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-3.1" Path="3[*].1[*]" Value="97097-0"/> - <PlainText Name="OBX-15.1" Path="15[*].1[*]" Value="00Z0000042"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-17.1" Path="17[*].1[*]" - Value="SCoV-2 Ag Detect Rapid Self-Test_InBios International Inc._EUA"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-3.1" Path="3[*].1[*]" Value="97097-0"/> - <PlainText Name="OBX-15.1" Path="15[*].1[*]" Value="00Z0000042"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-17.1" Path="17[*].1[*]" - Value="Lucira CHECK-IT COVID-19 Test Kit_Lucira Health, Inc._EUA"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-3.1" Path="3[*].1[*]" Value="96986-5"/> - <PlainText Name="OBX-15.1" Path="15[*].1[*]" Value="00Z0000043"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-17.1" Path="17[*].1[*]" Value="00810055970001_DIT"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-3.1" Path="3[*].1[*]" Value="96986-5"/> - <PlainText Name="OBX-15.1" Path="15[*].1[*]" Value="00Z0000015"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-17.1" Path="17[*].1[*]" - Value="MaximBio ClearDetect COVID-19 Antigen Home Test_Maxim Biomedical, Inc._EUA"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-3.1" Path="3[*].1[*]" Value="97097-0"/> - <PlainText Name="OBX-15.1" Path="15[*].1[*]" Value="00Z0000042"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-17.1" Path="17[*].1[*]" - Value="InteliSwab COVID-19 Rapid Test_OraSure Technologies, Inc._EUA"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-3.1" Path="3[*].1[*]" Value="97097-0"/> - <PlainText Name="OBX-15.1" Path="15[*].1[*]" Value="00Z0000042"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-17.1" Path="17[*].1[*]" - Value="InteliSwab COVID-19 Rapid Test Rx_OraSure Technologies, Inc._EUA"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-3.1" Path="3[*].1[*]" Value="97097-0"/> - <PlainText Name="OBX-15.1" Path="15[*].1[*]" Value="00Z0000015"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-17.1" Path="17[*].1[*]" - Value="INDICAID COVID-19 Rapid Antigen At-Home Test_PHASE Scientific International, Ltd._EUA"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-3.1" Path="3[*].1[*]" Value="97097-0"/> - <PlainText Name="OBX-15.1" Path="15[*].1[*]" Value="00Z0000042"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-17.1" Path="17[*].1[*]" - Value="QuickVue At-Home COVID-19 Test_Quidel Corporation_EUA"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-3.1" Path="3[*].1[*]" Value="95209-3"/> - <PlainText Name="OBX-15.1" Path="15[*].1[*]" Value="00Z0000015"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-17.1" Path="17[*].1[*]" - Value="QuickVue At-Home OTC COVID-19 Test_Quidel Corporation_EUA"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-3.1" Path="3[*].1[*]" Value="95209-3"/> - <PlainText Name="OBX-15.1" Path="15[*].1[*]" Value="00Z0000042"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-17.1" Path="17[*].1[*]" - Value="CLINITEST Rapid COVID-19 Antigen Self-Test_Siemens Healthineers_EUA"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-3.1" Path="3[*].1[*]" Value="97097-0"/> - <PlainText Name="OBX-15.1" Path="15[*].1[*]" Value="00Z0000042"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-17.1" Path="17[*].1[*]" - Value="Pilot COVID-19 At-Home Test_SD Biosensor, Inc._EUA"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-3.1" Path="3[*].1[*]" Value="97097-0"/> - <PlainText Name="OBX-15.1" Path="15[*].1[*]" Value="00Z0000042"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-17.1" Path="17[*].1[*]" - Value="BinaxNOW COVID-19 Antigen Self Test_Abbott Diagnostics Scarborough, Inc._EUA"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-3.1" Path="3[*].1[*]" Value="94558-4"/> - <PlainText Name="OBX-15.1" Path="15[*].1[*]" Value="00Z0000042"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-17.1" Path="17[*].1[*]" - Value="CareStart COVID-19 Antigen Home Test_Access Bio, Inc._EUA"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-3.1" Path="3[*].1[*]" Value="97097-0"/> - <PlainText Name="OBX-15.1" Path="15[*].1[*]" Value="00Z0000042"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-17.1" Path="17[*].1[*]" Value="10811877011337_DIT"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-3.1" Path="3[*].1[*]" Value="94558-4"/> - <PlainText Name="OBX-15.1" Path="15[*].1[*]" Value="00Z0000016"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-17.1" Path="17[*].1[*]" - Value="Rapid SARS-CoV-2 Antigen Test Card_Xiamen Boson Biotech Co., Ltd._EUA"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-3.1" Path="3[*].1[*]" Value="97097-0"/> - <PlainText Name="OBX-15.1" Path="15[*].1[*]" Value="00Z0000042"/> - </Constraints> - </CoConstraint> - </SimpleTable> - <SimpleTable> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-15.1" Path="15[*].1[*]" Value="00Z0000042"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-24.1.1" Path="24[*].1[*].1[*]" Value="14 Fake AtHome Test Street"/> - <PlainText Name="OBX-24.3" Path="24[*].3[*]" Value="Fake City"/> - <PlainText Name="OBX-23.1" Path="23[*].1[*]" Value="SA.OTCSelfReport"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-15.1" Path="15[*].1[*]" Value="00Z0000043"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-24.1.1" Path="24[*].1[*].1[*]" Value="15 Fake AtHome Test Street"/> - <PlainText Name="OBX-24.3" Path="24[*].3[*]" Value="Fake City"/> - <PlainText Name="OBX-23.1" Path="23[*].1[*]" Value="SA.OTCInstrument"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-15.1" Path="15[*].1[*]" Value="00Z0000015"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-24.1.1" Path="24[*].1[*].1[*]" Value="12 Fake AtHome Test Street"/> - <PlainText Name="OBX-24.3" Path="24[*].3[*]" Value="Fake City"/> - <PlainText Name="OBX-23.1" Path="23[*].1[*]" Value="SA.Prescription"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <PlainText Name="OBX-15.1" Path="15[*].1[*]" Value="00Z0000016"/> - </Selectors> - <Constraints> - <PlainText Name="OBX-24.1.1" Path="24[*].1[*].1[*]" Value="13 Fake AtHome Test Street"/> - <PlainText Name="OBX-24.3" Path="24[*].3[*]" Value="Fake City"/> - <PlainText Name="OBX-23.1" Path="23[*].1[*]" Value="SA.Proctor"/> - </Constraints> - </CoConstraint> - </SimpleTable> - </Segment> - </Context> - <Context Name="PATIENT_RESULT.ORDER_OBSERVATION.OBSERVATION" Path="3[*].2[*].6[*]"> - <Segment Name="OBX" Path="1[*]"> - <SimpleTable> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <Code Code="100973-7" CodeSystem="LN" Name="OBX-3" Path="3[*]"> - <BindingLocation CodePath="1[1]" CodeSystemPath="3[1]" Position="1"/> - </Code> - </Selectors> - <Constraints> - <ValueSet Name="OBX-5" Path="5[*]"> - <ValueSetBinding BindingStrength="R" Target="."> - <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="OBX5.1"/> - </Bindings> - </ValueSetBinding> - </ValueSet> - <PlainText Name="OBX-2" Path="2[*]" Value="CWE"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <Code Code="100974-5" CodeSystem="LN" Name="OBX-3" Path="3[*]"> - <BindingLocation CodePath="1[1]" CodeSystemPath="3[1]" Position="1"/> - </Code> - </Selectors> - <Constraints> - <ValueSet Name="OBX-5" Path="5[*]"> - <ValueSetBinding BindingStrength="R" Target="."> - <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="OBX5.1"/> - </Bindings> - </ValueSetBinding> - </ValueSet> - <PlainText Name="OBX-2" Path="2[*]" Value="CWE"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <Code Code="94558-4" CodeSystem="LN" Name="OBX-3" Path="3[*]"> - <BindingLocation CodePath="1[1]" CodeSystemPath="3[1]" Position="1"/> - </Code> - </Selectors> - <Constraints> - <ValueSet Name="OBX-5" Path="5[*]"> - <ValueSetBinding BindingStrength="R" Target="."> - <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="OBX5.1"/> - </Bindings> - </ValueSetBinding> - </ValueSet> - <PlainText Name="OBX-2" Path="2[*]" Value="CWE"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <Code Code="94559-2" CodeSystem="LN" Name="OBX-3" Path="3[*]"> - <BindingLocation CodePath="1[1]" CodeSystemPath="3[1]" Position="1"/> - </Code> - </Selectors> - <Constraints> - <ValueSet Name="OBX-5" Path="5[*]"> - <ValueSetBinding BindingStrength="R" Target="."> - <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="OBX5.1"/> - </Bindings> - </ValueSetBinding> - </ValueSet> - <PlainText Name="OBX-2" Path="2[*]" Value="CWE"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <Code Code="95209-3" CodeSystem="LN" Name="OBX-3" Path="3[*]"> - <BindingLocation CodePath="1[1]" CodeSystemPath="3[1]" Position="1"/> - </Code> - </Selectors> - <Constraints> - <ValueSet Name="OBX-5" Path="5[*]"> - <ValueSetBinding BindingStrength="R" Target="."> - <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="OBX5.1"/> - </Bindings> - </ValueSetBinding> - </ValueSet> - <PlainText Name="OBX-2" Path="2[*]" Value="CWE"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <Code Code="95409-9" CodeSystem="LN" Name="OBX-3" Path="3[*]"> - <BindingLocation CodePath="1[1]" CodeSystemPath="3[1]" Position="1"/> - </Code> - </Selectors> - <Constraints> - <ValueSet Name="OBX-5" Path="5[*]"> - <ValueSetBinding BindingStrength="R" Target="."> - <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="OBX5.1"/> - </Bindings> - </ValueSetBinding> - </ValueSet> - <PlainText Name="OBX-2" Path="2[*]" Value="CWE"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <Code Code="95608-6" CodeSystem="LN" Name="OBX-3" Path="3[*]"> - <BindingLocation CodePath="1[1]" CodeSystemPath="3[1]" Position="1"/> - </Code> - </Selectors> - <Constraints> - <ValueSet Name="OBX-5" Path="5[*]"> - <ValueSetBinding BindingStrength="R" Target="."> - <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="OBX5.1"/> - </Bindings> - </ValueSetBinding> - </ValueSet> - <PlainText Name="OBX-2" Path="2[*]" Value="CWE"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <Code Code="96986-5" CodeSystem="LN" Name="OBX-3" Path="3[*]"> - <BindingLocation CodePath="1[1]" CodeSystemPath="3[1]" Position="1"/> - </Code> - </Selectors> - <Constraints> - <ValueSet Name="OBX-5" Path="5[*]"> - <ValueSetBinding BindingStrength="R" Target="."> - <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="OBX5.1"/> - </Bindings> - </ValueSetBinding> - </ValueSet> - <PlainText Name="OBX-2" Path="2[*]" Value="CWE"/> - </Constraints> - </CoConstraint> - <CoConstraint Max="*" Min="0" Usage="S"> - <Selectors> - <Code Code="97097-0" CodeSystem="LN" Name="OBX-3" Path="3[*]"> - <BindingLocation CodePath="1[1]" CodeSystemPath="3[1]" Position="1"/> - </Code> - </Selectors> - <Constraints> - <ValueSet Name="OBX-5" Path="5[*]"> - <ValueSetBinding BindingStrength="R" Target="."> - <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="OBX5.1"/> - </Bindings> - </ValueSetBinding> - </ValueSet> - <PlainText Name="OBX-2" Path="2[*]" Value="CWE"/> - </Constraints> - </CoConstraint> - </SimpleTable> - </Segment> - </Context> + <Context Name="ORU_R01" Path="."/> + <Context Name="PATIENT_RESULT.ORDER_OBSERVATION.OBSERVATION" Path="3[*].2[*].6[*]"/> </ByMessage> </CoConstraintContext> \ No newline at end of file diff --git a/prime-router/src/main/resources/metadata/hl7_validation/v251/radxmars/production/constraints.xml b/prime-router/src/main/resources/metadata/hl7_validation/v251/radxmars/production/constraints.xml index f96e980e3f9..e2108b965f0 100644 --- a/prime-router/src/main/resources/metadata/hl7_validation/v251/radxmars/production/constraints.xml +++ b/prime-router/src/main/resources/metadata/hl7_validation/v251/radxmars/production/constraints.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <ConformanceContext xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - UUID="2b28be0d-7721-461e-aa5e-d248c0ef75bf17150091142771715009115918" + UUID="be0bbadb-0039-4262-bf34-3049bafc473a17194047231331719404725378" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/Jungyubw/NIST_healthcare_hl7_v2_profile_schema/master/Schema/NIST%20Validation%20Schema/ConformanceContext.xsd"> <MetaData Date="No Date Info" Name="RADx MARS" OrgName="Datapult, an APHL company, in partnership with NIH NIBIB" @@ -21,101 +21,98 @@ </Condition> </Predicate> </ByID> - <ByID ID="XAD_OBX-24"> - <Predicate FalseUsage="RE" Target="4[1]" TrueUsage="X"> - <Description>If XAD.3 (City) contains the value 'Fake City'. </Description> + <ByID ID="XTN_ORC-23"> + <Predicate FalseUsage="X" Target="4[1]" TrueUsage="RE"> + <Description>If XTN.7 (Local Number) is not valued </Description> <Condition> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="3[1]" Text="Fake City"/> + <NOT> + <Presence Path="7[1]"/> + </NOT> </Condition> </Predicate> - <Predicate FalseUsage="RE" Target="5[1]" TrueUsage="X"> - <Description>If XAD.3 (City) contains the value 'Fake City'. </Description> + <Predicate FalseUsage="X" Target="5[1]" TrueUsage="O"> + <Description>If XTN.7 (Local Number) is valued </Description> <Condition> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="3[1]" Text="Fake City"/> + <Presence Path="7[1]"/> </Condition> </Predicate> - <Predicate FalseUsage="RE" Target="9[1]" TrueUsage="X"> - <Description>If XAD.3 (City) contains the value 'Fake City'. </Description> + <Predicate FalseUsage="X" Target="6[1]" TrueUsage="RE"> + <Description>If XTN.4 (Email Address) is not valued </Description> <Condition> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="3[1]" Text="Fake City"/> + <NOT> + <Presence Path="4[1]"/> + </NOT> </Condition> </Predicate> - </ByID> - <ByID ID="CWE_OBX-17"> - <Predicate FalseUsage="X" Target="2[1]" TrueUsage="O"> - <Description>If CWE.1 (Identifier) is valued </Description> + <Predicate FalseUsage="X" Target="7[1]" TrueUsage="RE"> + <Description>If XTN.4 (Email Address) is not valued </Description> <Condition> - <Presence Path="1[1]"/> + <NOT> + <Presence Path="4[1]"/> + </NOT> </Condition> </Predicate> - <Predicate FalseUsage="X" Target="3[1]" TrueUsage="RE"> - <Description>If CWE.1 (Identifier) is valued </Description> + <Predicate FalseUsage="X" Target="8[1]" TrueUsage="O"> + <Description>If XTN.7 (Local Number) is valued </Description> <Condition> - <Presence Path="1[1]"/> + <Presence Path="7[1]"/> </Condition> </Predicate> - <Predicate FalseUsage="X" Target="7[1]" TrueUsage="RE"> - <Description>If CWE.1 (Identifier) is valued </Description> + </ByID> + <ByID ID="XAD_OBX-24"> + <Predicate FalseUsage="RE" Target="4[1]" TrueUsage="X"> + <Description>If XAD.3 (City) contains the value 'Fake City'. </Description> <Condition> - <Presence Path="1[1]"/> + <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="3[1]" Text="Fake City"/> </Condition> </Predicate> - <Predicate FalseUsage="O" Target="9[1]" TrueUsage="R"> - <Description>If ( CWE.1 (Identifier) is not valued AND CWE.4 (Alternate Identifier) is not valued )</Description> + <Predicate FalseUsage="RE" Target="5[1]" TrueUsage="X"> + <Description>If XAD.3 (City) contains the value 'Fake City'. </Description> <Condition> - <AND> - <NOT> - <Presence Path="1[1]"/> - </NOT> - <NOT> - <Presence Path="4[1]"/> - </NOT> - </AND> + <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="3[1]" Text="Fake City"/> </Condition> </Predicate> - </ByID> - <ByID ID="CWE_NIH3"> - <Predicate FalseUsage="X" Target="2[1]" TrueUsage="RE"> - <Description>If CWE.1 (Identifier) is valued </Description> + <Predicate FalseUsage="RE" Target="9[1]" TrueUsage="X"> + <Description>If XAD.3 (City) contains the value 'Fake City'. </Description> <Condition> - <Presence Path="1[1]"/> + <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="3[1]" Text="Fake City"/> </Condition> </Predicate> - <Predicate FalseUsage="X" Target="3[1]" TrueUsage="RE"> - <Description>If CWE.1 (Identifier) is valued </Description> + </ByID> + <ByID ID="XTN_NIH2"> + <Predicate FalseUsage="X" Target="4[1]" TrueUsage="RE"> + <Description>If XTN.3 (Telecommunication Equipment Type) contains the value 'Internet' (Case Insensitive). </Description> <Condition> - <Presence Path="1[1]"/> + <PlainText IgnoreCase="true" NotPresentBehavior="FAIL" Path="3[1]" Text="Internet"/> </Condition> </Predicate> - <Predicate FalseUsage="X" Target="7[1]" TrueUsage="RE"> - <Description>If CWE.1 (Identifier) is valued </Description> + <Predicate FalseUsage="X" Target="5[1]" TrueUsage="O"> + <Description>If XTN.7 (Local Number) is valued </Description> <Condition> - <Presence Path="1[1]"/> + <Presence Path="7[1]"/> </Condition> </Predicate> - </ByID> - <ByID ID="XCN_NIH2"> - <Predicate FalseUsage="X" Target="13[1]" TrueUsage="RE"> - <Description>If XCN.1 (ID Number) is valued </Description> + <Predicate FalseUsage="RE" Target="6[1]" TrueUsage="X"> + <Description>If XTN.3 (Telecommunication Equipment Type) contains the value 'Internet' (Case Insensitive). </Description> <Condition> - <Presence Path="1[1]"/> + <PlainText IgnoreCase="true" NotPresentBehavior="FAIL" Path="3[1]" Text="Internet"/> </Condition> </Predicate> - <Predicate FalseUsage="X" Target="2[1]" TrueUsage="RE"> - <Description>If XCN.1 (ID Number) is valued </Description> + <Predicate FalseUsage="RE" Target="7[1]" TrueUsage="X"> + <Description>If XTN.3 (Telecommunication Equipment Type) contains the value 'Internet' (Case Insensitive). </Description> <Condition> - <Presence Path="1[1]"/> + <PlainText IgnoreCase="true" NotPresentBehavior="FAIL" Path="3[1]" Text="Internet"/> </Condition> </Predicate> - <Predicate FalseUsage="X" Target="9[1]" TrueUsage="RE"> - <Description>If XCN.1 (ID Number) is valued </Description> + <Predicate FalseUsage="X" Target="8[1]" TrueUsage="O"> + <Description>If XTN.7 (Local Number) is valued </Description> <Condition> - <Presence Path="1[1]"/> + <Presence Path="7[1]"/> </Condition> </Predicate> </ByID> - <ByID ID="CWE_NIH2"> - <Predicate FalseUsage="X" Target="2[1]" TrueUsage="RE"> + <ByID ID="CWE_NIH4"> + <Predicate FalseUsage="X" Target="2[1]" TrueUsage="O"> <Description>If CWE.1 (Identifier) is valued </Description> <Condition> <Presence Path="1[1]"/> @@ -149,9 +146,11 @@ </ByID> <ByID ID="XTN_NIH"> <Predicate FalseUsage="X" Target="4[1]" TrueUsage="R"> - <Description>If XTN.3 (Telecommunication Equipment Type) contain the value 'Internet'. </Description> + <Description>If XTN.7 (Local Number) is not valued </Description> <Condition> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="3[1]" Text="Internet"/> + <NOT> + <Presence Path="7[1]"/> + </NOT> </Condition> </Predicate> <Predicate FalseUsage="X" Target="5[1]" TrueUsage="O"> @@ -161,15 +160,17 @@ </Condition> </Predicate> <Predicate FalseUsage="X" Target="6[1]" TrueUsage="R"> - <Description>If XTN.3 (Telecommunication Equipment Type) contain the value 'PH'. </Description> + <Description>If XTN.7 (Local Number) is valued </Description> <Condition> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="3[1]" Text="PH"/> + <Presence Path="7[1]"/> </Condition> </Predicate> <Predicate FalseUsage="X" Target="7[1]" TrueUsage="R"> - <Description>If XTN.3 (Telecommunication Equipment Type) contain the value 'PH'. </Description> + <Description>If XTN.4 (Email Address) is not valued </Description> <Condition> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="3[1]" Text="PH"/> + <NOT> + <Presence Path="4[1]"/> + </NOT> </Condition> </Predicate> <Predicate FalseUsage="X" Target="8[1]" TrueUsage="O"> @@ -179,55 +180,43 @@ </Condition> </Predicate> </ByID> - <ByID ID="XAD_ORC-24"> - <Predicate FalseUsage="O" Target="3[1]" TrueUsage="RE"> - <Description>If XAD.1.1 (Street or Mailing Address) is valued </Description> + <ByID ID="CWE_NIH3"> + <Predicate FalseUsage="X" Target="2[1]" TrueUsage="RE"> + <Description>If CWE.1 (Identifier) is valued </Description> <Condition> - <Presence Path="1[1].1[1]"/> + <Presence Path="1[1]"/> </Condition> </Predicate> - <Predicate FalseUsage="O" Target="4[1]" TrueUsage="RE"> - <Description>If XAD.1.1 (Street or Mailing Address) is valued </Description> + <Predicate FalseUsage="X" Target="3[1]" TrueUsage="RE"> + <Description>If CWE.1 (Identifier) is valued </Description> <Condition> - <Presence Path="1[1].1[1]"/> + <Presence Path="1[1]"/> </Condition> </Predicate> - <Predicate FalseUsage="O" Target="5[1]" TrueUsage="RE"> - <Description>If XAD.1.1 (Street or Mailing Address) is valued </Description> + <Predicate FalseUsage="X" Target="7[1]" TrueUsage="RE"> + <Description>If CWE.1 (Identifier) is valued </Description> <Condition> - <Presence Path="1[1].1[1]"/> + <Presence Path="1[1]"/> </Condition> </Predicate> </ByID> - <ByID ID="XTN_NIH2"> - <Predicate FalseUsage="X" Target="4[1]" TrueUsage="RE"> - <Description>If XTN.3 (Telecommunication Equipment Type) contains the value 'Internet' (Case Insensitive). </Description> - <Condition> - <PlainText IgnoreCase="true" NotPresentBehavior="FAIL" Path="3[1]" Text="Internet"/> - </Condition> - </Predicate> - <Predicate FalseUsage="X" Target="5[1]" TrueUsage="O"> - <Description>If XTN.7 (Local Number) is valued </Description> - <Condition> - <Presence Path="7[1]"/> - </Condition> - </Predicate> - <Predicate FalseUsage="RE" Target="6[1]" TrueUsage="X"> - <Description>If XTN.3 (Telecommunication Equipment Type) contains the value 'Internet' (Case Insensitive). </Description> + <ByID ID="XCN_NIH2"> + <Predicate FalseUsage="X" Target="13[1]" TrueUsage="RE"> + <Description>If XCN.1 (ID Number) is valued </Description> <Condition> - <PlainText IgnoreCase="true" NotPresentBehavior="FAIL" Path="3[1]" Text="Internet"/> + <Presence Path="1[1]"/> </Condition> </Predicate> - <Predicate FalseUsage="RE" Target="7[1]" TrueUsage="X"> - <Description>If XTN.3 (Telecommunication Equipment Type) contains the value 'Internet' (Case Insensitive). </Description> + <Predicate FalseUsage="X" Target="2[1]" TrueUsage="RE"> + <Description>If XCN.1 (ID Number) is valued </Description> <Condition> - <PlainText IgnoreCase="true" NotPresentBehavior="FAIL" Path="3[1]" Text="Internet"/> + <Presence Path="1[1]"/> </Condition> </Predicate> - <Predicate FalseUsage="X" Target="8[1]" TrueUsage="O"> - <Description>If XTN.7 (Local Number) is valued </Description> + <Predicate FalseUsage="X" Target="9[1]" TrueUsage="RE"> + <Description>If XCN.1 (ID Number) is valued </Description> <Condition> - <Presence Path="7[1]"/> + <Presence Path="1[1]"/> </Condition> </Predicate> </ByID> @@ -253,45 +242,40 @@ </Condition> </Predicate> </ByID> - <ByID ID="XTN_ORC-23"> - <Predicate FalseUsage="X" Target="4[1]" TrueUsage="RE"> - <Description>If XTN.7 (Local Number) is not valued </Description> - <Condition> - <NOT> - <Presence Path="7[1]"/> - </NOT> - </Condition> - </Predicate> - <Predicate FalseUsage="X" Target="5[1]" TrueUsage="O"> - <Description>If XTN.7 (Local Number) is valued </Description> + <ByID ID="CWE_NIH"> + <Predicate FalseUsage="X" Target="2[1]" TrueUsage="RE"> + <Description>If CWE.1 (Identifier) is valued </Description> <Condition> - <Presence Path="7[1]"/> + <Presence Path="1[1]"/> </Condition> </Predicate> - <Predicate FalseUsage="X" Target="6[1]" TrueUsage="RE"> - <Description>If XTN.4 (Email Address) is not valued </Description> + <Predicate FalseUsage="X" Target="3[1]" TrueUsage="RE"> + <Description>If CWE.1 (Identifier) is valued </Description> <Condition> - <NOT> - <Presence Path="4[1]"/> - </NOT> + <Presence Path="1[1]"/> </Condition> </Predicate> <Predicate FalseUsage="X" Target="7[1]" TrueUsage="RE"> - <Description>If XTN.4 (Email Address) is not valued </Description> + <Description>If CWE.1 (Identifier) is valued </Description> <Condition> - <NOT> - <Presence Path="4[1]"/> - </NOT> + <Presence Path="1[1]"/> </Condition> </Predicate> - <Predicate FalseUsage="X" Target="8[1]" TrueUsage="O"> - <Description>If XTN.7 (Local Number) is valued </Description> + <Predicate FalseUsage="O" Target="9[1]" TrueUsage="R"> + <Description>If ( CWE.1 (Identifier) is not valued AND CWE.4 (Alternate Identifier) is not valued )</Description> <Condition> - <Presence Path="7[1]"/> + <AND> + <NOT> + <Presence Path="1[1]"/> + </NOT> + <NOT> + <Presence Path="4[1]"/> + </NOT> + </AND> </Condition> </Predicate> </ByID> - <ByID ID="CWE_NIH"> + <ByID ID="CWE_NIH2"> <Predicate FalseUsage="X" Target="2[1]" TrueUsage="RE"> <Description>If CWE.1 (Identifier) is valued </Description> <Condition> @@ -324,7 +308,27 @@ </Condition> </Predicate> </ByID> - <ByID ID="CWE_NIH4"> + <ByID ID="XAD_ORC-24"> + <Predicate FalseUsage="O" Target="3[1]" TrueUsage="RE"> + <Description>If XAD.1.1 (Street or Mailing Address) is valued </Description> + <Condition> + <Presence Path="1[1].1[1]"/> + </Condition> + </Predicate> + <Predicate FalseUsage="O" Target="4[1]" TrueUsage="RE"> + <Description>If XAD.1.1 (Street or Mailing Address) is valued </Description> + <Condition> + <Presence Path="1[1].1[1]"/> + </Condition> + </Predicate> + <Predicate FalseUsage="O" Target="5[1]" TrueUsage="RE"> + <Description>If XAD.1.1 (Street or Mailing Address) is valued </Description> + <Condition> + <Presence Path="1[1].1[1]"/> + </Condition> + </Predicate> + </ByID> + <ByID ID="CWE_OBX-17"> <Predicate FalseUsage="X" Target="2[1]" TrueUsage="O"> <Description>If CWE.1 (Identifier) is valued </Description> <Condition> @@ -359,14 +363,6 @@ </ByID> </Datatype> <Segment> - <ByID ID="ORC_NIH"> - <Predicate FalseUsage="O" Target="24[1]" TrueUsage="RE"> - <Description>If The first occurrence of ORC-12.1 (ID Number) is valued </Description> - <Condition> - <Presence Path="12[1].1[1]"/> - </Condition> - </Predicate> - </ByID> <ByID ID="OBX_NIH_2-8-1"> <Predicate FalseUsage="X" Target="2[1]" TrueUsage="R"> <Description>If OBX-5 (Observation Value) is valued </Description> @@ -428,64 +424,11 @@ </Condition> </Predicate> </ByID> - <ByID ID="OBX_NIH_COCON3-3_2-3_2_6-3_2_6_1_6494460e8b87bc0007492d42_2-8-1"> - <Predicate FalseUsage="X" Target="2[1]" TrueUsage="R"> - <Description>If OBX-5 (Observation Value) is valued </Description> + <ByID ID="ORC_NIH"> + <Predicate FalseUsage="O" Target="24[1]" TrueUsage="RE"> + <Description>If The first occurrence of ORC-12.1 (ID Number) is valued </Description> <Condition> - <Presence Path="5[1]"/> - </Condition> - </Predicate> - <Predicate FalseUsage="O" Target="24[1]" TrueUsage="RE"> - <Description>If OBX-29 (Observation Type) is not valued </Description> - <Condition> - <NOT> - <Presence Path="29[1]"/> - </NOT> - </Condition> - </Predicate> - <Predicate FalseUsage="X" Target="6[1]" TrueUsage="RE"> - <Description>If ( OBX-11 (Observation Result Status) does not contain the value 'X'. AND ( OBX-2 (Value Type) contain the value 'NM'. OR OBX-2 (Value Type) contain the value 'SN'. ) )</Description> - <Condition> - <AND> - <OR> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="2[1]" Text="SN"/> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="2[1]" Text="NM"/> - </OR> - <NOT> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="11[1]" Text="X"/> - </NOT> - </AND> - </Condition> - </Predicate> - <Predicate FalseUsage="X" Target="17[1]" TrueUsage="R"> - <Description>If OBX-29 (Observation Type) does not contain the value 'QST' (Case Sensitive). </Description> - <Condition> - <NOT> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="29[1]" Text="QST"/> - </NOT> - </Condition> - </Predicate> - <Predicate FalseUsage="X" Target="29[1]" TrueUsage="RE"> - <Description>If OBX-3.1 (Identifier) contain one of the values in the list: ['35659-2','95419-8','65222-2']. </Description> - <Condition> - <StringList CSV="35659-2,95419-8,65222-2" IgnoreCase="false" NotPresentBehavior="FAIL" - Path="3[1].1[1]"/> - </Condition> - </Predicate> - <Predicate FalseUsage="X" Target="8[1]" TrueUsage="RE"> - <Description>If OBX-29 (Observation Type) does not contain the value 'QST'. </Description> - <Condition> - <NOT> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="29[1]" Text="QST"/> - </NOT> - </Condition> - </Predicate> - <Predicate FalseUsage="X" Target="19[1]" TrueUsage="RE"> - <Description>If OBX-29 (Observation Type) does not contain the value 'QST' (Case Sensitive). </Description> - <Condition> - <NOT> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="29[1]" Text="QST"/> - </NOT> + <Presence Path="12[1].1[1]"/> </Condition> </Predicate> </ByID> @@ -506,14 +449,6 @@ </Predicates> <Constraints> <Datatype> - <ByID ID="DT"> - <Constraint ID="DT_DateTimeConstraint"> - <Description>The value SHALL follow the Date/Time pattern 'YYYY[MM[DD]]'.</Description> - <Assertion> - <Format Path="." Regex="^(\d{4}|\d{6}|\d{8})$"/> - </Assertion> - </Constraint> - </ByID> <ByID ID="TM"> <Constraint ID="TM_DateTimeConstraint"> <Description>The value SHALL follow the Date/Time pattern 'HH[MM[SS[.S[S[S[S]]]]]][+/-ZZZZ]'.</Description> @@ -532,98 +467,139 @@ </Assertion> </Constraint> </ByID> + <ByID ID="DT"> + <Constraint ID="DT_DateTimeConstraint"> + <Description>The value SHALL follow the Date/Time pattern 'YYYY[MM[DD]]'.</Description> + <Assertion> + <Format Path="." Regex="^(\d{4}|\d{6}|\d{8})$"/> + </Assertion> + </Constraint> + </ByID> </Datatype> <Segment> - <ByID ID="PID_NIH"> - <Constraint ID="PID-1" Strength="SHALL"> - <Description> PID-1 (Set ID - PID) shall contain the value '1'. </Description> + <ByID ID="OBX_NIH_2-8-1"> + <Constraint ID="OBX-19" Strength="SHOULD"> + <Description>If OBX-19.1 (Time) is valued then OBX-19.1 (Time) should match the regular expression '^(\d{14}\.\d{1,4}|\d{14})((\x2D|\x2B)\d{4})?$'. </Description> <Assertion> - <PlainText IgnoreCase="false" NotPresentBehavior="PASS" Path="1[1]" Text="1"/> + <IMPLY> + <Presence Path="19[1].1[1]"/> + <Format NotPresentBehavior="FAIL" Path="19[1].1[1]" + Regex="^(\d{14}\.\d{1,4}|\d{14})((\x2D|\x2B)\d{4})?$"/> + </IMPLY> </Assertion> </Constraint> - <Constraint ID="PID-11.4" Strength="SHOULD"> - <Description>If The first occurrence of PID-11.4 (State or Province) is valued then the first occurrence of PID-11.4 (State or Province) should match the regular expression '^[A-Z]{2}$'. </Description> + <Constraint ID="OBX-15.1 = OBX-23.10" Strength="SHOULD"> + <Description> OBX-15.1 (Identifier) should be identical to OBX-23.10 (Organization Identifier)</Description> + <Assertion> + <PathValue IdenticalEquality="true" NotPresentBehavior="PASS" Operator="EQ" + Path1="15[1].1[1]" + Path2="23[1].10[1]" + Truncated="false"/> + </Assertion> + </Constraint> + <Constraint ID="Onset AOE" Strength="SHOULD"> + <Description>If OBX-3.1 (Identifier) contain the value '65222-2'. then ( OBX-2 (Value Type) should contain the value 'DT'. AND OBX-5 (Observation Value) should match the regular expression '^(\d{8})$'. )</Description> <Assertion> <IMPLY> - <Presence Path="11[1].4[1]"/> - <Format NotPresentBehavior="FAIL" Path="11[1].4[1]" Regex="^[A-Z]{2}$"/> + <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="3[1].1[1]" Text="65222-2"/> + <AND> + <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="2[1]" Text="DT"/> + <Format NotPresentBehavior="FAIL" Path="5[1]" Regex="^(\d{8})$"/> + </AND> </IMPLY> </Assertion> </Constraint> - <Constraint ID="PID-10.3" Strength="SHOULD"> - <Description>If The first occurrence of PID-10.1 (Identifier) is valued then the first occurrence of PID-10.3 (Name of Coding System) should contain the value 'HL70005'. </Description> + <Constraint ID="CWE OBX-2" Strength="SHALL"> + <Description>If OBX-3.1 (Identifier) does not contain one of the values in the list: ['35659-2','65222-2']. then OBX-2 (Value Type) shall contain the value 'CWE'. </Description> <Assertion> <IMPLY> - <Presence Path="10[1].1[1]"/> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="10[1].3[1]" Text="HL70005"/> + <NOT> + <StringList CSV="35659-2,65222-2" IgnoreCase="false" NotPresentBehavior="FAIL" + Path="3[1].1[1]"/> + </NOT> + <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="2[1]" Text="CWE"/> </IMPLY> </Assertion> </Constraint> - <Constraint ID="PID-11.5" Strength="SHALL"> - <Description>All occurrences of PID-11.5 (Zip or Postal Code) shall match the regular expression '^\d{5}$|^\d{5}-\d{4}$'. </Description> + <Constraint ID="Age AOE OBX-6" Strength="SHOULD"> + <Description>If OBX-3.1 (Identifier) contain the value '35659-2'. then ( ( OBX-6.1 (Identifier) should contain the value 'a'. AND OBX-6.2 (Text) should contain the value 'year'. ) AND ( OBX-6.7 (Coding System Version ID) should contain the value '2.1'. AND OBX-6.3 (Name of Coding System) should contain the value 'UCUM'. ) )</Description> <Assertion> - <Format AtLeastOnce="false" NotPresentBehavior="PASS" Path="11[*].5[1]" - Regex="^\d{5}$|^\d{5}-\d{4}$"/> + <IMPLY> + <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="3[1].1[1]" Text="35659-2"/> + <AND> + <AND> + <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="6[1].2[1]" Text="year"/> + <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="6[1].1[1]" Text="a"/> + </AND> + <AND> + <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="6[1].3[1]" Text="UCUM"/> + <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="6[1].7[1]" Text="2.1"/> + </AND> + </AND> + </IMPLY> </Assertion> </Constraint> - <Constraint ID="PID-10.7" Strength="SHOULD"> - <Description>If The first occurrence of PID-10.1 (Identifier) is valued then the first occurrence of PID-10.7 (Coding System Version ID) should contain the value '2.5.1'. </Description> + <Constraint ID="Age AOE OBX-2" Strength="SHOULD"> + <Description>If OBX-3.1 (Identifier) contain the value '35659-2'. then OBX-2 (Value Type) should contain the value 'NM'. </Description> <Assertion> <IMPLY> - <Presence Path="10[1].1[1]"/> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="10[1].7[1]" Text="2.5.1"/> + <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="3[1].1[1]" Text="35659-2"/> + <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="2[1]" Text="NM"/> </IMPLY> </Assertion> </Constraint> - <Constraint ID="PID-3.4.3" Strength="SHOULD"> - <Description>All occurrences of PID-3.4.3 (Universal ID Type) should contain the value 'ISO'. </Description> + <Constraint ID="OBX-15" Strength="SHOULD"> + <Description> OBX-15.1 (Identifier) should contain one of the values in the list: ['00Z0000042','00Z0000043','00Z0000015','00Z0000016']. </Description> <Assertion> - <PlainText AtLeastOnce="false" IgnoreCase="false" NotPresentBehavior="PASS" - Path="3[*].4[1].3[1]" - Text="ISO"/> + <StringList CSV="00Z0000042,00Z0000043,00Z0000015,00Z0000016" IgnoreCase="false" + NotPresentBehavior="PASS" + Path="15[1].1[1]"/> </Assertion> </Constraint> - <Constraint ID="PID-3.4.2" Strength="SHOULD"> - <Description>All occurrences of PID-3.4.2 (Universal ID) should be valued with an ISO-compliant OID. </Description> + </ByID> + <ByID ID="SPM_NIH"> + <Constraint ID="SPM-18" Strength="SHOULD"> + <Description> SPM-18.1 (Time) should match the regular expression '^(\d{14}\.\d{1,4}|\d{14})((\x2D|\x2B)\d{4})$'. </Description> <Assertion> - <Format AtLeastOnce="false" NotPresentBehavior="PASS" Path="3[*].4[1].2[1]" - Regex="[0-2](\.(0|[1-9][0-9]*))*"/> + <Format NotPresentBehavior="PASS" Path="18[1].1[1]" + Regex="^(\d{14}\.\d{1,4}|\d{14})((\x2D|\x2B)\d{4})$"/> </Assertion> </Constraint> - <Constraint ID="PID-13.3" Strength="SHOULD"> - <Description>If All occurrences of PID-13.3 (Telecommunication Equipment Type) is valued then all occurrences of PID-13.3 (Telecommunication Equipment Type) should contain one of the values in the list: ['PH','Internet']. </Description> + <Constraint ID="SPM-4.2: 119324002" Strength="SHOULD"> + <Description>If SPM-4.1 (Identifier) contains the value '119324002' (Case Insensitive). then SPM-4.2 (Text) should contain the value 'Specimen of unknown material (specimen)' (Case Insensitive). </Description> <Assertion> <IMPLY> - <Presence Path="13[*].3[1]"/> - <StringList AtLeastOnce="false" CSV="PH,Internet" IgnoreCase="false" - NotPresentBehavior="FAIL" - Path="13[*].3[1]"/> + <PlainText IgnoreCase="true" NotPresentBehavior="FAIL" Path="4[1].1[1]" Text="119324002"/> + <PlainText IgnoreCase="true" NotPresentBehavior="FAIL" Path="4[1].2[1]" + Text="Specimen of unknown material (specimen)"/> </IMPLY> </Assertion> </Constraint> - <Constraint ID="PID-3.5" Strength="SHOULD"> - <Description>All occurrences of PID-3.5 (Identifier Type Code) should contain the value 'PI'. </Description> + <Constraint ID="SPM-17 (Format)" Strength="SHOULD"> + <Description> SPM-17.1.1 (Time) should match the regular expression '^(\d{14}\.\d{1,4}|\d{14})((\x2D|\x2B)\d{4})$'. </Description> <Assertion> - <PlainText AtLeastOnce="false" IgnoreCase="false" NotPresentBehavior="PASS" - Path="3[*].5[1]" - Text="PI"/> + <Format NotPresentBehavior="PASS" Path="17[1].1[1].1[1]" + Regex="^(\d{14}\.\d{1,4}|\d{14})((\x2D|\x2B)\d{4})$"/> </Assertion> </Constraint> - <Constraint ID="PID-5.1" Strength="SHOULD"> - <Description>If The first occurrence of PID-5 (Patient Name) is not valued then the second occurrence of PID-5.7 (Name Type Code) should contain the value 'S'. </Description> + <Constraint ID="SPM-4.2: 871810001" Strength="SHOULD"> + <Description>If SPM-4.1 (Identifier) contains the value '871810001' (Case Insensitive). then SPM-4.2 (Text) should contain the value 'Mid-turbinate nasal swab (specimen)' (Case Insensitive). </Description> <Assertion> <IMPLY> - <NOT> - <Presence Path="5[1]"/> - </NOT> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="5[2].7[1]" Text="S"/> + <PlainText IgnoreCase="true" NotPresentBehavior="FAIL" Path="4[1].1[1]" Text="871810001"/> + <PlainText IgnoreCase="true" NotPresentBehavior="FAIL" Path="4[1].2[1]" + Text="Mid-turbinate nasal swab (specimen)"/> </IMPLY> </Assertion> </Constraint> - <Constraint ID="PID-7" Strength="SHOULD"> - <Description> PID-7.1 (Time) should match the regular expression '^\d{8}$'. </Description> + <Constraint ID="SPM-4.2: 697989009" Strength="SHOULD"> + <Description>If SPM-4.1 (Identifier) contains the value '697989009' (Case Insensitive). then SPM-4.2 (Text) should contain the value 'Anterior nares swab (specimen)' (Case Insensitive). </Description> <Assertion> - <Format NotPresentBehavior="PASS" Path="7[1].1[1]" Regex="^\d{8}$"/> + <IMPLY> + <PlainText IgnoreCase="true" NotPresentBehavior="FAIL" Path="4[1].1[1]" Text="697989009"/> + <PlainText IgnoreCase="true" NotPresentBehavior="FAIL" Path="4[1].2[1]" + Text="Anterior nares swab (specimen)"/> + </IMPLY> </Assertion> </Constraint> </ByID> @@ -758,306 +734,145 @@ </Assertion> </Constraint> </ByID> - <ByID ID="OBR_NIH"> - <Constraint ID="OBR-22.1" Strength="SHOULD"> - <Description> OBR-22.1 (Time) should match the regular expression '^(\d{14}\.\d{1,4}|\d{14})((\x2D|\x2B)\d{4})$'. </Description> - <Assertion> - <Format NotPresentBehavior="PASS" Path="22[1].1[1]" - Regex="^(\d{14}\.\d{1,4}|\d{14})((\x2D|\x2B)\d{4})$"/> - </Assertion> - </Constraint> - <Constraint ID="OBR-7.1" Strength="SHOULD"> - <Description> OBR-7.1 (Time) should match the regular expression '^(\d{14}\.\d{1,4}|\d{14})((\x2D|\x2B)\d{4})?$'. </Description> + <ByID ID="SFT_NIH"> + <Constraint ID="SFT-6" Strength="SHOULD"> + <Description>If SFT-6.1 (Time) is valued then SFT-6.1 (Time) should match the regular expression '^\d{8}$'. </Description> <Assertion> - <Format NotPresentBehavior="PASS" Path="7[1].1[1]" - Regex="^(\d{14}\.\d{1,4}|\d{14})((\x2D|\x2B)\d{4})?$"/> + <IMPLY> + <Presence Path="6[1].1[1]"/> + <Format NotPresentBehavior="FAIL" Path="6[1].1[1]" Regex="^\d{8}$"/> + </IMPLY> </Assertion> </Constraint> - <Constraint ID="OBR-1" Strength="SHALL"> - <Description> OBR-1 (Set ID - OBR) shall contain the value '1'. </Description> + </ByID> + <ByID ID="PID_NIH"> + <Constraint ID="PID-1" Strength="SHALL"> + <Description> PID-1 (Set ID - PID) shall contain the value '1'. </Description> <Assertion> <PlainText IgnoreCase="false" NotPresentBehavior="PASS" Path="1[1]" Text="1"/> </Assertion> </Constraint> - <Constraint ID="OBR-4.1" Strength="SHOULD"> - <Description> OBR-4.1 (Identifier) should contain one of the values in the list: ['97097-0','94558-4','95409-9','94559-2','95209-3','96986-5']. </Description> + <Constraint ID="PID-11.4" Strength="SHOULD"> + <Description>If The first occurrence of PID-11.4 (State or Province) is valued then the first occurrence of PID-11.4 (State or Province) should match the regular expression '^[A-Z]{2}$'. </Description> <Assertion> - <StringList CSV="97097-0,94558-4,95409-9,94559-2,95209-3,96986-5" IgnoreCase="false" - NotPresentBehavior="PASS" - Path="4[1].1[1]"/> + <IMPLY> + <Presence Path="11[1].4[1]"/> + <Format NotPresentBehavior="FAIL" Path="11[1].4[1]" Regex="^[A-Z]{2}$"/> + </IMPLY> </Assertion> </Constraint> - </ByID> - <ByID ID="ORC_NIH"> - <Constraint ID="ORC-1" Strength="SHALL"> - <Description> ORC-1 (Order Control) shall contain the value 'RE'. </Description> + <Constraint ID="PID-10.3" Strength="SHOULD"> + <Description>If The first occurrence of PID-10.1 (Identifier) is valued then the first occurrence of PID-10.3 (Name of Coding System) should contain the value 'HL70005'. </Description> <Assertion> - <PlainText IgnoreCase="false" NotPresentBehavior="PASS" Path="1[1]" Text="RE"/> + <IMPLY> + <Presence Path="10[1].1[1]"/> + <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="10[1].3[1]" Text="HL70005"/> + </IMPLY> </Assertion> </Constraint> - </ByID> - <ByID ID="OBX_NIH_2-8-1"> - <Constraint ID="OBX-5 List for 94559-2" Strength="SHOULD"> - <Description>If OBX-3.1 (Identifier) contain the value '94559-2'. then OBX-5 (Observation Value) should contain one of the values in the list: ['260385009','10828004','455371000124106','125157007']. </Description> + <Constraint ID="PID-11.5" Strength="SHALL"> + <Description>All occurrences of PID-11.5 (Zip or Postal Code) shall match the regular expression '^\d{5}$|^\d{5}-\d{4}$'. </Description> <Assertion> - <IMPLY> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="3[1].1[1]" Text="94559-2"/> - <StringList CSV="260385009,10828004,455371000124106,125157007" IgnoreCase="false" - NotPresentBehavior="FAIL" - Path="5[1]"/> - </IMPLY> + <Format AtLeastOnce="false" NotPresentBehavior="PASS" Path="11[*].5[1]" + Regex="^\d{5}$|^\d{5}-\d{4}$"/> </Assertion> </Constraint> - <Constraint ID="OBX-19" Strength="SHOULD"> - <Description>If OBX-19.1 (Time) is valued then OBX-19.1 (Time) should match the regular expression '^(\d{14}\.\d{1,4}|\d{14})((\x2D|\x2B)\d{4})$'. </Description> + <Constraint ID="PID-10.7" Strength="SHOULD"> + <Description>If The first occurrence of PID-10.1 (Identifier) is valued then the first occurrence of PID-10.7 (Coding System Version ID) should contain the value '2.5.1'. </Description> <Assertion> <IMPLY> - <Presence Path="19[1].1[1]"/> - <Format NotPresentBehavior="FAIL" Path="19[1].1[1]" - Regex="^(\d{14}\.\d{1,4}|\d{14})((\x2D|\x2B)\d{4})$"/> + <Presence Path="10[1].1[1]"/> + <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="10[1].7[1]" Text="2.5.1"/> </IMPLY> </Assertion> </Constraint> - <Constraint ID="OBX-15.1 = OBX-23.10" Strength="SHOULD"> - <Description> OBX-15.1 (Identifier) should be identical to OBX-23.10 (Organization Identifier)</Description> - <Assertion> - <PathValue IdenticalEquality="true" NotPresentBehavior="PASS" Operator="EQ" - Path1="15[1].1[1]" - Path2="23[1].10[1]" - Truncated="false"/> - </Assertion> - </Constraint> - <Constraint ID="Onset AOE" Strength="SHOULD"> - <Description>If OBX-3.1 (Identifier) contain the value '65222-2'. then ( OBX-2 (Value Type) should contain the value 'DT'. AND OBX-5 (Observation Value) should match the regular expression '^(\d{8})$'. )</Description> - <Assertion> - <IMPLY> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="3[1].1[1]" Text="65222-2"/> - <AND> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="2[1]" Text="DT"/> - <Format NotPresentBehavior="FAIL" Path="5[1]" Regex="^(\d{8})$"/> - </AND> - </IMPLY> - </Assertion> - </Constraint> - <Constraint ID="CWE OBX-2" Strength="SHALL"> - <Description>If OBX-3.1 (Identifier) does not contain one of the values in the list: ['35659-2','65222-2']. then OBX-2 (Value Type) shall contain the value 'CWE'. </Description> - <Assertion> - <IMPLY> - <NOT> - <StringList CSV="35659-2,65222-2" IgnoreCase="false" NotPresentBehavior="FAIL" - Path="3[1].1[1]"/> - </NOT> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="2[1]" Text="CWE"/> - </IMPLY> - </Assertion> - </Constraint> - <Constraint ID="Age AOE OBX-6" Strength="SHOULD"> - <Description>If OBX-3.1 (Identifier) contain the value '35659-2'. then ( ( OBX-6.1 (Identifier) should contain the value 'a'. AND OBX-6.2 (Text) should contain the value 'year'. ) AND ( OBX-6.7 (Coding System Version ID) should contain the value '2.1'. AND OBX-6.3 (Name of Coding System) should contain the value 'UCUM'. ) )</Description> - <Assertion> - <IMPLY> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="3[1].1[1]" Text="35659-2"/> - <AND> - <AND> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="6[1].2[1]" Text="year"/> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="6[1].1[1]" Text="a"/> - </AND> - <AND> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="6[1].3[1]" Text="UCUM"/> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="6[1].7[1]" Text="2.1"/> - </AND> - </AND> - </IMPLY> - </Assertion> - </Constraint> - <Constraint ID="Age AOE OBX-2" Strength="SHOULD"> - <Description>If OBX-3.1 (Identifier) contain the value '35659-2'. then OBX-2 (Value Type) should contain the value 'NM'. </Description> - <Assertion> - <IMPLY> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="3[1].1[1]" Text="35659-2"/> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="2[1]" Text="NM"/> - </IMPLY> - </Assertion> - </Constraint> - <Constraint ID="OBX-3.1" Strength="SHOULD"> - <Description> OBX-3.1 (Identifier) should contain one of the values in the list: ['100973-7','100974-5','94558-4','94559-2','95209-3','95409-9','95608-6','96986-5','97097-0','35659-2','95419-8','65222-2'] (Case Sensitive). </Description> + <Constraint ID="PID-3.4.3" Strength="SHOULD"> + <Description>All occurrences of PID-3.4.3 (Universal ID Type) should contain the value 'ISO'. </Description> <Assertion> - <StringList CSV="100973-7,100974-5,94558-4,94559-2,95209-3,95409-9,95608-6,96986-5,97097-0,35659-2,95419-8,65222-2" - IgnoreCase="false" - NotPresentBehavior="PASS" - Path="3[1].1[1]"/> + <PlainText AtLeastOnce="false" IgnoreCase="false" NotPresentBehavior="PASS" + Path="3[*].4[1].3[1]" + Text="ISO"/> </Assertion> </Constraint> - <Constraint ID="OBX-15" Strength="SHOULD"> - <Description> OBX-15.1 (Identifier) should contain one of the values in the list: ['00Z0000042','00Z0000043','00Z0000015','00Z0000016']. </Description> + <Constraint ID="PID-3.4.2" Strength="SHOULD"> + <Description>All occurrences of PID-3.4.2 (Universal ID) should be valued with an ISO-compliant OID. </Description> <Assertion> - <StringList CSV="00Z0000042,00Z0000043,00Z0000015,00Z0000016" IgnoreCase="false" - NotPresentBehavior="PASS" - Path="15[1].1[1]"/> + <Format AtLeastOnce="false" NotPresentBehavior="PASS" Path="3[*].4[1].2[1]" + Regex="[0-2](\.(0|[1-9][0-9]*))*"/> </Assertion> </Constraint> - </ByID> - <ByID ID="OBX_NIH_COCON3-3_2-3_2_6-3_2_6_1_6494460e8b87bc0007492d42_2-8-1"> - <Constraint ID="OBX-5 List for 94559-2" Strength="SHOULD"> - <Description>If OBX-3.1 (Identifier) contain the value '94559-2'. then OBX-5 (Observation Value) should contain one of the values in the list: ['260385009','10828004','455371000124106','125157007']. </Description> + <Constraint ID="PID-13.3" Strength="SHOULD"> + <Description>If All occurrences of PID-13.3 (Telecommunication Equipment Type) is valued then all occurrences of PID-13.3 (Telecommunication Equipment Type) should contain one of the values in the list: ['PH','Internet']. </Description> <Assertion> <IMPLY> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="3[1].1[1]" Text="94559-2"/> - <StringList CSV="260385009,10828004,455371000124106,125157007" IgnoreCase="false" + <Presence Path="13[*].3[1]"/> + <StringList AtLeastOnce="false" CSV="PH,Internet" IgnoreCase="false" NotPresentBehavior="FAIL" - Path="5[1]"/> - </IMPLY> - </Assertion> - </Constraint> - <Constraint ID="OBX-19" Strength="SHOULD"> - <Description>If OBX-19.1 (Time) is valued then OBX-19.1 (Time) should match the regular expression '^(\d{14}\.\d{1,4}|\d{14})((\x2D|\x2B)\d{4})$'. </Description> - <Assertion> - <IMPLY> - <Presence Path="19[1].1[1]"/> - <Format NotPresentBehavior="FAIL" Path="19[1].1[1]" - Regex="^(\d{14}\.\d{1,4}|\d{14})((\x2D|\x2B)\d{4})$"/> + Path="13[*].3[1]"/> </IMPLY> </Assertion> </Constraint> - <Constraint ID="OBX-15.1 = OBX-23.10" Strength="SHOULD"> - <Description> OBX-15.1 (Identifier) should be identical to OBX-23.10 (Organization Identifier)</Description> - <Assertion> - <PathValue IdenticalEquality="true" NotPresentBehavior="PASS" Operator="EQ" - Path1="15[1].1[1]" - Path2="23[1].10[1]" - Truncated="false"/> - </Assertion> - </Constraint> - <Constraint ID="Onset AOE" Strength="SHOULD"> - <Description>If OBX-3.1 (Identifier) contain the value '65222-2'. then ( OBX-2 (Value Type) should contain the value 'DT'. AND OBX-5 (Observation Value) should match the regular expression '^(\d{8})$'. )</Description> + <Constraint ID="PID-3.5" Strength="SHOULD"> + <Description>All occurrences of PID-3.5 (Identifier Type Code) should contain the value 'PI'. </Description> <Assertion> - <IMPLY> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="3[1].1[1]" Text="65222-2"/> - <AND> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="2[1]" Text="DT"/> - <Format NotPresentBehavior="FAIL" Path="5[1]" Regex="^(\d{8})$"/> - </AND> - </IMPLY> + <PlainText AtLeastOnce="false" IgnoreCase="false" NotPresentBehavior="PASS" + Path="3[*].5[1]" + Text="PI"/> </Assertion> </Constraint> - <Constraint ID="CWE OBX-2" Strength="SHALL"> - <Description>If OBX-3.1 (Identifier) does not contain one of the values in the list: ['35659-2','65222-2']. then OBX-2 (Value Type) shall contain the value 'CWE'. </Description> + <Constraint ID="PID-5.1" Strength="SHOULD"> + <Description>If The first occurrence of PID-5 (Patient Name) is not valued then the second occurrence of PID-5.7 (Name Type Code) should contain the value 'S'. </Description> <Assertion> <IMPLY> <NOT> - <StringList CSV="35659-2,65222-2" IgnoreCase="false" NotPresentBehavior="FAIL" - Path="3[1].1[1]"/> + <Presence Path="5[1]"/> </NOT> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="2[1]" Text="CWE"/> - </IMPLY> - </Assertion> - </Constraint> - <Constraint ID="Age AOE OBX-6" Strength="SHOULD"> - <Description>If OBX-3.1 (Identifier) contain the value '35659-2'. then ( ( OBX-6.1 (Identifier) should contain the value 'a'. AND OBX-6.2 (Text) should contain the value 'year'. ) AND ( OBX-6.7 (Coding System Version ID) should contain the value '2.1'. AND OBX-6.3 (Name of Coding System) should contain the value 'UCUM'. ) )</Description> - <Assertion> - <IMPLY> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="3[1].1[1]" Text="35659-2"/> - <AND> - <AND> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="6[1].2[1]" Text="year"/> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="6[1].1[1]" Text="a"/> - </AND> - <AND> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="6[1].3[1]" Text="UCUM"/> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="6[1].7[1]" Text="2.1"/> - </AND> - </AND> - </IMPLY> - </Assertion> - </Constraint> - <Constraint ID="Age AOE OBX-2" Strength="SHOULD"> - <Description>If OBX-3.1 (Identifier) contain the value '35659-2'. then OBX-2 (Value Type) should contain the value 'NM'. </Description> - <Assertion> - <IMPLY> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="3[1].1[1]" Text="35659-2"/> - <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="2[1]" Text="NM"/> + <PlainText IgnoreCase="false" NotPresentBehavior="FAIL" Path="5[2].7[1]" Text="S"/> </IMPLY> </Assertion> </Constraint> - <Constraint ID="OBX-3.1" Strength="SHOULD"> - <Description> OBX-3.1 (Identifier) should contain one of the values in the list: ['100973-7','100974-5','94558-4','94559-2','95209-3','95409-9','95608-6','96986-5','97097-0','35659-2','95419-8','65222-2'] (Case Sensitive). </Description> - <Assertion> - <StringList CSV="100973-7,100974-5,94558-4,94559-2,95209-3,95409-9,95608-6,96986-5,97097-0,35659-2,95419-8,65222-2" - IgnoreCase="false" - NotPresentBehavior="PASS" - Path="3[1].1[1]"/> - </Assertion> - </Constraint> - <Constraint ID="OBX-15" Strength="SHOULD"> - <Description> OBX-15.1 (Identifier) should contain one of the values in the list: ['00Z0000042','00Z0000043','00Z0000015','00Z0000016']. </Description> - <Assertion> - <StringList CSV="00Z0000042,00Z0000043,00Z0000015,00Z0000016" IgnoreCase="false" - NotPresentBehavior="PASS" - Path="15[1].1[1]"/> - </Assertion> - </Constraint> - </ByID> - <ByID ID="SFT_NIH"> - <Constraint ID="SFT-6" Strength="SHOULD"> - <Description>If SFT-6.1 (Time) is valued then SFT-6.1 (Time) should match the regular expression '^\d{8}$'. </Description> + <Constraint ID="PID-7" Strength="SHOULD"> + <Description> PID-7.1 (Time) should match the regular expression '^\d{8}$'. </Description> <Assertion> - <IMPLY> - <Presence Path="6[1].1[1]"/> - <Format NotPresentBehavior="FAIL" Path="6[1].1[1]" Regex="^\d{8}$"/> - </IMPLY> + <Format NotPresentBehavior="PASS" Path="7[1].1[1]" Regex="^\d{8}$"/> </Assertion> </Constraint> </ByID> - <ByID ID="SPM_NIH"> - <Constraint ID="SPM-18" Strength="SHOULD"> - <Description> SPM-18.1 (Time) should match the regular expression '^(\d{14}\.\d{1,4}|\d{14})((\x2D|\x2B)\d{4})$'. </Description> + <ByID ID="OBR_NIH"> + <Constraint ID="OBR-22.1" Strength="SHOULD"> + <Description> OBR-22.1 (Time) should match the regular expression '^(\d{14}\.\d{1,4}|\d{14})((\x2D|\x2B)\d{4})$'. </Description> <Assertion> - <Format NotPresentBehavior="PASS" Path="18[1].1[1]" + <Format NotPresentBehavior="PASS" Path="22[1].1[1]" Regex="^(\d{14}\.\d{1,4}|\d{14})((\x2D|\x2B)\d{4})$"/> </Assertion> </Constraint> - <Constraint ID="SPM-4.2: 119324002" Strength="SHOULD"> - <Description>If SPM-4.1 (Identifier) contains the value '119324002' (Case Insensitive). then SPM-4.2 (Text) should contain the value 'Specimen of unknown material (specimen)' (Case Insensitive). </Description> - <Assertion> - <IMPLY> - <PlainText IgnoreCase="true" NotPresentBehavior="FAIL" Path="4[1].1[1]" Text="119324002"/> - <PlainText IgnoreCase="true" NotPresentBehavior="FAIL" Path="4[1].2[1]" - Text="Specimen of unknown material (specimen)"/> - </IMPLY> - </Assertion> - </Constraint> - <Constraint ID="SPM-17 (Format)" Strength="SHOULD"> - <Description> SPM-17.1.1 (Time) should match the regular expression '^(\d{14}\.\d{1,4}|\d{14})((\x2D|\x2B)\d{4})$'. </Description> + <Constraint ID="OBR-7.1" Strength="SHOULD"> + <Description> OBR-7.1 (Time) should match the regular expression '^(\d{14}\.\d{1,4}|\d{14})((\x2D|\x2B)\d{4})?$'. </Description> <Assertion> - <Format NotPresentBehavior="PASS" Path="17[1].1[1].1[1]" - Regex="^(\d{14}\.\d{1,4}|\d{14})((\x2D|\x2B)\d{4})$"/> + <Format NotPresentBehavior="PASS" Path="7[1].1[1]" + Regex="^(\d{14}\.\d{1,4}|\d{14})((\x2D|\x2B)\d{4})?$"/> </Assertion> </Constraint> - <Constraint ID="SPM-4.2: 871810001" Strength="SHOULD"> - <Description>If SPM-4.1 (Identifier) contains the value '871810001' (Case Insensitive). then SPM-4.2 (Text) should contain the value 'Mid-turbinate nasal swab (specimen)' (Case Insensitive). </Description> + <Constraint ID="OBR-1" Strength="SHALL"> + <Description> OBR-1 (Set ID - OBR) shall contain the value '1'. </Description> <Assertion> - <IMPLY> - <PlainText IgnoreCase="true" NotPresentBehavior="FAIL" Path="4[1].1[1]" Text="871810001"/> - <PlainText IgnoreCase="true" NotPresentBehavior="FAIL" Path="4[1].2[1]" - Text="Mid-turbinate nasal swab (specimen)"/> - </IMPLY> + <PlainText IgnoreCase="false" NotPresentBehavior="PASS" Path="1[1]" Text="1"/> </Assertion> </Constraint> - <Constraint ID="SPM-4.2: 697989009" Strength="SHOULD"> - <Description>If SPM-4.1 (Identifier) contains the value '697989009' (Case Insensitive). then SPM-4.2 (Text) should contain the value 'Anterior nares swab (specimen)' (Case Insensitive). </Description> + <Constraint ID="OBR-4.1" Strength="SHOULD"> + <Description> OBR-4.1 (Identifier) should contain one of the values in the list: ['97097-0','94558-4','95409-9','94559-2','95209-3','96986-5']. </Description> <Assertion> - <IMPLY> - <PlainText IgnoreCase="true" NotPresentBehavior="FAIL" Path="4[1].1[1]" Text="697989009"/> - <PlainText IgnoreCase="true" NotPresentBehavior="FAIL" Path="4[1].2[1]" - Text="Anterior nares swab (specimen)"/> - </IMPLY> + <StringList CSV="97097-0,94558-4,95409-9,94559-2,95209-3,96986-5" IgnoreCase="false" + NotPresentBehavior="PASS" + Path="4[1].1[1]"/> </Assertion> </Constraint> - <Constraint ID="SPM-4.1" Strength="SHOULD"> - <Description> SPM-4.1 (Identifier) should contain one of the values in the list: ['697989009','871810001','119324002']. </Description> + </ByID> + <ByID ID="ORC_NIH"> + <Constraint ID="ORC-1" Strength="SHALL"> + <Description> ORC-1 (Order Control) shall contain the value 'RE'. </Description> <Assertion> - <StringList CSV="697989009,871810001,119324002" IgnoreCase="false" - NotPresentBehavior="PASS" - Path="4[1].1[1]"/> + <PlainText IgnoreCase="false" NotPresentBehavior="PASS" Path="1[1]" Text="RE"/> </Assertion> </Constraint> </ByID> @@ -1095,6 +910,19 @@ </Group> <Message> <ByID ID="6494460e8b87bc0007492d42"> + <Constraint ID="00Z0000042:ORC-12.3" Strength="SHOULD"> + <Description>If At least one occurrence of PATIENT_RESULT.ORDER_OBSERVATION.OBSERVATION.OBX-15.1 (Identifier) contain the value '00Z0000042'. then at least one occurrence of PATIENT_RESULT.ORDER_OBSERVATION.ORC-12.3 (Given Name) should contain the value 'SA.OTCSelfReport'. </Description> + <Assertion> + <IMPLY> + <PlainText AtLeastOnce="true" IgnoreCase="false" NotPresentBehavior="FAIL" + Path="3[*].2[*].6[*].1[1].15[1].1[1]" + Text="00Z0000042"/> + <PlainText AtLeastOnce="true" IgnoreCase="false" NotPresentBehavior="FAIL" + Path="3[*].2[*].1[1].12[*].3[1]" + Text="SA.OTCSelfReport"/> + </IMPLY> + </Assertion> + </Constraint> <Constraint ID="00Z0000042:ORC-21.1" Strength="SHOULD"> <Description>If At least one occurrence of PATIENT_RESULT.ORDER_OBSERVATION.OBSERVATION.OBX-15.1 (Identifier) contain the value '00Z0000042'. then at least one occurrence of PATIENT_RESULT.ORDER_OBSERVATION.ORC-21.1 (Organization Name) should contain the value 'SA.OTCSelfReport'. </Description> <Assertion> @@ -1108,6 +936,25 @@ </IMPLY> </Assertion> </Constraint> + <Constraint ID="NIH_006" Strength="SHOULD"> + <Description>OBX-24 (Performing Organization Address) SHOULD contain the same value as all other occurances of OBX-24 (Performing Organization Address) in the message.</Description> + <Assertion> + <Plugin QualifiedClassName="gov.nist.hit.elr.radx.plugin.cs.NIH_006"/> + </Assertion> + </Constraint> + <Constraint ID="00Z0000016:ORC-12.3" Strength="SHOULD"> + <Description>If At least one occurrence of PATIENT_RESULT.ORDER_OBSERVATION.OBSERVATION.OBX-15.1 (Identifier) contain the value '00Z0000016'. then at least one occurrence of PATIENT_RESULT.ORDER_OBSERVATION.ORC-12.3 (Given Name) should contain the value 'SA.Proctor'. </Description> + <Assertion> + <IMPLY> + <PlainText AtLeastOnce="true" IgnoreCase="false" NotPresentBehavior="FAIL" + Path="3[*].2[*].6[*].1[1].15[1].1[1]" + Text="00Z0000016"/> + <PlainText AtLeastOnce="true" IgnoreCase="false" NotPresentBehavior="FAIL" + Path="3[*].2[*].1[1].12[*].3[1]" + Text="SA.Proctor"/> + </IMPLY> + </Assertion> + </Constraint> <Constraint ID="00Z0000015:ORC-12.1" Strength="SHOULD"> <Description>If At least one occurrence of PATIENT_RESULT.ORDER_OBSERVATION.OBSERVATION.OBX-15.1 (Identifier) contains the value '00Z0000015' (Case Sensitive). then at least one occurrence of PATIENT_RESULT.ORDER_OBSERVATION.ORC-12.1 (ID Number) should match the regular expression '^\d{10}$'. </Description> <Assertion> @@ -1120,6 +967,17 @@ </IMPLY> </Assertion> </Constraint> + <Constraint ID="SPM-17 = OBR-7" Strength="SHOULD"> + <Description>1 occurrence of PATIENT_RESULT.ORDER_OBSERVATION.SPECIMEN.SPM-17.1.1 (Time) should be identical to 1 occurrence of PATIENT_RESULT.ORDER_OBSERVATION.OBR-7.1 (Time)</Description> + <Assertion> + <PathValue IdenticalEquality="true" NotPresentBehavior="PASS" Operator="EQ" + Path1="3[*].2[*].9[*].1[1].17[1].1[1].1[1]" + Path1Mode="1" + Path2="3[*].2[*].2[1].7[1].1[1]" + Path2Mode="1" + Truncated="false"/> + </Assertion> + </Constraint> <Constraint ID="NIH_001" Strength="SHOULD"> <Description>Where OBX-29 is not valued, OBX-17 (Observation Method) SHOULD contain the same value as all other occurrences of OBX-17 (Observation Method) where OBX-29 is not valued in the message.</Description> <Assertion> @@ -1149,6 +1007,19 @@ Truncated="false"/> </Assertion> </Constraint> + <Constraint ID="00Z0000043:ORC-21.1" Strength="SHOULD"> + <Description>If At least one occurrence of PATIENT_RESULT.ORDER_OBSERVATION.OBSERVATION.OBX-15.1 (Identifier) contain the value '00Z0000043'. then at least one occurrence of PATIENT_RESULT.ORDER_OBSERVATION.ORC-21.1 (Organization Name) should contain the value 'SA.OTCInstrument'. </Description> + <Assertion> + <IMPLY> + <PlainText AtLeastOnce="true" IgnoreCase="false" NotPresentBehavior="FAIL" + Path="3[*].2[*].6[*].1[1].15[1].1[1]" + Text="00Z0000043"/> + <PlainText AtLeastOnce="true" IgnoreCase="false" NotPresentBehavior="FAIL" + Path="3[*].2[*].1[1].21[*].1[1]" + Text="SA.OTCInstrument"/> + </IMPLY> + </Assertion> + </Constraint> <Constraint ID="NIH_005" Strength="SHOULD"> <Description>OBX-23 (Performing Organization Name) SHOULD contain the same value as all other occurances of OBX-23 (Performing Organization Name) in the message.</Description> <Assertion> @@ -1187,62 +1058,6 @@ </IMPLY> </Assertion> </Constraint> - <Constraint ID="00Z0000042:ORC-12.3" Strength="SHOULD"> - <Description>If At least one occurrence of PATIENT_RESULT.ORDER_OBSERVATION.OBSERVATION.OBX-15.1 (Identifier) contain the value '00Z0000042'. then at least one occurrence of PATIENT_RESULT.ORDER_OBSERVATION.ORC-12.3 (Given Name) should contain the value 'SA.OTCSelfReport'. </Description> - <Assertion> - <IMPLY> - <PlainText AtLeastOnce="true" IgnoreCase="false" NotPresentBehavior="FAIL" - Path="3[*].2[*].6[*].1[1].15[1].1[1]" - Text="00Z0000042"/> - <PlainText AtLeastOnce="true" IgnoreCase="false" NotPresentBehavior="FAIL" - Path="3[*].2[*].1[1].12[*].3[1]" - Text="SA.OTCSelfReport"/> - </IMPLY> - </Assertion> - </Constraint> - <Constraint ID="NIH_006" Strength="SHOULD"> - <Description>OBX-24 (Performing Organization Address) SHOULD contain the same value as all other occurances of OBX-24 (Performing Organization Address) in the message.</Description> - <Assertion> - <Plugin QualifiedClassName="gov.nist.hit.elr.radx.plugin.cs.NIH_006"/> - </Assertion> - </Constraint> - <Constraint ID="00Z0000016:ORC-12.3" Strength="SHOULD"> - <Description>If At least one occurrence of PATIENT_RESULT.ORDER_OBSERVATION.OBSERVATION.OBX-15.1 (Identifier) contain the value '00Z0000016'. then at least one occurrence of PATIENT_RESULT.ORDER_OBSERVATION.ORC-12.3 (Given Name) should contain the value 'SA.Proctor'. </Description> - <Assertion> - <IMPLY> - <PlainText AtLeastOnce="true" IgnoreCase="false" NotPresentBehavior="FAIL" - Path="3[*].2[*].6[*].1[1].15[1].1[1]" - Text="00Z0000016"/> - <PlainText AtLeastOnce="true" IgnoreCase="false" NotPresentBehavior="FAIL" - Path="3[*].2[*].1[1].12[*].3[1]" - Text="SA.Proctor"/> - </IMPLY> - </Assertion> - </Constraint> - <Constraint ID="SPM-17 = OBR-7" Strength="SHOULD"> - <Description>1 occurrence of PATIENT_RESULT.ORDER_OBSERVATION.SPECIMEN.SPM-17.1.1 (Time) should be identical to 1 occurrence of PATIENT_RESULT.ORDER_OBSERVATION.OBR-7.1 (Time)</Description> - <Assertion> - <PathValue IdenticalEquality="true" NotPresentBehavior="PASS" Operator="EQ" - Path1="3[*].2[*].9[*].1[1].17[1].1[1].1[1]" - Path1Mode="1" - Path2="3[*].2[*].2[1].7[1].1[1]" - Path2Mode="1" - Truncated="false"/> - </Assertion> - </Constraint> - <Constraint ID="00Z0000043:ORC-21.1" Strength="SHOULD"> - <Description>If At least one occurrence of PATIENT_RESULT.ORDER_OBSERVATION.OBSERVATION.OBX-15.1 (Identifier) contain the value '00Z0000043'. then at least one occurrence of PATIENT_RESULT.ORDER_OBSERVATION.ORC-21.1 (Organization Name) should contain the value 'SA.OTCInstrument'. </Description> - <Assertion> - <IMPLY> - <PlainText AtLeastOnce="true" IgnoreCase="false" NotPresentBehavior="FAIL" - Path="3[*].2[*].6[*].1[1].15[1].1[1]" - Text="00Z0000043"/> - <PlainText AtLeastOnce="true" IgnoreCase="false" NotPresentBehavior="FAIL" - Path="3[*].2[*].1[1].21[*].1[1]" - Text="SA.OTCInstrument"/> - </IMPLY> - </Assertion> - </Constraint> </ByID> </Message> </Constraints> diff --git a/prime-router/src/main/resources/metadata/hl7_validation/v251/radxmars/production/profile.xml b/prime-router/src/main/resources/metadata/hl7_validation/v251/radxmars/production/profile.xml index 9d8b40ce9f3..07a67344a54 100644 --- a/prime-router/src/main/resources/metadata/hl7_validation/v251/radxmars/production/profile.xml +++ b/prime-router/src/main/resources/metadata/hl7_validation/v251/radxmars/production/profile.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <ConformanceProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - ID="6f1ef997-5ec0-4f19-a092-691b653beab21715009114336171500911434917150091159601715009115971" + ID="32dbc096-8b20-4581-b966-79106d519ffe1719404723163171940472317217194047254241719404725437" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/Jungyubw/NIST_healthcare_hl7_v2_profile_schema/master/Schema/NIST%20Validation%20Schema/Profile.xsd"> <MetaData Date="No Date Info" Name="RADx MARS" OrgName="Datapult, an APHL company, in partnership with NIH NIBIB" @@ -38,16 +38,14 @@ <Segment Max="1" Min="0" Ref="CTD" Usage="O"/> <Group ID="6494460e8b87bc0007492d42-3.2.6" Max="*" Min="1" Name="OBSERVATION" Usage="R"> - <Segment Max="1" Min="1" - Ref="OBX_NIH_COCON3-3_2-3_2_6-3_2_6_1_6494460e8b87bc0007492d42_2-8-1" - Usage="R"/> + <Segment Max="1" Min="1" Ref="OBX_NIH_2-8-1" Usage="R"/> <Segment Max="*" Min="0" Ref="NTE_NIH" Usage="C"/> </Group> <Segment Max="*" Min="0" Ref="FT1" Usage="O"/> <Segment Max="*" Min="0" Ref="CTI" Usage="O"/> <Group ID="6494460e8b87bc0007492d42-3.2.9" Max="*" Min="1" Name="SPECIMEN" Usage="R"> <Segment Max="1" Min="1" Ref="SPM_NIH" Usage="R"/> - <Segment Max="*" Min="0" Ref="OBX" Usage="O"/> + <Segment Max="*" Min="0" Ref="OBX_NIH_2-8-1" Usage="O"/> </Group> </Group> </Group> @@ -55,159 +53,6 @@ </Message> </Messages> <Segments> - <Segment Description="Contact Data" ID="CTD" Label="CTD" Name="CTD" Version="2.5.1"> - <Field ConfLength="NA" Datatype="CE" Max="*" MaxLength="NA" Min="1" MinLength="NA" - Name="Contact Role" - Usage="R"/> - <Field ConfLength="NA" Datatype="XPN" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Contact Name" - Usage="O"/> - <Field ConfLength="NA" Datatype="XAD" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Contact Address" - Usage="O"/> - <Field ConfLength="NA" Datatype="PL" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Contact Location" - Usage="O"/> - <Field ConfLength="NA" Datatype="XTN" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Contact Communication Information" - Usage="O"/> - <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Preferred Method of Contact" - Usage="O"/> - <Field ConfLength="NA" Datatype="PLN" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Contact Identifiers" - Usage="O"/> - </Segment> - <Segment Description="Patient Identification" ID="PID_NIH" Label="PID_NIH" Name="PID" - Version="2.5.1"> - <Field ConfLength="NA" Datatype="SI" Max="1" MaxLength="4" Min="1" MinLength="1" - Name="Set ID - PID" - Usage="R"/> - <Field ConfLength="NA" Datatype="CX" Max="0" MaxLength="NA" Min="0" MinLength="NA" - Name="Patient ID" - Usage="X"/> - <Field ConfLength="NA" Datatype="CX_NIH2" Max="*" MaxLength="NA" Min="1" - MinLength="NA" - Name="Patient Identifier List" - Usage="R"/> - <Field ConfLength="NA" Datatype="CX" Max="0" MaxLength="NA" Min="0" MinLength="NA" - Name="Alternate Patient ID - PID" - Usage="X"/> - <Field ConfLength="NA" Datatype="XPN_NIH" Max="*" MaxLength="NA" Min="0" - MinLength="NA" - Name="Patient Name" - Usage="O"/> - <Field ConfLength="NA" Datatype="XPN_NIH" Max="*" MaxLength="NA" Min="0" - MinLength="NA" - Name="Mother's Maiden Name" - Usage="O"/> - <Field ConfLength="NA" Datatype="TS_NIH" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Date/Time of Birth" - Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="1" Min="0" MinLength="1" - Name="Administrative Sex" - Usage="O"/> - <Field ConfLength="NA" Datatype="XPN" Max="0" MaxLength="NA" Min="0" MinLength="NA" - Name="Patient Alias" - Usage="X"/> - <Field ConfLength="NA" Datatype="CWE_NIH3" Max="*" MaxLength="NA" Min="0" - MinLength="NA" - Name="Race" - Usage="O"/> - <Field ConfLength="NA" Datatype="XAD_NIH2" Max="*" MaxLength="NA" Min="1" - MinLength="NA" - Name="Patient Address" - Usage="R"/> - <Field ConfLength="NA" Datatype="IS" Max="0" MaxLength="4" Min="0" MinLength="1" - Name="County Code" - Usage="X"/> - <Field ConfLength="NA" Datatype="XTN_NIH2" Max="*" MaxLength="NA" Min="0" - MinLength="NA" - Name="Phone Number - Home" - Usage="RE"/> - <Field ConfLength="NA" Datatype="XTN_NIH" Max="*" MaxLength="NA" Min="0" - MinLength="NA" - Name="Phone Number - Business" - Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" - MinLength="NA" - Name="Primary Language" - Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" - MinLength="NA" - Name="Marital Status" - Usage="O"/> - <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Religion" - Usage="O"/> - <Field ConfLength="NA" Datatype="CX" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Patient Account Number" - Usage="O"/> - <Field ConfLength="NA" Datatype="ST" Max="0" MaxLength="16" Min="0" MinLength="1" - Name="SSN Number - Patient" - Usage="X"/> - <Field ConfLength="NA" Datatype="DLN" Max="0" MaxLength="NA" Min="0" MinLength="NA" - Name="Driver's License Number - Patient" - Usage="X"/> - <Field ConfLength="NA" Datatype="CX" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Mother's Identifier" - Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH3" Max="*" MaxLength="NA" Min="0" - MinLength="NA" - Name="Ethnic Group" - Usage="O"/> - <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="250" Min="0" MinLength="1" - Name="Birth Place" - Usage="O"/> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="1" Min="0" MinLength="1" - Name="Multiple Birth Indicator" - Usage="O"/> - <Field ConfLength="NA" Datatype="NM" Max="1" MaxLength="2" Min="0" MinLength="1" - Name="Birth Order" - Usage="O"/> - <Field ConfLength="NA" Datatype="CE" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Citizenship" - Usage="O"/> - <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Veterans Military Status" - Usage="O"/> - <Field ConfLength="NA" Datatype="CE" Max="0" MaxLength="NA" Min="0" MinLength="NA" - Name="Nationality" - Usage="X"/> - <Field ConfLength="NA" Datatype="TS" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Patient Death Date and Time" - Usage="O"/> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="1" Min="0" MinLength="1" - Name="Patient Death Indicator" - Usage="O"/> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="1" Min="0" MinLength="1" - Name="Identity Unknown Indicator" - Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="*" MaxLength="20" Min="0" MinLength="1" - Name="Identity Reliability Code" - Usage="O"/> - <Field ConfLength="NA" Datatype="TS" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Last Update Date/Time" - Usage="O"/> - <Field ConfLength="NA" Datatype="HD" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Last Update Facility" - Usage="O"/> - <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Species Code" - Usage="C"/> - <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Breed Code" - Usage="C"/> - <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="80" Min="0" MinLength="1" - Name="Strain" - Usage="O"/> - <Field ConfLength="NA" Datatype="CE" Max="2" MaxLength="NA" Min="0" MinLength="NA" - Name="Production Class Code" - Usage="O"/> - <Field ConfLength="NA" Datatype="CWE" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Tribal Citizenship" - Usage="O"/> - </Segment> <Segment Description="Patient Visit - Additional Information" ID="PV2" Label="PV2" Name="PV2" Version="2.5.1"> @@ -359,1051 +204,781 @@ Name="Notify Clergy Code" Usage="O"/> </Segment> - <Segment Description="Message Header" ID="MSH_NIH" Label="MSH_NIH" Name="MSH" + <Segment Description="Clinical Trial Identification" ID="CTI" Label="CTI" Name="CTI" Version="2.5.1"> - <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="1" Min="1" MinLength="1" - Name="Field Separator" - Usage="R"/> - <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="4" Min="1" MinLength="4" - Name="Encoding Characters" - Usage="R"/> - <Field ConfLength="NA" Datatype="HD_MSH" Max="1" MaxLength="NA" Min="1" MinLength="NA" - Name="Sending Application" - Usage="R"/> - <Field ConfLength="NA" Datatype="HD_MSH" Max="1" MaxLength="NA" Min="1" MinLength="NA" - Name="Sending Facility" - Usage="R"/> - <Field ConfLength="NA" Datatype="HD_MSH" Max="1" MaxLength="NA" Min="1" MinLength="NA" - Name="Receiving Application" - Usage="R"/> - <Field ConfLength="NA" Datatype="HD_MSH" Max="1" MaxLength="NA" Min="1" MinLength="NA" - Name="Receiving Facility" - Usage="R"/> - <Field ConfLength="NA" Datatype="TS_NIH" Max="1" MaxLength="NA" Min="1" MinLength="NA" - Name="Date/Time Of Message" - Usage="R"/> - <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="40" Min="0" MinLength="1" - Name="Security" - Usage="O"/> - <Field ConfLength="NA" Datatype="MSG_NIH" Max="1" MaxLength="NA" Min="1" - MinLength="NA" - Name="Message Type" - Usage="R"/> - <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="199" Min="1" MinLength="1" - Name="Message Control ID" - Usage="R"/> - <Field ConfLength="NA" Datatype="PT_NIH" Max="1" MaxLength="NA" Min="1" MinLength="NA" - Name="Processing ID" - Usage="R"/> - <Field ConfLength="NA" Datatype="VID_NIH" Max="1" MaxLength="NA" Min="1" - MinLength="NA" - Name="Version ID" + <Field ConfLength="NA" Datatype="EI" Max="1" MaxLength="NA" Min="1" MinLength="NA" + Name="Sponsor Study ID" Usage="R"/> - <Field ConfLength="NA" Datatype="NM" Max="1" MaxLength="15" Min="0" MinLength="1" - Name="Sequence Number" - Usage="O"/> - <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="180" Min="0" MinLength="1" - Name="Continuation Pointer" + <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Study Phase Identifier" + Usage="C"/> + <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Study Scheduled Time Point" Usage="O"/> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="2" Min="1" MinLength="1" - Name="Accept Acknowledgment Type" - Usage="R"/> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="2" Min="1" MinLength="1" - Name="Application Acknowledgment Type" - Usage="R"/> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="3" Min="0" MinLength="1" - Name="Country Code" + </Segment> + <Segment Description="Timing/Quantity Relationship" ID="TQ2" Label="TQ2" Name="TQ2" + Version="2.5.1"> + <Field ConfLength="NA" Datatype="SI" Max="1" MaxLength="4" Min="0" MinLength="1" + Name="Set ID - TQ2" Usage="O"/> - <Field ConfLength="NA" Datatype="ID" Max="*" MaxLength="16" Min="0" MinLength="1" - Name="Character Set" + <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="1" Min="0" MinLength="1" + Name="Sequence/Results Flag" Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" - MinLength="NA" - Name="Principal Language Of Message" + <Field ConfLength="NA" Datatype="EI" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Related Placer Number" + Usage="C"/> + <Field ConfLength="NA" Datatype="EI" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Related Filler Number" + Usage="C"/> + <Field ConfLength="NA" Datatype="EI" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Related Placer Group Number" + Usage="C"/> + <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="2" Min="0" MinLength="1" + Name="Sequence Condition Code" + Usage="C"/> + <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="1" Min="0" MinLength="1" + Name="Cyclic Entry/Exit Indicator" + Usage="C"/> + <Field ConfLength="NA" Datatype="CQ" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Sequence Condition Time Interval" Usage="O"/> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="20" Min="0" MinLength="1" - Name="Alternate Character Set Handling Scheme" + <Field ConfLength="NA" Datatype="NM" Max="1" MaxLength="10" Min="0" MinLength="1" + Name="Cyclic Group Maximum Number of Repeats" Usage="O"/> - <Field ConfLength="NA" Datatype="EI_MSH-21" Max="*" MaxLength="NA" Min="1" - MinLength="NA" - Name="Message Profile Identifier" - Usage="R"/> + <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="1" Min="0" MinLength="1" + Name="Special Service Request Relationship" + Usage="C"/> </Segment> - <Segment Description="Next of Kin / Associated Parties" ID="NK1" Label="NK1" Name="NK1" + <Segment Description="Continuation Pointer" ID="DSC" Label="DSC" Name="DSC" Version="2.5.1"> - <Field ConfLength="NA" Datatype="SI" Max="1" MaxLength="4" Min="1" MinLength="1" - Name="Set ID - NK1" - Usage="R"/> - <Field ConfLength="NA" Datatype="XPN" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Name" - Usage="O"/> - <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Relationship" + <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="180" Min="0" MinLength="1" + Name="Continuation Pointer" Usage="O"/> - <Field ConfLength="NA" Datatype="XAD" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Address" + <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="1" Min="0" MinLength="1" + Name="Continuation Style" Usage="O"/> - <Field ConfLength="NA" Datatype="XTN" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Phone Number" + </Segment> + <Segment Description="Observation/Result" ID="OBX_NIH_2-8-1" Label="OBX_NIH_2-8-1" + Name="OBX" + Version="2.8.1"> + <DynamicMapping> + <Mapping Position="5" Reference="2" SecondReference="3.1"> + <Case Datatype="CE" Value="CE"/> + <Case Datatype="TS_NIH" Value="TS"/> + <Case Datatype="CWE_NIH" Value="CWE"/> + <Case Datatype="NM" Value="NM"/> + <Case Datatype="DT" Value="DT"/> + </Mapping> + </DynamicMapping> + <Field ConfLength="NA" Datatype="SI" Max="1" MaxLength="4" Min="1" MinLength="1" + Name="Set ID - OBX" + Usage="R"/> + <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="3" Min="0" MinLength="2" + Name="Value Type" + Usage="C"/> + <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" + MinLength="NA" + Name="Observation Identifier" + Usage="RE"/> + <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="20" Min="0" MinLength="1" + Name="Observation Sub-ID" + Usage="C"/> + <Field ConfLength="NA" Datatype="var" Max="1" MaxLength="99999" Min="1" MinLength="1" + Name="Observation Value" + Usage="R"/> + <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" + MinLength="NA" + Name="Units" + Usage="C"/> + <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="60" Min="0" MinLength="1" + Name="References Range" Usage="O"/> - <Field ConfLength="NA" Datatype="XTN" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Business Phone Number" + <Field ConfLength="NA" Datatype="CWE_NIH" Max="*" MaxLength="NA" Min="0" + MinLength="NA" + Name="Interpretation Codes" + Usage="C"/> + <Field ConfLength="NA" Datatype="NM" Max="1" MaxLength="5" Min="0" MinLength="1" + Name="Probability" Usage="O"/> - <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Contact Role" + <Field ConfLength="NA" Datatype="ID" Max="*" MaxLength="2" Min="0" MinLength="1" + Name="Nature of Abnormal Test" Usage="O"/> - <Field ConfLength="NA" Datatype="DT" Max="1" MaxLength="8" Min="0" MinLength="1" - Name="Start Date" + <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="1" Min="0" MinLength="1" + Name="Observation Result Status" + Usage="RE"/> + <Field ConfLength="NA" Datatype="TS_NIH" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Effective Date of Reference Range" Usage="O"/> - <Field ConfLength="NA" Datatype="DT" Max="1" MaxLength="8" Min="0" MinLength="1" - Name="End Date" + <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="20" Min="0" MinLength="1" + Name="User Defined Access Checks" Usage="O"/> - <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="60" Min="0" MinLength="1" - Name="Next of Kin / Associated Parties Job Title" + <Field ConfLength="NA" Datatype="TS_NIH" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Date/Time of the Observation" Usage="O"/> - <Field ConfLength="NA" Datatype="JCC" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Next of Kin / Associated Parties Job Code/Class" + <Field ConfLength="NA" Datatype="CWE_OBX-15" Max="1" MaxLength="NA" Min="0" + MinLength="NA" + Name="Producer's ID" + Usage="RE"/> + <Field ConfLength="NA" Datatype="XCN" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Responsible Observer" Usage="O"/> - <Field ConfLength="NA" Datatype="CX" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Next of Kin / Associated Parties Employee Number" + <Field ConfLength="NA" Datatype="CWE_OBX-17" Max="*" MaxLength="NA" Min="1" + MinLength="NA" + Name="Observation Method" + Usage="C"/> + <Field ConfLength="NA" Datatype="EI_NIH" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Equipment Instance Identifier" Usage="O"/> - <Field ConfLength="NA" Datatype="XON" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Organization Name - NK1" + <Field ConfLength="NA" Datatype="TS_NIH2" Max="1" MaxLength="NA" Min="0" + MinLength="NA" + Name="Date/Time of the Analysis" + Usage="C"/> + <Field ConfLength="NA" Datatype="CWE_NIH" Max="0" MaxLength="NA" Min="0" + MinLength="NA" + Name="Observation Site" + Usage="X"/> + <Field ConfLength="NA" Datatype="EI_NIH" Max="0" MaxLength="NA" Min="0" MinLength="NA" + Name="Observation Instance Identifier" + Usage="X"/> + <Field ConfLength="NA" Datatype="CNE" Max="0" MaxLength="NA" Min="0" MinLength="NA" + Name="Mood Code" + Usage="X"/> + <Field ConfLength="NA" Datatype="XON_OBX-23" Max="1" MaxLength="NA" Min="0" + MinLength="NA" + Name="Performing Organization Name" + Usage="RE"/> + <Field ConfLength="NA" Datatype="XAD_OBX-24" Max="1" MaxLength="NA" Min="0" + MinLength="NA" + Name="Performing Organization Address" + Usage="C"/> + <Field ConfLength="NA" Datatype="XCN_NIH" Max="1" MaxLength="NA" Min="0" + MinLength="NA" + Name="Performing Organization Medical Director" Usage="O"/> - <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Marital Status" + <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="10" Min="0" MinLength="1" + Name="Patient Results Release Category" Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="1" Min="0" MinLength="1" - Name="Administrative Sex" + <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" + MinLength="NA" + Name="Root Cause" Usage="O"/> - <Field ConfLength="NA" Datatype="TS" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Date/Time of Birth" + <Field ConfLength="NA" Datatype="ID" Max="*" MaxLength="5" Min="0" MinLength="1" + Name="Local Process Control" Usage="O"/> + <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="4" Min="0" MinLength="1" + Name="Observation Type" + Usage="C"/> + </Segment> + <Segment Description="Patient Additional Demographic" ID="PD1" Label="PD1" Name="PD1" + Version="2.5.1"> <Field ConfLength="NA" Datatype="IS" Max="*" MaxLength="2" Min="0" MinLength="1" Name="Living Dependency" Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="*" MaxLength="2" Min="0" MinLength="1" - Name="Ambulatory Status" + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" + Name="Living Arrangement" Usage="O"/> - <Field ConfLength="NA" Datatype="CE" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Citizenship" + <Field ConfLength="NA" Datatype="XON" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Patient Primary Facility" Usage="O"/> - <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Primary Language" + <Field ConfLength="NA" Datatype="XCN" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Patient Primary Care Provider Name &amp; ID No." + Usage="B"/> + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" + Name="Student Indicator" Usage="O"/> <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" - Name="Living Arrangement" + Name="Handicap" Usage="O"/> - <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Publicity Code" + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" + Name="Living Will Code" + Usage="O"/> + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" + Name="Organ Donor Code" Usage="O"/> <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="1" Min="0" MinLength="1" - Name="Protection Indicator" + Name="Separate Bill" Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" - Name="Student Indicator" + <Field ConfLength="NA" Datatype="CX" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Duplicate Patient" Usage="O"/> <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Religion" + Name="Publicity Code" Usage="O"/> - <Field ConfLength="NA" Datatype="XPN" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Mother's Maiden Name" + <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="1" Min="0" MinLength="1" + Name="Protection Indicator" Usage="O"/> - <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Nationality" + <Field ConfLength="NA" Datatype="DT" Max="1" MaxLength="8" Min="0" MinLength="1" + Name="Protection Indicator Effective Date" Usage="O"/> - <Field ConfLength="NA" Datatype="CE" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Ethnic Group" + <Field ConfLength="NA" Datatype="XON" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Place of Worship" Usage="O"/> <Field ConfLength="NA" Datatype="CE" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Contact Reason" + Name="Advance Directive Code" Usage="O"/> - <Field ConfLength="NA" Datatype="XPN" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Contact Person's Name" + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="1" Min="0" MinLength="1" + Name="Immunization Registry Status" Usage="O"/> - <Field ConfLength="NA" Datatype="XTN" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Contact Person's Telephone Number" + <Field ConfLength="NA" Datatype="DT" Max="1" MaxLength="8" Min="0" MinLength="1" + Name="Immunization Registry Status Effective Date" Usage="O"/> - <Field ConfLength="NA" Datatype="XAD" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Contact Person's Address" + <Field ConfLength="NA" Datatype="DT" Max="1" MaxLength="8" Min="0" MinLength="1" + Name="Publicity Code Effective Date" Usage="O"/> - <Field ConfLength="NA" Datatype="CX" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Next of Kin/Associated Party's Identifiers" + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="5" Min="0" MinLength="1" + Name="Military Branch" Usage="O"/> <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" - Name="Job Status" + Name="Military Rank/Grade" Usage="O"/> - <Field ConfLength="NA" Datatype="CE" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Race" + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="3" Min="0" MinLength="1" + Name="Military Status" Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" - Name="Handicap" + </Segment> + <Segment Description="Contact Data" ID="CTD" Label="CTD" Name="CTD" Version="2.5.1"> + <Field ConfLength="NA" Datatype="CE" Max="*" MaxLength="NA" Min="1" MinLength="NA" + Name="Contact Role" + Usage="R"/> + <Field ConfLength="NA" Datatype="XPN" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Contact Name" Usage="O"/> - <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="16" Min="0" MinLength="1" - Name="Contact Person Social Security Number" + <Field ConfLength="NA" Datatype="XAD" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Contact Address" Usage="O"/> - <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="250" Min="0" MinLength="1" - Name="Next of Kin Birth Place" + <Field ConfLength="NA" Datatype="PL" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Contact Location" Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" - Name="VIP Indicator" + <Field ConfLength="NA" Datatype="XTN" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Contact Communication Information" + Usage="O"/> + <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Preferred Method of Contact" + Usage="O"/> + <Field ConfLength="NA" Datatype="PLN" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Contact Identifiers" Usage="O"/> </Segment> - <Segment Description="Patient Visit" ID="PV1" Label="PV1" Name="PV1" Version="2.5.1"> + <Segment Description="Timing/Quantity" ID="TQ1" Label="TQ1" Name="TQ1" Version="2.5.1"> <Field ConfLength="NA" Datatype="SI" Max="1" MaxLength="4" Min="0" MinLength="1" - Name="Set ID - PV1" + Name="Set ID - TQ1" Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="1" Min="1" MinLength="1" - Name="Patient Class" - Usage="R"/> - <Field ConfLength="NA" Datatype="PL" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Assigned Patient Location" + <Field ConfLength="NA" Datatype="CQ" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Quantity" Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" - Name="Admission Type" + <Field ConfLength="NA" Datatype="RPT" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Repeat Pattern" Usage="O"/> - <Field ConfLength="NA" Datatype="CX" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Preadmit Number" + <Field ConfLength="NA" Datatype="TM" Max="*" MaxLength="20" Min="0" MinLength="1" + Name="Explicit Time" Usage="O"/> - <Field ConfLength="NA" Datatype="PL" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Prior Patient Location" + <Field ConfLength="NA" Datatype="CQ" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Relative Time and Units" Usage="O"/> - <Field ConfLength="NA" Datatype="XCN" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Attending Doctor" - Usage="O"/> - <Field ConfLength="NA" Datatype="XCN" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Referring Doctor" - Usage="O"/> - <Field ConfLength="NA" Datatype="XCN" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Consulting Doctor" - Usage="B"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="3" Min="0" MinLength="1" - Name="Hospital Service" - Usage="O"/> - <Field ConfLength="NA" Datatype="PL" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Temporary Location" - Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" - Name="Preadmit Test Indicator" - Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" - Name="Re-admission Indicator" - Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="6" Min="0" MinLength="1" - Name="Admit Source" - Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="*" MaxLength="2" Min="0" MinLength="1" - Name="Ambulatory Status" - Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" - Name="VIP Indicator" - Usage="O"/> - <Field ConfLength="NA" Datatype="XCN" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Admitting Doctor" - Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" - Name="Patient Type" + <Field ConfLength="NA" Datatype="CQ" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Service Duration" Usage="O"/> - <Field ConfLength="NA" Datatype="CX" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Visit Number" + <Field ConfLength="NA" Datatype="TS" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Start date/time" Usage="O"/> - <Field ConfLength="NA" Datatype="FC" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Financial Class" + <Field ConfLength="NA" Datatype="TS" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="End date/time" Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" - Name="Charge Price Indicator" + <Field ConfLength="NA" Datatype="CWE" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Priority" Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" - Name="Courtesy Code" + <Field ConfLength="NA" Datatype="TX" Max="1" MaxLength="250" Min="0" MinLength="1" + Name="Condition text" Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" - Name="Credit Rating" + <Field ConfLength="NA" Datatype="TX" Max="1" MaxLength="250" Min="0" MinLength="1" + Name="Text instruction" Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="*" MaxLength="2" Min="0" MinLength="1" - Name="Contract Code" + <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="10" Min="0" MinLength="1" + Name="Conjunction" + Usage="C"/> + <Field ConfLength="NA" Datatype="CQ" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Occurrence duration" Usage="O"/> - <Field ConfLength="NA" Datatype="DT" Max="*" MaxLength="8" Min="0" MinLength="1" - Name="Contract Effective Date" + <Field ConfLength="NA" Datatype="NM" Max="1" MaxLength="10" Min="0" MinLength="1" + Name="Total occurrence's" Usage="O"/> - <Field ConfLength="NA" Datatype="NM" Max="*" MaxLength="12" Min="0" MinLength="1" - Name="Contract Amount" + </Segment> + <Segment Description="Notes and Comments" ID="NTE" Label="NTE" Name="NTE" + Version="2.5.1"> + <Field ConfLength="NA" Datatype="SI" Max="1" MaxLength="4" Min="0" MinLength="1" + Name="Set ID - NTE" Usage="O"/> - <Field ConfLength="NA" Datatype="NM" Max="*" MaxLength="3" Min="0" MinLength="1" - Name="Contract Period" + <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="8" Min="0" MinLength="1" + Name="Source of Comment" Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" - Name="Interest Code" + <Field ConfLength="NA" Datatype="FT" Max="*" MaxLength="65536" Min="0" MinLength="1" + Name="Comment" Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="4" Min="0" MinLength="1" - Name="Transfer to Bad Debt Code" + <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Comment Type" Usage="O"/> - <Field ConfLength="NA" Datatype="DT" Max="1" MaxLength="8" Min="0" MinLength="1" - Name="Transfer to Bad Debt Date" + </Segment> + <Segment Description="Specimen" ID="SPM_NIH" Label="SPM_NIH" Name="SPM" Version="2.5.1"> + <Field ConfLength="NA" Datatype="SI" Max="1" MaxLength="4" Min="1" MinLength="1" + Name="Set ID - SPM" + Usage="R"/> + <Field ConfLength="NA" Datatype="EIP_NIH2" Max="1" MaxLength="NA" Min="1" + MinLength="NA" + Name="Specimen ID" + Usage="R"/> + <Field ConfLength="NA" Datatype="EIP" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Specimen Parent IDs" Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="10" Min="0" MinLength="1" - Name="Bad Debt Agency Code" + <Field ConfLength="NA" Datatype="CWE_NIH4" Max="1" MaxLength="NA" Min="0" + MinLength="NA" + Name="Specimen Type" + Usage="RE"/> + <Field ConfLength="NA" Datatype="CWE_NIH" Max="*" MaxLength="NA" Min="0" + MinLength="NA" + Name="Specimen Type Modifier" Usage="O"/> - <Field ConfLength="NA" Datatype="NM" Max="1" MaxLength="12" Min="0" MinLength="1" - Name="Bad Debt Transfer Amount" + <Field ConfLength="NA" Datatype="CWE_NIH" Max="*" MaxLength="NA" Min="0" + MinLength="NA" + Name="Specimen Additives" Usage="O"/> - <Field ConfLength="NA" Datatype="NM" Max="1" MaxLength="12" Min="0" MinLength="1" - Name="Bad Debt Recovery Amount" + <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" + MinLength="NA" + Name="Specimen Collection Method" Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="1" Min="0" MinLength="1" - Name="Delete Account Indicator" + <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" + MinLength="NA" + Name="Specimen Source Site" Usage="O"/> - <Field ConfLength="NA" Datatype="DT" Max="1" MaxLength="8" Min="0" MinLength="1" - Name="Delete Account Date" + <Field ConfLength="NA" Datatype="CWE_NIH" Max="*" MaxLength="NA" Min="0" + MinLength="NA" + Name="Specimen Source Site Modifier" Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="3" Min="0" MinLength="1" - Name="Discharge Disposition" + <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" + MinLength="NA" + Name="Specimen Collection Site" Usage="O"/> - <Field ConfLength="NA" Datatype="DLD" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Discharged to Location" + <Field ConfLength="NA" Datatype="CWE_NIH" Max="*" MaxLength="NA" Min="0" + MinLength="NA" + Name="Specimen Role" Usage="O"/> - <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Diet Type" + <Field ConfLength="NA" Datatype="CQ" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Specimen Collection Amount" Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" - Name="Servicing Facility" + <Field ConfLength="NA" Datatype="NM" Max="1" MaxLength="6" Min="0" MinLength="1" + Name="Grouped Specimen Count" Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="1" Min="0" MinLength="1" - Name="Bed Status" - Usage="B"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" - Name="Account Status" + <Field ConfLength="NA" Datatype="ST" Max="*" MaxLength="250" Min="0" MinLength="1" + Name="Specimen Description" Usage="O"/> - <Field ConfLength="NA" Datatype="PL" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Pending Location" + <Field ConfLength="NA" Datatype="CWE_NIH" Max="*" MaxLength="NA" Min="0" + MinLength="NA" + Name="Specimen Handling Code" Usage="O"/> - <Field ConfLength="NA" Datatype="PL" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Prior Temporary Location" + <Field ConfLength="NA" Datatype="CWE_NIH" Max="*" MaxLength="NA" Min="0" + MinLength="NA" + Name="Specimen Risk Code" Usage="O"/> + <Field ConfLength="NA" Datatype="DR_NIH" Max="1" MaxLength="NA" Min="1" MinLength="NA" + Name="Specimen Collection Date/Time" + Usage="R"/> + <Field ConfLength="NA" Datatype="TS_NIH" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Specimen Received Date/Time" + Usage="RE"/> <Field ConfLength="NA" Datatype="TS" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Admit Date/Time" + Name="Specimen Expiration Date/Time" Usage="O"/> - <Field ConfLength="NA" Datatype="TS" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Discharge Date/Time" + <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="1" Min="0" MinLength="1" + Name="Specimen Availability" Usage="O"/> - <Field ConfLength="NA" Datatype="NM" Max="1" MaxLength="12" Min="0" MinLength="1" - Name="Current Patient Balance" + <Field ConfLength="NA" Datatype="CWE_NIH" Max="*" MaxLength="NA" Min="0" + MinLength="NA" + Name="Specimen Reject Reason" Usage="O"/> - <Field ConfLength="NA" Datatype="NM" Max="1" MaxLength="12" Min="0" MinLength="1" - Name="Total Charges" + <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" + MinLength="NA" + Name="Specimen Quality" Usage="O"/> - <Field ConfLength="NA" Datatype="NM" Max="1" MaxLength="12" Min="0" MinLength="1" - Name="Total Adjustments" + <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" + MinLength="NA" + Name="Specimen Appropriateness" Usage="O"/> - <Field ConfLength="NA" Datatype="NM" Max="1" MaxLength="12" Min="0" MinLength="1" - Name="Total Payments" + <Field ConfLength="NA" Datatype="CWE_NIH" Max="*" MaxLength="NA" Min="0" + MinLength="NA" + Name="Specimen Condition" Usage="O"/> - <Field ConfLength="NA" Datatype="CX" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Alternate Visit ID" + <Field ConfLength="NA" Datatype="CQ" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Specimen Current Quantity" Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="1" Min="0" MinLength="1" - Name="Visit Indicator" + <Field ConfLength="NA" Datatype="NM" Max="1" MaxLength="4" Min="0" MinLength="1" + Name="Number of Specimen Containers" Usage="O"/> - <Field ConfLength="NA" Datatype="XCN" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Other Healthcare Provider" - Usage="B"/> - </Segment> - <Segment Description="Notes and Comments" ID="NTE_NIH" Label="NTE_NIH" Name="NTE" - Version="2.5.1"> - <Field ConfLength="NA" Datatype="SI" Max="1" MaxLength="4" Min="1" MinLength="1" - Name="Set ID - NTE" - Usage="R"/> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="8" Min="0" MinLength="1" - Name="Source of Comment" - Usage="RE"/> - <Field ConfLength="NA" Datatype="FT" Max="*" MaxLength="65536" Min="1" MinLength="1" - Name="Comment" - Usage="R"/> <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Comment Type" - Usage="O"/> - </Segment> - <Segment Description="Clinical Trial Identification" ID="CTI" Label="CTI" Name="CTI" - Version="2.5.1"> - <Field ConfLength="NA" Datatype="EI" Max="1" MaxLength="NA" Min="1" MinLength="NA" - Name="Sponsor Study ID" - Usage="R"/> - <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Study Phase Identifier" - Usage="C"/> - <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Study Scheduled Time Point" + Name="Container Type" Usage="O"/> - </Segment> - <Segment Description="Continuation Pointer" ID="DSC" Label="DSC" Name="DSC" - Version="2.5.1"> - <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="180" Min="0" MinLength="1" - Name="Continuation Pointer" + <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" + MinLength="NA" + Name="Container Condition" Usage="O"/> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="1" Min="0" MinLength="1" - Name="Continuation Style" + <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" + MinLength="NA" + Name="Specimen Child Role" Usage="O"/> </Segment> - <Segment Description="Observation Request" ID="OBR_NIH" Label="OBR_NIH" Name="OBR" + <Segment Description="Message Header" ID="MSH_NIH" Label="MSH_NIH" Name="MSH" Version="2.5.1"> - <Field ConfLength="NA" Datatype="SI" Max="1" MaxLength="4" Min="1" MinLength="1" - Name="Set ID - OBR" + <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="1" Min="1" MinLength="1" + Name="Field Separator" Usage="R"/> - <Field ConfLength="NA" Datatype="EI" Max="0" MaxLength="NA" Min="0" MinLength="NA" - Name="Placer Order Number" - Usage="X"/> - <Field ConfLength="NA" Datatype="EI_NIH3" Max="1" MaxLength="NA" Min="0" - MinLength="NA" - Name="Filler Order Number" - Usage="RE"/> - <Field ConfLength="NA" Datatype="CWE_NIH2" Max="1" MaxLength="NA" Min="1" - MinLength="NA" - Name="Universal Service Identifier" + <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="4" Min="1" MinLength="4" + Name="Encoding Characters" Usage="R"/> - <Field ConfLength="NA" Datatype="ID" Max="0" MaxLength="2" Min="0" MinLength="1" - Name="Priority - OBR" - Usage="X"/> - <Field ConfLength="NA" Datatype="TS_NIH" Max="0" MaxLength="NA" Min="0" MinLength="NA" - Name="Requested Date/Time" - Usage="X"/> - <Field ConfLength="NA" Datatype="TS_NIH2" Max="1" MaxLength="NA" Min="0" - MinLength="NA" - Name="Observation Date/Time" - Usage="RE"/> - <Field ConfLength="NA" Datatype="TS_NIH" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Observation End Date/Time" - Usage="O"/> - <Field ConfLength="NA" Datatype="CQ" Max="0" MaxLength="NA" Min="0" MinLength="NA" - Name="Collection Volume" - Usage="X"/> - <Field ConfLength="NA" Datatype="XCN_NIH" Max="*" MaxLength="NA" Min="0" - MinLength="NA" - Name="Collector Identifier" - Usage="O"/> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="1" Min="0" MinLength="1" - Name="Specimen Action Code" - Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" - MinLength="NA" - Name="Danger Code" - Usage="O"/> - <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="300" Min="0" MinLength="1" - Name="Relevant Clinical Information" - Usage="O"/> - <Field ConfLength="NA" Datatype="TS_NIH" Max="0" MaxLength="NA" Min="0" MinLength="NA" - Name="Specimen Received Date/Time" - Usage="X"/> - <Field ConfLength="NA" Datatype="SPS" Max="0" MaxLength="NA" Min="0" MinLength="NA" - Name="Specimen Source" - Usage="X"/> - <Field ConfLength="NA" Datatype="XCN_NIH2" Max="*" MaxLength="NA" Min="1" - MinLength="NA" - Name="Ordering Provider" - Usage="RE"/> - <Field ConfLength="NA" Datatype="XTN_NIH" Max="2" MaxLength="NA" Min="0" - MinLength="NA" - Name="Order Callback Phone Number" - Usage="O"/> - <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="60" Min="0" MinLength="1" - Name="Placer Field 1" - Usage="O"/> - <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="60" Min="0" MinLength="1" - Name="Placer Field 2" - Usage="O"/> - <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="60" Min="0" MinLength="1" - Name="Filler Field 1" - Usage="O"/> - <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="60" Min="0" MinLength="1" - Name="Filler Field 2" + <Field ConfLength="NA" Datatype="HD_MSH" Max="1" MaxLength="NA" Min="1" MinLength="NA" + Name="Sending Application" + Usage="R"/> + <Field ConfLength="NA" Datatype="HD_MSH" Max="1" MaxLength="NA" Min="1" MinLength="NA" + Name="Sending Facility" + Usage="R"/> + <Field ConfLength="NA" Datatype="HD_MSH" Max="1" MaxLength="NA" Min="1" MinLength="NA" + Name="Receiving Application" + Usage="R"/> + <Field ConfLength="NA" Datatype="HD_MSH" Max="1" MaxLength="NA" Min="1" MinLength="NA" + Name="Receiving Facility" + Usage="R"/> + <Field ConfLength="NA" Datatype="TS_NIH" Max="1" MaxLength="NA" Min="1" MinLength="NA" + Name="Date/Time Of Message" + Usage="R"/> + <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="40" Min="0" MinLength="1" + Name="Security" Usage="O"/> - <Field ConfLength="NA" Datatype="TS_NIH2" Max="1" MaxLength="NA" Min="0" + <Field ConfLength="NA" Datatype="MSG_NIH" Max="1" MaxLength="NA" Min="1" MinLength="NA" - Name="Results Rpt/Status Chng - Date/Time" - Usage="RE"/> - <Field ConfLength="NA" Datatype="MOC" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Charge to Practice" - Usage="O"/> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="10" Min="0" MinLength="1" - Name="Diagnostic Serv Sect ID" - Usage="O"/> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="1" Min="0" MinLength="1" - Name="Result Status" - Usage="RE"/> - <Field ConfLength="NA" Datatype="PRL" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Parent Result" - Usage="O"/> - <Field ConfLength="NA" Datatype="TQ" Max="0" MaxLength="NA" Min="0" MinLength="NA" - Name="Quantity/Timing" - Usage="X"/> - <Field ConfLength="NA" Datatype="XCN" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Result Copies To" - Usage="O"/> - <Field ConfLength="NA" Datatype="EIP" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Parent" - Usage="O"/> - <Field ConfLength="NA" Datatype="ID" Max="0" MaxLength="20" Min="0" MinLength="1" - Name="Transportation Mode" - Usage="X"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="*" MaxLength="NA" Min="0" + Name="Message Type" + Usage="R"/> + <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="199" Min="1" MinLength="1" + Name="Message Control ID" + Usage="R"/> + <Field ConfLength="NA" Datatype="PT_NIH" Max="1" MaxLength="NA" Min="1" MinLength="NA" + Name="Processing ID" + Usage="R"/> + <Field ConfLength="NA" Datatype="VID_NIH" Max="1" MaxLength="NA" Min="1" MinLength="NA" - Name="Reason for Study" - Usage="O"/> - <Field ConfLength="NA" Datatype="NDL" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Principal Result Interpreter" - Usage="O"/> - <Field ConfLength="NA" Datatype="NDL" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Assistant Result Interpreter" - Usage="O"/> - <Field ConfLength="NA" Datatype="NDL" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Technician" + Name="Version ID" + Usage="R"/> + <Field ConfLength="NA" Datatype="NM" Max="1" MaxLength="15" Min="0" MinLength="1" + Name="Sequence Number" Usage="O"/> - <Field ConfLength="NA" Datatype="NDL" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Transcriptionist" + <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="180" Min="0" MinLength="1" + Name="Continuation Pointer" Usage="O"/> - <Field ConfLength="NA" Datatype="TS" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Scheduled Date/Time" + <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="2" Min="1" MinLength="1" + Name="Accept Acknowledgment Type" + Usage="R"/> + <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="2" Min="1" MinLength="1" + Name="Application Acknowledgment Type" + Usage="R"/> + <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="3" Min="0" MinLength="1" + Name="Country Code" Usage="O"/> - <Field ConfLength="NA" Datatype="NM" Max="0" MaxLength="4" Min="0" MinLength="1" - Name="Number of Sample Containers *" - Usage="X"/> - <Field ConfLength="NA" Datatype="CE" Max="0" MaxLength="NA" Min="0" MinLength="NA" - Name="Transport Logistics of Collected Sample" - Usage="X"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="*" MaxLength="NA" Min="0" - MinLength="NA" - Name="Collector's Comment *" + <Field ConfLength="NA" Datatype="ID" Max="*" MaxLength="16" Min="0" MinLength="1" + Name="Character Set" Usage="O"/> - <Field ConfLength="NA" Datatype="CE" Max="0" MaxLength="NA" Min="0" MinLength="NA" - Name="Transport Arrangement Responsibility" - Usage="X"/> - <Field ConfLength="NA" Datatype="ID" Max="0" MaxLength="30" Min="0" MinLength="1" - Name="Transport Arranged" - Usage="X"/> - <Field ConfLength="NA" Datatype="ID" Max="0" MaxLength="1" Min="0" MinLength="1" - Name="Escort Required" - Usage="X"/> - <Field ConfLength="NA" Datatype="CE" Max="0" MaxLength="NA" Min="0" MinLength="NA" - Name="Planned Patient Transport Comment" - Usage="X"/> <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Procedure Code" - Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="*" MaxLength="NA" Min="0" - MinLength="NA" - Name="Procedure Code Modifier" - Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="*" MaxLength="NA" Min="0" - MinLength="NA" - Name="Placer Supplemental Service Information" + Name="Principal Language Of Message" Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="*" MaxLength="NA" Min="0" - MinLength="NA" - Name="Filler Supplemental Service Information" + <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="20" Min="0" MinLength="1" + Name="Alternate Character Set Handling Scheme" Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" + <Field ConfLength="NA" Datatype="EI_MSH-21" Max="*" MaxLength="NA" Min="1" MinLength="NA" - Name="Medically Necessary Duplicate Procedure Reason." - Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" - Name="Result Handling" - Usage="O"/> - <Field ConfLength="NA" Datatype="CWE" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Parent Universal Service Identifier" - Usage="O"/> + Name="Message Profile Identifier" + Usage="R"/> </Segment> - <Segment Description="Common Order" ID="ORC_NIH" Label="ORC_NIH" Name="ORC" + <Segment Description="Software Segment" ID="SFT_NIH" Label="SFT_NIH" Name="SFT" Version="2.5.1"> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="2" Min="1" MinLength="1" - Name="Order Control" - Usage="R"/> - <Field ConfLength="NA" Datatype="EI" Max="0" MaxLength="NA" Min="0" MinLength="NA" - Name="Placer Order Number" - Usage="X"/> - <Field ConfLength="NA" Datatype="EI_NIH3" Max="1" MaxLength="NA" Min="0" - MinLength="NA" - Name="Filler Order Number" - Usage="RE"/> - <Field ConfLength="NA" Datatype="EI_NIH" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Placer Group Number" - Usage="O"/> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="2" Min="0" MinLength="1" - Name="Order Status" - Usage="O"/> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="1" Min="0" MinLength="1" - Name="Response Flag" - Usage="O"/> - <Field ConfLength="NA" Datatype="TQ" Max="0" MaxLength="NA" Min="0" MinLength="NA" - Name="Quantity/Timing" - Usage="X"/> - <Field ConfLength="NA" Datatype="EIP" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Parent" - Usage="O"/> - <Field ConfLength="NA" Datatype="TS" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Date/Time of Transaction" - Usage="O"/> - <Field ConfLength="NA" Datatype="XCN_NIH" Max="*" MaxLength="NA" Min="0" - MinLength="NA" - Name="Entered By" - Usage="O"/> - <Field ConfLength="NA" Datatype="XCN_NIH" Max="*" MaxLength="NA" Min="0" - MinLength="NA" - Name="Verified By" - Usage="O"/> - <Field ConfLength="NA" Datatype="XCN_NIH2" Max="*" MaxLength="NA" Min="1" + <Field ConfLength="NA" Datatype="XON_SFT" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Ordering Provider" + Name="Software Vendor Organization" Usage="RE"/> - <Field ConfLength="NA" Datatype="PL" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Enterer's Location" - Usage="O"/> - <Field ConfLength="NA" Datatype="XTN_NIH" Max="2" MaxLength="NA" Min="0" - MinLength="NA" - Name="Call Back Phone Number" - Usage="O"/> - <Field ConfLength="NA" Datatype="TS" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Order Effective Date/Time" - Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" - MinLength="NA" - Name="Order Control Code Reason" - Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" - MinLength="NA" - Name="Entering Organization" - Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" - MinLength="NA" - Name="Entering Device" - Usage="O"/> - <Field ConfLength="NA" Datatype="XCN_NIH" Max="*" MaxLength="NA" Min="0" - MinLength="NA" - Name="Action By" - Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="0" MaxLength="NA" Min="0" - MinLength="NA" - Name="Advanced Beneficiary Notice Code" - Usage="X"/> - <Field ConfLength="NA" Datatype="XON_ORC-21" Max="*" MaxLength="NA" Min="1" - MinLength="NA" - Name="Ordering Facility Name" + <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="15" Min="0" MinLength="1" + Name="Software Certified Version or Release Number" Usage="RE"/> - <Field ConfLength="NA" Datatype="XAD_NIH" Max="*" MaxLength="NA" Min="1" - MinLength="NA" - Name="Ordering Facility Address" + <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="20" Min="0" MinLength="1" + Name="Software Product Name" Usage="RE"/> - <Field ConfLength="NA" Datatype="XTN_ORC-23" Max="*" MaxLength="NA" Min="1" - MinLength="NA" - Name="Ordering Facility Phone Number" + <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="20" Min="0" MinLength="1" + Name="Software Binary ID" Usage="RE"/> - <Field ConfLength="NA" Datatype="XAD_ORC-24" Max="*" MaxLength="NA" Min="0" - MinLength="NA" - Name="Ordering Provider Address" - Usage="C"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" - MinLength="NA" - Name="Order Status Modifier" - Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="0" MaxLength="NA" Min="0" - MinLength="NA" - Name="Advanced Beneficiary Notice Override Reason" - Usage="X"/> - <Field ConfLength="NA" Datatype="TS" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Filler's Expected Availability Date/Time" - Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" - MinLength="NA" - Name="Confidentiality Code" - Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" - MinLength="NA" - Name="Order Type" - Usage="O"/> - <Field ConfLength="NA" Datatype="CNE" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Enterer Authorization Mode" - Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" - MinLength="NA" - Name="Parent Universal Service Identifier" - Usage="O"/> - </Segment> - <Segment Description="Timing/Quantity" ID="TQ1" Label="TQ1" Name="TQ1" Version="2.5.1"> - <Field ConfLength="NA" Datatype="SI" Max="1" MaxLength="4" Min="0" MinLength="1" - Name="Set ID - TQ1" - Usage="O"/> - <Field ConfLength="NA" Datatype="CQ" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Quantity" - Usage="O"/> - <Field ConfLength="NA" Datatype="RPT" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Repeat Pattern" - Usage="O"/> - <Field ConfLength="NA" Datatype="TM" Max="*" MaxLength="20" Min="0" MinLength="1" - Name="Explicit Time" - Usage="O"/> - <Field ConfLength="NA" Datatype="CQ" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Relative Time and Units" - Usage="O"/> - <Field ConfLength="NA" Datatype="CQ" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Service Duration" - Usage="O"/> - <Field ConfLength="NA" Datatype="TS" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Start date/time" - Usage="O"/> - <Field ConfLength="NA" Datatype="TS" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="End date/time" - Usage="O"/> - <Field ConfLength="NA" Datatype="CWE" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Priority" - Usage="O"/> - <Field ConfLength="NA" Datatype="TX" Max="1" MaxLength="250" Min="0" MinLength="1" - Name="Condition text" - Usage="O"/> - <Field ConfLength="NA" Datatype="TX" Max="1" MaxLength="250" Min="0" MinLength="1" - Name="Text instruction" - Usage="O"/> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="10" Min="0" MinLength="1" - Name="Conjunction" - Usage="C"/> - <Field ConfLength="NA" Datatype="CQ" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Occurrence duration" - Usage="O"/> - <Field ConfLength="NA" Datatype="NM" Max="1" MaxLength="10" Min="0" MinLength="1" - Name="Total occurrence's" + <Field ConfLength="NA" Datatype="TX" Max="1" MaxLength="1024" Min="0" MinLength="1" + Name="Software Product Information" Usage="O"/> + <Field ConfLength="NA" Datatype="TS_NIH" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Software Install Date" + Usage="RE"/> </Segment> - <Segment Description="Observation/Result" ID="OBX_NIH_2-8-1" Label="OBX_NIH_2-8-1" - Name="OBX" - Version="2.8.1"> - <DynamicMapping> - <Mapping Position="5" Reference="2" SecondReference="3.1"> - <Case Datatype="CE" Value="CE"/> - <Case Datatype="TS_NIH" Value="TS"/> - <Case Datatype="CWE_NIH" Value="CWE"/> - <Case Datatype="NM" Value="NM"/> - <Case Datatype="DT" Value="DT"/> - </Mapping> - </DynamicMapping> + <Segment Description="Patient Identification" ID="PID_NIH" Label="PID_NIH" Name="PID" + Version="2.5.1"> <Field ConfLength="NA" Datatype="SI" Max="1" MaxLength="4" Min="1" MinLength="1" - Name="Set ID - OBX" + Name="Set ID - PID" Usage="R"/> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="3" Min="0" MinLength="2" - Name="Value Type" - Usage="C"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" + <Field ConfLength="NA" Datatype="CX" Max="0" MaxLength="NA" Min="0" MinLength="NA" + Name="Patient ID" + Usage="X"/> + <Field ConfLength="NA" Datatype="CX_NIH2" Max="*" MaxLength="NA" Min="1" MinLength="NA" - Name="Observation Identifier" - Usage="RE"/> - <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="20" Min="0" MinLength="1" - Name="Observation Sub-ID" - Usage="C"/> - <Field ConfLength="NA" Datatype="var" Max="1" MaxLength="99999" Min="1" MinLength="1" - Name="Observation Value" + Name="Patient Identifier List" Usage="R"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" + <Field ConfLength="NA" Datatype="CX" Max="0" MaxLength="NA" Min="0" MinLength="NA" + Name="Alternate Patient ID - PID" + Usage="X"/> + <Field ConfLength="NA" Datatype="XPN_NIH" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Units" - Usage="C"/> - <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="60" Min="0" MinLength="1" - Name="References Range" + Name="Patient Name" Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="*" MaxLength="NA" Min="0" + <Field ConfLength="NA" Datatype="XPN_NIH" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Interpretation Codes" - Usage="C"/> - <Field ConfLength="NA" Datatype="NM" Max="1" MaxLength="5" Min="0" MinLength="1" - Name="Probability" - Usage="O"/> - <Field ConfLength="NA" Datatype="ID" Max="*" MaxLength="2" Min="0" MinLength="1" - Name="Nature of Abnormal Test" - Usage="O"/> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="1" Min="0" MinLength="1" - Name="Observation Result Status" - Usage="RE"/> - <Field ConfLength="NA" Datatype="TS_NIH" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Effective Date of Reference Range" - Usage="O"/> - <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="20" Min="0" MinLength="1" - Name="User Defined Access Checks" + Name="Mother's Maiden Name" Usage="O"/> <Field ConfLength="NA" Datatype="TS_NIH" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Date/Time of the Observation" - Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_OBX-15" Max="1" MaxLength="NA" Min="0" - MinLength="NA" - Name="Producer's ID" - Usage="RE"/> - <Field ConfLength="NA" Datatype="XCN" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Responsible Observer" + Name="Date/Time of Birth" Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_OBX-17" Max="*" MaxLength="NA" Min="1" - MinLength="NA" - Name="Observation Method" - Usage="C"/> - <Field ConfLength="NA" Datatype="EI_NIH" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Equipment Instance Identifier" + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="1" Min="0" MinLength="1" + Name="Administrative Sex" Usage="O"/> - <Field ConfLength="NA" Datatype="TS_NIH2" Max="1" MaxLength="NA" Min="0" + <Field ConfLength="NA" Datatype="XPN" Max="0" MaxLength="NA" Min="0" MinLength="NA" + Name="Patient Alias" + Usage="X"/> + <Field ConfLength="NA" Datatype="CWE_NIH3" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Date/Time of the Analysis" - Usage="C"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="0" MaxLength="NA" Min="0" + Name="Race" + Usage="O"/> + <Field ConfLength="NA" Datatype="XAD_NIH2" Max="*" MaxLength="NA" Min="1" MinLength="NA" - Name="Observation Site" - Usage="X"/> - <Field ConfLength="NA" Datatype="EI_NIH" Max="0" MaxLength="NA" Min="0" MinLength="NA" - Name="Observation Instance Identifier" - Usage="X"/> - <Field ConfLength="NA" Datatype="CNE" Max="0" MaxLength="NA" Min="0" MinLength="NA" - Name="Mood Code" + Name="Patient Address" + Usage="R"/> + <Field ConfLength="NA" Datatype="IS" Max="0" MaxLength="4" Min="0" MinLength="1" + Name="County Code" Usage="X"/> - <Field ConfLength="NA" Datatype="XON_OBX-23" Max="1" MaxLength="NA" Min="0" + <Field ConfLength="NA" Datatype="XTN_NIH2" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Performing Organization Name" + Name="Phone Number - Home" Usage="RE"/> - <Field ConfLength="NA" Datatype="XAD_OBX-24" Max="1" MaxLength="NA" Min="0" - MinLength="NA" - Name="Performing Organization Address" - Usage="C"/> - <Field ConfLength="NA" Datatype="XCN_NIH" Max="1" MaxLength="NA" Min="0" + <Field ConfLength="NA" Datatype="XTN_NIH" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Performing Organization Medical Director" + Name="Phone Number - Business" Usage="O"/> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="10" Min="0" MinLength="1" - Name="Patient Results Release Category" + <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" + MinLength="NA" + Name="Primary Language" Usage="O"/> <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Root Cause" + Name="Marital Status" Usage="O"/> - <Field ConfLength="NA" Datatype="ID" Max="*" MaxLength="5" Min="0" MinLength="1" - Name="Local Process Control" + <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Religion" Usage="O"/> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="4" Min="0" MinLength="1" - Name="Observation Type" - Usage="C"/> - </Segment> - <Segment Description="Patient Additional Demographic" ID="PD1" Label="PD1" Name="PD1" - Version="2.5.1"> - <Field ConfLength="NA" Datatype="IS" Max="*" MaxLength="2" Min="0" MinLength="1" - Name="Living Dependency" + <Field ConfLength="NA" Datatype="CX" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Patient Account Number" Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" - Name="Living Arrangement" + <Field ConfLength="NA" Datatype="ST" Max="0" MaxLength="16" Min="0" MinLength="1" + Name="SSN Number - Patient" + Usage="X"/> + <Field ConfLength="NA" Datatype="DLN" Max="0" MaxLength="NA" Min="0" MinLength="NA" + Name="Driver's License Number - Patient" + Usage="X"/> + <Field ConfLength="NA" Datatype="CX" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Mother's Identifier" Usage="O"/> - <Field ConfLength="NA" Datatype="XON" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Patient Primary Facility" + <Field ConfLength="NA" Datatype="CWE_NIH3" Max="*" MaxLength="NA" Min="0" + MinLength="NA" + Name="Ethnic Group" Usage="O"/> - <Field ConfLength="NA" Datatype="XCN" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Patient Primary Care Provider Name &amp; ID No." - Usage="B"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" - Name="Student Indicator" + <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="250" Min="0" MinLength="1" + Name="Birth Place" Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" - Name="Handicap" + <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="1" Min="0" MinLength="1" + Name="Multiple Birth Indicator" Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" - Name="Living Will Code" + <Field ConfLength="NA" Datatype="NM" Max="1" MaxLength="2" Min="0" MinLength="1" + Name="Birth Order" Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" - Name="Organ Donor Code" + <Field ConfLength="NA" Datatype="CE" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Citizenship" + Usage="O"/> + <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Veterans Military Status" + Usage="O"/> + <Field ConfLength="NA" Datatype="CE" Max="0" MaxLength="NA" Min="0" MinLength="NA" + Name="Nationality" + Usage="X"/> + <Field ConfLength="NA" Datatype="TS" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Patient Death Date and Time" Usage="O"/> <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="1" Min="0" MinLength="1" - Name="Separate Bill" + Name="Patient Death Indicator" Usage="O"/> - <Field ConfLength="NA" Datatype="CX" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Duplicate Patient" + <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="1" Min="0" MinLength="1" + Name="Identity Unknown Indicator" + Usage="O"/> + <Field ConfLength="NA" Datatype="IS" Max="*" MaxLength="20" Min="0" MinLength="1" + Name="Identity Reliability Code" + Usage="O"/> + <Field ConfLength="NA" Datatype="TS" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Last Update Date/Time" + Usage="O"/> + <Field ConfLength="NA" Datatype="HD" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Last Update Facility" Usage="O"/> <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Publicity Code" + Name="Species Code" + Usage="C"/> + <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Breed Code" + Usage="C"/> + <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="80" Min="0" MinLength="1" + Name="Strain" Usage="O"/> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="1" Min="0" MinLength="1" - Name="Protection Indicator" + <Field ConfLength="NA" Datatype="CE" Max="2" MaxLength="NA" Min="0" MinLength="NA" + Name="Production Class Code" + Usage="O"/> + <Field ConfLength="NA" Datatype="CWE" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Tribal Citizenship" + Usage="O"/> + </Segment> + <Segment Description="Next of Kin / Associated Parties" ID="NK1" Label="NK1" Name="NK1" + Version="2.5.1"> + <Field ConfLength="NA" Datatype="SI" Max="1" MaxLength="4" Min="1" MinLength="1" + Name="Set ID - NK1" + Usage="R"/> + <Field ConfLength="NA" Datatype="XPN" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Name" + Usage="O"/> + <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Relationship" + Usage="O"/> + <Field ConfLength="NA" Datatype="XAD" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Address" + Usage="O"/> + <Field ConfLength="NA" Datatype="XTN" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Phone Number" + Usage="O"/> + <Field ConfLength="NA" Datatype="XTN" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Business Phone Number" + Usage="O"/> + <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Contact Role" Usage="O"/> <Field ConfLength="NA" Datatype="DT" Max="1" MaxLength="8" Min="0" MinLength="1" - Name="Protection Indicator Effective Date" + Name="Start Date" + Usage="O"/> + <Field ConfLength="NA" Datatype="DT" Max="1" MaxLength="8" Min="0" MinLength="1" + Name="End Date" + Usage="O"/> + <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="60" Min="0" MinLength="1" + Name="Next of Kin / Associated Parties Job Title" + Usage="O"/> + <Field ConfLength="NA" Datatype="JCC" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Next of Kin / Associated Parties Job Code/Class" + Usage="O"/> + <Field ConfLength="NA" Datatype="CX" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Next of Kin / Associated Parties Employee Number" Usage="O"/> <Field ConfLength="NA" Datatype="XON" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Place of Worship" + Name="Organization Name - NK1" Usage="O"/> - <Field ConfLength="NA" Datatype="CE" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Advance Directive Code" + <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Marital Status" Usage="O"/> <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="1" Min="0" MinLength="1" - Name="Immunization Registry Status" + Name="Administrative Sex" Usage="O"/> - <Field ConfLength="NA" Datatype="DT" Max="1" MaxLength="8" Min="0" MinLength="1" - Name="Immunization Registry Status Effective Date" + <Field ConfLength="NA" Datatype="TS" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Date/Time of Birth" Usage="O"/> - <Field ConfLength="NA" Datatype="DT" Max="1" MaxLength="8" Min="0" MinLength="1" - Name="Publicity Code Effective Date" + <Field ConfLength="NA" Datatype="IS" Max="*" MaxLength="2" Min="0" MinLength="1" + Name="Living Dependency" Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="5" Min="0" MinLength="1" - Name="Military Branch" + <Field ConfLength="NA" Datatype="IS" Max="*" MaxLength="2" Min="0" MinLength="1" + Name="Ambulatory Status" + Usage="O"/> + <Field ConfLength="NA" Datatype="CE" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Citizenship" + Usage="O"/> + <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Primary Language" Usage="O"/> <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" - Name="Military Rank/Grade" + Name="Living Arrangement" Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="3" Min="0" MinLength="1" - Name="Military Status" + <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Publicity Code" Usage="O"/> - </Segment> - <Segment Description="Observation/Result" - ID="OBX_NIH_COCON3-3_2-3_2_6-3_2_6_1_6494460e8b87bc0007492d42_2-8-1" - Label="OBX_NIH_COCON3-3_2-3_2_6-3_2_6_1_6494460e8b87bc0007492d42_2-8-1" - Name="OBX" - Version="2.8.1"> - <DynamicMapping> - <Mapping Position="5" Reference="2" SecondReference="3.1"> - <Case Datatype="CE" Value="CE"/> - <Case Datatype="TS_NIH" Value="TS"/> - <Case Datatype="CWE_NIH" Value="CWE"/> - <Case Datatype="NM" Value="NM"/> - <Case Datatype="DT" Value="DT"/> - <Case Datatype="CWE_NIH" SecondValue="100974-5" Value="CWE"/> - <Case Datatype="CWE_NIH" SecondValue="100973-7" Value="CWE"/> - <Case Datatype="CWE_NIH" SecondValue="96986-5" Value="CWE"/> - <Case Datatype="CWE_NIH" SecondValue="95608-6" Value="CWE"/> - <Case Datatype="CWE_NIH" SecondValue="97097-0" Value="CWE"/> - <Case Datatype="CWE_NIH" SecondValue="94558-4" Value="CWE"/> - <Case Datatype="CWE_NIH" SecondValue="95409-9" Value="CWE"/> - <Case Datatype="CWE_NIH" SecondValue="94559-2" Value="CWE"/> - <Case Datatype="CWE_NIH" SecondValue="95209-3" Value="CWE"/> - </Mapping> - </DynamicMapping> - <Field ConfLength="NA" Datatype="SI" Max="1" MaxLength="4" Min="1" MinLength="1" - Name="Set ID - OBX" - Usage="R"/> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="3" Min="0" MinLength="2" - Name="Value Type" - Usage="C"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" - MinLength="NA" - Name="Observation Identifier" - Usage="RE"/> - <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="20" Min="0" MinLength="1" - Name="Observation Sub-ID" - Usage="C"/> - <Field ConfLength="NA" Datatype="var" Max="1" MaxLength="99999" Min="1" MinLength="1" - Name="Observation Value" - Usage="R"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" - MinLength="NA" - Name="Units" - Usage="C"/> - <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="60" Min="0" MinLength="1" - Name="References Range" + <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="1" Min="0" MinLength="1" + Name="Protection Indicator" Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="*" MaxLength="NA" Min="0" - MinLength="NA" - Name="Interpretation Codes" - Usage="C"/> - <Field ConfLength="NA" Datatype="NM" Max="1" MaxLength="5" Min="0" MinLength="1" - Name="Probability" + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" + Name="Student Indicator" + Usage="O"/> + <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Religion" + Usage="O"/> + <Field ConfLength="NA" Datatype="XPN" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Mother's Maiden Name" Usage="O"/> - <Field ConfLength="NA" Datatype="ID" Max="*" MaxLength="2" Min="0" MinLength="1" - Name="Nature of Abnormal Test" + <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Nationality" Usage="O"/> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="1" Min="0" MinLength="1" - Name="Observation Result Status" - Usage="RE"/> - <Field ConfLength="NA" Datatype="TS_NIH" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Effective Date of Reference Range" + <Field ConfLength="NA" Datatype="CE" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Ethnic Group" Usage="O"/> - <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="20" Min="0" MinLength="1" - Name="User Defined Access Checks" + <Field ConfLength="NA" Datatype="CE" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Contact Reason" Usage="O"/> - <Field ConfLength="NA" Datatype="TS_NIH" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Date/Time of the Observation" + <Field ConfLength="NA" Datatype="XPN" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Contact Person's Name" Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_OBX-15" Max="1" MaxLength="NA" Min="0" - MinLength="NA" - Name="Producer's ID" - Usage="RE"/> - <Field ConfLength="NA" Datatype="XCN" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Responsible Observer" + <Field ConfLength="NA" Datatype="XTN" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Contact Person's Telephone Number" Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_OBX-17" Max="*" MaxLength="NA" Min="1" - MinLength="NA" - Name="Observation Method" - Usage="C"/> - <Field ConfLength="NA" Datatype="EI_NIH" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Equipment Instance Identifier" + <Field ConfLength="NA" Datatype="XAD" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Contact Person's Address" Usage="O"/> - <Field ConfLength="NA" Datatype="TS_NIH2" Max="1" MaxLength="NA" Min="0" - MinLength="NA" - Name="Date/Time of the Analysis" - Usage="C"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="0" MaxLength="NA" Min="0" - MinLength="NA" - Name="Observation Site" - Usage="X"/> - <Field ConfLength="NA" Datatype="EI_NIH" Max="0" MaxLength="NA" Min="0" MinLength="NA" - Name="Observation Instance Identifier" - Usage="X"/> - <Field ConfLength="NA" Datatype="CNE" Max="0" MaxLength="NA" Min="0" MinLength="NA" - Name="Mood Code" - Usage="X"/> - <Field ConfLength="NA" Datatype="XON_OBX-23" Max="1" MaxLength="NA" Min="0" - MinLength="NA" - Name="Performing Organization Name" - Usage="RE"/> - <Field ConfLength="NA" Datatype="XAD_OBX-24" Max="1" MaxLength="NA" Min="0" - MinLength="NA" - Name="Performing Organization Address" - Usage="C"/> - <Field ConfLength="NA" Datatype="XCN_NIH" Max="1" MaxLength="NA" Min="0" - MinLength="NA" - Name="Performing Organization Medical Director" + <Field ConfLength="NA" Datatype="CX" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Next of Kin/Associated Party's Identifiers" Usage="O"/> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="10" Min="0" MinLength="1" - Name="Patient Results Release Category" + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" + Name="Job Status" Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" - MinLength="NA" - Name="Root Cause" + <Field ConfLength="NA" Datatype="CE" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Race" Usage="O"/> - <Field ConfLength="NA" Datatype="ID" Max="*" MaxLength="5" Min="0" MinLength="1" - Name="Local Process Control" + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" + Name="Handicap" Usage="O"/> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="4" Min="0" MinLength="1" - Name="Observation Type" - Usage="C"/> - </Segment> - <Segment Description="Software Segment" ID="SFT_NIH" Label="SFT_NIH" Name="SFT" - Version="2.5.1"> - <Field ConfLength="NA" Datatype="XON_SFT" Max="1" MaxLength="NA" Min="0" - MinLength="NA" - Name="Software Vendor Organization" - Usage="RE"/> - <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="15" Min="0" MinLength="1" - Name="Software Certified Version or Release Number" - Usage="RE"/> - <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="20" Min="0" MinLength="1" - Name="Software Product Name" - Usage="RE"/> - <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="20" Min="0" MinLength="1" - Name="Software Binary ID" - Usage="RE"/> - <Field ConfLength="NA" Datatype="TX" Max="1" MaxLength="1024" Min="0" MinLength="1" - Name="Software Product Information" + <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="16" Min="0" MinLength="1" + Name="Contact Person Social Security Number" + Usage="O"/> + <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="250" Min="0" MinLength="1" + Name="Next of Kin Birth Place" + Usage="O"/> + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" + Name="VIP Indicator" Usage="O"/> - <Field ConfLength="NA" Datatype="TS_NIH" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Software Install Date" - Usage="RE"/> </Segment> - <Segment Description="Notes and Comments" ID="NTE" Label="NTE" Name="NTE" + <Segment Description="Notes and Comments" ID="NTE_NIH" Label="NTE_NIH" Name="NTE" Version="2.5.1"> - <Field ConfLength="NA" Datatype="SI" Max="1" MaxLength="4" Min="0" MinLength="1" + <Field ConfLength="NA" Datatype="SI" Max="1" MaxLength="4" Min="1" MinLength="1" Name="Set ID - NTE" - Usage="O"/> + Usage="R"/> <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="8" Min="0" MinLength="1" Name="Source of Comment" - Usage="O"/> - <Field ConfLength="NA" Datatype="FT" Max="*" MaxLength="65536" Min="0" MinLength="1" + Usage="RE"/> + <Field ConfLength="NA" Datatype="FT" Max="*" MaxLength="65536" Min="1" MinLength="1" Name="Comment" - Usage="O"/> - <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Usage="R"/> + <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" + MinLength="NA" Name="Comment Type" Usage="O"/> </Segment> @@ -1451,380 +1026,580 @@ <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" Name="Insurance Plan ID" Usage="O"/> - <Field ConfLength="NA" Datatype="CP" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Insurance Amount" + <Field ConfLength="NA" Datatype="CP" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Insurance Amount" + Usage="O"/> + <Field ConfLength="NA" Datatype="PL" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Assigned Patient Location" + Usage="O"/> + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="1" Min="0" MinLength="1" + Name="Fee Schedule" + Usage="O"/> + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" + Name="Patient Type" + Usage="O"/> + <Field ConfLength="NA" Datatype="CE" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Diagnosis Code - FT1" + Usage="O"/> + <Field ConfLength="NA" Datatype="XCN" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Performed By Code" + Usage="O"/> + <Field ConfLength="NA" Datatype="XCN" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Ordered By Code" + Usage="O"/> + <Field ConfLength="NA" Datatype="CP" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Unit Cost" + Usage="O"/> + <Field ConfLength="NA" Datatype="EI" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Filler Order Number" + Usage="O"/> + <Field ConfLength="NA" Datatype="XCN" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Entered By Code" + Usage="O"/> + <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Procedure Code" + Usage="O"/> + <Field ConfLength="NA" Datatype="CE" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Procedure Code Modifier" + Usage="O"/> + <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Advanced Beneficiary Notice Code" + Usage="O"/> + <Field ConfLength="NA" Datatype="CWE" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Medically Necessary Duplicate Procedure Reason." + Usage="O"/> + <Field ConfLength="NA" Datatype="CNE" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="NDC Code" + Usage="O"/> + <Field ConfLength="NA" Datatype="CX" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Payment Reference ID" + Usage="O"/> + <Field ConfLength="NA" Datatype="SI" Max="*" MaxLength="4" Min="0" MinLength="1" + Name="Transaction Reference Key" + Usage="O"/> + </Segment> + <Segment Description="Observation Request" ID="OBR_NIH" Label="OBR_NIH" Name="OBR" + Version="2.5.1"> + <Field ConfLength="NA" Datatype="SI" Max="1" MaxLength="4" Min="1" MinLength="1" + Name="Set ID - OBR" + Usage="R"/> + <Field ConfLength="NA" Datatype="EI" Max="0" MaxLength="NA" Min="0" MinLength="NA" + Name="Placer Order Number" + Usage="X"/> + <Field ConfLength="NA" Datatype="EI_NIH3" Max="1" MaxLength="NA" Min="0" + MinLength="NA" + Name="Filler Order Number" + Usage="RE"/> + <Field ConfLength="NA" Datatype="CWE_NIH2" Max="1" MaxLength="NA" Min="1" + MinLength="NA" + Name="Universal Service Identifier" + Usage="R"/> + <Field ConfLength="NA" Datatype="ID" Max="0" MaxLength="2" Min="0" MinLength="1" + Name="Priority - OBR" + Usage="X"/> + <Field ConfLength="NA" Datatype="TS_NIH" Max="0" MaxLength="NA" Min="0" MinLength="NA" + Name="Requested Date/Time" + Usage="X"/> + <Field ConfLength="NA" Datatype="TS_NIH2" Max="1" MaxLength="NA" Min="0" + MinLength="NA" + Name="Observation Date/Time" + Usage="RE"/> + <Field ConfLength="NA" Datatype="TS_NIH" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Observation End Date/Time" + Usage="O"/> + <Field ConfLength="NA" Datatype="CQ" Max="0" MaxLength="NA" Min="0" MinLength="NA" + Name="Collection Volume" + Usage="X"/> + <Field ConfLength="NA" Datatype="XCN_NIH" Max="*" MaxLength="NA" Min="0" + MinLength="NA" + Name="Collector Identifier" + Usage="O"/> + <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="1" Min="0" MinLength="1" + Name="Specimen Action Code" + Usage="O"/> + <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" + MinLength="NA" + Name="Danger Code" + Usage="O"/> + <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="300" Min="0" MinLength="1" + Name="Relevant Clinical Information" + Usage="O"/> + <Field ConfLength="NA" Datatype="TS_NIH" Max="0" MaxLength="NA" Min="0" MinLength="NA" + Name="Specimen Received Date/Time" + Usage="X"/> + <Field ConfLength="NA" Datatype="SPS" Max="0" MaxLength="NA" Min="0" MinLength="NA" + Name="Specimen Source" + Usage="X"/> + <Field ConfLength="NA" Datatype="XCN_NIH2" Max="*" MaxLength="NA" Min="1" + MinLength="NA" + Name="Ordering Provider" + Usage="RE"/> + <Field ConfLength="NA" Datatype="XTN_NIH" Max="2" MaxLength="NA" Min="0" + MinLength="NA" + Name="Order Callback Phone Number" + Usage="O"/> + <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="60" Min="0" MinLength="1" + Name="Placer Field 1" + Usage="O"/> + <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="60" Min="0" MinLength="1" + Name="Placer Field 2" + Usage="O"/> + <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="60" Min="0" MinLength="1" + Name="Filler Field 1" + Usage="O"/> + <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="60" Min="0" MinLength="1" + Name="Filler Field 2" + Usage="O"/> + <Field ConfLength="NA" Datatype="TS_NIH2" Max="1" MaxLength="NA" Min="0" + MinLength="NA" + Name="Results Rpt/Status Chng - Date/Time" + Usage="RE"/> + <Field ConfLength="NA" Datatype="MOC" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Charge to Practice" + Usage="O"/> + <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="10" Min="0" MinLength="1" + Name="Diagnostic Serv Sect ID" + Usage="O"/> + <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="1" Min="0" MinLength="1" + Name="Result Status" + Usage="RE"/> + <Field ConfLength="NA" Datatype="PRL" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Parent Result" Usage="O"/> - <Field ConfLength="NA" Datatype="PL" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Assigned Patient Location" + <Field ConfLength="NA" Datatype="TQ" Max="0" MaxLength="NA" Min="0" MinLength="NA" + Name="Quantity/Timing" + Usage="X"/> + <Field ConfLength="NA" Datatype="XCN" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Result Copies To" Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="1" Min="0" MinLength="1" - Name="Fee Schedule" + <Field ConfLength="NA" Datatype="EIP" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Parent" Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" - Name="Patient Type" + <Field ConfLength="NA" Datatype="ID" Max="0" MaxLength="20" Min="0" MinLength="1" + Name="Transportation Mode" + Usage="X"/> + <Field ConfLength="NA" Datatype="CWE_NIH" Max="*" MaxLength="NA" Min="0" + MinLength="NA" + Name="Reason for Study" Usage="O"/> - <Field ConfLength="NA" Datatype="CE" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Diagnosis Code - FT1" + <Field ConfLength="NA" Datatype="NDL" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Principal Result Interpreter" Usage="O"/> - <Field ConfLength="NA" Datatype="XCN" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Performed By Code" + <Field ConfLength="NA" Datatype="NDL" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Assistant Result Interpreter" Usage="O"/> - <Field ConfLength="NA" Datatype="XCN" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Ordered By Code" + <Field ConfLength="NA" Datatype="NDL" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Technician" Usage="O"/> - <Field ConfLength="NA" Datatype="CP" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Unit Cost" + <Field ConfLength="NA" Datatype="NDL" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Transcriptionist" Usage="O"/> - <Field ConfLength="NA" Datatype="EI" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Filler Order Number" + <Field ConfLength="NA" Datatype="TS" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Scheduled Date/Time" Usage="O"/> - <Field ConfLength="NA" Datatype="XCN" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Entered By Code" + <Field ConfLength="NA" Datatype="NM" Max="0" MaxLength="4" Min="0" MinLength="1" + Name="Number of Sample Containers *" + Usage="X"/> + <Field ConfLength="NA" Datatype="CE" Max="0" MaxLength="NA" Min="0" MinLength="NA" + Name="Transport Logistics of Collected Sample" + Usage="X"/> + <Field ConfLength="NA" Datatype="CWE_NIH" Max="*" MaxLength="NA" Min="0" + MinLength="NA" + Name="Collector's Comment *" Usage="O"/> - <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" + <Field ConfLength="NA" Datatype="CE" Max="0" MaxLength="NA" Min="0" MinLength="NA" + Name="Transport Arrangement Responsibility" + Usage="X"/> + <Field ConfLength="NA" Datatype="ID" Max="0" MaxLength="30" Min="0" MinLength="1" + Name="Transport Arranged" + Usage="X"/> + <Field ConfLength="NA" Datatype="ID" Max="0" MaxLength="1" Min="0" MinLength="1" + Name="Escort Required" + Usage="X"/> + <Field ConfLength="NA" Datatype="CE" Max="0" MaxLength="NA" Min="0" MinLength="NA" + Name="Planned Patient Transport Comment" + Usage="X"/> + <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" + MinLength="NA" Name="Procedure Code" Usage="O"/> - <Field ConfLength="NA" Datatype="CE" Max="*" MaxLength="NA" Min="0" MinLength="NA" + <Field ConfLength="NA" Datatype="CWE_NIH" Max="*" MaxLength="NA" Min="0" + MinLength="NA" Name="Procedure Code Modifier" Usage="O"/> - <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Advanced Beneficiary Notice Code" + <Field ConfLength="NA" Datatype="CWE_NIH" Max="*" MaxLength="NA" Min="0" + MinLength="NA" + Name="Placer Supplemental Service Information" Usage="O"/> - <Field ConfLength="NA" Datatype="CWE" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Medically Necessary Duplicate Procedure Reason." + <Field ConfLength="NA" Datatype="CWE_NIH" Max="*" MaxLength="NA" Min="0" + MinLength="NA" + Name="Filler Supplemental Service Information" Usage="O"/> - <Field ConfLength="NA" Datatype="CNE" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="NDC Code" + <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" + MinLength="NA" + Name="Medically Necessary Duplicate Procedure Reason." Usage="O"/> - <Field ConfLength="NA" Datatype="CX" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Payment Reference ID" + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" + Name="Result Handling" Usage="O"/> - <Field ConfLength="NA" Datatype="SI" Max="*" MaxLength="4" Min="0" MinLength="1" - Name="Transaction Reference Key" + <Field ConfLength="NA" Datatype="CWE" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Parent Universal Service Identifier" Usage="O"/> </Segment> - <Segment Description="Specimen" ID="SPM_NIH" Label="SPM_NIH" Name="SPM" Version="2.5.1"> - <Field ConfLength="NA" Datatype="SI" Max="1" MaxLength="4" Min="1" MinLength="1" - Name="Set ID - SPM" + <Segment Description="Common Order" ID="ORC_NIH" Label="ORC_NIH" Name="ORC" + Version="2.5.1"> + <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="2" Min="1" MinLength="1" + Name="Order Control" Usage="R"/> - <Field ConfLength="NA" Datatype="EIP_NIH2" Max="1" MaxLength="NA" Min="1" + <Field ConfLength="NA" Datatype="EI" Max="0" MaxLength="NA" Min="0" MinLength="NA" + Name="Placer Order Number" + Usage="X"/> + <Field ConfLength="NA" Datatype="EI_NIH3" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Specimen ID" - Usage="R"/> - <Field ConfLength="NA" Datatype="EIP" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Specimen Parent IDs" + Name="Filler Order Number" + Usage="RE"/> + <Field ConfLength="NA" Datatype="EI_NIH" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Placer Group Number" Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH4" Max="1" MaxLength="NA" Min="0" + <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="2" Min="0" MinLength="1" + Name="Order Status" + Usage="O"/> + <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="1" Min="0" MinLength="1" + Name="Response Flag" + Usage="O"/> + <Field ConfLength="NA" Datatype="TQ" Max="0" MaxLength="NA" Min="0" MinLength="NA" + Name="Quantity/Timing" + Usage="X"/> + <Field ConfLength="NA" Datatype="EIP" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Parent" + Usage="O"/> + <Field ConfLength="NA" Datatype="TS" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Date/Time of Transaction" + Usage="O"/> + <Field ConfLength="NA" Datatype="XCN_NIH" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Specimen Type" + Name="Entered By" + Usage="O"/> + <Field ConfLength="NA" Datatype="XCN_NIH" Max="*" MaxLength="NA" Min="0" + MinLength="NA" + Name="Verified By" + Usage="O"/> + <Field ConfLength="NA" Datatype="XCN_NIH2" Max="*" MaxLength="NA" Min="1" + MinLength="NA" + Name="Ordering Provider" Usage="RE"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="*" MaxLength="NA" Min="0" + <Field ConfLength="NA" Datatype="PL" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Enterer's Location" + Usage="O"/> + <Field ConfLength="NA" Datatype="XTN_NIH" Max="2" MaxLength="NA" Min="0" MinLength="NA" - Name="Specimen Type Modifier" + Name="Call Back Phone Number" Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="*" MaxLength="NA" Min="0" + <Field ConfLength="NA" Datatype="TS" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Order Effective Date/Time" + Usage="O"/> + <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Specimen Additives" + Name="Order Control Code Reason" Usage="O"/> <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Specimen Collection Method" + Name="Entering Organization" Usage="O"/> <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Specimen Source Site" + Name="Entering Device" Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="*" MaxLength="NA" Min="0" + <Field ConfLength="NA" Datatype="XCN_NIH" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Specimen Source Site Modifier" + Name="Action By" Usage="O"/> + <Field ConfLength="NA" Datatype="CWE_NIH" Max="0" MaxLength="NA" Min="0" + MinLength="NA" + Name="Advanced Beneficiary Notice Code" + Usage="X"/> + <Field ConfLength="NA" Datatype="XON_ORC-21" Max="*" MaxLength="NA" Min="1" + MinLength="NA" + Name="Ordering Facility Name" + Usage="RE"/> + <Field ConfLength="NA" Datatype="XAD_NIH" Max="*" MaxLength="NA" Min="1" + MinLength="NA" + Name="Ordering Facility Address" + Usage="RE"/> + <Field ConfLength="NA" Datatype="XTN_ORC-23" Max="*" MaxLength="NA" Min="1" + MinLength="NA" + Name="Ordering Facility Phone Number" + Usage="RE"/> + <Field ConfLength="NA" Datatype="XAD_ORC-24" Max="*" MaxLength="NA" Min="0" + MinLength="NA" + Name="Ordering Provider Address" + Usage="C"/> <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Specimen Collection Site" + Name="Order Status Modifier" Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="*" MaxLength="NA" Min="0" + <Field ConfLength="NA" Datatype="CWE_NIH" Max="0" MaxLength="NA" Min="0" MinLength="NA" - Name="Specimen Role" + Name="Advanced Beneficiary Notice Override Reason" + Usage="X"/> + <Field ConfLength="NA" Datatype="TS" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Filler's Expected Availability Date/Time" Usage="O"/> - <Field ConfLength="NA" Datatype="CQ" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Specimen Collection Amount" + <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" + MinLength="NA" + Name="Confidentiality Code" Usage="O"/> - <Field ConfLength="NA" Datatype="NM" Max="1" MaxLength="6" Min="0" MinLength="1" - Name="Grouped Specimen Count" + <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" + MinLength="NA" + Name="Order Type" Usage="O"/> - <Field ConfLength="NA" Datatype="ST" Max="*" MaxLength="250" Min="0" MinLength="1" - Name="Specimen Description" + <Field ConfLength="NA" Datatype="CNE" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Enterer Authorization Mode" Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="*" MaxLength="NA" Min="0" + <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Specimen Handling Code" + Name="Parent Universal Service Identifier" Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="*" MaxLength="NA" Min="0" - MinLength="NA" - Name="Specimen Risk Code" + </Segment> + <Segment Description="Patient Visit" ID="PV1" Label="PV1" Name="PV1" Version="2.5.1"> + <Field ConfLength="NA" Datatype="SI" Max="1" MaxLength="4" Min="0" MinLength="1" + Name="Set ID - PV1" + Usage="O"/> + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="1" Min="1" MinLength="1" + Name="Patient Class" + Usage="R"/> + <Field ConfLength="NA" Datatype="PL" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Assigned Patient Location" + Usage="O"/> + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" + Name="Admission Type" + Usage="O"/> + <Field ConfLength="NA" Datatype="CX" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Preadmit Number" + Usage="O"/> + <Field ConfLength="NA" Datatype="PL" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Prior Patient Location" + Usage="O"/> + <Field ConfLength="NA" Datatype="XCN" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Attending Doctor" + Usage="O"/> + <Field ConfLength="NA" Datatype="XCN" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Referring Doctor" + Usage="O"/> + <Field ConfLength="NA" Datatype="XCN" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Consulting Doctor" + Usage="B"/> + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="3" Min="0" MinLength="1" + Name="Hospital Service" + Usage="O"/> + <Field ConfLength="NA" Datatype="PL" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Temporary Location" + Usage="O"/> + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" + Name="Preadmit Test Indicator" + Usage="O"/> + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" + Name="Re-admission Indicator" Usage="O"/> - <Field ConfLength="NA" Datatype="DR_NIH" Max="1" MaxLength="NA" Min="1" MinLength="NA" - Name="Specimen Collection Date/Time" - Usage="R"/> - <Field ConfLength="NA" Datatype="TS_NIH" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Specimen Received Date/Time" - Usage="RE"/> - <Field ConfLength="NA" Datatype="TS" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Specimen Expiration Date/Time" + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="6" Min="0" MinLength="1" + Name="Admit Source" Usage="O"/> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="1" Min="0" MinLength="1" - Name="Specimen Availability" + <Field ConfLength="NA" Datatype="IS" Max="*" MaxLength="2" Min="0" MinLength="1" + Name="Ambulatory Status" Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="*" MaxLength="NA" Min="0" - MinLength="NA" - Name="Specimen Reject Reason" + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" + Name="VIP Indicator" Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" - MinLength="NA" - Name="Specimen Quality" + <Field ConfLength="NA" Datatype="XCN" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Admitting Doctor" Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" - MinLength="NA" - Name="Specimen Appropriateness" + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" + Name="Patient Type" Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="*" MaxLength="NA" Min="0" - MinLength="NA" - Name="Specimen Condition" + <Field ConfLength="NA" Datatype="CX" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Visit Number" Usage="O"/> - <Field ConfLength="NA" Datatype="CQ" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Specimen Current Quantity" + <Field ConfLength="NA" Datatype="FC" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Financial Class" Usage="O"/> - <Field ConfLength="NA" Datatype="NM" Max="1" MaxLength="4" Min="0" MinLength="1" - Name="Number of Specimen Containers" + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" + Name="Charge Price Indicator" Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" - MinLength="NA" - Name="Container Type" + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" + Name="Courtesy Code" Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" - MinLength="NA" - Name="Container Condition" + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" + Name="Credit Rating" Usage="O"/> - <Field ConfLength="NA" Datatype="CWE_NIH" Max="1" MaxLength="NA" Min="0" - MinLength="NA" - Name="Specimen Child Role" + <Field ConfLength="NA" Datatype="IS" Max="*" MaxLength="2" Min="0" MinLength="1" + Name="Contract Code" Usage="O"/> - </Segment> - <Segment Description="Timing/Quantity Relationship" ID="TQ2" Label="TQ2" Name="TQ2" - Version="2.5.1"> - <Field ConfLength="NA" Datatype="SI" Max="1" MaxLength="4" Min="0" MinLength="1" - Name="Set ID - TQ2" + <Field ConfLength="NA" Datatype="DT" Max="*" MaxLength="8" Min="0" MinLength="1" + Name="Contract Effective Date" Usage="O"/> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="1" Min="0" MinLength="1" - Name="Sequence/Results Flag" + <Field ConfLength="NA" Datatype="NM" Max="*" MaxLength="12" Min="0" MinLength="1" + Name="Contract Amount" Usage="O"/> - <Field ConfLength="NA" Datatype="EI" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Related Placer Number" - Usage="C"/> - <Field ConfLength="NA" Datatype="EI" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Related Filler Number" - Usage="C"/> - <Field ConfLength="NA" Datatype="EI" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Related Placer Group Number" - Usage="C"/> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="2" Min="0" MinLength="1" - Name="Sequence Condition Code" - Usage="C"/> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="1" Min="0" MinLength="1" - Name="Cyclic Entry/Exit Indicator" - Usage="C"/> - <Field ConfLength="NA" Datatype="CQ" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Sequence Condition Time Interval" + <Field ConfLength="NA" Datatype="NM" Max="*" MaxLength="3" Min="0" MinLength="1" + Name="Contract Period" Usage="O"/> - <Field ConfLength="NA" Datatype="NM" Max="1" MaxLength="10" Min="0" MinLength="1" - Name="Cyclic Group Maximum Number of Repeats" + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" + Name="Interest Code" Usage="O"/> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="1" Min="0" MinLength="1" - Name="Special Service Request Relationship" - Usage="C"/> - </Segment> - <Segment Description="Observation/Result" ID="OBX" Label="OBX" Name="OBX" - Version="2.5.1"> - <DynamicMapping> - <Mapping Position="5" Reference="2" SecondReference="3.1"> - <Case Datatype="CX" Value="CX"/> - <Case Datatype="CF" Value="CF"/> - <Case Datatype="XTN" Value="XTN"/> - <Case Datatype="RP" Value="RP"/> - <Case Datatype="NM" Value="NM"/> - <Case Datatype="TM" Value="TM"/> - <Case Datatype="TX" Value="TX"/> - <Case Datatype="XAD" Value="XAD"/> - <Case Datatype="SN" Value="SN"/> - <Case Datatype="XCN" Value="XCN"/> - <Case Datatype="DT" Value="DT"/> - <Case Datatype="XON" Value="XON"/> - <Case Datatype="AD" Value="AD"/> - <Case Datatype="CP" Value="CP"/> - <Case Datatype="CE" Value="CE"/> - <Case Datatype="MO" Value="MO"/> - <Case Datatype="ST" Value="ST"/> - <Case Datatype="XPN" Value="XPN"/> - <Case Datatype="TS" Value="TS"/> - <Case Datatype="ED" Value="ED"/> - <Case Datatype="FT" Value="FT"/> - </Mapping> - </DynamicMapping> - <Field ConfLength="NA" Datatype="SI" Max="1" MaxLength="4" Min="0" MinLength="1" - Name="Set ID - OBX" + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="4" Min="0" MinLength="1" + Name="Transfer to Bad Debt Code" Usage="O"/> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="2" Min="0" MinLength="1" - Name="Value Type" - Usage="C"/> - <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="1" MinLength="NA" - Name="Observation Identifier" - Usage="R"/> - <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="20" Min="0" MinLength="1" - Name="Observation Sub-ID" - Usage="C"/> - <Field ConfLength="NA" Datatype="var" Max="*" MaxLength="99999" Min="0" MinLength="1" - Name="Observation Value" - Usage="C"/> - <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Units" + <Field ConfLength="NA" Datatype="DT" Max="1" MaxLength="8" Min="0" MinLength="1" + Name="Transfer to Bad Debt Date" Usage="O"/> - <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="60" Min="0" MinLength="1" - Name="References Range" + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="10" Min="0" MinLength="1" + Name="Bad Debt Agency Code" Usage="O"/> - <Field ConfLength="NA" Datatype="IS" Max="*" MaxLength="5" Min="0" MinLength="1" - Name="Abnormal Flags" + <Field ConfLength="NA" Datatype="NM" Max="1" MaxLength="12" Min="0" MinLength="1" + Name="Bad Debt Transfer Amount" Usage="O"/> - <Field ConfLength="NA" Datatype="NM" Max="1" MaxLength="5" Min="0" MinLength="1" - Name="Probability" + <Field ConfLength="NA" Datatype="NM" Max="1" MaxLength="12" Min="0" MinLength="1" + Name="Bad Debt Recovery Amount" Usage="O"/> - <Field ConfLength="NA" Datatype="ID" Max="*" MaxLength="2" Min="0" MinLength="1" - Name="Nature of Abnormal Test" + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="1" Min="0" MinLength="1" + Name="Delete Account Indicator" Usage="O"/> - <Field ConfLength="NA" Datatype="ID" Max="1" MaxLength="1" Min="1" MinLength="1" - Name="Observation Result Status" - Usage="R"/> - <Field ConfLength="NA" Datatype="TS" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Effective Date of Reference Range Values" + <Field ConfLength="NA" Datatype="DT" Max="1" MaxLength="8" Min="0" MinLength="1" + Name="Delete Account Date" Usage="O"/> - <Field ConfLength="NA" Datatype="ST" Max="1" MaxLength="20" Min="0" MinLength="1" - Name="User Defined Access Checks" + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="3" Min="0" MinLength="1" + Name="Discharge Disposition" Usage="O"/> - <Field ConfLength="NA" Datatype="TS" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Date/Time of the Observation" + <Field ConfLength="NA" Datatype="DLD" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Discharged to Location" Usage="O"/> <Field ConfLength="NA" Datatype="CE" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Producer's Reference" + Name="Diet Type" Usage="O"/> - <Field ConfLength="NA" Datatype="XCN" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Responsible Observer" + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" + Name="Servicing Facility" Usage="O"/> - <Field ConfLength="NA" Datatype="CE" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Observation Method" + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="1" Min="0" MinLength="1" + Name="Bed Status" + Usage="B"/> + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="2" Min="0" MinLength="1" + Name="Account Status" Usage="O"/> - <Field ConfLength="NA" Datatype="EI" Max="*" MaxLength="NA" Min="0" MinLength="NA" - Name="Equipment Instance Identifier" + <Field ConfLength="NA" Datatype="PL" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Pending Location" + Usage="O"/> + <Field ConfLength="NA" Datatype="PL" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Prior Temporary Location" Usage="O"/> <Field ConfLength="NA" Datatype="TS" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Date/Time of the Analysis" + Name="Admit Date/Time" + Usage="O"/> + <Field ConfLength="NA" Datatype="TS" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Discharge Date/Time" Usage="O"/> - <Field ConfLength="NA" Datatype="var" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Reserved for harmonization with V2.6" + <Field ConfLength="NA" Datatype="NM" Max="1" MaxLength="12" Min="0" MinLength="1" + Name="Current Patient Balance" Usage="O"/> - <Field ConfLength="NA" Datatype="var" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Reserved for harmonization with V2.6" + <Field ConfLength="NA" Datatype="NM" Max="1" MaxLength="12" Min="0" MinLength="1" + Name="Total Charges" Usage="O"/> - <Field ConfLength="NA" Datatype="var" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Reserved for harmonization with V2.6" + <Field ConfLength="NA" Datatype="NM" Max="1" MaxLength="12" Min="0" MinLength="1" + Name="Total Adjustments" Usage="O"/> - <Field ConfLength="NA" Datatype="XON" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Performing Organization Name" + <Field ConfLength="NA" Datatype="NM" Max="1" MaxLength="12" Min="0" MinLength="1" + Name="Total Payments" Usage="O"/> - <Field ConfLength="NA" Datatype="XAD" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Performing Organization Address" + <Field ConfLength="NA" Datatype="CX" Max="1" MaxLength="NA" Min="0" MinLength="NA" + Name="Alternate Visit ID" Usage="O"/> - <Field ConfLength="NA" Datatype="XCN" Max="1" MaxLength="NA" Min="0" MinLength="NA" - Name="Performing Organization Medical Director" + <Field ConfLength="NA" Datatype="IS" Max="1" MaxLength="1" Min="0" MinLength="1" + Name="Visit Indicator" Usage="O"/> + <Field ConfLength="NA" Datatype="XCN" Max="*" MaxLength="NA" Min="0" MinLength="NA" + Name="Other Healthcare Provider" + Usage="B"/> </Segment> </Segments> <Datatypes> - <Datatype Description="Discharge Location and Date" ID="DLD" Label="DLD" Name="DLD" + <Datatype Description="Hierarchic Designator" ID="HD_MSH" Label="HD_MSH" Name="HD" Version="2.5.1"> - <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" - Name="Discharge Location" + <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Namespace ID" + Usage="R"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Universal ID" + Usage="R"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="6" MinLength="1" + Name="Universal ID Type" Usage="R"/> - <Component ConfLength="NA" Datatype="TS" MaxLength="NA" MinLength="NA" - Name="Effective Date" - Usage="O"/> </Datatype> - <Datatype Description="Extended Composite ID with Check Digit" ID="CX_NIH2" - Label="CX_NIH2" - Name="CX" + <Datatype Description="Entity Identifier" ID="EI_NIH2" Label="EI_NIH2" Name="EI" Version="2.5.1"> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="ID Number" + <Component ConfLength="NA" Datatype="ST" MaxLength="100" MinLength="1" + Name="Entity Identifier" Usage="R"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="1" MinLength="1" Name="Check Digit" - Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="1" - Name="Check Digit Scheme" + <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Namespace ID" Usage="O"/> - <Component ConfLength="NA" Datatype="HD_NIH2" MaxLength="NA" MinLength="NA" - Name="Assigning Authority" + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Universal ID" Usage="RE"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="5" MinLength="1" - Name="Identifier Type Code" + <Component ConfLength="NA" Datatype="ID" MaxLength="6" MinLength="1" + Name="Universal ID Type" Usage="RE"/> - <Component ConfLength="NA" Datatype="HD_NIH" MaxLength="NA" MinLength="NA" - Name="Assigning Facility" + </Datatype> + <Datatype Description="Money and Code" ID="MOC" Label="MOC" Name="MOC" Version="2.5.1"> + <Component ConfLength="NA" Datatype="MO" MaxLength="NA" MinLength="NA" + Name="Monetary Amount" Usage="O"/> - <Component ConfLength="NA" Datatype="DT" MaxLength="8" MinLength="1" Name="Effective Date" + <Component ConfLength="NA" Datatype="CE" MaxLength="NA" MinLength="NA" Name="Charge Code" Usage="O"/> - <Component ConfLength="NA" Datatype="DT" MaxLength="8" MinLength="1" - Name="Expiration Date" + </Datatype> + <Datatype Description="Entity Identifier" ID="EI" Label="EI" Name="EI" Version="2.5.1"> + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" + Name="Entity Identifier" Usage="O"/> - <Component ConfLength="NA" Datatype="CWE_NIH" MaxLength="NA" MinLength="NA" - Name="Assigning Jurisdiction" + <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Namespace ID" Usage="O"/> - <Component ConfLength="NA" Datatype="CWE_NIH" MaxLength="NA" MinLength="NA" - Name="Assigning Agency or Department" + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Universal ID" + Usage="C"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="6" MinLength="1" + Name="Universal ID Type" + Usage="C"/> + </Datatype> + <Datatype Description="Job Code/Class" ID="JCC" Label="JCC" Name="JCC" Version="2.5.1"> + <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Job Code" + Usage="O"/> + <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Job Class" + Usage="O"/> + <Component ConfLength="NA" Datatype="TX" MaxLength="250" MinLength="1" + Name="Job Description Text" Usage="O"/> </Datatype> - <Datatype Description="Extended Composite Name and Identification Number for Organizations" - ID="XON_SFT" - Label="XON_SFT" - Name="XON" + <Datatype Description="Hierarchic Designator" ID="HD_NIH2" Label="HD_NIH2" Name="HD" Version="2.5.1"> - <Component ConfLength="NA" Datatype="ST" MaxLength="50" MinLength="1" - Name="Organization Name" - Usage="R"/> - <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" - Name="Organization Name Type Code" - Usage="O"/> - <Component ConfLength="NA" Datatype="NM" MaxLength="4" MinLength="1" Name="ID Number" - Usage="B"/> - <Component ConfLength="NA" Datatype="NM" MaxLength="1" MinLength="1" Name="Check Digit" + <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Namespace ID" Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="1" - Name="Check Digit Scheme" + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Universal ID" + Usage="RE"/> + <Component ConfLength="NA" ConstantValue="ISO" Datatype="ID" MaxLength="6" MinLength="1" + Name="Universal ID Type" + Usage="RE"/> + </Datatype> + <Datatype Description="Coded Element" ID="CE" Label="CE" Name="CE" Version="2.5.1"> + <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" Name="Identifier" Usage="O"/> - <Component ConfLength="NA" Datatype="HD" MaxLength="NA" MinLength="NA" - Name="Assigning Authority" + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Text" Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="5" MinLength="1" - Name="Identifier Type Code" + <Component ConfLength="NA" Datatype="ID" MaxLength="20" MinLength="1" + Name="Name of Coding System" Usage="O"/> - <Component ConfLength="NA" Datatype="HD" MaxLength="NA" MinLength="NA" - Name="Assigning Facility" + <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" + Name="Alternate Identifier" Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" - Name="Name Representation Code" + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" + Name="Alternate Text" Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" - Name="Organization Identifier" + <Component ConfLength="NA" Datatype="ID" MaxLength="20" MinLength="1" + Name="Name of Alternate Coding System" Usage="O"/> </Datatype> - <Datatype Description="General Timing Specification" ID="GTS" Label="GTS" Name="GTS" - Version="2.5.1"/> <Datatype Description="Extended Composite ID Number and Name for Persons" ID="XCN_NIH" Label="XCN_NIH" Name="XCN" @@ -1893,6 +1668,164 @@ Name="Assigning Agency or Department" Usage="O"/> </Datatype> + <Datatype Description="String Data" ID="ID" Label="ID" Name="ID" Version="2.5.1"/> + <Datatype Description="Entity Identifier Pair" ID="EIP" Label="EIP" Name="EIP" + Version="2.5.1"> + <Component ConfLength="NA" Datatype="EI" MaxLength="NA" MinLength="NA" + Name="Placer Assigned Identifier" + Usage="O"/> + <Component ConfLength="NA" Datatype="EI" MaxLength="NA" MinLength="NA" + Name="Filler Assigned Identifier" + Usage="O"/> + </Datatype> + <Datatype Description="Discharge Location and Date" ID="DLD" Label="DLD" Name="DLD" + Version="2.5.1"> + <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" + Name="Discharge Location" + Usage="R"/> + <Component ConfLength="NA" Datatype="TS" MaxLength="NA" MinLength="NA" + Name="Effective Date" + Usage="O"/> + </Datatype> + <Datatype Description="Order Sequence Definition" ID="OSD" Label="OSD" Name="OSD" + Version="2.5.1"> + <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" + Name="Sequence/Results Flag" + Usage="R"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="15" MinLength="1" + Name="Placer Order Number: Entity Identifier" + Usage="R"/> + <Component ConfLength="NA" Datatype="IS" MaxLength="6" MinLength="1" + Name="Placer Order Number: Namespace ID" + Usage="O"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="15" MinLength="1" + Name="Filler Order Number: Entity Identifier" + Usage="R"/> + <Component ConfLength="NA" Datatype="IS" MaxLength="6" MinLength="1" + Name="Filler Order Number: Namespace ID" + Usage="O"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="12" MinLength="1" + Name="Sequence Condition Value" + Usage="O"/> + <Component ConfLength="NA" Datatype="NM" MaxLength="3" MinLength="1" + Name="Maximum Number of Repeats" + Usage="O"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="15" MinLength="1" + Name="Placer Order Number: Universal ID" + Usage="R"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="6" MinLength="1" + Name="Placer Order Number: Universal ID Type" + Usage="O"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="15" MinLength="1" + Name="Filler Order Number: Universal ID" + Usage="R"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="6" MinLength="1" + Name="Filler Order Number: Universal ID Type" + Usage="O"/> + </Datatype> + <Datatype Description="Extended Person Name" ID="XPN_NIH" Label="XPN_NIH" Name="XPN" + Version="2.5.1"> + <Component ConfLength="NA" Datatype="FN" MaxLength="NA" MinLength="NA" Name="Family Name" + Usage="O"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="30" MinLength="1" Name="Given Name" + Usage="O"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="30" MinLength="1" + Name="Second and Further Given Names or Initials Thereof" + Usage="O"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" + Name="Suffix (e.g., JR or III)" + Usage="O"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" + Name="Prefix (e.g., DR)" + Usage="O"/> + <Component ConfLength="NA" Datatype="IS" MaxLength="6" MinLength="1" + Name="Degree (e.g., MD)" + Usage="O"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" Name="Name Type Code" + Usage="O"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" + Name="Name Representation Code" + Usage="O"/> + <Component ConfLength="NA" Datatype="CE" MaxLength="NA" MinLength="NA" Name="Name Context" + Usage="O"/> + <Component ConfLength="NA" Datatype="DR_NIST" MaxLength="NA" MinLength="NA" + Name="Name Validity Range" + Usage="X"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" + Name="Name Assembly Order" + Usage="O"/> + <Component ConfLength="NA" Datatype="TS" MaxLength="NA" MinLength="NA" + Name="Effective Date" + Usage="O"/> + <Component ConfLength="NA" Datatype="TS" MaxLength="NA" MinLength="NA" + Name="Expiration Date" + Usage="O"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" + Name="Professional Suffix" + Usage="O"/> + </Datatype> + <Datatype Description="Hierarchic Designator" ID="HD" Label="HD" Name="HD" + Version="2.5.1"> + <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Namespace ID" + Usage="O"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Universal ID" + Usage="C"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="6" MinLength="1" + Name="Universal ID Type" + Usage="C"/> + </Datatype> + <Datatype Description="Extended Telecommunication Number" ID="XTN_ORC-23" + Label="XTN_ORC-23" + Name="XTN" + Version="2.5.1"> + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" + Name="Telephone Number" + Usage="X"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="1" + Name="Telecommunication Use Code" + Usage="O"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="8" MinLength="1" + Name="Telecommunication Equipment Type" + Usage="O"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" + Name="Email Address" + Usage="C"/> + <Component ConfLength="NA" Datatype="NM" MaxLength="3" MinLength="1" Name="Country Code" + Usage="C"/> + <Component ConfLength="NA" Datatype="NM" MaxLength="5" MinLength="1" Name="Area/City Code" + Usage="C"/> + <Component ConfLength="NA" Datatype="NM" MaxLength="9" MinLength="1" Name="Local Number" + Usage="C"/> + <Component ConfLength="NA" Datatype="NM" MaxLength="5" MinLength="1" Name="Extension" + Usage="C"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Any Text" + Usage="O"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="4" MinLength="1" + Name="Extension Prefix" + Usage="O"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="6" MinLength="1" + Name="Speed Dial Code" + Usage="O"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" + Name="Unformatted Telephone number" + Usage="C"/> + </Datatype> + <Datatype Description="Time Stamp" ID="TS_NIH" Label="TS_NIH" Name="TS" Version="2.5.1"> + <Component ConfLength="NA" Datatype="DTM" MaxLength="26" MinLength="4" Name="Time" + Usage="R"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" + Name="Degree of Precision" + Usage="X"/> + </Datatype> + <Datatype Description="Entity Identifier Pair" ID="EIP_NIH2" Label="EIP_NIH2" Name="EIP" + Version="2.5.1"> + <Component ConfLength="NA" Datatype="EI_NIH" MaxLength="NA" MinLength="NA" + Name="Placer Assigned Identifier" + Usage="O"/> + <Component ConfLength="NA" Datatype="EI_NIH2" MaxLength="NA" MinLength="NA" + Name="Filler Assigned Identifier" + Usage="R"/> + </Datatype> <Datatype Description="Extended Address" ID="XAD_OBX-24" Label="XAD_OBX-24" Name="XAD" Version="2.5.1"> <Component ConfLength="NA" Datatype="SAD_NIH" MaxLength="NA" MinLength="NA" @@ -1934,232 +1867,234 @@ Name="Expiration Date" Usage="O"/> </Datatype> - <Datatype Description="Specimen Source" ID="SPS" Label="SPS" Name="SPS" Version="2.5.1"> - <Component ConfLength="NA" Datatype="CWE" MaxLength="NA" MinLength="NA" - Name="Specimen Source Name or Code" - Usage="O"/> - <Component ConfLength="NA" Datatype="CWE" MaxLength="NA" MinLength="NA" Name="Additives" - Usage="O"/> - <Component ConfLength="NA" Datatype="TX" MaxLength="200" MinLength="1" - Name="Specimen Collection Method" - Usage="O"/> - <Component ConfLength="NA" Datatype="CWE" MaxLength="NA" MinLength="NA" Name="Body Site" - Usage="O"/> - <Component ConfLength="NA" Datatype="CWE" MaxLength="NA" MinLength="NA" - Name="Site Modifier" - Usage="O"/> - <Component ConfLength="NA" Datatype="CWE" MaxLength="NA" MinLength="NA" - Name="Collection Method Modifier Code" - Usage="O"/> - <Component ConfLength="NA" Datatype="CWE" MaxLength="NA" MinLength="NA" - Name="Specimen Role" - Usage="O"/> - </Datatype> - <Datatype Description="Entity Identifier Pair" ID="EIP_NIH2" Label="EIP_NIH2" Name="EIP" - Version="2.5.1"> - <Component ConfLength="NA" Datatype="EI_NIH" MaxLength="NA" MinLength="NA" - Name="Placer Assigned Identifier" - Usage="O"/> - <Component ConfLength="NA" Datatype="EI_NIH2" MaxLength="NA" MinLength="NA" - Name="Filler Assigned Identifier" - Usage="R"/> - </Datatype> - <Datatype Description="Structured Numeric" ID="SN" Label="SN" Name="SN" Version="2.5.1"> - <Component ConfLength="NA" Datatype="ST" MaxLength="2" MinLength="1" Name="Comparator" - Usage="O"/> - <Component ConfLength="NA" Datatype="NM" MaxLength="15" MinLength="1" Name="Num1" - Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="1" MinLength="1" - Name="Separator/Suffix" + <Datatype Description="Money" ID="MO" Label="MO" Name="MO" Version="2.5.1"> + <Component ConfLength="NA" Datatype="NM" MaxLength="16" MinLength="1" Name="Quantity" Usage="O"/> - <Component ConfLength="NA" Datatype="NM" MaxLength="15" MinLength="1" Name="Num2" + <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="1" Name="Denomination" Usage="O"/> </Datatype> - <Datatype Description="Hierarchic Designator" ID="HD_MSH" Label="HD_MSH" Name="HD" - Version="2.5.1"> - <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Namespace ID" - Usage="R"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Universal ID" - Usage="R"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="6" MinLength="1" - Name="Universal ID Type" - Usage="R"/> - </Datatype> - <Datatype Description="Family Name" ID="FN" Label="FN" Name="FN" Version="2.5.1"> - <Component ConfLength="NA" Datatype="ST" MaxLength="50" MinLength="1" Name="Surname" - Usage="R"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" - Name="Own Surname Prefix" + <Datatype Description="Extended Address" ID="XAD_NIH2" Label="XAD_NIH2" Name="XAD" + Version="2.5.1"> + <Component ConfLength="NA" Datatype="SAD_NIH" MaxLength="NA" MinLength="NA" + Name="Street Address" Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="50" MinLength="1" Name="Own Surname" + <Component ConfLength="NA" Datatype="ST" MaxLength="120" MinLength="1" + Name="Other Designation" Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" - Name="Surname Prefix From Partner/Spouse" + <Component ConfLength="NA" Datatype="ST" MaxLength="50" MinLength="1" Name="City" Usage="O"/> <Component ConfLength="NA" Datatype="ST" MaxLength="50" MinLength="1" - Name="Surname From Partner/Spouse" - Usage="O"/> - </Datatype> - <Datatype Description="Person Location" ID="PL" Label="PL" Name="PL" Version="2.5.1"> - <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Point of Care" + Name="State or Province" Usage="O"/> - <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Room" + <Component ConfLength="NA" Datatype="ST" MaxLength="12" MinLength="1" + Name="Zip or Postal Code" + Usage="R"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="1" Name="Country" Usage="O"/> - <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Bed" Usage="O"/> - <Component ConfLength="NA" Datatype="HD" MaxLength="NA" MinLength="NA" Name="Facility" + <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="1" Name="Address Type" Usage="O"/> - <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" - Name="Location Status" + <Component ConfLength="NA" Datatype="ST" MaxLength="50" MinLength="1" + Name="Other Geographic Designation" Usage="O"/> <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" - Name="Person Location Type" - Usage="C"/> - <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Building" + Name="County/Parish Code" Usage="O"/> - <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Floor" + <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Census Tract" Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" - Name="Location Description" + <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" + Name="Address Representation Code" Usage="O"/> - <Component ConfLength="NA" Datatype="EI" MaxLength="NA" MinLength="NA" - Name="Comprehensive Location Identifier" + <Component ConfLength="NA" Datatype="DR_NIST" MaxLength="NA" MinLength="NA" + Name="Address Validity Range" + Usage="X"/> + <Component ConfLength="NA" Datatype="TS" MaxLength="NA" MinLength="NA" + Name="Effective Date" Usage="O"/> - <Component ConfLength="NA" Datatype="HD" MaxLength="NA" MinLength="NA" - Name="Assigning Authority for Location" + <Component ConfLength="NA" Datatype="TS" MaxLength="NA" MinLength="NA" + Name="Expiration Date" Usage="O"/> </Datatype> - <Datatype Description="String Data" ID="ID" Label="ID" Name="ID" Version="2.5.1"/> - <Datatype Description="Composite Quantity with Units" ID="CQ_NIST" Label="CQ_NIST" - Name="CQ_NIST" + <Datatype Description="Version Identifier" ID="VID_NIH" Label="VID_NIH" Name="VID" Version="2.5.1"> - <Component ConfLength="NA" Datatype="NM" MaxLength="16" MinLength="1" Name="Quantity" + <Component ConfLength="NA" Datatype="ID" MaxLength="5" MinLength="3" Name="Version ID" + Usage="R"/> + <Component ConfLength="NA" Datatype="CE" MaxLength="NA" MinLength="NA" + Name="Internationalization Code" Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="483" MinLength="1" Name="Units" + <Component ConfLength="NA" Datatype="CE" MaxLength="NA" MinLength="NA" + Name="International Version ID" Usage="O"/> </Datatype> - <Datatype Description="Name with Date and Location" ID="NDL" Label="NDL" Name="NDL" + <Datatype Description="Extended Person Name" ID="XPN" Label="XPN" Name="XPN" Version="2.5.1"> - <Component ConfLength="NA" Datatype="CNN" MaxLength="NA" MinLength="NA" Name="Name" - Usage="O"/> - <Component ConfLength="NA" Datatype="TS" MaxLength="NA" MinLength="NA" - Name="Start Date/time" + <Component ConfLength="NA" Datatype="FN" MaxLength="NA" MinLength="NA" Name="Family Name" Usage="O"/> - <Component ConfLength="NA" Datatype="TS" MaxLength="NA" MinLength="NA" - Name="End Date/time" + <Component ConfLength="NA" Datatype="ST" MaxLength="30" MinLength="1" Name="Given Name" Usage="O"/> - <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Point of Care" + <Component ConfLength="NA" Datatype="ST" MaxLength="30" MinLength="1" + Name="Second and Further Given Names or Initials Thereof" Usage="O"/> - <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Room" + <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" + Name="Suffix (e.g., JR or III)" Usage="O"/> - <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Bed" Usage="O"/> - <Component ConfLength="NA" Datatype="HD" MaxLength="NA" MinLength="NA" Name="Facility" + <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" + Name="Prefix (e.g., DR)" Usage="O"/> - <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" - Name="Location Status" + <Component ConfLength="NA" Datatype="IS" MaxLength="6" MinLength="1" + Name="Degree (e.g., MD)" + Usage="B"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" Name="Name Type Code" Usage="O"/> - <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" - Name="Patient Location Type" + <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" + Name="Name Representation Code" Usage="O"/> - <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Building" + <Component ConfLength="NA" Datatype="CE" MaxLength="NA" MinLength="NA" Name="Name Context" Usage="O"/> - <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Floor" + <Component ConfLength="NA" Datatype="DR_NIST" MaxLength="NA" MinLength="NA" + Name="Name Validity Range" + Usage="B"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" + Name="Name Assembly Order" Usage="O"/> - </Datatype> - <Datatype Description="Date" ID="DT" Label="DT" Name="DT" Version="2.5.1"/> - <Datatype Description="Driver's License Number" ID="DLN" Label="DLN" Name="DLN" - Version="2.5.1"> - <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" - Name="License Number" - Usage="R"/> - <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" - Name="Issuing State, Province, Country" + <Component ConfLength="NA" Datatype="TS" MaxLength="NA" MinLength="NA" + Name="Effective Date" Usage="O"/> - <Component ConfLength="NA" Datatype="DT" MaxLength="24" MinLength="1" + <Component ConfLength="NA" Datatype="TS" MaxLength="NA" MinLength="NA" Name="Expiration Date" Usage="O"/> - </Datatype> - <Datatype Description="Coded with Exceptions" ID="CWE_OBX-17" Label="CWE_OBX-17" - Name="CWE" - Version="2.5.1"> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Identifier" - Usage="R"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Text" - Usage="C"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="20" MinLength="1" - Name="Name of Coding System" - Usage="C"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" - Name="Alternate Identifier" - Usage="X"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" - Name="Alternate Text" - Usage="X"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="20" MinLength="1" - Name="Name of Alternate Coding System" - Usage="X"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="10" MinLength="1" - Name="Coding System Version ID" - Usage="C"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="10" MinLength="1" - Name="Alternate Coding System Version ID" - Usage="X"/> <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" - Name="Original Text" - Usage="C"/> + Name="Professional Suffix" + Usage="O"/> </Datatype> - <Datatype Description="Hierarchic Designator" ID="HD_NIH2" Label="HD_NIH2" Name="HD" + <Datatype Description="Entity Identifier" ID="EI_NIH3" Label="EI_NIH3" Name="EI" Version="2.5.1"> + <Component ConfLength="NA" Datatype="ST" MaxLength="100" MinLength="1" + Name="Entity Identifier" + Usage="RE"/> <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Namespace ID" Usage="O"/> <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Universal ID" Usage="RE"/> - <Component ConfLength="NA" ConstantValue="ISO" Datatype="ID" MaxLength="6" MinLength="1" + <Component ConfLength="NA" Datatype="ID" MaxLength="6" MinLength="1" Name="Universal ID Type" Usage="RE"/> </Datatype> - <Datatype Description="Time" ID="TM" Label="TM" Name="TM" Version="2.5.1"/> - <Datatype Description="Repeat Interval" ID="RI" Label="RI" Name="RI" Version="2.5.1"> - <Component ConfLength="NA" Datatype="IS" MaxLength="6" MinLength="1" Name="Repeat Pattern" - Usage="O"/> + <Datatype Description="Extended Telecommunication Number" ID="XTN_NIH2" Label="XTN_NIH2" + Name="XTN" + Version="2.5.1"> <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" - Name="Explicit Time Interval" + Name="Telephone Number" + Usage="X"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="1" + Name="Telecommunication Use Code" Usage="O"/> - </Datatype> - <Datatype Description="Entity Identifier" ID="EI" Label="EI" Name="EI" Version="2.5.1"> + <Component ConfLength="NA" Datatype="ID" MaxLength="8" MinLength="1" + Name="Telecommunication Equipment Type" + Usage="RE"/> <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" - Name="Entity Identifier" + Name="Email Address" + Usage="C"/> + <Component ConfLength="NA" Datatype="NM" MaxLength="3" MinLength="1" Name="Country Code" + Usage="C"/> + <Component ConfLength="NA" Datatype="NM" MaxLength="5" MinLength="1" Name="Area/City Code" + Usage="C"/> + <Component ConfLength="NA" Datatype="NM" MaxLength="9" MinLength="1" Name="Local Number" + Usage="C"/> + <Component ConfLength="NA" Datatype="NM" MaxLength="5" MinLength="1" Name="Extension" + Usage="C"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Any Text" Usage="O"/> - <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Namespace ID" + <Component ConfLength="NA" Datatype="ST" MaxLength="4" MinLength="1" + Name="Extension Prefix" Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Universal ID" - Usage="C"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="6" MinLength="1" - Name="Universal ID Type" + <Component ConfLength="NA" Datatype="ST" MaxLength="6" MinLength="1" + Name="Speed Dial Code" + Usage="O"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" + Name="Unformatted Telephone number" Usage="C"/> </Datatype> - <Datatype Description="Time Stamp" ID="TS_NIH2" Label="TS_NIH2" Name="TS" Version="2.5.1"> - <Component ConfLength="NA" Datatype="DTM" MaxLength="26" MinLength="4" Name="Time" + <Datatype Description="Extended Composite ID with Check Digit" ID="CX_NIH2" + Label="CX_NIH2" + Name="CX" + Version="2.5.1"> + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="ID Number" + Usage="R"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="1" MinLength="1" Name="Check Digit" + Usage="O"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="1" + Name="Check Digit Scheme" + Usage="O"/> + <Component ConfLength="NA" Datatype="HD_NIH2" MaxLength="NA" MinLength="NA" + Name="Assigning Authority" Usage="RE"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" - Name="Degree of Precision" - Usage="X"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="5" MinLength="1" + Name="Identifier Type Code" + Usage="RE"/> + <Component ConfLength="NA" Datatype="HD_NIH" MaxLength="NA" MinLength="NA" + Name="Assigning Facility" + Usage="O"/> + <Component ConfLength="NA" Datatype="DT" MaxLength="8" MinLength="1" Name="Effective Date" + Usage="O"/> + <Component ConfLength="NA" Datatype="DT" MaxLength="8" MinLength="1" + Name="Expiration Date" + Usage="O"/> + <Component ConfLength="NA" Datatype="CWE_NIH" MaxLength="NA" MinLength="NA" + Name="Assigning Jurisdiction" + Usage="O"/> + <Component ConfLength="NA" Datatype="CWE_NIH" MaxLength="NA" MinLength="NA" + Name="Assigning Agency or Department" + Usage="O"/> </Datatype> - <Datatype Description="Coded Element" ID="CE" Label="CE" Name="CE" Version="2.5.1"> - <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" Name="Identifier" + <Datatype Description="Numeric" ID="NM" Label="NM" Name="NM" Version="2.5.1"/> + <Datatype Description="Extended Composite Name and Identification Number for Organizations" + ID="XON" + Label="XON" + Name="XON" + Version="2.5.1"> + <Component ConfLength="NA" Datatype="ST" MaxLength="50" MinLength="1" + Name="Organization Name" + Usage="O"/> + <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" + Name="Organization Name Type Code" + Usage="O"/> + <Component ConfLength="NA" Datatype="NM" MaxLength="4" MinLength="1" Name="ID Number" + Usage="B"/> + <Component ConfLength="NA" Datatype="NM" MaxLength="1" MinLength="1" Name="Check Digit" + Usage="O"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="1" + Name="Check Digit Scheme" + Usage="O"/> + <Component ConfLength="NA" Datatype="HD" MaxLength="NA" MinLength="NA" + Name="Assigning Authority" + Usage="O"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="5" MinLength="1" + Name="Identifier Type Code" + Usage="O"/> + <Component ConfLength="NA" Datatype="HD" MaxLength="NA" MinLength="NA" + Name="Assigning Facility" + Usage="O"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" + Name="Name Representation Code" Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Text" + <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" + Name="Organization Identifier" Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="20" MinLength="1" - Name="Name of Coding System" + </Datatype> + <Datatype Description="Formatted Text Data" ID="FT" Label="FT" Name="FT" Version="2.5.1"/> + <Datatype Description="Sequence ID" ID="SI" Label="SI" Name="SI" Version="2.5.1"/> + <Datatype Description="Composite Price" ID="CP" Label="CP" Name="CP" Version="2.5.1"> + <Component ConfLength="NA" Datatype="MO" MaxLength="NA" MinLength="NA" Name="Price" + Usage="R"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="2" MinLength="1" Name="Price Type" Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" - Name="Alternate Identifier" + <Component ConfLength="NA" Datatype="NM" MaxLength="16" MinLength="1" Name="From Value" Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" - Name="Alternate Text" + <Component ConfLength="NA" Datatype="NM" MaxLength="16" MinLength="1" Name="To Value" Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="20" MinLength="1" - Name="Name of Alternate Coding System" + <Component ConfLength="NA" Datatype="CE" MaxLength="NA" MinLength="NA" Name="Range Units" + Usage="O"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" Name="Range Type" Usage="O"/> </Datatype> <Datatype Description="Extended Address" ID="XAD_NIH" Label="XAD_NIH" Name="XAD" @@ -2203,37 +2138,97 @@ Name="Expiration Date" Usage="O"/> </Datatype> - <Datatype Description="Coded with Exceptions" ID="CWE" Label="CWE" Name="CWE" - Version="2.5.1"> - <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" Name="Identifier" + <Datatype Description="Specimen Source" ID="SPS" Label="SPS" Name="SPS" Version="2.5.1"> + <Component ConfLength="NA" Datatype="CWE" MaxLength="NA" MinLength="NA" + Name="Specimen Source Name or Code" Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Text" + <Component ConfLength="NA" Datatype="CWE" MaxLength="NA" MinLength="NA" Name="Additives" + Usage="O"/> + <Component ConfLength="NA" Datatype="TX" MaxLength="200" MinLength="1" + Name="Specimen Collection Method" + Usage="O"/> + <Component ConfLength="NA" Datatype="CWE" MaxLength="NA" MinLength="NA" Name="Body Site" + Usage="O"/> + <Component ConfLength="NA" Datatype="CWE" MaxLength="NA" MinLength="NA" + Name="Site Modifier" + Usage="O"/> + <Component ConfLength="NA" Datatype="CWE" MaxLength="NA" MinLength="NA" + Name="Collection Method Modifier Code" + Usage="O"/> + <Component ConfLength="NA" Datatype="CWE" MaxLength="NA" MinLength="NA" + Name="Specimen Role" Usage="O"/> + </Datatype> + <Datatype Description="Coded with Exceptions" ID="CWE_NIH4" Label="CWE_NIH4" Name="CWE" + Version="2.5.1"> + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Identifier" + Usage="RE"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Text" + Usage="C"/> <Component ConfLength="NA" Datatype="ID" MaxLength="20" MinLength="1" Name="Name of Coding System" - Usage="O"/> + Usage="C"/> <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" Name="Alternate Identifier" - Usage="O"/> + Usage="X"/> <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Alternate Text" - Usage="O"/> + Usage="X"/> <Component ConfLength="NA" Datatype="ID" MaxLength="20" MinLength="1" Name="Name of Alternate Coding System" - Usage="O"/> + Usage="X"/> <Component ConfLength="NA" Datatype="ST" MaxLength="10" MinLength="1" Name="Coding System Version ID" Usage="C"/> <Component ConfLength="NA" Datatype="ST" MaxLength="10" MinLength="1" Name="Alternate Coding System Version ID" - Usage="O"/> + Usage="X"/> <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Original Text" + Usage="C"/> + </Datatype> + <Datatype Description="Repeat Pattern" ID="RPT" Label="RPT" Name="RPT" Version="2.5.1"> + <Component ConfLength="NA" Datatype="CWE" MaxLength="NA" MinLength="NA" + Name="Repeat Pattern Code" + Usage="R"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="2" MinLength="1" + Name="Calendar Alignment" + Usage="O"/> + <Component ConfLength="NA" Datatype="NM" MaxLength="10" MinLength="1" + Name="Phase Range Begin Value" + Usage="O"/> + <Component ConfLength="NA" Datatype="NM" MaxLength="10" MinLength="1" + Name="Phase Range End Value" + Usage="O"/> + <Component ConfLength="NA" Datatype="NM" MaxLength="10" MinLength="1" + Name="Period Quantity" + Usage="O"/> + <Component ConfLength="NA" Datatype="IS" MaxLength="10" MinLength="1" Name="Period Units" + Usage="C"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" + Name="Institution Specified Time" + Usage="O"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="6" MinLength="1" Name="Event" + Usage="O"/> + <Component ConfLength="NA" Datatype="NM" MaxLength="10" MinLength="1" + Name="Event Offset Quantity" + Usage="O"/> + <Component ConfLength="NA" Datatype="IS" MaxLength="10" MinLength="1" + Name="Event Offset Units" + Usage="C"/> + <Component ConfLength="NA" Datatype="GTS" MaxLength="200" MinLength="1" + Name="General Timing Specification" Usage="O"/> </Datatype> - <Datatype Description="Extended Address" ID="XAD_NIH2" Label="XAD_NIH2" Name="XAD" - Version="2.5.1"> - <Component ConfLength="NA" Datatype="SAD_NIH" MaxLength="NA" MinLength="NA" + <Datatype Description="Repeat Interval" ID="RI" Label="RI" Name="RI" Version="2.5.1"> + <Component ConfLength="NA" Datatype="IS" MaxLength="6" MinLength="1" Name="Repeat Pattern" + Usage="O"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" + Name="Explicit Time Interval" + Usage="O"/> + </Datatype> + <Datatype Description="Extended Address" ID="XAD" Label="XAD" Name="XAD" Version="2.5.1"> + <Component ConfLength="NA" Datatype="SAD" MaxLength="NA" MinLength="NA" Name="Street Address" Usage="O"/> <Component ConfLength="NA" Datatype="ST" MaxLength="120" MinLength="1" @@ -2246,7 +2241,7 @@ Usage="O"/> <Component ConfLength="NA" Datatype="ST" MaxLength="12" MinLength="1" Name="Zip or Postal Code" - Usage="R"/> + Usage="O"/> <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="1" Name="Country" Usage="O"/> <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="1" Name="Address Type" @@ -2264,7 +2259,7 @@ Usage="O"/> <Component ConfLength="NA" Datatype="DR_NIST" MaxLength="NA" MinLength="NA" Name="Address Validity Range" - Usage="X"/> + Usage="B"/> <Component ConfLength="NA" Datatype="TS" MaxLength="NA" MinLength="NA" Name="Effective Date" Usage="O"/> @@ -2272,55 +2267,58 @@ Name="Expiration Date" Usage="O"/> </Datatype> - <Datatype Description="Composite Quantity with Units" ID="CQ" Label="CQ" Name="CQ" + <Datatype Description="String Data" ID="IS" Label="IS" Name="IS" Version="2.5.1"/> + <Datatype Description="Coded with Exceptions" ID="CWE" Label="CWE" Name="CWE" Version="2.5.1"> - <Component ConfLength="NA" Datatype="NM" MaxLength="16" MinLength="1" Name="Quantity" + <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" Name="Identifier" Usage="O"/> - <Component ConfLength="NA" Datatype="CE" MaxLength="NA" MinLength="NA" Name="Units" + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Text" Usage="O"/> - </Datatype> - <Datatype Description="Money" ID="MO" Label="MO" Name="MO" Version="2.5.1"> - <Component ConfLength="NA" Datatype="NM" MaxLength="16" MinLength="1" Name="Quantity" + <Component ConfLength="NA" Datatype="ID" MaxLength="20" MinLength="1" + Name="Name of Coding System" Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="1" Name="Denomination" + <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" + Name="Alternate Identifier" Usage="O"/> - </Datatype> - <Datatype Description="Text Data" ID="TX" Label="TX" Name="TX" Version="2.5.1"/> - <Datatype Description="Entity Identifier" ID="EI_NIH3" Label="EI_NIH3" Name="EI" - Version="2.5.1"> - <Component ConfLength="NA" Datatype="ST" MaxLength="100" MinLength="1" - Name="Entity Identifier" - Usage="RE"/> - <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Namespace ID" + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" + Name="Alternate Text" + Usage="O"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="20" MinLength="1" + Name="Name of Alternate Coding System" + Usage="O"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="10" MinLength="1" + Name="Coding System Version ID" + Usage="C"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="10" MinLength="1" + Name="Alternate Coding System Version ID" + Usage="O"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" + Name="Original Text" Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Universal ID" - Usage="RE"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="6" MinLength="1" - Name="Universal ID Type" - Usage="RE"/> </Datatype> - <Datatype Description="Extended Telecommunication Number" ID="XTN" Label="XTN" Name="XTN" + <Datatype Description="Extended Telecommunication Number" ID="XTN_NIH" Label="XTN_NIH" + Name="XTN" Version="2.5.1"> <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Telephone Number" - Usage="B"/> + Usage="X"/> <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="1" Name="Telecommunication Use Code" - Usage="O"/> + Usage="RE"/> <Component ConfLength="NA" Datatype="ID" MaxLength="8" MinLength="1" Name="Telecommunication Equipment Type" - Usage="O"/> + Usage="RE"/> <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Email Address" - Usage="O"/> + Usage="C"/> <Component ConfLength="NA" Datatype="NM" MaxLength="3" MinLength="1" Name="Country Code" - Usage="O"/> + Usage="C"/> <Component ConfLength="NA" Datatype="NM" MaxLength="5" MinLength="1" Name="Area/City Code" - Usage="O"/> + Usage="C"/> <Component ConfLength="NA" Datatype="NM" MaxLength="9" MinLength="1" Name="Local Number" - Usage="O"/> + Usage="C"/> <Component ConfLength="NA" Datatype="NM" MaxLength="5" MinLength="1" Name="Extension" - Usage="O"/> + Usage="C"/> <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Any Text" Usage="O"/> <Component ConfLength="NA" Datatype="ST" MaxLength="4" MinLength="1" @@ -2333,87 +2331,54 @@ Name="Unformatted Telephone number" Usage="C"/> </Datatype> - <Datatype Description="Address" ID="AD" Label="AD" Name="AD" Version="2.5.1"> - <Component ConfLength="NA" Datatype="ST" MaxLength="120" MinLength="1" - Name="Street Address" - Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="120" MinLength="1" - Name="Other Designation" - Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="50" MinLength="1" Name="City" - Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="50" MinLength="1" - Name="State or Province" - Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="12" MinLength="1" - Name="Zip or Postal Code" - Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="1" Name="Country" - Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="1" Name="Address Type" - Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="50" MinLength="1" - Name="Other Geographic Designation" - Usage="O"/> + <Datatype Description="Message Type" ID="MSG_NIH" Label="MSG_NIH" Name="MSG" + Version="2.5.1"> + <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="3" Name="Message Code" + Usage="R"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="3" Name="Trigger Event" + Usage="R"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="7" MinLength="3" + Name="Message Structure" + Usage="R"/> </Datatype> - <Datatype Description="Extended Composite ID with Check Digit" ID="CX" Label="CX" - Name="CX" + <Datatype Description="Coded with No Exceptions" ID="CNE" Label="CNE" Name="CNE" Version="2.5.1"> - <Component ConfLength="NA" Datatype="ST" MaxLength="15" MinLength="1" Name="ID Number" + <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" Name="Identifier" Usage="R"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="1" MinLength="1" Name="Check Digit" - Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="1" - Name="Check Digit Scheme" - Usage="O"/> - <Component ConfLength="NA" Datatype="HD" MaxLength="NA" MinLength="NA" - Name="Assigning Authority" - Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="5" MinLength="1" - Name="Identifier Type Code" - Usage="O"/> - <Component ConfLength="NA" Datatype="HD" MaxLength="NA" MinLength="NA" - Name="Assigning Facility" - Usage="O"/> - <Component ConfLength="NA" Datatype="DT" MaxLength="8" MinLength="1" Name="Effective Date" - Usage="O"/> - <Component ConfLength="NA" Datatype="DT" MaxLength="8" MinLength="1" - Name="Expiration Date" - Usage="O"/> - <Component ConfLength="NA" Datatype="CWE" MaxLength="NA" MinLength="NA" - Name="Assigning Jurisdiction" + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Text" Usage="O"/> - <Component ConfLength="NA" Datatype="CWE" MaxLength="NA" MinLength="NA" - Name="Assigning Agency or Department" + <Component ConfLength="NA" Datatype="ID" MaxLength="20" MinLength="1" + Name="Name of Coding System" Usage="O"/> - </Datatype> - <Datatype Description="Street Address" ID="SAD" Label="SAD" Name="SAD" Version="2.5.1"> - <Component ConfLength="NA" Datatype="ST" MaxLength="120" MinLength="1" - Name="Street or Mailing Address" + <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" + Name="Alternate Identifier" Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="50" MinLength="1" Name="Street Name" + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" + Name="Alternate Text" Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="12" MinLength="1" - Name="Dwelling Number" + <Component ConfLength="NA" Datatype="ID" MaxLength="20" MinLength="1" + Name="Name of Alternate Coding System" Usage="O"/> - </Datatype> - <Datatype Description="Financial Class" ID="FC" Label="FC" Name="FC" Version="2.5.1"> - <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" - Name="Financial Class Code" - Usage="R"/> - <Component ConfLength="NA" Datatype="TS" MaxLength="NA" MinLength="NA" - Name="Effective Date" + <Component ConfLength="NA" Datatype="ST" MaxLength="10" MinLength="1" + Name="Coding System Version ID" + Usage="C"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="10" MinLength="1" + Name="Alternate Coding System Version ID" + Usage="O"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" + Name="Original Text" Usage="O"/> </Datatype> - <Datatype Description="Entity Identifier Pair" ID="EIP" Label="EIP" Name="EIP" + <Datatype Description="Date/Time Range" ID="DR_NIH" Label="DR_NIH" Name="DR" Version="2.5.1"> - <Component ConfLength="NA" Datatype="EI" MaxLength="NA" MinLength="NA" - Name="Placer Assigned Identifier" - Usage="O"/> - <Component ConfLength="NA" Datatype="EI" MaxLength="NA" MinLength="NA" - Name="Filler Assigned Identifier" + <Component ConfLength="NA" Datatype="TS_NIH" MaxLength="NA" MinLength="NA" + Name="Range Start Date/Time" + Usage="R"/> + <Component ConfLength="NA" Datatype="TS_NIH" MaxLength="NA" MinLength="NA" + Name="Range End Date/Time" Usage="O"/> </Datatype> + <Datatype Description="Text Data" ID="TX" Label="TX" Name="TX" Version="2.5.1"/> <Datatype Description="Coded with Exceptions" ID="CWE_NIH3" Label="CWE_NIH3" Name="CWE" Version="2.5.1"> <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Identifier" @@ -2442,52 +2407,17 @@ Name="Original Text" Usage="O"/> </Datatype> - <Datatype Description="Message Type" ID="MSG_NIH" Label="MSG_NIH" Name="MSG" - Version="2.5.1"> - <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="3" Name="Message Code" - Usage="R"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="3" Name="Trigger Event" - Usage="R"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="7" MinLength="3" - Name="Message Structure" - Usage="R"/> - </Datatype> - <Datatype Description="Order Sequence Definition" ID="OSD" Label="OSD" Name="OSD" - Version="2.5.1"> - <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" - Name="Sequence/Results Flag" - Usage="R"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="15" MinLength="1" - Name="Placer Order Number: Entity Identifier" - Usage="R"/> - <Component ConfLength="NA" Datatype="IS" MaxLength="6" MinLength="1" - Name="Placer Order Number: Namespace ID" + <Datatype Description="Street Address" ID="SAD" Label="SAD" Name="SAD" Version="2.5.1"> + <Component ConfLength="NA" Datatype="ST" MaxLength="120" MinLength="1" + Name="Street or Mailing Address" Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="15" MinLength="1" - Name="Filler Order Number: Entity Identifier" - Usage="R"/> - <Component ConfLength="NA" Datatype="IS" MaxLength="6" MinLength="1" - Name="Filler Order Number: Namespace ID" + <Component ConfLength="NA" Datatype="ST" MaxLength="50" MinLength="1" Name="Street Name" Usage="O"/> <Component ConfLength="NA" Datatype="ST" MaxLength="12" MinLength="1" - Name="Sequence Condition Value" - Usage="O"/> - <Component ConfLength="NA" Datatype="NM" MaxLength="3" MinLength="1" - Name="Maximum Number of Repeats" - Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="15" MinLength="1" - Name="Placer Order Number: Universal ID" - Usage="R"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="6" MinLength="1" - Name="Placer Order Number: Universal ID Type" - Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="15" MinLength="1" - Name="Filler Order Number: Universal ID" - Usage="R"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="6" MinLength="1" - Name="Filler Order Number: Universal ID Type" + Name="Dwelling Number" Usage="O"/> </Datatype> + <Datatype Description="Time" ID="TM" Label="TM" Name="TM" Version="2.5.1"/> <Datatype Description="Extended Composite ID Number and Name for Persons" ID="XCN_NIH2" Label="XCN_NIH2" Name="XCN" @@ -2556,215 +2486,34 @@ Name="Assigning Agency or Department" Usage="O"/> </Datatype> - <Datatype Description="Timing Quantity" ID="TQ" Label="TQ" Name="TQ" Version="2.5.1"> - <Component ConfLength="NA" Datatype="CQ_NIST" MaxLength="NA" MinLength="NA" - Name="Quantity" - Usage="O"/> - <Component ConfLength="NA" Datatype="RI" MaxLength="NA" MinLength="NA" Name="Interval" - Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="6" MinLength="1" Name="Duration" - Usage="O"/> - <Component ConfLength="NA" Datatype="TS" MaxLength="NA" MinLength="NA" - Name="Start Date/Time" - Usage="O"/> - <Component ConfLength="NA" Datatype="TS" MaxLength="NA" MinLength="NA" - Name="End Date/Time" - Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="6" MinLength="1" Name="Priority" - Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Condition" - Usage="O"/> - <Component ConfLength="NA" Datatype="TX" MaxLength="200" MinLength="1" Name="Text" - Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" Name="Conjunction" - Usage="O"/> - <Component ConfLength="NA" Datatype="OSD" MaxLength="NA" MinLength="NA" - Name="Order Sequencing" - Usage="O"/> - <Component ConfLength="NA" Datatype="CE" MaxLength="NA" MinLength="NA" - Name="Occurrence Duration" - Usage="O"/> - <Component ConfLength="NA" Datatype="NM" MaxLength="4" MinLength="1" - Name="Total Occurrences" - Usage="O"/> - </Datatype> - <Datatype Description="Parent Result Link" ID="PRL" Label="PRL" Name="PRL" - Version="2.5.1"> - <Component ConfLength="NA" Datatype="CE" MaxLength="NA" MinLength="NA" - Name="Parent Observation Identifier" - Usage="R"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" - Name="Parent Observation Sub-identifier" + <Datatype Description="Person Location" ID="PL" Label="PL" Name="PL" Version="2.5.1"> + <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Point of Care" Usage="O"/> - <Component ConfLength="NA" Datatype="TX" MaxLength="250" MinLength="1" - Name="Parent Observation Value Descriptor" + <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Room" Usage="O"/> - </Datatype> - <Datatype Description="Coded with Exceptions" ID="CWE_NIH2" Label="CWE_NIH2" Name="CWE" - Version="2.5.1"> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Identifier" - Usage="R"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Text" - Usage="C"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="20" MinLength="1" - Name="Name of Coding System" - Usage="C"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" - Name="Alternate Identifier" - Usage="X"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" - Name="Alternate Text" - Usage="X"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="20" MinLength="1" - Name="Name of Alternate Coding System" - Usage="X"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="10" MinLength="1" - Name="Coding System Version ID" - Usage="C"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="10" MinLength="1" - Name="Alternate Coding System Version ID" - Usage="X"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" - Name="Original Text" - Usage="C"/> - </Datatype> - <Datatype Description="Extended Composite Name and Identification Number for Organizations" - ID="XON" - Label="XON" - Name="XON" - Version="2.5.1"> - <Component ConfLength="NA" Datatype="ST" MaxLength="50" MinLength="1" - Name="Organization Name" + <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Bed" Usage="O"/> + <Component ConfLength="NA" Datatype="HD" MaxLength="NA" MinLength="NA" Name="Facility" Usage="O"/> <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" - Name="Organization Name Type Code" - Usage="O"/> - <Component ConfLength="NA" Datatype="NM" MaxLength="4" MinLength="1" Name="ID Number" - Usage="B"/> - <Component ConfLength="NA" Datatype="NM" MaxLength="1" MinLength="1" Name="Check Digit" - Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="1" - Name="Check Digit Scheme" - Usage="O"/> - <Component ConfLength="NA" Datatype="HD" MaxLength="NA" MinLength="NA" - Name="Assigning Authority" - Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="5" MinLength="1" - Name="Identifier Type Code" - Usage="O"/> - <Component ConfLength="NA" Datatype="HD" MaxLength="NA" MinLength="NA" - Name="Assigning Facility" - Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" - Name="Name Representation Code" - Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" - Name="Organization Identifier" - Usage="O"/> - </Datatype> - <Datatype Description="Time Stamp" ID="TS_NIH" Label="TS_NIH" Name="TS" Version="2.5.1"> - <Component ConfLength="NA" Datatype="DTM" MaxLength="26" MinLength="4" Name="Time" - Usage="R"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" - Name="Degree of Precision" - Usage="X"/> - </Datatype> - <Datatype Description="Job Code/Class" ID="JCC" Label="JCC" Name="JCC" Version="2.5.1"> - <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Job Code" - Usage="O"/> - <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Job Class" - Usage="O"/> - <Component ConfLength="NA" Datatype="TX" MaxLength="250" MinLength="1" - Name="Job Description Text" - Usage="O"/> - </Datatype> - <Datatype Description="Practitioner License or Other ID Number" ID="PLN" Label="PLN" - Name="PLN" - Version="2.5.1"> - <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" Name="ID Number" - Usage="R"/> - <Component ConfLength="NA" Datatype="IS" MaxLength="8" MinLength="1" - Name="Type of ID Number" - Usage="R"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="62" MinLength="1" - Name="State/other Qualifying Information" - Usage="O"/> - <Component ConfLength="NA" Datatype="DT" MaxLength="8" MinLength="1" - Name="Expiration Date" - Usage="O"/> - </Datatype> - <Datatype Description="Extended Person Name" ID="XPN" Label="XPN" Name="XPN" - Version="2.5.1"> - <Component ConfLength="NA" Datatype="FN" MaxLength="NA" MinLength="NA" Name="Family Name" - Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="30" MinLength="1" Name="Given Name" - Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="30" MinLength="1" - Name="Second and Further Given Names or Initials Thereof" - Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" - Name="Suffix (e.g., JR or III)" - Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" - Name="Prefix (e.g., DR)" - Usage="O"/> - <Component ConfLength="NA" Datatype="IS" MaxLength="6" MinLength="1" - Name="Degree (e.g., MD)" - Usage="B"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" Name="Name Type Code" - Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" - Name="Name Representation Code" - Usage="O"/> - <Component ConfLength="NA" Datatype="CE" MaxLength="NA" MinLength="NA" Name="Name Context" - Usage="O"/> - <Component ConfLength="NA" Datatype="DR_NIST" MaxLength="NA" MinLength="NA" - Name="Name Validity Range" - Usage="B"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" - Name="Name Assembly Order" + Name="Location Status" Usage="O"/> - <Component ConfLength="NA" Datatype="TS" MaxLength="NA" MinLength="NA" - Name="Effective Date" + <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" + Name="Person Location Type" + Usage="C"/> + <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Building" Usage="O"/> - <Component ConfLength="NA" Datatype="TS" MaxLength="NA" MinLength="NA" - Name="Expiration Date" + <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Floor" Usage="O"/> <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" - Name="Professional Suffix" - Usage="O"/> - </Datatype> - <Datatype Description="Numeric" ID="NM" Label="NM" Name="NM" Version="2.5.1"/> - <Datatype Description="Street Address" ID="SAD_NIH" Label="SAD_NIH" Name="SAD" - Version="2.5.1"> - <Component ConfLength="NA" Datatype="ST" MaxLength="120" MinLength="1" - Name="Street or Mailing Address" - Usage="RE"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="50" MinLength="1" Name="Street Name" - Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="12" MinLength="1" - Name="Dwelling Number" + Name="Location Description" Usage="O"/> - </Datatype> - <Datatype Description="Time Stamp" ID="TS" Label="TS" Name="TS" Version="2.5.1"> - <Component ConfLength="NA" Datatype="DTM" MaxLength="24" MinLength="1" Name="Time" - Usage="R"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" - Name="Degree of Precision" - Usage="B"/> - </Datatype> - <Datatype Description="Version Identifier" ID="VID_NIH" Label="VID_NIH" Name="VID" - Version="2.5.1"> - <Component ConfLength="NA" Datatype="ID" MaxLength="5" MinLength="3" Name="Version ID" - Usage="R"/> - <Component ConfLength="NA" Datatype="CE" MaxLength="NA" MinLength="NA" - Name="Internationalization Code" + <Component ConfLength="NA" Datatype="EI" MaxLength="NA" MinLength="NA" + Name="Comprehensive Location Identifier" Usage="O"/> - <Component ConfLength="NA" Datatype="CE" MaxLength="NA" MinLength="NA" - Name="International Version ID" + <Component ConfLength="NA" Datatype="HD" MaxLength="NA" MinLength="NA" + Name="Assigning Authority for Location" Usage="O"/> </Datatype> - <Datatype Description="String Data" ID="IS" Label="IS" Name="IS" Version="2.5.1"/> <Datatype Description="Extended Composite ID Number and Name for Persons" ID="XCN" Label="XCN" Name="XCN" @@ -2833,208 +2582,138 @@ Name="Assigning Agency or Department" Usage="O"/> </Datatype> - <Datatype Description="Hierarchic Designator" ID="HD_NIH" Label="HD_NIH" Name="HD" + <Datatype Description="Name with Date and Location" ID="NDL" Label="NDL" Name="NDL" Version="2.5.1"> - <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Namespace ID" + <Component ConfLength="NA" Datatype="CNN" MaxLength="NA" MinLength="NA" Name="Name" Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Universal ID" - Usage="R"/> - <Component ConfLength="NA" ConstantValue="ISO" Datatype="ID" MaxLength="6" MinLength="1" - Name="Universal ID Type" - Usage="R"/> - </Datatype> - <Datatype Description="Extended Telecommunication Number" ID="XTN_NIH" Label="XTN_NIH" - Name="XTN" - Version="2.5.1"> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" - Name="Telephone Number" - Usage="X"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="1" - Name="Telecommunication Use Code" - Usage="RE"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="8" MinLength="1" - Name="Telecommunication Equipment Type" - Usage="R"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" - Name="Email Address" - Usage="C"/> - <Component ConfLength="NA" Datatype="NM" MaxLength="3" MinLength="1" Name="Country Code" - Usage="C"/> - <Component ConfLength="NA" Datatype="NM" MaxLength="5" MinLength="1" Name="Area/City Code" - Usage="C"/> - <Component ConfLength="NA" Datatype="NM" MaxLength="9" MinLength="1" Name="Local Number" - Usage="C"/> - <Component ConfLength="NA" Datatype="NM" MaxLength="5" MinLength="1" Name="Extension" - Usage="C"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Any Text" + <Component ConfLength="NA" Datatype="TS" MaxLength="NA" MinLength="NA" + Name="Start Date/time" Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="4" MinLength="1" - Name="Extension Prefix" + <Component ConfLength="NA" Datatype="TS" MaxLength="NA" MinLength="NA" + Name="End Date/time" Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="6" MinLength="1" - Name="Speed Dial Code" + <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Point of Care" Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" - Name="Unformatted Telephone number" - Usage="C"/> - </Datatype> - <Datatype Description="Date/Time Range" ID="DR_NIH" Label="DR_NIH" Name="DR" - Version="2.5.1"> - <Component ConfLength="NA" Datatype="TS_NIH" MaxLength="NA" MinLength="NA" - Name="Range Start Date/Time" - Usage="R"/> - <Component ConfLength="NA" Datatype="TS_NIH" MaxLength="NA" MinLength="NA" - Name="Range End Date/Time" + <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Room" + Usage="O"/> + <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Bed" Usage="O"/> + <Component ConfLength="NA" Datatype="HD" MaxLength="NA" MinLength="NA" Name="Facility" + Usage="O"/> + <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" + Name="Location Status" + Usage="O"/> + <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" + Name="Patient Location Type" + Usage="O"/> + <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Building" + Usage="O"/> + <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Floor" Usage="O"/> </Datatype> - <Datatype Description="Processing Type" ID="PT_NIH" Label="PT_NIH" Name="PT" + <Datatype Description="Parent Result Link" ID="PRL" Label="PRL" Name="PRL" Version="2.5.1"> - <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" Name="Processing ID" + <Component ConfLength="NA" Datatype="CE" MaxLength="NA" MinLength="NA" + Name="Parent Observation Identifier" Usage="R"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" - Name="Processing Mode" + <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" + Name="Parent Observation Sub-identifier" Usage="O"/> - </Datatype> - <Datatype Description="Date/Time Range" ID="DR" Label="DR" Name="DR" Version="2.5.1"> - <Component ConfLength="NA" Datatype="TS" MaxLength="NA" MinLength="NA" - Name="Range Start Date/Time" + <Component ConfLength="NA" Datatype="TX" MaxLength="250" MinLength="1" + Name="Parent Observation Value Descriptor" Usage="O"/> + </Datatype> + <Datatype Description="Financial Class" ID="FC" Label="FC" Name="FC" Version="2.5.1"> + <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" + Name="Financial Class Code" + Usage="R"/> <Component ConfLength="NA" Datatype="TS" MaxLength="NA" MinLength="NA" - Name="Range End Date/Time" + Name="Effective Date" Usage="O"/> </Datatype> - <Datatype Description="Repeat Pattern" ID="RPT" Label="RPT" Name="RPT" Version="2.5.1"> - <Component ConfLength="NA" Datatype="CWE" MaxLength="NA" MinLength="NA" - Name="Repeat Pattern Code" + <Datatype Description="Extended Composite Name and Identification Number for Organizations" + ID="XON_SFT" + Label="XON_SFT" + Name="XON" + Version="2.5.1"> + <Component ConfLength="NA" Datatype="ST" MaxLength="50" MinLength="1" + Name="Organization Name" Usage="R"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="2" MinLength="1" - Name="Calendar Alignment" + <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" + Name="Organization Name Type Code" Usage="O"/> - <Component ConfLength="NA" Datatype="NM" MaxLength="10" MinLength="1" - Name="Phase Range Begin Value" + <Component ConfLength="NA" Datatype="NM" MaxLength="4" MinLength="1" Name="ID Number" + Usage="B"/> + <Component ConfLength="NA" Datatype="NM" MaxLength="1" MinLength="1" Name="Check Digit" Usage="O"/> - <Component ConfLength="NA" Datatype="NM" MaxLength="10" MinLength="1" - Name="Phase Range End Value" + <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="1" + Name="Check Digit Scheme" Usage="O"/> - <Component ConfLength="NA" Datatype="NM" MaxLength="10" MinLength="1" - Name="Period Quantity" + <Component ConfLength="NA" Datatype="HD" MaxLength="NA" MinLength="NA" + Name="Assigning Authority" Usage="O"/> - <Component ConfLength="NA" Datatype="IS" MaxLength="10" MinLength="1" Name="Period Units" - Usage="C"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" - Name="Institution Specified Time" + <Component ConfLength="NA" Datatype="ID" MaxLength="5" MinLength="1" + Name="Identifier Type Code" Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="6" MinLength="1" Name="Event" + <Component ConfLength="NA" Datatype="HD" MaxLength="NA" MinLength="NA" + Name="Assigning Facility" Usage="O"/> - <Component ConfLength="NA" Datatype="NM" MaxLength="10" MinLength="1" - Name="Event Offset Quantity" + <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" + Name="Name Representation Code" Usage="O"/> - <Component ConfLength="NA" Datatype="IS" MaxLength="10" MinLength="1" - Name="Event Offset Units" - Usage="C"/> - <Component ConfLength="NA" Datatype="GTS" MaxLength="200" MinLength="1" - Name="General Timing Specification" + <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" + Name="Organization Identifier" Usage="O"/> </Datatype> - <Datatype Description="Formatted Text Data" ID="FT" Label="FT" Name="FT" Version="2.5.1"/> - <Datatype Description="Hierarchic Designator" ID="HD" Label="HD" Name="HD" + <Datatype Description="Composite Quantity with Units" ID="CQ_NIST" Label="CQ_NIST" + Name="CQ_NIST" Version="2.5.1"> - <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Namespace ID" + <Component ConfLength="NA" Datatype="NM" MaxLength="16" MinLength="1" Name="Quantity" + Usage="O"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="483" MinLength="1" Name="Units" Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Universal ID" - Usage="C"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="6" MinLength="1" - Name="Universal ID Type" - Usage="C"/> </Datatype> - <Datatype Description="Extended Address" ID="XAD_ORC-24" Label="XAD_ORC-24" Name="XAD" + <Datatype Description="Street Address" ID="SAD_NIH" Label="SAD_NIH" Name="SAD" Version="2.5.1"> - <Component ConfLength="NA" Datatype="SAD_NIH" MaxLength="NA" MinLength="NA" - Name="Street Address" - Usage="RE"/> <Component ConfLength="NA" Datatype="ST" MaxLength="120" MinLength="1" - Name="Other Designation" + Name="Street or Mailing Address" + Usage="RE"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="50" MinLength="1" Name="Street Name" Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="50" MinLength="1" Name="City" - Usage="C"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="50" MinLength="1" - Name="State or Province" - Usage="C"/> <Component ConfLength="NA" Datatype="ST" MaxLength="12" MinLength="1" - Name="Zip or Postal Code" - Usage="C"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="1" Name="Country" - Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="1" Name="Address Type" - Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="50" MinLength="1" - Name="Other Geographic Designation" + Name="Dwelling Number" Usage="O"/> - <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" - Name="County/Parish Code" + </Datatype> + <Datatype Description="Timing Quantity" ID="TQ" Label="TQ" Name="TQ" Version="2.5.1"> + <Component ConfLength="NA" Datatype="CQ_NIST" MaxLength="NA" MinLength="NA" + Name="Quantity" Usage="O"/> - <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Census Tract" + <Component ConfLength="NA" Datatype="RI" MaxLength="NA" MinLength="NA" Name="Interval" Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" - Name="Address Representation Code" + <Component ConfLength="NA" Datatype="ST" MaxLength="6" MinLength="1" Name="Duration" Usage="O"/> - <Component ConfLength="NA" Datatype="DR_NIST" MaxLength="NA" MinLength="NA" - Name="Address Validity Range" - Usage="X"/> <Component ConfLength="NA" Datatype="TS" MaxLength="NA" MinLength="NA" - Name="Effective Date" + Name="Start Date/Time" Usage="O"/> <Component ConfLength="NA" Datatype="TS" MaxLength="NA" MinLength="NA" - Name="Expiration Date" - Usage="O"/> - </Datatype> - <Datatype Description="Extended Telecommunication Number" ID="XTN_NIH2" Label="XTN_NIH2" - Name="XTN" - Version="2.5.1"> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" - Name="Telephone Number" - Usage="X"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="1" - Name="Telecommunication Use Code" - Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="8" MinLength="1" - Name="Telecommunication Equipment Type" - Usage="RE"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" - Name="Email Address" - Usage="C"/> - <Component ConfLength="NA" Datatype="NM" MaxLength="3" MinLength="1" Name="Country Code" - Usage="C"/> - <Component ConfLength="NA" Datatype="NM" MaxLength="5" MinLength="1" Name="Area/City Code" - Usage="C"/> - <Component ConfLength="NA" Datatype="NM" MaxLength="9" MinLength="1" Name="Local Number" - Usage="C"/> - <Component ConfLength="NA" Datatype="NM" MaxLength="5" MinLength="1" Name="Extension" - Usage="C"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Any Text" + Name="End Date/Time" Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="4" MinLength="1" - Name="Extension Prefix" + <Component ConfLength="NA" Datatype="ST" MaxLength="6" MinLength="1" Name="Priority" Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="6" MinLength="1" - Name="Speed Dial Code" + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Condition" Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" - Name="Unformatted Telephone number" - Usage="C"/> - </Datatype> - <Datatype Description="Entity Identifier" ID="EI_NIH" Label="EI_NIH" Name="EI" - Version="2.5.1"> - <Component ConfLength="NA" Datatype="ST" MaxLength="100" MinLength="1" - Name="Entity Identifier" - Usage="R"/> - <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Namespace ID" + <Component ConfLength="NA" Datatype="TX" MaxLength="200" MinLength="1" Name="Text" + Usage="O"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" Name="Conjunction" + Usage="O"/> + <Component ConfLength="NA" Datatype="OSD" MaxLength="NA" MinLength="NA" + Name="Order Sequencing" + Usage="O"/> + <Component ConfLength="NA" Datatype="CE" MaxLength="NA" MinLength="NA" + Name="Occurrence Duration" + Usage="O"/> + <Component ConfLength="NA" Datatype="NM" MaxLength="4" MinLength="1" + Name="Total Occurrences" Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Universal ID" - Usage="R"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="6" MinLength="1" - Name="Universal ID Type" - Usage="R"/> </Datatype> <Datatype Description="Extended Composite Name and Identification Number for Organizations" ID="XON_ORC-21" @@ -3070,56 +2749,177 @@ Name="Organization Identifier" Usage="C"/> </Datatype> - <Datatype Description="Extended Composite Name and Identification Number for Organizations" - ID="XON_OBX-23" - Label="XON_OBX-23" - Name="XON" + <Datatype Description="Date/Time Range" ID="DR_NIST" Label="DR_NIST" Name="DR_NIST" Version="2.5.1"> - <Component ConfLength="NA" Datatype="ST" MaxLength="50" MinLength="1" - Name="Organization Name" - Usage="RE"/> - <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" - Name="Organization Name Type Code" + <Component ConfLength="NA" Datatype="DTM" MaxLength="26" MinLength="1" + Name="Range Start Date/Time" Usage="O"/> - <Component ConfLength="NA" Datatype="NM" MaxLength="4" MinLength="1" Name="ID Number" + <Component ConfLength="NA" Datatype="DTM" MaxLength="26" MinLength="1" + Name="Range End Date/Time" + Usage="O"/> + </Datatype> + <Datatype Description="Coded with Exceptions" ID="CWE_NIH" Label="CWE_NIH" Name="CWE" + Version="2.5.1"> + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Identifier" + Usage="RE"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Text" + Usage="C"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="20" MinLength="1" + Name="Name of Coding System" + Usage="C"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" + Name="Alternate Identifier" Usage="X"/> - <Component ConfLength="NA" Datatype="NM" MaxLength="1" MinLength="1" Name="Check Digit" + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" + Name="Alternate Text" + Usage="X"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="20" MinLength="1" + Name="Name of Alternate Coding System" + Usage="X"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="10" MinLength="1" + Name="Coding System Version ID" + Usage="C"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="10" MinLength="1" + Name="Alternate Coding System Version ID" + Usage="X"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" + Name="Original Text" + Usage="C"/> + </Datatype> + <Datatype Description="Driver's License Number" ID="DLN" Label="DLN" Name="DLN" + Version="2.5.1"> + <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" + Name="License Number" + Usage="R"/> + <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" + Name="Issuing State, Province, Country" Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="1" - Name="Check Digit Scheme" + <Component ConfLength="NA" Datatype="DT" MaxLength="24" MinLength="1" + Name="Expiration Date" Usage="O"/> - <Component ConfLength="NA" Datatype="HD_NIH2" MaxLength="NA" MinLength="NA" - Name="Assigning Authority" - Usage="RE"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="5" MinLength="1" - Name="Identifier Type Code" + </Datatype> + <Datatype Description="Coded with Exceptions" ID="CWE_OBX-15" Label="CWE_OBX-15" + Name="CWE" + Version="2.5.1"> + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Identifier" Usage="RE"/> - <Component ConfLength="NA" Datatype="HD" MaxLength="NA" MinLength="NA" - Name="Assigning Facility" + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Text" + Usage="X"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="20" MinLength="1" + Name="Name of Coding System" + Usage="X"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" + Name="Alternate Identifier" + Usage="X"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" + Name="Alternate Text" + Usage="X"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="20" MinLength="1" + Name="Name of Alternate Coding System" + Usage="X"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="10" MinLength="1" + Name="Coding System Version ID" + Usage="X"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="10" MinLength="1" + Name="Alternate Coding System Version ID" + Usage="X"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" + Name="Original Text" + Usage="X"/> + </Datatype> + <Datatype Description="Date/Time Range" ID="DR" Label="DR" Name="DR" Version="2.5.1"> + <Component ConfLength="NA" Datatype="TS" MaxLength="NA" MinLength="NA" + Name="Range Start Date/Time" Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" - Name="Name Representation Code" + <Component ConfLength="NA" Datatype="TS" MaxLength="NA" MinLength="NA" + Name="Range End Date/Time" Usage="O"/> + </Datatype> + <Datatype Description="Coded with Exceptions" ID="CWE_NIH2" Label="CWE_NIH2" Name="CWE" + Version="2.5.1"> + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Identifier" + Usage="R"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Text" + Usage="C"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="20" MinLength="1" + Name="Name of Coding System" + Usage="C"/> <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" - Name="Organization Identifier" - Usage="RE"/> + Name="Alternate Identifier" + Usage="X"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" + Name="Alternate Text" + Usage="X"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="20" MinLength="1" + Name="Name of Alternate Coding System" + Usage="X"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="10" MinLength="1" + Name="Coding System Version ID" + Usage="C"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="10" MinLength="1" + Name="Alternate Coding System Version ID" + Usage="X"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" + Name="Original Text" + Usage="C"/> </Datatype> - <Datatype Description="Date/Time Range" ID="DR_NIST" Label="DR_NIST" Name="DR_NIST" + <Datatype Description="Composite Quantity with Units" ID="CQ" Label="CQ" Name="CQ" Version="2.5.1"> - <Component ConfLength="NA" Datatype="DTM" MaxLength="26" MinLength="1" - Name="Range Start Date/Time" + <Component ConfLength="NA" Datatype="NM" MaxLength="16" MinLength="1" Name="Quantity" Usage="O"/> - <Component ConfLength="NA" Datatype="DTM" MaxLength="26" MinLength="1" - Name="Range End Date/Time" + <Component ConfLength="NA" Datatype="CE" MaxLength="NA" MinLength="NA" Name="Units" Usage="O"/> </Datatype> - <Datatype Description="Extended Telecommunication Number" ID="XTN_ORC-23" - Label="XTN_ORC-23" - Name="XTN" + <Datatype Description="Entity Identifier" ID="EI_NIH" Label="EI_NIH" Name="EI" + Version="2.5.1"> + <Component ConfLength="NA" Datatype="ST" MaxLength="100" MinLength="1" + Name="Entity Identifier" + Usage="R"/> + <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Namespace ID" + Usage="O"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Universal ID" + Usage="R"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="6" MinLength="1" + Name="Universal ID Type" + Usage="R"/> + </Datatype> + <Datatype Description="varies" ID="var" Label="var" Name="var" Version="2.5.1"/> + <Datatype Description="Family Name" ID="FN" Label="FN" Name="FN" Version="2.5.1"> + <Component ConfLength="NA" Datatype="ST" MaxLength="50" MinLength="1" Name="Surname" + Usage="R"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" + Name="Own Surname Prefix" + Usage="O"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="50" MinLength="1" Name="Own Surname" + Usage="O"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" + Name="Surname Prefix From Partner/Spouse" + Usage="O"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="50" MinLength="1" + Name="Surname From Partner/Spouse" + Usage="O"/> + </Datatype> + <Datatype Description="Time Stamp" ID="TS" Label="TS" Name="TS" Version="2.5.1"> + <Component ConfLength="NA" Datatype="DTM" MaxLength="24" MinLength="1" Name="Time" + Usage="R"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" + Name="Degree of Precision" + Usage="B"/> + </Datatype> + <Datatype Description="Date/Time" ID="DTM" Label="DTM" Name="DTM" Version="2.5.1"/> + <Datatype Description="Processing Type" ID="PT_NIH" Label="PT_NIH" Name="PT" + Version="2.5.1"> + <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" Name="Processing ID" + Usage="R"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" + Name="Processing Mode" + Usage="O"/> + </Datatype> + <Datatype Description="Extended Telecommunication Number" ID="XTN" Label="XTN" Name="XTN" Version="2.5.1"> <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Telephone Number" - Usage="X"/> + Usage="B"/> <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="1" Name="Telecommunication Use Code" Usage="O"/> @@ -3128,15 +2928,15 @@ Usage="O"/> <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Email Address" - Usage="C"/> + Usage="O"/> <Component ConfLength="NA" Datatype="NM" MaxLength="3" MinLength="1" Name="Country Code" - Usage="C"/> + Usage="O"/> <Component ConfLength="NA" Datatype="NM" MaxLength="5" MinLength="1" Name="Area/City Code" - Usage="C"/> + Usage="O"/> <Component ConfLength="NA" Datatype="NM" MaxLength="9" MinLength="1" Name="Local Number" - Usage="C"/> + Usage="O"/> <Component ConfLength="NA" Datatype="NM" MaxLength="5" MinLength="1" Name="Extension" - Usage="C"/> + Usage="O"/> <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Any Text" Usage="O"/> <Component ConfLength="NA" Datatype="ST" MaxLength="4" MinLength="1" @@ -3149,118 +2949,92 @@ Name="Unformatted Telephone number" Usage="C"/> </Datatype> - <Datatype Description="Coded Element with Formatted Values" ID="CF" Label="CF" Name="CF" - Version="2.5.1"> - <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" Name="Identifier" - Usage="O"/> - <Component ConfLength="NA" Datatype="FT" MaxLength="65536" MinLength="1" - Name="Formatted Text" - Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="20" MinLength="1" - Name="Name of Coding System" - Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" - Name="Alternate Identifier" - Usage="O"/> - <Component ConfLength="NA" Datatype="FT" MaxLength="65536" MinLength="1" - Name="Alternate Formatted Text" - Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="20" MinLength="1" - Name="Name of Alternate Coding System" - Usage="O"/> - </Datatype> - <Datatype Description="Extended Person Name" ID="XPN_NIH" Label="XPN_NIH" Name="XPN" + <Datatype Description="String Data" ID="ST" Label="ST" Name="ST" Version="2.5.1"/> + <Datatype Description="Extended Address" ID="XAD_ORC-24" Label="XAD_ORC-24" Name="XAD" Version="2.5.1"> - <Component ConfLength="NA" Datatype="FN" MaxLength="NA" MinLength="NA" Name="Family Name" - Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="30" MinLength="1" Name="Given Name" + <Component ConfLength="NA" Datatype="SAD_NIH" MaxLength="NA" MinLength="NA" + Name="Street Address" + Usage="RE"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="120" MinLength="1" + Name="Other Designation" Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="30" MinLength="1" - Name="Second and Further Given Names or Initials Thereof" + <Component ConfLength="NA" Datatype="ST" MaxLength="50" MinLength="1" Name="City" + Usage="C"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="50" MinLength="1" + Name="State or Province" + Usage="C"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="12" MinLength="1" + Name="Zip or Postal Code" + Usage="C"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="1" Name="Country" Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" - Name="Suffix (e.g., JR or III)" + <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="1" Name="Address Type" Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" - Name="Prefix (e.g., DR)" + <Component ConfLength="NA" Datatype="ST" MaxLength="50" MinLength="1" + Name="Other Geographic Designation" Usage="O"/> - <Component ConfLength="NA" Datatype="IS" MaxLength="6" MinLength="1" - Name="Degree (e.g., MD)" + <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" + Name="County/Parish Code" Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" Name="Name Type Code" + <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Census Tract" Usage="O"/> <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" - Name="Name Representation Code" - Usage="O"/> - <Component ConfLength="NA" Datatype="CE" MaxLength="NA" MinLength="NA" Name="Name Context" + Name="Address Representation Code" Usage="O"/> <Component ConfLength="NA" Datatype="DR_NIST" MaxLength="NA" MinLength="NA" - Name="Name Validity Range" + Name="Address Validity Range" Usage="X"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" - Name="Name Assembly Order" - Usage="O"/> <Component ConfLength="NA" Datatype="TS" MaxLength="NA" MinLength="NA" Name="Effective Date" Usage="O"/> <Component ConfLength="NA" Datatype="TS" MaxLength="NA" MinLength="NA" Name="Expiration Date" Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" - Name="Professional Suffix" - Usage="O"/> </Datatype> - <Datatype Description="Coded with No Exceptions" ID="CNE" Label="CNE" Name="CNE" + <Datatype Description="Extended Composite Name and Identification Number for Organizations" + ID="XON_OBX-23" + Label="XON_OBX-23" + Name="XON" Version="2.5.1"> - <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" Name="Identifier" - Usage="R"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Text" - Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="20" MinLength="1" - Name="Name of Coding System" - Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" - Name="Alternate Identifier" - Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" - Name="Alternate Text" - Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="20" MinLength="1" - Name="Name of Alternate Coding System" + <Component ConfLength="NA" Datatype="ST" MaxLength="50" MinLength="1" + Name="Organization Name" + Usage="RE"/> + <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" + Name="Organization Name Type Code" Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="10" MinLength="1" - Name="Coding System Version ID" - Usage="C"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="10" MinLength="1" - Name="Alternate Coding System Version ID" + <Component ConfLength="NA" Datatype="NM" MaxLength="4" MinLength="1" Name="ID Number" + Usage="X"/> + <Component ConfLength="NA" Datatype="NM" MaxLength="1" MinLength="1" Name="Check Digit" Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" - Name="Original Text" + <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="1" + Name="Check Digit Scheme" Usage="O"/> - </Datatype> - <Datatype Description="Encapsulated Data" ID="ED" Label="ED" Name="ED" Version="2.5.1"> + <Component ConfLength="NA" Datatype="HD_NIH2" MaxLength="NA" MinLength="NA" + Name="Assigning Authority" + Usage="RE"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="5" MinLength="1" + Name="Identifier Type Code" + Usage="RE"/> <Component ConfLength="NA" Datatype="HD" MaxLength="NA" MinLength="NA" - Name="Source Application" + Name="Assigning Facility" Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="9" MinLength="1" Name="Type of Data" - Usage="R"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="18" MinLength="1" Name="Data Subtype" + <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" + Name="Name Representation Code" Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="6" MinLength="1" Name="Encoding" - Usage="R"/> - <Component ConfLength="NA" Datatype="TX" MaxLength="65536" MinLength="1" Name="Data" - Usage="R"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" + Name="Organization Identifier" + Usage="RE"/> </Datatype> - <Datatype Description="Coded with Exceptions" ID="CWE_OBX-15" Label="CWE_OBX-15" + <Datatype Description="Coded with Exceptions" ID="CWE_OBX-17" Label="CWE_OBX-17" Name="CWE" Version="2.5.1"> <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Identifier" - Usage="RE"/> + Usage="R"/> <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Text" - Usage="X"/> + Usage="C"/> <Component ConfLength="NA" Datatype="ID" MaxLength="20" MinLength="1" Name="Name of Coding System" - Usage="X"/> + Usage="C"/> <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" Name="Alternate Identifier" Usage="X"/> @@ -3272,19 +3046,43 @@ Usage="X"/> <Component ConfLength="NA" Datatype="ST" MaxLength="10" MinLength="1" Name="Coding System Version ID" - Usage="X"/> + Usage="C"/> <Component ConfLength="NA" Datatype="ST" MaxLength="10" MinLength="1" Name="Alternate Coding System Version ID" Usage="X"/> <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Original Text" - Usage="X"/> + Usage="C"/> </Datatype> - <Datatype Description="Money and Code" ID="MOC" Label="MOC" Name="MOC" Version="2.5.1"> - <Component ConfLength="NA" Datatype="MO" MaxLength="NA" MinLength="NA" - Name="Monetary Amount" + <Datatype Description="Extended Composite ID with Check Digit" ID="CX" Label="CX" + Name="CX" + Version="2.5.1"> + <Component ConfLength="NA" Datatype="ST" MaxLength="15" MinLength="1" Name="ID Number" + Usage="R"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="1" MinLength="1" Name="Check Digit" Usage="O"/> - <Component ConfLength="NA" Datatype="CE" MaxLength="NA" MinLength="NA" Name="Charge Code" + <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="1" + Name="Check Digit Scheme" + Usage="O"/> + <Component ConfLength="NA" Datatype="HD" MaxLength="NA" MinLength="NA" + Name="Assigning Authority" + Usage="O"/> + <Component ConfLength="NA" Datatype="ID" MaxLength="5" MinLength="1" + Name="Identifier Type Code" + Usage="O"/> + <Component ConfLength="NA" Datatype="HD" MaxLength="NA" MinLength="NA" + Name="Assigning Facility" + Usage="O"/> + <Component ConfLength="NA" Datatype="DT" MaxLength="8" MinLength="1" Name="Effective Date" + Usage="O"/> + <Component ConfLength="NA" Datatype="DT" MaxLength="8" MinLength="1" + Name="Expiration Date" + Usage="O"/> + <Component ConfLength="NA" Datatype="CWE" MaxLength="NA" MinLength="NA" + Name="Assigning Jurisdiction" + Usage="O"/> + <Component ConfLength="NA" Datatype="CWE" MaxLength="NA" MinLength="NA" + Name="Assigning Agency or Department" Usage="O"/> </Datatype> <Datatype Description="Composite ID Number and Name Simplified" ID="CNN" Label="CNN" @@ -3320,102 +3118,34 @@ Name="Assigning Authority - Universal ID Type" Usage="C"/> </Datatype> - <Datatype Description="varies" ID="var" Label="var" Name="var" Version="2.5.1"/> - <Datatype Description="Extended Address" ID="XAD" Label="XAD" Name="XAD" Version="2.5.1"> - <Component ConfLength="NA" Datatype="SAD" MaxLength="NA" MinLength="NA" - Name="Street Address" - Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="120" MinLength="1" - Name="Other Designation" - Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="50" MinLength="1" Name="City" - Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="50" MinLength="1" - Name="State or Province" - Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="12" MinLength="1" - Name="Zip or Postal Code" - Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="1" Name="Country" - Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="3" MinLength="1" Name="Address Type" - Usage="O"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="50" MinLength="1" - Name="Other Geographic Designation" - Usage="O"/> - <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" - Name="County/Parish Code" - Usage="O"/> - <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Census Tract" - Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" - Name="Address Representation Code" - Usage="O"/> - <Component ConfLength="NA" Datatype="DR_NIST" MaxLength="NA" MinLength="NA" - Name="Address Validity Range" - Usage="B"/> - <Component ConfLength="NA" Datatype="TS" MaxLength="NA" MinLength="NA" - Name="Effective Date" + <Datatype Description="General Timing Specification" ID="GTS" Label="GTS" Name="GTS" + Version="2.5.1"/> + <Datatype Description="Practitioner License or Other ID Number" ID="PLN" Label="PLN" + Name="PLN" + Version="2.5.1"> + <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" Name="ID Number" + Usage="R"/> + <Component ConfLength="NA" Datatype="IS" MaxLength="8" MinLength="1" + Name="Type of ID Number" + Usage="R"/> + <Component ConfLength="NA" Datatype="ST" MaxLength="62" MinLength="1" + Name="State/other Qualifying Information" Usage="O"/> - <Component ConfLength="NA" Datatype="TS" MaxLength="NA" MinLength="NA" + <Component ConfLength="NA" Datatype="DT" MaxLength="8" MinLength="1" Name="Expiration Date" Usage="O"/> </Datatype> - <Datatype Description="Entity Identifier" ID="EI_NIH2" Label="EI_NIH2" Name="EI" + <Datatype Description="Hierarchic Designator" ID="HD_NIH" Label="HD_NIH" Name="HD" Version="2.5.1"> - <Component ConfLength="NA" Datatype="ST" MaxLength="100" MinLength="1" - Name="Entity Identifier" - Usage="R"/> <Component ConfLength="NA" Datatype="IS" MaxLength="20" MinLength="1" Name="Namespace ID" Usage="O"/> <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Universal ID" - Usage="RE"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="6" MinLength="1" + Usage="R"/> + <Component ConfLength="NA" ConstantValue="ISO" Datatype="ID" MaxLength="6" MinLength="1" Name="Universal ID Type" - Usage="RE"/> - </Datatype> - <Datatype Description="Coded with Exceptions" ID="CWE_NIH" Label="CWE_NIH" Name="CWE" - Version="2.5.1"> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Identifier" - Usage="RE"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Text" - Usage="C"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="20" MinLength="1" - Name="Name of Coding System" - Usage="C"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" - Name="Alternate Identifier" - Usage="X"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" - Name="Alternate Text" - Usage="X"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="20" MinLength="1" - Name="Name of Alternate Coding System" - Usage="X"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="10" MinLength="1" - Name="Coding System Version ID" - Usage="C"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="10" MinLength="1" - Name="Alternate Coding System Version ID" - Usage="X"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" - Name="Original Text" - Usage="C"/> - </Datatype> - <Datatype Description="Composite Price" ID="CP" Label="CP" Name="CP" Version="2.5.1"> - <Component ConfLength="NA" Datatype="MO" MaxLength="NA" MinLength="NA" Name="Price" Usage="R"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="2" MinLength="1" Name="Price Type" - Usage="O"/> - <Component ConfLength="NA" Datatype="NM" MaxLength="16" MinLength="1" Name="From Value" - Usage="O"/> - <Component ConfLength="NA" Datatype="NM" MaxLength="16" MinLength="1" Name="To Value" - Usage="O"/> - <Component ConfLength="NA" Datatype="CE" MaxLength="NA" MinLength="NA" Name="Range Units" - Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" Name="Range Type" - Usage="O"/> </Datatype> + <Datatype Description="Date" ID="DT" Label="DT" Name="DT" Version="2.5.1"/> <Datatype Description="Entity Identifier" ID="EI_MSH-21" Label="EI_MSH-21" Name="EI" Version="2.5.1"> <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" @@ -3429,47 +3159,12 @@ Name="Universal ID Type" Usage="R"/> </Datatype> - <Datatype Description="Reference Pointer" ID="RP" Label="RP" Name="RP" Version="2.5.1"> - <Component ConfLength="NA" Datatype="ST" MaxLength="15" MinLength="1" Name="Pointer" - Usage="O"/> - <Component ConfLength="NA" Datatype="HD" MaxLength="NA" MinLength="NA" - Name="Application ID" - Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="9" MinLength="1" Name="Type of Data" - Usage="O"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="19" MinLength="1" Name="Subtype" - Usage="O"/> - </Datatype> - <Datatype Description="String Data" ID="ST" Label="ST" Name="ST" Version="2.5.1"/> - <Datatype Description="Coded with Exceptions" ID="CWE_NIH4" Label="CWE_NIH4" Name="CWE" - Version="2.5.1"> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Identifier" + <Datatype Description="Time Stamp" ID="TS_NIH2" Label="TS_NIH2" Name="TS" Version="2.5.1"> + <Component ConfLength="NA" Datatype="DTM" MaxLength="26" MinLength="4" Name="Time" Usage="RE"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" Name="Text" - Usage="C"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="20" MinLength="1" - Name="Name of Coding System" - Usage="C"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="20" MinLength="1" - Name="Alternate Identifier" - Usage="X"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" - Name="Alternate Text" - Usage="X"/> - <Component ConfLength="NA" Datatype="ID" MaxLength="20" MinLength="1" - Name="Name of Alternate Coding System" - Usage="X"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="10" MinLength="1" - Name="Coding System Version ID" - Usage="C"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="10" MinLength="1" - Name="Alternate Coding System Version ID" + <Component ConfLength="NA" Datatype="ID" MaxLength="1" MinLength="1" + Name="Degree of Precision" Usage="X"/> - <Component ConfLength="NA" Datatype="ST" MaxLength="199" MinLength="1" - Name="Original Text" - Usage="C"/> </Datatype> - <Datatype Description="Date/Time" ID="DTM" Label="DTM" Name="DTM" Version="2.5.1"/> - <Datatype Description="Sequence ID" ID="SI" Label="SI" Name="SI" Version="2.5.1"/> </Datatypes> </ConformanceProfile> \ No newline at end of file diff --git a/prime-router/src/main/resources/metadata/hl7_validation/v251/radxmars/production/slicings.xml b/prime-router/src/main/resources/metadata/hl7_validation/v251/radxmars/production/slicings.xml index 95a17cee0c4..e9adedb5bbb 100644 --- a/prime-router/src/main/resources/metadata/hl7_validation/v251/radxmars/production/slicings.xml +++ b/prime-router/src/main/resources/metadata/hl7_validation/v251/radxmars/production/slicings.xml @@ -1,2 +1,2 @@ <?xml version="1.0" encoding="UTF-8"?> -<ProfileSlicing ID="2930742c-4930-4d85-be1b-961b3efc329f17150091143251715009115950"/> \ No newline at end of file +<ProfileSlicing ID="5ed96fe3-6961-484a-a4af-80bfe17f597e17194047231551719404725410"/> \ No newline at end of file diff --git a/prime-router/src/main/resources/metadata/hl7_validation/v251/radxmars/production/value-set-bindings.xml b/prime-router/src/main/resources/metadata/hl7_validation/v251/radxmars/production/value-set-bindings.xml index 913939e60b7..79e1f3ea45b 100644 --- a/prime-router/src/main/resources/metadata/hl7_validation/v251/radxmars/production/value-set-bindings.xml +++ b/prime-router/src/main/resources/metadata/hl7_validation/v251/radxmars/production/value-set-bindings.xml @@ -1,66 +1,96 @@ <?xml version="1.0" encoding="UTF-8"?> -<ValueSetBindingsContext ID="1eb83aff-db90-4fb9-8533-b4f94d43e89a17150091143281715009115953"> +<ValueSetBindingsContext ID="57c4fa24-071c-488d-9d9b-69ff2128208817194047231561719404725413"> <ValueSetBindings> <Datatype> - <ByID ID="DLD"> - <ValueSetBinding BindingStrength="S" Target="1[*]"> + <ByID ID="HD_MSH"> + <ValueSetBinding BindingStrength="R" Target="3[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70113"/> + <Binding BindingIdentifier="HL70301NIH"/> </Bindings> </ValueSetBinding> </ByID> - <ByID ID="CX_NIH2"> - <ValueSetBinding BindingStrength="R" Target="3[*]"> + <ByID ID="EI_NIH2"> + <ValueSetBinding BindingStrength="R" Target="4[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70061"/> + <Binding BindingIdentifier="HL70301NIH"/> + </Bindings> + </ValueSetBinding> + <ValueSetBinding BindingStrength="S" Target="2[*]"> + <BindingLocations> + <SimpleBindingLocation CodeLocation="."/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70363"/> </Bindings> </ValueSetBinding> </ByID> - <ByID ID="XON_SFT"> - <ValueSetBinding BindingStrength="S" Target="6[*]"> + <ByID ID="EI"> + <ValueSetBinding BindingStrength="R" Target="4[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="1[1]"/> + <SimpleBindingLocation CodeLocation="."/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70301"/> + </Bindings> + </ValueSetBinding> + <ValueSetBinding BindingStrength="S" Target="2[*]"> + <BindingLocations> + <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> <Binding BindingIdentifier="HL70363"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="7[*]"> + </ByID> + <ByID ID="JCC"> + <ValueSetBinding BindingStrength="S" Target="2[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70203"/> + <Binding BindingIdentifier="HL70328"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="5[*]"> + <ValueSetBinding BindingStrength="S" Target="1[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70061"/> + <Binding BindingIdentifier="HL70327"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="9[*]"> + </ByID> + <ByID ID="HD_NIH2"> + <ValueSetBinding BindingStrength="R" Target="3[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70465"/> + <Binding BindingIdentifier="HL70301NIH"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="2[*]"> + </ByID> + <ByID ID="CE"> + <ValueSetBinding BindingStrength="R" Target="6[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70204"/> + <Binding BindingIdentifier="HL70396"/> + </Bindings> + </ValueSetBinding> + <ValueSetBinding BindingStrength="R" Target="3[*]"> + <BindingLocations> + <SimpleBindingLocation CodeLocation="."/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70396"/> </Bindings> </ValueSetBinding> </ByID> @@ -130,149 +160,151 @@ </Bindings> </ValueSetBinding> </ByID> - <ByID ID="XAD_OBX-24"> - <ValueSetBinding BindingStrength="R" Target="7[*]"> + <ByID ID="DLD"> + <ValueSetBinding BindingStrength="S" Target="1[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70190"/> + <Binding BindingIdentifier="HL70113"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="11[*]"> + </ByID> + <ByID ID="OSD"> + <ValueSetBinding BindingStrength="S" Target="3[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70465"/> + <Binding BindingIdentifier="HL70363"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="10[*]"> + <ValueSetBinding BindingStrength="R" Target="9[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70288"/> + <Binding BindingIdentifier="HL70301"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="SPS"> - <ValueSetBinding BindingStrength="R" Target="2[*]"> + <ValueSetBinding BindingStrength="S" Target="5[*]"> <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70371"/> + <Binding BindingIdentifier="HL70363"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="5[*]"> + <ValueSetBinding BindingStrength="R" Target="11[*]"> <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70495"/> + <Binding BindingIdentifier="HL70301"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="4[*]"> + <ValueSetBinding BindingStrength="R" Target="1[*]"> <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70163"/> + <Binding BindingIdentifier="HL70524"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="7[*]"> + </ByID> + <ByID ID="XPN_NIH"> + <ValueSetBinding BindingStrength="R" Target="7[*]"> <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70369"/> + <Binding BindingIdentifier="HL70200"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="HD_MSH"> - <ValueSetBinding BindingStrength="R" Target="3[*]"> + <ValueSetBinding BindingStrength="R" Target="11[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70301NIH"/> + <Binding BindingIdentifier="HL70444"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="PL"> - <ValueSetBinding BindingStrength="S" Target="1[*]"> + <ValueSetBinding BindingStrength="S" Target="6[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70302"/> + <Binding BindingIdentifier="HL70360"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="5[*]"> + <ValueSetBinding BindingStrength="S" Target="9[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70306"/> + <Binding BindingIdentifier="HL70448"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="7[*]"> + <ValueSetBinding BindingStrength="R" Target="8[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70307"/> + <Binding BindingIdentifier="HL70465"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="6[*]"> + </ByID> + <ByID ID="HD"> + <ValueSetBinding BindingStrength="R" Target="3[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70305"/> + <Binding BindingIdentifier="HL70301"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="2[*]"> + <ValueSetBinding BindingStrength="S" Target="1[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70303"/> + <Binding BindingIdentifier="HL70300"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="8[*]"> + </ByID> + <ByID ID="XTN_ORC-23"> + <ValueSetBinding BindingStrength="R" Target="2[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70308"/> + <Binding BindingIdentifier="HL70201"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="3[*]"> + <ValueSetBinding BindingStrength="R" Target="3[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70304"/> + <Binding BindingIdentifier="HL70202"/> </Bindings> </ValueSetBinding> </ByID> - <ByID ID="NDL"> - <ValueSetBinding BindingStrength="S" Target="5[*]"> + <ByID ID="XAD_OBX-24"> + <ValueSetBinding BindingStrength="R" Target="7[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70303"/> + <Binding BindingIdentifier="HL70190"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="9[*]"> + <ValueSetBinding BindingStrength="R" Target="11[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70305"/> + <Binding BindingIdentifier="HL70465"/> </Bindings> </ValueSetBinding> <ValueSetBinding BindingStrength="S" Target="10[*]"> @@ -280,97 +312,103 @@ <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70307"/> + <Binding BindingIdentifier="HL70288"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="6[*]"> + </ByID> + <ByID ID="XAD_NIH2"> + <ValueSetBinding BindingStrength="R" Target="7[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70304"/> + <Binding BindingIdentifier="HL70190"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="8[*]"> + <ValueSetBinding BindingStrength="R" Target="11[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70306"/> + <Binding BindingIdentifier="HL70465"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="11[*]"> + <ValueSetBinding BindingStrength="S" Target="10[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70308"/> + <Binding BindingIdentifier="HL70288"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="4[*]"> + </ByID> + <ByID ID="VID_NIH"> + <ValueSetBinding BindingStrength="R" Target="1[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70302"/> + <Binding BindingIdentifier="HL70104"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="DLN"> - <ValueSetBinding BindingStrength="S" Target="2[*]"> + <ValueSetBinding BindingStrength="R" Target="2[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70333"/> + <Binding BindingIdentifier="HL70399"/> </Bindings> </ValueSetBinding> </ByID> - <ByID ID="CWE_OBX-17"> - <ValueSetBinding BindingStrength="R" Target="6[*]"> + <ByID ID="XPN"> + <ValueSetBinding BindingStrength="R" Target="7[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70396"/> + <Binding BindingIdentifier="HL70200"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="3[*]"> + <ValueSetBinding BindingStrength="R" Target="11[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70396"/> + <Binding BindingIdentifier="HL70444"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="HD_NIH2"> - <ValueSetBinding BindingStrength="R" Target="3[*]"> + <ValueSetBinding BindingStrength="S" Target="6[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70301NIH"/> + <Binding BindingIdentifier="HL70360"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="RI"> - <ValueSetBinding BindingStrength="S" Target="1[*]"> + <ValueSetBinding BindingStrength="S" Target="9[*]"> + <BindingLocations> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70448"/> + </Bindings> + </ValueSetBinding> + <ValueSetBinding BindingStrength="R" Target="8[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70335"/> + <Binding BindingIdentifier="HL70465"/> </Bindings> </ValueSetBinding> </ByID> - <ByID ID="EI"> + <ByID ID="EI_NIH3"> <ValueSetBinding BindingStrength="R" Target="4[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70301"/> + <Binding BindingIdentifier="HL70301NIH"/> </Bindings> </ValueSetBinding> <ValueSetBinding BindingStrength="S" Target="2[*]"> @@ -382,13 +420,13 @@ </Bindings> </ValueSetBinding> </ByID> - <ByID ID="CE"> - <ValueSetBinding BindingStrength="R" Target="6[*]"> + <ByID ID="XTN_NIH2"> + <ValueSetBinding BindingStrength="R" Target="2[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70396"/> + <Binding BindingIdentifier="HL70201"/> </Bindings> </ValueSetBinding> <ValueSetBinding BindingStrength="R" Target="3[*]"> @@ -396,55 +434,81 @@ <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70396"/> + <Binding BindingIdentifier="HL70202"/> </Bindings> </ValueSetBinding> </ByID> - <ByID ID="XAD_NIH"> - <ValueSetBinding BindingStrength="R" Target="7[*]"> + <ByID ID="CX_NIH2"> + <ValueSetBinding BindingStrength="R" Target="3[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70190"/> + <Binding BindingIdentifier="HL70061"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="11[*]"> + </ByID> + <ByID ID="XON"> + <ValueSetBinding BindingStrength="S" Target="6[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <SimpleBindingLocation CodeLocation="1[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70465"/> + <Binding BindingIdentifier="HL70363"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="10[*]"> + <ValueSetBinding BindingStrength="R" Target="7[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70288"/> + <Binding BindingIdentifier="HL70203"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="CWE"> - <ValueSetBinding BindingStrength="R" Target="6[*]"> + <ValueSetBinding BindingStrength="R" Target="5[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70396"/> + <Binding BindingIdentifier="HL70061"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="3[*]"> + <ValueSetBinding BindingStrength="R" Target="9[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70396"/> + <Binding BindingIdentifier="HL70465"/> + </Bindings> + </ValueSetBinding> + <ValueSetBinding BindingStrength="S" Target="2[*]"> + <BindingLocations> + <SimpleBindingLocation CodeLocation="."/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70204"/> </Bindings> </ValueSetBinding> </ByID> - <ByID ID="XAD_NIH2"> + <ByID ID="CP"> + <ValueSetBinding BindingStrength="R" Target="6[*]"> + <BindingLocations> + <SimpleBindingLocation CodeLocation="."/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70298"/> + </Bindings> + </ValueSetBinding> + <ValueSetBinding BindingStrength="R" Target="2[*]"> + <BindingLocations> + <SimpleBindingLocation CodeLocation="."/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70205"/> + </Bindings> + </ValueSetBinding> + </ByID> + <ByID ID="XAD_NIH"> <ValueSetBinding BindingStrength="R" Target="7[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> @@ -470,51 +534,103 @@ </Bindings> </ValueSetBinding> </ByID> - <ByID ID="EI_NIH3"> + <ByID ID="SPS"> + <ValueSetBinding BindingStrength="R" Target="2[*]"> + <BindingLocations> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70371"/> + </Bindings> + </ValueSetBinding> + <ValueSetBinding BindingStrength="R" Target="5[*]"> + <BindingLocations> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70495"/> + </Bindings> + </ValueSetBinding> <ValueSetBinding BindingStrength="R" Target="4[*]"> + <BindingLocations> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70163"/> + </Bindings> + </ValueSetBinding> + <ValueSetBinding BindingStrength="S" Target="7[*]"> + <BindingLocations> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70369"/> + </Bindings> + </ValueSetBinding> + </ByID> + <ByID ID="CWE_NIH4"> + <ValueSetBinding BindingStrength="R" Target="6[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70301NIH"/> + <Binding BindingIdentifier="HL70396"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="2[*]"> + <ValueSetBinding BindingStrength="R" Target="3[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70363"/> + <Binding BindingIdentifier="HL70396"/> </Bindings> </ValueSetBinding> </ByID> - <ByID ID="XTN"> + <ByID ID="RPT"> + <ValueSetBinding BindingStrength="S" Target="1[*]"> + <BindingLocations> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70335"/> + </Bindings> + </ValueSetBinding> <ValueSetBinding BindingStrength="R" Target="2[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70201"/> + <Binding BindingIdentifier="HL70527"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="3[*]"> + <ValueSetBinding BindingStrength="R" Target="7[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70202"/> + <Binding BindingIdentifier="HL70136"/> + </Bindings> + </ValueSetBinding> + <ValueSetBinding BindingStrength="R" Target="8[*]"> + <BindingLocations> + <SimpleBindingLocation CodeLocation="."/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70528"/> </Bindings> </ValueSetBinding> </ByID> - <ByID ID="AD"> - <ValueSetBinding BindingStrength="R" Target="6[*]"> + <ByID ID="RI"> + <ValueSetBinding BindingStrength="S" Target="1[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70399"/> + <Binding BindingIdentifier="HL70335"/> </Bindings> </ValueSetBinding> + </ByID> + <ByID ID="XAD"> <ValueSetBinding BindingStrength="R" Target="7[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> @@ -523,44 +639,40 @@ <Binding BindingIdentifier="HL70190"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="CX"> - <ValueSetBinding BindingStrength="S" Target="4[*]"> + <ValueSetBinding BindingStrength="R" Target="6[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="1[1]"/> + <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70363"/> + <Binding BindingIdentifier="HL70399"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="3[*]"> + <ValueSetBinding BindingStrength="S" Target="9[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70061"/> + <Binding BindingIdentifier="HL70289"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="5[*]"> + <ValueSetBinding BindingStrength="R" Target="11[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70203"/> + <Binding BindingIdentifier="HL70465"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="FC"> - <ValueSetBinding BindingStrength="S" Target="1[*]"> + <ValueSetBinding BindingStrength="S" Target="10[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70064"/> + <Binding BindingIdentifier="HL70288"/> </Bindings> </ValueSetBinding> </ByID> - <ByID ID="CWE_NIH3"> + <ByID ID="CWE"> <ValueSetBinding BindingStrength="R" Target="6[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> @@ -578,13 +690,13 @@ </Bindings> </ValueSetBinding> </ByID> - <ByID ID="MSG_NIH"> + <ByID ID="XTN_NIH"> <ValueSetBinding BindingStrength="R" Target="2[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70003"/> + <Binding BindingIdentifier="HL70201"/> </Bindings> </ValueSetBinding> <ValueSetBinding BindingStrength="R" Target="3[*]"> @@ -592,57 +704,69 @@ <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70354"/> + <Binding BindingIdentifier="HL70202"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="1[*]"> + </ByID> + <ByID ID="MSG_NIH"> + <ValueSetBinding BindingStrength="R" Target="2[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70076"/> + <Binding BindingIdentifier="HL70003"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="OSD"> - <ValueSetBinding BindingStrength="S" Target="3[*]"> + <ValueSetBinding BindingStrength="R" Target="3[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70363"/> + <Binding BindingIdentifier="HL70354"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="9[*]"> + <ValueSetBinding BindingStrength="R" Target="1[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70301"/> + <Binding BindingIdentifier="HL70076"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="5[*]"> + </ByID> + <ByID ID="CNE"> + <ValueSetBinding BindingStrength="R" Target="3[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70363"/> + <Binding BindingIdentifier="HL70396"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="11[*]"> + <ValueSetBinding BindingStrength="R" Target="6[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70301"/> + <Binding BindingIdentifier="HL70396"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="1[*]"> + </ByID> + <ByID ID="CWE_NIH3"> + <ValueSetBinding BindingStrength="R" Target="6[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70524"/> + <Binding BindingIdentifier="HL70396"/> + </Bindings> + </ValueSetBinding> + <ValueSetBinding BindingStrength="R" Target="3[*]"> + <BindingLocations> + <SimpleBindingLocation CodeLocation="."/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70396"/> </Bindings> </ValueSetBinding> </ByID> @@ -712,130 +836,122 @@ </Bindings> </ValueSetBinding> </ByID> - <ByID ID="TQ"> - <ValueSetBinding BindingStrength="R" Target="9[*]"> + <ByID ID="PL"> + <ValueSetBinding BindingStrength="S" Target="1[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70472"/> + <Binding BindingIdentifier="HL70302"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="CWE_NIH2"> - <ValueSetBinding BindingStrength="R" Target="6[*]"> + <ValueSetBinding BindingStrength="S" Target="5[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70396"/> + <Binding BindingIdentifier="HL70306"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="3[*]"> + <ValueSetBinding BindingStrength="S" Target="7[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70396"/> + <Binding BindingIdentifier="HL70307"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="XON"> <ValueSetBinding BindingStrength="S" Target="6[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="1[1]"/> + <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70363"/> + <Binding BindingIdentifier="HL70305"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="7[*]"> + <ValueSetBinding BindingStrength="S" Target="2[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70203"/> + <Binding BindingIdentifier="HL70303"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="5[*]"> + <ValueSetBinding BindingStrength="S" Target="8[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70061"/> + <Binding BindingIdentifier="HL70308"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="9[*]"> + <ValueSetBinding BindingStrength="S" Target="3[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70465"/> + <Binding BindingIdentifier="HL70304"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="2[*]"> + </ByID> + <ByID ID="XCN"> + <ValueSetBinding BindingStrength="S" Target="8[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70204"/> + <Binding BindingIdentifier="HL70297"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="JCC"> - <ValueSetBinding BindingStrength="S" Target="2[*]"> + <ValueSetBinding BindingStrength="S" Target="9[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <SimpleBindingLocation CodeLocation="1[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70328"/> + <Binding BindingIdentifier="HL70363"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="1[*]"> + <ValueSetBinding BindingStrength="R" Target="12[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70327"/> + <Binding BindingIdentifier="HL70061"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="PLN"> - <ValueSetBinding BindingStrength="S" Target="2[*]"> + <ValueSetBinding BindingStrength="R" Target="18[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70338"/> + <Binding BindingIdentifier="HL70444"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="XPN"> - <ValueSetBinding BindingStrength="R" Target="7[*]"> + <ValueSetBinding BindingStrength="R" Target="13[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70200"/> + <Binding BindingIdentifier="HL70203"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="11[*]"> + <ValueSetBinding BindingStrength="S" Target="7[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70444"/> + <Binding BindingIdentifier="HL70360"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="6[*]"> + <ValueSetBinding BindingStrength="R" Target="15[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70360"/> + <Binding BindingIdentifier="HL70465"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="9[*]"> + <ValueSetBinding BindingStrength="S" Target="16[*]"> <BindingLocations> <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> @@ -843,303 +959,315 @@ <Binding BindingIdentifier="HL70448"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="8[*]"> + <ValueSetBinding BindingStrength="R" Target="10[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70465"/> + <Binding BindingIdentifier="HL70200"/> </Bindings> </ValueSetBinding> </ByID> - <ByID ID="TS"> - <ValueSetBinding BindingStrength="R" Target="2[*]"> - <BindingLocations> + <ByID ID="NDL"> + <ValueSetBinding BindingStrength="S" Target="5[*]"> + <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70529"/> + <Binding BindingIdentifier="HL70303"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="VID_NIH"> - <ValueSetBinding BindingStrength="R" Target="1[*]"> + <ValueSetBinding BindingStrength="S" Target="9[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70104"/> + <Binding BindingIdentifier="HL70305"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="2[*]"> + <ValueSetBinding BindingStrength="S" Target="10[*]"> <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70399"/> + <Binding BindingIdentifier="HL70307"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="XCN"> - <ValueSetBinding BindingStrength="S" Target="8[*]"> + <ValueSetBinding BindingStrength="S" Target="6[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70297"/> + <Binding BindingIdentifier="HL70304"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="9[*]"> + <ValueSetBinding BindingStrength="S" Target="8[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="1[1]"/> + <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70363"/> + <Binding BindingIdentifier="HL70306"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="12[*]"> + <ValueSetBinding BindingStrength="S" Target="11[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70061"/> + <Binding BindingIdentifier="HL70308"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="18[*]"> + <ValueSetBinding BindingStrength="S" Target="4[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70444"/> + <Binding BindingIdentifier="HL70302"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="13[*]"> + </ByID> + <ByID ID="FC"> + <ValueSetBinding BindingStrength="S" Target="1[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70203"/> + <Binding BindingIdentifier="HL70064"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="7[*]"> + </ByID> + <ByID ID="XON_SFT"> + <ValueSetBinding BindingStrength="S" Target="6[*]"> + <BindingLocations> + <SimpleBindingLocation CodeLocation="1[1]"/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70363"/> + </Bindings> + </ValueSetBinding> + <ValueSetBinding BindingStrength="R" Target="7[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70360"/> + <Binding BindingIdentifier="HL70203"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="15[*]"> + <ValueSetBinding BindingStrength="R" Target="5[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70465"/> + <Binding BindingIdentifier="HL70061"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="16[*]"> + <ValueSetBinding BindingStrength="R" Target="9[*]"> <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70448"/> + <Binding BindingIdentifier="HL70465"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="10[*]"> + <ValueSetBinding BindingStrength="S" Target="2[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70200"/> + <Binding BindingIdentifier="HL70204"/> </Bindings> </ValueSetBinding> </ByID> - <ByID ID="HD_NIH"> - <ValueSetBinding BindingStrength="R" Target="3[*]"> + <ByID ID="TQ"> + <ValueSetBinding BindingStrength="R" Target="9[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70301NIH"/> + <Binding BindingIdentifier="HL70472"/> </Bindings> </ValueSetBinding> </ByID> - <ByID ID="XTN_NIH"> - <ValueSetBinding BindingStrength="R" Target="2[*]"> + <ByID ID="XON_ORC-21"> + <ValueSetBinding BindingStrength="S" Target="6[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <SimpleBindingLocation CodeLocation="1[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70201"/> + <Binding BindingIdentifier="HL70363"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="3[*]"> + <ValueSetBinding BindingStrength="R" Target="7[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70202"/> + <Binding BindingIdentifier="HL70203"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="PT_NIH"> - <ValueSetBinding BindingStrength="R" Target="1[*]"> + <ValueSetBinding BindingStrength="R" Target="5[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70103"/> + <Binding BindingIdentifier="HL70061"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="2[*]"> + <ValueSetBinding BindingStrength="R" Target="9[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70207"/> + <Binding BindingIdentifier="HL70465"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="RPT"> - <ValueSetBinding BindingStrength="S" Target="1[*]"> + <ValueSetBinding BindingStrength="S" Target="2[*]"> <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70335"/> + <Binding BindingIdentifier="HL70204"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="2[*]"> + </ByID> + <ByID ID="CWE_NIH"> + <ValueSetBinding BindingStrength="R" Target="6[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70527"/> + <Binding BindingIdentifier="HL70396"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="7[*]"> + <ValueSetBinding BindingStrength="R" Target="3[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70136"/> + <Binding BindingIdentifier="HL70396"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="8[*]"> + </ByID> + <ByID ID="DLN"> + <ValueSetBinding BindingStrength="S" Target="2[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70528"/> + <Binding BindingIdentifier="HL70333"/> </Bindings> </ValueSetBinding> </ByID> - <ByID ID="HD"> - <ValueSetBinding BindingStrength="R" Target="3[*]"> + <ByID ID="CWE_OBX-15"> + <ValueSetBinding BindingStrength="R" Target="6[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70301"/> + <Binding BindingIdentifier="HL70396"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="1[*]"> + <ValueSetBinding BindingStrength="R" Target="3[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70300"/> + <Binding BindingIdentifier="HL70396"/> </Bindings> </ValueSetBinding> </ByID> - <ByID ID="XAD_ORC-24"> - <ValueSetBinding BindingStrength="R" Target="7[*]"> + <ByID ID="CWE_NIH2"> + <ValueSetBinding BindingStrength="R" Target="6[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70190"/> + <Binding BindingIdentifier="HL70396"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="11[*]"> + <ValueSetBinding BindingStrength="R" Target="3[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70465"/> + <Binding BindingIdentifier="HL70396"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="10[*]"> + </ByID> + <ByID ID="EI_NIH"> + <ValueSetBinding BindingStrength="R" Target="4[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70288"/> + <Binding BindingIdentifier="HL70301NIH"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="XTN_NIH2"> - <ValueSetBinding BindingStrength="R" Target="2[*]"> + <ValueSetBinding BindingStrength="S" Target="2[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70201"/> + <Binding BindingIdentifier="HL70363"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="3[*]"> + </ByID> + <ByID ID="TS"> + <ValueSetBinding BindingStrength="R" Target="2[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70202"/> + <Binding BindingIdentifier="HL70529"/> </Bindings> </ValueSetBinding> </ByID> - <ByID ID="EI_NIH"> - <ValueSetBinding BindingStrength="R" Target="4[*]"> + <ByID ID="PT_NIH"> + <ValueSetBinding BindingStrength="R" Target="1[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70301NIH"/> + <Binding BindingIdentifier="HL70103"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="2[*]"> + <ValueSetBinding BindingStrength="R" Target="2[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70363"/> + <Binding BindingIdentifier="HL70207"/> </Bindings> </ValueSetBinding> </ByID> - <ByID ID="XON_ORC-21"> - <ValueSetBinding BindingStrength="S" Target="6[*]"> + <ByID ID="XTN"> + <ValueSetBinding BindingStrength="R" Target="2[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="1[1]"/> + <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70363"/> + <Binding BindingIdentifier="HL70201"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="7[*]"> + <ValueSetBinding BindingStrength="R" Target="3[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70203"/> + <Binding BindingIdentifier="HL70202"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="5[*]"> + </ByID> + <ByID ID="XAD_ORC-24"> + <ValueSetBinding BindingStrength="R" Target="7[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70061"/> + <Binding BindingIdentifier="HL70190"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="9[*]"> + <ValueSetBinding BindingStrength="R" Target="11[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> @@ -1147,12 +1275,12 @@ <Binding BindingIdentifier="HL70465"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="2[*]"> + <ValueSetBinding BindingStrength="S" Target="10[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70204"/> + <Binding BindingIdentifier="HL70288"/> </Bindings> </ValueSetBinding> </ByID> @@ -1198,13 +1326,13 @@ </Bindings> </ValueSetBinding> </ByID> - <ByID ID="XTN_ORC-23"> - <ValueSetBinding BindingStrength="R" Target="2[*]"> + <ByID ID="CWE_OBX-17"> + <ValueSetBinding BindingStrength="R" Target="6[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70201"/> + <Binding BindingIdentifier="HL70396"/> </Bindings> </ValueSetBinding> <ValueSetBinding BindingStrength="R" Target="3[*]"> @@ -1212,17 +1340,17 @@ <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70202"/> + <Binding BindingIdentifier="HL70396"/> </Bindings> </ValueSetBinding> </ByID> - <ByID ID="CF"> - <ValueSetBinding BindingStrength="R" Target="6[*]"> + <ByID ID="CX"> + <ValueSetBinding BindingStrength="S" Target="4[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <SimpleBindingLocation CodeLocation="1[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70396"/> + <Binding BindingIdentifier="HL70363"/> </Bindings> </ValueSetBinding> <ValueSetBinding BindingStrength="R" Target="3[*]"> @@ -1230,200 +1358,82 @@ <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70396"/> + <Binding BindingIdentifier="HL70061"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="XPN_NIH"> - <ValueSetBinding BindingStrength="R" Target="7[*]"> + <ValueSetBinding BindingStrength="R" Target="5[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70200"/> + <Binding BindingIdentifier="HL70203"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="11[*]"> + </ByID> + <ByID ID="CNN"> + <ValueSetBinding BindingStrength="S" Target="7[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70444"/> + <Binding BindingIdentifier="HL70360"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="6[*]"> + <ValueSetBinding BindingStrength="S" Target="9[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70360"/> + <Binding BindingIdentifier="HL70363"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="9[*]"> + <ValueSetBinding BindingStrength="R" Target="11[*]"> <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70448"/> + <Binding BindingIdentifier="HL70301"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="8[*]"> + <ValueSetBinding BindingStrength="S" Target="8[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70465"/> + <Binding BindingIdentifier="HL70297"/> </Bindings> </ValueSetBinding> </ByID> - <ByID ID="CNE"> - <ValueSetBinding BindingStrength="R" Target="3[*]"> + <ByID ID="PLN"> + <ValueSetBinding BindingStrength="S" Target="2[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70396"/> + <Binding BindingIdentifier="HL70338"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="6[*]"> + </ByID> + <ByID ID="HD_NIH"> + <ValueSetBinding BindingStrength="R" Target="3[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70396"/> + <Binding BindingIdentifier="HL70301NIH"/> </Bindings> </ValueSetBinding> </ByID> - <ByID ID="ED"> - <ValueSetBinding BindingStrength="R" Target="2[*]"> + <ByID ID="EI_MSH-21"> + <ValueSetBinding BindingStrength="R" Target="4[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70191"/> + <Binding BindingIdentifier="HL70301NIH"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="4[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70299"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="3[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70291"/> - </Bindings> - </ValueSetBinding> - </ByID> - <ByID ID="CWE_OBX-15"> - <ValueSetBinding BindingStrength="R" Target="6[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70396"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="3[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70396"/> - </Bindings> - </ValueSetBinding> - </ByID> - <ByID ID="CNN"> - <ValueSetBinding BindingStrength="S" Target="7[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70360"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="9[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70363"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="11[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70301"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="8[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70297"/> - </Bindings> - </ValueSetBinding> - </ByID> - <ByID ID="XAD"> - <ValueSetBinding BindingStrength="R" Target="7[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70190"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="6[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70399"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="9[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70289"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="11[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70465"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="10[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70288"/> - </Bindings> - </ValueSetBinding> - </ByID> - <ByID ID="EI_NIH2"> - <ValueSetBinding BindingStrength="R" Target="4[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70301NIH"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="2[*]"> + <ValueSetBinding BindingStrength="S" Target="2[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> @@ -1432,254 +1442,8 @@ </Bindings> </ValueSetBinding> </ByID> - <ByID ID="CWE_NIH"> - <ValueSetBinding BindingStrength="R" Target="6[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70396"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="3[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70396"/> - </Bindings> - </ValueSetBinding> - </ByID> - <ByID ID="CP"> - <ValueSetBinding BindingStrength="R" Target="6[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70298"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="2[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70205"/> - </Bindings> - </ValueSetBinding> - </ByID> - <ByID ID="EI_MSH-21"> - <ValueSetBinding BindingStrength="R" Target="4[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70301NIH"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="2[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70363"/> - </Bindings> - </ValueSetBinding> - </ByID> - <ByID ID="RP"> - <ValueSetBinding BindingStrength="R" Target="3[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70191"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="4[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70291"/> - </Bindings> - </ValueSetBinding> - </ByID> - <ByID ID="CWE_NIH4"> - <ValueSetBinding BindingStrength="R" Target="6[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70396"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="3[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70396"/> - </Bindings> - </ValueSetBinding> - </ByID> </Datatype> <Segment> - <ByID ID="CTD"> - <ValueSetBinding BindingStrength="R" Target="6[*]"> - <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70185"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="1[*]"> - <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70131"/> - </Bindings> - </ValueSetBinding> - </ByID> - <ByID ID="PID_NIH"> - <ValueSetBinding BindingStrength="S" Target="16[*]"> - <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70002"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="24[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70136"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="27[*]"> - <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70172"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="15[*]"> - <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70296"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="26[*]"> - <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70171"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="39[*]"> - <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70171"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="30[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70136"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="32[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70445"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="17[*]"> - <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70006"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="28[*]"> - <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70212"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="35[*]"> - <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70446"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="22[*]"> - <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70189"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="38[*]"> - <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70429"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="31[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70136"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="8[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70001"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="10[*]"> - <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70005"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="36[*]"> - <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70447"/> - </Bindings> - </ValueSetBinding> - </ByID> <ByID ID="PV2"> <ValueSetBinding BindingStrength="S" Target="30[*]"> <BindingLocations> @@ -1827,134 +1591,58 @@ </ValueSetBinding> <ValueSetBinding BindingStrength="S" Target="45[*]"> <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70435"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="42[*]"> - <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70434"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="2[*]"> - <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70129"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="37[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70136"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="19[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70136"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="34[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70136"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="15[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70136"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="21[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70215"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="43[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70315"/> - </Bindings> - </ValueSetBinding> - </ByID> - <ByID ID="MSH_NIH"> - <ValueSetBinding BindingStrength="R" Target="16[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70155"/> + <Binding BindingIdentifier="HL70435"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="17[*]"> + <ValueSetBinding BindingStrength="S" Target="42[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70399"/> + <Binding BindingIdentifier="HL70434"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="18[*]"> + <ValueSetBinding BindingStrength="S" Target="2[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70211"/> + <Binding BindingIdentifier="HL70129"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="15[*]"> + <ValueSetBinding BindingStrength="R" Target="37[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70155"/> + <Binding BindingIdentifier="HL70136"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="20[*]"> + <ValueSetBinding BindingStrength="R" Target="19[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70356"/> + <Binding BindingIdentifier="HL70136"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="NK1"> - <ValueSetBinding BindingStrength="S" Target="14[*]"> + <ValueSetBinding BindingStrength="R" Target="34[*]"> <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70002"/> + <Binding BindingIdentifier="HL70136"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="35[*]"> + <ValueSetBinding BindingStrength="R" Target="15[*]"> <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70005"/> + <Binding BindingIdentifier="HL70136"/> </Bindings> </ValueSetBinding> <ValueSetBinding BindingStrength="S" Target="21[*]"> @@ -1962,725 +1650,737 @@ <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70220"/> + <Binding BindingIdentifier="HL70215"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="25[*]"> + <ValueSetBinding BindingStrength="S" Target="43[*]"> <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70006"/> + <Binding BindingIdentifier="HL70315"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="19[*]"> + </ByID> + <ByID ID="TQ2"> + <ValueSetBinding BindingStrength="R" Target="10[*]"> <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70171"/> + <Binding BindingIdentifier="HL70506"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="23[*]"> + <ValueSetBinding BindingStrength="R" Target="6[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70136"/> + <Binding BindingIdentifier="HL70504"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="36[*]"> + <ValueSetBinding BindingStrength="R" Target="2[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70295"/> + <Binding BindingIdentifier="HL70503"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="20[*]"> + <ValueSetBinding BindingStrength="R" Target="7[*]"> <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70296"/> + <Binding BindingIdentifier="HL70505"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="15[*]"> + </ByID> + <ByID ID="DSC"> + <ValueSetBinding BindingStrength="R" Target="2[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70001"/> + <Binding BindingIdentifier="HL70398"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="7[*]"> + </ByID> + <ByID ID="OBX_NIH_2-8-1"> + <ValueSetBinding BindingStrength="R" Target="2[*]"> <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70131"/> + <Binding BindingIdentifier="HL70125NIH"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="3[*]"> + <ValueSetBinding BindingStrength="R" Target="10[*]"> <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70063"/> + <Binding BindingIdentifier="HL70080"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="39[*]"> + <ValueSetBinding BindingStrength="R" Target="11[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70099"/> + <Binding BindingIdentifier="HL70085"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="27[*]"> + <ValueSetBinding BindingStrength="R" Target="8[*]"> <BindingLocations> <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70212"/> + <Binding BindingIdentifier="HL70078"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="18[*]"> + <ValueSetBinding BindingStrength="R" Target="20[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70009"/> + <Binding BindingIdentifier="HL70163"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="34[*]"> + </ByID> + <ByID ID="PD1"> + <ValueSetBinding BindingStrength="S" Target="16[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70311"/> + <Binding BindingIdentifier="HL70441"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="24[*]"> + <ValueSetBinding BindingStrength="R" Target="9[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70231"/> + <Binding BindingIdentifier="HL70136"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="17[*]"> + <ValueSetBinding BindingStrength="S" Target="20[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70223"/> + <Binding BindingIdentifier="HL70141"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="29[*]"> + <ValueSetBinding BindingStrength="S" Target="21[*]"> <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70222"/> + <Binding BindingIdentifier="HL70142"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="28[*]"> + <ValueSetBinding BindingStrength="S" Target="15[*]"> <BindingLocations> <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70189"/> + <Binding BindingIdentifier="HL70435"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="22[*]"> + <ValueSetBinding BindingStrength="S" Target="8[*]"> <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70215"/> + <Binding BindingIdentifier="HL70316"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="PV1"> - <ValueSetBinding BindingStrength="S" Target="13[*]"> + <ValueSetBinding BindingStrength="S" Target="7[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70092"/> + <Binding BindingIdentifier="HL70315"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="2[*]"> + <ValueSetBinding BindingStrength="S" Target="6[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70004"/> + <Binding BindingIdentifier="HL70295"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="14[*]"> + <ValueSetBinding BindingStrength="S" Target="2[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70023"/> + <Binding BindingIdentifier="HL70220"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="23[*]"> + <ValueSetBinding BindingStrength="S" Target="5[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70046"/> + <Binding BindingIdentifier="HL70231"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="16[*]"> + <ValueSetBinding BindingStrength="R" Target="12[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70099"/> + <Binding BindingIdentifier="HL70136"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="31[*]"> + <ValueSetBinding BindingStrength="S" Target="1[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70021"/> + <Binding BindingIdentifier="HL70223"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="38[*]"> + <ValueSetBinding BindingStrength="S" Target="11[*]"> <BindingLocations> <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70114"/> + <Binding BindingIdentifier="HL70215"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="34[*]"> + <ValueSetBinding BindingStrength="S" Target="19[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70111"/> + <Binding BindingIdentifier="HL70140"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="36[*]"> + </ByID> + <ByID ID="CTD"> + <ValueSetBinding BindingStrength="R" Target="6[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70112"/> + <Binding BindingIdentifier="HL70185"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="22[*]"> + <ValueSetBinding BindingStrength="S" Target="1[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70045"/> + <Binding BindingIdentifier="HL70131"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="10[*]"> + </ByID> + <ByID ID="TQ1"> + <ValueSetBinding BindingStrength="S" Target="12[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70069"/> + <Binding BindingIdentifier="HL70427"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="41[*]"> + <ValueSetBinding BindingStrength="S" Target="9[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70117"/> + <Binding BindingIdentifier="HL70485"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="24[*]"> + </ByID> + <ByID ID="NTE"> + <ValueSetBinding BindingStrength="S" Target="4[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70044"/> + <Binding BindingIdentifier="HL70364"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="21[*]"> + <ValueSetBinding BindingStrength="R" Target="2[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70032"/> + <Binding BindingIdentifier="HL70105"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="15[*]"> + </ByID> + <ByID ID="SPM_NIH"> + <ValueSetBinding BindingStrength="S" Target="9[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70009"/> + <Binding BindingIdentifier="HL70542"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="18[*]"> + <ValueSetBinding BindingStrength="S" Target="24[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70018"/> + <Binding BindingIdentifier="HL70493"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="12[*]"> + <ValueSetBinding BindingStrength="S" Target="11[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70087"/> + <Binding BindingIdentifier="HL70369"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="29[*]"> + <ValueSetBinding BindingStrength="R" Target="21[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70110"/> + <Binding BindingIdentifier="HL70490"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="51[*]"> + <ValueSetBinding BindingStrength="S" Target="23[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70326"/> + <Binding BindingIdentifier="HL70492"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="40[*]"> + <ValueSetBinding BindingStrength="S" Target="5[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70116"/> + <Binding BindingIdentifier="HL70541"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="4[*]"> + <ValueSetBinding BindingStrength="R" Target="20[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70007"/> + <Binding BindingIdentifier="HL70136"/> + </Bindings> + </ValueSetBinding> + <ValueSetBinding BindingStrength="R" Target="7[*]"> + <BindingLocations> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70488"/> </Bindings> </ValueSetBinding> <ValueSetBinding BindingStrength="S" Target="28[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70073"/> + <Binding BindingIdentifier="HL70544"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="39[*]"> + <ValueSetBinding BindingStrength="R" Target="29[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70115"/> + <Binding BindingIdentifier="HL70494"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="NTE_NIH"> - <ValueSetBinding BindingStrength="S" Target="4[*]"> + <ValueSetBinding BindingStrength="S" Target="15[*]"> <BindingLocations> <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70364"/> + <Binding BindingIdentifier="HL70376"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="2[*]"> + <ValueSetBinding BindingStrength="S" Target="16[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70105"/> + <Binding BindingIdentifier="HL70489"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="DSC"> - <ValueSetBinding BindingStrength="R" Target="2[*]"> + <ValueSetBinding BindingStrength="S" Target="10[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70398"/> + <Binding BindingIdentifier="HL70543"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="OBR_NIH"> - <ValueSetBinding BindingStrength="R" Target="30[*]"> + <ValueSetBinding BindingStrength="R" Target="6[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70124"/> + <Binding BindingIdentifier="HL70371"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="44[*]"> + <ValueSetBinding BindingStrength="S" Target="22[*]"> <BindingLocations> <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70088"/> + <Binding BindingIdentifier="HL70491"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="24[*]"> + </ByID> + <ByID ID="MSH_NIH"> + <ValueSetBinding BindingStrength="R" Target="16[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70074"/> + <Binding BindingIdentifier="HL70155"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="45[*]"> + <ValueSetBinding BindingStrength="R" Target="17[*]"> <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70340"/> + <Binding BindingIdentifier="HL70399"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="42[*]"> + <ValueSetBinding BindingStrength="R" Target="18[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70225"/> + <Binding BindingIdentifier="HL70211"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="41[*]"> + <ValueSetBinding BindingStrength="R" Target="15[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70224"/> + <Binding BindingIdentifier="HL70155"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="25[*]"> + <ValueSetBinding BindingStrength="R" Target="20[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70123"/> + <Binding BindingIdentifier="HL70356"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="48[*]"> + </ByID> + <ByID ID="PID_NIH"> + <ValueSetBinding BindingStrength="S" Target="16[*]"> <BindingLocations> <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70476"/> + <Binding BindingIdentifier="HL70002"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="11[*]"> + <ValueSetBinding BindingStrength="R" Target="24[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70065"/> + <Binding BindingIdentifier="HL70136"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="49[*]"> + <ValueSetBinding BindingStrength="S" Target="27[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70507"/> + <Binding BindingIdentifier="HL70172"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="47[*]"> + <ValueSetBinding BindingStrength="S" Target="15[*]"> <BindingLocations> <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70411"/> + <Binding BindingIdentifier="HL70296"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="46[*]"> + <ValueSetBinding BindingStrength="S" Target="26[*]"> <BindingLocations> <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70411"/> + <Binding BindingIdentifier="HL70171"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="ORC_NIH"> - <ValueSetBinding BindingStrength="R" Target="29[*]"> + <ValueSetBinding BindingStrength="S" Target="39[*]"> <BindingLocations> <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70482"/> + <Binding BindingIdentifier="HL70171"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="1[*]"> + <ValueSetBinding BindingStrength="R" Target="30[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70119"/> + <Binding BindingIdentifier="HL70136"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="28[*]"> + <ValueSetBinding BindingStrength="S" Target="32[*]"> <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70177"/> + <Binding BindingIdentifier="HL70445"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="30[*]"> + <ValueSetBinding BindingStrength="S" Target="17[*]"> <BindingLocations> <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70483"/> - </Bindings> - </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="5[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - <Bindings> - <Binding BindingIdentifier="HL70038"/> + <Binding BindingIdentifier="HL70006"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="6[*]"> + <ValueSetBinding BindingStrength="S" Target="28[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70121"/> + <Binding BindingIdentifier="HL70212"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="TQ1"> - <ValueSetBinding BindingStrength="S" Target="12[*]"> + <ValueSetBinding BindingStrength="S" Target="35[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70427"/> + <Binding BindingIdentifier="HL70446"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="9[*]"> + <ValueSetBinding BindingStrength="S" Target="22[*]"> <BindingLocations> <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70485"/> + <Binding BindingIdentifier="HL70189"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="OBX_NIH_2-8-1"> - <ValueSetBinding BindingStrength="R" Target="2[*]"> + <ValueSetBinding BindingStrength="S" Target="38[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70125NIH"/> + <Binding BindingIdentifier="HL70429"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="10[*]"> + <ValueSetBinding BindingStrength="R" Target="31[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70080"/> + <Binding BindingIdentifier="HL70136"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="11[*]"> + <ValueSetBinding BindingStrength="S" Target="8[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70085"/> + <Binding BindingIdentifier="HL70001"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="8[*]"> + <ValueSetBinding BindingStrength="S" Target="10[*]"> <BindingLocations> <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70078"/> + <Binding BindingIdentifier="HL70005"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="20[*]"> + <ValueSetBinding BindingStrength="S" Target="36[*]"> <BindingLocations> <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70163"/> + <Binding BindingIdentifier="HL70447"/> </Bindings> </ValueSetBinding> </ByID> - <ByID ID="PD1"> - <ValueSetBinding BindingStrength="S" Target="16[*]"> + <ByID ID="NK1"> + <ValueSetBinding BindingStrength="S" Target="14[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70441"/> + <Binding BindingIdentifier="HL70002"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="9[*]"> + <ValueSetBinding BindingStrength="S" Target="35[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70136"/> + <Binding BindingIdentifier="HL70005"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="20[*]"> + <ValueSetBinding BindingStrength="S" Target="21[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70141"/> + <Binding BindingIdentifier="HL70220"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="21[*]"> + <ValueSetBinding BindingStrength="S" Target="25[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70142"/> + <Binding BindingIdentifier="HL70006"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="15[*]"> + <ValueSetBinding BindingStrength="S" Target="19[*]"> <BindingLocations> <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70435"/> + <Binding BindingIdentifier="HL70171"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="8[*]"> + <ValueSetBinding BindingStrength="R" Target="23[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70316"/> + <Binding BindingIdentifier="HL70136"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="7[*]"> + <ValueSetBinding BindingStrength="S" Target="36[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70315"/> + <Binding BindingIdentifier="HL70295"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="6[*]"> + <ValueSetBinding BindingStrength="S" Target="20[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70295"/> + <Binding BindingIdentifier="HL70296"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="2[*]"> + <ValueSetBinding BindingStrength="S" Target="15[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70220"/> + <Binding BindingIdentifier="HL70001"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="5[*]"> + <ValueSetBinding BindingStrength="S" Target="7[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70231"/> + <Binding BindingIdentifier="HL70131"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="12[*]"> + <ValueSetBinding BindingStrength="S" Target="3[*]"> <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70136"/> + <Binding BindingIdentifier="HL70063"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="1[*]"> + <ValueSetBinding BindingStrength="S" Target="39[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70223"/> + <Binding BindingIdentifier="HL70099"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="11[*]"> + <ValueSetBinding BindingStrength="S" Target="27[*]"> <BindingLocations> <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70215"/> + <Binding BindingIdentifier="HL70212"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="19[*]"> + <ValueSetBinding BindingStrength="S" Target="18[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70140"/> + <Binding BindingIdentifier="HL70009"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="OBX_NIH_COCON3-3_2-3_2_6-3_2_6_1_6494460e8b87bc0007492d42_2-8-1"> - <ValueSetBinding BindingStrength="R" Target="2[*]"> + <ValueSetBinding BindingStrength="S" Target="34[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70125NIH"/> + <Binding BindingIdentifier="HL70311"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="10[*]"> + <ValueSetBinding BindingStrength="S" Target="24[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70080"/> + <Binding BindingIdentifier="HL70231"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="11[*]"> + <ValueSetBinding BindingStrength="S" Target="17[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70085"/> + <Binding BindingIdentifier="HL70223"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="8[*]"> + <ValueSetBinding BindingStrength="S" Target="29[*]"> <BindingLocations> <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70078"/> + <Binding BindingIdentifier="HL70222"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="20[*]"> + <ValueSetBinding BindingStrength="S" Target="28[*]"> <BindingLocations> <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70163"/> + <Binding BindingIdentifier="HL70189"/> + </Bindings> + </ValueSetBinding> + <ValueSetBinding BindingStrength="S" Target="22[*]"> + <BindingLocations> + <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70215"/> </Bindings> </ValueSetBinding> </ByID> - <ByID ID="NTE"> + <ByID ID="NTE_NIH"> <ValueSetBinding BindingStrength="S" Target="4[*]"> <BindingLocations> <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> @@ -2796,193 +2496,337 @@ </Bindings> </ValueSetBinding> </ByID> - <ByID ID="SPM_NIH"> - <ValueSetBinding BindingStrength="S" Target="9[*]"> + <ByID ID="OBR_NIH"> + <ValueSetBinding BindingStrength="R" Target="30[*]"> <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70542"/> + <Binding BindingIdentifier="HL70124"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="24[*]"> + <ValueSetBinding BindingStrength="S" Target="44[*]"> <BindingLocations> <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70493"/> + <Binding BindingIdentifier="HL70088"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="11[*]"> + <ValueSetBinding BindingStrength="R" Target="24[*]"> <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70369"/> + <Binding BindingIdentifier="HL70074"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="21[*]"> + <ValueSetBinding BindingStrength="S" Target="45[*]"> <BindingLocations> <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70490"/> + <Binding BindingIdentifier="HL70340"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="23[*]"> + <ValueSetBinding BindingStrength="R" Target="42[*]"> <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70492"/> + <Binding BindingIdentifier="HL70225"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="5[*]"> + <ValueSetBinding BindingStrength="R" Target="41[*]"> + <BindingLocations> + <SimpleBindingLocation CodeLocation="."/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70224"/> + </Bindings> + </ValueSetBinding> + <ValueSetBinding BindingStrength="R" Target="25[*]"> + <BindingLocations> + <SimpleBindingLocation CodeLocation="."/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70123"/> + </Bindings> + </ValueSetBinding> + <ValueSetBinding BindingStrength="S" Target="48[*]"> <BindingLocations> <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70541"/> + <Binding BindingIdentifier="HL70476"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="20[*]"> + <ValueSetBinding BindingStrength="R" Target="11[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70136"/> + <Binding BindingIdentifier="HL70065"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="7[*]"> + <ValueSetBinding BindingStrength="S" Target="49[*]"> + <BindingLocations> + <SimpleBindingLocation CodeLocation="."/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70507"/> + </Bindings> + </ValueSetBinding> + <ValueSetBinding BindingStrength="S" Target="47[*]"> <BindingLocations> <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70488"/> + <Binding BindingIdentifier="HL70411"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="28[*]"> + <ValueSetBinding BindingStrength="S" Target="46[*]"> <BindingLocations> <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70544"/> + <Binding BindingIdentifier="HL70411"/> </Bindings> </ValueSetBinding> + </ByID> + <ByID ID="ORC_NIH"> <ValueSetBinding BindingStrength="R" Target="29[*]"> <BindingLocations> <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70494"/> + <Binding BindingIdentifier="HL70482"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="15[*]"> + <ValueSetBinding BindingStrength="R" Target="1[*]"> <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70376"/> + <Binding BindingIdentifier="HL70119"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="16[*]"> + <ValueSetBinding BindingStrength="S" Target="28[*]"> <BindingLocations> <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70489"/> + <Binding BindingIdentifier="HL70177"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="S" Target="10[*]"> + <ValueSetBinding BindingStrength="R" Target="30[*]"> <BindingLocations> <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70543"/> + <Binding BindingIdentifier="HL70483"/> + </Bindings> + </ValueSetBinding> + <ValueSetBinding BindingStrength="R" Target="5[*]"> + <BindingLocations> + <SimpleBindingLocation CodeLocation="."/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70038"/> </Bindings> </ValueSetBinding> <ValueSetBinding BindingStrength="R" Target="6[*]"> + <BindingLocations> + <SimpleBindingLocation CodeLocation="."/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70121"/> + </Bindings> + </ValueSetBinding> + </ByID> + <ByID ID="PV1"> + <ValueSetBinding BindingStrength="S" Target="13[*]"> + <BindingLocations> + <SimpleBindingLocation CodeLocation="."/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70092"/> + </Bindings> + </ValueSetBinding> + <ValueSetBinding BindingStrength="S" Target="2[*]"> + <BindingLocations> + <SimpleBindingLocation CodeLocation="."/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70004"/> + </Bindings> + </ValueSetBinding> + <ValueSetBinding BindingStrength="S" Target="14[*]"> + <BindingLocations> + <SimpleBindingLocation CodeLocation="."/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70023"/> + </Bindings> + </ValueSetBinding> + <ValueSetBinding BindingStrength="S" Target="23[*]"> + <BindingLocations> + <SimpleBindingLocation CodeLocation="."/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70046"/> + </Bindings> + </ValueSetBinding> + <ValueSetBinding BindingStrength="S" Target="16[*]"> + <BindingLocations> + <SimpleBindingLocation CodeLocation="."/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70099"/> + </Bindings> + </ValueSetBinding> + <ValueSetBinding BindingStrength="S" Target="31[*]"> + <BindingLocations> + <SimpleBindingLocation CodeLocation="."/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70021"/> + </Bindings> + </ValueSetBinding> + <ValueSetBinding BindingStrength="S" Target="38[*]"> <BindingLocations> <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70371"/> + <Binding BindingIdentifier="HL70114"/> + </Bindings> + </ValueSetBinding> + <ValueSetBinding BindingStrength="S" Target="34[*]"> + <BindingLocations> + <SimpleBindingLocation CodeLocation="."/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70111"/> + </Bindings> + </ValueSetBinding> + <ValueSetBinding BindingStrength="S" Target="36[*]"> + <BindingLocations> + <SimpleBindingLocation CodeLocation="."/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70112"/> </Bindings> </ValueSetBinding> <ValueSetBinding BindingStrength="S" Target="22[*]"> <BindingLocations> - <ComplexBindingLocation CodeLocation="1[1]" CodeSystemLocation="3[1]"/> + <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70491"/> + <Binding BindingIdentifier="HL70045"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="TQ2"> - <ValueSetBinding BindingStrength="R" Target="10[*]"> + <ValueSetBinding BindingStrength="S" Target="10[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70506"/> + <Binding BindingIdentifier="HL70069"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="6[*]"> + <ValueSetBinding BindingStrength="S" Target="41[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70504"/> + <Binding BindingIdentifier="HL70117"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="2[*]"> + <ValueSetBinding BindingStrength="S" Target="24[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70503"/> + <Binding BindingIdentifier="HL70044"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="7[*]"> + <ValueSetBinding BindingStrength="S" Target="21[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70505"/> + <Binding BindingIdentifier="HL70032"/> </Bindings> </ValueSetBinding> - </ByID> - <ByID ID="OBX"> - <ValueSetBinding BindingStrength="S" Target="8[*]"> + <ValueSetBinding BindingStrength="S" Target="15[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70078"/> + <Binding BindingIdentifier="HL70009"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="11[*]"> + <ValueSetBinding BindingStrength="S" Target="18[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70085"/> + <Binding BindingIdentifier="HL70018"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="2[*]"> + <ValueSetBinding BindingStrength="S" Target="12[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70125"/> + <Binding BindingIdentifier="HL70087"/> </Bindings> </ValueSetBinding> - <ValueSetBinding BindingStrength="R" Target="10[*]"> + <ValueSetBinding BindingStrength="S" Target="29[*]"> <BindingLocations> <SimpleBindingLocation CodeLocation="."/> </BindingLocations> <Bindings> - <Binding BindingIdentifier="HL70080"/> + <Binding BindingIdentifier="HL70110"/> + </Bindings> + </ValueSetBinding> + <ValueSetBinding BindingStrength="S" Target="51[*]"> + <BindingLocations> + <SimpleBindingLocation CodeLocation="."/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70326"/> + </Bindings> + </ValueSetBinding> + <ValueSetBinding BindingStrength="S" Target="40[*]"> + <BindingLocations> + <SimpleBindingLocation CodeLocation="."/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70116"/> + </Bindings> + </ValueSetBinding> + <ValueSetBinding BindingStrength="S" Target="4[*]"> + <BindingLocations> + <SimpleBindingLocation CodeLocation="."/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70007"/> + </Bindings> + </ValueSetBinding> + <ValueSetBinding BindingStrength="S" Target="28[*]"> + <BindingLocations> + <SimpleBindingLocation CodeLocation="."/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70073"/> + </Bindings> + </ValueSetBinding> + <ValueSetBinding BindingStrength="S" Target="39[*]"> + <BindingLocations> + <SimpleBindingLocation CodeLocation="."/> + </BindingLocations> + <Bindings> + <Binding BindingIdentifier="HL70115"/> </Bindings> </ValueSetBinding> </ByID> @@ -2997,13 +2841,6 @@ </BindingLocations> </SingleCodeBinding> </ByID> - <ByID ID="OBX_NIH_COCON3-3_2-3_2_6-3_2_6_1_6494460e8b87bc0007492d42_2-8-1"> - <SingleCodeBinding Code="QST" CodeSystem="HL70936" Target="29[*]"> - <BindingLocations> - <SimpleBindingLocation CodeLocation="."/> - </BindingLocations> - </SingleCodeBinding> - </ByID> </Segment> </SingleCodeBindings> </ValueSetBindingsContext> \ No newline at end of file diff --git a/prime-router/src/main/resources/metadata/hl7_validation/v251/radxmars/production/value-sets.xml b/prime-router/src/main/resources/metadata/hl7_validation/v251/radxmars/production/value-sets.xml index 372436f85db..d07dce0453a 100644 --- a/prime-router/src/main/resources/metadata/hl7_validation/v251/radxmars/production/value-sets.xml +++ b/prime-router/src/main/resources/metadata/hl7_validation/v251/radxmars/production/value-sets.xml @@ -1,5957 +1,5814 @@ <?xml version="1.0" encoding="UTF-8"?> <ValueSetLibrary xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - ValueSetLibraryIdentifier="b603a2ac-4950-454b-8955-9f3af55d1c5017150091143041715009115926" + ValueSetLibraryIdentifier="695fd039-bc9d-4a6a-b13b-88cf7f36ac8417194047231401719404725390" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/Jungyubw/NIST_healthcare_hl7_v2_profile_schema/master/Schema/NIST%20Validation%20Schema/ValueSets.xsd"> - <MetaData Date="No Date Info" Name="RADx MARS" - OrgName="Datapult, an APHL company, in partnership with NIH NIBIB" - Version="2.5.1"/> - <NoValidation> - <BindingIdentifier>HL70087</BindingIdentifier> - <BindingIdentifier>HL70295</BindingIdentifier> - <BindingIdentifier>HL70117</BindingIdentifier> - <BindingIdentifier>HL70064</BindingIdentifier> - <BindingIdentifier>HL70306</BindingIdentifier> - <BindingIdentifier>HL70049</BindingIdentifier> - <BindingIdentifier>HL70476</BindingIdentifier> - <BindingIdentifier>HL70446</BindingIdentifier> - <BindingIdentifier>HL70024</BindingIdentifier> - <BindingIdentifier>HL70333</BindingIdentifier> - <BindingIdentifier>HL70072</BindingIdentifier> - <BindingIdentifier>HL70018</BindingIdentifier> - <BindingIdentifier>HL70218</BindingIdentifier> - <BindingIdentifier>HL70129</BindingIdentifier> - <BindingIdentifier>HL70411</BindingIdentifier> - <BindingIdentifier>HL70099</BindingIdentifier> - <BindingIdentifier>HL70111</BindingIdentifier> - <BindingIdentifier>HL70448</BindingIdentifier> - <BindingIdentifier>HL70288</BindingIdentifier> - <BindingIdentifier>HL70044</BindingIdentifier> - <BindingIdentifier>HL70327</BindingIdentifier> - <BindingIdentifier>HL70541</BindingIdentifier> - <BindingIdentifier>HL70549</BindingIdentifier> - <BindingIdentifier>HL70222</BindingIdentifier> - <BindingIdentifier>HL70132</BindingIdentifier> - <BindingIdentifier>HL70046</BindingIdentifier> - <BindingIdentifier>HL70114</BindingIdentifier> - <BindingIdentifier>HL70219</BindingIdentifier> - <BindingIdentifier>HL70399</BindingIdentifier> - <BindingIdentifier>HL70296</BindingIdentifier> - <BindingIdentifier>HL70308</BindingIdentifier> - <BindingIdentifier>HL70447</BindingIdentifier> - <BindingIdentifier>HL70328</BindingIdentifier> - <BindingIdentifier>HL70212</BindingIdentifier> - <BindingIdentifier>HL70032</BindingIdentifier> - <BindingIdentifier>HL70304</BindingIdentifier> - <BindingIdentifier>HL70542</BindingIdentifier> - <BindingIdentifier>HL70045</BindingIdentifier> - <BindingIdentifier>HL70115</BindingIdentifier> - <BindingIdentifier>HL70544</BindingIdentifier> - <BindingIdentifier>HL70073</BindingIdentifier> - <BindingIdentifier>HL70303</BindingIdentifier> - <BindingIdentifier>HL70021</BindingIdentifier> - <BindingIdentifier>HL70113</BindingIdentifier> - <BindingIdentifier>HL70088</BindingIdentifier> - <BindingIdentifier>HL70363</BindingIdentifier> - <BindingIdentifier>HL70543</BindingIdentifier> - <BindingIdentifier>HL70051</BindingIdentifier> - <BindingIdentifier>HL70171</BindingIdentifier> - <BindingIdentifier>HL70302</BindingIdentifier> - <BindingIdentifier>HL70297</BindingIdentifier> - <BindingIdentifier>HL70110</BindingIdentifier> - <BindingIdentifier>HL70300</BindingIdentifier> - <BindingIdentifier>HL70172</BindingIdentifier> - <BindingIdentifier>HL70307</BindingIdentifier> - <BindingIdentifier>HL70289</BindingIdentifier> - <BindingIdentifier>HL70340</BindingIdentifier> - </NoValidation> - <ValueSetDefinitions Group="HL7_base" Order="1"> - <ValueSetDefinition BindingIdentifier="HL70087" ContentDefinition="Extensional" - Description="Pre-Admit Test Indicator" - Extensibility="Closed" - Name="Pre-Admit Test Indicator" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70504" ContentDefinition="Extensional" - Description="Sequence Condition Code" - Extensibility="Closed" - Name="Sequence Condition Code" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70504" - DisplayName="Start related service request(s), start current service request." - Usage="P" - Value="SS"/> - <ValueElement CodeSystem="HL70504" - DisplayName="End related service request(s), end current service request." - Usage="P" - Value="EE"/> - <ValueElement CodeSystem="HL70504" - DisplayName="End related service request(s), start current service request." - Usage="P" - Value="ES"/> - <ValueElement CodeSystem="HL70504" - DisplayName="Start related service request(s), end current service request." - Usage="P" - Value="SE"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70204" ContentDefinition="Extensional" - Description="Organizational name type" - Extensibility="Closed" - Name="Organizational name type" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70204" DisplayName="Display name" Usage="P" Value="D"/> - <ValueElement CodeSystem="HL70204" DisplayName="Stock exchange listing name" Usage="P" - Value="SL"/> - <ValueElement CodeSystem="HL70204" DisplayName="Legal name" Usage="P" Value="L"/> - <ValueElement CodeSystem="HL70204" DisplayName="Alias name" Usage="P" Value="A"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70104" ContentDefinition="Extensional" - Description="Version ID" - Extensibility="Closed" - Name="Version ID" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70104" DisplayName="Release 2.2" Usage="P" Value="2.2"/> - <ValueElement CodeSystem="HL70104" DisplayName="Release 2.5.1" Usage="P" Value="2.5.1"/> - <ValueElement CodeSystem="HL70104" DisplayName="Release 2.4" Usage="P" Value="2.4"/> - <ValueElement CodeSystem="HL70104" DisplayName="Release 2.5" Usage="P" Value="2.5"/> - <ValueElement CodeSystem="HL70104" DisplayName="Demo 2.0" Usage="P" Value="2.0D"/> - <ValueElement CodeSystem="HL70104" DisplayName="Release 2.0" Usage="P" Value="2.0"/> - <ValueElement CodeSystem="HL70104" DisplayName="Release 2. 1" Usage="P" Value="2.1"/> - <ValueElement CodeSystem="HL70104" DisplayName="Release 2.3" Usage="P" Value="2.3"/> - <ValueElement CodeSystem="HL70104" DisplayName="Release 2.3.1" Usage="P" Value="2.3.1"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70298" ContentDefinition="Extensional" - Description="CP range type" - Extensibility="Closed" - Name="CP range type" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70298" - DisplayName="Pro-rate. Apply this price to this interval, pro-rated by whatever portion of the interval has occurred/been consumed" - Usage="P" - Value="P"/> - <ValueElement CodeSystem="HL70298" - DisplayName="Flat-rate. Apply the entire price to this interval, do not pro-rate the price if the full interval has not occurred/been consumed" - Usage="P" - Value="F"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70429" ContentDefinition="Extensional" - Description="Production Class Code" - Extensibility="Closed" - Name="Production Class Code" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70429" DisplayName="Other" Usage="P" Value="OT"/> - <ValueElement CodeSystem="HL70429" DisplayName="Unknown" Usage="P" Value="U"/> - <ValueElement CodeSystem="HL70429" DisplayName="Show" Usage="P" Value="SH"/> - <ValueElement CodeSystem="HL70429" DisplayName="Breeding/genetic stock" Usage="P" Value="BR"/> - <ValueElement CodeSystem="HL70429" DisplayName="Racing" Usage="P" Value="RA"/> - <ValueElement CodeSystem="HL70429" DisplayName="Draft" Usage="P" Value="DR"/> - <ValueElement CodeSystem="HL70429" DisplayName="Not Applicable" Usage="P" Value="NA"/> - <ValueElement CodeSystem="HL70429" DisplayName="Layer, Includes Multiplier flocks" Usage="P" - Value="LY"/> - <ValueElement CodeSystem="HL70429" DisplayName="Meat" Usage="P" Value="MT"/> - <ValueElement CodeSystem="HL70429" DisplayName="Pleasure" Usage="P" Value="PL"/> - <ValueElement CodeSystem="HL70429" DisplayName="Dual Purpose" Usage="P" Value="DU"/> - <ValueElement CodeSystem="HL70429" DisplayName="Dairy" Usage="P" Value="DA"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70207" ContentDefinition="Extensional" - Description="Processing mode" - Extensibility="Closed" - Name="Processing mode" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70207" DisplayName="Restore from archive" Usage="P" Value="R"/> - <ValueElement CodeSystem="HL70207" - DisplayName="Current processing, transmitted at intervals (scheduled or on demand)" - Usage="P" - Value="T"/> - <ValueElement CodeSystem="HL70207" DisplayName="Initial load" Usage="P" Value="I"/> - <ValueElement CodeSystem="HL70207" DisplayName="Archive" Usage="P" Value="A"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70435" ContentDefinition="Extensional" - Description="Advance Directive Code" - Extensibility="Closed" - Name="Advance Directive Code" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70435" DisplayName="Do not resuscitate" Usage="P" Value="DNR"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70078" ContentDefinition="Extensional" - Description="Abnormal flags" - Extensibility="Closed" - Name="Abnormal flags" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70078" DisplayName="Normal (applies to non-numeric results)" - Usage="P" - Value="N"/> - <ValueElement CodeSystem="HL70078" DisplayName="Abnormal (applies to non-numeric results)" - Usage="P" - Value="A"/> - <ValueElement CodeSystem="HL70078" - DisplayName="No range defined, or normal ranges don't apply" - Usage="P" - Value="null"/> - <ValueElement CodeSystem="HL70078" DisplayName="Significant change down" Usage="P" Value="D"/> - <ValueElement CodeSystem="HL70078" DisplayName="Below low normal" Usage="P" Value="L"/> - <ValueElement CodeSystem="HL70078" - DisplayName="Resistant. Indicates for microbiology susceptibilities only." - Usage="P" - Value="R"/> - <ValueElement CodeSystem="HL70078" - DisplayName="Very susceptible. Indicates for microbiology susceptibilities only." - Usage="P" - Value="VS"/> - <ValueElement CodeSystem="HL70078" DisplayName="Worse--use when direction not relevant" - Usage="P" - Value="W"/> - <ValueElement CodeSystem="HL70078" DisplayName="Significant change up" Usage="P" Value="U"/> - <ValueElement CodeSystem="HL70078" DisplayName="Below lower panic limits" Usage="P" - Value="LL"/> - <ValueElement CodeSystem="HL70078" DisplayName="Better--use when direction not relevant" - Usage="P" - Value="B"/> - <ValueElement CodeSystem="HL70078" - DisplayName="Very abnormal (applies to non-numeric units, analogous to panic limits for numeric units)" - Usage="P" - Value="AA"/> - <ValueElement CodeSystem="HL70078" DisplayName="Above upper panic limits" Usage="P" - Value="HH"/> - <ValueElement CodeSystem="HL70078" DisplayName="Above absolute high-off instrument scale" - Usage="P" - Value="&gt;"/> - <ValueElement CodeSystem="HL70078" - DisplayName="Intermediate. Indicates for microbiology susceptibilities only." - Usage="P" - Value="I"/> - <ValueElement CodeSystem="HL70078" - DisplayName="Susceptible. Indicates for microbiology susceptibilities only." - Usage="P" - Value="S"/> - <ValueElement CodeSystem="HL70078" DisplayName="Below absolute low-off instrument scale" - Usage="P" - Value="&lt;"/> - <ValueElement CodeSystem="HL70078" DisplayName="Above high normal" Usage="P" Value="H"/> - <ValueElement CodeSystem="HL70078" - DisplayName="Moderately susceptible. Indicates for microbiology susceptibilities only." - Usage="P" - Value="MS"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70295" ContentDefinition="Extensional" - Description="Handicap" - Extensibility="Closed" - Name="Handicap" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70223" ContentDefinition="Extensional" - Description="Living Dependency" - Extensibility="Closed" - Name="Living Dependency" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70223" DisplayName="Other" Usage="P" Value="O"/> - <ValueElement CodeSystem="HL70223" DisplayName="Small Children Dependent" Usage="P" Value="C"/> - <ValueElement CodeSystem="HL70223" DisplayName="Medical Supervision Required" Usage="P" - Value="M"/> - <ValueElement CodeSystem="HL70223" DisplayName="Spouse Dependent" Usage="P" Value="S"/> - <ValueElement CodeSystem="HL70223" DisplayName="Unknown" Usage="P" Value="U"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70155" ContentDefinition="Extensional" - Description="Accept/application acknowledgment conditions" - Extensibility="Closed" - Name="Accept/application acknowledgment conditions" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70155" DisplayName="Error/reject conditions only" Usage="P" - Value="ER"/> - <ValueElement CodeSystem="HL70155" DisplayName="Never" Usage="P" Value="NE"/> - <ValueElement CodeSystem="HL70155" DisplayName="Successful completion only" Usage="P" - Value="SU"/> - <ValueElement CodeSystem="HL70155" DisplayName="Always" Usage="P" Value="AL"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70130" ContentDefinition="Extensional" - Description="Visit User Code" - Extensibility="Closed" - Name="Visit User Code" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70130" DisplayName="Teaching" Usage="P" Value="TE"/> - <ValueElement CodeSystem="HL70130" DisplayName="Home" Usage="P" Value="HO"/> - <ValueElement CodeSystem="HL70130" DisplayName="Mobile Unit" Usage="P" Value="MO"/> - <ValueElement CodeSystem="HL70130" DisplayName="Phone" Usage="P" Value="PH"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70117" ContentDefinition="Extensional" - Description="Account Status" - Extensibility="Closed" - Name="Account Status" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70103" ContentDefinition="Extensional" - Description="Processing ID" - Extensibility="Closed" - Name="Processing ID" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70103" DisplayName="Production" Usage="P" Value="P"/> - <ValueElement CodeSystem="HL70103" DisplayName="Training" Usage="P" Value="T"/> - <ValueElement CodeSystem="HL70103" DisplayName="Debugging" Usage="P" Value="D"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70064" ContentDefinition="Extensional" - Description="Financial class" - Extensibility="Closed" - Name="Financial class" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70376" ContentDefinition="Extensional" - Description="Special Handling Code" - Extensibility="Closed" - Name="Special Handling Code" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70376" DisplayName="Upright" Usage="P" Value="UPR"/> - <ValueElement CodeSystem="HL70376" DisplayName="Critical frozen temperature" Usage="P" - Value="CFRZ"/> - <ValueElement CodeSystem="HL70376" DisplayName="No shock" Usage="P" Value="PSO"/> - <ValueElement CodeSystem="HL70376" DisplayName="Critical ambient temperature" Usage="P" - Value="CAMB"/> - <ValueElement CodeSystem="HL70376" DisplayName="Ambient temperature" Usage="P" Value="AMB"/> - <ValueElement CodeSystem="HL70376" DisplayName="Body temperature" Usage="P" Value="C37"/> - <ValueElement CodeSystem="HL70376" DisplayName="Frozen temperature" Usage="P" Value="FRZ"/> - <ValueElement CodeSystem="HL70376" DisplayName="Metal Free" Usage="P" Value="MTLF"/> - <ValueElement CodeSystem="HL70376" DisplayName="Do not shake" Usage="P" Value="PSA"/> - <ValueElement CodeSystem="HL70376" DisplayName="Ultra frozen" Usage="P" Value="UFRZ"/> - <ValueElement CodeSystem="HL70376" DisplayName="Protect from air" Usage="P" Value="CATM"/> - <ValueElement CodeSystem="HL70376" DisplayName="Deep frozen" Usage="P" Value="DFRZ"/> - <ValueElement CodeSystem="HL70376" DisplayName="Liquid nitrogen" Usage="P" Value="NTR"/> - <ValueElement CodeSystem="HL70376" DisplayName="Dry" Usage="P" Value="DRY"/> - <ValueElement CodeSystem="HL70376" DisplayName="Protect from light" Usage="P" Value="PRTL"/> - <ValueElement CodeSystem="HL70376" DisplayName="Refrigerated temperature" Usage="P" - Value="REF"/> - <ValueElement CodeSystem="HL70376" DisplayName="Critical refrigerated temperature" Usage="P" - Value="CREF"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70116" ContentDefinition="Extensional" - Description="Bed Status" - Extensibility="Closed" - Name="Bed Status" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70116" DisplayName="Occupied" Usage="P" Value="O"/> - <ValueElement CodeSystem="HL70116" DisplayName="Closed" Usage="P" Value="C"/> - <ValueElement CodeSystem="HL70116" DisplayName="Housekeeping" Usage="P" Value="H"/> - <ValueElement CodeSystem="HL70116" DisplayName="Isolated" Usage="P" Value="I"/> - <ValueElement CodeSystem="HL70116" DisplayName="Unoccupied" Usage="P" Value="U"/> - <ValueElement CodeSystem="HL70116" DisplayName="Contaminated" Usage="P" Value="K"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70306" ContentDefinition="Extensional" - Description="Location status" - Extensibility="Closed" - Name="Location status" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70049" ContentDefinition="Extensional" - Description="Department Code" - Extensibility="Closed" - Name="Department Code" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70476" ContentDefinition="Extensional" - Description="Medically Necessary Duplicate Procedure Reason" - Extensibility="Closed" - Name="Medically Necessary Duplicate Procedure Reason" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70364" ContentDefinition="Extensional" - Description="Comment type" - Extensibility="Closed" - Name="Comment type" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70364" DisplayName="Secondary Reason" Usage="P" Value="2R"/> - <ValueElement CodeSystem="HL70364" DisplayName="Ancillary Instructions" Usage="P" Value="AI"/> - <ValueElement CodeSystem="HL70364" DisplayName="Patient Instructions" Usage="P" Value="PI"/> - <ValueElement CodeSystem="HL70364" DisplayName="General Instructions" Usage="P" Value="GI"/> - <ValueElement CodeSystem="HL70364" DisplayName="Primary Reason" Usage="P" Value="1R"/> - <ValueElement CodeSystem="HL70364" DisplayName="Duplicate/Interaction Reason" Usage="P" - Value="DR"/> - <ValueElement CodeSystem="HL70364" DisplayName="Remark" Usage="P" Value="RE"/> - <ValueElement CodeSystem="HL70364" DisplayName="General Reason" Usage="P" Value="GR"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70213" ContentDefinition="Extensional" - Description="Purge Status Code" - Extensibility="Closed" - Name="Purge Status Code" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70213" - DisplayName="The visit is marked for deletion and the user cannot enter new data against it." - Usage="P" - Value="D"/> - <ValueElement CodeSystem="HL70213" - DisplayName="The visit is marked inactive and the user cannot enter new data against it." - Usage="P" - Value="I"/> - <ValueElement CodeSystem="HL70213" - DisplayName="Marked for purge. User is no longer able to update the visit." - Usage="P" - Value="P"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70190" ContentDefinition="Extensional" - Description="Address type" - Extensibility="Closed" - Name="Address type" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70190" DisplayName="Country Of Origin" Usage="P" Value="F"/> - <ValueElement CodeSystem="HL70190" DisplayName="Bad address" Usage="P" Value="BA"/> - <ValueElement CodeSystem="HL70190" DisplayName="Home" Usage="P" Value="H"/> - <ValueElement CodeSystem="HL70190" DisplayName="Permanent" Usage="P" Value="P"/> - <ValueElement CodeSystem="HL70190" - DisplayName="Birth delivery location (address where birth occurred)" - Usage="P" - Value="BDL"/> - <ValueElement CodeSystem="HL70190" - DisplayName="Birth (nee) (birth address, not otherwise specified)" - Usage="P" - Value="N"/> - <ValueElement CodeSystem="HL70190" DisplayName="Legal Address" Usage="P" Value="L"/> - <ValueElement CodeSystem="HL70190" DisplayName="Firm/Business" Usage="P" Value="B"/> - <ValueElement CodeSystem="HL70190" - DisplayName="Registry home. Refers to the information system, typically managed by a public health agency, that stores patient information such as immunization histories or cancer data, regardless of where the patient obtains services." - Usage="P" - Value="RH"/> - <ValueElement CodeSystem="HL70190" DisplayName="Mailing" Usage="P" Value="M"/> - <ValueElement CodeSystem="HL70190" DisplayName="Office" Usage="P" Value="O"/> - <ValueElement CodeSystem="HL70190" - DisplayName="Residence at birth (home address at time of birth)" - Usage="P" - Value="BR"/> - <ValueElement CodeSystem="HL70190" DisplayName="Current Or Temporary" Usage="P" Value="C"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70446" ContentDefinition="Extensional" - Description="Species Code" - Extensibility="Closed" - Name="Species Code" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70024" ContentDefinition="Extensional" - Description="Fee Schedule" - Extensibility="Closed" - Name="Fee Schedule" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70291" ContentDefinition="Extensional" - Description="Subtype of referenced data" - Extensibility="Closed" - Name="Subtype of referenced data" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70291" DisplayName="ISDN PCM audio data" Usage="P" Value="BASIC"/> - <ValueElement CodeSystem="HL70291" - DisplayName="HL7 Clinical Document Architecture Level One document" - Usage="P" - Value="x-hl7-cda-level-one"/> - <ValueElement CodeSystem="HL70291" DisplayName="Joint Photographic Experts Group" Usage="P" - Value="JPEG"/> - <ValueElement CodeSystem="HL70291" DisplayName="PostScript program" Usage="P" - Value="PostScript"/> - <ValueElement CodeSystem="HL70291" DisplayName="TIFF image data" Usage="P" Value="TIFF"/> - <ValueElement CodeSystem="HL70291" DisplayName="Rich Text Format" Usage="P" Value="RTF"/> - <ValueElement CodeSystem="HL70291" DisplayName="PICT format image data" Usage="P" - Value="PICT"/> - <ValueElement CodeSystem="HL70291" DisplayName="Facsimile data" Usage="P" Value="FAX"/> - <ValueElement CodeSystem="HL70291" DisplayName="Graphics Interchange Format" Usage="P" - Value="GIF"/> - <ValueElement CodeSystem="HL70291" - DisplayName="Standard Generalized Markup Language (HL7 V2.3.1 and later)" - Usage="P" - Value="SGML"/> - <ValueElement CodeSystem="HL70291" DisplayName="Uninterpreted binary data" Usage="P" - Value="Octet-stream"/> - <ValueElement CodeSystem="HL70291" - DisplayName="Extensible Markup Language (HL7 V2.3.1 and later)" - Usage="P" - Value="XML"/> - <ValueElement CodeSystem="HL70291" - DisplayName="Digital Imaging and Communications in Medicine" - Usage="P" - Value="DICOM"/> - <ValueElement CodeSystem="HL70291" DisplayName="Hypertext Markup Language" Usage="P" - Value="HTML"/> - <ValueElement CodeSystem="HL70291" DisplayName="Electronic ink data (Jot 1.0 standard)" - Usage="P" - Value="JOT"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70472" ContentDefinition="Extensional" - Description="TQ conjunction ID" - Extensibility="Closed" - Name="TQ conjunction ID" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70472" DisplayName="Asynchronous" Usage="P" Value="A"/> - <ValueElement CodeSystem="HL70472" DisplayName="Actuation Time" Usage="P" Value="C"/> - <ValueElement CodeSystem="HL70472" DisplayName="Synchronous" Usage="P" Value="S"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70396" ContentDefinition="Extensional" - Description="Coding System" - Extensibility="Closed" - Name="Coding System" - Stability="Static" - Version="2.x"> - <ValueElement CodeSystem="HL70396" DisplayName="VIS Bar Codes (IIS)" Value="cdcgs1vis"/> - <ValueElement CodeSystem="HL70396" DisplayName="Health Outcomes" Value="HI"/> - <ValueElement CodeSystem="HL70396" DisplayName="Substance Identifier " Value="HL70451"/> - <ValueElement CodeSystem="HL70396" DisplayName="ASTM E1238/ E1467 Universal" Value="AS4"/> - <ValueElement CodeSystem="HL70396" DisplayName="Formulary Status " Value="HL70473"/> - <ValueElement CodeSystem="HL70396" DisplayName="Diet Type " Value="HL70114"/> - <ValueElement CodeSystem="HL70396" DisplayName="Site Administered" Value="HL70034"/> - <ValueElement CodeSystem="HL70396" DisplayName="Diagnosis Classification " Value="HL70228"/> - <ValueElement CodeSystem="HL70396" DisplayName="Item Status " Value="HL70776"/> - <ValueElement CodeSystem="HL70396" DisplayName="Hospital Service " Value="HL70069"/> - <ValueElement CodeSystem="HL70396" DisplayName="Facility ID " Value="HL70464"/> - <ValueElement CodeSystem="HL70396" DisplayName="Appeal Reason " Value="HL70345"/> - <ValueElement CodeSystem="HL70396" DisplayName="Nursing Interventions Classification" - Value="NIC"/> - <ValueElement CodeSystem="HL70396" - DisplayName="Time Selection Criteria Parameter Class Codes " - Value="HL70294"/> - <ValueElement CodeSystem="HL70396" DisplayName="Patient Type " Value="HL70018"/> - <ValueElement CodeSystem="HL70396" DisplayName="Status Respiration Minutes " Value="HL70757"/> - <ValueElement CodeSystem="HL70396" DisplayName="Cycle Type " Value="HL70702"/> - <ValueElement CodeSystem="HL70396" DisplayName="Mime Types " Value="HL70834"/> - <ValueElement CodeSystem="HL70396" DisplayName="Admit Source " Value="HL70023"/> - <ValueElement CodeSystem="HL70396" DisplayName="Universal Product Code" Value="UPC"/> - <ValueElement CodeSystem="HL70396" DisplayName="Organization Unit Type " Value="HL70474"/> - <ValueElement CodeSystem="HL70396" DisplayName="Occupation (SOC 2000)" Value="SOC"/> - <ValueElement CodeSystem="HL70396" DisplayName="Command Response " Value="HL70387"/> - <ValueElement CodeSystem="HL70396" DisplayName="Floor " Value="HL70308"/> - <ValueElement CodeSystem="HL70396" DisplayName="Danger Code" Value="HL70047"/> - <ValueElement CodeSystem="HL70396" DisplayName="DRG Grouper Review Code " Value="HL70056"/> - <ValueElement CodeSystem="HL70396" DisplayName="Message Type " Value="HL70076"/> - <ValueElement CodeSystem="HL70396" DisplayName="Volume Units " Value="HL70568"/> - <ValueElement CodeSystem="HL70396" DisplayName="Patient Charge Adjustment " Value="HL70218"/> - <ValueElement CodeSystem="HL70396" DisplayName="Reporting Priority " Value="HL70169"/> - <ValueElement CodeSystem="HL70396" - DisplayName="International Classification of Functioning, Disability and Health (ICF)" - Value="ICF"/> - <ValueElement CodeSystem="HL70396" - DisplayName="Notifiable Event (Disease/Condition) Code List" - Value="NND"/> - <ValueElement CodeSystem="HL70396" DisplayName="Grouper Status " Value="HL70734"/> - <ValueElement CodeSystem="HL70396" DisplayName="Entity Handling Code" Value="ENTITYHDLG"/> - <ValueElement CodeSystem="HL70396" DisplayName="Locus Reference Genomic (LRG)" - Value="LRG-RefSeq"/> - <ValueElement CodeSystem="HL70396" DisplayName="Reimbursement Type Code " Value="HL70470"/> - <ValueElement CodeSystem="HL70396" DisplayName="Security Check Scheme " Value="HL70904"/> - <ValueElement CodeSystem="HL70396" DisplayName="Name Type " Value="HL70200"/> - <ValueElement CodeSystem="HL70396" DisplayName="CPT-5" Value="C5"/> - <ValueElement CodeSystem="HL70396" DisplayName="Amount Type " Value="HL70146"/> - <ValueElement CodeSystem="HL70396" DisplayName="FIPS 5-2 (State)" Value="FIPS5_2"/> - <ValueElement CodeSystem="HL70396" DisplayName="Device Safety" Value="HL70963"/> - <ValueElement CodeSystem="HL70396" DisplayName="Allergen Type" Value="HL70127"/> - <ValueElement CodeSystem="HL70396" DisplayName="Data Types " Value="HL70440"/> - <ValueElement CodeSystem="HL70396" DisplayName="DRG Diagnosis Determination Status " - Value="HL70731"/> - <ValueElement CodeSystem="HL70396" DisplayName="ICD 10 Germany v2009" Value="ICD10GM2009"/> - <ValueElement CodeSystem="HL70396" DisplayName="Transfusion Adverse Reaction " - Value="HL70514"/> - <ValueElement CodeSystem="HL70396" DisplayName="Isolation" Value="HL70016"/> - <ValueElement CodeSystem="HL70396" - DisplayName="International Classification of Diseases for Oncology" - Value="ICDO"/> - <ValueElement CodeSystem="HL70396" DisplayName="HIBCC Unique Device Identifier" - Value="HIBUDI"/> - <ValueElement CodeSystem="HL70396" DisplayName="Advanced Beneficiary Notice Code " - Value="HL70339"/> - <ValueElement CodeSystem="HL70396" - DisplayName="Used to indicate that the target of the relationship will be a filtered subset of the total related set of targets. Used when there is a need to limit the number of components to the first, the last, the next, the total, the average or some other filtere" - Value="ACTRELSS"/> - <ValueElement CodeSystem="HL70396" DisplayName="Charge On Indicator " Value="HL70269"/> - <ValueElement CodeSystem="HL70396" DisplayName="DRG Transfer Type " Value="HL70415"/> - <ValueElement CodeSystem="HL70396" DisplayName="Location Relationship ID " Value="HL70325"/> - <ValueElement CodeSystem="HL70396" DisplayName="Institution Relationship Type " - Value="HL70538"/> - <ValueElement CodeSystem="HL70396" DisplayName="WHO ATC" Value="WC"/> - <ValueElement CodeSystem="HL70396" DisplayName="Physician ID " Value="HL70010"/> - <ValueElement CodeSystem="HL70396" DisplayName="WHO record # code with ASTM extension" - Value="W4"/> - <ValueElement CodeSystem="HL70396" DisplayName="Substance Status " Value="HL70383"/> - <ValueElement CodeSystem="HL70396" DisplayName="Item Status Codes " Value="HL70625"/> - <ValueElement CodeSystem="HL70396" DisplayName="Pre-Admit Test Indicator " Value="HL70087"/> - <ValueElement CodeSystem="HL70396" DisplayName="Container Form" Value="HL70967"/> - <ValueElement CodeSystem="HL70396" DisplayName="Processing Consideration Codes " - Value="HL70562"/> - <ValueElement CodeSystem="HL70396" DisplayName="Performed By " Value="HL70084"/> - <ValueElement CodeSystem="HL70396" DisplayName="Event Consequence " Value="HL70240"/> - <ValueElement CodeSystem="HL70396" DisplayName="Systemized Nomenclature of Medicine (SNOMED)" - Value="SNM"/> - <ValueElement CodeSystem="HL70396" DisplayName="Case Category Code " Value="HL70423"/> - <ValueElement CodeSystem="HL70396" DisplayName="Manufacturers Of Vaccines " Value="HL70227"/> - <ValueElement CodeSystem="HL70396" DisplayName="Patient’S Relationship To Insured " - Value="HL70344"/> - <ValueElement CodeSystem="HL70396" DisplayName="Risk Codes" Value="HL70489"/> - <ValueElement CodeSystem="HL70396" DisplayName="CDC National Healthcare Safety Network Codes" - Value="CDCNHSN"/> - <ValueElement CodeSystem="HL70396" DisplayName="Name/Address Representation " Value="HL70465"/> - <ValueElement CodeSystem="HL70396" DisplayName="dbVar-Somatic" Value="dbVar-som"/> - <ValueElement CodeSystem="HL70396" DisplayName="Container Condition " Value="HL70544"/> - <ValueElement CodeSystem="HL70396" - DisplayName="International Classification of Sleep Disorders" - Value="ICSD"/> - <ValueElement CodeSystem="HL70396" DisplayName="Major Diagnostic Category " Value="HL70118"/> - <ValueElement CodeSystem="HL70396" DisplayName="G-DRG German DRG Codes v 2005" - Value="GDRG2005"/> - <ValueElement CodeSystem="HL70396" DisplayName="OPS Germany v2013" Value="OPS2013"/> - <ValueElement CodeSystem="HL70396" DisplayName="Type Of Referenced Data " Value="HL70191"/> - <ValueElement CodeSystem="HL70396" DisplayName="CDC Surveillance" Value="CDS"/> - <ValueElement CodeSystem="HL70396" DisplayName="Specimen Type " Value="HL70487"/> - <ValueElement CodeSystem="HL70396" DisplayName="Policy Source " Value="HL70313"/> - <ValueElement CodeSystem="HL70396" DisplayName="Document Type " Value="HL70270"/> - <ValueElement CodeSystem="HL70396" DisplayName="Health Care Provider Area Of Specialization " - Value="HL70454"/> - <ValueElement CodeSystem="HL70396" DisplayName="Allergy Severity " Value="HL70128"/> - <ValueElement CodeSystem="HL70396" DisplayName="Diet Code Specification Type " - Value="HL70159"/> - <ValueElement CodeSystem="HL70396" DisplayName="PSRO/UR Approval Indicator" Value="HL70349"/> - <ValueElement CodeSystem="HL70396" DisplayName="Manufacturer Identifier " Value="HL70385"/> - <ValueElement CodeSystem="HL70396" DisplayName="CMS (formerly HCFA )Procedure Codes (HCPCS)" - Value="HPC"/> - <ValueElement CodeSystem="HL70396" DisplayName="Document Availability Status " - Value="HL70273"/> - <ValueElement CodeSystem="HL70396" DisplayName="Item Natural Account Code " Value="HL70320"/> - <ValueElement CodeSystem="HL70396" DisplayName="NCBI - protein reference sequence" - Value="RefSeq-P"/> - <ValueElement CodeSystem="HL70396" DisplayName="Relational Operator " Value="HL70209"/> - <ValueElement CodeSystem="HL70396" DisplayName="RX Component Type " Value="HL70166"/> - <ValueElement CodeSystem="HL70396" DisplayName="Telecommunication Equipment Type " - Value="HL70202"/> - <ValueElement CodeSystem="HL70396" DisplayName="OPS Germany v2012" Value="OPS2012"/> - <ValueElement CodeSystem="HL70396" DisplayName="Sterilization Type " Value="HL70806"/> - <ValueElement CodeSystem="HL70396" DisplayName="Problem/Goal Action Code " Value="HL70287"/> - <ValueElement CodeSystem="HL70396" DisplayName="Pricing Tier Level" Value="HL70966"/> - <ValueElement CodeSystem="HL70396" DisplayName="Cost Center Code " Value="HL70539"/> - <ValueElement CodeSystem="HL70396" DisplayName="Provider Role " Value="HL70286"/> - <ValueElement CodeSystem="HL70396" DisplayName="Payment Adjustment Code " Value="HL70468"/> - <ValueElement CodeSystem="HL70396" DisplayName="Name Assembly Order " Value="HL70444"/> - <ValueElement CodeSystem="HL70396" DisplayName="Nature Of Service/Test/Observation " - Value="HL70174"/> - <ValueElement CodeSystem="HL70396" DisplayName="Privilege Class " Value="HL70526"/> - <ValueElement CodeSystem="HL70396" DisplayName="ICD-10 Australian modification" - Value="ICD10AM"/> - <ValueElement CodeSystem="HL70396" DisplayName="Consent Identifier " Value="HL70413"/> - <ValueElement CodeSystem="HL70396" DisplayName="Procedure Functional Type " Value="HL70230"/> - <ValueElement CodeSystem="HL70396" DisplayName="Health Care Provider Type Code " - Value="HL70452"/> - <ValueElement CodeSystem="HL70396" DisplayName="Special Program Indicator" Value="HL70348"/> - <ValueElement CodeSystem="HL70396" DisplayName="Precaution Code " Value="HL70433"/> - <ValueElement CodeSystem="HL70396" DisplayName="Device Status" Value="HL70962"/> - <ValueElement CodeSystem="HL70396" DisplayName="Ensembl protein reference sequence" - Value="Ensembl-P"/> - <ValueElement CodeSystem="HL70396" - DisplayName="Local general code for a site-defined code system used for a specific set of trading partners. The 'zzz' SHALL be any printable ASCII string. Length of the name SHALL not exceed field width, and is subject to local implementation." - Value="L"/> - <ValueElement CodeSystem="HL70396" DisplayName="Invoice Processing Results Status " - Value="HL70571"/> - <ValueElement CodeSystem="HL70396" DisplayName="Yes/No Indicator " Value="HL70136"/> - <ValueElement CodeSystem="HL70396" DisplayName="Name Context " Value="HL70448"/> - <ValueElement CodeSystem="HL70396" DisplayName="Living Arrangements " Value="HL70220"/> - <ValueElement CodeSystem="HL70396" DisplayName="State/Province " Value="HL70347"/> - <ValueElement CodeSystem="HL70396" DisplayName="Expanded Yes/No Indicator " Value="HL70532"/> - <ValueElement CodeSystem="HL70396" - DisplayName="International Classification of Diseases, 10th Revision, Procedure Coding System (ICD-10-PCS)" - Value="I10P"/> - <ValueElement CodeSystem="HL70396" DisplayName="Class Of Trade" Value="HL70947"/> - <ValueElement CodeSystem="HL70396" DisplayName="Mode Of Arrival Code " Value="HL70430"/> - <ValueElement CodeSystem="HL70396" DisplayName="Referral Type " Value="HL70281"/> - <ValueElement CodeSystem="HL70396" DisplayName="Shipment Status " Value="HL70905"/> - <ValueElement CodeSystem="HL70396" DisplayName="Referral Status " Value="HL70283"/> - <ValueElement CodeSystem="HL70396" DisplayName="Source of Information (Immunization)" - Value="NIP001"/> - <ValueElement CodeSystem="HL70396" DisplayName="MDNS" Value="UMD"/> - <ValueElement CodeSystem="HL70396" DisplayName="Segment Action Code " Value="HL70206"/> - <ValueElement CodeSystem="HL70396" DisplayName="Formulary Status " Value="HL70478"/> - <ValueElement CodeSystem="HL70396" DisplayName="G-DRG German DRG Codes v 2004" - Value="GDRG2004"/> - <ValueElement CodeSystem="HL70396" DisplayName="UPIN" Value="UPIN"/> - <ValueElement CodeSystem="HL70396" DisplayName="German Major Diagnostic Codes v 1004" - Value="GMDC2004"/> - <ValueElement CodeSystem="HL70396" DisplayName="Account Status " Value="HL70117"/> - <ValueElement CodeSystem="HL70396" DisplayName="Response Flag " Value="HL70121"/> - <ValueElement CodeSystem="HL70396" DisplayName="Specimen Collection Site " Value="HL70543"/> - <ValueElement CodeSystem="HL70396" DisplayName="Days Of The Week " Value="HL70267"/> - <ValueElement CodeSystem="HL70396" DisplayName="Package " Value="HL70818"/> - <ValueElement CodeSystem="HL70396" DisplayName="ICD 10 Germany v2012" Value="ICD10GM2012"/> - <ValueElement CodeSystem="HL70396" DisplayName="Release Information " Value="HL70093"/> - <ValueElement CodeSystem="HL70396" DisplayName="Local/Remote Control State " Value="HL70366"/> - <ValueElement CodeSystem="HL70396" DisplayName="Health Care Provider Classification " - Value="HL70453"/> - <ValueElement CodeSystem="HL70396" DisplayName="Specimen Component " Value="HL70372"/> - <ValueElement CodeSystem="HL70396" DisplayName="Limitation Type Codes " Value="HL70940"/> - <ValueElement CodeSystem="HL70396" DisplayName="Labor Calculation Type " Value="HL70651"/> - <ValueElement CodeSystem="HL70396" DisplayName="Location Department " Value="HL70264"/> - <ValueElement CodeSystem="HL70396" DisplayName="Derived Specimen " Value="HL70170"/> - <ValueElement CodeSystem="HL70396" - DisplayName="ISBT 128 Standard transfusion/transplantation data items" - Value="IBT0001"/> - <ValueElement CodeSystem="HL70396" DisplayName="Other Environmental Factors " Value="HL70377"/> - <ValueElement CodeSystem="HL70396" DisplayName="Arm Stick " Value="HL70927"/> - <ValueElement CodeSystem="HL70396" DisplayName="ISO4217 Currency Codes" Value="ISO4217"/> - <ValueElement CodeSystem="HL70396" DisplayName="Japanese Chemistry" Value="JC8"/> - <ValueElement CodeSystem="HL70396" DisplayName="Authorization Mode " Value="HL70483"/> - <ValueElement CodeSystem="HL70396" DisplayName="Certification Patient Type " Value="HL70150"/> - <ValueElement CodeSystem="HL70396" DisplayName="Charge Type " Value="HL70122"/> - <ValueElement CodePattern="ISO.+" CodeSystem="HL70396" - DisplayName="ISO Defined Codes where nnnn is the ISO table number. (deprecated)" - Value="ISOnnnn"/> - <ValueElement CodeSystem="HL70396" DisplayName="Recurring Service Code " Value="HL70219"/> - <ValueElement CodeSystem="HL70396" DisplayName="Annotations " Value="HL70317"/> - <ValueElement CodePattern="X12DE.+" CodeSystem="HL70396" DisplayName="ASC X12 Code List nnnn" - Value="X12DEnnnn"/> - <ValueElement CodeSystem="HL70396" DisplayName="National drug codes" Value="NDC"/> - <ValueElement CodeSystem="HL70396" DisplayName="Point of Origin" Value="UB04FL15"/> - <ValueElement CodeSystem="HL70396" DisplayName="Provider Billing " Value="HL70187"/> - <ValueElement CodeSystem="HL70396" DisplayName="Document Storage Status " Value="HL70275"/> - <ValueElement CodeSystem="HL70396" DisplayName="dbVar-Germline" Value="dbVar-GL"/> - <ValueElement CodeSystem="HL70396" DisplayName="VIP Indicator " Value="HL70099"/> - <ValueElement CodeSystem="HL70396" DisplayName="American Type Culture Collection" Value="ATC"/> - <ValueElement CodeSystem="HL70396" DisplayName="German Alpha-ID v2014" Value="ALPHAID2014"/> - <ValueElement CodeSystem="HL70396" DisplayName="Supply Risk Codes " Value="HL70871"/> - <ValueElement CodeSystem="HL70396" DisplayName="Transport Destination" Value="HL70943"/> - <ValueElement CodeSystem="HL70396" DisplayName="American College of Radiology finding codes" - Value="ACR"/> - <ValueElement CodeSystem="HL70396" - DisplayName="International Classification of Diseases, 10th Revision, Clinical Modification (ICD-10-CM)" - Value="I10C"/> - <ValueElement CodeSystem="HL70396" DisplayName="DICOM Class Label" Value="DCL"/> - <ValueElement CodeSystem="HL70396" DisplayName="Provider Role " Value="HL70443"/> - <ValueElement CodeSystem="HL70396" DisplayName="Military Handicapped Program Code " - Value="HL70343"/> - <ValueElement CodeSystem="HL70396" - DisplayName="Clinicians are required to track the Vaccine Information Sheet (VIS) that was shared with the recipient of a vaccination. This code system contains codes that identify the document type and the owner of the document." - Value="VIS"/> - <ValueElement CodeSystem="HL70396" DisplayName="Identity Reliability Code " Value="HL70445"/> - <ValueElement CodeSystem="HL70396" DisplayName="Version ID" Value="HL70104"/> - <ValueElement CodeSystem="HL70396" DisplayName="Cap Type " Value="HL70381"/> - <ValueElement CodeSystem="HL70396" DisplayName="Access Restriction Value " Value="HL70717"/> - <ValueElement CodeSystem="HL70396" DisplayName="Supplemental Service Information Values " - Value="HL70411"/> - <ValueElement CodeSystem="HL70396" DisplayName="WHO record # drug codes (8 digit)" Value="W2"/> - <ValueElement CodeSystem="HL70396" DisplayName="Unused Table" Value="HL70020"/> - <ValueElement CodeSystem="HL70396" DisplayName="BP Observation Status Codes Interpretation " - Value="HL70511"/> - <ValueElement CodeSystem="HL70396" - DisplayName="CDC PHLIP Lab result codes that are not covered in SNOMED at the time of this implementation" - Value="PLR"/> - <ValueElement CodeSystem="HL70396" DisplayName="German Alpha-ID v2015" Value="ALPHAID2015"/> - <ValueElement CodeSystem="HL70396" DisplayName="Process Interruption Reason " Value="HL70935"/> - <ValueElement CodeSystem="HL70396" - DisplayName="Vaccination - Contraindications, Precautions, and Immunities" - Value="NIP004"/> - <ValueElement CodeSystem="HL70396" DisplayName="German Alpha-ID v2011" Value="ALPHAID2011"/> - <ValueElement CodeSystem="HL70396" DisplayName="HL7 set of units of measure" Value="ANS+"/> - <ValueElement CodeSystem="HL70396" DisplayName="Medical Economics Diagnostic Codes" - Value="MEDX"/> - <ValueElement CodeSystem="HL70396" DisplayName="Diagnosis Code " Value="HL70051"/> - <ValueElement CodeSystem="HL70396" DisplayName="Handicap " Value="HL70295"/> - <ValueElement CodeSystem="HL70396" DisplayName="Privilege " Value="HL70525"/> - <ValueElement CodeSystem="HL70396" DisplayName="ICD-9CM Diagnosis codes" Value="I9CDX"/> - <ValueElement CodePattern="X12De.+" CodeSystem="HL70396" DisplayName="ASC X12 Code List nnnn" - Value="X12Dennnn"/> - <ValueElement CodeSystem="HL70396" DisplayName="Operator ID " Value="HL70188"/> - <ValueElement CodeSystem="HL70396" DisplayName="Entity Code" Value="ENTITYCODE"/> - <ValueElement CodeSystem="HL70396" DisplayName="Breed Code " Value="HL70447"/> - <ValueElement CodeSystem="HL70396" DisplayName="Relationship Type" Value="HL70948"/> - <ValueElement CodeSystem="HL70396" DisplayName="Commercial Product " Value="HL70512"/> - <ValueElement CodeSystem="HL70396" DisplayName="What Subject Filter" Value="HL70048"/> - <ValueElement CodeSystem="HL70396" DisplayName="FIPS 6-4 (County)" Value="FIPS6_4"/> - <ValueElement CodeSystem="HL70396" DisplayName="Additive/Preservative " Value="HL70371"/> - <ValueElement CodeSystem="HL70396" DisplayName="Duration Categories " Value="HL70255"/> - <ValueElement CodeSystem="HL70396" DisplayName="Military Status " Value="HL70142"/> - <ValueElement CodeSystem="HL70396" DisplayName="Address Expiration Reason " Value="HL70616"/> - <ValueElement CodeSystem="HL70396" DisplayName="ICHPPC-2" Value="IC2"/> - <ValueElement CodeSystem="HL70396" DisplayName="Display Level" Value="HL70101"/> - <ValueElement CodeSystem="HL70396" DisplayName="VAERS Report type" Value="NIP010"/> - <ValueElement CodeSystem="HL70396" DisplayName="Advance Directive Code " Value="HL70435"/> - <ValueElement CodeSystem="HL70396" DisplayName="Event Qualification " Value="HL70237"/> - <ValueElement CodeSystem="HL70396" DisplayName="Living Dependency " Value="HL70223"/> - <ValueElement CodeSystem="HL70396" DisplayName="OCE Edit Code " Value="HL70458"/> - <ValueElement CodeSystem="HL70396" DisplayName="Language Proficiency " Value="HL70404"/> - <ValueElement CodeSystem="HL70396" DisplayName="Race " Value="HL70005"/> - <ValueElement CodeSystem="HL70396" DisplayName="Veterans Military Status " Value="HL70172"/> - <ValueElement CodeSystem="HL70396" DisplayName="Order Control Code Reason" Value="HL70949"/> - <ValueElement CodeSystem="HL70396" - DisplayName="CDC Public Health Information Network (PHIN) Question" - Value="PHINQUESTION"/> - <ValueElement CodeSystem="HL70396" DisplayName="Dispense Type " Value="HL70484"/> - <ValueElement CodeSystem="HL70396" DisplayName="Preferred Specimen/Attribute Status " - Value="HL70920"/> - <ValueElement CodeSystem="HL70396" DisplayName="Second Opinion Status " Value="HL70151"/> - <ValueElement CodeSystem="HL70396" DisplayName="Financial Transaction Code" Value="HL70096"/> - <ValueElement CodeSystem="HL70396" DisplayName="Blood Unit Type " Value="HL70566"/> - <ValueElement CodeSystem="HL70396" DisplayName="Escort Required " Value="HL70225"/> - <ValueElement CodeSystem="HL70396" DisplayName="Signatory’S Relationship To Subject " - Value="HL70548"/> - <ValueElement CodeSystem="HL70396" DisplayName="Practitioner ID Number Type " Value="HL70338"/> - <ValueElement CodeSystem="HL70396" DisplayName="ICD-10 Canada" Value="ICD10CA"/> - <ValueElement CodeSystem="HL70396" DisplayName="Nature Of Abnormal Testing " Value="HL70080"/> - <ValueElement CodeSystem="HL70396" DisplayName="Kind Of Quantity " Value="HL70254"/> - <ValueElement CodeSystem="HL70396" DisplayName="Response Modality " Value="HL70394"/> - <ValueElement CodeSystem="HL70396" DisplayName="Department Cost Center " Value="HL70319"/> - <ValueElement CodeSystem="HL70396" DisplayName="Protection Code " Value="HL70618"/> - <ValueElement CodeSystem="HL70396" DisplayName="Acknowledgment Code " Value="HL70008"/> - <ValueElement CodeSystem="HL70396" DisplayName="Marketing Basis " Value="HL70330"/> - <ValueElement CodeSystem="HL70396" DisplayName="Patient Outcome " Value="HL70241"/> - <ValueElement CodeSystem="HL70396" DisplayName="Adjustment Category Code " Value="HL70564"/> - <ValueElement CodeSystem="HL70396" DisplayName="Procedure Type" Value="HL70090"/> - <ValueElement CodeSystem="HL70396" DisplayName="SNOMED Clinical Terms" Value="SCT"/> - <ValueElement CodeSystem="HL70396" DisplayName="Industry (NAICS)" Value="NAICS"/> - <ValueElement CodeSystem="HL70396" DisplayName="ISBT" Value="IBT"/> - <ValueElement CodeSystem="HL70396" DisplayName="Charge Type Reason " Value="HL70475"/> - <ValueElement CodeSystem="HL70396" DisplayName="Query Results Level" Value="HL70108"/> - <ValueElement CodeSystem="HL70396" DisplayName="Collection Event/Process Step Limit " - Value="HL70938"/> - <ValueElement CodeSystem="HL70396" DisplayName="HIBCC" Value="HB"/> - <ValueElement CodeSystem="HL70396" DisplayName="Nature Of Challenge " Value="HL70257"/> - <ValueElement CodeSystem="HL70396" DisplayName="Modality " Value="HL70259"/> - <ValueElement CodeSystem="HL70396" DisplayName="Subtype Of Referenced Data " Value="HL70291"/> - <ValueElement CodeSystem="HL70396" DisplayName="Record-Level Event Code " Value="HL70180"/> - <ValueElement CodeSystem="HL70396" DisplayName="Telecommunication Use Code " Value="HL70201"/> - <ValueElement CodeSystem="HL70396" DisplayName="Consent Disclosure Level " Value="HL70500"/> - <ValueElement CodeSystem="HL70396" DisplayName="Sequencing " Value="HL70397"/> - <ValueElement CodeSystem="HL70396" - DisplayName="College of American Pathologists Electronic Cancer Checklist" - Value="CAPECC"/> - <ValueElement CodeSystem="HL70396" DisplayName="Specimen Action Code " Value="HL70065"/> - <ValueElement CodeSystem="HL70396" DisplayName="German Alpha-ID v2008" Value="ALPHAID2008"/> - <ValueElement CodePattern="IBT.+" CodeSystem="HL70396" - DisplayName="ISBT 128 codes where nnnn specifies a specific table within ISBT 128." - Value="IBTnnnn"/> - <ValueElement CodeSystem="HL70396" DisplayName="Medical Device Communication" Value="MDC"/> - <ValueElement CodeSystem="HL70396" DisplayName="SNOMED Clinical Terms alphanumeric codes" - Value="SCT2"/> - <ValueElement CodeSystem="HL70396" DisplayName="Transfusion Interrupted Reason " - Value="HL70515"/> - <ValueElement CodeSystem="HL70396" DisplayName="Fee Schedule " Value="HL70024"/> - <ValueElement CodeSystem="HL70396" DisplayName="Report Timing " Value="HL70234"/> - <ValueElement CodeSystem="HL70396" DisplayName="Day Type " Value="HL70149"/> - <ValueElement CodeSystem="HL70396" DisplayName="SNOMED- DICOM Microglossary" Value="SDM"/> - <ValueElement CodeSystem="HL70396" DisplayName="Response Level " Value="HL70179"/> - <ValueElement CodeSystem="HL70396" - DisplayName="Logical Observation Identifier Names and Codes (LOINC®)" - Value="LN"/> - <ValueElement CodeSystem="HL70396" DisplayName="Processing Priority " Value="HL70168"/> - <ValueElement CodeSystem="HL70396" DisplayName="Single Use Device " Value="HL70244"/> - <ValueElement CodeSystem="HL70396" DisplayName="Consent Code " Value="HL70059"/> - <ValueElement CodeSystem="HL70396" DisplayName="Procedure Coding Method" Value="HL70089"/> - <ValueElement CodeSystem="HL70396" DisplayName="File Level Event Code " Value="HL70178"/> - <ValueElement CodeSystem="HL70396" DisplayName="Body Parts " Value="HL70550"/> - <ValueElement CodeSystem="HL70396" DisplayName="Override Type " Value="HL70518"/> - <ValueElement CodeSystem="HL70396" DisplayName="CWE Statuses " Value="HL70353"/> - <ValueElement CodeSystem="HL70396" DisplayName="Appointment Type Codes " Value="HL70277"/> - <ValueElement CodeSystem="HL70396" DisplayName="Visit ID Type" Value="HL70192"/> - <ValueElement CodeSystem="HL70396" DisplayName="ICD 10 Germany v2011" Value="ICD10GM2011"/> - <ValueElement CodeSystem="HL70396" DisplayName="Modify Indicator " Value="HL70395"/> - <ValueElement CodeSystem="HL70396" DisplayName="Drug Code" Value="HL70057"/> - <ValueElement CodeSystem="HL70396" DisplayName="Query/Response Format Code" Value="HL70106"/> - <ValueElement CodeSystem="HL70396" DisplayName="Lot Control " Value="HL70659"/> - <ValueElement CodeSystem="HL70396" DisplayName="DRG Procedure Determination Status " - Value="HL70761"/> - <ValueElement CodeSystem="HL70396" DisplayName="Patient Condition Code " Value="HL70434"/> - <ValueElement CodeSystem="HL70396" DisplayName="Packaging Status Code " Value="HL70469"/> - <ValueElement CodeSystem="HL70396" DisplayName="Chemical abstract codes" Value="CAS"/> - <ValueElement CodeSystem="HL70396" DisplayName="Controlled Substance Schedule " - Value="HL70477"/> - <ValueElement CodeSystem="HL70396" DisplayName="Location Characteristic ID " Value="HL70324"/> - <ValueElement CodeSystem="HL70396" DisplayName="Practitioner Group " Value="HL70358"/> - <ValueElement CodeSystem="HL70396" DisplayName="Specimen Collection Method " Value="HL70488"/> - <ValueElement CodeSystem="HL70396" DisplayName="Participation" Value="HL70912"/> - <ValueElement CodeSystem="HL70396" DisplayName="Nationality " Value="HL70212"/> - <ValueElement CodeSystem="HL70396" DisplayName="Omaha System" Value="OHA"/> - <ValueElement CodeSystem="HL70396" DisplayName="Unified Medical Language" Value="UML"/> - <ValueElement CodeSystem="HL70396" DisplayName="G-DRG German DRG Codes v2008" - Value="GDRG2008"/> - <ValueElement CodeSystem="HL70396" DisplayName="Flavors of NULL" Value="NULLFL"/> - <ValueElement CodeSystem="HL70396" DisplayName="Message Error Condition Codes " - Value="HL70357"/> - <ValueElement CodeSystem="HL70396" DisplayName="Body Site " Value="HL70163"/> - <ValueElement CodeSystem="HL70396" DisplayName="ICD9" Value="I9"/> - <ValueElement CodeSystem="HL70396" DisplayName="DRG Payor " Value="HL70229"/> - <ValueElement CodeSystem="HL70396" DisplayName="ICD 10 Germany 2004" Value="I10G2004"/> - <ValueElement CodeSystem="HL70396" DisplayName="Generic Product " Value="HL70249"/> - <ValueElement CodeSystem="HL70396" DisplayName="Present on Admission" Value="UB04FL67"/> - <ValueElement CodeSystem="HL70396" DisplayName="OPS Germany v2007" Value="OPS2007"/> - <ValueElement CodeSystem="HL70396" DisplayName="Severity Of Illness Code " Value="HL70421"/> - <ValueElement CodeSystem="HL70396" DisplayName="HGNC-symb" Value="HGNC-Symb"/> - <ValueElement CodeSystem="HL70396" DisplayName="Product/Service Line Item Status " - Value="HL70559"/> - <ValueElement CodeSystem="HL70396" DisplayName="G-DRG German DRG Codes v2007" - Value="GDRG2007"/> - <ValueElement CodeSystem="HL70396" DisplayName="Name/Address Representation" Value="HL74000"/> - <ValueElement CodeSystem="HL70396" DisplayName="Specimen Source Type Modifier " - Value="HL70542"/> - <ValueElement CodeSystem="HL70396" DisplayName="Data Absent Reason" Value="HL70960"/> - <ValueElement CodeSystem="HL70396" DisplayName="Value Type " Value="HL70125"/> - <ValueElement CodeSystem="HL70396" DisplayName="Medispan GPI" Value="MGPI"/> - <ValueElement CodeSystem="HL70396" DisplayName="Status Admission " Value="HL70759"/> - <ValueElement CodeSystem="HL70396" DisplayName="ICD 10 Germany v2010" Value="ICD10GM2010"/> - <ValueElement CodeSystem="HL70396" DisplayName="User Authentication Credential Type Code " - Value="HL70615"/> - <ValueElement CodeSystem="HL70396" DisplayName="Override " Value="HL70268"/> - <ValueElement CodeSystem="HL70396" DisplayName="Certification Status " Value="HL70337"/> - <ValueElement CodeSystem="HL70396" DisplayName="Coverage Type " Value="HL70309"/> - <ValueElement CodeSystem="HL70396" DisplayName="Consent Type " Value="HL70496"/> - <ValueElement CodeSystem="HL70396" DisplayName="Occupational Data for Health (ODH)" - Value="CDCODH"/> - <ValueElement CodeSystem="HL70396" DisplayName="Notice Of Admission" Value="HL70081"/> - <ValueElement CodeSystem="HL70396" DisplayName="CDC PHIN Vocabulary Coding System" - Value="CDCPHINVS"/> - <ValueElement CodeSystem="HL70396" DisplayName="German Alpha-ID v2006" Value="ALPHAID2006"/> - <ValueElement CodeSystem="HL70396" DisplayName="EUCLIDES" Value="E"/> - <ValueElement CodeSystem="HL70396" DisplayName="ICD 10 Germany v2008" Value="ICD10GM2008"/> - <ValueElement CodeSystem="HL70396" DisplayName="Facility " Value="HL70362"/> - <ValueElement CodeSystem="HL70396" DisplayName="Practitioner Category " Value="HL70186"/> - <ValueElement CodeSystem="HL70396" DisplayName="Mail Claim Party " Value="HL70137"/> - <ValueElement CodeSystem="HL70396" DisplayName="Clinical Care Classification system" - Value="CCC"/> - <ValueElement CodeSystem="HL70396" DisplayName="Device Type" Value="HL70657"/> - <ValueElement CodeSystem="HL70396" DisplayName="Risk Management Incident Code " - Value="HL70427"/> - <ValueElement CodeSystem="HL70396" DisplayName="Industry (SIC)" Value="SIC"/> - <ValueElement CodeSystem="HL70396" DisplayName="Policy Scope " Value="HL70312"/> - <ValueElement CodeSystem="HL70396" DisplayName="Bad Debt Agency Code " Value="HL70021"/> - <ValueElement CodeSystem="HL70396" DisplayName="Calendar Alignment " Value="HL70527"/> - <ValueElement CodeSystem="HL70396" DisplayName="Populated Places (FIPS 55-3)" - Value="FIPS55_3"/> - <ValueElement CodeSystem="HL70396" DisplayName="Contact Reason " Value="HL70222"/> - <ValueElement CodeSystem="HL70396" DisplayName="Country Code" Value="HL70399"/> - <ValueElement CodeSystem="HL70396" DisplayName="Medical Economics Drug Codes" Value="MEDC"/> - <ValueElement CodeSystem="HL70396" DisplayName="LanguaL" Value="LANGUAL"/> - <ValueElement CodeSystem="HL70396" DisplayName="Special Program Code " Value="HL70214"/> - <ValueElement CodeSystem="HL70396" - DisplayName="Medically Necessary Duplicate Procedure Reason " - Value="HL70476"/> - <ValueElement CodeSystem="HL70396" DisplayName="Weight Units " Value="HL70929"/> - <ValueElement CodeSystem="HL70396" DisplayName="Species Code " Value="HL70446"/> - <ValueElement CodeSystem="HL70396" DisplayName="Publicity Code " Value="HL70215"/> - <ValueElement CodeSystem="HL70396" DisplayName="Procedure Code " Value="HL70088"/> - <ValueElement CodeSystem="HL70396" DisplayName="Mood Codes " Value="HL70725"/> - <ValueElement CodeSystem="HL70396" DisplayName="Tray Type " Value="HL70160"/> - <ValueElement CodeSystem="HL70396" DisplayName="OPS Germany v2008" Value="OPS2009"/> - <ValueElement CodeSystem="HL70396" DisplayName="Alternate Character Set Handling Scheme " - Value="HL70356"/> - <ValueElement CodeSystem="HL70396" DisplayName="Enzyme Codes" Value="ENZC"/> - <ValueElement CodeSystem="HL70396" DisplayName="CDC Emergency Department Acuity" - Value="CDCEDACUITY"/> - <ValueElement CodeSystem="HL70396" DisplayName="Transaction Code " Value="HL70132"/> - <ValueElement CodeSystem="HL70396" DisplayName="Computation Type " Value="HL70523"/> - <ValueElement CodeSystem="HL70396" - DisplayName="International Classification of Disease for Oncology Third Edition" - Value="ICDO3"/> - <ValueElement CodeSystem="HL70396" DisplayName="CN ID Source " Value="HL70297"/> - <ValueElement CodeSystem="HL70396" DisplayName="Document Completion Status " Value="HL70271"/> - <ValueElement CodeSystem="HL70396" DisplayName="Device Status " Value="HL70682"/> - <ValueElement CodeSystem="HL70396" DisplayName="Allow Substitutions Code " Value="HL70279"/> - <ValueElement CodeSystem="HL70396" DisplayName="Blood Product Code " Value="HL70426"/> - <ValueElement CodeSystem="HL70396" DisplayName="Access Restriction Reason" Value="HL70719"/> - <ValueElement CodeSystem="HL70396" DisplayName="FDA K10" Value="FDK"/> - <ValueElement CodeSystem="HL70396" DisplayName="Order Control Codes " Value="HL70119"/> - <ValueElement CodeSystem="HL70396" DisplayName="Institution " Value="HL70537"/> - <ValueElement CodeSystem="HL70396" DisplayName="Present On Admission (POA) Indicator " - Value="HL70895"/> - <ValueElement CodeSystem="HL70396" DisplayName="Signature Code" Value="HL70535"/> - <ValueElement CodeSystem="HL70396" DisplayName="Amount Class " Value="HL70193"/> - <ValueElement CodeSystem="HL70396" DisplayName="Patient Discharge Status" Value="UB04FL17"/> - <ValueElement CodeSystem="HL70396" DisplayName="Organization Unit Type " Value="HL70406"/> - <ValueElement CodeSystem="HL70396" DisplayName="EPA SRS" Value="EPASRS"/> - <ValueElement CodeSystem="HL70396" DisplayName="Blood Product Dispense Status " - Value="HL70510"/> - <ValueElement CodeSystem="HL70396" DisplayName="DRG Procedure Relevance " Value="HL70763"/> - <ValueElement CodeSystem="HL70396" DisplayName="Diagnosis Type " Value="HL70052"/> - <ValueElement CodeSystem="HL70396" DisplayName="Specimen Role " Value="HL70369"/> - <ValueElement CodeSystem="HL70396" DisplayName="Which Date/Time Status Qualifier" - Value="HL70157"/> - <ValueElement CodeSystem="HL70396" DisplayName="Department " Value="HL70184"/> - <ValueElement CodeSystem="HL70396" DisplayName="Employee Classification " Value="HL70328"/> - <ValueElement CodeSystem="HL70396" DisplayName="Override Code " Value="HL70521"/> - <ValueElement CodeSystem="HL70396" DisplayName="Namespace ID " Value="HL70300"/> - <ValueElement CodeSystem="HL70396" DisplayName="Medical Role Executing Physician " - Value="HL70882"/> - <ValueElement CodeSystem="HL70396" DisplayName="FDA Unique Device Identifier" Value="FDAUDI"/> - <ValueElement CodeSystem="HL70396" DisplayName="German Alpha-ID v2007" Value="ALPHAID2007"/> - <ValueElement CodeSystem="HL70396" DisplayName="IUPAC/IFCC Property Codes" Value="IUPP"/> - <ValueElement CodeSystem="HL70396" DisplayName="Diagnosis Priority " Value="HL70359"/> - <ValueElement CodeSystem="HL70396" DisplayName="Admission Level Of Care Code " - Value="HL70432"/> - <ValueElement CodeSystem="HL70396" DisplayName="Building " Value="HL70307"/> - <ValueElement CodeSystem="HL70396" DisplayName="PSRO/UR Approval Indicator" Value="HL70449"/> - <ValueElement CodeSystem="HL70396" DisplayName="Race &amp; Ethnicity - CDC" Value="CDCREC"/> - <ValueElement CodeSystem="HL70396" DisplayName="Jurisdictional Breadth " Value="HL70547"/> - <ValueElement CodeSystem="HL70396" DisplayName="CPT-4" Value="C4"/> - <ValueElement CodeSystem="HL70396" DisplayName="Process Control Code " Value="HL70915"/> - <ValueElement CodeSystem="HL70396" DisplayName="Visit User Code " Value="HL70130"/> - <ValueElement CodeSystem="HL70396" DisplayName="Document Confidentiality Status " - Value="HL70272"/> - <ValueElement CodeSystem="HL70396" DisplayName="Inventory Number " Value="HL70463"/> - <ValueElement CodeSystem="HL70396" DisplayName="Report Of Eligibility" Value="HL70094"/> - <ValueElement CodeSystem="HL70396" DisplayName="German Procedure Codes" Value="O301"/> - <ValueElement CodeSystem="HL70396" DisplayName="POS Codes" Value="POS"/> - <ValueElement CodeSystem="HL70396" DisplayName="DICOM Controlled Terminology" Value="DCM"/> - <ValueElement CodeSystem="HL70396" DisplayName="Non-Subject Consenter Reason " - Value="HL70502"/> - <ValueElement CodeSystem="HL70396" - DisplayName="Patient Results Release Categorization Scheme" - Value="HL70909"/> - <ValueElement CodeSystem="HL70396" DisplayName="Specimen Reject Reason " Value="HL70490"/> - <ValueElement CodeSystem="HL70396" DisplayName="Notify Clergy Code" Value="HL70534"/> - <ValueElement CodeSystem="HL70396" DisplayName="Cumulative Dosage Limit UoM " Value="HL70924"/> - <ValueElement CodeSystem="HL70396" DisplayName="Load Status " Value="HL70669"/> - <ValueElement CodeSystem="HL70396" DisplayName="RxTerms-Ingredients Subset" Value="RxT-Ingrd"/> - <ValueElement CodeSystem="HL70396" - DisplayName="Blood Product Transfusion/Disposition Status " - Value="HL70513"/> - <ValueElement CodeSystem="HL70396" DisplayName="Allergy Clinical Status " Value="HL70438"/> - <ValueElement CodeSystem="HL70396" - DisplayName="Medical Dictionary for Drug Regulatory Affairs (MEDDRA)" - Value="MEDR"/> - <ValueElement CodeSystem="HL70396" DisplayName="Adjustment Action " Value="HL70569"/> - <ValueElement CodeSystem="HL70396" DisplayName="Communication Location " Value="HL70939"/> - <ValueElement CodeSystem="HL70396" DisplayName="Military Rank/Grade " Value="HL70141"/> - <ValueElement CodeSystem="HL70396" DisplayName="Accident Code " Value="HL70050"/> - <ValueElement CodeSystem="HL70396" DisplayName="Diagnosis Related Group " Value="HL70055"/> - <ValueElement CodeSystem="HL70396" DisplayName="Japanese Nationwide Medicine Code" - Value="HOT"/> - <ValueElement CodeSystem="HL70396" DisplayName="Room Type " Value="HL70145"/> - <ValueElement CodeSystem="HL70396" DisplayName="Disabled Person Code " Value="HL70334"/> - <ValueElement CodeSystem="HL70396" DisplayName="Tissue Type Code " Value="HL70417"/> - <ValueElement CodeSystem="HL70396" DisplayName="Admission Type " Value="HL70007"/> - <ValueElement CodeSystem="HL70396" DisplayName="Employer Information Data " Value="HL70139"/> - <ValueElement CodeSystem="HL70396" DisplayName="Specimen Source Codes" Value="HL70070"/> - <ValueElement CodeSystem="HL70396" DisplayName="Australian Medicines Terminology (v2)" - Value="AMTv2"/> - <ValueElement CodeSystem="HL70396" DisplayName="Company Plan Code " Value="HL70042"/> - <ValueElement CodeSystem="HL70396" DisplayName="Paticipation Mode Code" Value="PRTCPTNMODE"/> - <ValueElement CodeSystem="HL70396" - DisplayName="ISO 2955.83 (units of measure) with HL7 extensions" - Value="ISO+"/> - <ValueElement CodeSystem="HL70396" DisplayName="Application " Value="HL70361"/> - <ValueElement CodeSystem="HL70396" DisplayName="Segment Group " Value="HL70391"/> - <ValueElement CodeSystem="HL70396" DisplayName="Address Type " Value="HL70190"/> - <ValueElement CodeSystem="HL70396" DisplayName="Delete Account Code " Value="HL70111"/> - <ValueElement CodeSystem="HL70396" DisplayName="Triage Code " Value="HL70422"/> - <ValueElement CodeSystem="HL70396" DisplayName="Person Location Type " Value="HL70305"/> - <ValueElement CodeSystem="HL70396" DisplayName="G-DRG German DRG Codes v2008" - Value="GDRG2009"/> - <ValueElement CodeSystem="HL70396" DisplayName="Patient Location Type " Value="HL70260"/> - <ValueElement CodeSystem="HL70396" DisplayName="Government Reimbursement Program " - Value="HL70401"/> - <ValueElement CodeSystem="HL70396" DisplayName="Assignment Of Benefits " Value="HL70135"/> - <ValueElement CodeSystem="HL70396" DisplayName="ICD 10 Germany v2015" Value="ICD10GM2015"/> - <ValueElement CodeSystem="HL70396" DisplayName="Status Of Evaluation " Value="HL70247"/> - <ValueElement CodeSystem="HL70396" DisplayName="Language Ability " Value="HL70403"/> - <ValueElement CodeSystem="HL70396" DisplayName="Volume Units " Value="HL70930"/> - <ValueElement CodeSystem="HL70396" DisplayName="Policy Type " Value="HL70147"/> - <ValueElement CodeSystem="HL70396" DisplayName="Event Type " Value="HL70450"/> - <ValueElement CodeSystem="HL70396" DisplayName="Sequence/Results Flag " Value="HL70503"/> - <ValueElement CodeSystem="HL70396" DisplayName="Procedure Code " Value="HL70941"/> - <ValueElement CodeSystem="HL70396" - DisplayName="Accept/Application Acknowledgment Conditions " - Value="HL70155"/> - <ValueElement CodeSystem="HL70396" DisplayName="Staff Type " Value="HL70182"/> - <ValueElement CodeSystem="HL70396" DisplayName="Match Reason " Value="HL70392"/> - <ValueElement CodeSystem="HL70396" DisplayName="Problem Severity " Value="HL70836"/> - <ValueElement CodeSystem="HL70396" DisplayName="OPS Germany v2011" Value="OPS2011"/> - <ValueElement CodeSystem="HL70396" DisplayName="Order Status " Value="HL70038"/> - <ValueElement CodeSystem="HL70396" DisplayName="Point Of Care " Value="HL70302"/> - <ValueElement CodeSystem="HL70396" DisplayName="Newborn Code " Value="HL70425"/> - <ValueElement CodeSystem="HL70396" DisplayName="Auto-Dilution Type" Value="HL70945"/> - <ValueElement CodeSystem="HL70396" DisplayName="Table of HL7 Version 3 ActCode values" - Value="ACTCODE"/> - <ValueElement CodeSystem="HL70396" DisplayName="License Number " Value="HL70461"/> - <ValueElement CodeSystem="HL70396" DisplayName="ISO 3166-2 Country subdivisions" - Value="ISO3166_2"/> - <ValueElement CodeSystem="HL70396" DisplayName="System Induced Contaminants" Value="HL70374"/> - <ValueElement CodeSystem="HL70396" DisplayName="Item Importance Codes " Value="HL70634"/> - <ValueElement CodeSystem="HL70396" DisplayName="ClinVar Variant ID" Value="CLINVAR-V"/> - <ValueElement CodeSystem="HL70396" DisplayName="Vaccinated at location (facility)" - Value="NIP007"/> - <ValueElement CodeSystem="HL70396" DisplayName="National Provider Identifier" Value="NPI"/> - <ValueElement CodeSystem="HL70396" DisplayName="Query Name " Value="HL70471"/> - <ValueElement CodeSystem="HL70396" DisplayName="OPS Germany v2015" Value="OPS2015"/> - <ValueElement CodeSystem="HL70396" DisplayName="Package Type " Value="HL70908"/> - <ValueElement CodeSystem="HL70396" DisplayName="NANDA" Value="NDA"/> - <ValueElement CodeSystem="HL70396" DisplayName="Medicaid" Value="MCD"/> - <ValueElement CodeSystem="HL70396" DisplayName="Specimen Appropriateness " Value="HL70492"/> - <ValueElement CodeSystem="HL70396" DisplayName="Interest Rate Code " Value="HL70073"/> - <ValueElement CodeSystem="HL70396" DisplayName="HGVS- Transcript syntax" Value="HGVS.c"/> - <ValueElement CodeSystem="HL70396" DisplayName="German Alpha-ID v2009" Value="ALPHAID2009"/> - <ValueElement CodeSystem="HL70396" DisplayName="Level Of Care " Value="HL70263"/> - <ValueElement CodeSystem="HL70396" DisplayName="Observation Method Code" Value="OBSMETHOD"/> - <ValueElement CodeSystem="HL70396" DisplayName="Consent Non-Disclosure Reason " - Value="HL70501"/> - <ValueElement CodeSystem="HL70396" DisplayName="Assigning Authority " Value="HL70363"/> - <ValueElement CodeSystem="HL70396" DisplayName="Visit Priority Code " Value="HL70217"/> - <ValueElement CodeSystem="HL70396" DisplayName="Ensembl transcript reference sequence" - Value="ensembl-T"/> - <ValueElement CodeSystem="HL70396" DisplayName="Sequence Condition Code " Value="HL70504"/> - <ValueElement CodeSystem="HL70396" DisplayName="DRG Grouping Status " Value="HL70749"/> - <ValueElement CodeSystem="HL70396" DisplayName="Billing Status " Value="HL70022"/> - <ValueElement CodeSystem="HL70396" DisplayName="Action Code" Value="HL70323"/> - <ValueElement CodeSystem="HL70396" DisplayName="Ruling Act " Value="HL70793"/> - <ValueElement CodeSystem="HL70396" DisplayName="JLAC/JSLM, nationwide laboratory code" - Value="JC10"/> - <ValueElement CodeSystem="HL70396" DisplayName="Shipment Confidentiality " Value="HL70907"/> - <ValueElement CodeSystem="HL70396" DisplayName="Root Cause " Value="HL70914"/> - <ValueElement CodeSystem="HL70396" DisplayName="DICOM Query Label" Value="DQL"/> - <ValueElement CodeSystem="HL70396" DisplayName="Procedure Code Modifier " Value="HL70340"/> - <ValueElement CodeSystem="HL70396" DisplayName="DRG Status Financial Calculation " - Value="HL70742"/> - <ValueElement CodeSystem="HL70396" DisplayName="OCE Modifier Code" Value="CMSOMC"/> - <ValueElement CodeSystem="HL70396" DisplayName="Substance Type " Value="HL70384"/> - <ValueElement CodeSystem="HL70396" DisplayName="NCBI-transcript reference sequences (RefSeq)" - Value="refSeq-T"/> - <ValueElement CodeSystem="HL70396" DisplayName="Date Format " Value="HL70653"/> - <ValueElement CodeSystem="HL70396" DisplayName="CDC Vaccine Codes" Value="CVX"/> - <ValueElement CodeSystem="HL70396" DisplayName="Observation Sub-Type " Value="HL70937"/> - <ValueElement CodeSystem="HL70396" DisplayName="Guarantor Type " Value="HL70068"/> - <ValueElement CodeSystem="HL70396" DisplayName="Query Response Status " Value="HL70208"/> - <ValueElement CodeSystem="HL70396" DisplayName="Organizational Name Type " Value="HL70204"/> - <ValueElement CodeSystem="HL70396" DisplayName="Units Of Time " Value="HL70414"/> - <ValueElement CodeSystem="HL70396" DisplayName="Identity May Be Divulged " Value="HL70243"/> - <ValueElement CodeSystem="HL70396" DisplayName="ICCBBA Unique Device Identifier" - Value="ICCUDI"/> - <ValueElement CodeSystem="HL70396" DisplayName="Location Status " Value="HL70306"/> - <ValueElement CodeSystem="HL70396" DisplayName="Citizenship " Value="HL70171"/> - <ValueElement CodeSystem="HL70396" DisplayName="Diagnostic Service Section ID " - Value="HL70074"/> - <ValueElement CodeSystem="HL70396" DisplayName="WHO record # drug codes (6 digit)" Value="W1"/> - <ValueElement CodeSystem="HL70396" DisplayName="Report Source " Value="HL70235"/> - <ValueElement CodeSystem="HL70396" DisplayName="Active/Inactive " Value="HL70183"/> - <ValueElement CodeSystem="HL70396" DisplayName="Product/Service Code " Value="HL70879"/> - <ValueElement CodeSystem="HL70396" DisplayName="Supplier Type" Value="HL70946"/> - <ValueElement CodeSystem="HL70396" DisplayName="Census Tract " Value="HL70288"/> - <ValueElement CodeSystem="HL70396" DisplayName="Which Date/Time Qualifier" Value="HL70156"/> - <ValueElement CodeSystem="HL70396" DisplayName="ICD 10 Germany v2016" Value="ICD10GM2016"/> - <ValueElement CodeSystem="HL70396" DisplayName="Order Type " Value="HL70482"/> - <ValueElement CodeSystem="HL70396" DisplayName="Medicare" Value="MCR"/> - <ValueElement CodeSystem="HL70396" DisplayName="Reorder Theory Codes " Value="HL70642"/> - <ValueElement CodeSystem="HL70396" DisplayName="Product Available For Inspection " - Value="HL70246"/> - <ValueElement CodeSystem="HL70396" DisplayName="Master File Application Identifier" - Value="HL70176"/> - <ValueElement CodeSystem="HL70396" DisplayName="Side Of Body " Value="HL70894"/> - <ValueElement CodeSystem="HL70396" DisplayName="Reimbursement Action Code " Value="HL70459"/> - <ValueElement CodeSystem="HL70396" DisplayName="Japanese Image Examination Cache" - Value="JJ1017"/> - <ValueElement CodeSystem="HL70396" DisplayName="Query Priority " Value="HL70091"/> - <ValueElement CodeSystem="HL70396" DisplayName="Appointment Reason Codes " Value="HL70276"/> - <ValueElement CodeSystem="HL70396" DisplayName="OPS Germany v2008" Value="OPS2008"/> - <ValueElement CodeSystem="HL70396" DisplayName="Report Types" Value="HL70075"/> - <ValueElement CodeSystem="HL70396" DisplayName="Source Of Comment " Value="HL70105"/> - <ValueElement CodeSystem="HL70396" DisplayName="Diagnosis Coding Method" Value="HL70053"/> - <ValueElement CodeSystem="HL70396" DisplayName="Discharged To Location " Value="HL70113"/> - <ValueElement CodeSystem="HL70396" DisplayName="Specimen Child Role " Value="HL70494"/> - <ValueElement CodeSystem="HL70396" DisplayName="Administrative Sex" Value="HL70001"/> - <ValueElement CodeSystem="HL70396" DisplayName="First DataBank Drug Codes" Value="FDDC"/> - <ValueElement CodeSystem="HL70396" DisplayName="Insurance Plan ID " Value="HL70072"/> - <ValueElement CodeSystem="HL70396" DisplayName="Work Classification ODH" Value="HL70959"/> - <ValueElement CodeSystem="HL70396" DisplayName="Participation Mode" Value="ROLECODE"/> - <ValueElement CodeSystem="HL70396" DisplayName="SNOMED International" Value="SNM3"/> - <ValueElement CodeSystem="HL70396" DisplayName="Comment Type " Value="HL70364"/> - <ValueElement CodeSystem="HL70396" DisplayName="Transportation Mode " Value="HL70124"/> - <ValueElement CodeSystem="HL70396" DisplayName="NDC Codes " Value="HL70549"/> - <ValueElement CodeSystem="HL70396" DisplayName="Indirect Exposure Mechanism " Value="HL70253"/> - <ValueElement CodeSystem="HL70396" DisplayName="Privacy Level " Value="HL70262"/> - <ValueElement CodeSystem="HL70396" DisplayName="AS4 Neurophysiology Codes" Value="AS4E"/> - <ValueElement CodeSystem="HL70396" DisplayName="ICD-10 Place of Occurrence" Value="I10P0"/> - <ValueElement CodeSystem="HL70396" DisplayName="Insurance Company Contact Reason" - Value="HL70232"/> - <ValueElement CodeSystem="HL70396" DisplayName="Quantity Limited Request " Value="HL70126"/> - <ValueElement CodeSystem="HL70396" DisplayName="Occurrence Span " Value="HL70351"/> - <ValueElement CodeSystem="HL70396" DisplayName="Master File Identifier Code " Value="HL70175"/> - <ValueElement CodeSystem="HL70396" DisplayName="Substance refusal reason" Value="NIP002"/> - <ValueElement CodeSystem="HL70396" DisplayName="German Major Diagnostic Codes v2008" - Value="GMDC2008"/> - <ValueElement CodeSystem="HL70396" DisplayName="Type Of Bill Code " Value="HL70455"/> - <ValueElement CodeSystem="HL70396" DisplayName="German Alpha-ID v2013" Value="ALPHAID2013"/> - <ValueElement CodeSystem="HL70396" DisplayName="Message Waiting Priority " Value="HL70520"/> - <ValueElement CodeSystem="HL70396" DisplayName="Money Or Percentage Indicator " - Value="HL70148"/> - <ValueElement CodeSystem="HL70396" DisplayName="Relatedness Assessment " Value="HL70250"/> - <ValueElement CodeSystem="HL70396" DisplayName="Blood Product Processing Requirements " - Value="HL70508"/> - <ValueElement CodeSystem="HL70396" DisplayName="OPS Germany 2005" Value="O3012005"/> - <ValueElement CodeSystem="HL70396" DisplayName="Euclides Lab equipment codes" Value="E7"/> - <ValueElement CodeSystem="HL70396" DisplayName="Equipment State " Value="HL70365"/> - <ValueElement CodeSystem="HL70396" DisplayName="Consent Bypass Reason " Value="HL70499"/> - <ValueElement CodeSystem="HL70396" DisplayName="Occurrence Code " Value="HL70350"/> - <ValueElement CodeSystem="HL70396" DisplayName="Procedure DRG Type " Value="HL70416"/> - <ValueElement CodeSystem="HL70396" DisplayName="Ops Germany 2006" Value="O3012006"/> - <ValueElement CodeSystem="HL70396" DisplayName="Service Request Relationship" Value="HL70506"/> - <ValueElement CodeSystem="HL70396" DisplayName="Incident Type Code " Value="HL70428"/> - <ValueElement CodeSystem="HL70396" DisplayName="Language Translated To" Value="HL70545"/> - <ValueElement CodeSystem="HL70396" DisplayName="Occurrence Span" Value="UB04FL35"/> - <ValueElement CodeSystem="HL70396" DisplayName="Marital Status" Value="HL70002"/> - <ValueElement CodeSystem="HL70396" DisplayName="Preferred Method Of Contact " Value="HL70185"/> - <ValueElement CodeSystem="HL70396" DisplayName="Pharmaceutical Substances " Value="HL70479"/> - <ValueElement CodeSystem="HL70396" DisplayName="Department Code " Value="HL70049"/> - <ValueElement CodeSystem="HL70396" DisplayName="Extended Priority Codes " Value="HL70485"/> - <ValueElement CodeSystem="HL70396" DisplayName="Ambulatory Payment Classification Code " - Value="HL70466"/> - <ValueElement CodeSystem="HL70396" DisplayName="CDC Vaccine Manufacturer Codes" Value="MVX"/> - <ValueElement CodeSystem="HL70396" DisplayName="Processing ID " Value="HL70103"/> - <ValueElement CodeSystem="HL70396" DisplayName="Certificate Status " Value="HL70536"/> - <ValueElement CodeSystem="HL70396" DisplayName="Inactive Reason Code " Value="HL70540"/> - <ValueElement CodeSystem="HL70396" DisplayName="Online Verification Result Error Code" - Value="HL70971"/> - <ValueElement CodeSystem="HL70396" DisplayName="Result Status " Value="HL70123"/> - <ValueElement CodeSystem="HL70396" DisplayName="Organization, Agency, Department " - Value="HL70530"/> - <ValueElement CodeSystem="HL70396" DisplayName="Priority (Type) of Visit" Value="UB04FL14"/> - <ValueElement CodeSystem="HL70396" DisplayName="Primary Key Value Type " Value="HL70355"/> - <ValueElement CodeSystem="HL70396" DisplayName="Health Care Provider Taxonomy" Value="HCPT"/> - <ValueElement CodeSystem="HL70396" DisplayName="Organization Unit " Value="HL70405"/> - <ValueElement CodeSystem="HL70396" DisplayName="Purge Status Code " Value="HL70213"/> - <ValueElement CodeSystem="HL70396" DisplayName="Coding System " Value="HL70396"/> - <ValueElement CodeSystem="HL70396" DisplayName="Check Digit Scheme " Value="HL70061"/> - <ValueElement CodeSystem="HL70396" DisplayName="Discharge Disposition " Value="HL70112"/> - <ValueElement CodeSystem="HL70396" DisplayName="Reported adverse event previously" - Value="NIP009"/> - <ValueElement CodeSystem="HL70396" DisplayName="OPS Germany v2014" Value="OPS2014"/> - <ValueElement CodeSystem="HL70396" DisplayName="Bed Status " Value="HL70116"/> - <ValueElement CodeSystem="HL70396" DisplayName="IUPAC/IFCC Component Codes" Value="IUPC"/> - <ValueElement CodeSystem="HL70396" DisplayName="Role Executing Physician " Value="HL70881"/> - <ValueElement CodeSystem="HL70396" DisplayName="OPS Germany v2010" Value="OPS2010"/> - <ValueElement CodeSystem="HL70396" DisplayName="Guarantor Credit Rating Code " - Value="HL70341"/> - <ValueElement CodeSystem="HL70396" DisplayName="Ethnic Group " Value="HL70189"/> - <ValueElement CodeSystem="HL70396" DisplayName="MIME Media Type IANA" Value="MEDIATYPE"/> - <ValueElement CodeSystem="HL70396" DisplayName="Certification Type Code " Value="HL70921"/> - <ValueElement CodeSystem="HL70396" DisplayName="Action Taken In Response To The Event " - Value="HL70251"/> - <ValueElement CodeSystem="HL70396" DisplayName="TQ Conjunction ID " Value="HL70472"/> - <ValueElement CodeSystem="HL70396" DisplayName="Invoice Control Code " Value="HL70553"/> - <ValueElement CodeSystem="HL70396" DisplayName="Repeat Pattern " Value="HL70335"/> - <ValueElement CodeSystem="HL70396" DisplayName="German Major v2006 Diagnostic Codes" - Value="GMDC2006"/> - <ValueElement CodeSystem="HL70396" DisplayName="Message Structure " Value="HL70354"/> - <ValueElement CodeSystem="HL70396" DisplayName="Specialty Type " Value="HL70265"/> - <ValueElement CodeSystem="HL70396" DisplayName="Cyclic Entry/Exit Indicator " Value="HL70505"/> - <ValueElement CodeSystem="HL70396" DisplayName="Contract Code " Value="HL70044"/> - <ValueElement CodeSystem="HL70396" DisplayName="Product Source " Value="HL70248"/> - <ValueElement CodeSystem="HL70396" DisplayName="Alert Device Code " Value="HL70437"/> - <ValueElement CodeSystem="HL70396" DisplayName="Donation Duration Units " Value="HL70932"/> - <ValueElement CodeSystem="HL70396" DisplayName="Billing Category " Value="HL70293"/> - <ValueElement CodeSystem="HL70396" DisplayName="German Major Diagnostic Codes v2005" - Value="GMDC2005"/> - <ValueElement CodeSystem="HL70396" DisplayName="Transport Arranged " Value="HL70224"/> - <ValueElement CodeSystem="HL70396" - DisplayName="International Classification of Disease for Oncology Second Edition" - Value="ICDO2"/> - <ValueElement CodeSystem="HL70396" DisplayName="Primary Language " Value="HL70296"/> - <ValueElement CodeSystem="HL70396" DisplayName="Equipment State Indicator Type Code" - Value="HL70942"/> - <ValueElement CodeSystem="HL70396" DisplayName="German Alpha-ID v2010" Value="ALPHAID2010"/> - <ValueElement CodeSystem="HL70396" DisplayName="Override Reason " Value="HL70519"/> - <ValueElement CodeSystem="HL70396" DisplayName="Anesthesia Code " Value="HL70019"/> - <ValueElement CodeSystem="HL70396" DisplayName="Maintenance Type " Value="HL70811"/> - <ValueElement CodeSystem="HL70396" DisplayName="Relationship Modifier " Value="HL70258"/> - <ValueElement CodeSystem="HL70396" DisplayName="Error Code" Value="HL70060"/> - <ValueElement CodeSystem="HL70396" DisplayName="Coordination Of Benefits " Value="HL70173"/> - <ValueElement CodeSystem="HL70396" DisplayName="CDC Analyte Codes" Value="CDCA"/> - <ValueElement CodeSystem="HL70396" DisplayName="Sequence Condition" Value="HL70524"/> - <ValueElement CodePattern="NCPDP.+" CodeSystem="HL70396" - DisplayName="NCPDP code list for data element nnnn [as used in segment sss]" - Value="NCPDPnnnnsss"/> - <ValueElement CodeSystem="HL70396" DisplayName="Event Seriousness " Value="HL70238"/> - <ValueElement CodeSystem="HL70396" DisplayName="Artificial Blood " Value="HL70375"/> - <ValueElement CodeSystem="HL70396" DisplayName="Special Handling Code " Value="HL70376"/> - <ValueElement CodeSystem="HL70396" DisplayName="Payee Relationship To Invoice " - Value="HL70558"/> - <ValueElement CodeSystem="HL70396" DisplayName="COSTART" Value="CST"/> - <ValueElement CodeSystem="HL70396" DisplayName="Time Delay Post Challenge " Value="HL70256"/> - <ValueElement CodeSystem="HL70396" DisplayName="Employment Status " Value="HL70066"/> - <ValueElement CodeSystem="HL70396" DisplayName="Student Status " Value="HL70231"/> - <ValueElement CodeSystem="HL70396" DisplayName="Precision" Value="HL70529"/> - <ValueElement CodeSystem="HL70396" DisplayName="Phlebotomy Issue " Value="HL70925"/> - <ValueElement CodeSystem="HL70396" DisplayName="Military Service " Value="HL70140"/> - <ValueElement CodeSystem="HL70396" DisplayName="DRG Status Weight At Birth " Value="HL70755"/> - <ValueElement CodeSystem="HL70396" DisplayName="OPS Germany 2004" Value="O3012004"/> - <ValueElement CodeSystem="HL70396" DisplayName="Completion Status " Value="HL70322"/> - <ValueElement CodeSystem="HL70396" DisplayName="Price Type " Value="HL70205"/> - <ValueElement CodeSystem="HL70396" DisplayName="Product/Services Clarification Codes " - Value="HL70561"/> - <ValueElement CodeSystem="HL70396" DisplayName="Alert Level " Value="HL70367"/> - <ValueElement CodeSystem="HL70396" DisplayName="German Alpha-ID v2016" Value="ALPHAID2016"/> - <ValueElement CodeSystem="HL70396" DisplayName="Visit Indicator " Value="HL70326"/> - <ValueElement CodeSystem="HL70396" - DisplayName="UCUM code set for units of measure(from Regenstrief)" - Value="UCUM"/> - <ValueElement CodeSystem="HL70396" DisplayName="ISO 639 Language" Value="ISO639"/> - <ValueElement CodeSystem="HL70396" DisplayName="Courtesy Code " Value="HL70045"/> - <ValueElement CodeSystem="HL70396" DisplayName="Confidentiality Classification" - Value="HL70952"/> - <ValueElement CodeSystem="HL70396" DisplayName="Filler Status Code " Value="HL70278"/> - <ValueElement CodePattern="99.+" CodeSystem="HL70396" - DisplayName="Local general code for a site-defined code system used for a specific set of trading partners. The 'zzz' SHALL be any printable ASCII string. Length of the name SHALL not exceed field width, and is subject to local implementation." - Value="99zzz"/> - <ValueElement CodeSystem="HL70396" DisplayName="COSMIC – Simple variants" Value="COSMIC-Smpl"/> - <ValueElement CodeSystem="HL70396" DisplayName="Immunization Registry Status " - Value="HL70441"/> - <ValueElement CodeSystem="HL70396" DisplayName="Resource Type Or Category " Value="HL70771"/> - <ValueElement CodeSystem="HL70396" DisplayName="OPS Germany v2016" Value="OPS2016"/> - <ValueElement CodeSystem="HL70396" DisplayName="RxNorm" Value="RXNORM"/> - <ValueElement CodeSystem="HL70396" DisplayName="CCL Value " Value="HL70728"/> - <ValueElement CodeSystem="HL70396" DisplayName="Online Verification Result" Value="HL70970"/> - <ValueElement CodeSystem="HL70396" DisplayName="Bolus Type " Value="HL70917"/> - <ValueElement CodeSystem="HL70396" DisplayName="MFN Record-Level Error Return " - Value="HL70181"/> - <ValueElement CodeSystem="HL70396" DisplayName="Gestation Category Code " Value="HL70424"/> - <ValueElement CodeSystem="HL70396" DisplayName="Substitution Status " Value="HL70167"/> - <ValueElement CodeSystem="HL70396" DisplayName="Report Priority" Value="HL70109"/> - <ValueElement CodeSystem="HL70396" DisplayName="Route Of Administration " Value="HL70162"/> - <ValueElement CodeSystem="HL70396" DisplayName="Procedure Priority " Value="HL70418"/> - <ValueElement CodeSystem="HL70396" DisplayName="Charging System" Value="HL70011"/> - <ValueElement CodeSystem="HL70396" DisplayName="Job Status " Value="HL70311"/> - <ValueElement CodeSystem="HL70396" DisplayName="Source Type " Value="HL70332"/> - <ValueElement CodeSystem="HL70396" DisplayName="ICD 10 Germany v2014" Value="ICD10GM2014"/> - <ValueElement CodeSystem="HL70396" DisplayName="Supplier Identifier " Value="HL70386"/> - <ValueElement CodeSystem="HL70396" DisplayName="Euclides Lab method codes" Value="E6"/> - <ValueElement CodeSystem="HL70396" DisplayName="Alternate Character Sets " Value="HL70211"/> - <ValueElement CodeSystem="HL70396" DisplayName="WHO Adverse Reaction Terms" Value="ART"/> - <ValueElement CodeSystem="HL70396" DisplayName="United States Postal Service" Value="USPS"/> - <ValueElement CodeSystem="HL70396" DisplayName="Match Algorithms " Value="HL70393"/> - <ValueElement CodeSystem="HL70396" DisplayName="Transfer To Bad Debt Code " Value="HL70110"/> - <ValueElement CodeSystem="HL70396" DisplayName="Provider Tax Status " Value="HL70572"/> - <ValueElement CodeSystem="HL70396" DisplayName="Application Error Code " Value="HL70533"/> - <ValueElement CodeSystem="HL70396" DisplayName="Home Health Care" Value="HHC"/> - <ValueElement CodeSystem="HL70396" DisplayName="Outlier Type " Value="HL70083"/> - <ValueElement CodeSystem="HL70396" DisplayName="CPT Modifier Code" Value="CPTM"/> - <ValueElement CodeSystem="HL70396" DisplayName="Ensembl genomic reference sequence" - Value="ensembl-G"/> - <ValueElement CodeSystem="HL70396" DisplayName="Bed " Value="HL70304"/> - <ValueElement CodeSystem="HL70396" DisplayName="Encoding " Value="HL70299"/> - <ValueElement CodeSystem="HL70396" DisplayName="Non-Concur Code/Description " Value="HL70233"/> - <ValueElement CodeSystem="HL70396" DisplayName="Degree/License/Certificate " Value="HL70360"/> - <ValueElement CodeSystem="HL70396" DisplayName="Sensitivity To Causative Agent Code " - Value="HL70436"/> - <ValueElement CodeSystem="HL70396" - DisplayName="International System for Human Cytogenetic Nomenclature (ISCN)" - Value="ISCN"/> - <ValueElement CodeSystem="HL70396" DisplayName="Quantity Method " Value="HL70329"/> - <ValueElement CodeSystem="HL70396" DisplayName="PCA Type " Value="HL70918"/> - <ValueElement CodeSystem="HL70396" DisplayName="Payee Type " Value="HL70557"/> - <ValueElement CodeSystem="HL70396" - DisplayName="CMS (formerly HCFA) Common Procedure Coding System" - Value="HCPCS"/> - <ValueElement CodeSystem="HL70396" DisplayName="Room " Value="HL70303"/> - <ValueElement CodeSystem="HL70396" DisplayName="Event Expected " Value="HL70239"/> - <ValueElement CodeSystem="HL70396" DisplayName="Telecommunication Expiration Reason " - Value="HL70868"/> - <ValueElement CodeSystem="HL70396" DisplayName="Read Classification" Value="RC"/> - <ValueElement CodeSystem="HL70396" DisplayName="Second Opinion Documentation Received " - Value="HL70152"/> - <ValueElement CodeSystem="HL70396" DisplayName="Consent Status " Value="HL70498"/> - <ValueElement CodeSystem="HL70396" DisplayName="Military Recipient " Value="HL70342"/> - <ValueElement CodeSystem="HL70396" DisplayName="Observation Result Handling " Value="HL70507"/> - <ValueElement CodeSystem="HL70396" DisplayName="Process Interruption " Value="HL70923"/> - <ValueElement CodeSystem="HL70396" DisplayName="Container Common Name" Value="HL70969"/> - <ValueElement CodeSystem="HL70396" DisplayName="Inform Person Code " Value="HL70517"/> - <ValueElement CodeSystem="HL70396" DisplayName="Causality Observations " Value="HL70252"/> - <ValueElement CodeSystem="HL70396" DisplayName="Insurance Company ID Codes " Value="HL70285"/> - <ValueElement CodeSystem="HL70396" DisplayName="Mime Base64 Encoding Characters" - Value="HL70290"/> - <ValueElement CodeSystem="HL70396" DisplayName="DRG Status Patient " Value="HL70739"/> - <ValueElement CodeSystem="HL70396" DisplayName="Category Identifier" Value="HL70412"/> - <ValueElement CodeSystem="HL70396" DisplayName="Plan ID " Value="HL70086"/> - <ValueElement CodeSystem="HL70396" DisplayName="ICD 10 Germany v2013" Value="ICD10GM2013"/> - <ValueElement CodeSystem="HL70396" DisplayName="Driver’S License Issuing Authority " - Value="HL70333"/> - <ValueElement CodeSystem="HL70396" DisplayName="Observation Type " Value="HL70936"/> - <ValueElement CodeSystem="HL70396" DisplayName="UCDS" Value="UC"/> - <ValueElement CodeSystem="HL70396" DisplayName="Processing Type " Value="HL70388"/> - <ValueElement CodeSystem="HL70396" DisplayName="Event Reported To " Value="HL70236"/> - <ValueElement CodeSystem="HL70396" DisplayName="Value Code " Value="HL70153"/> - <ValueElement CodeSystem="HL70396" DisplayName="Eligibility Source " Value="HL70144"/> - <ValueElement CodeSystem="HL70396" DisplayName="Accommodation Code " Value="HL70129"/> - <ValueElement CodeSystem="HL70396" DisplayName="CEN ECG diagnostic codes" Value="CE"/> - <ValueElement CodeSystem="HL70396" DisplayName="Pharmacy Order Types " Value="HL70480"/> - <ValueElement CodeSystem="HL70396" DisplayName="Condition Code " Value="HL70043"/> - <ValueElement CodeSystem="HL70396" DisplayName="Device Type" Value="HL70961"/> - <ValueElement CodeSystem="HL70396" DisplayName="Certification Agency " Value="HL70346"/> - <ValueElement CodeSystem="HL70396" DisplayName="Analyte Repeat Status " Value="HL70389"/> - <ValueElement CodeSystem="HL70396" DisplayName="Vaccine purchased with (Type of funding)" - Value="NIP008"/> - <ValueElement CodeSystem="HL70396" DisplayName="ICD 10 Germany v2007" Value="ICD10GM2007"/> - <ValueElement CodeSystem="HL70396" DisplayName="Modifier Edit Code " Value="HL70467"/> - <ValueElement CodeSystem="HL70396" DisplayName="Delayed Acknowledgment Type" Value="HL70102"/> - <ValueElement CodeSystem="HL70396" DisplayName="Tray Type " Value="HL70379"/> - <ValueElement CodeSystem="HL70396" DisplayName="G-DRG German DRG Codes v 2006" - Value="GDRG2006"/> - <ValueElement CodeSystem="HL70396" DisplayName="Certification Category Code " Value="HL70922"/> - <ValueElement CodeSystem="HL70396" DisplayName="Source of Payment Typology" Value="PHDSCSOPT"/> - <ValueElement CodeSystem="HL70396" DisplayName="First DataBank Diagnostic Codes" Value="FDDX"/> - <ValueElement CodeSystem="HL70396" DisplayName="Occupation CDC Census 2010" - Value="CDCOCCUPATION2010"/> - <ValueElement CodeSystem="HL70396" DisplayName="Invoice Reason Codes " Value="HL70554"/> - <ValueElement CodeSystem="HL70396" DisplayName="Address Usage " Value="HL70617"/> - <ValueElement CodeSystem="HL70396" DisplayName="CDC Methods/Instruments Codes" Value="CDCM"/> - <ValueElement CodeSystem="HL70396" DisplayName="Referral Reason " Value="HL70336"/> - <ValueElement CodeSystem="HL70396" DisplayName="Reason For Study" Value="HL70951"/> - <ValueElement CodeSystem="HL70396" DisplayName="Application Change Type " Value="HL70409"/> - <ValueElement CodeSystem="HL70396" DisplayName="Allow Substitution " Value="HL70161"/> - <ValueElement CodeSystem="HL70396" DisplayName="Specimen Quality " Value="HL70491"/> - <ValueElement CodeSystem="HL70396" DisplayName="Benefit Group " Value="HL70556"/> - <ValueElement CodeSystem="HL70396" DisplayName="NCBI MedGen disease subset" - Value="Medgen-Dis"/> - <ValueElement CodeSystem="HL70396" DisplayName="Organ Donor Code " Value="HL70316"/> - <ValueElement CodeSystem="HL70396" DisplayName="Interpretation Codes " Value="HL70078"/> - <ValueElement CodeSystem="HL70396" DisplayName="COSMIC-Structural variants" - Value="COSMIC-Strc"/> - <ValueElement CodeSystem="HL70396" DisplayName="Shipment Priority " Value="HL70906"/> - <ValueElement CodeSystem="HL70396" DisplayName="GS1 Unique Device Identifier" Value="GS1UDI"/> - <ValueElement CodeSystem="HL70396" DisplayName="Medispan Diagnostic Codes" Value="MDDX"/> - <ValueElement CodeSystem="HL70396" DisplayName="Living Will Code " Value="HL70315"/> - <ValueElement CodeSystem="HL70396" DisplayName="Relationship " Value="HL70063"/> - <ValueElement CodeSystem="HL70396" DisplayName="Euclides quantity codes" Value="E5"/> - <ValueElement CodeSystem="HL70396" DisplayName="Recreational Drug Use Code " Value="HL70431"/> - <ValueElement CodeSystem="HL70396" DisplayName="Problem Perspective " Value="HL70838"/> - <ValueElement CodeSystem="HL70396" DisplayName="Separator Type " Value="HL70380"/> - <ValueElement CodeSystem="HL70396" DisplayName="Confidentiality Code " Value="HL70177"/> - <ValueElement CodeSystem="HL70396" DisplayName="Quantity Units " Value="HL70560"/> - <ValueElement CodeSystem="HL70396" DisplayName="Integrated Taxonomic Information System" - Value="ITIS"/> - <ValueElement CodeSystem="HL70396" DisplayName="Event Type " Value="HL70003"/> - <ValueElement CodeSystem="HL70396" DisplayName="Revenue Code" Value="UB04FL42"/> - <ValueElement CodeSystem="HL70396" DisplayName="National Uniform Billing Committee Code" - Value="NUBC"/> - <ValueElement CodeSystem="HL70396" DisplayName="Contract Type" Value="HL70965"/> - <ValueElement CodeSystem="HL70396" DisplayName="Phlebotomy Status " Value="HL70926"/> - <ValueElement CodeSystem="HL70396" DisplayName="Priority " Value="HL70027"/> - <ValueElement CodeSystem="HL70396" DisplayName="ISO 3166-1 Country Codes" Value="ISO3166_1"/> - <ValueElement CodeSystem="HL70396" DisplayName="Transaction Type " Value="HL70017"/> - <ValueElement CodeSystem="HL70396" DisplayName="Weight Units " Value="HL70567"/> - <ValueElement CodeSystem="HL70396" DisplayName="Denial Or Rejection Code " Value="HL70460"/> - <ValueElement CodeSystem="HL70396" DisplayName="Credit Rating " Value="HL70046"/> - <ValueElement CodeSystem="HL70396" DisplayName="Referral Documentation Completion Status " - Value="HL70865"/> - <ValueElement CodeSystem="HL70396" - DisplayName="IHE Laboratory Analytical Workflow (LAW) Profile Codes." - Value="IHELAW"/> - <ValueElement CodeSystem="HL70396" DisplayName="Processing Mode" Value="HL70207"/> - <ValueElement CodeSystem="HL70396" DisplayName="Unique Ingredient Identifier (UNII)" - Value="FDAUNII"/> - <ValueElement CodeSystem="HL70396" DisplayName="German Major Diagnostic Codes v2007" - Value="GMDC2007"/> - <ValueElement CodeSystem="HL70396" DisplayName="HGVS-Protein syntax" Value="HGVS.p"/> - <ValueElement CodeSystem="HL70396" DisplayName="Vaccines Administered (Code = CVX) " - Value="HL70292"/> - <ValueElement CodeSystem="HL70396" DisplayName="Procedure Practitioner Identifier Code Type" - Value="HL70133"/> - <ValueElement CodeSystem="HL70396" DisplayName="Patient Status Code " Value="HL70216"/> - <ValueElement CodeSystem="HL70396" DisplayName="Deferred Response Type" Value="HL70107"/> - <ValueElement CodeSystem="HL70396" DisplayName="Relational Conjunction " Value="HL70210"/> - <ValueElement CodeSystem="HL70396" DisplayName="Occurrence Code" Value="UB04FL31"/> - <ValueElement CodeSystem="HL70396" DisplayName="ICD 10 Germany 2006" Value="I10G2006"/> - <ValueElement CodeSystem="HL70396" DisplayName="Stock Location" Value="HL70012"/> - <ValueElement CodeSystem="HL70396" DisplayName="Administration Method " Value="HL70165"/> - <ValueElement CodeSystem="HL70396" DisplayName="Drug Interference " Value="HL70382"/> - <ValueElement CodeSystem="HL70396" DisplayName="Ambulatory Status " Value="HL70009"/> - <ValueElement CodeSystem="HL70396" DisplayName="Acquisition Modality " Value="HL70910"/> - <ValueElement CodeSystem="HL70396" - DisplayName="Observation Result Status Codes Interpretation" - Value="HL70085"/> - <ValueElement CodeSystem="HL70396" DisplayName="Route" Value="HL70033"/> - <ValueElement CodeSystem="HL70396" DisplayName="Contact Role " Value="HL70131"/> - <ValueElement CodeSystem="HL70396" DisplayName="Specimen Type Modifier " Value="HL70541"/> - <ValueElement CodeSystem="HL70396" DisplayName="Institution " Value="HL70531"/> - <ValueElement CodeSystem="HL70396" DisplayName="OCE Edit Code" Value="CMSOEC"/> - <ValueElement CodeSystem="HL70396" - DisplayName="NCBI - genomic and chromosome reference sequences" - Value="refSeq-G"/> - <ValueElement CodeSystem="HL70396" DisplayName="CDT-2 Codes" Value="CD2"/> - <ValueElement CodeSystem="HL70396" DisplayName="Order Status Modifier" Value="HL70950"/> - <ValueElement CodeSystem="HL70396" DisplayName="Referral Priority " Value="HL70280"/> - <ValueElement CodeSystem="HL70396" DisplayName="HGVS- Genomic syntax" Value="HGVS.g"/> - <ValueElement CodeSystem="HL70396" DisplayName="Indication For Use " Value="HL70509"/> - <ValueElement CodeSystem="HL70396" DisplayName="Provider Adjustment Reason Code " - Value="HL70565"/> - <ValueElement CodeSystem="HL70396" DisplayName="Local billing code" Value="LB"/> - <ValueElement CodeSystem="HL70396" DisplayName="Payment Method Code " Value="HL70570"/> - <ValueElement CodeSystem="HL70396" DisplayName="Error Severity " Value="HL70516"/> - <ValueElement CodeSystem="HL70396" DisplayName="Referral Disposition " Value="HL70282"/> - <ValueElement CodeSystem="HL70396" DisplayName="Service Reason" Value="HL70964"/> - <ValueElement CodeSystem="HL70396" DisplayName="Approving Regulatory Agency " Value="HL70790"/> - <ValueElement CodeSystem="HL70396" DisplayName="Administration Device " Value="HL70164"/> - <ValueElement CodeSystem="HL70396" - DisplayName="ISO 2955.83 (units of measure) with HL7 extensions" - Value="ISO"/> - <ValueElement CodeSystem="HL70396" DisplayName="ISO-4217 Monetary Denomination Code " - Value="HL70913"/> - <ValueElement CodeSystem="HL70396" DisplayName="Healthcare Service Location" Value="HSLOC"/> - <ValueElement CodeSystem="HL70396" DisplayName="SNOMED topology codes (anatomic sites)" - Value="SNT"/> - <ValueElement CodeSystem="HL70396" DisplayName="Treatment" Value="HL70373"/> - <ValueElement CodeSystem="HL70396" DisplayName="Event Related Period " Value="HL70528"/> - <ValueElement CodeSystem="HL70396" DisplayName="Intended Procedure Type " Value="HL70933"/> - <ValueElement CodeSystem="HL70396" DisplayName="ICD-9CM Procedure codes" Value="I9CP"/> - <ValueElement CodeSystem="HL70396" DisplayName="German Alpha-ID v2013" Value="ALPHAID2012"/> - <ValueElement CodeSystem="HL70396" DisplayName="Maintenance Cycle " Value="HL70809"/> - <ValueElement CodeSystem="HL70396" DisplayName="Type Of Agreement " Value="HL70098"/> - <ValueElement CodeSystem="HL70396" DisplayName="Item Type " Value="HL70778"/> - <ValueElement CodeSystem="HL70396" DisplayName="Job Code " Value="HL70327"/> - <ValueElement CodeSystem="HL70396" DisplayName="ICCS" Value="ICS"/> - <ValueElement CodeSystem="HL70396" DisplayName="ICD 10 Germany 2005" Value="I10G2005"/> - <ValueElement CodeSystem="HL70396" DisplayName="Universal ID Type " Value="HL70301"/> - <ValueElement CodeSystem="HL70396" DisplayName="Location" Value="HL70079"/> - <ValueElement CodeSystem="HL70396" DisplayName="Location Cost Center " Value="HL70462"/> - <ValueElement CodeSystem="HL70396" DisplayName="County/Parish " Value="HL70289"/> - <ValueElement CodeSystem="HL70396" DisplayName="Education Level" Value="EDLEVEL"/> - <ValueElement CodeSystem="HL70396" DisplayName="German Major Diagnostic Codes v2009" - Value="GMDC2009"/> - <ValueElement CodeSystem="HL70396" DisplayName="Invocation Event " Value="HL70100"/> - <ValueElement CodeSystem="HL70396" DisplayName="Consent Mode " Value="HL70497"/> - <ValueElement CodeSystem="HL70396" DisplayName="Product/Service Code Modifier " - Value="HL70880"/> - <ValueElement CodeSystem="HL70396" DisplayName="Carrier Type " Value="HL70378"/> - <ValueElement CodeSystem="HL70396" DisplayName="Cytogenetic (chromosome) location" - Value="Chrom-Loc"/> - <ValueElement CodeSystem="HL70396" DisplayName="Location Equipment " Value="HL70261"/> - <ValueElement CodeSystem="HL70396" DisplayName="Continuation Style Code " Value="HL70398"/> - <ValueElement CodeSystem="HL70396" DisplayName="Value Code" Value="UB04FL39"/> - <ValueElement CodeSystem="HL70396" DisplayName="Container Material" Value="HL70968"/> - <ValueElement CodeSystem="HL70396" DisplayName="Revenue Code " Value="HL70456"/> - <ValueElement CodeSystem="HL70396" DisplayName="Device Data State " Value="HL70667"/> - <ValueElement CodeSystem="HL70396" - DisplayName="Specifies the mode, immediate versus deferred or queued, by which a receiver should communicate its receiver responsibilities." - Value="RSPMODE"/> - <ValueElement CodeSystem="HL70396" DisplayName="Patient Class " Value="HL70004"/> - <ValueElement CodeSystem="HL70396" DisplayName="Location Service Code" Value="HL70442"/> - <ValueElement CodeSystem="HL70396" DisplayName="ICD-10" Value="I10"/> - <ValueElement CodeSystem="HL70396" DisplayName="Industry CDC Census 2010" - Value="CDCINDUSTRY2010"/> - <ValueElement CodeSystem="HL70396" DisplayName="Advanced Beneficiary Notice Override Reason " - Value="HL70552"/> - <ValueElement CodeSystem="HL70396" DisplayName="Religion " Value="HL70006"/> - <ValueElement CodeSystem="HL70396" DisplayName="Charge Price Indicator " Value="HL70032"/> - <ValueElement CodeSystem="HL70396" DisplayName="CLIP" Value="CLP"/> - <ValueElement CodeSystem="HL70396" DisplayName="Order Workflow Profile " Value="HL70934"/> - <ValueElement CodeSystem="HL70396" DisplayName="CDC BioSense RT observations (Census) - CDC" - Value="CDCOBS"/> - <ValueElement CodeSystem="HL70396" DisplayName="NDF-RT (Drug Classification)" Value="NDFRT"/> - <ValueElement CodeSystem="HL70396" DisplayName="Primary Observer's Qualification " - Value="HL70242"/> - <ValueElement CodeSystem="HL70396" DisplayName="Non-Covered Insurance Code " Value="HL70143"/> - <ValueElement CodeSystem="HL70396" DisplayName="Servicing Facilities" Value="HL70115"/> - <ValueElement CodeSystem="HL70396" DisplayName="Production Class Code " Value="HL70429"/> - <ValueElement CodeSystem="HL70396" DisplayName="Transport Route" Value="HL70944"/> - <ValueElement CodeSystem="HL70396" DisplayName="Financial Class " Value="HL70064"/> - <ValueElement CodeSystem="HL70396" DisplayName="Invoice Type " Value="HL70555"/> - <ValueElement CodeSystem="HL70396" DisplayName="Remote Control Command " Value="HL70368"/> - <ValueElement CodeSystem="HL70396" DisplayName="Dispense Method " Value="HL70321"/> - <ValueElement CodeSystem="HL70396" DisplayName="Relevant Clinical Information " - Value="HL70916"/> - <ValueElement CodeSystem="HL70396" DisplayName="Product Problem " Value="HL70245"/> - <ValueElement CodeSystem="HL70396" DisplayName="Referral Category " Value="HL70284"/> - <ValueElement CodeSystem="HL70396" DisplayName="Overall Claim Disposition Code " - Value="HL70457"/> - <ValueElement CodeSystem="HL70396" DisplayName="U.S. Board on Geographic Names (USGS - GNIS)" - Value="USGSGNIS"/> - <ValueElement CodeSystem="HL70396" DisplayName="CP Range Type " Value="HL70298"/> - <ValueElement CodeSystem="HL70396" DisplayName="Specimen Condition " Value="HL70493"/> - <ValueElement CodeSystem="HL70396" DisplayName="Transport Temperature Units " Value="HL70931"/> - <ValueElement CodeSystem="HL70396" - DisplayName="CDC PHLIP Lab test codes, where LOINC concept is too broad or not yet available, especially as needed for ordering and or lab to lab reporting )" - Value="PLT"/> - <ValueElement CodeSystem="HL70396" DisplayName="Facility Type " Value="HL70331"/> - <ValueElement CodeSystem="HL70396" DisplayName="Used initially for contact roles." - Value="ROLECLASS"/> - <ValueElement CodeSystem="HL70396" DisplayName="Container Status " Value="HL70370"/> - <ValueElement CodeSystem="HL70396" DisplayName="School Type " Value="HL70402"/> - <ValueElement CodeSystem="HL70396" DisplayName="Re-Admission Indicator " Value="HL70092"/> - <ValueElement CodeSystem="HL70396" DisplayName="Identifier Type " Value="HL70203"/> - <ValueElement CodeSystem="HL70396" DisplayName="Exclusive Test " Value="HL70919"/> - <ValueElement CodeSystem="HL70396" DisplayName="Date/Time Selection Qualifier" - Value="HL70158"/> - <ValueElement CodeSystem="HL70396" DisplayName="Event Reason " Value="HL70062"/> - <ValueElement CodeSystem="HL70396" - DisplayName="International Classification of Diseases, 9th Revision, Clinical Modification (ICD-9-CM)" - Value="I9C"/> - <ValueElement CodeSystem="HL70396" DisplayName="Body Site Modifier " Value="HL70495"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70333" ContentDefinition="Extensional" - Description="Driver's license issuing authority" - Extensibility="Closed" - Name="Driver's license issuing authority" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70177" ContentDefinition="Extensional" - Description="Confidentiality code" - Extensibility="Closed" - Name="Confidentiality code" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70177" DisplayName="Usual control" Usage="P" Value="U"/> - <ValueElement CodeSystem="HL70177" DisplayName="AIDS patient" Usage="P" Value="AID"/> - <ValueElement CodeSystem="HL70177" DisplayName="Employee" Usage="P" Value="EMP"/> - <ValueElement CodeSystem="HL70177" DisplayName="Very important person or celebrity" Usage="P" - Value="VIP"/> - <ValueElement CodeSystem="HL70177" DisplayName="HIV(+) patient" Usage="P" Value="HIV"/> - <ValueElement CodeSystem="HL70177" DisplayName="Psychiatric patient" Usage="P" Value="PSY"/> - <ValueElement CodeSystem="HL70177" DisplayName="Very restricted" Usage="P" Value="V"/> - <ValueElement CodeSystem="HL70177" DisplayName="Unwed mother" Usage="P" Value="UWM"/> - <ValueElement CodeSystem="HL70177" DisplayName="Restricted" Usage="P" Value="R"/> - <ValueElement CodeSystem="HL70177" DisplayName="Alcohol/drug treatment patient" Usage="P" - Value="ETH"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70224" ContentDefinition="Extensional" - Description="Transport Arranged" - Extensibility="Closed" - Name="Transport Arranged" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70224" DisplayName="Arranged" Usage="P" Value="A"/> - <ValueElement CodeSystem="HL70224" DisplayName="Unknown" Usage="P" Value="U"/> - <ValueElement CodeSystem="HL70224" DisplayName="Not Arranged" Usage="P" Value="N"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70112" ContentDefinition="Extensional" - Description="Discharge Disposition" - Extensibility="Closed" - Name="Discharge Disposition" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70112" - DisplayName="Discharge to be defined at state level, if necessary 19" - Usage="P" - Value="19"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Still patient to be defined at state level, if necessary (i.e. still a patient) 37" - Usage="P" - Value="37"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Discharge to be defined at state level, if necessary 15" - Usage="P" - Value="15"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Still patient to be defined at state level, if necessary (i.e. still a patient) 32" - Usage="P" - Value="32"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Still patient to be defined at state level, if necessary (i.e. still a patient) 33" - Usage="P" - Value="33"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Still patient to be defined at state level, if necessary (i.e. still a patient) 35" - Usage="P" - Value="35"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Discharge to be defined at state level, if necessary 10" - Usage="P" - Value="10"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Expired to be defined at state level, if necessary 21" - Usage="P" - Value="21"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Still patient to be defined at state level, if necessary (i.e. still a patient) 34" - Usage="P" - Value="34"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Expired to be defined at state level, if necessary 24" - Usage="P" - Value="24"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Discharge to be defined at state level, if necessary 18" - Usage="P" - Value="18"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Expired to be defined at state level, if necessary 27" - Usage="P" - Value="27"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Expired (i.e. died) in a medical facility; e.g., hospital, SNF, ICF, or free standing hospice" - Usage="P" - Value="41"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Still patient to be defined at state level, if necessary (i.e. still a patient) 31" - Usage="P" - Value="31"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Discharged to home or self care (routine discharge)" - Usage="P" - Value="01"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Discharge to be defined at state level, if necessary 11" - Usage="P" - Value="11"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Discharge to be defined at state level, if necessary 13" - Usage="P" - Value="13"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Expired to be defined at state level, if necessary 26" - Usage="P" - Value="26"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Expired to be defined at state level, if necessary 28" - Usage="P" - Value="28"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Discharged/transferred to skilled nursing facility (SNF)" - Usage="P" - Value="03"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Discharged/transferred to another type of institution for inpatient care or referred for outpatient services to another institution" - Usage="P" - Value="05"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Expired to be defined at state level, if necessary 29" - Usage="P" - Value="29"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Discharged/transferred to another short term general hospital for inpatient care" - Usage="P" - Value="02"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Left against medical advice or discontinued care" - Usage="P" - Value="07"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Discharge to be defined at state level, if necessary 14" - Usage="P" - Value="14"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Discharge to be defined at state level, if necessary 16" - Usage="P" - Value="16"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Expired to be defined at state level, if necessary 23" - Usage="P" - Value="23"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Expired to be defined at state level, if necessary 22" - Usage="P" - Value="22"/> - <ValueElement CodeSystem="HL70112" DisplayName="Admitted as an inpatient to this hospital" - Usage="P" - Value="09"/> - <ValueElement CodeSystem="HL70112" DisplayName="Expired (i.e. died) at home" Usage="P" - Value="40"/> - <ValueElement CodeSystem="HL70112" DisplayName="Expired (i.e. died) - place unknown" - Usage="P" - Value="42"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Still patient to be defined at state level, if necessary (i.e. still a patient) 38" - Usage="P" - Value="38"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Discharged/transferred to home under care of Home IV provider" - Usage="P" - Value="08"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Discharge to be defined at state level, if necessary 12" - Usage="P" - Value="12"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Expired to be defined at state level, if necessary 25" - Usage="P" - Value="25"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Discharged/transferred to home under care of organized home health service organization" - Usage="P" - Value="06"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Still patient to be defined at state level, if necessary (i.e. still a patient) 39" - Usage="P" - Value="39"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Still patient or expected to return for outpatient services (i.e. still a patient)" - Usage="P" - Value="30"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Discharged/transferred to an intermediate care facility (ICF)" - Usage="P" - Value="04"/> - <ValueElement CodeSystem="HL70112" DisplayName="Expired (i.e. dead)" Usage="P" Value="20"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Discharge to be defined at state level, if necessary 17" - Usage="P" - Value="17"/> - <ValueElement CodeSystem="HL70112" - DisplayName="Still patient to be defined at state level, if necessary (i.e. still a patient) 36" - Usage="P" - Value="36"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70072" ContentDefinition="Extensional" - Description="Insurance Plan ID" - Extensibility="Closed" - Name="Insurance Plan ID" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70018" ContentDefinition="Extensional" - Description="Patient Type" - Extensibility="Closed" - Name="Patient Type" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70356" ContentDefinition="Extensional" - Description="Alternate character set handling scheme" - Extensibility="Closed" - Name="Alternate character set handling scheme" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70356" - DisplayName="This standard is titled &#34;Information Technology - Character Code Structure and Extension Technique&#34;. ." - Usage="P" - Value="ISO 2022-1994"/> - <ValueElement CodeSystem="HL70356" - DisplayName="The character set switching mode specified in HL7 2.5, section 2.7.2, “Escape sequences supporting multiple character setsâ€&#157; and section 2.A.46, &#34;XPN - extended person name&#34;." - Usage="P" - Value="2.3"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70441" ContentDefinition="Extensional" - Description="Immunization Registry Status" - Extensibility="Closed" - Name="Immunization Registry Status" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70441" DisplayName="Active" Usage="P" Value="A"/> - <ValueElement CodeSystem="HL70441" DisplayName="Other" Usage="P" Value="O"/> - <ValueElement CodeSystem="HL70441" - DisplayName="Inactive - Moved or gone elsewhere (cancel contract)" - Usage="P" - Value="M"/> - <ValueElement CodeSystem="HL70441" - DisplayName="Inactive - Lost to follow-up (cancel contract)" - Usage="P" - Value="L"/> - <ValueElement CodeSystem="HL70441" DisplayName="Unknown" Usage="P" Value="U"/> - <ValueElement CodeSystem="HL70441" DisplayName="Inactive" Usage="P" Value="I"/> - <ValueElement CodeSystem="HL70441" - DisplayName="Inactive - Permanently inactive (Do not reactivate or add new entries to the record)" - Usage="P" - Value="P"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70432" ContentDefinition="Extensional" - Description="Admission Level of Care Code" - Extensibility="Closed" - Name="Admission Level of Care Code" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70432" DisplayName="Acute" Usage="P" Value="AC"/> - <ValueElement CodeSystem="HL70432" DisplayName="Moribund" Usage="P" Value="MO"/> - <ValueElement CodeSystem="HL70432" DisplayName="Critical" Usage="P" Value="CR"/> - <ValueElement CodeSystem="HL70432" DisplayName="Improved" Usage="P" Value="IM"/> - <ValueElement CodeSystem="HL70432" DisplayName="Chronic" Usage="P" Value="CH"/> - <ValueElement CodeSystem="HL70432" DisplayName="Comatose" Usage="P" Value="CO"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70218" ContentDefinition="Extensional" - Description="Patient Charge Adjustment" - Extensibility="Closed" - Name="Patient Charge Adjustment" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70433" ContentDefinition="Extensional" - Description="Precaution Code" - Extensibility="Closed" - Name="Precaution Code" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70433" DisplayName="Unknown" Usage="P" Value="U"/> - <ValueElement CodeSystem="HL70433" DisplayName="Deaf" Usage="P" Value="D"/> - <ValueElement CodeSystem="HL70433" DisplayName="Confused" Usage="P" Value="C"/> - <ValueElement CodeSystem="HL70433" DisplayName="Aggressive" Usage="P" Value="A"/> - <ValueElement CodeSystem="HL70433" DisplayName="On IV" Usage="P" Value="I"/> - <ValueElement CodeSystem="HL70433" DisplayName="Other" Usage="P" Value="O"/> - <ValueElement CodeSystem="HL70433" DisplayName="Do not resuscitate" Usage="P" Value="N"/> - <ValueElement CodeSystem="HL70433" DisplayName="Blind" Usage="P" Value="B"/> - <ValueElement CodeSystem="HL70433" DisplayName="Paraplegic" Usage="P" Value="P"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70006" ContentDefinition="Extensional" - Description="Religion" - Extensibility="Closed" - Name="Religion" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70006" DisplayName="Nonreligious" Usage="P" Value="NOE"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Unitarian" Usage="P" Value="UNI"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Roman Catholic" Usage="P" - Value="CAT"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Methodist" Usage="P" Value="MET"/> - <ValueElement CodeSystem="HL70006" DisplayName="Jewish: Reform" Usage="P" Value="JRF"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Other Protestant" Usage="P" - Value="PRC"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Church of Christ" Usage="P" - Value="COC"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Christian Reformed" Usage="P" - Value="CRR"/> - <ValueElement CodeSystem="HL70006" DisplayName="Agnostic" Usage="P" Value="AGN"/> - <ValueElement CodeSystem="HL70006" DisplayName="Buddhist: Mahayana" Usage="P" Value="BMA"/> - <ValueElement CodeSystem="HL70006" DisplayName="Jain" Usage="P" Value="JAI"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Mennonite" Usage="P" Value="MEN"/> - <ValueElement CodeSystem="HL70006" DisplayName="Hindu: Vaishnavites" Usage="P" Value="HVA"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Lutheran" Usage="P" Value="LUT"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Anglican" Usage="P" Value="ANG"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Christian Missionary Alliance" - Usage="P" - Value="CMA"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Church of God in Christ" Usage="P" - Value="COI"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Other Pentecostal" Usage="P" - Value="COP"/> - <ValueElement CodeSystem="HL70006" DisplayName="Atheist" Usage="P" Value="ATH"/> - <ValueElement CodeSystem="HL70006" DisplayName="Jewish: Orthodox" Usage="P" Value="JOR"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Friends" Usage="P" Value="QUA"/> - <ValueElement CodeSystem="HL70006" DisplayName="Buddhist: Theravada" Usage="P" Value="BTH"/> - <ValueElement CodeSystem="HL70006" DisplayName="Sikh" Usage="P" Value="SIK"/> - <ValueElement CodeSystem="HL70006" DisplayName="Ethnic Religionist" Usage="P" Value="ERL"/> - <ValueElement CodeSystem="HL70006" DisplayName="Muslim: Sunni" Usage="P" Value="MSU"/> - <ValueElement CodeSystem="HL70006" DisplayName="Jewish: Other" Usage="P" Value="JOT"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Orthodox" Usage="P" Value="ORT"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Reformed Church" Usage="P" - Value="REC"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Church of the Nazarene" Usage="P" - Value="NAZ"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Jehovah's Witness" Usage="P" - Value="JWN"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Presbyterian" Usage="P" - Value="PRE"/> - <ValueElement CodeSystem="HL70006" DisplayName="Buddhist: Other" Usage="P" Value="BOT"/> - <ValueElement CodeSystem="HL70006" DisplayName="Other" Usage="P" Value="OTH"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Pentecostal" Usage="P" Value="PEN"/> - <ValueElement CodeSystem="HL70006" DisplayName="Chinese Folk Religionist" Usage="P" - Value="CFR"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Lutheran Missouri Synod" Usage="P" - Value="LMS"/> - <ValueElement CodeSystem="HL70006" DisplayName="Jewish: Renewal" Usage="P" Value="JRN"/> - <ValueElement CodeSystem="HL70006" DisplayName="New Religionist" Usage="P" Value="NRL"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Christian Science" Usage="P" - Value="CHS"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Salvation Army" Usage="P" - Value="SAA"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Protestant" Usage="P" Value="PRO"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Community" Usage="P" Value="COM"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Unitarian Universalist" Usage="P" - Value="UNU"/> - <ValueElement CodeSystem="HL70006" DisplayName="Muslim: Shiite" Usage="P" Value="MSH"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: American Baptist Church" Usage="P" - Value="ABC"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: United Methodist" Usage="P" - Value="UMD"/> - <ValueElement CodeSystem="HL70006" DisplayName="Muslim" Usage="P" Value="MOS"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Evangelical Church" Usage="P" - Value="EVC"/> - <ValueElement CodeSystem="HL70006" DisplayName="Hindu" Usage="P" Value="HIN"/> - <ValueElement CodeSystem="HL70006" DisplayName="Jewish: Reconstructionist" Usage="P" - Value="JRC"/> - <ValueElement CodeSystem="HL70006" DisplayName="Buddhist" Usage="P" Value="BUD"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian" Usage="P" Value="CHR"/> - <ValueElement CodeSystem="HL70006" DisplayName="Unknown" Usage="P" Value="VAR"/> - <ValueElement CodeSystem="HL70006" DisplayName="Buddhist: Tantrayana" Usage="P" Value="BTA"/> - <ValueElement CodeSystem="HL70006" DisplayName="Baha'i" Usage="P" Value="BAH"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Other" Usage="P" Value="COT"/> - <ValueElement CodeSystem="HL70006" DisplayName="Hindu: Other" Usage="P" Value="HOT"/> - <ValueElement CodeSystem="HL70006" DisplayName="Jewish" Usage="P" Value="JEW"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Seventh Day Adventist" Usage="P" - Value="SEV"/> - <ValueElement CodeSystem="HL70006" DisplayName="Shintoist" Usage="P" Value="SHN"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Baptist" Usage="P" Value="BAP"/> - <ValueElement CodeSystem="HL70006" DisplayName="Spiritist" Usage="P" Value="SPI"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: United Church of Christ" Usage="P" - Value="UCC"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Assembly of God" Usage="P" - Value="AOG"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Latter-day Saints" Usage="P" - Value="MOM"/> - <ValueElement CodeSystem="HL70006" - DisplayName="Christian: Reorganized Church of Jesus Christ-LDS" - Usage="P" - Value="REO"/> - <ValueElement CodeSystem="HL70006" DisplayName="Native American" Usage="P" Value="NAM"/> - <ValueElement CodeSystem="HL70006" DisplayName="Confucian" Usage="P" Value="CNF"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Southern Baptist" Usage="P" - Value="SOU"/> - <ValueElement CodeSystem="HL70006" DisplayName="Hindu: Shaivites" Usage="P" Value="HSH"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Church of God" Usage="P" - Value="COG"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Friends" Usage="P" Value="FRQ"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: African Methodist Episcopal" - Usage="P" - Value="AMT"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Congregational" Usage="P" - Value="COL"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: African Methodist Episcopal Zion" - Usage="P" - Value="AME"/> - <ValueElement CodeSystem="HL70006" DisplayName="Muslim: Other" Usage="P" Value="MOT"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Wesleyan" Usage="P" Value="WES"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Greek Orthodox" Usage="P" - Value="GRE"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Wesleyan Methodist" Usage="P" - Value="WMC"/> - <ValueElement CodeSystem="HL70006" DisplayName="Jewish: Conservative" Usage="P" Value="JCO"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Episcopalian" Usage="P" - Value="EPI"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Eastern Orthodox" Usage="P" - Value="EOT"/> - <ValueElement CodeSystem="HL70006" DisplayName="Christian: Free Will Baptist" Usage="P" - Value="FWB"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70129" ContentDefinition="Extensional" - Description="Accommodation code" - Extensibility="Closed" - Name="Accommodation code" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70200" ContentDefinition="Extensional" - Description="Name type" - Extensibility="Closed" - Name="Name type" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70200" DisplayName="Name at Birth" Usage="P" Value="B"/> - <ValueElement CodeSystem="HL70200" DisplayName="Adopted Name" Usage="P" Value="C"/> - <ValueElement CodeSystem="HL70200" DisplayName="Alias Name" Usage="P" Value="A"/> - <ValueElement CodeSystem="HL70200" DisplayName="Unspecified" Usage="P" Value="U"/> - <ValueElement CodeSystem="HL70200" DisplayName="Display Name" Usage="P" Value="D"/> - <ValueElement CodeSystem="HL70200" DisplayName="Licensing Name" Usage="P" Value="I"/> - <ValueElement CodeSystem="HL70200" DisplayName="Maiden Name" Usage="P" Value="M"/> - <ValueElement CodeSystem="HL70200" DisplayName="Legal Name" Usage="P" Value="L"/> - <ValueElement CodeSystem="HL70200" DisplayName="Registered Name (animals only)" Usage="P" - Value="R"/> - <ValueElement CodeSystem="HL70200" - DisplayName="Name of Partner/Spouse (retained for backward compatibility only)" - Usage="P" - Value="P"/> - <ValueElement CodeSystem="HL70200" DisplayName="Nickname /&#34;Call me&#34; Name/Street Name" - Usage="P" - Value="N"/> - <ValueElement CodeSystem="HL70200" DisplayName="Coded Pseudo-Name to ensure anonymity" - Usage="P" - Value="S"/> - <ValueElement CodeSystem="HL70200" DisplayName="Indigenous/Tribal/Community Name" Usage="P" - Value="T"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70141" ContentDefinition="Extensional" - Description="Military Rank/Grade" - Extensibility="Closed" - Name="Military Rank/Grade" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70141" DisplayName="Enlisted 2" Usage="P" Value="E2"/> - <ValueElement CodeSystem="HL70141" DisplayName="Enlisted 5" Usage="P" Value="E5"/> - <ValueElement CodeSystem="HL70141" DisplayName="Enlisted 1" Usage="P" Value="E1"/> - <ValueElement CodeSystem="HL70141" DisplayName="Warrant Officers 4" Usage="P" Value="W4"/> - <ValueElement CodeSystem="HL70141" DisplayName="Officers 3" Usage="P" Value="O3"/> - <ValueElement CodeSystem="HL70141" DisplayName="Officers 4" Usage="P" Value="O4"/> - <ValueElement CodeSystem="HL70141" DisplayName="Enlisted 9" Usage="P" Value="E9"/> - <ValueElement CodeSystem="HL70141" DisplayName="Officers 7" Usage="P" Value="O7"/> - <ValueElement CodeSystem="HL70141" DisplayName="Officers 8" Usage="P" Value="O8"/> - <ValueElement CodeSystem="HL70141" DisplayName="Warrant Officers 3" Usage="P" Value="W3"/> - <ValueElement CodeSystem="HL70141" DisplayName="Enlisted 4" Usage="P" Value="E4"/> - <ValueElement CodeSystem="HL70141" DisplayName="Enlisted 3" Usage="P" Value="E3"/> - <ValueElement CodeSystem="HL70141" DisplayName="Officers 5" Usage="P" Value="O5"/> - <ValueElement CodeSystem="HL70141" DisplayName="Enlisted 8" Usage="P" Value="E8"/> - <ValueElement CodeSystem="HL70141" DisplayName="Officers 1" Usage="P" Value="O1"/> - <ValueElement CodeSystem="HL70141" DisplayName="Enlisted 6" Usage="P" Value="E6"/> - <ValueElement CodeSystem="HL70141" DisplayName="Officers 6" Usage="P" Value="O6"/> - <ValueElement CodeSystem="HL70141" DisplayName="Officers 9" Usage="P" Value="O9"/> - <ValueElement CodeSystem="HL70141" DisplayName="Enlisted 7" Usage="P" Value="E7"/> - <ValueElement CodeSystem="HL70141" DisplayName="Warrant Officers 1" Usage="P" Value="W1"/> - <ValueElement CodeSystem="HL70141" DisplayName="Warrant Officers 2" Usage="P" Value="W2"/> - <ValueElement CodeSystem="HL70141" DisplayName="Officers 2" Usage="P" Value="O2"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70007" ContentDefinition="Extensional" - Description="Admission Type" - Extensibility="Closed" - Name="Admission Type" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70007" DisplayName="Elective" Usage="P" Value="C"/> - <ValueElement CodeSystem="HL70007" DisplayName="Newborn (Birth in healthcare facility)" - Usage="P" - Value="N"/> - <ValueElement CodeSystem="HL70007" DisplayName="Labor and Delivery" Usage="P" Value="L"/> - <ValueElement CodeSystem="HL70007" DisplayName="Urgent" Usage="P" Value="U"/> - <ValueElement CodeSystem="HL70007" DisplayName="Routine" Usage="P" Value="R"/> - <ValueElement CodeSystem="HL70007" DisplayName="Emergency" Usage="P" Value="E"/> - <ValueElement CodeSystem="HL70007" DisplayName="Accident" Usage="P" Value="A"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70411" ContentDefinition="Extensional" - Description="Supplemental Service Information Values" - Extensibility="Closed" - Name="Supplemental Service Information Values" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70485" ContentDefinition="Extensional" - Description="Extended Priority Codes" - Extensibility="Closed" - Name="Extended Priority Codes" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70485" DisplayName="Preop" Usage="P" Value="P"/> - <ValueElement CodeSystem="HL70485" DisplayName="As needed" Usage="P" Value="PRN"/> - <ValueElement CodeSystem="HL70485" DisplayName="Stat" Usage="P" Value="S"/> - <ValueElement CodeSystem="HL70485" DisplayName="Routine" Usage="P" Value="R"/> - <ValueElement CodeSystem="HL70485" DisplayName="ASAP" Usage="P" Value="A"/> - <ValueElement CodeSystem="HL70485" DisplayName="Callback" Usage="P" Value="C"/> - <ValueElement CodeSystem="HL70485" DisplayName="Timing critical" Usage="P" Value="T"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70099" ContentDefinition="Extensional" - Description="VIP Indicator" - Extensibility="Closed" - Name="VIP Indicator" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70111" ContentDefinition="Extensional" - Description="Delete Account Code" - Extensibility="Closed" - Name="Delete Account Code" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70505" ContentDefinition="Extensional" - Description="Cyclic Entry/Exit Indicator" - Extensibility="Closed" - Name="Cyclic Entry/Exit Indicator" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70505" DisplayName="The last service request in a cyclic group." - Usage="P" - Value="#"/> - <ValueElement CodeSystem="HL70505" DisplayName="The first service request in a cyclic group" - Usage="P" - Value="*"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70448" ContentDefinition="Extensional" - Description="Name context" - Extensibility="Closed" - Name="Name context" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70288" ContentDefinition="Extensional" - Description="Census tract" - Extensibility="Closed" - Name="Census tract" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70085" ContentDefinition="Extensional" - Description="Observation result status codes interpretation" - Extensibility="Closed" - Name="Observation result status codes interpretation" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70085" DisplayName="Preliminary results" Usage="P" Value="P"/> - <ValueElement CodeSystem="HL70085" - DisplayName="Results status change to final without retransmitting results already sent as 'preliminary.' E.g., radiology changes status from preliminary to final" - Usage="P" - Value="U"/> - <ValueElement CodeSystem="HL70085" - DisplayName="Post original as wrong, e.g., transmitted for wrong patient" - Usage="P" - Value="W"/> - <ValueElement CodeSystem="HL70085" DisplayName="Specimen in lab; results pending" Usage="P" - Value="I"/> - <ValueElement CodeSystem="HL70085" DisplayName="Partial results" Usage="P" Value="S"/> - <ValueElement CodeSystem="HL70085" DisplayName="Order detail description only (no result)" - Usage="P" - Value="O"/> - <ValueElement CodeSystem="HL70085" - DisplayName="Final results; Can only be changed with a corrected result." - Usage="P" - Value="F"/> - <ValueElement CodeSystem="HL70085" - DisplayName="Results cannot be obtained for this observation" - Usage="P" - Value="X"/> - <ValueElement CodeSystem="HL70085" - DisplayName="Record coming over is a correction and thus replaces a final result" - Usage="P" - Value="C"/> - <ValueElement CodeSystem="HL70085" DisplayName="Deletes the OBX record" Usage="P" Value="D"/> - <ValueElement CodeSystem="HL70085" - DisplayName="Not asked; used to affirmatively document that the observation identified in the OBX was not sought when the universal service ID in OBR-4 implies that it would be sought." - Usage="P" - Value="N"/> - <ValueElement CodeSystem="HL70085" DisplayName="Results entered -- not verified" Usage="P" - Value="R"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70338" ContentDefinition="Extensional" - Description="Practitioner ID number type" - Extensibility="Closed" - Name="Practitioner ID number type" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70338" DisplayName="Medicare number" Usage="P" Value="MCR"/> - <ValueElement CodeSystem="HL70338" DisplayName="State license number" Usage="P" Value="SL"/> - <ValueElement CodeSystem="HL70338" DisplayName="QA number" Usage="P" Value="QA"/> - <ValueElement CodeSystem="HL70338" DisplayName="Training license number" Usage="P" - Value="TRL"/> - <ValueElement CodeSystem="HL70338" DisplayName="Unique physician ID no." Usage="P" - Value="UPIN"/> - <ValueElement CodeSystem="HL70338" DisplayName="County number" Usage="P" Value="CY"/> - <ValueElement CodeSystem="HL70338" DisplayName="Drug Enforcement Agency no." Usage="P" - Value="DEA"/> - <ValueElement CodeSystem="HL70338" DisplayName="General ledger number" Usage="P" Value="GL"/> - <ValueElement CodeSystem="HL70338" DisplayName="Labor and industries number" Usage="P" - Value="L&amp;I"/> - <ValueElement CodeSystem="HL70338" DisplayName="Labor and industries number" Usage="P" - Value="LI"/> - <ValueElement CodeSystem="HL70338" DisplayName="Medicaid number" Usage="P" Value="MCD"/> - <ValueElement CodeSystem="HL70338" DisplayName="Tax ID number" Usage="P" Value="TAX"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70044" ContentDefinition="Extensional" - Description="Contract Code" - Extensibility="Closed" - Name="Contract Code" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70001" ContentDefinition="Extensional" - Description="Administrative Sex" - Extensibility="Closed" - Name="Administrative Sex" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70001" DisplayName="Female" Usage="P" Value="F"/> - <ValueElement CodeSystem="HL70001" DisplayName="Male" Usage="P" Value="M"/> - <ValueElement CodeSystem="HL70001" DisplayName="Not applicable" Usage="P" Value="N"/> - <ValueElement CodeSystem="HL70001" DisplayName="Ambiguous" Usage="P" Value="A"/> - <ValueElement CodeSystem="HL70001" DisplayName="Other" Usage="P" Value="O"/> - <ValueElement CodeSystem="HL70001" DisplayName="Unknown" Usage="P" Value="U"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70009" ContentDefinition="Extensional" - Description="Ambulatory Status" - Extensibility="Closed" - Name="Ambulatory Status" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70009" DisplayName="Disoriented" Usage="P" Value="A4"/> - <ValueElement CodeSystem="HL70009" DisplayName="Oxygen therapy" Usage="P" Value="B1"/> - <ValueElement CodeSystem="HL70009" DisplayName="Functional level unknown" Usage="P" - Value="A9"/> - <ValueElement CodeSystem="HL70009" DisplayName="Wheelchair/stretcher bound" Usage="P" - Value="A2"/> - <ValueElement CodeSystem="HL70009" DisplayName="Speech impaired" Usage="P" Value="A7"/> - <ValueElement CodeSystem="HL70009" DisplayName="Amputee" Usage="P" Value="B3"/> - <ValueElement CodeSystem="HL70009" DisplayName="Pregnant" Usage="P" Value="B6"/> - <ValueElement CodeSystem="HL70009" DisplayName="Comatose; non-responsive" Usage="P" - Value="A3"/> - <ValueElement CodeSystem="HL70009" DisplayName="Hearing impaired" Usage="P" Value="A6"/> - <ValueElement CodeSystem="HL70009" DisplayName="Ambulates with assistive device" Usage="P" - Value="A1"/> - <ValueElement CodeSystem="HL70009" DisplayName="Special equipment (tubes, IVs, catheters)" - Usage="P" - Value="B2"/> - <ValueElement CodeSystem="HL70009" DisplayName="Vision impaired" Usage="P" Value="A5"/> - <ValueElement CodeSystem="HL70009" DisplayName="Non-English speaking" Usage="P" Value="A8"/> - <ValueElement CodeSystem="HL70009" DisplayName="Mastectomy" Usage="P" Value="B4"/> - <ValueElement CodeSystem="HL70009" DisplayName="No functional limitations" Usage="P" - Value="A0"/> - <ValueElement CodeSystem="HL70009" DisplayName="Paraplegic" Usage="P" Value="B5"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70125" ContentDefinition="Extensional" - Description="Value type" - Extensibility="Closed" - Name="Value type" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70125" DisplayName="Extended Person Name" Usage="P" Value="XPN"/> - <ValueElement CodeSystem="HL70125" DisplayName="Encapsulated Data" Usage="P" Value="ED"/> - <ValueElement CodeSystem="HL70125" DisplayName="Numeric" Usage="P" Value="NM"/> - <ValueElement CodeSystem="HL70125" DisplayName="Time Stamp (Date &amp; Time)" Usage="P" - Value="TS"/> - <ValueElement CodeSystem="HL70125" DisplayName="Composite Price" Usage="P" Value="CP"/> - <ValueElement CodeSystem="HL70125" DisplayName="Extended Telecommunications Number" Usage="P" - Value="XTN"/> - <ValueElement CodeSystem="HL70125" DisplayName="Coded Entry" Usage="P" Value="CE"/> - <ValueElement CodeSystem="HL70125" DisplayName="Reference Pointer" Usage="P" Value="RP"/> - <ValueElement CodeSystem="HL70125" DisplayName="Structured Numeric" Usage="P" Value="SN"/> - <ValueElement CodeSystem="HL70125" - DisplayName="Extended Composite Name And Number For Persons" - Usage="P" - Value="XCN"/> - <ValueElement CodeSystem="HL70125" - DisplayName="Extended Composite Name And Number For Organizations" - Usage="P" - Value="XON"/> - <ValueElement CodeSystem="HL70125" DisplayName="Extended Composite ID With Check Digit" - Usage="P" - Value="CX"/> - <ValueElement CodeSystem="HL70125" DisplayName="Text Data (Display)" Usage="P" Value="TX"/> - <ValueElement CodeSystem="HL70125" DisplayName="Extended Address" Usage="P" Value="XAD"/> - <ValueElement CodeSystem="HL70125" DisplayName="Formatted Text (Display)" Usage="P" - Value="FT"/> - <ValueElement CodeSystem="HL70125" DisplayName="Money" Usage="P" Value="MO"/> - <ValueElement CodeSystem="HL70125" DisplayName="Time" Usage="P" Value="TM"/> - <ValueElement CodeSystem="HL70125" DisplayName="Coded Element With Formatted Values" - Usage="P" - Value="CF"/> - <ValueElement CodeSystem="HL70125" DisplayName="String Data." Usage="P" Value="ST"/> - <ValueElement CodeSystem="HL70125" DisplayName="Address" Usage="P" Value="AD"/> - <ValueElement CodeSystem="HL70125" DisplayName="Date" Usage="P" Value="DT"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70488" ContentDefinition="Extensional" - Description="Specimen Collection Method" - Extensibility="Closed" - Name="Specimen Collection Method" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70488" DisplayName="Transport Media, Stool Culture" Usage="P" - Value="TMSC"/> - <ValueElement CodeSystem="HL70488" DisplayName="Plate, New York City" Usage="P" Value="NYP"/> - <ValueElement CodeSystem="HL70488" DisplayName="Plate, Cough" Usage="P" Value="KOFFP"/> - <ValueElement CodeSystem="HL70488" DisplayName="Line, CVP" Usage="P" Value="CVP"/> - <ValueElement CodeSystem="HL70488" DisplayName="Transport Media, Chalamydia" Usage="P" - Value="TMCH"/> - <ValueElement CodeSystem="HL70488" DisplayName="Blood Culture, Pediatric Bottle" Usage="P" - Value="BCPD"/> - <ValueElement CodeSystem="HL70488" DisplayName="Scalp, Fetal Vein" Usage="P" Value="SCLP"/> - <ValueElement CodeSystem="HL70488" DisplayName="Pump Specimen" Usage="P" Value="PUMP"/> - <ValueElement CodeSystem="HL70488" DisplayName="Plate, Martin-Lewis" Usage="P" Value="MLP"/> - <ValueElement CodeSystem="HL70488" DisplayName="Transport Media, M4" Usage="P" Value="TMM4"/> - <ValueElement CodeSystem="HL70488" DisplayName="Scrapings" Usage="P" Value="SCRAPS"/> - <ValueElement CodeSystem="HL70488" DisplayName="Environmental, Swab" Usage="P" Value="ESWA"/> - <ValueElement CodeSystem="HL70488" DisplayName="Pump Prime" Usage="P" Value="PRIME"/> - <ValueElement CodeSystem="HL70488" DisplayName="Transport Media, Anaerobic" Usage="P" - Value="TMAN"/> - <ValueElement CodeSystem="HL70488" DisplayName="Plates, Blood Agar" Usage="P" Value="BAP"/> - <ValueElement CodeSystem="HL70488" DisplayName="Aterial puncture" Usage="P" Value="PNA"/> - <ValueElement CodeSystem="HL70488" DisplayName="Transport Media, Viral" Usage="P" - Value="TMVI"/> - <ValueElement CodeSystem="HL70488" DisplayName="Swab, Wooden Shaft" Usage="P" Value="WOOD"/> - <ValueElement CodeSystem="HL70488" DisplayName="Pinworm Prep" Usage="P" Value="PIN"/> - <ValueElement CodeSystem="HL70488" DisplayName="Biopsy" Usage="P" Value="BIO"/> - <ValueElement CodeSystem="HL70488" DisplayName="Transport Media, Mycoplasma" Usage="P" - Value="TMMY"/> - <ValueElement CodeSystem="HL70488" DisplayName="Aspiration, Fine Needle" Usage="P" - Value="FNA"/> - <ValueElement CodeSystem="HL70488" DisplayName="Line, Venous" Usage="P" Value="LNV"/> - <ValueElement CodeSystem="HL70488" DisplayName="Venipuncture" Usage="P" Value="VENIP"/> - <ValueElement CodeSystem="HL70488" DisplayName="Transport Media, Ureaplasma" Usage="P" - Value="TMUP"/> - <ValueElement CodeSystem="HL70488" DisplayName="Martin-Lewis Agar" Usage="P" Value="MARTL"/> - <ValueElement CodeSystem="HL70488" DisplayName="Pace, Gen-Probe" Usage="P" Value="PACE"/> - <ValueElement CodeSystem="HL70488" DisplayName="Shaving" Usage="P" Value="SHA"/> - <ValueElement CodeSystem="HL70488" DisplayName="Mod. Martin-Lewis Agar" Usage="P" - Value="ML11"/> - <ValueElement CodeSystem="HL70488" DisplayName="Catheterized" Usage="P" Value="CATH"/> - <ValueElement CodeSystem="HL70488" DisplayName="Quality Control For Micro" Usage="P" - Value="QC5"/> - <ValueElement CodeSystem="HL70488" DisplayName="Blood Culture, Anaerobic Bottle" Usage="P" - Value="BCAN"/> - <ValueElement CodeSystem="HL70488" DisplayName="Swab" Usage="P" Value="SWA"/> - <ValueElement CodeSystem="HL70488" DisplayName="Plates, Anaerobic" Usage="P" Value="ANP"/> - <ValueElement CodeSystem="HL70488" DisplayName="Blood Culture, Aerobic Bottle" Usage="P" - Value="BCAE"/> - <ValueElement CodeSystem="HL70488" DisplayName="Swab, Dacron tipped" Usage="P" Value="SWD"/> - <ValueElement CodeSystem="HL70488" DisplayName="Line, Arterial" Usage="P" Value="LNA"/> - <ValueElement CodeSystem="HL70488" DisplayName="Transport Media," Usage="P" Value="TMOT"/> - <ValueElement CodeSystem="HL70488" DisplayName="Capillary Specimen" Usage="P" Value="CAP"/> - <ValueElement CodeSystem="HL70488" DisplayName="Plate, Thayer-Martin" Usage="P" Value="TMP"/> - <ValueElement CodeSystem="HL70488" DisplayName="Environmental, Plate" Usage="P" Value="EPLA"/> - <ValueElement CodeSystem="HL70488" DisplayName="Transport Media, PVA" Usage="P" Value="TMPV"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70217" ContentDefinition="Extensional" - Description="Visit Priority Code" - Extensibility="Closed" - Name="Visit Priority Code" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70217" DisplayName="Elective" Usage="P" Value="3"/> - <ValueElement CodeSystem="HL70217" DisplayName="Emergency" Usage="P" Value="1"/> - <ValueElement CodeSystem="HL70217" DisplayName="Urgent" Usage="P" Value="2"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70327" ContentDefinition="Extensional" - Description="Job code" - Extensibility="Closed" - Name="Job code" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70445" ContentDefinition="Extensional" - Description="Identity Reliability Code" - Extensibility="Closed" - Name="Identity Reliability Code" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70445" DisplayName="Patient/Person Name is an Alias" Usage="P" - Value="AL"/> - <ValueElement CodeSystem="HL70445" DisplayName="Unknown/Default Address" Usage="P" Value="UA"/> - <ValueElement CodeSystem="HL70445" DisplayName="Unknown/Default Social Security Number" - Usage="P" - Value="US"/> - <ValueElement CodeSystem="HL70445" DisplayName="Unknown/Default Date of Birth" Usage="P" - Value="UD"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70527" ContentDefinition="Extensional" - Description="Calendar alignment" - Extensibility="Closed" - Name="Calendar alignment" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70527" DisplayName="second of the minute" Usage="P" Value="SN"/> - <ValueElement CodeSystem="HL70527" DisplayName="day of the month" Usage="P" Value="DM"/> - <ValueElement CodeSystem="HL70527" DisplayName="hour of the day" Usage="P" Value="HD"/> - <ValueElement CodeSystem="HL70527" DisplayName="month of the year" Usage="P" Value="MY"/> - <ValueElement CodeSystem="HL70527" DisplayName="minute of the hour" Usage="P" Value="NH"/> - <ValueElement CodeSystem="HL70527" DisplayName="week of the year" Usage="P" Value="WY"/> - <ValueElement CodeSystem="HL70527" DisplayName="day of the year" Usage="P" Value="DY"/> - <ValueElement CodeSystem="HL70527" DisplayName="day of the week (begins with Monday)" - Usage="P" - Value="DW"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70506" ContentDefinition="Extensional" - Description="Service Request Relationship" - Extensibility="Closed" - Name="Service Request Relationship" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70506" DisplayName="Exclusive" Usage="P" Value="E"/> - <ValueElement CodeSystem="HL70506" DisplayName="Simultaneous" Usage="P" Value="S"/> - <ValueElement CodeSystem="HL70506" DisplayName="Tapering" Usage="P" Value="T"/> - <ValueElement CodeSystem="HL70506" DisplayName="Compound" Usage="P" Value="C"/> - <ValueElement CodeSystem="HL70506" DisplayName="Nurse prerogative" Usage="P" Value="N"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70121" ContentDefinition="Extensional" - Description="Response flag" - Extensibility="Closed" - Name="Response flag" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70121" DisplayName="Report exceptions only" Usage="P" Value="E"/> - <ValueElement CodeSystem="HL70121" DisplayName="Same as R, also other associated segments" - Usage="P" - Value="D"/> - <ValueElement CodeSystem="HL70121" DisplayName="Only the MSA segment is returned" Usage="P" - Value="N"/> - <ValueElement CodeSystem="HL70121" DisplayName="Same as D, plus confirmations explicitly" - Usage="P" - Value="F"/> - <ValueElement CodeSystem="HL70121" DisplayName="Same as E, also Replacement and Parent-Child" - Usage="P" - Value="R"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70069" ContentDefinition="Extensional" - Description="Hospital Service" - Extensibility="Closed" - Name="Hospital Service" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70069" DisplayName="Surgical Service" Usage="P" Value="SUR"/> - <ValueElement CodeSystem="HL70069" DisplayName="Medical Service" Usage="P" Value="MED"/> - <ValueElement CodeSystem="HL70069" DisplayName="Cardiac Service" Usage="P" Value="CAR"/> - <ValueElement CodeSystem="HL70069" DisplayName="Pulmonary Service" Usage="P" Value="PUL"/> - <ValueElement CodeSystem="HL70069" DisplayName="Urology Service" Usage="P" Value="URO"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70203" ContentDefinition="Extensional" - Description="Identifier type" - Extensibility="Closed" - Name="Identifier type" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70203" - DisplayName="Drug Furnishing or prescriptive authority Number" - Usage="P" - Value="DFN"/> - <ValueElement CodeSystem="HL70203" DisplayName="Dentist license number" Usage="P" Value="DDS"/> - <ValueElement CodeSystem="HL70203" DisplayName="QA number" Usage="P" Value="QA"/> - <ValueElement CodeSystem="HL70203" DisplayName="Cost Center number" Usage="P" Value="CC"/> - <ValueElement CodeSystem="HL70203" DisplayName="Patient's Medicare number" Usage="P" - Value="MC"/> - <ValueElement CodeSystem="HL70203" DisplayName="Regional registry ID" Usage="P" Value="RRI"/> - <ValueElement CodeSystem="HL70203" DisplayName="Treaty Number/ (Canada)" Usage="P" Value="TN"/> - <ValueElement CodeSystem="HL70203" DisplayName="Temporary Account Number" Usage="P" - Value="ANT"/> - <ValueElement CodeSystem="HL70203" DisplayName="National employer identifier" Usage="P" - Value="NE"/> - <ValueElement CodeSystem="HL70203" DisplayName="Health Card Number" Usage="P" Value="HC"/> - <ValueElement CodeSystem="HL70203" DisplayName="Patient external identifier" Usage="P" - Value="PT"/> - <ValueElement CodeSystem="HL70203" DisplayName="Railroad Retirement number" Usage="P" - Value="RR"/> - <ValueElement CodeSystem="HL70203" DisplayName="Discover Card" Usage="P" Value="DS"/> - <ValueElement CodeSystem="HL70203" DisplayName="Anonymous identifier" Usage="P" Value="ANON"/> - <ValueElement CodeSystem="HL70203" DisplayName="Birth registry number" Usage="P" Value="BR"/> - <ValueElement CodeSystem="HL70203" DisplayName="National Insurance Payor Identifier (Payor)" - Usage="P" - Value="NIIP"/> - <ValueElement CodeSystem="HL70203" DisplayName="Temporary Living Subject Number" Usage="P" - Value="PNT"/> - <ValueElement CodeSystem="HL70203" DisplayName="Registered Nurse Number" Usage="P" Value="RN"/> - <ValueElement CodeSystem="HL70203" - DisplayName="Medicare/CMS (formerly HCFA)'s Universal Physician Identification numbers" - Usage="P" - Value="UPIN"/> - <ValueElement CodeSystem="HL70203" DisplayName="Workers' Comp Number" Usage="P" Value="WCN"/> - <ValueElement CodeSystem="HL70203" DisplayName="Temporary Medical Record Number" Usage="P" - Value="MRT"/> - <ValueElement CodeSystem="HL70203" DisplayName="Person number" Usage="P" Value="PN"/> - <ValueElement CodeSystem="HL70203" DisplayName="Practitioner Medicaid number" Usage="P" - Value="MCD"/> - <ValueElement CodeSystem="HL70203" DisplayName="VISA" Usage="P" Value="VS"/> - <ValueElement CodeSystem="HL70203" DisplayName="National Health Plan Identifier" Usage="P" - Value="NH"/> - <ValueElement CodeSystem="HL70203" DisplayName="Nurse practitioner number" Usage="P" - Value="NP"/> - <ValueElement CodeSystem="HL70203" DisplayName="Osteopathic License number" Usage="P" - Value="DO"/> - <ValueElement CodeSystem="HL70203" DisplayName="Advanced Practice Registered Nurse number" - Usage="P" - Value="APRN"/> - <ValueElement CodeSystem="HL70203" DisplayName="General ledger number" Usage="P" Value="GL"/> - <ValueElement CodeSystem="HL70203" DisplayName="Patient Medicaid number" Usage="P" Value="MA"/> - <ValueElement CodeSystem="HL70203" DisplayName="Account number" Usage="P" Value="AN"/> - <ValueElement CodeSystem="HL70203" DisplayName="Pension Number" Usage="P" Value="PEN"/> - <ValueElement CodeSystem="HL70203" DisplayName="Breed Registry Number" Usage="P" Value="BRN"/> - <ValueElement CodeSystem="HL70203" DisplayName="Penitentiary/correctional institution Number" - Usage="P" - Value="PCN"/> - <ValueElement CodeSystem="HL70203" DisplayName="Provider number" Usage="P" Value="PRN"/> - <ValueElement CodeSystem="HL70203" DisplayName="State license" Usage="P" Value="SL"/> - <ValueElement CodeSystem="HL70203" DisplayName="Patient internal identifier" Usage="P" - Value="PI"/> - <ValueElement CodeSystem="HL70203" DisplayName="Employer number" Usage="P" Value="EN"/> - <ValueElement CodeSystem="HL70203" DisplayName="Practitioner Medicare number" Usage="P" - Value="MCR"/> - <ValueElement CodeSystem="HL70203" DisplayName="Facility ID" Usage="P" Value="FI"/> - <ValueElement CodeSystem="HL70203" DisplayName="Pharmacist license number" Usage="P" - Value="RPH"/> - <ValueElement CodeSystem="HL70203" DisplayName="Organization identifier" Usage="P" Value="XX"/> - <ValueElement CodeSystem="HL70203" DisplayName="American Express" Usage="P" Value="AM"/> - <ValueElement CodeSystem="HL70203" DisplayName="License number" Usage="P" Value="LN"/> - <ValueElement CodeSystem="HL70203" DisplayName="Microchip Number" Usage="P" Value="MCN"/> - <ValueElement CodeSystem="HL70203" DisplayName="Local Registry ID" Usage="P" Value="LR"/> - <ValueElement CodeSystem="HL70203" DisplayName="Living Subject Enterprise Number" Usage="P" - Value="PE"/> - <ValueElement CodeSystem="HL70203" DisplayName="National provider identifier" Usage="P" - Value="NPI"/> - <ValueElement CodeSystem="HL70203" DisplayName="Labor and industries number" Usage="P" - Value="LI"/> - <ValueElement CodeSystem="HL70203" DisplayName="MasterCard" Usage="P" Value="MS"/> - <ValueElement CodeSystem="HL70203" DisplayName="Donor Registration Number" Usage="P" - Value="DR"/> - <ValueElement CodeSystem="HL70203" DisplayName="County number" Usage="P" Value="CY"/> - <ValueElement CodeSystem="HL70203" DisplayName="Military ID number" Usage="P" Value="MI"/> - <ValueElement CodeSystem="HL70203" DisplayName="Optometrist license number" Usage="P" - Value="OD"/> - <ValueElement CodeSystem="HL70203" DisplayName="Permanent Resident Card Number" Usage="P" - Value="PRC"/> - <ValueElement CodeSystem="HL70203" DisplayName="Diner's Club card" Usage="P" Value="DI"/> - <ValueElement CodeSystem="HL70203" DisplayName="Bank Card Number" Usage="P" Value="BC"/> - <ValueElement CodeSystem="HL70203" DisplayName="Driver's license number" Usage="P" Value="DL"/> - <ValueElement CodeSystem="HL70203" - DisplayName="National Person Identifier where the xxx is the ISO table 3166 3-character (alphabetic) country code" - Usage="P" - Value="NNxxx"/> - <ValueElement CodeSystem="HL70203" DisplayName="Social Security number" Usage="P" Value="SS"/> - <ValueElement CodeSystem="HL70203" DisplayName="Medical License number" Usage="P" Value="MD"/> - <ValueElement CodeSystem="HL70203" DisplayName="National Insurance Organization Identifier" - Usage="P" - Value="NII"/> - <ValueElement CodeSystem="HL70203" DisplayName="Subscriber Number" Usage="P" Value="SN"/> - <ValueElement CodeSystem="HL70203" DisplayName="Account number debitor" Usage="P" Value="AND"/> - <ValueElement CodeSystem="HL70203" DisplayName="Indigenous/Aboriginal" Usage="P" Value="IND"/> - <ValueElement CodeSystem="HL70203" DisplayName="Guarantor internal identifier" Usage="P" - Value="GI"/> - <ValueElement CodeSystem="HL70203" DisplayName="Member Number" Usage="P" Value="MB"/> - <ValueElement CodeSystem="HL70203" DisplayName="Jurisdictional health number (Canada)" - Usage="P" - Value="JHN"/> - <ValueElement CodeSystem="HL70203" DisplayName="Employee number" Usage="P" Value="EI"/> - <ValueElement CodeSystem="HL70203" DisplayName="Podiatrist license number" Usage="P" - Value="DPM"/> - <ValueElement CodeSystem="HL70203" - DisplayName="Drug Enforcement Administration registration number" - Usage="P" - Value="DEA"/> - <ValueElement CodeSystem="HL70203" DisplayName="Unspecified identifier" Usage="P" Value="U"/> - <ValueElement CodeSystem="HL70203" DisplayName="Passport number" Usage="P" Value="PPN"/> - <ValueElement CodeSystem="HL70203" DisplayName="WIC identifier" Usage="P" Value="WC"/> - <ValueElement CodeSystem="HL70203" DisplayName="National unique individual identifier" - Usage="P" - Value="NI"/> - <ValueElement CodeSystem="HL70203" DisplayName="Visit number" Usage="P" Value="VN"/> - <ValueElement CodeSystem="HL70203" DisplayName="Bank Account Number" Usage="P" Value="BA"/> - <ValueElement CodeSystem="HL70203" DisplayName="Tax ID number" Usage="P" Value="TAX"/> - <ValueElement CodeSystem="HL70203" DisplayName="Doctor number" Usage="P" Value="DN"/> - <ValueElement CodeSystem="HL70203" DisplayName="Medical record number" Usage="P" Value="MR"/> - <ValueElement CodeSystem="HL70203" DisplayName="State registry ID" Usage="P" Value="SR"/> - <ValueElement CodeSystem="HL70203" DisplayName="Resource identifier" Usage="P" Value="RI"/> - <ValueElement CodeSystem="HL70203" DisplayName="Account number Creditor" Usage="P" - Value="ANC"/> - <ValueElement CodeSystem="HL70203" DisplayName="Guarantor external identifier" Usage="P" - Value="GN"/> - <ValueElement CodeSystem="HL70203" DisplayName="Physician Assistant number" Usage="P" - Value="PA"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70005" ContentDefinition="Extensional" Description="Race" - Extensibility="Closed" - Name="Race" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70005" DisplayName="White" Usage="P" Value="2106-3"/> - <ValueElement CodeSystem="HL70005" DisplayName="Other Race" Usage="P" Value="2131-1"/> - <ValueElement CodeSystem="HL70005" DisplayName="Native Hawaiian or Other Pacific Islander" - Usage="P" - Value="2076-8"/> - <ValueElement CodeSystem="HL70005" DisplayName="American Indian or Alaska Native" Usage="P" - Value="1002-5"/> - <ValueElement CodeSystem="HL70005" DisplayName="Black or African American" Usage="P" - Value="2054-5"/> - <ValueElement CodeSystem="HL70005" DisplayName="Asian" Usage="P" Value="2028-9"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70541" ContentDefinition="Extensional" - Description="Specimen Type Modifier" - Extensibility="Closed" - Name="Specimen Type Modifier" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70549" ContentDefinition="Extensional" - Description="NDC Codes" - Extensibility="Closed" - Name="NDC Codes" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70136" ContentDefinition="Extensional" - Description="Yes/no indicator" - Extensibility="Closed" - Name="Yes/no indicator" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70136" DisplayName="No" Usage="P" Value="N"/> - <ValueElement CodeSystem="HL70136" DisplayName="Yes" Usage="P" Value="Y"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70061" ContentDefinition="Extensional" - Description="Check digit scheme" - Extensibility="Closed" - Name="Check digit scheme" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70061" DisplayName="Mod 11 algorithm" Usage="P" Value="M11"/> - <ValueElement CodeSystem="HL70061" DisplayName="Mod 10 algorithm" Usage="P" Value="M10"/> - <ValueElement CodeSystem="HL70061" DisplayName="ISO 7064: 1983" Usage="P" Value="ISO"/> - <ValueElement CodeSystem="HL70061" - DisplayName="Check digit algorithm in the US National Provider Identifier" - Usage="P" - Value="NPI"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70038" ContentDefinition="Extensional" - Description="Order status" - Extensibility="Closed" - Name="Order status" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70038" DisplayName="Order has been replaced" Usage="P" Value="RP"/> - <ValueElement CodeSystem="HL70038" DisplayName="Order is on hold" Usage="P" Value="HD"/> - <ValueElement CodeSystem="HL70038" DisplayName="Order was canceled" Usage="P" Value="CA"/> - <ValueElement CodeSystem="HL70038" DisplayName="Order is completed" Usage="P" Value="CM"/> - <ValueElement CodeSystem="HL70038" DisplayName="In process, scheduled" Usage="P" Value="SC"/> - <ValueElement CodeSystem="HL70038" DisplayName="Order was discontinued" Usage="P" Value="DC"/> - <ValueElement CodeSystem="HL70038" DisplayName="In process, unspecified" Usage="P" Value="IP"/> - <ValueElement CodeSystem="HL70038" DisplayName="Some, but not all, results available" - Usage="P" - Value="A"/> - <ValueElement CodeSystem="HL70038" DisplayName="Error, order not found" Usage="P" Value="ER"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70119" ContentDefinition="Extensional" - Description="Order control codes" - Extensibility="Closed" - Name="Order control codes" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70119" DisplayName="Order/service refill request approval" - Usage="P" - Value="AF"/> - <ValueElement CodeSystem="HL70119" DisplayName="Order/service held" Usage="P" Value="OH"/> - <ValueElement CodeSystem="HL70119" DisplayName="Order/service replace request" Usage="P" - Value="RP"/> - <ValueElement CodeSystem="HL70119" DisplayName="Released as requested" Usage="P" Value="OR"/> - <ValueElement CodeSystem="HL70119" DisplayName="Order/service canceled" Usage="P" Value="OC"/> - <ValueElement CodeSystem="HL70119" DisplayName="Unable to refill" Usage="P" Value="UF"/> - <ValueElement CodeSystem="HL70119" DisplayName="Cancel order/service request" Usage="P" - Value="CA"/> - <ValueElement CodeSystem="HL70119" DisplayName="Notification of order for outside dispense" - Usage="P" - Value="OP"/> - <ValueElement CodeSystem="HL70119" DisplayName="On hold as requested" Usage="P" Value="HR"/> - <ValueElement CodeSystem="HL70119" - DisplayName="Unlink order/service from patient care problem or goal" - Usage="P" - Value="UN"/> - <ValueElement CodeSystem="HL70119" DisplayName="Hold order request" Usage="P" Value="HD"/> - <ValueElement CodeSystem="HL70119" DisplayName="Unable to accept order/service" Usage="P" - Value="UA"/> - <ValueElement CodeSystem="HL70119" DisplayName="Discontinued as requested" Usage="P" - Value="DR"/> - <ValueElement CodeSystem="HL70119" DisplayName="Request received" Usage="P" Value="RR"/> - <ValueElement CodeSystem="HL70119" DisplayName="Unable to put on hold" Usage="P" Value="UH"/> - <ValueElement CodeSystem="HL70119" - DisplayName="Link order/service to patient care problem or goal" - Usage="P" - Value="LI"/> - <ValueElement CodeSystem="HL70119" DisplayName="Status changed" Usage="P" Value="SC"/> - <ValueElement CodeSystem="HL70119" DisplayName="Changed as requested" Usage="P" Value="XR"/> - <ValueElement CodeSystem="HL70119" DisplayName="Combined result" Usage="P" Value="CN"/> - <ValueElement CodeSystem="HL70119" DisplayName="Previous Results with new order/service" - Usage="P" - Value="PR"/> - <ValueElement CodeSystem="HL70119" DisplayName="Change order/service request" Usage="P" - Value="XO"/> - <ValueElement CodeSystem="HL70119" DisplayName="Order/service accepted &amp; OK" Usage="P" - Value="OK"/> - <ValueElement CodeSystem="HL70119" - DisplayName="Notification of replacement order for outside dispense" - Usage="P" - Value="PY"/> - <ValueElement CodeSystem="HL70119" DisplayName="Send order/service number" Usage="P" - Value="SN"/> - <ValueElement CodeSystem="HL70119" DisplayName="Order/service refilled, unsolicited" - Usage="P" - Value="FU"/> - <ValueElement CodeSystem="HL70119" DisplayName="Number assigned" Usage="P" Value="NA"/> - <ValueElement CodeSystem="HL70119" DisplayName="Parent order/service" Usage="P" Value="PA"/> - <ValueElement CodeSystem="HL70119" DisplayName="Send order/service status request" Usage="P" - Value="SS"/> - <ValueElement CodeSystem="HL70119" DisplayName="Replaced as requested" Usage="P" Value="RQ"/> - <ValueElement CodeSystem="HL70119" DisplayName="Discontinue order/service request" Usage="P" - Value="DC"/> - <ValueElement CodeSystem="HL70119" DisplayName="Order/service released" Usage="P" Value="OE"/> - <ValueElement CodeSystem="HL70119" DisplayName="Unable to discontinue" Usage="P" Value="UD"/> - <ValueElement CodeSystem="HL70119" DisplayName="Order/service refilled as requested" - Usage="P" - Value="OF"/> - <ValueElement CodeSystem="HL70119" DisplayName="Unable to release" Usage="P" Value="UR"/> - <ValueElement CodeSystem="HL70119" DisplayName="Data errors" Usage="P" Value="DE"/> - <ValueElement CodeSystem="HL70119" DisplayName="Unable to replace" Usage="P" Value="UM"/> - <ValueElement CodeSystem="HL70119" DisplayName="Order/service refill request denied" - Usage="P" - Value="DF"/> - <ValueElement CodeSystem="HL70119" DisplayName="Replaced unsolicited" Usage="P" Value="RU"/> - <ValueElement CodeSystem="HL70119" DisplayName="Child order/service" Usage="P" Value="CH"/> - <ValueElement CodeSystem="HL70119" DisplayName="Order/service changed, unsol." Usage="P" - Value="XX"/> - <ValueElement CodeSystem="HL70119" DisplayName="Unable to cancel" Usage="P" Value="UC"/> - <ValueElement CodeSystem="HL70119" DisplayName="Refill order/service request" Usage="P" - Value="RF"/> - <ValueElement CodeSystem="HL70119" DisplayName="Release previous hold" Usage="P" Value="RL"/> - <ValueElement CodeSystem="HL70119" DisplayName="Canceled as requested" Usage="P" Value="CR"/> - <ValueElement CodeSystem="HL70119" - DisplayName="Response to send order/service status request" - Usage="P" - Value="SR"/> - <ValueElement CodeSystem="HL70119" DisplayName="Order/service discontinued" Usage="P" - Value="OD"/> - <ValueElement CodeSystem="HL70119" DisplayName="Observations/Performed Service to follow" - Usage="P" - Value="RE"/> - <ValueElement CodeSystem="HL70119" DisplayName="Replacement order" Usage="P" Value="RO"/> - <ValueElement CodeSystem="HL70119" DisplayName="New order/service" Usage="P" Value="NW"/> - <ValueElement CodeSystem="HL70119" DisplayName="Unable to change" Usage="P" Value="UX"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70427" ContentDefinition="Extensional" - Description="Risk Management Incident Code" - Extensibility="Closed" - Name="Risk Management Incident Code" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70427" DisplayName="Other" Usage="P" Value="O"/> - <ValueElement CodeSystem="HL70427" DisplayName="Body fluid exposure" Usage="P" Value="B"/> - <ValueElement CodeSystem="HL70427" DisplayName="Diet Errors" Usage="P" Value="D"/> - <ValueElement CodeSystem="HL70427" DisplayName="Transfusion error" Usage="P" Value="T"/> - <ValueElement CodeSystem="HL70427" DisplayName="Suicide Attempt" Usage="P" Value="S"/> - <ValueElement CodeSystem="HL70427" DisplayName="Patient fell (not from bed)" Usage="P" - Value="F"/> - <ValueElement CodeSystem="HL70427" DisplayName="Sterile precaution violated" Usage="P" - Value="K"/> - <ValueElement CodeSystem="HL70427" DisplayName="Infusion error" Usage="P" Value="I"/> - <ValueElement CodeSystem="HL70427" DisplayName="Procedure error" Usage="P" Value="P"/> - <ValueElement CodeSystem="HL70427" DisplayName="Patient fell from bed" Usage="P" Value="H"/> - <ValueElement CodeSystem="HL70427" DisplayName="Pharmaceutical error" Usage="P" Value="R"/> - <ValueElement CodeSystem="HL70427" DisplayName="Contaminated Substance" Usage="P" Value="C"/> - <ValueElement CodeSystem="HL70427" DisplayName="Equipment problem" Usage="P" Value="E"/> - <ValueElement CodeSystem="HL70427" DisplayName="Foreign object left during surgery" Usage="P" - Value="J"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70222" ContentDefinition="Extensional" - Description="Contact Reason" - Extensibility="Closed" - Name="Contact Reason" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70339" ContentDefinition="Extensional" - Description="Advanced Beneficiary Notice Code" - Extensibility="Closed" - Name="Advanced Beneficiary Notice Code" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70339" - DisplayName="Patient has been informed of responsibility, and agrees to pay for service" - Usage="P" - Value="2"/> - <ValueElement CodeSystem="HL70339" - DisplayName="Advanced Beneficiary Notice has not been signed" - Usage="P" - Value="4"/> - <ValueElement CodeSystem="HL70339" - DisplayName="Patient has been informed of responsibility, and asks that the payer be billed" - Usage="P" - Value="3"/> - <ValueElement CodeSystem="HL70339" - DisplayName="Service is subject to medical necessity procedures" - Usage="P" - Value="1"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70201" ContentDefinition="Extensional" - Description="Telecommunication use code" - Extensibility="Closed" - Name="Telecommunication use code" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70201" DisplayName="Emergency Number" Usage="P" Value="EMR"/> - <ValueElement CodeSystem="HL70201" DisplayName="Answering Service Number" Usage="P" - Value="ASN"/> - <ValueElement CodeSystem="HL70201" DisplayName="Vacation Home Number" Usage="P" Value="VHN"/> - <ValueElement CodeSystem="HL70201" DisplayName="Work Number" Usage="P" Value="WPN"/> - <ValueElement CodeSystem="HL70201" DisplayName="Other Residence Number" Usage="P" Value="ORN"/> - <ValueElement CodeSystem="HL70201" DisplayName="Beeper Number" Usage="P" Value="BPN"/> - <ValueElement CodeSystem="HL70201" DisplayName="Primary Residence Number" Usage="P" - Value="PRN"/> - <ValueElement CodeSystem="HL70201" DisplayName="Network (email) Address" Usage="P" - Value="NET"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70491" ContentDefinition="Extensional" - Description="Specimen Quality" - Extensibility="Closed" - Name="Specimen Quality" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70491" DisplayName="Fair" Usage="P" Value="F"/> - <ValueElement CodeSystem="HL70491" DisplayName="Poor" Usage="P" Value="P"/> - <ValueElement CodeSystem="HL70491" DisplayName="Excellent" Usage="P" Value="E"/> - <ValueElement CodeSystem="HL70491" DisplayName="Good" Usage="P" Value="G"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70371" ContentDefinition="Extensional" - Description="Additive/Preservative" - Extensibility="Closed" - Name="Additive/Preservative" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70371" DisplayName="Potassium/K EDTA 15%" Usage="P" - Value="EDTK15"/> - <ValueElement CodeSystem="HL70371" DisplayName="Sodium Fluoride, 100mg" Usage="P" - Value="FL100"/> - <ValueElement CodeSystem="HL70371" DisplayName="Lithium/Li Heparin" Usage="P" Value="HEPL"/> - <ValueElement CodeSystem="HL70371" DisplayName="M4" Usage="P" Value="M4"/> - <ValueElement CodeSystem="HL70371" DisplayName="Sodium/Na Heparin" Usage="P" Value="HEPN"/> - <ValueElement CodeSystem="HL70371" DisplayName="Potassium Oxalate" Usage="P" Value="KOX"/> - <ValueElement CodeSystem="HL70371" DisplayName="6N HCL" Usage="P" Value="HCL6"/> - <ValueElement CodeSystem="HL70371" DisplayName="Pages's Saline" Usage="P" Value="PAGE"/> - <ValueElement CodeSystem="HL70371" DisplayName="Siliceous earth, 12 mg" Usage="P" - Value="SILICA"/> - <ValueElement CodeSystem="HL70371" DisplayName="None" Usage="P" Value="NONE"/> - <ValueElement CodeSystem="HL70371" DisplayName="ACD Solution B" Usage="P" Value="ACDB"/> - <ValueElement CodeSystem="HL70371" DisplayName="Ureaplasma transport medium" Usage="P" - Value="URETM"/> - <ValueElement CodeSystem="HL70371" DisplayName="Potassium/K EDTA" Usage="P" Value="EDTK"/> - <ValueElement CodeSystem="HL70371" DisplayName="Thyoglycollate broth" Usage="P" Value="THYO"/> - <ValueElement CodeSystem="HL70371" DisplayName="ACD Solution A" Usage="P" Value="ACDA"/> - <ValueElement CodeSystem="HL70371" DisplayName="Toluene" Usage="P" Value="TOLU"/> - <ValueElement CodeSystem="HL70371" - DisplayName="Thrombin NIH; soybean trypsin inhibitor (Fibrin Degradation Products)" - Usage="P" - Value="FDP"/> - <ValueElement CodeSystem="HL70371" DisplayName="M5" Usage="P" Value="M5"/> - <ValueElement CodeSystem="HL70371" DisplayName="Bouin's solution" Usage="P" Value="BOUIN"/> - <ValueElement CodeSystem="HL70371" DisplayName="Carson's Modified 10% formalin" Usage="P" - Value="CARS"/> - <ValueElement CodeSystem="HL70371" DisplayName="Enteric bacteria transport medium" Usage="P" - Value="ENT"/> - <ValueElement CodeSystem="HL70371" DisplayName="Cary Blair Medium" Usage="P" Value="CARY"/> - <ValueElement CodeSystem="HL70371" - DisplayName="Sodium polyanethol sulfonate 0.35% in 0.85% sodium chloride" - Usage="P" - Value="NAPS"/> - <ValueElement CodeSystem="HL70371" DisplayName="10% Formalin" Usage="P" Value="F10"/> - <ValueElement CodeSystem="HL70371" DisplayName="3.2% Citrate" Usage="P" Value="C32"/> - <ValueElement CodeSystem="HL70371" DisplayName="Borate Boric Acid" Usage="P" Value="BOR"/> - <ValueElement CodeSystem="HL70371" DisplayName="Sodium/Na EDTA" Usage="P" Value="EDTN"/> - <ValueElement CodeSystem="HL70371" DisplayName="Thymol" Usage="P" Value="THYMOL"/> - <ValueElement CodeSystem="HL70371" DisplayName="PVA (polyvinylalcohol)" Usage="P" Value="PVA"/> - <ValueElement CodeSystem="HL70371" DisplayName="Karnovsky's fixative" Usage="P" Value="KARN"/> - <ValueElement CodeSystem="HL70371" DisplayName="Phenol" Usage="P" Value="PHENOL"/> - <ValueElement CodeSystem="HL70371" - DisplayName="Buffered Citrate (Westergren Sedimentation Rate)" - Usage="P" - Value="WEST"/> - <ValueElement CodeSystem="HL70371" DisplayName="Buffered 10% formalin" Usage="P" Value="BF10"/> - <ValueElement CodeSystem="HL70371" DisplayName="Sodium Fluoride" Usage="P" Value="NAF"/> - <ValueElement CodeSystem="HL70371" DisplayName="Enteric plus" Usage="P" Value="ENT+"/> - <ValueElement CodeSystem="HL70371" DisplayName="Sodium Fluoride, 10mg" Usage="P" Value="FL10"/> - <ValueElement CodeSystem="HL70371" DisplayName="Stuart transport medium" Usage="P" - Value="STUTM"/> - <ValueElement CodeSystem="HL70371" DisplayName="Ammonium heparin" Usage="P" Value="HEPA"/> - <ValueElement CodeSystem="HL70371" DisplayName="M4-RT" Usage="P" Value="M4RT"/> - <ValueElement CodeSystem="HL70371" DisplayName="Thrombin" Usage="P" Value="THROM"/> - <ValueElement CodeSystem="HL70371" DisplayName="Serum Separator Tube (Polymer Gel)" Usage="P" - Value="SST"/> - <ValueElement CodeSystem="HL70371" DisplayName="Nitric Acid" Usage="P" Value="HNO3"/> - <ValueElement CodeSystem="HL70371" DisplayName="Reagan Lowe Medium" Usage="P" Value="RLM"/> - <ValueElement CodeSystem="HL70371" DisplayName="Acetic Acid" Usage="P" Value="ACET"/> - <ValueElement CodeSystem="HL70371" DisplayName="3.8% Citrate" Usage="P" Value="C38"/> - <ValueElement CodeSystem="HL70371" DisplayName="Jones Kendrick Medium" Usage="P" Value="JKM"/> - <ValueElement CodeSystem="HL70371" DisplayName="Potassium/K EDTA 7.5%" Usage="P" - Value="EDTK75"/> - <ValueElement CodeSystem="HL70371" - DisplayName="CTAD (this should be spelled out if not universally understood)" - Usage="P" - Value="CTAD"/> - <ValueElement CodeSystem="HL70371" DisplayName="Amies transport medium" Usage="P" - Value="AMIES"/> - <ValueElement CodeSystem="HL70371" - DisplayName="SPS(this should be spelled out if not universally understood)" - Usage="P" - Value="SPS"/> - <ValueElement CodeSystem="HL70371" DisplayName="Buffered skim milk" Usage="P" Value="BSKM"/> - <ValueElement CodeSystem="HL70371" DisplayName="Chlamydia transport medium" Usage="P" - Value="CHLTM"/> - <ValueElement CodeSystem="HL70371" DisplayName="Viral Transport medium" Usage="P" - Value="VIRTM"/> - <ValueElement CodeSystem="HL70371" DisplayName="Lithium iodoacetate" Usage="P" Value="LIA"/> - <ValueElement CodeSystem="HL70371" DisplayName="Michel's transport medium" Usage="P" - Value="MICHTM"/> - <ValueElement CodeSystem="HL70371" DisplayName="Bacterial Transport medium" Usage="P" - Value="BACTM"/> - <ValueElement CodeSystem="HL70371" DisplayName="MMD transport medium" Usage="P" Value="MMDTM"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70202" ContentDefinition="Extensional" - Description="Telecommunication equipment type" - Extensibility="Closed" - Name="Telecommunication equipment type" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70202" - DisplayName="X.400 email address: Use Only If Telecommunication Use Code Is NET" - Usage="P" - Value="X.400"/> - <ValueElement CodeSystem="HL70202" DisplayName="Telecommunications Device for the Deaf" - Usage="P" - Value="TDD"/> - <ValueElement CodeSystem="HL70202" DisplayName="Modem" Usage="P" Value="MD"/> - <ValueElement CodeSystem="HL70202" DisplayName="Cellular Phone" Usage="P" Value="CP"/> - <ValueElement CodeSystem="HL70202" DisplayName="Fax" Usage="P" Value="FX"/> - <ValueElement CodeSystem="HL70202" DisplayName="Telephone" Usage="P" Value="PH"/> - <ValueElement CodeSystem="HL70202" DisplayName="Beeper" Usage="P" Value="BP"/> - <ValueElement CodeSystem="HL70202" - DisplayName="Internet Address: Use Only If Telecommunication Use Code Is NET" - Usage="P" - Value="Internet"/> - <ValueElement CodeSystem="HL70202" DisplayName="Teletypewriter" Usage="P" Value="TTY"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70132" ContentDefinition="Extensional" - Description="Transaction Code" - Extensibility="Closed" - Name="Transaction Code" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70215" ContentDefinition="Extensional" - Description="Publicity Code" - Extensibility="Closed" - Name="Publicity Code" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70215" DisplayName="No Publicity" Usage="P" Value="N"/> - <ValueElement CodeSystem="HL70215" DisplayName="Unknown" Usage="P" Value="U"/> - <ValueElement CodeSystem="HL70215" DisplayName="Family only" Usage="P" Value="F"/> - <ValueElement CodeSystem="HL70215" DisplayName="Other" Usage="P" Value="O"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70492" ContentDefinition="Extensional" - Description="Specimen Appropriateness" - Extensibility="Closed" - Name="Specimen Appropriateness" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70492" DisplayName="Inappropriate" Usage="P" Value="I"/> - <ValueElement CodeSystem="HL70492" DisplayName="Appropriate" Usage="P" Value="A"/> - <ValueElement CodeSystem="HL70492" DisplayName="Inappropriate due to ..." Usage="P" - Value="??"/> - <ValueElement CodeSystem="HL70492" DisplayName="Preferred" Usage="P" Value="P"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70046" ContentDefinition="Extensional" - Description="Credit Rating" - Extensibility="Closed" - Name="Credit Rating" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70065" ContentDefinition="Extensional" - Description="Specimen Action Code" - Extensibility="Closed" - Name="Specimen Action Code" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70065" - DisplayName="Pending specimen; Order sent prior to delivery" - Usage="P" - Value="P"/> - <ValueElement CodeSystem="HL70065" DisplayName="Schedule the tests specified below" Usage="P" - Value="S"/> - <ValueElement CodeSystem="HL70065" DisplayName="Generated order; reflex order" Usage="P" - Value="G"/> - <ValueElement CodeSystem="HL70065" DisplayName="Revised order" Usage="P" Value="R"/> - <ValueElement CodeSystem="HL70065" DisplayName="Lab to obtain specimen from patient" - Usage="P" - Value="L"/> - <ValueElement CodeSystem="HL70065" DisplayName="Add ordered tests to the existing specimen" - Usage="P" - Value="A"/> - <ValueElement CodeSystem="HL70065" DisplayName="Specimen obtained by service other than Lab" - Usage="P" - Value="O"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70114" ContentDefinition="Extensional" - Description="Diet Type" - Extensibility="Closed" - Name="Diet Type" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70219" ContentDefinition="Extensional" - Description="Recurring Service Code" - Extensibility="Closed" - Name="Recurring Service Code" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70399" ContentDefinition="Extensional" - Description="Country code" - Extensibility="Closed" - Name="Country code" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70124" ContentDefinition="Extensional" - Description="Transportation Mode" - Extensibility="Closed" - Name="Transportation Mode" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70124" - DisplayName="The examining device goes to patient's location" - Usage="P" - Value="PORT"/> - <ValueElement CodeSystem="HL70124" DisplayName="Cart - patient travels on cart or gurney" - Usage="P" - Value="CART"/> - <ValueElement CodeSystem="HL70124" DisplayName="Patient walks to diagnostic service" - Usage="P" - Value="WALK"/> - <ValueElement CodeSystem="HL70124" DisplayName="Wheelchair" Usage="P" Value="WHLC"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70296" ContentDefinition="Extensional" - Description="Primary Language" - Extensibility="Closed" - Name="Primary Language" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70301" ContentDefinition="Extensional" - Description="Universal ID type" - Extensibility="Closed" - Name="Universal ID type" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70301" DisplayName="X500 directory Name" Usage="P" Value="x500"/> - <ValueElement CodeSystem="HL70301" DisplayName="Local" Usage="P" Value="M"/> - <ValueElement CodeSystem="HL70301" DisplayName="Uniform Resource Identifier" Usage="P" - Value="URI"/> - <ValueElement CodeSystem="HL70301" DisplayName="HL7 registration schemes" Usage="P" - Value="HL7"/> - <ValueElement CodeSystem="HL70301" DisplayName="Local" Usage="P" Value="L"/> - <ValueElement CodeSystem="HL70301" DisplayName="Random" Usage="P" Value="Random"/> - <ValueElement CodeSystem="HL70301" DisplayName="Universal Unique Identifier" Usage="P" - Value="UUID"/> - <ValueElement CodeSystem="HL70301" DisplayName="X.400 MHS identifier" Usage="P" Value="x400"/> - <ValueElement CodeSystem="HL70301" DisplayName="Domain Name System" Usage="P" Value="DNS"/> - <ValueElement CodeSystem="HL70301" DisplayName="CEN Healthcare Coding Identifier" Usage="P" - Value="HCD"/> - <ValueElement CodeSystem="HL70301" DisplayName="globally unique identifier" Usage="P" - Value="GUID"/> - <ValueElement CodeSystem="HL70301" DisplayName="Local" Usage="P" Value="N"/> - <ValueElement CodeSystem="HL70301" DisplayName="ISO Object Identifier" Usage="P" Value="ISO"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70524" ContentDefinition="Extensional" - Description="Sequence condition" - Extensibility="Closed" - Name="Sequence condition" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70524" DisplayName="Reserved for possible future use" Usage="P" - Value="R"/> - <ValueElement CodeSystem="HL70524" DisplayName="Sequence conditions" Usage="P" Value="S"/> - <ValueElement CodeSystem="HL70524" DisplayName="Repeating cycle of orders" Usage="P" - Value="C"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70308" ContentDefinition="Extensional" Description="Floor" - Extensibility="Closed" - Name="Floor" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70447" ContentDefinition="Extensional" - Description="Breed Code" - Extensibility="Closed" - Name="Breed Code" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70076" ContentDefinition="Extensional" - Description="Message type" - Extensibility="Closed" - Name="Message type" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70076" DisplayName="Application management response message" - Usage="P" - Value="NMR"/> - <ValueElement CodeSystem="HL70076" DisplayName="Clinical study registration message" - Usage="P" - Value="CRM"/> - <ValueElement CodeSystem="HL70076" DisplayName="Application management query message" - Usage="P" - Value="NMQ"/> - <ValueElement CodeSystem="HL70076" DisplayName="Pharmacy/treatment order response" Usage="P" - Value="ROR"/> - <ValueElement CodeSystem="HL70076" - DisplayName="Automated equipment status update acknowledgment message" - Usage="P" - Value="ESR"/> - <ValueElement CodeSystem="HL70076" DisplayName="Blood product order message" Usage="P" - Value="OMB"/> - <ValueElement CodeSystem="HL70076" DisplayName="Add/change billing account" Usage="P" - Value="BAR"/> - <ValueElement CodeSystem="HL70076" DisplayName="Pharmacy/treatment order message" Usage="P" - Value="ORM"/> - <ValueElement CodeSystem="HL70076" - DisplayName="Pharmacy/treatment dispense acknowledgment message" - Usage="P" - Value="RRD"/> - <ValueElement CodeSystem="HL70076" DisplayName="Return patient information" Usage="P" - Value="RPI"/> - <ValueElement CodeSystem="HL70076" - DisplayName="Non-stock requisition - General order acknowledgment message" - Usage="P" - Value="ORN"/> - <ValueElement CodeSystem="HL70076" DisplayName="Schedule query message" Usage="P" Value="SQM"/> - <ValueElement CodeSystem="HL70076" DisplayName="Schedule information unsolicited" Usage="P" - Value="SIU"/> - <ValueElement CodeSystem="HL70076" - DisplayName="Stock requisition - Order acknowledgment message" - Usage="P" - Value="ORS"/> - <ValueElement CodeSystem="HL70076" DisplayName="Patient problem response" Usage="P" - Value="PRR"/> - <ValueElement CodeSystem="HL70076" DisplayName="Non-stock requisition order message" - Usage="P" - Value="OMN"/> - <ValueElement CodeSystem="HL70076" DisplayName="Patient pathway message (goal-oriented)" - Usage="P" - Value="PPG"/> - <ValueElement CodeSystem="HL70076" DisplayName="Query response for order status" Usage="P" - Value="OSQ"/> - <ValueElement CodeSystem="HL70076" DisplayName="Detail financial transactions" Usage="P" - Value="DFT"/> - <ValueElement CodeSystem="HL70076" DisplayName="Request clinical information" Usage="P" - Value="RQC"/> - <ValueElement CodeSystem="HL70076" DisplayName="Request patient demographics" Usage="P" - Value="RQP"/> - <ValueElement CodeSystem="HL70076" DisplayName="Query general acknowledgment" Usage="P" - Value="QCK"/> - <ValueElement CodeSystem="HL70076" DisplayName="Unsolicited vaccination record update" - Usage="P" - Value="VXU"/> - <ValueElement CodeSystem="HL70076" DisplayName="Return referral information" Usage="P" - Value="RRI"/> - <ValueElement CodeSystem="HL70076" DisplayName="Document response" Usage="P" Value="DOC"/> - <ValueElement CodeSystem="HL70076" DisplayName="Automated equipment notification message" - Usage="P" - Value="EAN"/> - <ValueElement CodeSystem="HL70076" DisplayName="General clinical order message" Usage="P" - Value="OMG"/> - <ValueElement CodeSystem="HL70076" DisplayName="Automated equipment status update message" - Usage="P" - Value="ESU"/> - <ValueElement CodeSystem="HL70076" DisplayName="Specimen status request message" Usage="P" - Value="SSR"/> - <ValueElement CodeSystem="HL70076" DisplayName="General acknowledgment message" Usage="P" - Value="ACK"/> - <ValueElement CodeSystem="HL70076" DisplayName="Return patient authorization" Usage="P" - Value="RPA"/> - <ValueElement CodeSystem="HL70076" DisplayName="Query for vaccination record" Usage="P" - Value="VXQ"/> - <ValueElement CodeSystem="HL70076" - DisplayName="Blood product transfusion/disposition acknowledgement message" - Usage="P" - Value="BRT"/> - <ValueElement CodeSystem="HL70076" - DisplayName="Delayed Acknowledgment (Retained for backward compatibility only)" - Usage="P" - Value="MCF"/> - <ValueElement CodeSystem="HL70076" - DisplayName="Blood product dispense status acknowledgement message" - Usage="P" - Value="BRP"/> - <ValueElement CodeSystem="HL70076" DisplayName="Create subscription" Usage="P" Value="QSB"/> - <ValueElement CodeSystem="HL70076" DisplayName="Dietary order acknowledgment message" - Usage="P" - Value="ORD"/> - <ValueElement CodeSystem="HL70076" DisplayName="Display based response" Usage="P" Value="RDY"/> - <ValueElement CodeSystem="HL70076" DisplayName="Automated equipment command message" - Usage="P" - Value="EAC"/> - <ValueElement CodeSystem="HL70076" DisplayName="Pharmacy/treatment encoded order information" - Usage="P" - Value="RER"/> - <ValueElement CodeSystem="HL70076" DisplayName="Schedule request message" Usage="P" - Value="SRM"/> - <ValueElement CodeSystem="HL70076" - DisplayName="Automated equipment test code settings update message" - Usage="P" - Value="TCU"/> - <ValueElement CodeSystem="HL70076" DisplayName="Patient pathway message (problem-oriented)" - Usage="P" - Value="PPP"/> - <ValueElement CodeSystem="HL70076" DisplayName="Master files response" Usage="P" Value="MFR"/> - <ValueElement CodeSystem="HL70076" DisplayName="Virtual table query" Usage="P" Value="VQQ"/> - <ValueElement CodeSystem="HL70076" DisplayName="Master files notification" Usage="P" - Value="MFN"/> - <ValueElement CodeSystem="HL70076" DisplayName="Query for results of observation" Usage="P" - Value="ORF"/> - <ValueElement CodeSystem="HL70076" DisplayName="Schedule query response" Usage="P" - Value="SQR"/> - <ValueElement CodeSystem="HL70076" DisplayName="Dietary order" Usage="P" Value="OMD"/> - <ValueElement CodeSystem="HL70076" DisplayName="Summary product experience report" Usage="P" - Value="SUR"/> - <ValueElement CodeSystem="HL70076" DisplayName="Add personnel record" Usage="P" Value="PMU"/> - <ValueElement CodeSystem="HL70076" DisplayName="Specimen status update message" Usage="P" - Value="SSU"/> - <ValueElement CodeSystem="HL70076" DisplayName="Query by parameter" Usage="P" Value="QBP"/> - <ValueElement CodeSystem="HL70076" DisplayName="ADT response" Usage="P" Value="ADR"/> - <ValueElement CodeSystem="HL70076" - DisplayName="General order response message response to any ORM" - Usage="P" - Value="ORR"/> - <ValueElement CodeSystem="HL70076" DisplayName="Pharmacy/treatment dose information" - Usage="P" - Value="RGR"/> - <ValueElement CodeSystem="HL70076" - DisplayName="Pharmacy/treatment encoded order acknowledgment message" - Usage="P" - Value="RRE"/> - <ValueElement CodeSystem="HL70076" DisplayName="Blood product dispense status message" - Usage="P" - Value="BPS"/> - <ValueElement CodeSystem="HL70076" DisplayName="Display response" Usage="P" Value="DSR"/> - <ValueElement CodeSystem="HL70076" - DisplayName="Pharmacy/treatment give acknowledgment message" - Usage="P" - Value="RRG"/> - <ValueElement CodeSystem="HL70076" DisplayName="Medical document management" Usage="P" - Value="MDM"/> - <ValueElement CodeSystem="HL70076" DisplayName="Query, original mode" Usage="P" Value="QRY"/> - <ValueElement CodeSystem="HL70076" DisplayName="Event replay query" Usage="P" Value="RQQ"/> - <ValueElement CodeSystem="HL70076" DisplayName="Unsolicited laboratory observation message" - Usage="P" - Value="OUL"/> - <ValueElement CodeSystem="HL70076" DisplayName="Patient referral" Usage="P" Value="REF"/> - <ValueElement CodeSystem="HL70076" DisplayName="Product experience message" Usage="P" - Value="PEX"/> - <ValueElement CodeSystem="HL70076" DisplayName="Request patient authorization" Usage="P" - Value="RQA"/> - <ValueElement CodeSystem="HL70076" DisplayName="Pharmacy/treatment give message" Usage="P" - Value="RGV"/> - <ValueElement CodeSystem="HL70076" DisplayName="Return patient display list" Usage="P" - Value="RPL"/> - <ValueElement CodeSystem="HL70076" DisplayName="Patient insurance information" Usage="P" - Value="PIN"/> - <ValueElement CodeSystem="HL70076" DisplayName="Blood product order acknowledgement message" - Usage="P" - Value="ORB"/> - <ValueElement CodeSystem="HL70076" - DisplayName="Pharmacy/treatment order acknowledgment message" - Usage="P" - Value="ORP"/> - <ValueElement CodeSystem="HL70076" DisplayName="Automated equipment response message" - Usage="P" - Value="EAR"/> - <ValueElement CodeSystem="HL70076" DisplayName="Query for previous events" Usage="P" - Value="QVR"/> - <ValueElement CodeSystem="HL70076" DisplayName="Embedded query language query" Usage="P" - Value="EQQ"/> - <ValueElement CodeSystem="HL70076" - DisplayName="Laboratory acknowledgment message (unsolicited)" - Usage="P" - Value="ORL"/> - <ValueElement CodeSystem="HL70076" DisplayName="Vaccination record response" Usage="P" - Value="VXR"/> - <ValueElement CodeSystem="HL70076" DisplayName="Pharmacy/treatment order message" Usage="P" - Value="OMP"/> - <ValueElement CodeSystem="HL70076" DisplayName="Patient problem message" Usage="P" - Value="PPR"/> - <ValueElement CodeSystem="HL70076" - DisplayName="Blood product transfusion/disposition message" - Usage="P" - Value="BTS"/> - <ValueElement CodeSystem="HL70076" DisplayName="Pharmacy/treatment administration message" - Usage="P" - Value="RAS"/> - <ValueElement CodeSystem="HL70076" DisplayName="Pharmacy/treatment dispense information" - Usage="P" - Value="RDR"/> - <ValueElement CodeSystem="HL70076" DisplayName="Master files query" Usage="P" Value="MFQ"/> - <ValueElement CodeSystem="HL70076" - DisplayName="Automated equipment test code settings request message" - Usage="P" - Value="TCR"/> - <ValueElement CodeSystem="HL70076" DisplayName="Scheduled request response" Usage="P" - Value="SRR"/> - <ValueElement CodeSystem="HL70076" DisplayName="Patient goal response" Usage="P" Value="PPV"/> - <ValueElement CodeSystem="HL70076" - DisplayName="Automated equipment log/service request message" - Usage="P" - Value="LSR"/> - <ValueElement CodeSystem="HL70076" - DisplayName="General clinical order acknowledgment message" - Usage="P" - Value="ORG"/> - <ValueElement CodeSystem="HL70076" DisplayName="Imaging order acknowledgement message" - Usage="P" - Value="ORI"/> - <ValueElement CodeSystem="HL70076" DisplayName="Patient pathway problem-oriented response" - Usage="P" - Value="PTR"/> - <ValueElement CodeSystem="HL70076" - DisplayName="Pharmacy/treatment administration acknowledgment message" - Usage="P" - Value="RRA"/> - <ValueElement CodeSystem="HL70076" - DisplayName="Response for vaccination query with multiple PID matches" - Usage="P" - Value="VXX"/> - <ValueElement CodeSystem="HL70076" - DisplayName="Pharmacy/treatment administration information" - Usage="P" - Value="RAR"/> - <ValueElement CodeSystem="HL70076" DisplayName="Request patient information" Usage="P" - Value="RQI"/> - <ValueElement CodeSystem="HL70076" DisplayName="Segment pattern response" Usage="P" - Value="RSP"/> - <ValueElement CodeSystem="HL70076" DisplayName="Laboratory order message" Usage="P" - Value="OML"/> - <ValueElement CodeSystem="HL70076" - DisplayName="Automated equipment inventory request message" - Usage="P" - Value="INR"/> - <ValueElement CodeSystem="HL70076" DisplayName="Stock requisition order message" Usage="P" - Value="OMS"/> - <ValueElement CodeSystem="HL70076" DisplayName="Return clinical list" Usage="P" Value="RCL"/> - <ValueElement CodeSystem="HL70076" DisplayName="Automated equipment inventory update message" - Usage="P" - Value="INU"/> - <ValueElement CodeSystem="HL70076" DisplayName="Event replay response" Usage="P" Value="ERP"/> - <ValueElement CodeSystem="HL70076" DisplayName="Tabular response" Usage="P" Value="RTB"/> - <ValueElement CodeSystem="HL70076" DisplayName="Query response for order status" Usage="P" - Value="OSR"/> - <ValueElement CodeSystem="HL70076" DisplayName="Enhanced display response" Usage="P" - Value="EDR"/> - <ValueElement CodeSystem="HL70076" - DisplayName="Automated equipment log/service update message" - Usage="P" - Value="LSU"/> - <ValueElement CodeSystem="HL70076" DisplayName="Imaging order" Usage="P" Value="OMI"/> - <ValueElement CodeSystem="HL70076" - DisplayName="Master files delayed application acknowledgment" - Usage="P" - Value="MFD"/> - <ValueElement CodeSystem="HL70076" DisplayName="Master files application acknowledgment" - Usage="P" - Value="MFK"/> - <ValueElement CodeSystem="HL70076" DisplayName="Pharmacy/treatment encoded order message" - Usage="P" - Value="RDE"/> - <ValueElement CodeSystem="HL70076" - DisplayName="Unsolicited transmission of an observation message" - Usage="P" - Value="ORU"/> - <ValueElement CodeSystem="HL70076" DisplayName="Return clinical information" Usage="P" - Value="RCI"/> - <ValueElement CodeSystem="HL70076" DisplayName="Cancel query" Usage="P" Value="QCN"/> - <ValueElement CodeSystem="HL70076" DisplayName="Patient pathway goal-oriented response" - Usage="P" - Value="PPT"/> - <ValueElement CodeSystem="HL70076" DisplayName="ADT message" Usage="P" Value="ADT"/> - <ValueElement CodeSystem="HL70076" DisplayName="Tabular data response" Usage="P" Value="TBR"/> - <ValueElement CodeSystem="HL70076" DisplayName="Cancel subscription/acknowledge message" - Usage="P" - Value="QSX"/> - <ValueElement CodeSystem="HL70076" DisplayName="Application management data message" - Usage="P" - Value="NMD"/> - <ValueElement CodeSystem="HL70076" DisplayName="Return patient list" Usage="P" Value="RPR"/> - <ValueElement CodeSystem="HL70076" DisplayName="Unsolicited study data message" Usage="P" - Value="CSU"/> - <ValueElement CodeSystem="HL70076" DisplayName="Pharmacy/treatment dispense message" - Usage="P" - Value="RDS"/> - <ValueElement CodeSystem="HL70076" DisplayName="Unsolicited display update message" Usage="P" - Value="UDM"/> - <ValueElement CodeSystem="HL70076" DisplayName="Patient goal message" Usage="P" Value="PGL"/> - <ValueElement CodeSystem="HL70076" DisplayName="Stored procedure request" Usage="P" - Value="SPQ"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70430" ContentDefinition="Extensional" - Description="Mode of Arrival Code" - Extensibility="Closed" - Name="Mode of Arrival Code" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70430" DisplayName="Other" Usage="P" Value="O"/> - <ValueElement CodeSystem="HL70430" DisplayName="Helicopter" Usage="P" Value="H"/> - <ValueElement CodeSystem="HL70430" DisplayName="Ambulance" Usage="P" Value="A"/> - <ValueElement CodeSystem="HL70430" DisplayName="Car" Usage="P" Value="C"/> - <ValueElement CodeSystem="HL70430" DisplayName="Unknown" Usage="P" Value="U"/> - <ValueElement CodeSystem="HL70430" DisplayName="Public Transport" Usage="P" Value="P"/> - <ValueElement CodeSystem="HL70430" DisplayName="On foot" Usage="P" Value="F"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70328" ContentDefinition="Extensional" - Description="Employee classification" - Extensibility="Closed" - Name="Employee classification" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70017" ContentDefinition="Extensional" - Description="Transaction Type" - Extensibility="Closed" - Name="Transaction Type" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70017" DisplayName="Adjustment" Usage="P" Value="AJ"/> - <ValueElement CodeSystem="HL70017" DisplayName="Co-payment" Usage="P" Value="CO"/> - <ValueElement CodeSystem="HL70017" DisplayName="Payment" Usage="P" Value="PY"/> - <ValueElement CodeSystem="HL70017" DisplayName="Credit" Usage="P" Value="CD"/> - <ValueElement CodeSystem="HL70017" DisplayName="Charge" Usage="P" Value="CG"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70105" ContentDefinition="Extensional" - Description="Source of comment" - Extensibility="Closed" - Name="Source of comment" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70105" DisplayName="Orderer (placer) is source of comment" - Usage="P" - Value="P"/> - <ValueElement CodeSystem="HL70105" - DisplayName="Ancillary (filler) department is source of comment" - Usage="P" - Value="L"/> - <ValueElement CodeSystem="HL70105" DisplayName="Other system is source of comment" Usage="P" - Value="O"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70326" ContentDefinition="Extensional" - Description="Visit Indicator" - Extensibility="Closed" - Name="Visit Indicator" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70326" DisplayName="Account level" Usage="P" Value="A"/> - <ValueElement CodeSystem="HL70326" DisplayName="Visit level" Usage="P" Value="V"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70123" ContentDefinition="Extensional" - Description="Result Status" - Extensibility="Closed" - Name="Result Status" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70123" - DisplayName="No results available; specimen received, procedure incomplete" - Usage="P" - Value="I"/> - <ValueElement CodeSystem="HL70123" DisplayName="Results stored; not yet verified" Usage="P" - Value="R"/> - <ValueElement CodeSystem="HL70123" DisplayName="Order received; specimen not yet received" - Usage="P" - Value="O"/> - <ValueElement CodeSystem="HL70123" - DisplayName="No order on record for this test. (Used only on queries)" - Usage="P" - Value="Y"/> - <ValueElement CodeSystem="HL70123" - DisplayName="No results available; procedure scheduled, but not done" - Usage="P" - Value="S"/> - <ValueElement CodeSystem="HL70123" - DisplayName="No record of this patient. (Used only on queries)" - Usage="P" - Value="Z"/> - <ValueElement CodeSystem="HL70123" DisplayName="Some, but not all, results available" - Usage="P" - Value="A"/> - <ValueElement CodeSystem="HL70123" - DisplayName="Final results; results stored and verified. Can only be changed with a corrected result." - Usage="P" - Value="F"/> - <ValueElement CodeSystem="HL70123" DisplayName="No results available; Order canceled." - Usage="P" - Value="X"/> - <ValueElement CodeSystem="HL70123" - DisplayName="Preliminary: A verified early result is available, final results not yet obtained" - Usage="P" - Value="P"/> - <ValueElement CodeSystem="HL70123" DisplayName="Correction to results" Usage="P" Value="C"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70212" ContentDefinition="Extensional" - Description="Nationality" - Extensibility="Closed" - Name="Nationality" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70316" ContentDefinition="Extensional" - Description="Organ Donor Code" - Extensibility="Closed" - Name="Organ Donor Code" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70316" - DisplayName="No, patient is not a documented donor, but information was provided" - Usage="P" - Value="I"/> - <ValueElement CodeSystem="HL70316" - DisplayName="Yes, patient is a documented donor, but documentation is not on file" - Usage="P" - Value="F"/> - <ValueElement CodeSystem="HL70316" - DisplayName="Yes, patient is a documented donor and documentation is on file" - Usage="P" - Value="Y"/> - <ValueElement CodeSystem="HL70316" - DisplayName="Patient leaves organ donation decision to a specific person" - Usage="P" - Value="P"/> - <ValueElement CodeSystem="HL70316" - DisplayName="Patient leaves organ donation decision to relatives" - Usage="P" - Value="R"/> - <ValueElement CodeSystem="HL70316" DisplayName="Unknown" Usage="P" Value="U"/> - <ValueElement CodeSystem="HL70316" DisplayName="No, patient has not agreed to be a donor" - Usage="P" - Value="N"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70032" ContentDefinition="Extensional" - Description="Charge/Price Indicator" - Extensibility="Closed" - Name="Charge/Price Indicator" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70063" ContentDefinition="Extensional" - Description="Relationship" - Extensibility="Closed" - Name="Relationship" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70063" DisplayName="Employee" Usage="P" Value="EME"/> - <ValueElement CodeSystem="HL70063" DisplayName="Foster child" Usage="P" Value="FCH"/> - <ValueElement CodeSystem="HL70063" DisplayName="Brother" Usage="P" Value="BRO"/> - <ValueElement CodeSystem="HL70063" DisplayName="Other" Usage="P" Value="OTH"/> - <ValueElement CodeSystem="HL70063" DisplayName="Handicapped dependent" Usage="P" Value="DEP"/> - <ValueElement CodeSystem="HL70063" DisplayName="Care giver" Usage="P" Value="CGV"/> - <ValueElement CodeSystem="HL70063" DisplayName="Spouse" Usage="P" Value="SPO"/> - <ValueElement CodeSystem="HL70063" DisplayName="Other adult" Usage="P" Value="OAD"/> - <ValueElement CodeSystem="HL70063" DisplayName="Owner" Usage="P" Value="OWN"/> - <ValueElement CodeSystem="HL70063" DisplayName="Child" Usage="P" Value="CHD"/> - <ValueElement CodeSystem="HL70063" DisplayName="Mother" Usage="P" Value="MTH"/> - <ValueElement CodeSystem="HL70063" DisplayName="Manager" Usage="P" Value="MGR"/> - <ValueElement CodeSystem="HL70063" DisplayName="Life partner" Usage="P" Value="DOM"/> - <ValueElement CodeSystem="HL70063" DisplayName="Parent" Usage="P" Value="PAR"/> - <ValueElement CodeSystem="HL70063" DisplayName="Natural child" Usage="P" Value="NCH"/> - <ValueElement CodeSystem="HL70063" DisplayName="Father" Usage="P" Value="FTH"/> - <ValueElement CodeSystem="HL70063" DisplayName="Extended family" Usage="P" Value="EXF"/> - <ValueElement CodeSystem="HL70063" DisplayName="Grandchild" Usage="P" Value="GCH"/> - <ValueElement CodeSystem="HL70063" DisplayName="Self" Usage="P" Value="SEL"/> - <ValueElement CodeSystem="HL70063" DisplayName="Unknown" Usage="P" Value="UNK"/> - <ValueElement CodeSystem="HL70063" DisplayName="Grandparent" Usage="P" Value="GRP"/> - <ValueElement CodeSystem="HL70063" DisplayName="Associate" Usage="P" Value="ASC"/> - <ValueElement CodeSystem="HL70063" DisplayName="Guardian" Usage="P" Value="GRD"/> - <ValueElement CodeSystem="HL70063" DisplayName="Emergency contact" Usage="P" Value="EMC"/> - <ValueElement CodeSystem="HL70063" DisplayName="Employer" Usage="P" Value="EMR"/> - <ValueElement CodeSystem="HL70063" DisplayName="Friend" Usage="P" Value="FND"/> - <ValueElement CodeSystem="HL70063" DisplayName="Stepchild" Usage="P" Value="SCH"/> - <ValueElement CodeSystem="HL70063" DisplayName="Sibling" Usage="P" Value="SIB"/> - <ValueElement CodeSystem="HL70063" DisplayName="Ward of court" Usage="P" Value="WRD"/> - <ValueElement CodeSystem="HL70063" DisplayName="None" Usage="P" Value="NON"/> - <ValueElement CodeSystem="HL70063" DisplayName="Sister" Usage="P" Value="SIS"/> - <ValueElement CodeSystem="HL70063" DisplayName="Trainer" Usage="P" Value="TRA"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70369" ContentDefinition="Extensional" - Description="Specimen Role" - Extensibility="Closed" - Name="Specimen Role" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70369" - DisplayName="Electronic QC, used with manufactured reference providing signals that simulate QC results" - Usage="P" - Value="E"/> - <ValueElement CodeSystem="HL70369" DisplayName="Blind Sample" Usage="P" Value="B"/> - <ValueElement CodeSystem="HL70369" - DisplayName="Calibrator, used for initial setting of calibration" - Usage="P" - Value="C"/> - <ValueElement CodeSystem="HL70369" - DisplayName="Specimen used for testing proficiency of the organization performing the testing (Filler)" - Usage="P" - Value="F"/> - <ValueElement CodeSystem="HL70369" - DisplayName="Verifying Calibrator, used for periodic calibration checks" - Usage="P" - Value="V"/> - <ValueElement CodeSystem="HL70369" DisplayName="Control specimen" Usage="P" Value="Q"/> - <ValueElement CodeSystem="HL70369" - DisplayName="Specimen used for testing Operator Proficiency" - Usage="P" - Value="O"/> - <ValueElement CodeSystem="HL70369" DisplayName="Patient" Usage="P" Value="P"/> - <ValueElement CodeSystem="HL70369" DisplayName="Replicate" Usage="P" Value="R"/> - <ValueElement CodeSystem="HL70369" - DisplayName="Group (where a specimen consists of multiple individual elements that are not individually identified)" - Usage="P" - Value="G"/> - <ValueElement CodeSystem="HL70369" - DisplayName="Pool (aliquots of individual specimens combined to form a single specimen representing all of the components.)" - Usage="P" - Value="L"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70315" ContentDefinition="Extensional" - Description="Living Will Code" - Extensibility="Closed" - Name="Living Will Code" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70315" DisplayName="Unknown" Usage="P" Value="U"/> - <ValueElement CodeSystem="HL70315" - DisplayName="No, patient does not have a living will but information was provided" - Usage="P" - Value="I"/> - <ValueElement CodeSystem="HL70315" - DisplayName="Yes, patient has a living will but it is not on file" - Usage="P" - Value="F"/> - <ValueElement CodeSystem="HL70315" - DisplayName="No, patient does not have a living will and no information was provided" - Usage="P" - Value="N"/> - <ValueElement CodeSystem="HL70315" DisplayName="Yes, patient has a living will" Usage="P" - Value="Y"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70002" ContentDefinition="Extensional" - Description="Marital Status" - Extensibility="Closed" - Name="Marital Status" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70002" DisplayName="Divorced" Usage="P" Value="D"/> - <ValueElement CodeSystem="HL70002" DisplayName="Unknown" Usage="P" Value="U"/> - <ValueElement CodeSystem="HL70002" DisplayName="Domestic partner" Usage="P" Value="P"/> - <ValueElement CodeSystem="HL70002" DisplayName="Unmarried" Usage="P" Value="B"/> - <ValueElement CodeSystem="HL70002" DisplayName="Married" Usage="P" Value="M"/> - <ValueElement CodeSystem="HL70002" DisplayName="Other" Usage="P" Value="O"/> - <ValueElement CodeSystem="HL70002" DisplayName="Common law" Usage="P" Value="C"/> - <ValueElement CodeSystem="HL70002" DisplayName="Separated" Usage="P" Value="A"/> - <ValueElement CodeSystem="HL70002" DisplayName="Legally Separated" Usage="P" Value="E"/> - <ValueElement CodeSystem="HL70002" DisplayName="Widowed" Usage="P" Value="W"/> - <ValueElement CodeSystem="HL70002" DisplayName="Unreported" Usage="P" Value="T"/> - <ValueElement CodeSystem="HL70002" DisplayName="Living together" Usage="P" Value="G"/> - <ValueElement CodeSystem="HL70002" DisplayName="Interlocutory" Usage="P" Value="I"/> - <ValueElement CodeSystem="HL70002" DisplayName="Annulled" Usage="P" Value="N"/> - <ValueElement CodeSystem="HL70002" DisplayName="Single" Usage="P" Value="S"/> - <ValueElement CodeSystem="HL70002" DisplayName="Registered domestic partner" Usage="P" - Value="R"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70092" ContentDefinition="Extensional" - Description="Re-Admission Indicator" - Extensibility="Closed" - Name="Re-Admission Indicator" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70092" DisplayName="Re-admission" Usage="P" Value="R"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70304" ContentDefinition="Extensional" Description="Bed" - Extensibility="Closed" - Name="Bed" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70542" ContentDefinition="Extensional" - Description="Specimen Source Type Modifier" - Extensibility="Closed" - Name="Specimen Source Type Modifier" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70483" ContentDefinition="Extensional" - Description="Authorization Mode" - Extensibility="Closed" - Name="Authorization Mode" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70483" DisplayName="Paper" Usage="P" Value="PA"/> - <ValueElement CodeSystem="HL70483" DisplayName="Voice" Usage="P" Value="VO"/> - <ValueElement CodeSystem="HL70483" DisplayName="Fax" Usage="P" Value="FX"/> - <ValueElement CodeSystem="HL70483" DisplayName="Video-conference" Usage="P" Value="VC"/> - <ValueElement CodeSystem="HL70483" DisplayName="Mail" Usage="P" Value="MA"/> - <ValueElement CodeSystem="HL70483" DisplayName="Phone" Usage="P" Value="PH"/> - <ValueElement CodeSystem="HL70483" DisplayName="E-mail" Usage="P" Value="EM"/> - <ValueElement CodeSystem="HL70483" DisplayName="Electronic" Usage="P" Value="EL"/> - <ValueElement CodeSystem="HL70483" DisplayName="In Person" Usage="P" Value="IP"/> - <ValueElement CodeSystem="HL70483" DisplayName="Reflexive (Automated system)" Usage="P" - Value="RE"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70080" ContentDefinition="Extensional" - Description="Nature of Abnormal Testing" - Extensibility="Closed" - Name="Nature of Abnormal Testing" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70080" DisplayName="Species" Usage="P" Value="SP"/> - <ValueElement CodeSystem="HL70080" DisplayName="None - generic normal range" Usage="P" - Value="N"/> - <ValueElement CodeSystem="HL70080" DisplayName="Strain" Usage="P" Value="ST"/> - <ValueElement CodeSystem="HL70080" DisplayName="A race-based population" Usage="P" Value="R"/> - <ValueElement CodeSystem="HL70080" DisplayName="An age-based population" Usage="P" Value="A"/> - <ValueElement CodeSystem="HL70080" DisplayName="Breed" Usage="P" Value="B"/> - <ValueElement CodeSystem="HL70080" DisplayName="A sex-based population" Usage="P" Value="S"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70231" ContentDefinition="Extensional" - Description="Student Status" - Extensibility="Closed" - Name="Student Status" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70231" DisplayName="Not a student" Usage="P" Value="N"/> - <ValueElement CodeSystem="HL70231" DisplayName="Full-time student" Usage="P" Value="F"/> - <ValueElement CodeSystem="HL70231" DisplayName="Part-time student" Usage="P" Value="P"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70045" ContentDefinition="Extensional" - Description="Courtesy Code" - Extensibility="Closed" - Name="Courtesy Code" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70311" ContentDefinition="Extensional" - Description="Job Status" - Extensibility="Closed" - Name="Job Status" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70311" DisplayName="Temporary" Usage="P" Value="T"/> - <ValueElement CodeSystem="HL70311" DisplayName="Other" Usage="P" Value="O"/> - <ValueElement CodeSystem="HL70311" DisplayName="Permanent" Usage="P" Value="P"/> - <ValueElement CodeSystem="HL70311" DisplayName="Unknown" Usage="P" Value="U"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70115" ContentDefinition="Extensional" - Description="Servicing Facility" - Extensibility="Closed" - Name="Servicing Facility" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70142" ContentDefinition="Extensional" - Description="Military Status" - Extensibility="Closed" - Name="Military Status" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70142" DisplayName="Active duty" Usage="P" Value="ACT"/> - <ValueElement CodeSystem="HL70142" DisplayName="Deceased" Usage="P" Value="DEC"/> - <ValueElement CodeSystem="HL70142" DisplayName="Retired" Usage="P" Value="RET"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70216" ContentDefinition="Extensional" - Description="Patient Status Code" - Extensibility="Closed" - Name="Patient Status Code" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70216" DisplayName="Discharged Inpatient" Usage="P" Value="DI"/> - <ValueElement CodeSystem="HL70216" DisplayName="Active Inpatient" Usage="P" Value="AI"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70544" ContentDefinition="Extensional" - Description="Container Condition" - Extensibility="Closed" - Name="Container Condition" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70163" ContentDefinition="Extensional" - Description="Body site" - Extensibility="Closed" - Name="Body site" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70163" DisplayName="Right Anterior Chest" Usage="P" Value="RAC"/> - <ValueElement CodeSystem="HL70163" DisplayName="Perineal" Usage="P" Value="PERIN"/> - <ValueElement CodeSystem="HL70163" DisplayName="Left External Jugular" Usage="P" Value="LEJ"/> - <ValueElement CodeSystem="HL70163" DisplayName="Left Foot" Usage="P" Value="LF"/> - <ValueElement CodeSystem="HL70163" DisplayName="Right Internal Jugular" Usage="P" Value="RIJ"/> - <ValueElement CodeSystem="HL70163" DisplayName="Rt Lower Abd Quadrant" Usage="P" Value="RLAQ"/> - <ValueElement CodeSystem="HL70163" DisplayName="Bilateral Eyes" Usage="P" Value="OU"/> - <ValueElement CodeSystem="HL70163" DisplayName="Left Deltoid" Usage="P" Value="LD"/> - <ValueElement CodeSystem="HL70163" DisplayName="Bilateral Nares" Usage="P" Value="BN"/> - <ValueElement CodeSystem="HL70163" DisplayName="Left Arm" Usage="P" Value="LA"/> - <ValueElement CodeSystem="HL70163" DisplayName="Left Eye" Usage="P" Value="OS"/> - <ValueElement CodeSystem="HL70163" DisplayName="Right Naris" Usage="P" Value="RN"/> - <ValueElement CodeSystem="HL70163" DisplayName="Right Vastus Lateralis" Usage="P" Value="RVL"/> - <ValueElement CodeSystem="HL70163" DisplayName="Left Upper Abd Quadrant" Usage="P" - Value="LUAQ"/> - <ValueElement CodeSystem="HL70163" DisplayName="Right Mid Forearm" Usage="P" Value="RMFA"/> - <ValueElement CodeSystem="HL70163" DisplayName="Left Ear" Usage="P" Value="LE"/> - <ValueElement CodeSystem="HL70163" DisplayName="Left Anterior Chest" Usage="P" Value="LAC"/> - <ValueElement CodeSystem="HL70163" DisplayName="Left Thigh" Usage="P" Value="LT"/> - <ValueElement CodeSystem="HL70163" DisplayName="Right Arm" Usage="P" Value="RA"/> - <ValueElement CodeSystem="HL70163" DisplayName="Buttock" Usage="P" Value="BU"/> - <ValueElement CodeSystem="HL70163" DisplayName="Left Vastus Lateralis" Usage="P" Value="LVL"/> - <ValueElement CodeSystem="HL70163" DisplayName="Right Subclavian" Usage="P" Value="RSC"/> - <ValueElement CodeSystem="HL70163" DisplayName="Right Gluteus Medius" Usage="P" Value="RG"/> - <ValueElement CodeSystem="HL70163" DisplayName="Left Subclavian" Usage="P" Value="LSC"/> - <ValueElement CodeSystem="HL70163" DisplayName="Left Upper Forearm" Usage="P" Value="LUFA"/> - <ValueElement CodeSystem="HL70163" DisplayName="Right External Jugular" Usage="P" Value="REJ"/> - <ValueElement CodeSystem="HL70163" DisplayName="Right Eye" Usage="P" Value="OD"/> - <ValueElement CodeSystem="HL70163" DisplayName="Nebulized" Usage="P" Value="NB"/> - <ValueElement CodeSystem="HL70163" DisplayName="Right Upper Arm" Usage="P" Value="RUA"/> - <ValueElement CodeSystem="HL70163" DisplayName="Left Mid Forearm" Usage="P" Value="LMFA"/> - <ValueElement CodeSystem="HL70163" DisplayName="Right Hand" Usage="P" Value="RH"/> - <ValueElement CodeSystem="HL70163" DisplayName="Right Foot" Usage="P" Value="RF"/> - <ValueElement CodeSystem="HL70163" DisplayName="Right Ventragluteal" Usage="P" Value="RVG"/> - <ValueElement CodeSystem="HL70163" DisplayName="Right Upper Forearm" Usage="P" Value="RUFA"/> - <ValueElement CodeSystem="HL70163" DisplayName="Chest Tube" Usage="P" Value="CT"/> - <ValueElement CodeSystem="HL70163" DisplayName="Right Deltoid" Usage="P" Value="RD"/> - <ValueElement CodeSystem="HL70163" DisplayName="Left Ventragluteal" Usage="P" Value="LVG"/> - <ValueElement CodeSystem="HL70163" DisplayName="Perianal" Usage="P" Value="PA"/> - <ValueElement CodeSystem="HL70163" DisplayName="Right Thigh" Usage="P" Value="RT"/> - <ValueElement CodeSystem="HL70163" DisplayName="Left Hand" Usage="P" Value="LH"/> - <ValueElement CodeSystem="HL70163" DisplayName="Left Naris" Usage="P" Value="LN"/> - <ValueElement CodeSystem="HL70163" DisplayName="Right Lower Forearm" Usage="P" Value="RLFA"/> - <ValueElement CodeSystem="HL70163" DisplayName="Left Gluteus Medius" Usage="P" Value="LG"/> - <ValueElement CodeSystem="HL70163" DisplayName="Left Upper Arm" Usage="P" Value="LUA"/> - <ValueElement CodeSystem="HL70163" DisplayName="Left Internal Jugular" Usage="P" Value="LIJ"/> - <ValueElement CodeSystem="HL70163" DisplayName="Left Lower Abd Quadrant" Usage="P" - Value="LLAQ"/> - <ValueElement CodeSystem="HL70163" DisplayName="Left Antecubital Fossa" Usage="P" - Value="LACF"/> - <ValueElement CodeSystem="HL70163" DisplayName="Left Posterior Chest" Usage="P" Value="LPC"/> - <ValueElement CodeSystem="HL70163" DisplayName="Right Antecubital Fossa" Usage="P" - Value="RACF"/> - <ValueElement CodeSystem="HL70163" DisplayName="Left Lower Forearm" Usage="P" Value="LLFA"/> - <ValueElement CodeSystem="HL70163" DisplayName="Right Ear" Usage="P" Value="RE"/> - <ValueElement CodeSystem="HL70163" DisplayName="Right Posterior Chest" Usage="P" Value="RPC"/> - <ValueElement CodeSystem="HL70163" DisplayName="Bilateral Ears" Usage="P" Value="BE"/> - <ValueElement CodeSystem="HL70163" DisplayName="Right Upper Abd Quadrant" Usage="P" - Value="RUAQ"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70354" ContentDefinition="Extensional" - Description="Message structure" - Extensibility="Closed" - Name="Message structure" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70354" DisplayName="A02" Usage="P" Value="ADT_A02"/> - <ValueElement CodeSystem="HL70354" DisplayName="B04, B05, B06" Usage="P" Value="PMU_B04"/> - <ValueElement CodeSystem="HL70354" DisplayName="Q21, Q22, Q23,Q24, Q25" Usage="P" - Value="QBP_Q21"/> - <ValueElement CodeSystem="HL70354" DisplayName="MFA" Usage="P" Value="MFD_MFA"/> - <ValueElement CodeSystem="HL70354" DisplayName="O13" Usage="P" Value="RDS_O13"/> - <ValueElement CodeSystem="HL70354" DisplayName="Q02" Usage="P" Value="QRY_Q02"/> - <ValueElement CodeSystem="HL70354" DisplayName="N01" Usage="P" Value="NMR_N01"/> - <ValueElement CodeSystem="HL70354" DisplayName="O20" Usage="P" Value="ORG_O20"/> - <ValueElement CodeSystem="HL70354" DisplayName="A60" Usage="P" Value="ADT_A60"/> - <ValueElement CodeSystem="HL70354" - DisplayName="M01, M02, M03, M04, M05, M06, M07, M08, M09, M10, M11" - Usage="P" - Value="MFK_M01"/> - <ValueElement CodeSystem="HL70354" DisplayName="O03" Usage="P" Value="OMD_O03"/> - <ValueElement CodeSystem="HL70354" DisplayName="M09" Usage="P" Value="MFN_M09"/> - <ValueElement CodeSystem="HL70354" DisplayName="R22" Usage="P" Value="OUL_R22"/> - <ValueElement CodeSystem="HL70354" DisplayName="O32" Usage="P" Value="BRT_O32"/> - <ValueElement CodeSystem="HL70354" DisplayName="U05" Usage="P" Value="INU_U05"/> - <ValueElement CodeSystem="HL70354" DisplayName="ROR" Usage="P" Value="ROR_ROR"/> - <ValueElement CodeSystem="HL70354" - DisplayName="S01, S02, S03, S04, S05, S06, S07, S08, S09, S10, S11" - Usage="P" - Value="SRM_S01"/> - <ValueElement CodeSystem="HL70354" DisplayName="M07" Usage="P" Value="MFR_M07"/> - <ValueElement CodeSystem="HL70354" DisplayName="R02" Usage="P" Value="QRY_R02"/> - <ValueElement CodeSystem="HL70354" DisplayName="Q07" Usage="P" Value="VQQ_Q07"/> - <ValueElement CodeSystem="HL70354" DisplayName="R24" Usage="P" Value="OUL_R24"/> - <ValueElement CodeSystem="HL70354" DisplayName="Q05" Usage="P" Value="UDM_Q05"/> - <ValueElement CodeSystem="HL70354" DisplayName="K13" Usage="P" Value="RTB_K13"/> - <ValueElement CodeSystem="HL70354" DisplayName="PC4, PC9, PCE, PCK" Usage="P" Value="QRY_PC4"/> - <ValueElement CodeSystem="HL70354" DisplayName="M11" Usage="P" Value="MFN_M11"/> - <ValueElement CodeSystem="HL70354" DisplayName="T12" Usage="P" Value="DOC_T12"/> - <ValueElement CodeSystem="HL70354" DisplayName="U09" Usage="P" Value="EAN_U09"/> - <ValueElement CodeSystem="HL70354" DisplayName="O29" Usage="P" Value="BPS_O29"/> - <ValueElement CodeSystem="HL70354" DisplayName="P01" Usage="P" Value="BAR_P01"/> - <ValueElement CodeSystem="HL70354" DisplayName="Q04" Usage="P" Value="EQQ_Q04"/> - <ValueElement CodeSystem="HL70354" DisplayName="Q01" Usage="P" Value="DSR_Q01"/> - <ValueElement CodeSystem="HL70354" DisplayName="O34" Usage="P" Value="ORL_O34"/> - <ValueElement CodeSystem="HL70354" DisplayName="V01" Usage="P" Value="VXQ_V01"/> - <ValueElement CodeSystem="HL70354" DisplayName="B07" Usage="P" Value="PMU_B07"/> - <ValueElement CodeSystem="HL70354" DisplayName="O06" Usage="P" Value="ORS_O06"/> - <ValueElement CodeSystem="HL70354" DisplayName="S25" Usage="P" Value="SQM_S25"/> - <ValueElement CodeSystem="HL70354" DisplayName="A37" Usage="P" Value="ADT_A37"/> - <ValueElement CodeSystem="HL70354" DisplayName="O01" Usage="P" Value="ORM_O01"/> - <ValueElement CodeSystem="HL70354" DisplayName="K22" Usage="P" Value="RSP_K22"/> - <ValueElement CodeSystem="HL70354" DisplayName="U03" Usage="P" Value="SSU_U03"/> - <ValueElement CodeSystem="HL70354" DisplayName="A15" Usage="P" Value="ADT_A15"/> - <ValueElement CodeSystem="HL70354" DisplayName="P06" Usage="P" Value="BAR_P06"/> - <ValueElement CodeSystem="HL70354" DisplayName="P05" Usage="P" Value="BAR_P05"/> - <ValueElement CodeSystem="HL70354" DisplayName="K31" Usage="P" Value="RSP_K31"/> - <ValueElement CodeSystem="HL70354" DisplayName="PCA" Usage="P" Value="PPV_PCA"/> - <ValueElement CodeSystem="HL70354" DisplayName="M02" Usage="P" Value="MFN_M02"/> - <ValueElement CodeSystem="HL70354" DisplayName="PC5" Usage="P" Value="PRR_PC5"/> - <ValueElement CodeSystem="HL70354" DisplayName="P11" Usage="P" Value="DFT_P11"/> - <ValueElement CodeSystem="HL70354" DisplayName="A54" Usage="P" Value="ADT_A54"/> - <ValueElement CodeSystem="HL70354" DisplayName="O02" Usage="P" Value="ORR_O02"/> - <ValueElement CodeSystem="HL70354" DisplayName="P02" Usage="P" Value="BAR_P02"/> - <ValueElement CodeSystem="HL70354" DisplayName="A01, A04, A08, A13" Usage="P" Value="ADT_A01"/> - <ValueElement CodeSystem="HL70354" DisplayName="O12, O26" Usage="P" Value="RRE_O12"/> - <ValueElement CodeSystem="HL70354" DisplayName="A17" Usage="P" Value="ADT_A17"/> - <ValueElement CodeSystem="HL70354" - DisplayName="S12, S13, S14, S15, S16, S17, S18, S19, S20, S21, S22, S23, S24, S26" - Usage="P" - Value="SIU_S12"/> - <ValueElement CodeSystem="HL70354" DisplayName="Q09" Usage="P" Value="RQQ_Q09"/> - <ValueElement CodeSystem="HL70354" DisplayName="K15" Usage="P" Value="RDY_K15"/> - <ValueElement CodeSystem="HL70354" DisplayName="U02" Usage="P" Value="ESR_U02"/> - <ValueElement CodeSystem="HL70354" DisplayName="C09, C10, C11, C12" Usage="P" Value="CSU_C09"/> - <ValueElement CodeSystem="HL70354" DisplayName="A06, A07" Usage="P" Value="ADT_A06"/> - <ValueElement CodeSystem="HL70354" DisplayName="M13" Usage="P" Value="MFN_M13"/> - <ValueElement CodeSystem="HL70354" DisplayName="Q06" Usage="P" Value="OSR_Q06"/> - <ValueElement CodeSystem="HL70354" DisplayName="K25" Usage="P" Value="RSP_K25"/> - <ValueElement CodeSystem="HL70354" DisplayName="B08" Usage="P" Value="PMU_B08"/> - <ValueElement CodeSystem="HL70354" DisplayName="R09" Usage="P" Value="ERP_R09"/> - <ValueElement CodeSystem="HL70354" DisplayName="T01, T03, T05, T07, T09, T11" Usage="P" - Value="MDM_T01"/> - <ValueElement CodeSystem="HL70354" DisplayName="A39, A40, A41, A42" Usage="P" Value="ADT_A39"/> - <ValueElement CodeSystem="HL70354" DisplayName="O11, O25" Usage="P" Value="RDE_O11"/> - <ValueElement CodeSystem="HL70354" DisplayName="I08, I09. I10, I11" Usage="P" Value="RPA_I08"/> - <ValueElement CodeSystem="HL70354" DisplayName="N01" Usage="P" Value="NMQ_N01"/> - <ValueElement CodeSystem="HL70354" DisplayName="P10" Usage="P" Value="BAR_P10"/> - <ValueElement CodeSystem="HL70354" DisplayName="R07" Usage="P" Value="EDR_R07"/> - <ValueElement CodeSystem="HL70354" DisplayName="A05, A14, A28, A31" Usage="P" Value="ADT_A05"/> - <ValueElement CodeSystem="HL70354" DisplayName="O33" Usage="P" Value="OML_O33"/> - <ValueElement CodeSystem="HL70354" DisplayName="M06" Usage="P" Value="MFN_M06"/> - <ValueElement CodeSystem="HL70354" DisplayName="007" Usage="P" Value="OMN_O07"/> - <ValueElement CodeSystem="HL70354" DisplayName="M08" Usage="P" Value="MFN_M08"/> - <ValueElement CodeSystem="HL70354" DisplayName="M01, M02, M03" Usage="P" Value="MFR_M01"/> - <ValueElement CodeSystem="HL70354" DisplayName="R09" Usage="P" Value="TBR_R09"/> - <ValueElement CodeSystem="HL70354" DisplayName="I04" Usage="P" Value="RPI_I04"/> - <ValueElement CodeSystem="HL70354" DisplayName="R08" Usage="P" Value="TBR_R08"/> - <ValueElement CodeSystem="HL70354" DisplayName="RER" Usage="P" Value="RER_RER"/> - <ValueElement CodeSystem="HL70354" DisplayName="A19" Usage="P" Value="ADR_A19"/> - <ValueElement CodeSystem="HL70354" DisplayName="M07" Usage="P" Value="MFN_M07"/> - <ValueElement CodeSystem="HL70354" DisplayName="B01, B02" Usage="P" Value="PMU_B01"/> - <ValueElement CodeSystem="HL70354" DisplayName="I08, I09, I10, I11" Usage="P" Value="RQA_I08"/> - <ValueElement CodeSystem="HL70354" DisplayName="V04" Usage="P" Value="VXU_V04"/> - <ValueElement CodeSystem="HL70354" DisplayName="M10" Usage="P" Value="MFN_M10"/> - <ValueElement CodeSystem="HL70354" DisplayName="P09" Usage="P" Value="SUR_P09"/> - <ValueElement CodeSystem="HL70354" DisplayName="M06" Usage="P" Value="MFR_M06"/> - <ValueElement CodeSystem="HL70354" DisplayName="O28" Usage="P" Value="ORB_O28"/> - <ValueElement CodeSystem="HL70354" DisplayName="O24" Usage="P" Value="ORI_O24"/> - <ValueElement CodeSystem="HL70354" DisplayName="O17" Usage="P" Value="RAS_O17"/> - <ValueElement CodeSystem="HL70354" DisplayName="U08" Usage="P" Value="EAR_U08"/> - <ValueElement CodeSystem="HL70354" DisplayName="I05" Usage="P" Value="RCI_I05"/> - <ValueElement CodeSystem="HL70354" DisplayName="PCL" Usage="P" Value="PPT_PCL"/> - <ValueElement CodeSystem="HL70354" DisplayName="Q17" Usage="P" Value="QVR_Q17"/> - <ValueElement CodeSystem="HL70354" DisplayName="W02" Usage="P" Value="QRF_W02"/> - <ValueElement CodeSystem="HL70354" DisplayName="P04" Usage="P" Value="DSR_P04"/> - <ValueElement CodeSystem="HL70354" DisplayName="P04" Usage="P" Value="QRY_P04"/> - <ValueElement CodeSystem="HL70354" DisplayName="A03" Usage="P" Value="ADT_A03"/> - <ValueElement CodeSystem="HL70354" DisplayName="M03" Usage="P" Value="MFN_M03"/> - <ValueElement CodeSystem="HL70354" DisplayName="A52, A53, A55" Usage="P" Value="ADT_A52"/> - <ValueElement CodeSystem="HL70354" DisplayName="W01" Usage="P" Value="ORU_W01"/> - <ValueElement CodeSystem="HL70354" DisplayName="I02" Usage="P" Value="RPL_I02"/> - <ValueElement CodeSystem="HL70354" DisplayName="I03" Usage="P" Value="RPR_I03"/> - <ValueElement CodeSystem="HL70354" DisplayName="M05" Usage="P" Value="MFN_M05"/> - <ValueElement CodeSystem="HL70354" DisplayName="RGR" Usage="P" Value="RGR_RGR"/> - <ValueElement CodeSystem="HL70354" DisplayName="O36" Usage="P" Value="ORL_O36"/> - <ValueElement CodeSystem="HL70354" DisplayName="O31" Usage="P" Value="BTS_O31"/> - <ValueElement CodeSystem="HL70354" DisplayName="PCB, PCD" Usage="P" Value="PPP_PCB"/> - <ValueElement CodeSystem="HL70354" DisplayName="Varies" Usage="P" Value="ACK"/> - <ValueElement CodeSystem="HL70354" DisplayName="Q01, Q26, Q27, Q28, Q29, Q30" Usage="P" - Value="QRY_Q01"/> - <ValueElement CodeSystem="HL70354" DisplayName="U04" Usage="P" Value="SSR_U04"/> - <ValueElement CodeSystem="HL70354" DisplayName="M12" Usage="P" Value="MFN_M12"/> - <ValueElement CodeSystem="HL70354" DisplayName="O15" Usage="P" Value="RGV_O15"/> - <ValueElement CodeSystem="HL70354" DisplayName="M01" Usage="P" Value="MFN_M01"/> - <ValueElement CodeSystem="HL70354" DisplayName="O18" Usage="P" Value="RRA_O18"/> - <ValueElement CodeSystem="HL70354" DisplayName="PC1, PC2, PC3" Usage="P" Value="PPR_PC1"/> - <ValueElement CodeSystem="HL70354" DisplayName="T02, T04, T06, T08, T10" Usage="P" - Value="MDM_T02"/> - <ValueElement CodeSystem="HL70354" DisplayName="O21" Usage="P" Value="OML_O21"/> - <ValueElement CodeSystem="HL70354" DisplayName="Q06" Usage="P" Value="OSQ_Q06"/> - <ValueElement CodeSystem="HL70354" DisplayName="A21, A22, A23, A25, A26, A27, A29, A32, A33" - Usage="P" - Value="ADT_A21"/> - <ValueElement CodeSystem="HL70354" DisplayName="A50, A51" Usage="P" Value="ADT_A50"/> - <ValueElement CodeSystem="HL70354" DisplayName="O30" Usage="P" Value="BRP_O30"/> - <ValueElement CodeSystem="HL70354" DisplayName="K23, K24" Usage="P" Value="RSP_K23"/> - <ValueElement CodeSystem="HL70354" DisplayName="O23" Usage="P" Value="OMI_O23"/> - <ValueElement CodeSystem="HL70354" DisplayName="M01, M02, M03, M04, M05, M06" Usage="P" - Value="MFQ_M01"/> - <ValueElement CodeSystem="HL70354" DisplayName="PC6, PC7, PC8" Usage="P" Value="PGL_PC6"/> - <ValueElement CodeSystem="HL70354" DisplayName="A43, A44" Usage="P" Value="ADT_A43"/> - <ValueElement CodeSystem="HL70354" DisplayName="R30, R31, R32" Usage="P" Value="ORU_R30"/> - <ValueElement CodeSystem="HL70354" DisplayName="RDR" Usage="P" Value="RDR_RDR"/> - <ValueElement CodeSystem="HL70354" DisplayName="PCC, PCG, PCH, PCJ" Usage="P" Value="PPG_PCG"/> - <ValueElement CodeSystem="HL70354" DisplayName="Q08" Usage="P" Value="SPQ_Q08"/> - <ValueElement CodeSystem="HL70354" DisplayName="A45" Usage="P" Value="ADT_A45"/> - <ValueElement CodeSystem="HL70354" DisplayName="P03" Usage="P" Value="DFT_P03"/> - <ValueElement CodeSystem="HL70354" - DisplayName="S01, S02, S03, S04, S05, S06, S07, S08, S09, S10, S11" - Usage="P" - Value="SRR_S01"/> - <ValueElement CodeSystem="HL70354" DisplayName="Q15" Usage="P" Value="QBP_Q15"/> - <ValueElement CodeSystem="HL70354" DisplayName="Q13" Usage="P" Value="QBP_Q13"/> - <ValueElement CodeSystem="HL70354" DisplayName="O05" Usage="P" Value="OMS_O05"/> - <ValueElement CodeSystem="HL70354" DisplayName="U01" Usage="P" Value="ESU_U01"/> - <ValueElement CodeSystem="HL70354" DisplayName="I12, I13, I14, I15" Usage="P" Value="RRI_I12"/> - <ValueElement CodeSystem="HL70354" DisplayName="I05, I06" Usage="P" Value="RQC_I05"/> - <ValueElement CodeSystem="HL70354" DisplayName="B03" Usage="P" Value="PMU_B03"/> - <ValueElement CodeSystem="HL70354" DisplayName="PCF" Usage="P" Value="PTR_PCF"/> - <ValueElement CodeSystem="HL70354" DisplayName="Q02" Usage="P" Value="QCK_Q02"/> - <ValueElement CodeSystem="HL70354" DisplayName="O35" Usage="P" Value="OML_O35"/> - <ValueElement CodeSystem="HL70354" DisplayName="N02" Usage="P" Value="NMD_N02"/> - <ValueElement CodeSystem="HL70354" DisplayName="RAR" Usage="P" Value="RAR_RAR"/> - <ValueElement CodeSystem="HL70354" DisplayName="O14" Usage="P" Value="RRD_O14"/> - <ValueElement CodeSystem="HL70354" DisplayName="V02" Usage="P" Value="VXX_V02"/> - <ValueElement CodeSystem="HL70354" DisplayName="I01" Usage="P" Value="RPI_I01"/> - <ValueElement CodeSystem="HL70354" DisplayName="M15" Usage="P" Value="MFN_M15"/> - <ValueElement CodeSystem="HL70354" DisplayName="V03" Usage="P" Value="VXR_V03"/> - <ValueElement CodeSystem="HL70354" DisplayName="A24" Usage="P" Value="ADT_A24"/> - <ValueElement CodeSystem="HL70354" DisplayName="M04" Usage="P" Value="MFR_M04"/> - <ValueElement CodeSystem="HL70354" DisplayName="M04" Usage="P" Value="MFN_M04"/> - <ValueElement CodeSystem="HL70354" DisplayName="I04" Usage="P" Value="RQP_I04"/> - <ValueElement CodeSystem="HL70354" DisplayName="A30, A34, A35, A36, A46, A47, A48, A49" - Usage="P" - Value="ADT_A30"/> - <ValueElement CodeSystem="HL70354" DisplayName="I01, I02, I03, I07" Usage="P" Value="RQI_I01"/> - <ValueElement CodeSystem="HL70354" DisplayName="U07" Usage="P" Value="EAC_U07"/> - <ValueElement CodeSystem="HL70354" DisplayName="O08" Usage="P" Value="ORN_O08"/> - <ValueElement CodeSystem="HL70354" DisplayName="U06" Usage="P" Value="INR_U06"/> - <ValueElement CodeSystem="HL70354" DisplayName="R01" Usage="P" Value="ORU_R01"/> - <ValueElement CodeSystem="HL70354" DisplayName="O27" Usage="P" Value="OMB_O27"/> - <ValueElement CodeSystem="HL70354" DisplayName="O19" Usage="P" Value="OMG_O19"/> - <ValueElement CodeSystem="HL70354" DisplayName="O10" Usage="P" Value="ORP_O10"/> - <ValueElement CodeSystem="HL70354" DisplayName="A19" Usage="P" Value="QRY_A19"/> - <ValueElement CodeSystem="HL70354" DisplayName="P12" Usage="P" Value="BAR_P12"/> - <ValueElement CodeSystem="HL70354" DisplayName="K21" Usage="P" Value="RSP_K21"/> - <ValueElement CodeSystem="HL70354" DisplayName="K11" Usage="P" Value="RSP_K11"/> - <ValueElement CodeSystem="HL70354" DisplayName="A61, A62" Usage="P" Value="ADT_A61"/> - <ValueElement CodeSystem="HL70354" DisplayName="O09" Usage="P" Value="OMP_O09"/> - <ValueElement CodeSystem="HL70354" DisplayName="C01, C02, C03, C04, C05, C06, C07, C08" - Usage="P" - Value="CRM_C01"/> - <ValueElement CodeSystem="HL70354" DisplayName="A09, A10, A11" Usage="P" Value="ADT_A09"/> - <ValueElement CodeSystem="HL70354" DisplayName="A20" Usage="P" Value="ADT_A20"/> - <ValueElement CodeSystem="HL70354" DisplayName="R04" Usage="P" Value="ORF_R04"/> - <ValueElement CodeSystem="HL70354" DisplayName="A38" Usage="P" Value="ADT_A38"/> - <ValueElement CodeSystem="HL70354" DisplayName="Q16" Usage="P" Value="QSB_Q16"/> - <ValueElement CodeSystem="HL70354" DisplayName="I12, I13, I14, I15" Usage="P" Value="REF_I12"/> - <ValueElement CodeSystem="HL70354" DisplayName="Q11" Usage="P" Value="RSP_Q11"/> - <ValueElement CodeSystem="HL70354" DisplayName="Q03" Usage="P" Value="DSR_Q03"/> - <ValueElement CodeSystem="HL70354" DisplayName="Q11" Usage="P" Value="QBP_Q11"/> - <ValueElement CodeSystem="HL70354" DisplayName="A12" Usage="P" Value="ADT_A12"/> - <ValueElement CodeSystem="HL70354" DisplayName="T12" Usage="P" Value="QRY_T12"/> - <ValueElement CodeSystem="HL70354" DisplayName="A18" Usage="P" Value="ADT_A18"/> - <ValueElement CodeSystem="HL70354" DisplayName="P07, P08" Usage="P" Value="PEX_P07"/> - <ValueElement CodeSystem="HL70354" DisplayName="S25" Usage="P" Value="SQR_S25"/> - <ValueElement CodeSystem="HL70354" DisplayName="R21" Usage="P" Value="OUL_R21"/> - <ValueElement CodeSystem="HL70354" DisplayName="O16" Usage="P" Value="RRG_O16"/> - <ValueElement CodeSystem="HL70354" DisplayName="O04" Usage="P" Value="ORD_O04"/> - <ValueElement CodeSystem="HL70354" DisplayName="A16" Usage="P" Value="ADT_A16"/> - <ValueElement CodeSystem="HL70354" DisplayName="J01, J02" Usage="P" Value="QCN_J01"/> - <ValueElement CodeSystem="HL70354" DisplayName="I06" Usage="P" Value="RCL_I06"/> - <ValueElement CodeSystem="HL70354" DisplayName="Mo5" Usage="P" Value="MFR_M05"/> - <ValueElement CodeSystem="HL70354" DisplayName="022" Usage="P" Value="ORL_O22"/> - <ValueElement CodeSystem="HL70354" DisplayName="R23" Usage="P" Value="OUL_R23"/> - <ValueElement CodeSystem="HL70354" DisplayName="U10, U11" Usage="P" Value="TCU_U10"/> - <ValueElement CodeSystem="HL70354" DisplayName="U12, U13" Usage="P" Value="LSU_U12"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70528" ContentDefinition="Extensional" - Description="Event related period" - Extensibility="Closed" - Name="Event related period" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70528" DisplayName="after meal (from lat. post cibus)" Usage="P" - Value="PC"/> - <ValueElement CodeSystem="HL70528" - DisplayName="before dinner (from lat. ante cibus vespertinus)" - Usage="P" - Value="ACV"/> - <ValueElement CodeSystem="HL70528" - DisplayName="before breakfast (from lat. ante cibus matutinus)" - Usage="P" - Value="ACM"/> - <ValueElement CodeSystem="HL70528" DisplayName="between dinner and the hour of sleep" - Usage="P" - Value="ICV"/> - <ValueElement CodeSystem="HL70528" - DisplayName="after dinner (from lat. post cibus vespertinus)" - Usage="P" - Value="PCV"/> - <ValueElement CodeSystem="HL70528" DisplayName="before lunch (from lat. ante cibus diurnus)" - Usage="P" - Value="ACD"/> - <ValueElement CodeSystem="HL70528" DisplayName="after lunch (from lat. post cibus diurnus)" - Usage="P" - Value="PCD"/> - <ValueElement CodeSystem="HL70528" DisplayName="between lunch and dinner" Usage="P" - Value="ICD"/> - <ValueElement CodeSystem="HL70528" - DisplayName="after breakfast (from lat. post cibus matutinus)" - Usage="P" - Value="PCM"/> - <ValueElement CodeSystem="HL70528" DisplayName="between breakfast and lunch" Usage="P" - Value="ICM"/> - <ValueElement CodeSystem="HL70528" DisplayName="the hour of sleep (e.g., H18-22)" Usage="P" - Value="HS"/> - <ValueElement CodeSystem="HL70528" DisplayName="between meals (from lat. inter cibus)" - Usage="P" - Value="IC"/> - <ValueElement CodeSystem="HL70528" DisplayName="before meal (from lat. ante cibus)" Usage="P" - Value="AC"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70003" ContentDefinition="Extensional" - Description="Event type" - Extensibility="Closed" - Name="Event type" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70003" DisplayName="Cancel Query" Usage="P" Value="CNQ"/> - <ValueElement CodeSystem="HL70003" DisplayName="BPS - Blood product dispense status" - Usage="P" - Value="O29"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ADT/ACK - Change alternate patient ID (for backward compatibility only)" - Usage="P" - Value="A48"/> - <ValueElement CodeSystem="HL70003" - DisplayName="MFN/MFK - Test/calculated observations master file" - Usage="P" - Value="M11"/> - <ValueElement CodeSystem="HL70003" DisplayName="OMD - Diet order" Usage="P" Value="O03"/> - <ValueElement CodeSystem="HL70003" DisplayName="QRY - PC/ pathway (problem-oriented) query" - Usage="P" - Value="PCE"/> - <ValueElement CodeSystem="HL70003" DisplayName="REF/RRI - Modify patient referral" Usage="P" - Value="I13"/> - <ValueElement CodeSystem="HL70003" DisplayName="RSP - Dispense History" Usage="P" Value="K31"/> - <ValueElement CodeSystem="HL70003" DisplayName="PPG - PC/ pathway (goal-oriented) delete" - Usage="P" - Value="PCJ"/> - <ValueElement CodeSystem="HL70003" DisplayName="PPR - PC/ problem update" Usage="P" - Value="PC2"/> - <ValueElement CodeSystem="HL70003" DisplayName="QRY/DSR - Query sent for immediate response" - Usage="P" - Value="Q01"/> - <ValueElement CodeSystem="HL70003" - DisplayName="MDM/ACK - Document addendum notification and content" - Usage="P" - Value="T06"/> - <ValueElement CodeSystem="HL70003" DisplayName="UDM/ACK - Unsolicited display update message" - Usage="P" - Value="Q05"/> - <ValueElement CodeSystem="HL70003" - DisplayName="SIU/ACK - Notification of new appointment booking" - Usage="P" - Value="S12"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ORU - Unsolicited Point-Of-Care Observation Message Without Existing Order - Place An Order" - Usage="P" - Value="R30"/> - <ValueElement CodeSystem="HL70003" - DisplayName="SIU/ACK - Notification of appointment rescheduling" - Usage="P" - Value="S13"/> - <ValueElement CodeSystem="HL70003" - DisplayName="CSU - Automated time intervals for reporting, like monthly" - Usage="P" - Value="C09"/> - <ValueElement CodeSystem="HL70003" DisplayName="PPG - PC/ pathway (goal-oriented) update" - Usage="P" - Value="PCH"/> - <ValueElement CodeSystem="HL70003" - DisplayName="PPT - PC/ pathway (goal-oriented) query response" - Usage="P" - Value="PCL"/> - <ValueElement CodeSystem="HL70003" - DisplayName="RQD/RPI - Request for patient demographic data" - Usage="P" - Value="I04"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Change patient account number" - Usage="P" - Value="A49"/> - <ValueElement CodeSystem="HL70003" DisplayName="RQQ - event replay query" Usage="P" - Value="Q09"/> - <ValueElement CodeSystem="HL70003" - DisplayName="TCR/ACK - Automated equipment test code settings request" - Usage="P" - Value="U11"/> - <ValueElement CodeSystem="HL70003" DisplayName="MFN/MFK - Patient location master file" - Usage="P" - Value="M05"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Pending discharge" Usage="P" - Value="A16"/> - <ValueElement CodeSystem="HL70003" DisplayName="QBP - Get corresponding identifiers" - Usage="P" - Value="Q23"/> - <ValueElement CodeSystem="HL70003" DisplayName="RAS - Pharmacy/treatment administration" - Usage="P" - Value="O17"/> - <ValueElement CodeSystem="HL70003" DisplayName="ROR - Pharmacy/treatment order response" - Usage="P" - Value="Q26"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ADT/ACK - Merge person - patient ID (for backward compatibility only)" - Usage="P" - Value="A39"/> - <ValueElement CodeSystem="HL70003" - DisplayName="MDM/ACK - Document status change notification" - Usage="P" - Value="T03"/> - <ValueElement CodeSystem="HL70003" DisplayName="MDM/ACK - Document replacement notification" - Usage="P" - Value="T09"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Patient arriving - tracking" - Usage="P" - Value="A10"/> - <ValueElement CodeSystem="HL70003" DisplayName="PMU/ACK - Grant Certificate/Permission" - Usage="P" - Value="B07"/> - <ValueElement CodeSystem="HL70003" DisplayName="VXU - Unsolicited vaccination record update" - Usage="P" - Value="V04"/> - <ValueElement CodeSystem="HL70003" - DisplayName="RQI/RPR - Request/receipt of patient selection list" - Usage="P" - Value="I03"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Pending admit" Usage="P" - Value="A14"/> - <ValueElement CodeSystem="HL70003" - DisplayName="CRM - Cancel a patient registration on clinical trial (for clerical mistakes only)" - Usage="P" - Value="C02"/> - <ValueElement CodeSystem="HL70003" - DisplayName="MFN/MFK - Test/observation (numeric) master file" - Usage="P" - Value="M08"/> - <ValueElement CodeSystem="HL70003" DisplayName="ORN - Non-stock requisition acknowledgment" - Usage="P" - Value="O08"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Update allergy information" - Usage="P" - Value="A60"/> - <ValueElement CodeSystem="HL70003" - DisplayName="MFN/MFK - Master file - test/observation (for backward compatibility only)" - Usage="P" - Value="M03"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ORM - Order message (also RDE, RDS, RGV, RAS)" - Usage="P" - Value="O01"/> - <ValueElement CodeSystem="HL70003" - DisplayName="PEX - Unsolicited initial individual product experience report" - Usage="P" - Value="P07"/> - <ValueElement CodeSystem="HL70003" DisplayName="CRM - Correct/update phase information" - Usage="P" - Value="C07"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Pending transfer" Usage="P" - Value="A15"/> - <ValueElement CodeSystem="HL70003" DisplayName="QRY - PC/ pathway (goal-oriented) query" - Usage="P" - Value="PCK"/> - <ValueElement CodeSystem="HL70003" - DisplayName="SRM/SRR - Request addition of service/resource on appointment" - Usage="P" - Value="S07"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Bed status update" Usage="P" - Value="A20"/> - <ValueElement CodeSystem="HL70003" - DisplayName="DFT/ACK - Post Detail Financial Transactions - New" - Usage="P" - Value="P11"/> - <ValueElement CodeSystem="HL70003" - DisplayName="OUL - Unsolicited Order Oriented Observation Message" - Usage="P" - Value="R24"/> - <ValueElement CodeSystem="HL70003" DisplayName="SRM/SRR - Request new appointment booking" - Usage="P" - Value="S01"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Admit/visit notification" Usage="P" - Value="A01"/> - <ValueElement CodeSystem="HL70003" DisplayName="QRY - PC/ goal query" Usage="P" Value="PC9"/> - <ValueElement CodeSystem="HL70003" - DisplayName="RRD - Pharmacy/treatment dispense acknowledgment" - Usage="P" - Value="O14"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ADT/ACK - Merge patient information - account number only (for backward compatibility only)" - Usage="P" - Value="A35"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ADT/ACK - Change patient ID (for backward compatibility only)" - Usage="P" - Value="A46"/> - <ValueElement CodeSystem="HL70003" DisplayName="MFN/MFK - Master file notification message" - Usage="P" - Value="M12"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ADT/ACK - Merge account - patient account number" - Usage="P" - Value="A41"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Add person information" Usage="P" - Value="A28"/> - <ValueElement CodeSystem="HL70003" DisplayName="PIN/ACK - Unsolicited insurance information" - Usage="P" - Value="I07"/> - <ValueElement CodeSystem="HL70003" DisplayName="PMU/ACK - Terminate practicing person" - Usage="P" - Value="B06"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ORU - Waveform result, unsolicited transmission of requested information" - Usage="P" - Value="W01"/> - <ValueElement CodeSystem="HL70003" DisplayName="EAR/ACK - Automated equipment response" - Usage="P" - Value="U08"/> - <ValueElement CodeSystem="HL70003" DisplayName="DSR/ACK - Deferred response to a query" - Usage="P" - Value="Q03"/> - <ValueElement CodeSystem="HL70003" - DisplayName="RDE - Pharmacy/treatment refill authorization request" - Usage="P" - Value="O25"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ORU/ACK - Unsolicited transmission of an observation message" - Usage="P" - Value="R01"/> - <ValueElement CodeSystem="HL70003" - DisplayName="SRM/SRR - Request appointment discontinuation" - Usage="P" - Value="S05"/> - <ValueElement CodeSystem="HL70003" - DisplayName="SIU/ACK - Notification of appointment discontinuation" - Usage="P" - Value="S16"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ADT/ACK - Move visit information - visit number" - Usage="P" - Value="A45"/> - <ValueElement CodeSystem="HL70003" - DisplayName="RSP - Segment pattern response in response to QBP^Q11" - Usage="P" - Value="K11"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Swap patients" Usage="P" - Value="A17"/> - <ValueElement CodeSystem="HL70003" - DisplayName="BRT - Blood product transfusion/disposition acknowledgment" - Usage="P" - Value="O32"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ADT/ACK - Change an inpatient to an outpatient" - Usage="P" - Value="A07"/> - <ValueElement CodeSystem="HL70003" - DisplayName="SRM/SRR - Request deletion of service/resource on appointment" - Usage="P" - Value="S11"/> - <ValueElement CodeSystem="HL70003" DisplayName="PMU/ACK - Delete personnel re cord" Usage="P" - Value="B03"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ADT/ACK - Merge patient information - patient ID and account number (for backward compatibility only)" - Usage="P" - Value="A36"/> - <ValueElement CodeSystem="HL70003" - DisplayName="QBP - Query by parameter requesting an RTB - tabular response" - Usage="P" - Value="Q13"/> - <ValueElement CodeSystem="HL70003" - DisplayName="SIU/ACK - Notification of addition of service/resource on appointment" - Usage="P" - Value="S18"/> - <ValueElement CodeSystem="HL70003" DisplayName="OMB - Blood product order" Usage="P" - Value="O27"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ADT/ACK - Merge patient information (for backward compatibility only)" - Usage="P" - Value="A18"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ROR - Pharmacy prescription order query response" - Usage="P" - Value="ROR"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ADT/ACK - Patient goes on a &#34;leave of absence&#34;" - Usage="P" - Value="A21"/> - <ValueElement CodeSystem="HL70003" DisplayName="CSU - Patient completes the clinical trial" - Usage="P" - Value="C10"/> - <ValueElement CodeSystem="HL70003" - DisplayName="MFN/MFK - Clinical study without phases but with schedules master file" - Usage="P" - Value="M07"/> - <ValueElement CodeSystem="HL70003" DisplayName="RSP - Allocate identifiers response" - Usage="P" - Value="K24"/> - <ValueElement CodeSystem="HL70003" DisplayName="SRM/SRR - Request appointment cancellation" - Usage="P" - Value="S04"/> - <ValueElement CodeSystem="HL70003" DisplayName="BAR/ACK - Update Diagnosis/Procedure" - Usage="P" - Value="P12"/> - <ValueElement CodeSystem="HL70003" DisplayName="TBR - Tabular Data Response" Usage="P" - Value="R08"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Cancel admit/visit notification" - Usage="P" - Value="A11"/> - <ValueElement CodeSystem="HL70003" DisplayName="QRF - Waveform result, response to query" - Usage="P" - Value="W02"/> - <ValueElement CodeSystem="HL70003" DisplayName="EQQ - Embedded query language query" - Usage="P" - Value="Q04"/> - <ValueElement CodeSystem="HL70003" - DisplayName="LSR/ACK - Automated equipment log/service request" - Usage="P" - Value="U13"/> - <ValueElement CodeSystem="HL70003" DisplayName="MDM/ACK - Original document notification" - Usage="P" - Value="T01"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ADT/ACK - Change an outpatient to an inpatient" - Usage="P" - Value="A06"/> - <ValueElement CodeSystem="HL70003" DisplayName="EAC/ACK - Automated equipment command" - Usage="P" - Value="U07"/> - <ValueElement CodeSystem="HL70003" DisplayName="QVR - Query for previous events" Usage="P" - Value="Q17"/> - <ValueElement CodeSystem="HL70003" - DisplayName="BAR/ACK -Transmit Ambulatory Payment Classification(APC)" - Usage="P" - Value="P10"/> - <ValueElement CodeSystem="HL70003" DisplayName="ESU/ACK - Automated equipment status update" - Usage="P" - Value="U01"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Update person information" - Usage="P" - Value="A31"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ORF - Response to query; transmission of requested observation" - Usage="P" - Value="R04"/> - <ValueElement CodeSystem="HL70003" - DisplayName="QRY/DSR Display-oriented results, query/unsol. update (for backward compatibility only) (Replaced by Q05)" - Usage="P" - Value="R03"/> - <ValueElement CodeSystem="HL70003" DisplayName="PPV - PC/ goal response" Usage="P" - Value="PCA"/> - <ValueElement CodeSystem="HL70003" DisplayName="VXQ - Query for vaccination record" Usage="P" - Value="V01"/> - <ValueElement CodeSystem="HL70003" - DisplayName="QBP - Query by parameter requesting an RSP segment pattern response" - Usage="P" - Value="Q11"/> - <ValueElement CodeSystem="HL70003" DisplayName="REF/RRI - Cancel patient referral" Usage="P" - Value="I14"/> - <ValueElement CodeSystem="HL70003" - DisplayName="QSX/ACK - Cancel subscription/acknowledge message" - Usage="P" - Value="J02"/> - <ValueElement CodeSystem="HL70003" - DisplayName="SIU/ACK - Notification of appointment modification" - Usage="P" - Value="S14"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Cancel pending transfer" Usage="P" - Value="A26"/> - <ValueElement CodeSystem="HL70003" DisplayName="OMN - Non-stock requisition order" Usage="P" - Value="O07"/> - <ValueElement CodeSystem="HL70003" DisplayName="QRY/QCK - Query sent for deferred response" - Usage="P" - Value="Q02"/> - <ValueElement CodeSystem="HL70003" - DisplayName="RDY - Display response in response to QBP^Q15" - Usage="P" - Value="K15"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Change patient identifier list" - Usage="P" - Value="A47"/> - <ValueElement CodeSystem="HL70003" - DisplayName="INU/ACK - Automated equipment inventory update" - Usage="P" - Value="U05"/> - <ValueElement CodeSystem="HL70003" - DisplayName="SIU/ACK - Notification of appointment deletion" - Usage="P" - Value="S17"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ORL - General laboratory order response message to any OML" - Usage="P" - Value="O22"/> - <ValueElement CodeSystem="HL70003" DisplayName="CRM - Register a patient on a clinical trial" - Usage="P" - Value="C01"/> - <ValueElement CodeSystem="HL70003" - DisplayName="RTB - Tabular response in response to QBP^Q13" - Usage="P" - Value="K13"/> - <ValueElement CodeSystem="HL70003" DisplayName="OMP - Pharmacy/treatment order" Usage="P" - Value="O09"/> - <ValueElement CodeSystem="HL70003" - DisplayName="QBP - Query by parameter requesting an RDY display response" - Usage="P" - Value="Q15"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ADT/ACK - Move account information - patient account number" - Usage="P" - Value="A44"/> - <ValueElement CodeSystem="HL70003" DisplayName="RQI/RPI - Request for insurance information" - Usage="P" - Value="I01"/> - <ValueElement CodeSystem="HL70003" DisplayName="PGL - PC/ goal delete" Usage="P" Value="PC8"/> - <ValueElement CodeSystem="HL70003" DisplayName="SPQ - Stored procedure request" Usage="P" - Value="Q08"/> - <ValueElement CodeSystem="HL70003" DisplayName="ESR/ACK - Automated equipment status request" - Usage="P" - Value="U02"/> - <ValueElement CodeSystem="HL70003" - DisplayName="SIU/ACK - Notification of cancellation of service/resource on appointment" - Usage="P" - Value="S20"/> - <ValueElement CodeSystem="HL70003" DisplayName="VXR - Vaccination record response" Usage="P" - Value="V03"/> - <ValueElement CodeSystem="HL70003" - DisplayName="SRM/SRR - Request modification of service/resource on appointment" - Usage="P" - Value="S08"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Delete a patient record" Usage="P" - Value="A23"/> - <ValueElement CodeSystem="HL70003" DisplayName="PRR - PC/ problem response" Usage="P" - Value="PC5"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Pre-admit a patient" Usage="P" - Value="A05"/> - <ValueElement CodeSystem="HL70003" - DisplayName="SRM/SRR - Request cancellation of service/resource on appointment" - Usage="P" - Value="S09"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Change alternate visit ID" - Usage="P" - Value="A51"/> - <ValueElement CodeSystem="HL70003" - DisplayName="BRP - Blood product dispense status acknowledgment" - Usage="P" - Value="O30"/> - <ValueElement CodeSystem="HL70003" - DisplayName="SIU/ACK - Notification of blocked schedule time slot(s)" - Usage="P" - Value="S23"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Link patient information" - Usage="P" - Value="A24"/> - <ValueElement CodeSystem="HL70003" DisplayName="PPP - PC/ pathway (problem-oriented) delete" - Usage="P" - Value="PCD"/> - <ValueElement CodeSystem="HL70003" DisplayName="SUR - Summary product experience report" - Usage="P" - Value="P09"/> - <ValueElement CodeSystem="HL70003" - DisplayName="CRM - Patient has gone off phase of clinical trial" - Usage="P" - Value="C08"/> - <ValueElement CodeSystem="HL70003" DisplayName="CRM - Patient has gone off a clinical trial" - Usage="P" - Value="C04"/> - <ValueElement CodeSystem="HL70003" - DisplayName="TCU/ACK - Automated equipment test code settings update" - Usage="P" - Value="U10"/> - <ValueElement CodeSystem="HL70003" DisplayName="MDM/ACK - Document edit notification" - Usage="P" - Value="T07"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ORL - Laboratory order response message to a single container of a specimen OML" - Usage="P" - Value="O36"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ORU - Unsolicited Pre-Ordered Point-Of-Care Observation" - Usage="P" - Value="R32"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Change attending doctor" Usage="P" - Value="A54"/> - <ValueElement CodeSystem="HL70003" DisplayName="CRM - Patient enters phase of clinical trial" - Usage="P" - Value="C05"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Change visit number" Usage="P" - Value="A50"/> - <ValueElement CodeSystem="HL70003" - DisplayName="NMQ/NMR - Application management query message" - Usage="P" - Value="N01"/> - <ValueElement CodeSystem="HL70003" DisplayName="QRY - Query for results of observation" - Usage="P" - Value="R02"/> - <ValueElement CodeSystem="HL70003" DisplayName="SRM/SRR - Request appointment modification" - Usage="P" - Value="S03"/> - <ValueElement CodeSystem="HL70003" - DisplayName="MDM/ACK - Document replacement notification and content" - Usage="P" - Value="T10"/> - <ValueElement CodeSystem="HL70003" DisplayName="REF/RRI - Patient referral" Usage="P" - Value="I12"/> - <ValueElement CodeSystem="HL70003" DisplayName="RDE - Pharmacy/treatment encoded order" - Usage="P" - Value="O11"/> - <ValueElement CodeSystem="HL70003" DisplayName="QBP - Allocate identifiers" Usage="P" - Value="Q24"/> - <ValueElement CodeSystem="HL70003" DisplayName="PPP - PC/ pathway (problem-oriented) update" - Usage="P" - Value="PCC"/> - <ValueElement CodeSystem="HL70003" - DisplayName="CRM - Correct/update registration information" - Usage="P" - Value="C03"/> - <ValueElement CodeSystem="HL70003" DisplayName="ORD - Diet order acknowledgment" Usage="P" - Value="O04"/> - <ValueElement CodeSystem="HL70003" DisplayName="ORG/ORL - General clinical order response" - Usage="P" - Value="O20"/> - <ValueElement CodeSystem="HL70003" DisplayName="MFN/MFK - Master files charge description" - Usage="P" - Value="M04"/> - <ValueElement CodeSystem="HL70003" - DisplayName="PTR - PC/ pathway (problem-oriented) query response" - Usage="P" - Value="PCF"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ADT/ACK - Move patient information - patient identifier list" - Usage="P" - Value="A43"/> - <ValueElement CodeSystem="HL70003" - DisplayName="RER - Pharmacy/treatment encoded order information" - Usage="P" - Value="Q29"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Merge visit - visit number" - Usage="P" - Value="A42"/> - <ValueElement CodeSystem="HL70003" - DisplayName="RQI/RPL - Request/receipt of patient selection display list" - Usage="P" - Value="I02"/> - <ValueElement CodeSystem="HL70003" - DisplayName="MDM/ACK - Original document notification and content" - Usage="P" - Value="T02"/> - <ValueElement CodeSystem="HL70003" - DisplayName="MFN/MFK - Master file not otherwise specified (for backward compatibility only)" - Usage="P" - Value="M01"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ADT/ACK - Cancel patient arriving - tracking" - Usage="P" - Value="A32"/> - <ValueElement CodeSystem="HL70003" DisplayName="RSP - Get person demographics response" - Usage="P" - Value="K21"/> - <ValueElement CodeSystem="HL70003" DisplayName="MFN/MFK - Master file - staff practitioner" - Usage="P" - Value="M02"/> - <ValueElement CodeSystem="HL70003" DisplayName="SSR/ACK - specimen status request" Usage="P" - Value="U04"/> - <ValueElement CodeSystem="HL70003" DisplayName="OMI - Imaging order" Usage="P" Value="O23"/> - <ValueElement CodeSystem="HL70003" DisplayName="OSQ/OSR - Query for order status" Usage="P" - Value="Q06"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ADT/ACK - Merge patient - patient identifier list" - Usage="P" - Value="A40"/> - <ValueElement CodeSystem="HL70003" - DisplayName="SIU/ACK - Notification of discontinuation of service/resource on appointment" - Usage="P" - Value="S21"/> - <ValueElement CodeSystem="HL70003" DisplayName="PMU/ACK - Revoke Certificate/Permission" - Usage="P" - Value="B08"/> - <ValueElement CodeSystem="HL70003" DisplayName="PGL - PC/ goal update" Usage="P" Value="PC7"/> - <ValueElement CodeSystem="HL70003" - DisplayName="OML - Laboratory order for multiple orders related to a single container of a specimen" - Usage="P" - Value="O35"/> - <ValueElement CodeSystem="HL70003" DisplayName="PPR - PC/ problem add" Usage="P" Value="PC1"/> - <ValueElement CodeSystem="HL70003" DisplayName="REF/RRI - Request patient referral status" - Usage="P" - Value="I15"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Cancel pre-admit" Usage="P" - Value="A38"/> - <ValueElement CodeSystem="HL70003" - DisplayName="LSU/ACK - Automated equipment log/service update" - Usage="P" - Value="U12"/> - <ValueElement CodeSystem="HL70003" DisplayName="PPP - PC/ pathway (problem-oriented) add" - Usage="P" - Value="PCB"/> - <ValueElement CodeSystem="HL70003" - DisplayName="VXX - Response to vaccination query returning multiple PID matches" - Usage="P" - Value="V02"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Delete person information" - Usage="P" - Value="A29"/> - <ValueElement CodeSystem="HL70003" - DisplayName="RQA/RPA - Request for cancellation of an authorization" - Usage="P" - Value="I11"/> - <ValueElement CodeSystem="HL70003" - DisplayName="SRM/SRR - Request discontinuation of service/resource on appointment" - Usage="P" - Value="S10"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ORP - Pharmacy/treatment order acknowledgment" - Usage="P" - Value="O10"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Cancel change consulting doctor" - Usage="P" - Value="A62"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Discharge/end visit" Usage="P" - Value="A03"/> - <ValueElement CodeSystem="HL70003" - DisplayName="CSU - Update/correction of patient order/result information" - Usage="P" - Value="C12"/> - <ValueElement CodeSystem="HL70003" DisplayName="MDM/ACK - Document addendum notification" - Usage="P" - Value="T05"/> - <ValueElement CodeSystem="HL70003" - DisplayName="RDR - Pharmacy/treatment dispense information" - Usage="P" - Value="Q28"/> - <ValueElement CodeSystem="HL70003" - DisplayName="RQC/RCI - Request for patient clinical information" - Usage="P" - Value="I05"/> - <ValueElement CodeSystem="HL70003" DisplayName="OMS - Stock requisition order" Usage="P" - Value="O05"/> - <ValueElement CodeSystem="HL70003" DisplayName="PMU/ACK - Active practicing person" Usage="P" - Value="B04"/> - <ValueElement CodeSystem="HL70003" - DisplayName="RSP - Personnel Information by Segment Response" - Usage="P" - Value="K25"/> - <ValueElement CodeSystem="HL70003" DisplayName="PMU/ACK - Add personnel record" Usage="P" - Value="B01"/> - <ValueElement CodeSystem="HL70003" DisplayName="SRM/SRR - Request appointment deletion" - Usage="P" - Value="S06"/> - <ValueElement CodeSystem="HL70003" DisplayName="OMG - General clinical order" Usage="P" - Value="O19"/> - <ValueElement CodeSystem="HL70003" - DisplayName="RRA - Pharmacy/treatment administration acknowledgment" - Usage="P" - Value="O18"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Cancel pending discharge" - Usage="P" - Value="A25"/> - <ValueElement CodeSystem="HL70003" DisplayName="QRY - PC/ problem query" Usage="P" - Value="PC4"/> - <ValueElement CodeSystem="HL70003" DisplayName="MDM/ACK - Document cancel notification" - Usage="P" - Value="T11"/> - <ValueElement CodeSystem="HL70003" DisplayName="QRY/DOC - Document query" Usage="P" - Value="T12"/> - <ValueElement CodeSystem="HL70003" - DisplayName="INR/ACK - Automated equipment inventory request" - Usage="P" - Value="U06"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Patient departing - tracking" - Usage="P" - Value="A09"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ORI - Imaging order response message to any OMI" - Usage="P" - Value="O24"/> - <ValueElement CodeSystem="HL70003" DisplayName="BTS - Blood product transfusion/disposition" - Usage="P" - Value="O31"/> - <ValueElement CodeSystem="HL70003" DisplayName="PMU/ACK - Deactivate practicing person" - Usage="P" - Value="B05"/> - <ValueElement CodeSystem="HL70003" DisplayName="RSP - Find candidates response" Usage="P" - Value="K22"/> - <ValueElement CodeSystem="HL70003" DisplayName="RSP - Get corresponding identifiers response" - Usage="P" - Value="K23"/> - <ValueElement CodeSystem="HL70003" - DisplayName="RQA/RPA - Request for modification to an authorization" - Usage="P" - Value="I09"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Update patient information" - Usage="P" - Value="A08"/> - <ValueElement CodeSystem="HL70003" - DisplayName="MFN/MFK - Clinical study with phases and schedules master file" - Usage="P" - Value="M06"/> - <ValueElement CodeSystem="HL70003" DisplayName="OML - Laboratory order" Usage="P" Value="O21"/> - <ValueElement CodeSystem="HL70003" - DisplayName="RQC/RCL - Request/receipt of clinical data listing" - Usage="P" - Value="I06"/> - <ValueElement CodeSystem="HL70003" - DisplayName="SIU/ACK - Notification of deletion of service/resource on appointment" - Usage="P" - Value="S22"/> - <ValueElement CodeSystem="HL70003" - DisplayName="MDM/ACK - Document edit notification and content" - Usage="P" - Value="T08"/> - <ValueElement CodeSystem="HL70003" DisplayName="QCN/ACK - Cancel query/acknowledge message" - Usage="P" - Value="J01"/> - <ValueElement CodeSystem="HL70003" DisplayName="QRY/DSP - Generate bill and A/R statements" - Usage="P" - Value="P04"/> - <ValueElement CodeSystem="HL70003" - DisplayName="RQA/RPA - Request for resubmission of an authorization" - Usage="P" - Value="I10"/> - <ValueElement CodeSystem="HL70003" DisplayName="SRM/SRR - Request appointment rescheduling" - Usage="P" - Value="S02"/> - <ValueElement CodeSystem="HL70003" DisplayName="EAN/ACK - Automated equipment notification" - Usage="P" - Value="U09"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ADT/ACK - Patient returns from a &#34;leave of absence&#34;" - Usage="P" - Value="A22"/> - <ValueElement CodeSystem="HL70003" - DisplayName="SIU/ACK - Notification of modification of service/resource on appointment" - Usage="P" - Value="S19"/> - <ValueElement CodeSystem="HL70003" - DisplayName="MFN/MFK - Master file notification - site defined" - Usage="P" - Value="M14"/> - <ValueElement CodeSystem="HL70003" - DisplayName="MFN/MFK - Inventory item master file notification" - Usage="P" - Value="M15"/> - <ValueElement CodeSystem="HL70003" - DisplayName="RRE - Pharmacy/treatment encoded order acknowledgment" - Usage="P" - Value="O12"/> - <ValueElement CodeSystem="HL70003" - DisplayName="PEX - Unsolicited update individual product experience report" - Usage="P" - Value="P08"/> - <ValueElement CodeSystem="HL70003" - DisplayName="MFN/MFK - Test /observation batteries master file" - Usage="P" - Value="M10"/> - <ValueElement CodeSystem="HL70003" - DisplayName="NMD/ACK - Application management data message (unsolicited)" - Usage="P" - Value="N02"/> - <ValueElement CodeSystem="HL70003" - DisplayName="MDM/ACK - Document status change notification and content" - Usage="P" - Value="T04"/> - <ValueElement CodeSystem="HL70003" DisplayName="BAR/ACK - End account" Usage="P" Value="P06"/> - <ValueElement CodeSystem="HL70003" - DisplayName="OML - Laboratory order for multiple orders related to a single specimen" - Usage="P" - Value="O33"/> - <ValueElement CodeSystem="HL70003" - DisplayName="SIU/ACK - Notification of opened (&#34;unblocked&#34;) schedule time slot(s)" - Usage="P" - Value="S24"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Cancel discharge/end visit" - Usage="P" - Value="A13"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ADT/ACK - Cancel patient departing - tracking" - Usage="P" - Value="A33"/> - <ValueElement CodeSystem="HL70003" DisplayName="BAR/ACK - Add patient accounts" Usage="P" - Value="P01"/> - <ValueElement CodeSystem="HL70003" DisplayName="OUL - Unsolicited laboratory observation" - Usage="P" - Value="R21"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ADT/ACK - Cancel patient returns from a leave of absence" - Usage="P" - Value="A53"/> - <ValueElement CodeSystem="HL70003" - DisplayName="CRM - Cancel patient entering a phase (clerical mistake)" - Usage="P" - Value="C06"/> - <ValueElement CodeSystem="HL70003" DisplayName="RGV - Pharmacy/treatment give" Usage="P" - Value="O15"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Cancel pending admit" Usage="P" - Value="A27"/> - <ValueElement CodeSystem="HL70003" DisplayName="QBP - Personnel Information by Segment Query" - Usage="P" - Value="Q25"/> - <ValueElement CodeSystem="HL70003" DisplayName="PMU/ACK - Update personnel record" Usage="P" - Value="B02"/> - <ValueElement CodeSystem="HL70003" - DisplayName="SQM/SQR - Schedule query message and response" - Usage="P" - Value="S25"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Cancel transfer" Usage="P" - Value="A12"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ADT/ACK - Cancel leave of absence for a patient" - Usage="P" - Value="A52"/> - <ValueElement CodeSystem="HL70003" - DisplayName="CSU - Patient completes a phase of the clinical trial" - Usage="P" - Value="C11"/> - <ValueElement CodeSystem="HL70003" DisplayName="RRG - Pharmacy/treatment give acknowledgment" - Usage="P" - Value="O16"/> - <ValueElement CodeSystem="HL70003" DisplayName="QBP - Get person demographics" Usage="P" - Value="Q21"/> - <ValueElement CodeSystem="HL70003" DisplayName="PPG - PC/ pathway (goal-oriented) add" - Usage="P" - Value="PCG"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ORU - Unsolicited New Point-Of-Care Observation Message - Search For An Order" - Usage="P" - Value="R31"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Change consulting doctor" Usage="P" - Value="A61"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Cancel change attending doctor" - Usage="P" - Value="A55"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Unlink patient information" - Usage="P" - Value="A37"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ORR - Order response (also RRE, RRD, RRG, RRA)" - Usage="P" - Value="O02"/> - <ValueElement CodeSystem="HL70003" DisplayName="QSB - Create subscription" Usage="P" - Value="Q16"/> - <ValueElement CodeSystem="HL70003" DisplayName="BAR/ACK - Update account" Usage="P" - Value="P05"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Transfer a patient" Usage="P" - Value="A02"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ADT/ACK - Merge person information (for backward compatibility only)" - Usage="P" - Value="A30"/> - <ValueElement CodeSystem="HL70003" - DisplayName="OUL - Unsolicited Specimen Oriented Observation Message" - Usage="P" - Value="R22"/> - <ValueElement CodeSystem="HL70003" - DisplayName="RQA/RPA - Request for treatment authorization information" - Usage="P" - Value="I08"/> - <ValueElement CodeSystem="HL70003" DisplayName="RGR - Pharmacy/treatment dose information" - Usage="P" - Value="Q30"/> - <ValueElement CodeSystem="HL70003" - DisplayName="SIU/ACK - Notification of appointment cancellation" - Usage="P" - Value="S15"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ADT/ACK - Merge patient information - patient ID only (for backward compatibility only)" - Usage="P" - Value="A34"/> - <ValueElement CodeSystem="HL70003" - DisplayName="ORL - Laboratory order response message to a multiple order related to single specimen OML" - Usage="P" - Value="O34"/> - <ValueElement CodeSystem="HL70003" DisplayName="RDS - Pharmacy/treatment dispense" Usage="P" - Value="O13"/> - <ValueElement CodeSystem="HL70003" DisplayName="ORS - Stock requisition acknowledgment" - Usage="P" - Value="O06"/> - <ValueElement CodeSystem="HL70003" DisplayName="PGL - PC/ goal add" Usage="P" Value="PC6"/> - <ValueElement CodeSystem="HL70003" DisplayName="VQQ - Virtual table query" Usage="P" - Value="Q07"/> - <ValueElement CodeSystem="HL70003" DisplayName="QRY/ADR - Patient query" Usage="P" - Value="A19"/> - <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Register a patient" Usage="P" - Value="A04"/> - <ValueElement CodeSystem="HL70003" DisplayName="MFN/MFK - Master file notification - general" - Usage="P" - Value="M13"/> - <ValueElement CodeSystem="HL70003" DisplayName="DBP - Dispense History" Usage="P" Value="Q31"/> - <ValueElement CodeSystem="HL70003" - DisplayName="RRE - Pharmacy/Treatment Refill Authorization Acknowledgement" - Usage="P" - Value="O26"/> - <ValueElement CodeSystem="HL70003" DisplayName="ORB - Blood product order acknowledgment" - Usage="P" - Value="O28"/> - <ValueElement CodeSystem="HL70003" DisplayName="QBP - Find candidates" Usage="P" Value="Q22"/> - <ValueElement CodeSystem="HL70003" - DisplayName="RAR - Pharmacy/treatment administration information" - Usage="P" - Value="Q27"/> - <ValueElement CodeSystem="HL70003" DisplayName="DFT/ACK - Post detail financial transaction" - Usage="P" - Value="P03"/> - <ValueElement CodeSystem="HL70003" DisplayName="ERP - Event Replay Response" Usage="P" - Value="R09"/> - <ValueElement CodeSystem="HL70003" DisplayName="BAR/ACK - Purge patient accounts" Usage="P" - Value="P02"/> - <ValueElement CodeSystem="HL70003" - DisplayName="MFN/MFK - Test/observation (categorical) master file" - Usage="P" - Value="M09"/> - <ValueElement CodeSystem="HL70003" - DisplayName="OUL - Unsolicited Specimen Container Oriented Observation Message" - Usage="P" - Value="R23"/> - <ValueElement CodeSystem="HL70003" DisplayName="EDR - Enhanced Display Response" Usage="P" - Value="R07"/> - <ValueElement CodeSystem="HL70003" DisplayName="SSU/ACK - Specimen status update" Usage="P" - Value="U03"/> - <ValueElement CodeSystem="HL70003" DisplayName="PPR - PC/ problem delete" Usage="P" - Value="PC3"/> - <ValueElement CodeSystem="HL70003" - DisplayName="SIU/ACK Notification that patient did not show up for schedule appointment" - Usage="P" - Value="S26"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70211" ContentDefinition="Extensional" - Description="Alternate character sets" - Extensibility="Closed" - Name="Alternate character sets" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70211" - DisplayName="The printable characters from the ISO 8859/1 Character set" - Usage="P" - Value="8859/1"/> - <ValueElement CodeSystem="HL70211" - DisplayName="The printable characters from the ISO 8859/5 Character set" - Usage="P" - Value="8859/5"/> - <ValueElement CodeSystem="HL70211" DisplayName="Code for Korean Character Set (KS X 1001)" - Usage="P" - Value="KS X 1001"/> - <ValueElement CodeSystem="HL70211" - DisplayName="Code for Information Exchange (one byte)(JIS X 0201-1976)." - Usage="P" - Value="ISO IR14"/> - <ValueElement CodeSystem="HL70211" - DisplayName="The printable characters from the ISO 8859/8 Character set" - Usage="P" - Value="8859/8"/> - <ValueElement CodeSystem="HL70211" DisplayName="UCS Transformation Format, 16-bit form" - Usage="P" - Value="UNICODE UTF-16"/> - <ValueElement CodeSystem="HL70211" - DisplayName="Code for the Japanese Graphic Character set for information interchange (JIS X 0208-1990)," - Usage="P" - Value="ISO IR87"/> - <ValueElement CodeSystem="HL70211" - DisplayName="The printable characters from the ISO 8859/6 Character set" - Usage="P" - Value="8859/6"/> - <ValueElement CodeSystem="HL70211" DisplayName="UCS Transformation Format, 8-bit form" - Usage="P" - Value="UNICODE UTF-8"/> - <ValueElement CodeSystem="HL70211" - DisplayName="The printable characters from the ISO 8859/7 Character set" - Usage="P" - Value="8859/7"/> - <ValueElement CodeSystem="HL70211" - DisplayName="The printable characters from the ISO 8859/3 Character set" - Usage="P" - Value="8859/3"/> - <ValueElement CodeSystem="HL70211" - DisplayName="Code for Taiwanese Character Set (CNS 11643-1992)" - Usage="P" - Value="CNS 11643-1992"/> - <ValueElement CodeSystem="HL70211" DisplayName="The printable 7-bit ASCII character set." - Usage="P" - Value="ASCII"/> - <ValueElement CodeSystem="HL70211" - DisplayName="The printable characters from the ISO 8859/2 Character set" - Usage="P" - Value="8859/2"/> - <ValueElement CodeSystem="HL70211" DisplayName="Code for Taiwanese Character Set (BIG-5)" - Usage="P" - Value="BIG-5"/> - <ValueElement CodeSystem="HL70211" - DisplayName="The world wide character standard from ISO/IEC 10646-1-1993" - Usage="P" - Value="UNICODE"/> - <ValueElement CodeSystem="HL70211" - DisplayName="The printable characters from the ISO 8859/9 Character set" - Usage="P" - Value="8859/9"/> - <ValueElement CodeSystem="HL70211" - DisplayName="Code for Chinese Character Set (GB 18030-2000)" - Usage="P" - Value="GB 18030-2000"/> - <ValueElement CodeSystem="HL70211" - DisplayName="Code of the supplementary Japanese Graphic Character set for information interchange (JIS X 0212-1990)." - Usage="P" - Value="ISO IR159"/> - <ValueElement CodeSystem="HL70211" - DisplayName="The printable characters from the ISO 8859/4 Character set" - Usage="P" - Value="8859/4"/> - <ValueElement CodeSystem="HL70211" DisplayName="UCS Transformation Format, 32-bit form" - Usage="P" - Value="UNICODE UTF-32"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70074" ContentDefinition="Extensional" - Description="Diagnostic Service Section ID" - Extensibility="Closed" - Name="Diagnostic Service Section ID" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70074" DisplayName="Cardiac Catheterization" Usage="P" - Value="CTH"/> - <ValueElement CodeSystem="HL70074" DisplayName="Radiation Therapy" Usage="P" Value="RT"/> - <ValueElement CodeSystem="HL70074" DisplayName="Outside Lab" Usage="P" Value="OSL"/> - <ValueElement CodeSystem="HL70074" DisplayName="Physician (Hx. Dx, admission note, etc.)" - Usage="P" - Value="PHY"/> - <ValueElement CodeSystem="HL70074" DisplayName="Vascular Ultrasound" Usage="P" Value="VUS"/> - <ValueElement CodeSystem="HL70074" DisplayName="Electrocardiac (e.g., EKG, EEC, Holter)" - Usage="P" - Value="EC"/> - <ValueElement CodeSystem="HL70074" DisplayName="Radiograph" Usage="P" Value="RX"/> - <ValueElement CodeSystem="HL70074" DisplayName="Audiology" Usage="P" Value="AU"/> - <ValueElement CodeSystem="HL70074" DisplayName="Occupational Therapy" Usage="P" Value="OT"/> - <ValueElement CodeSystem="HL70074" DisplayName="Physical Therapy" Usage="P" Value="PT"/> - <ValueElement CodeSystem="HL70074" DisplayName="Virology" Usage="P" Value="VR"/> - <ValueElement CodeSystem="HL70074" DisplayName="Microbiology" Usage="P" Value="MB"/> - <ValueElement CodeSystem="HL70074" DisplayName="OB Ultrasound" Usage="P" Value="OUS"/> - <ValueElement CodeSystem="HL70074" DisplayName="Cineradiograph" Usage="P" Value="XRC"/> - <ValueElement CodeSystem="HL70074" DisplayName="Other" Usage="P" Value="OTH"/> - <ValueElement CodeSystem="HL70074" DisplayName="Cardiac Ultrasound" Usage="P" Value="CUS"/> - <ValueElement CodeSystem="HL70074" DisplayName="Surgical Pathology" Usage="P" Value="SP"/> - <ValueElement CodeSystem="HL70074" DisplayName="Hematology" Usage="P" Value="HM"/> - <ValueElement CodeSystem="HL70074" DisplayName="Cytopathology" Usage="P" Value="CP"/> - <ValueElement CodeSystem="HL70074" DisplayName="Mycobacteriology" Usage="P" Value="MCB"/> - <ValueElement CodeSystem="HL70074" DisplayName="Electroneuro (EEG, EMG,EP,PSG)" Usage="P" - Value="EN"/> - <ValueElement CodeSystem="HL70074" DisplayName="Mycology" Usage="P" Value="MYC"/> - <ValueElement CodeSystem="HL70074" DisplayName="Blood Bank" Usage="P" Value="BLB"/> - <ValueElement CodeSystem="HL70074" DisplayName="Blood Gases" Usage="P" Value="BG"/> - <ValueElement CodeSystem="HL70074" DisplayName="Chemistry" Usage="P" Value="CH"/> - <ValueElement CodeSystem="HL70074" DisplayName="Toxicology" Usage="P" Value="TX"/> - <ValueElement CodeSystem="HL70074" DisplayName="Laboratory" Usage="P" Value="LAB"/> - <ValueElement CodeSystem="HL70074" DisplayName="Nuclear Medicine Scan" Usage="P" Value="NMS"/> - <ValueElement CodeSystem="HL70074" DisplayName="Pulmonary Function" Usage="P" Value="PF"/> - <ValueElement CodeSystem="HL70074" DisplayName="CAT Scan" Usage="P" Value="CT"/> - <ValueElement CodeSystem="HL70074" DisplayName="Radiology Ultrasound" Usage="P" Value="RUS"/> - <ValueElement CodeSystem="HL70074" DisplayName="Serology" Usage="P" Value="SR"/> - <ValueElement CodeSystem="HL70074" DisplayName="Nuclear Magnetic Resonance" Usage="P" - Value="NMR"/> - <ValueElement CodeSystem="HL70074" DisplayName="Bedside ICU Monitoring" Usage="P" Value="ICU"/> - <ValueElement CodeSystem="HL70074" DisplayName="Pharmacy" Usage="P" Value="PHR"/> - <ValueElement CodeSystem="HL70074" DisplayName="Respiratory Care (therapy)" Usage="P" - Value="RC"/> - <ValueElement CodeSystem="HL70074" DisplayName="Immunology" Usage="P" Value="IMM"/> - <ValueElement CodeSystem="HL70074" DisplayName="Nursing Service Measures" Usage="P" - Value="NRS"/> - <ValueElement CodeSystem="HL70074" DisplayName="Radiology" Usage="P" Value="RAD"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70185" ContentDefinition="Extensional" - Description="Preferred method of contact" - Extensibility="Closed" - Name="Preferred method of contact" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70185" DisplayName="Home Phone Number" Usage="P" Value="H"/> - <ValueElement CodeSystem="HL70185" DisplayName="Cellular Phone Number" Usage="P" Value="C"/> - <ValueElement CodeSystem="HL70185" DisplayName="FAX Number" Usage="P" Value="F"/> - <ValueElement CodeSystem="HL70185" DisplayName="Beeper Number" Usage="P" Value="B"/> - <ValueElement CodeSystem="HL70185" DisplayName="E-Mail Address" Usage="P" Value="E"/> - <ValueElement CodeSystem="HL70185" DisplayName="Office Phone Number" Usage="P" Value="O"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70534" ContentDefinition="Extensional" - Description="Notify Clergy Code" - Extensibility="Closed" - Name="Notify Clergy Code" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70534" DisplayName="Last Rites only" Usage="P" Value="L"/> - <ValueElement CodeSystem="HL70534" DisplayName="Other" Usage="P" Value="O"/> - <ValueElement CodeSystem="HL70534" DisplayName="Unknown" Usage="P" Value="U"/> - <ValueElement CodeSystem="HL70534" DisplayName="Yes" Usage="P" Value="Y"/> - <ValueElement CodeSystem="HL70534" DisplayName="No" Usage="P" Value="N"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70214" ContentDefinition="Extensional" - Description="Special Program Code" - Extensibility="Closed" - Name="Special Program Code" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70214" DisplayName="Unknown" Usage="P" Value="U"/> - <ValueElement CodeSystem="HL70214" DisplayName="Family Planning" Usage="P" Value="FP"/> - <ValueElement CodeSystem="HL70214" DisplayName="Elective Surgery Program" Usage="P" - Value="ES"/> - <ValueElement CodeSystem="HL70214" DisplayName="Child Health Assistance" Usage="P" Value="CH"/> - <ValueElement CodeSystem="HL70214" DisplayName="Other" Usage="P" Value="O"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70489" ContentDefinition="Extensional" - Description="Risk Codes" - Extensibility="Closed" - Name="Risk Codes" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70489" DisplayName="Biological" Usage="P" Value="BIO"/> - <ValueElement CodeSystem="HL70489" DisplayName="Injury Hazard" Usage="P" Value="INJ"/> - <ValueElement CodeSystem="HL70489" DisplayName="Biohazard" Usage="P" Value="BHZ"/> - <ValueElement CodeSystem="HL70489" DisplayName="Escape Risk" Usage="P" Value="ESC"/> - <ValueElement CodeSystem="HL70489" DisplayName="Aggressive" Usage="P" Value="AGG"/> - <ValueElement CodeSystem="HL70489" DisplayName="MaterialDangerInflammable" Usage="P" - Value="IFL"/> - <ValueElement CodeSystem="HL70489" DisplayName="Explosive" Usage="P" Value="EXP"/> - <ValueElement CodeSystem="HL70489" DisplayName="MaterialDangerInfectious" Usage="P" - Value="INF"/> - <ValueElement CodeSystem="HL70489" DisplayName="Poison" Usage="P" Value="POI"/> - <ValueElement CodeSystem="HL70489" DisplayName="Radioactive" Usage="P" Value="RAD"/> - <ValueElement CodeSystem="HL70489" DisplayName="Corrosive" Usage="P" Value="COR"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70431" ContentDefinition="Extensional" - Description="Recreational Drug Use Code" - Extensibility="Closed" - Name="Recreational Drug Use Code" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70431" DisplayName="Unknown" Usage="P" Value="U"/> - <ValueElement CodeSystem="HL70431" DisplayName="Marijuana" Usage="P" Value="M"/> - <ValueElement CodeSystem="HL70431" DisplayName="Tobacco - smoked" Usage="P" Value="T"/> - <ValueElement CodeSystem="HL70431" DisplayName="Kava" Usage="P" Value="K"/> - <ValueElement CodeSystem="HL70431" DisplayName="Other" Usage="P" Value="O"/> - <ValueElement CodeSystem="HL70431" DisplayName="Alcohol" Usage="P" Value="A"/> - <ValueElement CodeSystem="HL70431" DisplayName="Tobacco - chewed" Usage="P" Value="C"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70360" ContentDefinition="Extensional" - Description="Degree/license/certificate" - Extensibility="Closed" - Name="Degree/license/certificate" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70360" DisplayName="Master of Divinity" Usage="P" Value="MDI"/> - <ValueElement CodeSystem="HL70360" DisplayName="Master of Engineering" Usage="P" Value="ME"/> - <ValueElement CodeSystem="HL70360" DisplayName="Registered Pharmacist" Usage="P" Value="RPH"/> - <ValueElement CodeSystem="HL70360" DisplayName="Master of Education" Usage="P" Value="MED"/> - <ValueElement CodeSystem="HL70360" DisplayName="Certified Medical Assistant" Usage="P" - Value="CMA"/> - <ValueElement CodeSystem="HL70360" DisplayName="Medical Assistant" Usage="P" Value="MDA"/> - <ValueElement CodeSystem="HL70360" DisplayName="Emergency Medical Technician" Usage="P" - Value="EMT"/> - <ValueElement CodeSystem="HL70360" DisplayName="Bachelor of Arts" Usage="P" Value="BA"/> - <ValueElement CodeSystem="HL70360" DisplayName="Doctor of Education" Usage="P" Value="DED"/> - <ValueElement CodeSystem="HL70360" DisplayName="Bachelor of Science" Usage="P" Value="BS"/> - <ValueElement CodeSystem="HL70360" DisplayName="Bachelor of Science - Law" Usage="P" - Value="BSL"/> - <ValueElement CodeSystem="HL70360" DisplayName="Bachelor of Theology" Usage="P" Value="BT"/> - <ValueElement CodeSystem="HL70360" DisplayName="Associate of Engineering" Usage="P" - Value="AE"/> - <ValueElement CodeSystem="HL70360" DisplayName="Non-Graduate" Usage="P" Value="NG"/> - <ValueElement CodeSystem="HL70360" DisplayName="Certified Pediatric Nurse Practitioner" - Usage="P" - Value="CPNP"/> - <ValueElement CodeSystem="HL70360" DisplayName="Master of Science - Nursing" Usage="P" - Value="MSN"/> - <ValueElement CodeSystem="HL70360" DisplayName="Bachelor of Nursing" Usage="P" Value="BN"/> - <ValueElement CodeSystem="HL70360" DisplayName="Family Practice Nurse Practitioner" Usage="P" - Value="FPNP"/> - <ValueElement CodeSystem="HL70360" DisplayName="Doctor of Business Administration" Usage="P" - Value="DBA"/> - <ValueElement CodeSystem="HL70360" DisplayName="Trade School Graduate" Usage="P" Value="TS"/> - <ValueElement CodeSystem="HL70360" DisplayName="Certified Registered Nurse" Usage="P" - Value="CRN"/> - <ValueElement CodeSystem="HL70360" DisplayName="Bachelor of Business Administration" - Usage="P" - Value="BBA"/> - <ValueElement CodeSystem="HL70360" DisplayName="Doctor of Engineering" Usage="P" Value="PHE"/> - <ValueElement CodeSystem="HL70360" DisplayName="Master of Electrical Engineering" Usage="P" - Value="MEE"/> - <ValueElement CodeSystem="HL70360" DisplayName="Master of Civil Engineering" Usage="P" - Value="MCE"/> - <ValueElement CodeSystem="HL70360" DisplayName="Doctor of Philosophy" Usage="P" Value="PHD"/> - <ValueElement CodeSystem="HL70360" DisplayName="Associate of Business Administration" - Usage="P" - Value="ABA"/> - <ValueElement CodeSystem="HL70360" DisplayName="Certificate" Usage="P" Value="CER"/> - <ValueElement CodeSystem="HL70360" DisplayName="Certified Nurse Midwife" Usage="P" - Value="CNM"/> - <ValueElement CodeSystem="HL70360" DisplayName="Certified Adult Nurse Practitioner" Usage="P" - Value="CANP"/> - <ValueElement CodeSystem="HL70360" DisplayName="Doctor of Medicine" Usage="P" Value="MD"/> - <ValueElement CodeSystem="HL70360" DisplayName="High School Graduate" Usage="P" Value="HS"/> - <ValueElement CodeSystem="HL70360" DisplayName="Bachelor on Science - Nursing" Usage="P" - Value="BSN"/> - <ValueElement CodeSystem="HL70360" DisplayName="Certified Nurse Practitioner" Usage="P" - Value="CNP"/> - <ValueElement CodeSystem="HL70360" DisplayName="Master of Science" Usage="P" Value="MS"/> - <ValueElement CodeSystem="HL70360" DisplayName="Bachelor or Engineering" Usage="P" Value="BE"/> - <ValueElement CodeSystem="HL70360" DisplayName="Doctor of Pharmacy" Usage="P" Value="PharmD"/> - <ValueElement CodeSystem="HL70360" DisplayName="Certified Nurse Specialist" Usage="P" - Value="CNS"/> - <ValueElement CodeSystem="HL70360" DisplayName="Master of Mechanical Engineering" Usage="P" - Value="MME"/> - <ValueElement CodeSystem="HL70360" DisplayName="Doctor of Science" Usage="P" Value="PHS"/> - <ValueElement CodeSystem="HL70360" DisplayName="Advanced Practice Nurse" Usage="P" Value="PN"/> - <ValueElement CodeSystem="HL70360" DisplayName="Associate of Applied Science" Usage="P" - Value="AAS"/> - <ValueElement CodeSystem="HL70360" DisplayName="Bachelor of Fine Arts" Usage="P" Value="BFA"/> - <ValueElement CodeSystem="HL70360" DisplayName="Emergency Medical Technician - Paramedic" - Usage="P" - Value="EMTP"/> - <ValueElement CodeSystem="HL70360" DisplayName="Master of Fine Arts" Usage="P" Value="MFA"/> - <ValueElement CodeSystem="HL70360" DisplayName="Associate of Science" Usage="P" Value="AS"/> - <ValueElement CodeSystem="HL70360" DisplayName="Associate of Arts" Usage="P" Value="AA"/> - <ValueElement CodeSystem="HL70360" DisplayName="Master of Science - Law" Usage="P" - Value="MSL"/> - <ValueElement CodeSystem="HL70360" DisplayName="Nurse Practitioner" Usage="P" Value="NP"/> - <ValueElement CodeSystem="HL70360" DisplayName="Registered Medical Assistant" Usage="P" - Value="RMA"/> - <ValueElement CodeSystem="HL70360" DisplayName="Diploma" Usage="P" Value="DIP"/> - <ValueElement CodeSystem="HL70360" DisplayName="Juris Doctor" Usage="P" Value="JD"/> - <ValueElement CodeSystem="HL70360" DisplayName="Master of Arts" Usage="P" Value="MA"/> - <ValueElement CodeSystem="HL70360" DisplayName="Physician Assistant" Usage="P" Value="PA"/> - <ValueElement CodeSystem="HL70360" DisplayName="Master of Theology" Usage="P" Value="MT"/> - <ValueElement CodeSystem="HL70360" DisplayName="Doctor of Osteopathy" Usage="P" Value="DO"/> - <ValueElement CodeSystem="HL70360" DisplayName="Master of Business Administration" Usage="P" - Value="MBA"/> - <ValueElement CodeSystem="HL70360" DisplayName="Secretarial Certificate" Usage="P" - Value="SEC"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70529" ContentDefinition="Extensional" - Description="Precision" - Extensibility="Closed" - Name="Precision" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70529" DisplayName="second" Usage="P" Value="S"/> - <ValueElement CodeSystem="HL70529" DisplayName="day" Usage="P" Value="D"/> - <ValueElement CodeSystem="HL70529" DisplayName="hour" Usage="P" Value="H"/> - <ValueElement CodeSystem="HL70529" DisplayName="year" Usage="P" Value="Y"/> - <ValueElement CodeSystem="HL70529" DisplayName="month" Usage="P" Value="L"/> - <ValueElement CodeSystem="HL70529" DisplayName="minute" Usage="P" Value="M"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70073" ContentDefinition="Extensional" - Description="Interest Rate Code" - Extensibility="Closed" - Name="Interest Rate Code" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70490" ContentDefinition="Extensional" - Description="Specimen Reject Reason" - Extensibility="Closed" - Name="Specimen Reject Reason" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70490" DisplayName="Missing patient name" Usage="P" Value="RE"/> - <ValueElement CodeSystem="HL70490" DisplayName="Name misspelling" Usage="P" Value="RS"/> - <ValueElement CodeSystem="HL70490" DisplayName="Missing collection date" Usage="P" Value="RD"/> - <ValueElement CodeSystem="HL70490" DisplayName="Expired" Usage="P" Value="EX"/> - <ValueElement CodeSystem="HL70490" DisplayName="Quantity not sufficient" Usage="P" Value="QS"/> - <ValueElement CodeSystem="HL70490" DisplayName="Broken container" Usage="P" Value="RB"/> - <ValueElement CodeSystem="HL70490" DisplayName="Hemolysis" Usage="P" Value="RH"/> - <ValueElement CodeSystem="HL70490" DisplayName="Clotting" Usage="P" Value="RC"/> - <ValueElement CodeSystem="HL70490" DisplayName="Missing phlebotomist ID" Usage="P" Value="RP"/> - <ValueElement CodeSystem="HL70490" DisplayName="Contamination" Usage="P" Value="RN"/> - <ValueElement CodeSystem="HL70490" DisplayName="Missing patient ID number" Usage="P" - Value="RA"/> - <ValueElement CodeSystem="HL70490" DisplayName="Identification problem" Usage="P" Value="RI"/> - <ValueElement CodeSystem="HL70490" DisplayName="Improper storage" Usage="P" Value="RR"/> - <ValueElement CodeSystem="HL70490" DisplayName="Labeling" Usage="P" Value="RM"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70494" ContentDefinition="Extensional" - Description="Specimen Child Role" - Extensibility="Closed" - Name="Specimen Child Role" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70494" DisplayName="Aliquot" Usage="P" Value="A"/> - <ValueElement CodeSystem="HL70494" DisplayName="Component" Usage="P" Value="C"/> - <ValueElement CodeSystem="HL70494" DisplayName="Modified from original specimen" Usage="P" - Value="M"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70507" ContentDefinition="Extensional" - Description="Observation Result Handling" - Extensibility="Closed" - Name="Observation Result Handling" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70507" DisplayName="Notify provider when ready" Usage="P" - Value="N"/> - <ValueElement CodeSystem="HL70507" DisplayName="Film-with-patient" Usage="P" Value="F"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70465" ContentDefinition="Extensional" - Description="Name/address representation" - Extensibility="Closed" - Name="Name/address representation" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70465" - DisplayName="Alphabetic (i.e., Default or some single-byte)" - Usage="P" - Value="A"/> - <ValueElement CodeSystem="HL70465" DisplayName="Ideographic (i.e., Kanji)" Usage="P" - Value="I"/> - <ValueElement CodeSystem="HL70465" - DisplayName="Phonetic (i.e., ASCII, Katakana, Hiragana, etc.)" - Usage="P" - Value="P"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70434" ContentDefinition="Extensional" - Description="Patient Condition Code" - Extensibility="Closed" - Name="Patient Condition Code" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70434" DisplayName="Satisfactory" Usage="P" Value="A"/> - <ValueElement CodeSystem="HL70434" DisplayName="Stable" Usage="P" Value="S"/> - <ValueElement CodeSystem="HL70434" DisplayName="Unknown" Usage="P" Value="U"/> - <ValueElement CodeSystem="HL70434" DisplayName="Poor" Usage="P" Value="P"/> - <ValueElement CodeSystem="HL70434" DisplayName="Other" Usage="P" Value="O"/> - <ValueElement CodeSystem="HL70434" DisplayName="Critical" Usage="P" Value="C"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70303" ContentDefinition="Extensional" Description="Room" - Extensibility="Closed" - Name="Room" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70021" ContentDefinition="Extensional" - Description="Bad Debt Agency Code" - Extensibility="Closed" - Name="Bad Debt Agency Code" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70113" ContentDefinition="Extensional" - Description="Discharged to location" - Extensibility="Closed" - Name="Discharged to location" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70088" ContentDefinition="Extensional" - Description="Procedure Code" - Extensibility="Closed" - Name="Procedure Code" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70363" ContentDefinition="Extensional" - Description="Assigning authority" - Extensibility="Closed" - Name="Assigning authority" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70493" ContentDefinition="Extensional" - Description="Specimen Condition" - Extensibility="Closed" - Name="Specimen Condition" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70493" DisplayName="Clotted" Usage="P" Value="CLOT"/> - <ValueElement CodeSystem="HL70493" DisplayName="Hemolyzed" Usage="P" Value="HEM"/> - <ValueElement CodeSystem="HL70493" DisplayName="Cool" Usage="P" Value="COOL"/> - <ValueElement CodeSystem="HL70493" DisplayName="Room temperature" Usage="P" Value="ROOM"/> - <ValueElement CodeSystem="HL70493" DisplayName="Contaminated" Usage="P" Value="CON"/> - <ValueElement CodeSystem="HL70493" DisplayName="Live" Usage="P" Value="LIVE"/> - <ValueElement CodeSystem="HL70493" DisplayName="Autolyzed" Usage="P" Value="AUT"/> - <ValueElement CodeSystem="HL70493" DisplayName="Sample not received" Usage="P" Value="SNR"/> - <ValueElement CodeSystem="HL70493" DisplayName="Frozen" Usage="P" Value="FROZ"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70131" ContentDefinition="Extensional" - Description="Contact Role" - Extensibility="Closed" - Name="Contact Role" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70131" DisplayName="State Agency" Usage="P" Value="S"/> - <ValueElement CodeSystem="HL70131" DisplayName="Emergency Contact" Usage="P" Value="C"/> - <ValueElement CodeSystem="HL70131" DisplayName="Unknown" Usage="P" Value="U"/> - <ValueElement CodeSystem="HL70131" DisplayName="Federal Agency" Usage="P" Value="F"/> - <ValueElement CodeSystem="HL70131" DisplayName="Employer" Usage="P" Value="E"/> - <ValueElement CodeSystem="HL70131" DisplayName="Insurance Company" Usage="P" Value="I"/> - <ValueElement CodeSystem="HL70131" DisplayName="Next-of-Kin" Usage="P" Value="N"/> - <ValueElement CodeSystem="HL70131" DisplayName="Other" Usage="P" Value="O"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70543" ContentDefinition="Extensional" - Description="Specimen Collection Site" - Extensibility="Closed" - Name="Specimen Collection Site" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70051" ContentDefinition="Extensional" - Description="Diagnosis Code" - Extensibility="Closed" - Name="Diagnosis Code" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70335" ContentDefinition="Extensional" - Description="Repeat pattern" - Extensibility="Closed" - Name="Repeat pattern" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70335" DisplayName="every &lt;integer&gt; hours" Usage="P" - Value="Q&lt;integer&gt;H"/> - <ValueElement CodeSystem="HL70335" DisplayName="every &lt;integer&gt; minutes" Usage="P" - Value="Q&lt;integer&gt;M"/> - <ValueElement CodeSystem="HL70335" DisplayName="every &lt;integer&gt; seconds" Usage="P" - Value="Q&lt;integer&gt;S"/> - <ValueElement CodeSystem="HL70335" DisplayName="Cibus Diurnus (lunch)" Usage="P" Value="D"/> - <ValueElement CodeSystem="HL70335" DisplayName="Cibus Vespertinus (dinner)" Usage="P" - Value="V"/> - <ValueElement CodeSystem="HL70335" DisplayName="one time only." Usage="P" Value="Once"/> - <ValueElement CodeSystem="HL70335" DisplayName="Ante (before)" Usage="P" Value="A"/> - <ValueElement CodeSystem="HL70335" - DisplayName="during each of three eight-hour shifts at institution-specified times" - Usage="P" - Value="QSHIFT"/> - <ValueElement CodeSystem="HL70335" DisplayName="twice a day at institution-specified times" - Usage="P" - Value="BID"/> - <ValueElement CodeSystem="HL70335" DisplayName="Cibus Matutinus (breakfast)" Usage="P" - Value="M"/> - <ValueElement CodeSystem="HL70335" - DisplayName="service is provided continuously between start time and stop time" - Usage="P" - Value="C"/> - <ValueElement CodeSystem="HL70335" DisplayName="in the evening at institution-specified time" - Usage="P" - Value="QPM"/> - <ValueElement CodeSystem="HL70335" DisplayName="in the morning at institution-specified time" - Usage="P" - Value="QAM"/> - <ValueElement CodeSystem="HL70335" DisplayName="every day before the hour of sleep" Usage="P" - Value="QHS"/> - <ValueElement CodeSystem="HL70335" DisplayName="&lt;timing&gt;C (&#34;cum&#34;)&lt;meal&gt;" Usage="P" - Value="Meal Related Timings"/> - <ValueElement CodeSystem="HL70335" DisplayName="given as needed" Usage="P" Value="PRN"/> - <ValueElement CodeSystem="HL70335" - DisplayName="four times a day at institution-specified times" - Usage="P" - Value="QID"/> - <ValueElement CodeSystem="HL70335" - DisplayName="for future use, where &lt;spec&gt; is an interval specification as defined by the UNIX cron specification." - Usage="P" - Value="U &lt;spec&gt;"/> - <ValueElement CodeSystem="HL70335" DisplayName="where xxx is some frequency code" Usage="P" - Value="PRNxxx"/> - <ValueElement CodeSystem="HL70335" DisplayName="Post (after)" Usage="P" Value="P"/> - <ValueElement CodeSystem="HL70335" DisplayName="every &lt;integer&gt; days" Usage="P" - Value="Q&lt;integer&gt;D"/> - <ValueElement CodeSystem="HL70335" - DisplayName="three times a day at institution-specified times" - Usage="P" - Value="TID"/> - <ValueElement CodeSystem="HL70335" DisplayName="every other day" Usage="P" Value="QOD"/> - <ValueElement CodeSystem="HL70335" DisplayName="every &lt;integer&gt; months (Lunar cycle)" - Usage="P" - Value="Q&lt;integer&gt;L"/> - <ValueElement CodeSystem="HL70335" DisplayName="repeats on a particular day of the week," - Usage="P" - Value="Q&lt;integer&gt;J&lt;day#&gt;"/> - <ValueElement CodeSystem="HL70335" DisplayName="Inter" Usage="P" Value="I"/> - <ValueElement CodeSystem="HL70335" DisplayName="every &lt;integer&gt; weeks" Usage="P" - Value="Q&lt;integer&gt;W"/> - <ValueElement CodeSystem="HL70335" - DisplayName="&#34;X&#34;&#157; times per day at institution-specified times, where X is a numeral 5 or greater." - Usage="P" - Value="xID"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70305" ContentDefinition="Extensional" - Description="Person location type" - Extensibility="Closed" - Name="Person location type" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70305" DisplayName="Home" Usage="P" Value="H"/> - <ValueElement CodeSystem="HL70305" DisplayName="Department" Usage="P" Value="D"/> - <ValueElement CodeSystem="HL70305" DisplayName="Provider's Office" Usage="P" Value="O"/> - <ValueElement CodeSystem="HL70305" DisplayName="Clinic" Usage="P" Value="C"/> - <ValueElement CodeSystem="HL70305" DisplayName="SNF" Usage="P" Value="S"/> - <ValueElement CodeSystem="HL70305" DisplayName="Nursing Unit" Usage="P" Value="N"/> - <ValueElement CodeSystem="HL70305" DisplayName="Phone" Usage="P" Value="P"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70191" ContentDefinition="Extensional" - Description="Type of referenced data" - Extensibility="Closed" - Name="Type of referenced data" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70191" - DisplayName="Machine readable text document (HL7 V2.3.1 and later)" - Usage="P" - Value="TEXT"/> - <ValueElement CodeSystem="HL70191" DisplayName="Formatted text (HL7 V2.2 only)" Usage="P" - Value="FT"/> - <ValueElement CodeSystem="HL70191" - DisplayName="Other application data, typically uninterpreted binary data (HL7 V2.3 and later)" - Usage="P" - Value="AP"/> - <ValueElement CodeSystem="HL70191" DisplayName="MIME multipart package" Usage="P" - Value="multipart"/> - <ValueElement CodeSystem="HL70191" DisplayName="Image data (HL7 V2.3 and later)" Usage="P" - Value="IM"/> - <ValueElement CodeSystem="HL70191" DisplayName="Scanned document (HL7 V2.2 only)" Usage="P" - Value="SD"/> - <ValueElement CodeSystem="HL70191" - DisplayName="Machine readable text document (HL7 V2.2 only)" - Usage="P" - Value="TX"/> - <ValueElement CodeSystem="HL70191" DisplayName="Non-scanned image (HL7 V2.2 only)" Usage="P" - Value="NS"/> - <ValueElement CodeSystem="HL70191" DisplayName="Scanned image (HL7 V2.2 only)" Usage="P" - Value="SI"/> - <ValueElement CodeSystem="HL70191" DisplayName="Audio data (HL7 V2.3 and later)" Usage="P" - Value="AU"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70171" ContentDefinition="Extensional" - Description="Citizenship" - Extensibility="Closed" - Name="Citizenship" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70302" ContentDefinition="Extensional" - Description="Point of care" - Extensibility="Closed" - Name="Point of care" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70503" ContentDefinition="Extensional" - Description="Sequence/Results Flag" - Extensibility="Closed" - Name="Sequence/Results Flag" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70503" DisplayName="Sequential" Usage="P" Value="S"/> - <ValueElement CodeSystem="HL70503" DisplayName="Reserved for future use" Usage="P" Value="R"/> - <ValueElement CodeSystem="HL70503" DisplayName="Cyclical" Usage="P" Value="C"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70444" ContentDefinition="Extensional" - Description="Name assembly order" - Extensibility="Closed" - Name="Name assembly order" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70444" DisplayName="Prefix Family Middle Given Suffix" Usage="P" - Value="F"/> - <ValueElement CodeSystem="HL70444" DisplayName="Prefix Given Middle Family Suffix" Usage="P" - Value="G"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70297" ContentDefinition="Extensional" - Description="CN ID source" - Extensibility="Closed" - Name="CN ID source" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70398" ContentDefinition="Extensional" - Description="Continuation style code" - Extensibility="Closed" - Name="Continuation style code" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70398" DisplayName="Fragmentation" Usage="P" Value="F"/> - <ValueElement CodeSystem="HL70398" DisplayName="Interactive Continuation" Usage="P" Value="I"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70482" ContentDefinition="Extensional" - Description="Order Type" - Extensibility="Closed" - Name="Order Type" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70482" DisplayName="Outpatient Order" Usage="P" Value="O"/> - <ValueElement CodeSystem="HL70482" DisplayName="Inpatient Order" Usage="P" Value="I"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70140" ContentDefinition="Extensional" - Description="Military Service" - Extensibility="Closed" - Name="Military Service" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70140" DisplayName="North Atlantic Treaty Organization" Usage="P" - Value="NATO"/> - <ValueElement CodeSystem="HL70140" DisplayName="Australian Air Force" Usage="P" Value="AUSAF"/> - <ValueElement CodeSystem="HL70140" DisplayName="US Public Health Service" Usage="P" - Value="USPHS"/> - <ValueElement CodeSystem="HL70140" - DisplayName="National Oceanic and Atmospheric Administration" - Usage="P" - Value="NOAA"/> - <ValueElement CodeSystem="HL70140" DisplayName="US Air Force" Usage="P" Value="USAF"/> - <ValueElement CodeSystem="HL70140" DisplayName="US Marine Corps" Usage="P" Value="USMC"/> - <ValueElement CodeSystem="HL70140" DisplayName="Australian Army" Usage="P" Value="AUSA"/> - <ValueElement CodeSystem="HL70140" DisplayName="US Navy" Usage="P" Value="USN"/> - <ValueElement CodeSystem="HL70140" DisplayName="US Army" Usage="P" Value="USA"/> - <ValueElement CodeSystem="HL70140" DisplayName="US Coast Guard" Usage="P" Value="USCG"/> - <ValueElement CodeSystem="HL70140" DisplayName="Australian Navy" Usage="P" Value="AUSN"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70110" ContentDefinition="Extensional" - Description="Transfer to Bad Debt Code" - Extensibility="Closed" - Name="Transfer to Bad Debt Code" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70189" ContentDefinition="Extensional" - Description="Ethnic Group" - Extensibility="Closed" - Name="Ethnic Group" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70189" DisplayName="Hispanic or Latino" Usage="P" Value="H"/> - <ValueElement CodeSystem="HL70189" DisplayName="Not Hispanic or Latino" Usage="P" Value="N"/> - <ValueElement CodeSystem="HL70189" DisplayName="Unknown" Usage="P" Value="U"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70299" ContentDefinition="Extensional" - Description="Encoding" - Extensibility="Closed" - Name="Encoding" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70299" - DisplayName="Hexadecimal encoding - consecutive pairs of hexadecimal digits represent consecutive single octets." - Usage="P" - Value="Hex"/> - <ValueElement CodeSystem="HL70299" - DisplayName="Encoding as defined by MIME (Multipurpose Internet Mail Extensions) standard RFC 1521. Four consecutive ASCII characters represent three consecutive octets of binary data. Base64 utilizes a 65-character subset of US-ASCII, consisting of both the upper and" - Usage="P" - Value="Base64"/> - <ValueElement CodeSystem="HL70299" - DisplayName="No encoding - data are displayable ASCII characters." - Usage="P" - Value="A"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70220" ContentDefinition="Extensional" - Description="Living Arrangement" - Extensibility="Closed" - Name="Living Arrangement" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70220" DisplayName="Relative" Usage="P" Value="R"/> - <ValueElement CodeSystem="HL70220" DisplayName="Unknown" Usage="P" Value="U"/> - <ValueElement CodeSystem="HL70220" DisplayName="Institution" Usage="P" Value="I"/> - <ValueElement CodeSystem="HL70220" DisplayName="Spouse Only" Usage="P" Value="S"/> - <ValueElement CodeSystem="HL70220" DisplayName="Alone" Usage="P" Value="A"/> - <ValueElement CodeSystem="HL70220" DisplayName="Family" Usage="P" Value="F"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70225" ContentDefinition="Extensional" - Description="Escort Required" - Extensibility="Closed" - Name="Escort Required" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70225" DisplayName="Required" Usage="P" Value="R"/> - <ValueElement CodeSystem="HL70225" DisplayName="Unknown" Usage="P" Value="U"/> - <ValueElement CodeSystem="HL70225" DisplayName="Not Required" Usage="P" Value="N"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70300" ContentDefinition="Extensional" - Description="Namespace ID" - Extensibility="Closed" - Name="Namespace ID" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70205" ContentDefinition="Extensional" - Description="Price type" - Extensibility="Closed" - Name="Price type" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70205" DisplayName="technology fee for use of equipment" - Usage="P" - Value="TF"/> - <ValueElement CodeSystem="HL70205" - DisplayName="unit price, may be based on length of procedure or service" - Usage="P" - Value="UP"/> - <ValueElement CodeSystem="HL70205" DisplayName="direct unit cost" Usage="P" Value="DC"/> - <ValueElement CodeSystem="HL70205" DisplayName="professional fee for performing provider" - Usage="P" - Value="PF"/> - <ValueElement CodeSystem="HL70205" DisplayName="total price" Usage="P" Value="TP"/> - <ValueElement CodeSystem="HL70205" DisplayName="administrative price or handling fee" - Usage="P" - Value="AP"/> - <ValueElement CodeSystem="HL70205" DisplayName="indirect unit cost" Usage="P" Value="IC"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70172" ContentDefinition="Extensional" - Description="Veterans Military Status" - Extensibility="Closed" - Name="Veterans Military Status" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70307" ContentDefinition="Extensional" - Description="Building" - Extensibility="Closed" - Name="Building" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70004" ContentDefinition="Extensional" - Description="Patient Class" - Extensibility="Closed" - Name="Patient Class" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70004" DisplayName="Obstetrics" Usage="P" Value="B"/> - <ValueElement CodeSystem="HL70004" DisplayName="Commercial Account" Usage="P" Value="C"/> - <ValueElement CodeSystem="HL70004" DisplayName="Preadmit" Usage="P" Value="P"/> - <ValueElement CodeSystem="HL70004" DisplayName="Outpatient" Usage="P" Value="O"/> - <ValueElement CodeSystem="HL70004" DisplayName="Recurring patient" Usage="P" Value="R"/> - <ValueElement CodeSystem="HL70004" DisplayName="Emergency" Usage="P" Value="E"/> - <ValueElement CodeSystem="HL70004" DisplayName="Not Applicable" Usage="P" Value="N"/> - <ValueElement CodeSystem="HL70004" DisplayName="Inpatient" Usage="P" Value="I"/> - <ValueElement CodeSystem="HL70004" DisplayName="Unknown" Usage="P" Value="U"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70023" ContentDefinition="Extensional" - Description="Admit Source" - Extensibility="Closed" - Name="Admit Source" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70023" DisplayName="Information not available" Usage="P" - Value="9"/> - <ValueElement CodeSystem="HL70023" DisplayName="Clinic referral" Usage="P" Value="2"/> - <ValueElement CodeSystem="HL70023" DisplayName="Transfer from another health care facility" - Usage="P" - Value="6"/> - <ValueElement CodeSystem="HL70023" DisplayName="Transfer from a hospital" Usage="P" Value="4"/> - <ValueElement CodeSystem="HL70023" DisplayName="Emergency room" Usage="P" Value="7"/> - <ValueElement CodeSystem="HL70023" DisplayName="Court/law enforcement" Usage="P" Value="8"/> - <ValueElement CodeSystem="HL70023" DisplayName="Physician referral" Usage="P" Value="1"/> - <ValueElement CodeSystem="HL70023" DisplayName="HMO referral" Usage="P" Value="3"/> - <ValueElement CodeSystem="HL70023" DisplayName="Transfer from a skilled nursing facility" - Usage="P" - Value="5"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70289" ContentDefinition="Extensional" - Description="County/parish" - Extensibility="Closed" - Name="County/parish" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70340" ContentDefinition="Extensional" - Description="Procedure code modifier" - Extensibility="Closed" - Name="Procedure code modifier" - Stability="Static" - Version="2.5.1"/> - <ValueSetDefinition BindingIdentifier="HL70495" ContentDefinition="Extensional" - Description="Body Site Modifier" - Extensibility="Closed" - Name="Body Site Modifier" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70495" DisplayName="Left" Usage="P" Value="L"/> - <ValueElement CodeSystem="HL70495" DisplayName="Quadrant, Right Upper" Usage="P" Value="RUQ"/> - <ValueElement CodeSystem="HL70495" DisplayName="Quadrant, Left Lower" Usage="P" Value="LLQ"/> - <ValueElement CodeSystem="HL70495" DisplayName="Lower" Usage="P" Value="LOW"/> - <ValueElement CodeSystem="HL70495" DisplayName="Right" Usage="P" Value="R"/> - <ValueElement CodeSystem="HL70495" DisplayName="Proximal" Usage="P" Value="PRO"/> - <ValueElement CodeSystem="HL70495" DisplayName="Quadrant, Right Lower" Usage="P" Value="RLQ"/> - <ValueElement CodeSystem="HL70495" DisplayName="Bilateral" Usage="P" Value="BIL"/> - <ValueElement CodeSystem="HL70495" DisplayName="Anterior" Usage="P" Value="ANT"/> - <ValueElement CodeSystem="HL70495" DisplayName="Posterior" Usage="P" Value="POS"/> - <ValueElement CodeSystem="HL70495" DisplayName="Upper" Usage="P" Value="UPP"/> - <ValueElement CodeSystem="HL70495" DisplayName="Medial" Usage="P" Value="MED"/> - <ValueElement CodeSystem="HL70495" DisplayName="Quadrant, Left Upper" Usage="P" Value="LUQ"/> - <ValueElement CodeSystem="HL70495" DisplayName="External" Usage="P" Value="EXT"/> - <ValueElement CodeSystem="HL70495" DisplayName="Distal" Usage="P" Value="DIS"/> - <ValueElement CodeSystem="HL70495" DisplayName="Lateral" Usage="P" Value="LAT"/> - </ValueSetDefinition> - </ValueSetDefinitions> - <ValueSetDefinitions Group="HL7_Profile" Order="2"> - <ValueSetDefinition BindingIdentifier="HL70125NIH" ContentDefinition="Extensional" - Description="Value type" - Extensibility="Closed" - Name="Value type" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70125" DisplayName="Formatted Text (Display)" Usage="P" - Value="FT"/> - <ValueElement CodeSystem="HL70125" DisplayName="Coded with Exceptions" Usage="P" Value="CWE"/> - <ValueElement CodeSystem="HL70125" DisplayName="Extended Person Name" Usage="P" Value="XPN"/> - <ValueElement CodeSystem="HL70125" DisplayName="Extended Telecommunications Number" Usage="P" - Value="XTN"/> - <ValueElement CodeSystem="HL70125" DisplayName="Composite Price" Usage="P" Value="CP"/> - <ValueElement CodeSystem="HL70125" DisplayName="Extended Composite ID With Check Digit" - Usage="P" - Value="CX"/> - <ValueElement CodeSystem="HL70125" DisplayName="Address" Usage="P" Value="AD"/> - <ValueElement CodeSystem="HL70125" DisplayName="Money" Usage="P" Value="MO"/> - <ValueElement CodeSystem="HL70125" DisplayName="Extended Address" Usage="P" Value="XAD"/> - <ValueElement CodeSystem="HL70125" - DisplayName="Extended Composite Name And Number For Organizations" - Usage="P" - Value="XON"/> - <ValueElement CodeSystem="HL70125" DisplayName="Coded Entry" Usage="P" Value="CE"/> - <ValueElement CodeSystem="HL70125" DisplayName="Structured Numeric" Usage="P" Value="SN"/> - <ValueElement CodeSystem="HL70125" DisplayName="Encapsulated Data" Usage="P" Value="ED"/> - <ValueElement CodeSystem="HL70125" DisplayName="String Data." Usage="P" Value="ST"/> - <ValueElement CodeSystem="HL70125" DisplayName="Time" Usage="P" Value="TM"/> - <ValueElement CodeSystem="HL70125" DisplayName="Coded Element With Formatted Values" - Usage="P" - Value="CF"/> - <ValueElement CodeSystem="HL70125" DisplayName="Date" Usage="P" Value="DT"/> - <ValueElement CodeSystem="HL70125" DisplayName="Numeric" Usage="P" Value="NM"/> - <ValueElement CodeSystem="HL70125" DisplayName="Reference Pointer" Usage="P" Value="RP"/> - <ValueElement CodeSystem="HL70125" DisplayName="Time Stamp (Date &amp; Time)" Usage="P" - Value="TS"/> - <ValueElement CodeSystem="HL70125" DisplayName="Text Data (Display)" Usage="P" Value="TX"/> - <ValueElement CodeSystem="HL70125" - DisplayName="Extended Composite Name And Number For Persons" - Usage="P" - Value="XCN"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="OBX5.1" ContentDefinition="Extensional" - Extensibility="Closed" - Name="" - Stability="Static"> - <ValueElement CodeSystem="SCT" DisplayName="null" Usage="P" Value="125157007"/> - <ValueElement CodeSystem="SCT" DisplayName="null" Usage="P" Value="260373001"/> - <ValueElement CodeSystem="SCT" DisplayName="null" Usage="P" Value="45371000124106"/> - <ValueElement CodeSystem="SCT" DisplayName="null" Usage="P" Value="260415000"/> - </ValueSetDefinition> - <ValueSetDefinition BindingIdentifier="HL70301NIH" ContentDefinition="Extensional" - Description="Universal ID type" - Extensibility="Closed" - Name="Universal ID type" - Stability="Static" - Version="2.5.1"> - <ValueElement CodeSystem="HL70301" DisplayName="HL7 registration schemes" Usage="P" - Value="HL7"/> - <ValueElement CodeSystem="HL70301" DisplayName="Universal Unique Identifier" Usage="P" - Value="UUID"/> - <ValueElement CodeSystem="HL70301" DisplayName="globally unique identifier" Usage="P" - Value="GUID"/> - <ValueElement CodeSystem="HL70301" DisplayName="Uniform Resource Identifier" Usage="P" - Value="URI"/> - <ValueElement CodeSystem="HL70301" DisplayName="Clinical Laboratory Improvement Amendments" - Usage="P" - Value="CLIA"/> - <ValueElement CodeSystem="HL70301" DisplayName="Local" Usage="P" Value="N"/> - <ValueElement CodeSystem="HL70301" DisplayName="Random" Usage="P" Value="Random"/> - <ValueElement CodeSystem="HL70301" DisplayName="Domain Name System" Usage="P" Value="DNS"/> - <ValueElement CodeSystem="HL70301" DisplayName="Local" Usage="P" Value="L"/> - <ValueElement CodeSystem="HL70301" - DisplayName="Clinical laboratory Improvement Program. Used by US Department of Defense." - Usage="P" - Value="CLIP"/> - <ValueElement CodeSystem="HL70301" DisplayName="ISO Object Identifier" Usage="P" Value="ISO"/> - <ValueElement CodeSystem="HL70301" DisplayName="CEN Healthcare Coding Identifier" Usage="P" - Value="HCD"/> - <ValueElement CodeSystem="HL70301" DisplayName="X.400 MHS identifier" Usage="P" Value="x400"/> - <ValueElement CodeSystem="HL70301" DisplayName="X500 directory Name" Usage="P" Value="x500"/> - <ValueElement CodeSystem="HL70301" DisplayName="Local" Usage="P" Value="M"/> - </ValueSetDefinition> - </ValueSetDefinitions> + <MetaData Date="No Date Info" Name="RADx MARS" + OrgName="Datapult, an APHL company, in partnership with NIH NIBIB" + Version="2.5.1"/> + <NoValidation> + <BindingIdentifier>HL70046</BindingIdentifier> + <BindingIdentifier>HL70297</BindingIdentifier> + <BindingIdentifier>HL70110</BindingIdentifier> + <BindingIdentifier>HL70288</BindingIdentifier> + <BindingIdentifier>HL70064</BindingIdentifier> + <BindingIdentifier>HL70302</BindingIdentifier> + <BindingIdentifier>HL70219</BindingIdentifier> + <BindingIdentifier>HL70306</BindingIdentifier> + <BindingIdentifier>HL70411</BindingIdentifier> + <BindingIdentifier>HL70117</BindingIdentifier> + <BindingIdentifier>HL70222</BindingIdentifier> + <BindingIdentifier>HL70114</BindingIdentifier> + <BindingIdentifier>HL70129</BindingIdentifier> + <BindingIdentifier>HL70446</BindingIdentifier> + <BindingIdentifier>HL70099</BindingIdentifier> + <BindingIdentifier>HL70328</BindingIdentifier> + <BindingIdentifier>HL70212</BindingIdentifier> + <BindingIdentifier>HL70308</BindingIdentifier> + <BindingIdentifier>HL70113</BindingIdentifier> + <BindingIdentifier>HL70132</BindingIdentifier> + <BindingIdentifier>HL70549</BindingIdentifier> + <BindingIdentifier>HL70295</BindingIdentifier> + <BindingIdentifier>HL70307</BindingIdentifier> + <BindingIdentifier>HL70289</BindingIdentifier> + <BindingIdentifier>HL70021</BindingIdentifier> + <BindingIdentifier>HL70088</BindingIdentifier> + <BindingIdentifier>HL70051</BindingIdentifier> + <BindingIdentifier>HL70218</BindingIdentifier> + <BindingIdentifier>HL70303</BindingIdentifier> + <BindingIdentifier>HL70300</BindingIdentifier> + <BindingIdentifier>HL70111</BindingIdentifier> + <BindingIdentifier>HL70544</BindingIdentifier> + <BindingIdentifier>HL70448</BindingIdentifier> + <BindingIdentifier>HL70541</BindingIdentifier> + <BindingIdentifier>HL70115</BindingIdentifier> + <BindingIdentifier>HL70542</BindingIdentifier> + <BindingIdentifier>HL70045</BindingIdentifier> + <BindingIdentifier>HL70171</BindingIdentifier> + <BindingIdentifier>HL70072</BindingIdentifier> + <BindingIdentifier>HL70476</BindingIdentifier> + <BindingIdentifier>HL70543</BindingIdentifier> + <BindingIdentifier>HL70327</BindingIdentifier> + <BindingIdentifier>HL70073</BindingIdentifier> + <BindingIdentifier>HL70087</BindingIdentifier> + <BindingIdentifier>HL70049</BindingIdentifier> + <BindingIdentifier>HL70032</BindingIdentifier> + <BindingIdentifier>HL70399</BindingIdentifier> + <BindingIdentifier>HL70018</BindingIdentifier> + <BindingIdentifier>HL70304</BindingIdentifier> + <BindingIdentifier>HL70024</BindingIdentifier> + <BindingIdentifier>HL70296</BindingIdentifier> + <BindingIdentifier>HL70333</BindingIdentifier> + <BindingIdentifier>HL70447</BindingIdentifier> + <BindingIdentifier>HL70363</BindingIdentifier> + <BindingIdentifier>HL70340</BindingIdentifier> + <BindingIdentifier>HL70172</BindingIdentifier> + <BindingIdentifier>HL70044</BindingIdentifier> + </NoValidation> + <ValueSetDefinitions Group="HL7_base" Order="1"> + <ValueSetDefinition BindingIdentifier="HL70104" ContentDefinition="Extensional" + Description="Version ID" + Extensibility="Closed" + Name="Version ID" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70104" DisplayName="Release 2.2" Usage="P" Value="2.2"/> + <ValueElement CodeSystem="HL70104" DisplayName="Release 2.5.1" Usage="P" Value="2.5.1"/> + <ValueElement CodeSystem="HL70104" DisplayName="Release 2.4" Usage="P" Value="2.4"/> + <ValueElement CodeSystem="HL70104" DisplayName="Release 2.5" Usage="P" Value="2.5"/> + <ValueElement CodeSystem="HL70104" DisplayName="Demo 2.0" Usage="P" Value="2.0D"/> + <ValueElement CodeSystem="HL70104" DisplayName="Release 2.0" Usage="P" Value="2.0"/> + <ValueElement CodeSystem="HL70104" DisplayName="Release 2. 1" Usage="P" Value="2.1"/> + <ValueElement CodeSystem="HL70104" DisplayName="Release 2.3" Usage="P" Value="2.3"/> + <ValueElement CodeSystem="HL70104" DisplayName="Release 2.3.1" Usage="P" Value="2.3.1"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70495" ContentDefinition="Extensional" + Description="Body Site Modifier" + Extensibility="Closed" + Name="Body Site Modifier" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70495" DisplayName="Left" Usage="P" Value="L"/> + <ValueElement CodeSystem="HL70495" DisplayName="Quadrant, Right Upper" Usage="P" Value="RUQ"/> + <ValueElement CodeSystem="HL70495" DisplayName="Quadrant, Left Lower" Usage="P" Value="LLQ"/> + <ValueElement CodeSystem="HL70495" DisplayName="Lower" Usage="P" Value="LOW"/> + <ValueElement CodeSystem="HL70495" DisplayName="Right" Usage="P" Value="R"/> + <ValueElement CodeSystem="HL70495" DisplayName="Proximal" Usage="P" Value="PRO"/> + <ValueElement CodeSystem="HL70495" DisplayName="Quadrant, Right Lower" Usage="P" Value="RLQ"/> + <ValueElement CodeSystem="HL70495" DisplayName="Bilateral" Usage="P" Value="BIL"/> + <ValueElement CodeSystem="HL70495" DisplayName="Anterior" Usage="P" Value="ANT"/> + <ValueElement CodeSystem="HL70495" DisplayName="Posterior" Usage="P" Value="POS"/> + <ValueElement CodeSystem="HL70495" DisplayName="Upper" Usage="P" Value="UPP"/> + <ValueElement CodeSystem="HL70495" DisplayName="Medial" Usage="P" Value="MED"/> + <ValueElement CodeSystem="HL70495" DisplayName="Quadrant, Left Upper" Usage="P" Value="LUQ"/> + <ValueElement CodeSystem="HL70495" DisplayName="External" Usage="P" Value="EXT"/> + <ValueElement CodeSystem="HL70495" DisplayName="Distal" Usage="P" Value="DIS"/> + <ValueElement CodeSystem="HL70495" DisplayName="Lateral" Usage="P" Value="LAT"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70216" ContentDefinition="Extensional" + Description="Patient Status Code" + Extensibility="Closed" + Name="Patient Status Code" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70216" DisplayName="Discharged Inpatient" Usage="P" Value="DI"/> + <ValueElement CodeSystem="HL70216" DisplayName="Active Inpatient" Usage="P" Value="AI"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70074" ContentDefinition="Extensional" + Description="Diagnostic Service Section ID" + Extensibility="Closed" + Name="Diagnostic Service Section ID" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70074" DisplayName="Cardiac Catheterization" Usage="P" + Value="CTH"/> + <ValueElement CodeSystem="HL70074" DisplayName="Radiation Therapy" Usage="P" Value="RT"/> + <ValueElement CodeSystem="HL70074" DisplayName="Outside Lab" Usage="P" Value="OSL"/> + <ValueElement CodeSystem="HL70074" DisplayName="Physician (Hx. Dx, admission note, etc.)" + Usage="P" + Value="PHY"/> + <ValueElement CodeSystem="HL70074" DisplayName="Vascular Ultrasound" Usage="P" Value="VUS"/> + <ValueElement CodeSystem="HL70074" DisplayName="Electrocardiac (e.g., EKG, EEC, Holter)" + Usage="P" + Value="EC"/> + <ValueElement CodeSystem="HL70074" DisplayName="Radiograph" Usage="P" Value="RX"/> + <ValueElement CodeSystem="HL70074" DisplayName="Audiology" Usage="P" Value="AU"/> + <ValueElement CodeSystem="HL70074" DisplayName="Occupational Therapy" Usage="P" Value="OT"/> + <ValueElement CodeSystem="HL70074" DisplayName="Physical Therapy" Usage="P" Value="PT"/> + <ValueElement CodeSystem="HL70074" DisplayName="Virology" Usage="P" Value="VR"/> + <ValueElement CodeSystem="HL70074" DisplayName="Microbiology" Usage="P" Value="MB"/> + <ValueElement CodeSystem="HL70074" DisplayName="OB Ultrasound" Usage="P" Value="OUS"/> + <ValueElement CodeSystem="HL70074" DisplayName="Cineradiograph" Usage="P" Value="XRC"/> + <ValueElement CodeSystem="HL70074" DisplayName="Other" Usage="P" Value="OTH"/> + <ValueElement CodeSystem="HL70074" DisplayName="Cardiac Ultrasound" Usage="P" Value="CUS"/> + <ValueElement CodeSystem="HL70074" DisplayName="Surgical Pathology" Usage="P" Value="SP"/> + <ValueElement CodeSystem="HL70074" DisplayName="Hematology" Usage="P" Value="HM"/> + <ValueElement CodeSystem="HL70074" DisplayName="Cytopathology" Usage="P" Value="CP"/> + <ValueElement CodeSystem="HL70074" DisplayName="Mycobacteriology" Usage="P" Value="MCB"/> + <ValueElement CodeSystem="HL70074" DisplayName="Electroneuro (EEG, EMG,EP,PSG)" Usage="P" + Value="EN"/> + <ValueElement CodeSystem="HL70074" DisplayName="Mycology" Usage="P" Value="MYC"/> + <ValueElement CodeSystem="HL70074" DisplayName="Blood Bank" Usage="P" Value="BLB"/> + <ValueElement CodeSystem="HL70074" DisplayName="Blood Gases" Usage="P" Value="BG"/> + <ValueElement CodeSystem="HL70074" DisplayName="Chemistry" Usage="P" Value="CH"/> + <ValueElement CodeSystem="HL70074" DisplayName="Toxicology" Usage="P" Value="TX"/> + <ValueElement CodeSystem="HL70074" DisplayName="Laboratory" Usage="P" Value="LAB"/> + <ValueElement CodeSystem="HL70074" DisplayName="Nuclear Medicine Scan" Usage="P" Value="NMS"/> + <ValueElement CodeSystem="HL70074" DisplayName="Pulmonary Function" Usage="P" Value="PF"/> + <ValueElement CodeSystem="HL70074" DisplayName="CAT Scan" Usage="P" Value="CT"/> + <ValueElement CodeSystem="HL70074" DisplayName="Radiology Ultrasound" Usage="P" Value="RUS"/> + <ValueElement CodeSystem="HL70074" DisplayName="Serology" Usage="P" Value="SR"/> + <ValueElement CodeSystem="HL70074" DisplayName="Nuclear Magnetic Resonance" Usage="P" + Value="NMR"/> + <ValueElement CodeSystem="HL70074" DisplayName="Bedside ICU Monitoring" Usage="P" Value="ICU"/> + <ValueElement CodeSystem="HL70074" DisplayName="Pharmacy" Usage="P" Value="PHR"/> + <ValueElement CodeSystem="HL70074" DisplayName="Respiratory Care (therapy)" Usage="P" + Value="RC"/> + <ValueElement CodeSystem="HL70074" DisplayName="Immunology" Usage="P" Value="IMM"/> + <ValueElement CodeSystem="HL70074" DisplayName="Nursing Service Measures" Usage="P" + Value="NRS"/> + <ValueElement CodeSystem="HL70074" DisplayName="Radiology" Usage="P" Value="RAD"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70434" ContentDefinition="Extensional" + Description="Patient Condition Code" + Extensibility="Closed" + Name="Patient Condition Code" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70434" DisplayName="Satisfactory" Usage="P" Value="A"/> + <ValueElement CodeSystem="HL70434" DisplayName="Stable" Usage="P" Value="S"/> + <ValueElement CodeSystem="HL70434" DisplayName="Unknown" Usage="P" Value="U"/> + <ValueElement CodeSystem="HL70434" DisplayName="Poor" Usage="P" Value="P"/> + <ValueElement CodeSystem="HL70434" DisplayName="Other" Usage="P" Value="O"/> + <ValueElement CodeSystem="HL70434" DisplayName="Critical" Usage="P" Value="C"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70211" ContentDefinition="Extensional" + Description="Alternate character sets" + Extensibility="Closed" + Name="Alternate character sets" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70211" + DisplayName="The printable characters from the ISO 8859/1 Character set" + Usage="P" + Value="8859/1"/> + <ValueElement CodeSystem="HL70211" + DisplayName="The printable characters from the ISO 8859/5 Character set" + Usage="P" + Value="8859/5"/> + <ValueElement CodeSystem="HL70211" DisplayName="Code for Korean Character Set (KS X 1001)" + Usage="P" + Value="KS X 1001"/> + <ValueElement CodeSystem="HL70211" + DisplayName="Code for Information Exchange (one byte)(JIS X 0201-1976)." + Usage="P" + Value="ISO IR14"/> + <ValueElement CodeSystem="HL70211" + DisplayName="The printable characters from the ISO 8859/8 Character set" + Usage="P" + Value="8859/8"/> + <ValueElement CodeSystem="HL70211" DisplayName="UCS Transformation Format, 16-bit form" + Usage="P" + Value="UNICODE UTF-16"/> + <ValueElement CodeSystem="HL70211" + DisplayName="Code for the Japanese Graphic Character set for information interchange (JIS X 0208-1990)," + Usage="P" + Value="ISO IR87"/> + <ValueElement CodeSystem="HL70211" + DisplayName="The printable characters from the ISO 8859/6 Character set" + Usage="P" + Value="8859/6"/> + <ValueElement CodeSystem="HL70211" DisplayName="UCS Transformation Format, 8-bit form" + Usage="P" + Value="UNICODE UTF-8"/> + <ValueElement CodeSystem="HL70211" + DisplayName="The printable characters from the ISO 8859/7 Character set" + Usage="P" + Value="8859/7"/> + <ValueElement CodeSystem="HL70211" + DisplayName="The printable characters from the ISO 8859/3 Character set" + Usage="P" + Value="8859/3"/> + <ValueElement CodeSystem="HL70211" + DisplayName="Code for Taiwanese Character Set (CNS 11643-1992)" + Usage="P" + Value="CNS 11643-1992"/> + <ValueElement CodeSystem="HL70211" DisplayName="The printable 7-bit ASCII character set." + Usage="P" + Value="ASCII"/> + <ValueElement CodeSystem="HL70211" + DisplayName="The printable characters from the ISO 8859/2 Character set" + Usage="P" + Value="8859/2"/> + <ValueElement CodeSystem="HL70211" DisplayName="Code for Taiwanese Character Set (BIG-5)" + Usage="P" + Value="BIG-5"/> + <ValueElement CodeSystem="HL70211" + DisplayName="The world wide character standard from ISO/IEC 10646-1-1993" + Usage="P" + Value="UNICODE"/> + <ValueElement CodeSystem="HL70211" + DisplayName="The printable characters from the ISO 8859/9 Character set" + Usage="P" + Value="8859/9"/> + <ValueElement CodeSystem="HL70211" + DisplayName="Code for Chinese Character Set (GB 18030-2000)" + Usage="P" + Value="GB 18030-2000"/> + <ValueElement CodeSystem="HL70211" + DisplayName="Code of the supplementary Japanese Graphic Character set for information interchange (JIS X 0212-1990)." + Usage="P" + Value="ISO IR159"/> + <ValueElement CodeSystem="HL70211" + DisplayName="The printable characters from the ISO 8859/4 Character set" + Usage="P" + Value="8859/4"/> + <ValueElement CodeSystem="HL70211" DisplayName="UCS Transformation Format, 32-bit form" + Usage="P" + Value="UNICODE UTF-32"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70046" ContentDefinition="Extensional" + Description="Credit Rating" + Extensibility="Closed" + Name="Credit Rating" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70297" ContentDefinition="Extensional" + Description="CN ID source" + Extensibility="Closed" + Name="CN ID source" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70110" ContentDefinition="Extensional" + Description="Transfer to Bad Debt Code" + Extensibility="Closed" + Name="Transfer to Bad Debt Code" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70288" ContentDefinition="Extensional" + Description="Census tract" + Extensibility="Closed" + Name="Census tract" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70064" ContentDefinition="Extensional" + Description="Financial class" + Extensibility="Closed" + Name="Financial class" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70433" ContentDefinition="Extensional" + Description="Precaution Code" + Extensibility="Closed" + Name="Precaution Code" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70433" DisplayName="Unknown" Usage="P" Value="U"/> + <ValueElement CodeSystem="HL70433" DisplayName="Deaf" Usage="P" Value="D"/> + <ValueElement CodeSystem="HL70433" DisplayName="Confused" Usage="P" Value="C"/> + <ValueElement CodeSystem="HL70433" DisplayName="Aggressive" Usage="P" Value="A"/> + <ValueElement CodeSystem="HL70433" DisplayName="On IV" Usage="P" Value="I"/> + <ValueElement CodeSystem="HL70433" DisplayName="Other" Usage="P" Value="O"/> + <ValueElement CodeSystem="HL70433" DisplayName="Do not resuscitate" Usage="P" Value="N"/> + <ValueElement CodeSystem="HL70433" DisplayName="Blind" Usage="P" Value="B"/> + <ValueElement CodeSystem="HL70433" DisplayName="Paraplegic" Usage="P" Value="P"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70302" ContentDefinition="Extensional" + Description="Point of care" + Extensibility="Closed" + Name="Point of care" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70038" ContentDefinition="Extensional" + Description="Order status" + Extensibility="Closed" + Name="Order status" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70038" DisplayName="Order has been replaced" Usage="P" Value="RP"/> + <ValueElement CodeSystem="HL70038" DisplayName="Order is on hold" Usage="P" Value="HD"/> + <ValueElement CodeSystem="HL70038" DisplayName="Order was canceled" Usage="P" Value="CA"/> + <ValueElement CodeSystem="HL70038" DisplayName="Order is completed" Usage="P" Value="CM"/> + <ValueElement CodeSystem="HL70038" DisplayName="In process, scheduled" Usage="P" Value="SC"/> + <ValueElement CodeSystem="HL70038" DisplayName="Order was discontinued" Usage="P" Value="DC"/> + <ValueElement CodeSystem="HL70038" DisplayName="In process, unspecified" Usage="P" Value="IP"/> + <ValueElement CodeSystem="HL70038" DisplayName="Some, but not all, results available" + Usage="P" + Value="A"/> + <ValueElement CodeSystem="HL70038" DisplayName="Error, order not found" Usage="P" Value="ER"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70121" ContentDefinition="Extensional" + Description="Response flag" + Extensibility="Closed" + Name="Response flag" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70121" DisplayName="Report exceptions only" Usage="P" Value="E"/> + <ValueElement CodeSystem="HL70121" DisplayName="Same as R, also other associated segments" + Usage="P" + Value="D"/> + <ValueElement CodeSystem="HL70121" DisplayName="Only the MSA segment is returned" Usage="P" + Value="N"/> + <ValueElement CodeSystem="HL70121" DisplayName="Same as D, plus confirmations explicitly" + Usage="P" + Value="F"/> + <ValueElement CodeSystem="HL70121" DisplayName="Same as E, also Replacement and Parent-Child" + Usage="P" + Value="R"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70219" ContentDefinition="Extensional" + Description="Recurring Service Code" + Extensibility="Closed" + Name="Recurring Service Code" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70220" ContentDefinition="Extensional" + Description="Living Arrangement" + Extensibility="Closed" + Name="Living Arrangement" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70220" DisplayName="Relative" Usage="P" Value="R"/> + <ValueElement CodeSystem="HL70220" DisplayName="Unknown" Usage="P" Value="U"/> + <ValueElement CodeSystem="HL70220" DisplayName="Institution" Usage="P" Value="I"/> + <ValueElement CodeSystem="HL70220" DisplayName="Spouse Only" Usage="P" Value="S"/> + <ValueElement CodeSystem="HL70220" DisplayName="Alone" Usage="P" Value="A"/> + <ValueElement CodeSystem="HL70220" DisplayName="Family" Usage="P" Value="F"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70103" ContentDefinition="Extensional" + Description="Processing ID" + Extensibility="Closed" + Name="Processing ID" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70103" DisplayName="Production" Usage="P" Value="P"/> + <ValueElement CodeSystem="HL70103" DisplayName="Training" Usage="P" Value="T"/> + <ValueElement CodeSystem="HL70103" DisplayName="Debugging" Usage="P" Value="D"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70396" ContentDefinition="Extensional" + Description="Coding System" + Extensibility="Closed" + Name="Coding System" + Stability="Static" + Version="2.x"> + <ValueElement CodeSystem="HL70396" DisplayName="Driver???S License Issuing Authority " + Value="HL70333"/> + <ValueElement CodeSystem="HL70396" DisplayName="Remote Control Command " Value="HL70368"/> + <ValueElement CodeSystem="HL70396" DisplayName="Person Location Type " Value="HL70305"/> + <ValueElement CodeSystem="HL70396" DisplayName="Contract Code " Value="HL70044"/> + <ValueElement CodeSystem="HL70396" + DisplayName="College of American Pathologists Electronic Cancer Checklist" + Value="CAPECC"/> + <ValueElement CodeSystem="HL70396" DisplayName="Insurance Company ID Codes " Value="HL70285"/> + <ValueElement CodeSystem="HL70396" DisplayName="Allergy Severity " Value="HL70128"/> + <ValueElement CodeSystem="HL70396" DisplayName="File Level Event Code " Value="HL70178"/> + <ValueElement CodeSystem="HL70396" DisplayName="German Alpha-ID v2015" Value="ALPHAID2015"/> + <ValueElement CodeSystem="HL70396" DisplayName="System Induced Contaminants" Value="HL70374"/> + <ValueElement CodeSystem="HL70396" DisplayName="Allergen Type" Value="HL70127"/> + <ValueElement CodeSystem="HL70396" DisplayName="Sensitivity To Causative Agent Code " + Value="HL70436"/> + <ValueElement CodeSystem="HL70396" DisplayName="GS1 Unique Device Identifier" Value="GS1UDI"/> + <ValueElement CodeSystem="HL70396" DisplayName="Modality " Value="HL70259"/> + <ValueElement CodeSystem="HL70396" DisplayName="Universal Product Code" Value="UPC"/> + <ValueElement CodeSystem="HL70396" DisplayName="Blood Unit Type " Value="HL70566"/> + <ValueElement CodeSystem="HL70396" DisplayName="Blood Product Processing Requirements " + Value="HL70508"/> + <ValueElement CodeSystem="HL70396" DisplayName="Consent Code " Value="HL70059"/> + <ValueElement CodeSystem="HL70396" DisplayName="WHO ATC" Value="WC"/> + <ValueElement CodeSystem="HL70396" + DisplayName="Vaccination - Contraindications, Precautions, and Immunities" + Value="NIP004"/> + <ValueElement CodeSystem="HL70396" DisplayName="PSRO/UR Approval Indicator" Value="HL70449"/> + <ValueElement CodeSystem="HL70396" DisplayName="VIS Bar Codes (IIS)" Value="cdcgs1vis"/> + <ValueElement CodeSystem="HL70396" DisplayName="Race &amp; Ethnicity - CDC" Value="CDCREC"/> + <ValueElement CodeSystem="HL70396" DisplayName="DRG Status Weight At Birth " Value="HL70755"/> + <ValueElement CodeSystem="HL70396" DisplayName="Problem Severity " Value="HL70836"/> + <ValueElement CodeSystem="HL70396" DisplayName="Name Type " Value="HL70200"/> + <ValueElement CodeSystem="HL70396" DisplayName="DRG Grouper Review Code " Value="HL70056"/> + <ValueElement CodeSystem="HL70396" DisplayName="WHO record # code with ASTM extension" + Value="W4"/> + <ValueElement CodeSystem="HL70396" DisplayName="Product/Services Clarification Codes " + Value="HL70561"/> + <ValueElement CodeSystem="HL70396" DisplayName="Query Name " Value="HL70471"/> + <ValueElement CodeSystem="HL70396" DisplayName="Continuation Style Code " Value="HL70398"/> + <ValueElement CodeSystem="HL70396" DisplayName="Practitioner Category " Value="HL70186"/> + <ValueElement CodeSystem="HL70396" DisplayName="G-DRG German DRG Codes v2007" + Value="GDRG2007"/> + <ValueElement CodeSystem="HL70396" DisplayName="Bad Debt Agency Code " Value="HL70021"/> + <ValueElement CodeSystem="HL70396" DisplayName="Assigning Authority " Value="HL70363"/> + <ValueElement CodeSystem="HL70396" DisplayName="Dispense Method " Value="HL70321"/> + <ValueElement CodeSystem="HL70396" DisplayName="Denial Or Rejection Code " Value="HL70460"/> + <ValueElement CodeSystem="HL70396" DisplayName="Item Natural Account Code " Value="HL70320"/> + <ValueElement CodeSystem="HL70396" DisplayName="Clinical Care Classification system" + Value="CCC"/> + <ValueElement CodeSystem="HL70396" DisplayName="Diagnosis Coding Method" Value="HL70053"/> + <ValueElement CodeSystem="HL70396" DisplayName="Amount Class " Value="HL70193"/> + <ValueElement CodeSystem="HL70396" DisplayName="German Alpha-ID v2013" Value="ALPHAID2013"/> + <ValueElement CodeSystem="HL70396" DisplayName="Additive/Preservative " Value="HL70371"/> + <ValueElement CodeSystem="HL70396" DisplayName="Maintenance Cycle " Value="HL70809"/> + <ValueElement CodeSystem="HL70396" DisplayName="Primary Language " Value="HL70296"/> + <ValueElement CodeSystem="HL70396" DisplayName="AS4 Neurophysiology Codes" Value="AS4E"/> + <ValueElement CodeSystem="HL70396" DisplayName="Risk Management Incident Code " + Value="HL70427"/> + <ValueElement CodeSystem="HL70396" DisplayName="Causality Observations " Value="HL70252"/> + <ValueElement CodeSystem="HL70396" DisplayName="Site Administered" Value="HL70034"/> + <ValueElement CodeSystem="HL70396" + DisplayName="NCBI - genomic and chromosome reference sequences" + Value="refSeq-G"/> + <ValueElement CodeSystem="HL70396" DisplayName="ICD 10 Germany v2009" Value="ICD10GM2009"/> + <ValueElement CodeSystem="HL70396" DisplayName="Certification Status " Value="HL70337"/> + <ValueElement CodeSystem="HL70396" DisplayName="Reorder Theory Codes " Value="HL70642"/> + <ValueElement CodeSystem="HL70396" DisplayName="CDC Vaccine Manufacturer Codes" Value="MVX"/> + <ValueElement CodeSystem="HL70396" DisplayName="Pricing Tier Level" Value="HL70966"/> + <ValueElement CodeSystem="HL70396" DisplayName="DRG Procedure Determination Status " + Value="HL70761"/> + <ValueElement CodeSystem="HL70396" DisplayName="Bolus Type " Value="HL70917"/> + <ValueElement CodeSystem="HL70396" + DisplayName="Medically Necessary Duplicate Procedure Reason " + Value="HL70476"/> + <ValueElement CodeSystem="HL70396" DisplayName="Order Control Code Reason" Value="HL70949"/> + <ValueElement CodeSystem="HL70396" DisplayName="Admission Type " Value="HL70007"/> + <ValueElement CodeSystem="HL70396" DisplayName="Health Care Provider Type Code " + Value="HL70452"/> + <ValueElement CodeSystem="HL70396" DisplayName="DRG Payor " Value="HL70229"/> + <ValueElement CodeSystem="HL70396" DisplayName="Relationship Type" Value="HL70948"/> + <ValueElement CodeSystem="HL70396" DisplayName="EPA SRS" Value="EPASRS"/> + <ValueElement CodeSystem="HL70396" DisplayName="Problem Perspective " Value="HL70838"/> + <ValueElement CodeSystem="HL70396" DisplayName="Second Opinion Documentation Received " + Value="HL70152"/> + <ValueElement CodeSystem="HL70396" DisplayName="Second Opinion Status " Value="HL70151"/> + <ValueElement CodePattern="ISO.+" CodeSystem="HL70396" + DisplayName="ISO Defined Codes where nnnn is the ISO table number. (deprecated)" + Value="ISOnnnn"/> + <ValueElement CodeSystem="HL70396" DisplayName="Identifier Type " Value="HL70203"/> + <ValueElement CodeSystem="HL70396" DisplayName="MFN Record-Level Error Return " + Value="HL70181"/> + <ValueElement CodeSystem="HL70396" DisplayName="Transport Arranged " Value="HL70224"/> + <ValueElement CodeSystem="HL70396" DisplayName="POS Codes" Value="POS"/> + <ValueElement CodeSystem="HL70396" DisplayName="Report Source " Value="HL70235"/> + <ValueElement CodeSystem="HL70396" DisplayName="Unique Ingredient Identifier (UNII)" + Value="FDAUNII"/> + <ValueElement CodeSystem="HL70396" DisplayName="Reimbursement Action Code " Value="HL70459"/> + <ValueElement CodeSystem="HL70396" DisplayName="Chemical abstract codes" Value="CAS"/> + <ValueElement CodeSystem="HL70396" DisplayName="Procedure Practitioner Identifier Code Type" + Value="HL70133"/> + <ValueElement CodeSystem="HL70396" DisplayName="Privacy Level " Value="HL70262"/> + <ValueElement CodeSystem="HL70396" DisplayName="Message Structure " Value="HL70354"/> + <ValueElement CodeSystem="HL70396" DisplayName="Overall Claim Disposition Code " + Value="HL70457"/> + <ValueElement CodeSystem="HL70396" DisplayName="Organization Unit " Value="HL70405"/> + <ValueElement CodeSystem="HL70396" DisplayName="Status Of Evaluation " Value="HL70247"/> + <ValueElement CodeSystem="HL70396" DisplayName="Location Cost Center " Value="HL70462"/> + <ValueElement CodeSystem="HL70396" DisplayName="CEN ECG diagnostic codes" Value="CE"/> + <ValueElement CodeSystem="HL70396" DisplayName="Cumulative Dosage Limit UoM " Value="HL70924"/> + <ValueElement CodeSystem="HL70396" DisplayName="Marital Status" Value="HL70002"/> + <ValueElement CodeSystem="HL70396" DisplayName="OCE Modifier Code" Value="CMSOMC"/> + <ValueElement CodeSystem="HL70396" DisplayName="Organ Donor Code " Value="HL70316"/> + <ValueElement CodeSystem="HL70396" DisplayName="HIBCC Unique Device Identifier" + Value="HIBUDI"/> + <ValueElement CodeSystem="HL70396" DisplayName="Relatedness Assessment " Value="HL70250"/> + <ValueElement CodeSystem="HL70396" DisplayName="Immunization Registry Status " + Value="HL70441"/> + <ValueElement CodeSystem="HL70396" DisplayName="Order Workflow Profile " Value="HL70934"/> + <ValueElement CodeSystem="HL70396" DisplayName="OPS Germany v2015" Value="OPS2015"/> + <ValueElement CodeSystem="HL70396" DisplayName="RX Component Type " Value="HL70166"/> + <ValueElement CodeSystem="HL70396" + DisplayName="CDC PHLIP Lab test codes, where LOINC concept is too broad or not yet available, especially as needed for ordering and or lab to lab reporting )" + Value="PLT"/> + <ValueElement CodeSystem="HL70396" DisplayName="Identity May Be Divulged " Value="HL70243"/> + <ValueElement CodeSystem="HL70396" DisplayName="Specimen Action Code " Value="HL70065"/> + <ValueElement CodeSystem="HL70396" DisplayName="Appointment Reason Codes " Value="HL70276"/> + <ValueElement CodeSystem="HL70396" DisplayName="Veterans Military Status " Value="HL70172"/> + <ValueElement CodeSystem="HL70396" DisplayName="FIPS 5-2 (State)" Value="FIPS5_2"/> + <ValueElement CodeSystem="HL70396" DisplayName="Occurrence Span " Value="HL70351"/> + <ValueElement CodeSystem="HL70396" DisplayName="Which Date/Time Status Qualifier" + Value="HL70157"/> + <ValueElement CodeSystem="HL70396" DisplayName="Incident Type Code " Value="HL70428"/> + <ValueElement CodeSystem="HL70396" DisplayName="Device Status " Value="HL70682"/> + <ValueElement CodeSystem="HL70396" DisplayName="Message Waiting Priority " Value="HL70520"/> + <ValueElement CodeSystem="HL70396" DisplayName="Stock Location" Value="HL70012"/> + <ValueElement CodeSystem="HL70396" DisplayName="Operator ID " Value="HL70188"/> + <ValueElement CodeSystem="HL70396" DisplayName="COSTART" Value="CST"/> + <ValueElement CodeSystem="HL70396" DisplayName="Specimen Appropriateness " Value="HL70492"/> + <ValueElement CodeSystem="HL70396" DisplayName="Diet Type " Value="HL70114"/> + <ValueElement CodeSystem="HL70396" DisplayName="Medical Role Executing Physician " + Value="HL70882"/> + <ValueElement CodeSystem="HL70396" DisplayName="Sequence Condition Code " Value="HL70504"/> + <ValueElement CodeSystem="HL70396" DisplayName="FIPS 6-4 (County)" Value="FIPS6_4"/> + <ValueElement CodeSystem="HL70396" DisplayName="Re-Admission Indicator " Value="HL70092"/> + <ValueElement CodeSystem="HL70396" DisplayName="Document Type " Value="HL70270"/> + <ValueElement CodeSystem="HL70396" DisplayName="Source of Payment Typology" Value="PHDSCSOPT"/> + <ValueElement CodeSystem="HL70396" DisplayName="Body Parts " Value="HL70550"/> + <ValueElement CodeSystem="HL70396" DisplayName="Universal ID Type " Value="HL70301"/> + <ValueElement CodeSystem="HL70396" DisplayName="ICD 10 Germany v2007" Value="ICD10GM2007"/> + <ValueElement CodeSystem="HL70396" DisplayName="Patient Class " Value="HL70004"/> + <ValueElement CodeSystem="HL70396" DisplayName="Precaution Code " Value="HL70433"/> + <ValueElement CodeSystem="HL70396" DisplayName="SNOMED topology codes (anatomic sites)" + Value="SNT"/> + <ValueElement CodeSystem="HL70396" DisplayName="Weight Units " Value="HL70567"/> + <ValueElement CodeSystem="HL70396" DisplayName="Precision" Value="HL70529"/> + <ValueElement CodeSystem="HL70396" DisplayName="Segment Action Code " Value="HL70206"/> + <ValueElement CodeSystem="HL70396" DisplayName="Override Reason " Value="HL70519"/> + <ValueElement CodeSystem="HL70396" DisplayName="Cytogenetic (chromosome) location" + Value="Chrom-Loc"/> + <ValueElement CodeSystem="HL70396" DisplayName="Specimen Quality " Value="HL70491"/> + <ValueElement CodeSystem="HL70396" DisplayName="Location Service Code" Value="HL70442"/> + <ValueElement CodeSystem="HL70396" DisplayName="Blood Product Code " Value="HL70426"/> + <ValueElement CodeSystem="HL70396" DisplayName="Transport Destination" Value="HL70943"/> + <ValueElement CodeSystem="HL70396" DisplayName="Disabled Person Code " Value="HL70334"/> + <ValueElement CodeSystem="HL70396" DisplayName="Referral Reason " Value="HL70336"/> + <ValueElement CodeSystem="HL70396" DisplayName="Manufacturers Of Vaccines " Value="HL70227"/> + <ValueElement CodeSystem="HL70396" DisplayName="Item Status " Value="HL70776"/> + <ValueElement CodeSystem="HL70396" DisplayName="Relationship " Value="HL70063"/> + <ValueElement CodeSystem="HL70396" DisplayName="Annotations " Value="HL70317"/> + <ValueElement CodeSystem="HL70396" DisplayName="Charging System" Value="HL70011"/> + <ValueElement CodeSystem="HL70396" DisplayName="Guarantor Type " Value="HL70068"/> + <ValueElement CodeSystem="HL70396" DisplayName="VAERS Report type" Value="NIP010"/> + <ValueElement CodeSystem="HL70396" DisplayName="Occupation (SOC 2000)" Value="SOC"/> + <ValueElement CodeSystem="HL70396" DisplayName="Consent Type " Value="HL70496"/> + <ValueElement CodeSystem="HL70396" DisplayName="Handicap " Value="HL70295"/> + <ValueElement CodeSystem="HL70396" DisplayName="Date/Time Selection Qualifier" + Value="HL70158"/> + <ValueElement CodeSystem="HL70396" DisplayName="Living Will Code " Value="HL70315"/> + <ValueElement CodeSystem="HL70396" DisplayName="HIBCC" Value="HB"/> + <ValueElement CodeSystem="HL70396" DisplayName="User Authentication Credential Type Code " + Value="HL70615"/> + <ValueElement CodeSystem="HL70396" DisplayName="Coordination Of Benefits " Value="HL70173"/> + <ValueElement CodeSystem="HL70396" DisplayName="ClinVar Variant ID" Value="CLINVAR-V"/> + <ValueElement CodeSystem="HL70396" DisplayName="Policy Type " Value="HL70147"/> + <ValueElement CodeSystem="HL70396" DisplayName="Event Expected " Value="HL70239"/> + <ValueElement CodeSystem="HL70396" DisplayName="Hospital Service " Value="HL70069"/> + <ValueElement CodeSystem="HL70396" DisplayName="Charge On Indicator " Value="HL70269"/> + <ValueElement CodeSystem="HL70396" DisplayName="School Type " Value="HL70402"/> + <ValueElement CodeSystem="HL70396" DisplayName="OPS Germany 2005" Value="O3012005"/> + <ValueElement CodeSystem="HL70396" DisplayName="Version ID" Value="HL70104"/> + <ValueElement CodeSystem="HL70396" DisplayName="Plan ID " Value="HL70086"/> + <ValueElement CodeSystem="HL70396" DisplayName="Location Status " Value="HL70306"/> + <ValueElement CodeSystem="HL70396" DisplayName="Maintenance Type " Value="HL70811"/> + <ValueElement CodeSystem="HL70396" DisplayName="Product/Service Code " Value="HL70879"/> + <ValueElement CodeSystem="HL70396" DisplayName="Sequencing " Value="HL70397"/> + <ValueElement CodeSystem="HL70396" DisplayName="Escort Required " Value="HL70225"/> + <ValueElement CodeSystem="HL70396" DisplayName="Intended Procedure Type " Value="HL70933"/> + <ValueElement CodeSystem="HL70396" DisplayName="Cost Center Code " Value="HL70539"/> + <ValueElement CodeSystem="HL70396" DisplayName="Facility " Value="HL70362"/> + <ValueElement CodeSystem="HL70396" DisplayName="Blood Product Dispense Status " + Value="HL70510"/> + <ValueElement CodeSystem="HL70396" DisplayName="Auto-Dilution Type" Value="HL70945"/> + <ValueElement CodeSystem="HL70396" DisplayName="Ensembl transcript reference sequence" + Value="ensembl-T"/> + <ValueElement CodeSystem="HL70396" DisplayName="Other Environmental Factors " Value="HL70377"/> + <ValueElement CodeSystem="HL70396" DisplayName="Route" Value="HL70033"/> + <ValueElement CodeSystem="HL70396" + DisplayName="Notifiable Event (Disease/Condition) Code List" + Value="NND"/> + <ValueElement CodeSystem="HL70396" DisplayName="SNOMED- DICOM Microglossary" Value="SDM"/> + <ValueElement CodeSystem="HL70396" DisplayName="Certification Agency " Value="HL70346"/> + <ValueElement CodeSystem="HL70396" DisplayName="Certification Patient Type " Value="HL70150"/> + <ValueElement CodeSystem="HL70396" DisplayName="Locus Reference Genomic (LRG)" + Value="LRG-RefSeq"/> + <ValueElement CodeSystem="HL70396" DisplayName="ICD 10 Germany v2013" Value="ICD10GM2013"/> + <ValueElement CodeSystem="HL70396" DisplayName="Job Code " Value="HL70327"/> + <ValueElement CodeSystem="HL70396" DisplayName="Citizenship " Value="HL70171"/> + <ValueElement CodeSystem="HL70396" DisplayName="Systemized Nomenclature of Medicine (SNOMED)" + Value="SNM"/> + <ValueElement CodeSystem="HL70396" DisplayName="Paticipation Mode Code" Value="PRTCPTNMODE"/> + <ValueElement CodeSystem="HL70396" DisplayName="HGVS- Genomic syntax" Value="HGVS.g"/> + <ValueElement CodeSystem="HL70396" + DisplayName="Patient Results Release Categorization Scheme" + Value="HL70909"/> + <ValueElement CodeSystem="HL70396" DisplayName="RxTerms-Ingredients Subset" Value="RxT-Ingrd"/> + <ValueElement CodeSystem="HL70396" DisplayName="Visit Indicator " Value="HL70326"/> + <ValueElement CodeSystem="HL70396" DisplayName="Data Types " Value="HL70440"/> + <ValueElement CodeSystem="HL70396" DisplayName="IUPAC/IFCC Component Codes" Value="IUPC"/> + <ValueElement CodeSystem="HL70396" DisplayName="Facility Type " Value="HL70331"/> + <ValueElement CodeSystem="HL70396" DisplayName="CDC BioSense RT observations (Census) - CDC" + Value="CDCOBS"/> + <ValueElement CodeSystem="HL70396" DisplayName="German Alpha-ID v2007" Value="ALPHAID2007"/> + <ValueElement CodeSystem="HL70396" DisplayName="Application Change Type " Value="HL70409"/> + <ValueElement CodeSystem="HL70396" DisplayName="Route Of Administration " Value="HL70162"/> + <ValueElement CodeSystem="HL70396" DisplayName="G-DRG German DRG Codes v 2004" + Value="GDRG2004"/> + <ValueElement CodeSystem="HL70396" DisplayName="ISBT" Value="IBT"/> + <ValueElement CodeSystem="HL70396" DisplayName="Tray Type " Value="HL70379"/> + <ValueElement CodeSystem="HL70396" DisplayName="ICD 10 Germany v2008" Value="ICD10GM2008"/> + <ValueElement CodeSystem="HL70396" DisplayName="Vaccinated at location (facility)" + Value="NIP007"/> + <ValueElement CodeSystem="HL70396" DisplayName="Supply Risk Codes " Value="HL70871"/> + <ValueElement CodeSystem="HL70396" DisplayName="NCBI MedGen disease subset" + Value="Medgen-Dis"/> + <ValueElement CodeSystem="HL70396" DisplayName="Application Error Code " Value="HL70533"/> + <ValueElement CodeSystem="HL70396" DisplayName="Anesthesia Code " Value="HL70019"/> + <ValueElement CodeSystem="HL70396" DisplayName="Shipment Confidentiality " Value="HL70907"/> + <ValueElement CodeSystem="HL70396" DisplayName="Type Of Agreement " Value="HL70098"/> + <ValueElement CodeSystem="HL70396" DisplayName="Provider Adjustment Reason Code " + Value="HL70565"/> + <ValueElement CodeSystem="HL70396" DisplayName="Admit Source " Value="HL70023"/> + <ValueElement CodeSystem="HL70396" DisplayName="Order Status " Value="HL70038"/> + <ValueElement CodeSystem="HL70396" DisplayName="Medicaid" Value="MCD"/> + <ValueElement CodeSystem="HL70396" DisplayName="Process Interruption " Value="HL70923"/> + <ValueElement CodeSystem="HL70396" DisplayName="Formulary Status " Value="HL70478"/> + <ValueElement CodeSystem="HL70396" DisplayName="Order Status Modifier" Value="HL70950"/> + <ValueElement CodeSystem="HL70396" DisplayName="Units Of Time " Value="HL70414"/> + <ValueElement CodeSystem="HL70396" DisplayName="Document Storage Status " Value="HL70275"/> + <ValueElement CodeSystem="HL70396" DisplayName="Limitation Type Codes " Value="HL70940"/> + <ValueElement CodeSystem="HL70396" DisplayName="ICCS" Value="ICS"/> + <ValueElement CodeSystem="HL70396" DisplayName="CDC Methods/Instruments Codes" Value="CDCM"/> + <ValueElement CodeSystem="HL70396" + DisplayName="International Classification of Diseases, 9th Revision, Clinical Modification (ICD-9-CM)" + Value="I9C"/> + <ValueElement CodeSystem="HL70396" DisplayName="Document Completion Status " Value="HL70271"/> + <ValueElement CodeSystem="HL70396" + DisplayName="Observation Result Status Codes Interpretation" + Value="HL70085"/> + <ValueElement CodeSystem="HL70396" DisplayName="German Major v2006 Diagnostic Codes" + Value="GMDC2006"/> + <ValueElement CodeSystem="HL70396" DisplayName="DRG Status Financial Calculation " + Value="HL70742"/> + <ValueElement CodeSystem="HL70396" DisplayName="ICD-10 Australian modification" + Value="ICD10AM"/> + <ValueElement CodeSystem="HL70396" DisplayName="Single Use Device " Value="HL70244"/> + <ValueElement CodeSystem="HL70396" DisplayName="Non-Concur Code/Description " Value="HL70233"/> + <ValueElement CodeSystem="HL70396" DisplayName="Patient Outcome " Value="HL70241"/> + <ValueElement CodeSystem="HL70396" DisplayName="Organization Unit Type " Value="HL70406"/> + <ValueElement CodeSystem="HL70396" DisplayName="Access Restriction Value " Value="HL70717"/> + <ValueElement CodeSystem="HL70396" DisplayName="Department Cost Center " Value="HL70319"/> + <ValueElement CodeSystem="HL70396" DisplayName="Procedure Priority " Value="HL70418"/> + <ValueElement CodeSystem="HL70396" DisplayName="Outlier Type " Value="HL70083"/> + <ValueElement CodeSystem="HL70396" DisplayName="Response Modality " Value="HL70394"/> + <ValueElement CodeSystem="HL70396" DisplayName="Performed By " Value="HL70084"/> + <ValueElement CodeSystem="HL70396" DisplayName="Match Algorithms " Value="HL70393"/> + <ValueElement CodeSystem="HL70396" DisplayName="Transaction Code " Value="HL70132"/> + <ValueElement CodeSystem="HL70396" DisplayName="Event Reported To " Value="HL70236"/> + <ValueElement CodeSystem="HL70396" DisplayName="OPS Germany v2007" Value="OPS2007"/> + <ValueElement CodeSystem="HL70396" DisplayName="Occurrence Code" Value="UB04FL31"/> + <ValueElement CodeSystem="HL70396" DisplayName="Industry (SIC)" Value="SIC"/> + <ValueElement CodeSystem="HL70396" DisplayName="ICD 10 Germany v2012" Value="ICD10GM2012"/> + <ValueElement CodeSystem="HL70396" DisplayName="German Major Diagnostic Codes v2005" + Value="GMDC2005"/> + <ValueElement CodeSystem="HL70396" DisplayName="Telecommunication Use Code " Value="HL70201"/> + <ValueElement CodeSystem="HL70396" DisplayName="License Number " Value="HL70461"/> + <ValueElement CodeSystem="HL70396" DisplayName="Transaction Type " Value="HL70017"/> + <ValueElement CodeSystem="HL70396" DisplayName="NDC Codes " Value="HL70549"/> + <ValueElement CodeSystem="HL70396" DisplayName="Document Confidentiality Status " + Value="HL70272"/> + <ValueElement CodeSystem="HL70396" + DisplayName="CDC Public Health Information Network (PHIN) Question" + Value="PHINQUESTION"/> + <ValueElement CodeSystem="HL70396" DisplayName="Product Available For Inspection " + Value="HL70246"/> + <ValueElement CodeSystem="HL70396" DisplayName="Institution Relationship Type " + Value="HL70538"/> + <ValueElement CodeSystem="HL70396" DisplayName="Flavors of NULL" Value="NULLFL"/> + <ValueElement CodeSystem="HL70396" DisplayName="National Provider Identifier" Value="NPI"/> + <ValueElement CodeSystem="HL70396" DisplayName="DRG Status Patient " Value="HL70739"/> + <ValueElement CodeSystem="HL70396" DisplayName="German Procedure Codes" Value="O301"/> + <ValueElement CodeSystem="HL70396" DisplayName="Query Response Status " Value="HL70208"/> + <ValueElement CodeSystem="HL70396" DisplayName="Processing ID " Value="HL70103"/> + <ValueElement CodeSystem="HL70396" DisplayName="ICHPPC-2" Value="IC2"/> + <ValueElement CodeSystem="HL70396" DisplayName="Purge Status Code " Value="HL70213"/> + <ValueElement CodeSystem="HL70396" DisplayName="Patient Location Type " Value="HL70260"/> + <ValueElement CodeSystem="HL70396" DisplayName="Patient Charge Adjustment " Value="HL70218"/> + <ValueElement CodeSystem="HL70396" DisplayName="DICOM Query Label" Value="DQL"/> + <ValueElement CodeSystem="HL70396" DisplayName="Relevant Clinical Information " + Value="HL70916"/> + <ValueElement CodeSystem="HL70396" DisplayName="ICD9" Value="I9"/> + <ValueElement CodeSystem="HL70396" DisplayName="Location Department " Value="HL70264"/> + <ValueElement CodeSystem="HL70396" DisplayName="Payment Method Code " Value="HL70570"/> + <ValueElement CodeSystem="HL70396" DisplayName="Response Flag " Value="HL70121"/> + <ValueElement CodeSystem="HL70396" DisplayName="Table of HL7 Version 3 ActCode values" + Value="ACTCODE"/> + <ValueElement CodeSystem="HL70396" DisplayName="HGNC-symb" Value="HGNC-Symb"/> + <ValueElement CodeSystem="HL70396" DisplayName="Consent Disclosure Level " Value="HL70500"/> + <ValueElement CodeSystem="HL70396" DisplayName="Bed " Value="HL70304"/> + <ValueElement CodeSystem="HL70396" DisplayName="Billing Category " Value="HL70293"/> + <ValueElement CodeSystem="HL70396" DisplayName="Education Level" Value="EDLEVEL"/> + <ValueElement CodeSystem="HL70396" DisplayName="JLAC/JSLM, nationwide laboratory code" + Value="JC10"/> + <ValueElement CodeSystem="HL70396" DisplayName="Specimen Collection Site " Value="HL70543"/> + <ValueElement CodeSystem="HL70396" DisplayName="Package Type " Value="HL70908"/> + <ValueElement CodeSystem="HL70396" DisplayName="Substance Identifier " Value="HL70451"/> + <ValueElement CodeSystem="HL70396" DisplayName="Message Error Condition Codes " + Value="HL70357"/> + <ValueElement CodeSystem="HL70396" DisplayName="Patient Status Code " Value="HL70216"/> + <ValueElement CodeSystem="HL70396" + DisplayName="Used to indicate that the target of the relationship will be a filtered subset of the total related set of targets. Used when there is a need to limit the number of components to the first, the last, the next, the total, the average or some other filtere" + Value="ACTRELSS"/> + <ValueElement CodeSystem="HL70396" DisplayName="Address Usage " Value="HL70617"/> + <ValueElement CodeSystem="HL70396" DisplayName="Query/Response Format Code" Value="HL70106"/> + <ValueElement CodeSystem="HL70396" DisplayName="Name/Address Representation " Value="HL70465"/> + <ValueElement CodeSystem="HL70396" DisplayName="Alternate Character Sets " Value="HL70211"/> + <ValueElement CodeSystem="HL70396" DisplayName="Employer Information Data " Value="HL70139"/> + <ValueElement CodeSystem="HL70396" DisplayName="Modify Indicator " Value="HL70395"/> + <ValueElement CodeSystem="HL70396" DisplayName="Arm Stick " Value="HL70927"/> + <ValueElement CodeSystem="HL70396" DisplayName="Phlebotomy Status " Value="HL70926"/> + <ValueElement CodeSystem="HL70396" DisplayName="Event Consequence " Value="HL70240"/> + <ValueElement CodeSystem="HL70396" DisplayName="Indication For Use " Value="HL70509"/> + <ValueElement CodeSystem="HL70396" DisplayName="Contract Type" Value="HL70965"/> + <ValueElement CodeSystem="HL70396" DisplayName="U.S. Board on Geographic Names (USGS - GNIS)" + Value="USGSGNIS"/> + <ValueElement CodeSystem="HL70396" DisplayName="SNOMED Clinical Terms" Value="SCT"/> + <ValueElement CodeSystem="HL70396" DisplayName="Ethnic Group " Value="HL70189"/> + <ValueElement CodePattern="NCPDP.+" CodeSystem="HL70396" + DisplayName="NCPDP code list for data element nnnn [as used in segment sss]" + Value="NCPDPnnnnsss"/> + <ValueElement CodeSystem="HL70396" DisplayName="Invoice Type " Value="HL70555"/> + <ValueElement CodeSystem="HL70396" DisplayName="Release Information " Value="HL70093"/> + <ValueElement CodeSystem="HL70396" DisplayName="Condition Code " Value="HL70043"/> + <ValueElement CodeSystem="HL70396" DisplayName="Organization Unit Type " Value="HL70474"/> + <ValueElement CodeSystem="HL70396" DisplayName="PSRO/UR Approval Indicator" Value="HL70349"/> + <ValueElement CodeSystem="HL70396" DisplayName="Vaccines Administered (Code = CVX) " + Value="HL70292"/> + <ValueElement CodeSystem="HL70396" DisplayName="Inactive Reason Code " Value="HL70540"/> + <ValueElement CodeSystem="HL70396" DisplayName="Pharmaceutical Substances " Value="HL70479"/> + <ValueElement CodeSystem="HL70396" DisplayName="Reported adverse event previously" + Value="NIP009"/> + <ValueElement CodeSystem="HL70396" DisplayName="Patient Type " Value="HL70018"/> + <ValueElement CodeSystem="HL70396" DisplayName="Communication Location " Value="HL70939"/> + <ValueElement CodeSystem="HL70396" + DisplayName="Specifies the mode, immediate versus deferred or queued, by which a receiver should communicate its receiver responsibilities." + Value="RSPMODE"/> + <ValueElement CodeSystem="HL70396" DisplayName="Military Rank/Grade " Value="HL70141"/> + <ValueElement CodeSystem="HL70396" DisplayName="Occurrence Span" Value="UB04FL35"/> + <ValueElement CodeSystem="HL70396" DisplayName="Specimen Condition " Value="HL70493"/> + <ValueElement CodeSystem="HL70396" DisplayName="Source Of Comment " Value="HL70105"/> + <ValueElement CodeSystem="HL70396" DisplayName="Telecommunication Equipment Type " + Value="HL70202"/> + <ValueElement CodeSystem="HL70396" DisplayName="Present on Admission" Value="UB04FL67"/> + <ValueElement CodeSystem="HL70396" DisplayName="Omaha System" Value="OHA"/> + <ValueElement CodeSystem="HL70396" DisplayName="CDC PHIN Vocabulary Coding System" + Value="CDCPHINVS"/> + <ValueElement CodeSystem="HL70396" DisplayName="Ensembl genomic reference sequence" + Value="ensembl-G"/> + <ValueElement CodeSystem="HL70396" DisplayName="Role Executing Physician " Value="HL70881"/> + <ValueElement CodeSystem="HL70396" DisplayName="Danger Code" Value="HL70047"/> + <ValueElement CodeSystem="HL70396" DisplayName="German Major Diagnostic Codes v2008" + Value="GMDC2008"/> + <ValueElement CodeSystem="HL70396" DisplayName="Which Date/Time Qualifier" Value="HL70156"/> + <ValueElement CodeSystem="HL70396" DisplayName="Risk Codes" Value="HL70489"/> + <ValueElement CodeSystem="HL70396" DisplayName="Invocation Event " Value="HL70100"/> + <ValueElement CodeSystem="HL70396" DisplayName="Namespace ID " Value="HL70300"/> + <ValueElement CodeSystem="HL70396" DisplayName="Medical Economics Drug Codes" Value="MEDC"/> + <ValueElement CodeSystem="HL70396" DisplayName="UCDS" Value="UC"/> + <ValueElement CodeSystem="HL70396" DisplayName="Application " Value="HL70361"/> + <ValueElement CodeSystem="HL70396" DisplayName="Override Code " Value="HL70521"/> + <ValueElement CodeSystem="HL70396" DisplayName="IUPAC/IFCC Property Codes" Value="IUPP"/> + <ValueElement CodeSystem="HL70396" DisplayName="German Alpha-ID v2011" Value="ALPHAID2011"/> + <ValueElement CodeSystem="HL70396" DisplayName="Device Type" Value="HL70961"/> + <ValueElement CodeSystem="HL70396" DisplayName="Consent Bypass Reason " Value="HL70499"/> + <ValueElement CodeSystem="HL70396" DisplayName="Revenue Code" Value="UB04FL42"/> + <ValueElement CodeSystem="HL70396" DisplayName="Lot Control " Value="HL70659"/> + <ValueElement CodeSystem="HL70396" DisplayName="DICOM Controlled Terminology" Value="DCM"/> + <ValueElement CodeSystem="HL70396" DisplayName="Country Code" Value="HL70399"/> + <ValueElement CodeSystem="HL70396" DisplayName="German Alpha-ID v2008" Value="ALPHAID2008"/> + <ValueElement CodeSystem="HL70396" DisplayName="Weight Units " Value="HL70929"/> + <ValueElement CodeSystem="HL70396" DisplayName="Religion " Value="HL70006"/> + <ValueElement CodeSystem="HL70396" DisplayName="Revenue Code " Value="HL70456"/> + <ValueElement CodeSystem="HL70396" DisplayName="Case Category Code " Value="HL70423"/> + <ValueElement CodeSystem="HL70396" DisplayName="Diagnosis Classification " Value="HL70228"/> + <ValueElement CodeSystem="HL70396" DisplayName="Report Priority" Value="HL70109"/> + <ValueElement CodeSystem="HL70396" DisplayName="Deferred Response Type" Value="HL70107"/> + <ValueElement CodeSystem="HL70396" DisplayName="German Alpha-ID v2013" Value="ALPHAID2012"/> + <ValueElement CodeSystem="HL70396" DisplayName="Courtesy Code " Value="HL70045"/> + <ValueElement CodeSystem="HL70396" DisplayName="Report Types" Value="HL70075"/> + <ValueElement CodeSystem="HL70396" DisplayName="OPS Germany v2011" Value="OPS2011"/> + <ValueElement CodeSystem="HL70396" DisplayName="Priority (Type) of Visit" Value="UB04FL14"/> + <ValueElement CodeSystem="HL70396" DisplayName="American College of Radiology finding codes" + Value="ACR"/> + <ValueElement CodeSystem="HL70396" + DisplayName="IHE Laboratory Analytical Workflow (LAW) Profile Codes." + Value="IHELAW"/> + <ValueElement CodeSystem="HL70396" DisplayName="Provider Tax Status " Value="HL70572"/> + <ValueElement CodeSystem="HL70396" DisplayName="UPIN" Value="UPIN"/> + <ValueElement CodeSystem="HL70396" DisplayName="Payee Relationship To Invoice " + Value="HL70558"/> + <ValueElement CodeSystem="HL70396" DisplayName="German Alpha-ID v2009" Value="ALPHAID2009"/> + <ValueElement CodeSystem="HL70396" DisplayName="Observation Sub-Type " Value="HL70937"/> + <ValueElement CodeSystem="HL70396" DisplayName="G-DRG German DRG Codes v 2006" + Value="GDRG2006"/> + <ValueElement CodeSystem="HL70396" DisplayName="Container Common Name" Value="HL70969"/> + <ValueElement CodeSystem="HL70396" DisplayName="Container Condition " Value="HL70544"/> + <ValueElement CodeSystem="HL70396" DisplayName="Status Admission " Value="HL70759"/> + <ValueElement CodeSystem="HL70396" DisplayName="HGVS-Protein syntax" Value="HGVS.p"/> + <ValueElement CodeSystem="HL70396" DisplayName="Analyte Repeat Status " Value="HL70389"/> + <ValueElement CodeSystem="HL70396" DisplayName="CDC Vaccine Codes" Value="CVX"/> + <ValueElement CodeSystem="HL70396" DisplayName="Census Tract " Value="HL70288"/> + <ValueElement CodeSystem="HL70396" DisplayName="Health Outcomes" Value="HI"/> + <ValueElement CodeSystem="HL70396" DisplayName="Job Status " Value="HL70311"/> + <ValueElement CodeSystem="HL70396" DisplayName="Controlled Substance Schedule " + Value="HL70477"/> + <ValueElement CodeSystem="HL70396" DisplayName="Sequence/Results Flag " Value="HL70503"/> + <ValueElement CodeSystem="HL70396" DisplayName="Coding System " Value="HL70396"/> + <ValueElement CodeSystem="HL70396" DisplayName="ICD 10 Germany v2015" Value="ICD10GM2015"/> + <ValueElement CodeSystem="HL70396" DisplayName="CDC National Healthcare Safety Network Codes" + Value="CDCNHSN"/> + <ValueElement CodeSystem="HL70396" DisplayName="National drug codes" Value="NDC"/> + <ValueElement CodeSystem="HL70396" DisplayName="Expanded Yes/No Indicator " Value="HL70532"/> + <ValueElement CodeSystem="HL70396" DisplayName="Health Care Provider Taxonomy" Value="HCPT"/> + <ValueElement CodeSystem="HL70396" DisplayName="Category Identifier" Value="HL70412"/> + <ValueElement CodeSystem="HL70396" DisplayName="Substance Status " Value="HL70383"/> + <ValueElement CodeSystem="HL70396" DisplayName="Invoice Reason Codes " Value="HL70554"/> + <ValueElement CodeSystem="HL70396" DisplayName="CDC Analyte Codes" Value="CDCA"/> + <ValueElement CodeSystem="HL70396" DisplayName="Military Handicapped Program Code " + Value="HL70343"/> + <ValueElement CodeSystem="HL70396" DisplayName="Language Ability " Value="HL70403"/> + <ValueElement CodeSystem="HL70396" DisplayName="Entity Handling Code" Value="ENTITYHDLG"/> + <ValueElement CodeSystem="HL70396" DisplayName="CPT-4" Value="C4"/> + <ValueElement CodeSystem="HL70396" DisplayName="Severity Of Illness Code " Value="HL70421"/> + <ValueElement CodeSystem="HL70396" DisplayName="Specimen Reject Reason " Value="HL70490"/> + <ValueElement CodeSystem="HL70396" DisplayName="CLIP" Value="CLP"/> + <ValueElement CodeSystem="HL70396" DisplayName="ICD-9CM Diagnosis codes" Value="I9CDX"/> + <ValueElement CodeSystem="HL70396" DisplayName="Cycle Type " Value="HL70702"/> + <ValueElement CodeSystem="HL70396" DisplayName="Location Relationship ID " Value="HL70325"/> + <ValueElement CodeSystem="HL70396" DisplayName="Jurisdictional Breadth " Value="HL70547"/> + <ValueElement CodeSystem="HL70396" DisplayName="Relational Conjunction " Value="HL70210"/> + <ValueElement CodeSystem="HL70396" DisplayName="Room " Value="HL70303"/> + <ValueElement CodeSystem="HL70396" DisplayName="Extended Priority Codes " Value="HL70485"/> + <ValueElement CodeSystem="HL70396" DisplayName="Allergy Clinical Status " Value="HL70438"/> + <ValueElement CodeSystem="HL70396" DisplayName="Quantity Method " Value="HL70329"/> + <ValueElement CodeSystem="HL70396" DisplayName="Nature Of Challenge " Value="HL70257"/> + <ValueElement CodeSystem="HL70396" DisplayName="Procedure DRG Type " Value="HL70416"/> + <ValueElement CodeSystem="HL70396" DisplayName="DRG Transfer Type " Value="HL70415"/> + <ValueElement CodeSystem="HL70396" DisplayName="Priority " Value="HL70027"/> + <ValueElement CodeSystem="HL70396" DisplayName="ICD 10 Germany v2011" Value="ICD10GM2011"/> + <ValueElement CodeSystem="HL70396" DisplayName="Signature Code" Value="HL70535"/> + <ValueElement CodeSystem="HL70396" DisplayName="Equipment State Indicator Type Code" + Value="HL70942"/> + <ValueElement CodeSystem="HL70396" DisplayName="Financial Transaction Code" Value="HL70096"/> + <ValueElement CodeSystem="HL70396" DisplayName="Diet Code Specification Type " + Value="HL70159"/> + <ValueElement CodeSystem="HL70396" DisplayName="Relational Operator " Value="HL70209"/> + <ValueElement CodeSystem="HL70396" DisplayName="Processing Priority " Value="HL70168"/> + <ValueElement CodeSystem="HL70396" DisplayName="Separator Type " Value="HL70380"/> + <ValueElement CodeSystem="HL70396" DisplayName="Product/Service Line Item Status " + Value="HL70559"/> + <ValueElement CodeSystem="HL70396" DisplayName="Mail Claim Party " Value="HL70137"/> + <ValueElement CodeSystem="HL70396" DisplayName="Specialty Type " Value="HL70265"/> + <ValueElement CodeSystem="HL70396" DisplayName="Duration Categories " Value="HL70255"/> + <ValueElement CodeSystem="HL70396" DisplayName="Carrier Type " Value="HL70378"/> + <ValueElement CodeSystem="HL70396" DisplayName="Artificial Blood " Value="HL70375"/> + <ValueElement CodeSystem="HL70396" DisplayName="PCA Type " Value="HL70918"/> + <ValueElement CodeSystem="HL70396" DisplayName="Grouper Status " Value="HL70734"/> + <ValueElement CodeSystem="HL70396" DisplayName="Credit Rating " Value="HL70046"/> + <ValueElement CodeSystem="HL70396" DisplayName="Privilege Class " Value="HL70526"/> + <ValueElement CodeSystem="HL70396" DisplayName="Labor Calculation Type " Value="HL70651"/> + <ValueElement CodeSystem="HL70396" DisplayName="Response Level " Value="HL70179"/> + <ValueElement CodeSystem="HL70396" DisplayName="Certification Type Code " Value="HL70921"/> + <ValueElement CodeSystem="HL70396" DisplayName="German Major Diagnostic Codes v 1004" + Value="GMDC2004"/> + <ValueElement CodeSystem="HL70396" DisplayName="Triage Code " Value="HL70422"/> + <ValueElement CodeSystem="HL70396" DisplayName="Message Type " Value="HL70076"/> + <ValueElement CodeSystem="HL70396" DisplayName="Volume Units " Value="HL70568"/> + <ValueElement CodeSystem="HL70396" DisplayName="Provider Billing " Value="HL70187"/> + <ValueElement CodeSystem="HL70396" DisplayName="Device Data State " Value="HL70667"/> + <ValueElement CodeSystem="HL70396" DisplayName="Ambulatory Payment Classification Code " + Value="HL70466"/> + <ValueElement CodeSystem="HL70396" DisplayName="CPT Modifier Code" Value="CPTM"/> + <ValueElement CodeSystem="HL70396" DisplayName="Online Verification Result" Value="HL70970"/> + <ValueElement CodeSystem="HL70396" DisplayName="Confidentiality Classification" + Value="HL70952"/> + <ValueElement CodeSystem="HL70396" DisplayName="Industry CDC Census 2010" + Value="CDCINDUSTRY2010"/> + <ValueElement CodeSystem="HL70396" DisplayName="Specimen Child Role " Value="HL70494"/> + <ValueElement CodeSystem="HL70396" DisplayName="Military Service " Value="HL70140"/> + <ValueElement CodeSystem="HL70396" DisplayName="Generic Product " Value="HL70249"/> + <ValueElement CodeSystem="HL70396" + DisplayName="ISO 2955.83 (units of measure) with HL7 extensions" + Value="ISO"/> + <ValueElement CodeSystem="HL70396" DisplayName="Read Classification" Value="RC"/> + <ValueElement CodeSystem="HL70396" DisplayName="Ruling Act " Value="HL70793"/> + <ValueElement CodeSystem="HL70396" + DisplayName="Blood Product Transfusion/Disposition Status " + Value="HL70513"/> + <ValueElement CodeSystem="HL70396" DisplayName="Device Type" Value="HL70657"/> + <ValueElement CodeSystem="HL70396" DisplayName="Donation Duration Units " Value="HL70932"/> + <ValueElement CodeSystem="HL70396" DisplayName="COSMIC-Structural variants" + Value="COSMIC-Strc"/> + <ValueElement CodeSystem="HL70396" DisplayName="ISO 3166-1 Country Codes" Value="ISO3166_1"/> + <ValueElement CodeSystem="HL70396" DisplayName="Address Type " Value="HL70190"/> + <ValueElement CodeSystem="HL70396" + DisplayName="International Classification of Diseases, 10th Revision, Clinical Modification (ICD-10-CM)" + Value="I10C"/> + <ValueElement CodeSystem="HL70396" DisplayName="Days Of The Week " Value="HL70267"/> + <ValueElement CodeSystem="HL70396" DisplayName="Japanese Nationwide Medicine Code" + Value="HOT"/> + <ValueElement CodeSystem="HL70396" DisplayName="Pharmacy Order Types " Value="HL70480"/> + <ValueElement CodeSystem="HL70396" DisplayName="German Alpha-ID v2014" Value="ALPHAID2014"/> + <ValueElement CodeSystem="HL70396" DisplayName="Quantity Limited Request " Value="HL70126"/> + <ValueElement CodeSystem="HL70396" DisplayName="Facility ID " Value="HL70464"/> + <ValueElement CodeSystem="HL70396" DisplayName="Visit User Code " Value="HL70130"/> + <ValueElement CodeSystem="HL70396" DisplayName="Identity Reliability Code " Value="HL70445"/> + <ValueElement CodeSystem="HL70396" DisplayName="Certification Category Code " Value="HL70922"/> + <ValueElement CodeSystem="HL70396" DisplayName="Advanced Beneficiary Notice Override Reason " + Value="HL70552"/> + <ValueElement CodeSystem="HL70396" DisplayName="Certificate Status " Value="HL70536"/> + <ValueElement CodeSystem="HL70396" DisplayName="Recreational Drug Use Code " Value="HL70431"/> + <ValueElement CodeSystem="HL70396" DisplayName="Order Type " Value="HL70482"/> + <ValueElement CodeSystem="HL70396" DisplayName="Student Status " Value="HL70231"/> + <ValueElement CodeSystem="HL70396" DisplayName="ICD 10 Germany 2004" Value="I10G2004"/> + <ValueElement CodeSystem="HL70396" DisplayName="dbVar-Somatic" Value="dbVar-som"/> + <ValueElement CodeSystem="HL70396" DisplayName="German Alpha-ID v2010" Value="ALPHAID2010"/> + <ValueElement CodeSystem="HL70396" DisplayName="Sequence Condition" Value="HL70524"/> + <ValueElement CodeSystem="HL70396" DisplayName="Isolation" Value="HL70016"/> + <ValueElement CodeSystem="HL70396" DisplayName="Referral Disposition " Value="HL70282"/> + <ValueElement CodeSystem="HL70396" DisplayName="Container Status " Value="HL70370"/> + <ValueElement CodeSystem="HL70396" DisplayName="SNOMED International" Value="SNM3"/> + <ValueElement CodeSystem="HL70396" DisplayName="Building " Value="HL70307"/> + <ValueElement CodeSystem="HL70396" DisplayName="Document Availability Status " + Value="HL70273"/> + <ValueElement CodeSystem="HL70396" DisplayName="Report Of Eligibility" Value="HL70094"/> + <ValueElement CodeSystem="HL70396" DisplayName="Practitioner ID Number Type " Value="HL70338"/> + <ValueElement CodeSystem="HL70396" DisplayName="Charge Type Reason " Value="HL70475"/> + <ValueElement CodeSystem="HL70396" DisplayName="Consent Non-Disclosure Reason " + Value="HL70501"/> + <ValueElement CodeSystem="HL70396" DisplayName="Price Type " Value="HL70205"/> + <ValueElement CodeSystem="HL70396" DisplayName="Observation Type " Value="HL70936"/> + <ValueElement CodeSystem="HL70396" DisplayName="ICD-10 Place of Occurrence" Value="I10P0"/> + <ValueElement CodeSystem="HL70396" DisplayName="Specimen Collection Method " Value="HL70488"/> + <ValueElement CodeSystem="HL70396" DisplayName="Time Delay Post Challenge " Value="HL70256"/> + <ValueElement CodeSystem="HL70396" DisplayName="Diagnostic Service Section ID " + Value="HL70074"/> + <ValueElement CodeSystem="HL70396" DisplayName="Derived Specimen " Value="HL70170"/> + <ValueElement CodeSystem="HL70396" + DisplayName="Logical Observation Identifier Names and Codes (LOINC??)" + Value="LN"/> + <ValueElement CodeSystem="HL70396" DisplayName="Specimen Source Codes" Value="HL70070"/> + <ValueElement CodeSystem="HL70396" DisplayName="Advance Directive Code " Value="HL70435"/> + <ValueElement CodeSystem="HL70396" DisplayName="ICD 10 Germany 2005" Value="I10G2005"/> + <ValueElement CodeSystem="HL70396" DisplayName="Vaccine purchased with (Type of funding)" + Value="NIP008"/> + <ValueElement CodeSystem="HL70396" DisplayName="Adjustment Action " Value="HL70569"/> + <ValueElement CodeSystem="HL70396" DisplayName="ICD-10" Value="I10"/> + <ValueElement CodeSystem="HL70396" + DisplayName="ISO 2955.83 (units of measure) with HL7 extensions" + Value="ISO+"/> + <ValueElement CodeSystem="HL70396" DisplayName="Consent Status " Value="HL70498"/> + <ValueElement CodeSystem="HL70396" + DisplayName="Clinicians are required to track the Vaccine Information Sheet (VIS) that was shared with the recipient of a vaccination. This code system contains codes that identify the document type and the owner of the document." + Value="VIS"/> + <ValueElement CodeSystem="HL70396" DisplayName="Employment Status " Value="HL70066"/> + <ValueElement CodeSystem="HL70396" DisplayName="Health Care Provider Classification " + Value="HL70453"/> + <ValueElement CodeSystem="HL70396" DisplayName="ISO 639 Language" Value="ISO639"/> + <ValueElement CodeSystem="HL70396" DisplayName="Kind Of Quantity " Value="HL70254"/> + <ValueElement CodeSystem="HL70396" DisplayName="Reimbursement Type Code " Value="HL70470"/> + <ValueElement CodeSystem="HL70396" DisplayName="Home Health Care" Value="HHC"/> + <ValueElement CodeSystem="HL70396" DisplayName="Product Source " Value="HL70248"/> + <ValueElement CodeSystem="HL70396" DisplayName="Provider Role " Value="HL70286"/> + <ValueElement CodeSystem="HL70396" DisplayName="Treatment" Value="HL70373"/> + <ValueElement CodeSystem="HL70396" DisplayName="Supplier Identifier " Value="HL70386"/> + <ValueElement CodeSystem="HL70396" DisplayName="Inform Person Code " Value="HL70517"/> + <ValueElement CodeSystem="HL70396" DisplayName="Acquisition Modality " Value="HL70910"/> + <ValueElement CodeSystem="HL70396" DisplayName="Name/Address Representation" Value="HL74000"/> + <ValueElement CodeSystem="HL70396" DisplayName="Breed Code " Value="HL70447"/> + <ValueElement CodeSystem="HL70396" DisplayName="Action Taken In Response To The Event " + Value="HL70251"/> + <ValueElement CodeSystem="HL70396" DisplayName="ASTM E1238/ E1467 Universal" Value="AS4"/> + <ValueElement CodeSystem="HL70396" DisplayName="Process Control Code " Value="HL70915"/> + <ValueElement CodeSystem="HL70396" DisplayName="Alternate Character Set Handling Scheme " + Value="HL70356"/> + <ValueElement CodeSystem="HL70396" DisplayName="United States Postal Service" Value="USPS"/> + <ValueElement CodeSystem="HL70396" DisplayName="ICD 10 Germany v2016" Value="ICD10GM2016"/> + <ValueElement CodeSystem="HL70396" DisplayName="Accident Code " Value="HL70050"/> + <ValueElement CodeSystem="HL70396" DisplayName="Referral Category " Value="HL70284"/> + <ValueElement CodeSystem="HL70396" DisplayName="Referral Type " Value="HL70281"/> + <ValueElement CodeSystem="HL70396" DisplayName="Packaging Status Code " Value="HL70469"/> + <ValueElement CodeSystem="HL70396" DisplayName="Signatory???S Relationship To Subject " + Value="HL70548"/> + <ValueElement CodeSystem="HL70396" DisplayName="Occupation CDC Census 2010" + Value="CDCOCCUPATION2010"/> + <ValueElement CodeSystem="HL70396" DisplayName="OPS Germany v2010" Value="OPS2010"/> + <ValueElement CodeSystem="HL70396" DisplayName="Processing Mode" Value="HL70207"/> + <ValueElement CodeSystem="HL70396" DisplayName="Location Equipment " Value="HL70261"/> + <ValueElement CodeSystem="HL70396" DisplayName="Authorization Mode " Value="HL70483"/> + <ValueElement CodeSystem="HL70396" DisplayName="American Type Culture Collection" Value="ATC"/> + <ValueElement CodeSystem="HL70396" DisplayName="Display Level" Value="HL70101"/> + <ValueElement CodeSystem="HL70396" DisplayName="Name Context " Value="HL70448"/> + <ValueElement CodeSystem="HL70396" + DisplayName="Time Selection Criteria Parameter Class Codes " + Value="HL70294"/> + <ValueElement CodeSystem="HL70396" DisplayName="Query Priority " Value="HL70091"/> + <ValueElement CodeSystem="HL70396" DisplayName="Discharged To Location " Value="HL70113"/> + <ValueElement CodeSystem="HL70396" + DisplayName="International Classification of Disease for Oncology Second Edition" + Value="ICDO2"/> + <ValueElement CodeSystem="HL70396" DisplayName="Acknowledgment Code " Value="HL70008"/> + <ValueElement CodeSystem="HL70396" DisplayName="Value Code" Value="UB04FL39"/> + <ValueElement CodeSystem="HL70396" DisplayName="Non-Covered Insurance Code " Value="HL70143"/> + <ValueElement CodeSystem="HL70396" DisplayName="Race " Value="HL70005"/> + <ValueElement CodeSystem="HL70396" DisplayName="Employee Classification " Value="HL70328"/> + <ValueElement CodeSystem="HL70396" DisplayName="Enzyme Codes" Value="ENZC"/> + <ValueElement CodeSystem="HL70396" DisplayName="Level Of Care " Value="HL70263"/> + <ValueElement CodeSystem="HL70396" DisplayName="Delayed Acknowledgment Type" Value="HL70102"/> + <ValueElement CodeSystem="HL70396" DisplayName="Nationality " Value="HL70212"/> + <ValueElement CodeSystem="HL70396" DisplayName="Package " Value="HL70818"/> + <ValueElement CodeSystem="HL70396" DisplayName="Nursing Interventions Classification" + Value="NIC"/> + <ValueElement CodeSystem="HL70396" DisplayName="Advanced Beneficiary Notice Code " + Value="HL70339"/> + <ValueElement CodeSystem="HL70396" DisplayName="Administration Device " Value="HL70164"/> + <ValueElement CodeSystem="HL70396" DisplayName="Patient Discharge Status" Value="UB04FL17"/> + <ValueElement CodeSystem="HL70396" DisplayName="Department " Value="HL70184"/> + <ValueElement CodeSystem="HL70396" DisplayName="Japanese Image Examination Cache" + Value="JJ1017"/> + <ValueElement CodeSystem="HL70396" DisplayName="OPS Germany v2012" Value="OPS2012"/> + <ValueElement CodeSystem="HL70396" DisplayName="Present On Admission (POA) Indicator " + Value="HL70895"/> + <ValueElement CodeSystem="HL70396" DisplayName="Interest Rate Code " Value="HL70073"/> + <ValueElement CodeSystem="HL70396" DisplayName="Name Assembly Order " Value="HL70444"/> + <ValueElement CodeSystem="HL70396" DisplayName="Supplier Type" Value="HL70946"/> + <ValueElement CodeSystem="HL70396" DisplayName="Ensembl protein reference sequence" + Value="Ensembl-P"/> + <ValueElement CodeSystem="HL70396" DisplayName="Contact Role " Value="HL70131"/> + <ValueElement CodeSystem="HL70396" DisplayName="ICD-10 Canada" Value="ICD10CA"/> + <ValueElement CodeSystem="HL70396" DisplayName="ISO4217 Currency Codes" Value="ISO4217"/> + <ValueElement CodeSystem="HL70396" DisplayName="dbVar-Germline" Value="dbVar-GL"/> + <ValueElement CodeSystem="HL70396" DisplayName="Referral Documentation Completion Status " + Value="HL70865"/> + <ValueElement CodeSystem="HL70396" DisplayName="Local billing code" Value="LB"/> + <ValueElement CodeSystem="HL70396" DisplayName="German Major Diagnostic Codes v2009" + Value="GMDC2009"/> + <ValueElement CodeSystem="HL70396" DisplayName="Policy Source " Value="HL70313"/> + <ValueElement CodeSystem="HL70396" DisplayName="Error Code" Value="HL70060"/> + <ValueElement CodeSystem="HL70396" DisplayName="Policy Scope " Value="HL70312"/> + <ValueElement CodeSystem="HL70396" DisplayName="Computation Type " Value="HL70523"/> + <ValueElement CodeSystem="HL70396" DisplayName="Tray Type " Value="HL70160"/> + <ValueElement CodeSystem="HL70396" DisplayName="WHO Adverse Reaction Terms" Value="ART"/> + <ValueElement CodeSystem="HL70396" DisplayName="Device Safety" Value="HL70963"/> + <ValueElement CodeSystem="HL70396" DisplayName="NCBI-transcript reference sequences (RefSeq)" + Value="refSeq-T"/> + <ValueElement CodeSystem="HL70396" DisplayName="Command Response " Value="HL70387"/> + <ValueElement CodeSystem="HL70396" DisplayName="ICD 10 Germany v2010" Value="ICD10GM2010"/> + <ValueElement CodeSystem="HL70396" DisplayName="County/Parish " Value="HL70289"/> + <ValueElement CodeSystem="HL70396" DisplayName="Ambulatory Status " Value="HL70009"/> + <ValueElement CodeSystem="HL70396" DisplayName="Consent Mode " Value="HL70497"/> + <ValueElement CodeSystem="HL70396" DisplayName="Primary Observer's Qualification " + Value="HL70242"/> + <ValueElement CodeSystem="HL70396" DisplayName="Encoding " Value="HL70299"/> + <ValueElement CodeSystem="HL70396" DisplayName="Tissue Type Code " Value="HL70417"/> + <ValueElement CodeSystem="HL70396" DisplayName="OCE Edit Code" Value="CMSOEC"/> + <ValueElement CodeSystem="HL70396" DisplayName="Non-Subject Consenter Reason " + Value="HL70502"/> + <ValueElement CodeSystem="HL70396" DisplayName="Point of Origin" Value="UB04FL15"/> + <ValueElement CodeSystem="HL70396" DisplayName="NANDA" Value="NDA"/> + <ValueElement CodeSystem="HL70396" DisplayName="RxNorm" Value="RXNORM"/> + <ValueElement CodeSystem="HL70396" DisplayName="LanguaL" Value="LANGUAL"/> + <ValueElement CodeSystem="HL70396" DisplayName="Procedure Code Modifier " Value="HL70340"/> + <ValueElement CodeSystem="HL70396" DisplayName="Specimen Source Type Modifier " + Value="HL70542"/> + <ValueElement CodeSystem="HL70396" DisplayName="Substitution Status " Value="HL70167"/> + <ValueElement CodeSystem="HL70396" DisplayName="Override " Value="HL70268"/> + <ValueElement CodeSystem="HL70396" DisplayName="Institution " Value="HL70537"/> + <ValueElement CodeSystem="HL70396" DisplayName="Master File Application Identifier" + Value="HL70176"/> + <ValueElement CodeSystem="HL70396" + DisplayName="Medical Dictionary for Drug Regulatory Affairs (MEDDRA)" + Value="MEDR"/> + <ValueElement CodePattern="IBT.+" CodeSystem="HL70396" + DisplayName="ISBT 128 codes where nnnn specifies a specific table within ISBT 128." + Value="IBTnnnn"/> + <ValueElement CodeSystem="HL70396" DisplayName="Financial Class " Value="HL70064"/> + <ValueElement CodeSystem="HL70396" DisplayName="CP Range Type " Value="HL70298"/> + <ValueElement CodeSystem="HL70396" DisplayName="OPS Germany v2013" Value="OPS2013"/> + <ValueElement CodeSystem="HL70396" DisplayName="Major Diagnostic Category " Value="HL70118"/> + <ValueElement CodeSystem="HL70396" DisplayName="Notice Of Admission" Value="HL70081"/> + <ValueElement CodeSystem="HL70396" DisplayName="Security Check Scheme " Value="HL70904"/> + <ValueElement CodeSystem="HL70396" DisplayName="Consent Identifier " Value="HL70413"/> + <ValueElement CodeSystem="HL70396" DisplayName="Subtype Of Referenced Data " Value="HL70291"/> + <ValueElement CodeSystem="HL70396" DisplayName="CDT-2 Codes" Value="CD2"/> + <ValueElement CodeSystem="HL70396" DisplayName="OCE Edit Code " Value="HL70458"/> + <ValueElement CodeSystem="HL70396" DisplayName="CN ID Source " Value="HL70297"/> + <ValueElement CodeSystem="HL70396" DisplayName="WHO record # drug codes (6 digit)" Value="W1"/> + <ValueElement CodeSystem="HL70396" DisplayName="Inventory Number " Value="HL70463"/> + <ValueElement CodeSystem="HL70396" DisplayName="Override Type " Value="HL70518"/> + <ValueElement CodeSystem="HL70396" DisplayName="Industry (NAICS)" Value="NAICS"/> + <ValueElement CodeSystem="HL70396" DisplayName="Account Status " Value="HL70117"/> + <ValueElement CodeSystem="HL70396" DisplayName="MDNS" Value="UMD"/> + <ValueElement CodeSystem="HL70396" + DisplayName="International Classification of Sleep Disorders" + Value="ICSD"/> + <ValueElement CodeSystem="HL70396" DisplayName="Medical Economics Diagnostic Codes" + Value="MEDX"/> + <ValueElement CodeSystem="HL70396" DisplayName="Type Of Referenced Data " Value="HL70191"/> + <ValueElement CodeSystem="HL70396" + DisplayName="International Classification of Diseases, 10th Revision, Procedure Coding System (ICD-10-PCS)" + Value="I10P"/> + <ValueElement CodeSystem="HL70396" DisplayName="Source of Information (Immunization)" + Value="NIP001"/> + <ValueElement CodeSystem="HL70396" DisplayName="Japanese Chemistry" Value="JC8"/> + <ValueElement CodeSystem="HL70396" DisplayName="Charge Type " Value="HL70122"/> + <ValueElement CodeSystem="HL70396" DisplayName="Benefit Group " Value="HL70556"/> + <ValueElement CodeSystem="HL70396" DisplayName="Container Material" Value="HL70968"/> + <ValueElement CodeSystem="HL70396" DisplayName="Specimen Type " Value="HL70487"/> + <ValueElement CodeSystem="HL70396" DisplayName="Appeal Reason " Value="HL70345"/> + <ValueElement CodeSystem="HL70396" DisplayName="Shipment Priority " Value="HL70906"/> + <ValueElement CodeSystem="HL70396" DisplayName="Medispan GPI" Value="MGPI"/> + <ValueElement CodeSystem="HL70396" DisplayName="Floor " Value="HL70308"/> + <ValueElement CodeSystem="HL70396" DisplayName="Access Restriction Reason" Value="HL70719"/> + <ValueElement CodeSystem="HL70396" DisplayName="OPS Germany v2014" Value="OPS2014"/> + <ValueElement CodeSystem="HL70396" DisplayName="Quantity Units " Value="HL70560"/> + <ValueElement CodeSystem="HL70396" DisplayName="Calendar Alignment " Value="HL70527"/> + <ValueElement CodeSystem="HL70396" DisplayName="Populated Places (FIPS 55-3)" + Value="FIPS55_3"/> + <ValueElement CodeSystem="HL70396" DisplayName="Euclides Lab equipment codes" Value="E7"/> + <ValueElement CodeSystem="HL70396" DisplayName="Procedure Code " Value="HL70088"/> + <ValueElement CodeSystem="HL70396" DisplayName="Report Timing " Value="HL70234"/> + <ValueElement CodeSystem="HL70396" DisplayName="FDA Unique Device Identifier" Value="FDAUDI"/> + <ValueElement CodeSystem="HL70396" DisplayName="Administrative Sex" Value="HL70001"/> + <ValueElement CodeSystem="HL70396" DisplayName="CPT-5" Value="C5"/> + <ValueElement CodeSystem="HL70396" DisplayName="Value Type " Value="HL70125"/> + <ValueElement CodeSystem="HL70396" DisplayName="Product/Service Code Modifier " + Value="HL70880"/> + <ValueElement CodeSystem="HL70396" DisplayName="Healthcare Service Location" Value="HSLOC"/> + <ValueElement CodeSystem="HL70396" DisplayName="Pre-Admit Test Indicator " Value="HL70087"/> + <ValueElement CodeSystem="HL70396" DisplayName="Allow Substitutions Code " Value="HL70279"/> + <ValueElement CodeSystem="HL70396" DisplayName="Phlebotomy Issue " Value="HL70925"/> + <ValueElement CodeSystem="HL70396" DisplayName="Work Classification ODH" Value="HL70959"/> + <ValueElement CodeSystem="HL70396" DisplayName="COSMIC ??? Simple variants" + Value="COSMIC-Smpl"/> + <ValueElement CodeSystem="HL70396" + DisplayName="UCUM code set for units of measure(from Regenstrief)" + Value="UCUM"/> + <ValueElement CodeSystem="HL70396" DisplayName="Reporting Priority " Value="HL70169"/> + <ValueElement CodeSystem="HL70396" DisplayName="Assignment Of Benefits " Value="HL70135"/> + <ValueElement CodeSystem="HL70396" DisplayName="Medicare" Value="MCR"/> + <ValueElement CodeSystem="HL70396" DisplayName="Insurance Company Contact Reason" + Value="HL70232"/> + <ValueElement CodeSystem="HL70396" DisplayName="Nature Of Abnormal Testing " Value="HL70080"/> + <ValueElement CodeSystem="HL70396" DisplayName="Admission Level Of Care Code " + Value="HL70432"/> + <ValueElement CodeSystem="HL70396" DisplayName="Charge Price Indicator " Value="HL70032"/> + <ValueElement CodeSystem="HL70396" DisplayName="NDF-RT (Drug Classification)" Value="NDFRT"/> + <ValueElement CodeSystem="HL70396" DisplayName="Publicity Code " Value="HL70215"/> + <ValueElement CodeSystem="HL70396" DisplayName="Diagnosis Code " Value="HL70051"/> + <ValueElement CodeSystem="HL70396" DisplayName="Medispan Diagnostic Codes" Value="MDDX"/> + <ValueElement CodeSystem="HL70396" + DisplayName="International Classification of Functioning, Disability and Health (ICF)" + Value="ICF"/> + <ValueElement CodeSystem="HL70396" DisplayName="National Uniform Billing Committee Code" + Value="NUBC"/> + <ValueElement CodeSystem="HL70396" DisplayName="Event Qualification " Value="HL70237"/> + <ValueElement CodeSystem="HL70396" DisplayName="Preferred Method Of Contact " Value="HL70185"/> + <ValueElement CodeSystem="HL70396" DisplayName="Military Status " Value="HL70142"/> + <ValueElement CodeSystem="HL70396" DisplayName="Volume Units " Value="HL70930"/> + <ValueElement CodeSystem="HL70396" DisplayName="What Subject Filter" Value="HL70048"/> + <ValueElement CodeSystem="HL70396" DisplayName="Shipment Status " Value="HL70905"/> + <ValueElement CodeSystem="HL70396" DisplayName="Item Status Codes " Value="HL70625"/> + <ValueElement CodeSystem="HL70396" DisplayName="Diagnosis Related Group " Value="HL70055"/> + <ValueElement CodeSystem="HL70396" DisplayName="Filler Status Code " Value="HL70278"/> + <ValueElement CodeSystem="HL70396" DisplayName="DICOM Class Label" Value="DCL"/> + <ValueElement CodeSystem="HL70396" DisplayName="Observation Method Code" Value="OBSMETHOD"/> + <ValueElement CodeSystem="HL70396" DisplayName="Fee Schedule " Value="HL70024"/> + <ValueElement CodeSystem="HL70396" DisplayName="Guarantor Credit Rating Code " + Value="HL70341"/> + <ValueElement CodeSystem="HL70396" DisplayName="Discharge Disposition " Value="HL70112"/> + <ValueElement CodeSystem="HL70396" DisplayName="DRG Grouping Status " Value="HL70749"/> + <ValueElement CodeSystem="HL70396" DisplayName="DRG Diagnosis Determination Status " + Value="HL70731"/> + <ValueElement CodeSystem="HL70396" DisplayName="Item Type " Value="HL70778"/> + <ValueElement CodeSystem="HL70396" DisplayName="Provider Role " Value="HL70443"/> + <ValueElement CodeSystem="HL70396" DisplayName="Processing Consideration Codes " + Value="HL70562"/> + <ValueElement CodeSystem="HL70396" DisplayName="Referral Status " Value="HL70283"/> + <ValueElement CodeSystem="HL70396" DisplayName="Process Interruption Reason " Value="HL70935"/> + <ValueElement CodeSystem="HL70396" DisplayName="Collection Event/Process Step Limit " + Value="HL70938"/> + <ValueElement CodeSystem="HL70396" DisplayName="Gestation Category Code " Value="HL70424"/> + <ValueElement CodeSystem="HL70396" DisplayName="Patient Condition Code " Value="HL70434"/> + <ValueElement CodeSystem="HL70396" DisplayName="Procedure Code " Value="HL70941"/> + <ValueElement CodeSystem="HL70396" DisplayName="Practitioner Group " Value="HL70358"/> + <ValueElement CodePattern="X12De.+" CodeSystem="HL70396" DisplayName="ASC X12 Code List nnnn" + Value="X12Dennnn"/> + <ValueElement CodeSystem="HL70396" DisplayName="Body Site " Value="HL70163"/> + <ValueElement CodeSystem="HL70396" DisplayName="Physician ID " Value="HL70010"/> + <ValueElement CodeSystem="HL70396" DisplayName="Procedure Coding Method" Value="HL70089"/> + <ValueElement CodeSystem="HL70396" DisplayName="Payee Type " Value="HL70557"/> + <ValueElement CodeSystem="HL70396" DisplayName="Substance refusal reason" Value="NIP002"/> + <ValueElement CodeSystem="HL70396" DisplayName="Query Results Level" Value="HL70108"/> + <ValueElement CodeSystem="HL70396" DisplayName="Location" Value="HL70079"/> + <ValueElement CodeSystem="HL70396" DisplayName="Item Importance Codes " Value="HL70634"/> + <ValueElement CodeSystem="HL70396" DisplayName="ICD 10 Germany v2014" Value="ICD10GM2014"/> + <ValueElement CodeSystem="HL70396" DisplayName="Data Absent Reason" Value="HL70960"/> + <ValueElement CodeSystem="HL70396" DisplayName="MIME Media Type IANA" Value="MEDIATYPE"/> + <ValueElement CodeSystem="HL70396" DisplayName="Drug Code" Value="HL70057"/> + <ValueElement CodeSystem="HL70396" DisplayName="Institution " Value="HL70531"/> + <ValueElement CodeSystem="HL70396" DisplayName="Mime Types " Value="HL70834"/> + <ValueElement CodeSystem="HL70396" DisplayName="Specimen Component " Value="HL70372"/> + <ValueElement CodeSystem="HL70396" DisplayName="Integrated Taxonomic Information System" + Value="ITIS"/> + <ValueElement CodeSystem="HL70396" DisplayName="Root Cause " Value="HL70914"/> + <ValueElement CodeSystem="HL70396" DisplayName="VIP Indicator " Value="HL70099"/> + <ValueElement CodeSystem="HL70396" DisplayName="OPS Germany v2008" Value="OPS2009"/> + <ValueElement CodeSystem="HL70396" DisplayName="Appointment Type Codes " Value="HL70277"/> + <ValueElement CodeSystem="HL70396" DisplayName="Action Code" Value="HL70323"/> + <ValueElement CodeSystem="HL70396" DisplayName="Source Type " Value="HL70332"/> + <ValueElement CodeSystem="HL70396" DisplayName="Master File Identifier Code " Value="HL70175"/> + <ValueElement CodeSystem="HL70396" DisplayName="Insurance Plan ID " Value="HL70072"/> + <ValueElement CodeSystem="HL70396" DisplayName="Department Code " Value="HL70049"/> + <ValueElement CodeSystem="HL70396" DisplayName="Alert Level " Value="HL70367"/> + <ValueElement CodeSystem="HL70396" DisplayName="DRG Procedure Relevance " Value="HL70763"/> + <ValueElement CodeSystem="HL70396" DisplayName="Medical Device Communication" Value="MDC"/> + <ValueElement CodeSystem="HL70396" DisplayName="Transportation Mode " Value="HL70124"/> + <ValueElement CodeSystem="HL70396" DisplayName="Military Recipient " Value="HL70342"/> + <ValueElement CodeSystem="HL70396" DisplayName="Type Of Bill Code " Value="HL70455"/> + <ValueElement CodeSystem="HL70396" DisplayName="Equipment State " Value="HL70365"/> + <ValueElement CodeSystem="HL70396" DisplayName="Date Format " Value="HL70653"/> + <ValueElement CodeSystem="HL70396" DisplayName="Relationship Modifier " Value="HL70258"/> + <ValueElement CodeSystem="HL70396" DisplayName="Participation Mode" Value="ROLECODE"/> + <ValueElement CodeSystem="HL70396" DisplayName="Invoice Processing Results Status " + Value="HL70571"/> + <ValueElement CodeSystem="HL70396" DisplayName="Commercial Product " Value="HL70512"/> + <ValueElement CodeSystem="HL70396" DisplayName="Living Dependency " Value="HL70223"/> + <ValueElement CodeSystem="HL70396" DisplayName="OPS Germany v2016" Value="OPS2016"/> + <ValueElement CodeSystem="HL70396" DisplayName="Visit Priority Code " Value="HL70217"/> + <ValueElement CodeSystem="HL70396" DisplayName="Telecommunication Expiration Reason " + Value="HL70868"/> + <ValueElement CodeSystem="HL70396" DisplayName="Day Type " Value="HL70149"/> + <ValueElement CodeSystem="HL70396" DisplayName="Event Type " Value="HL70450"/> + <ValueElement CodeSystem="HL70396" DisplayName="ICD-9CM Procedure codes" Value="I9CP"/> + <ValueElement CodeSystem="HL70396" DisplayName="Body Site Modifier " Value="HL70495"/> + <ValueElement CodeSystem="HL70396" DisplayName="Local/Remote Control State " Value="HL70366"/> + <ValueElement CodeSystem="HL70396" DisplayName="Preferred Specimen/Attribute Status " + Value="HL70920"/> + <ValueElement CodeSystem="HL70396" DisplayName="Active/Inactive " Value="HL70183"/> + <ValueElement CodeSystem="HL70396" DisplayName="G-DRG German DRG Codes v 2005" + Value="GDRG2005"/> + <ValueElement CodeSystem="HL70396" DisplayName="Allow Substitution " Value="HL70161"/> + <ValueElement CodeSystem="HL70396" DisplayName="Manufacturer Identifier " Value="HL70385"/> + <ValueElement CodeSystem="HL70396" + DisplayName="International System for Human Cytogenetic Nomenclature (ISCN)" + Value="ISCN"/> + <ValueElement CodeSystem="HL70396" DisplayName="Side Of Body " Value="HL70894"/> + <ValueElement CodeSystem="HL70396" DisplayName="Special Program Indicator" Value="HL70348"/> + <ValueElement CodeSystem="HL70396" DisplayName="Production Class Code " Value="HL70429"/> + <ValueElement CodeSystem="HL70396" DisplayName="Bed Status " Value="HL70116"/> + <ValueElement CodeSystem="HL70396" + DisplayName="Accept/Application Acknowledgment Conditions " + Value="HL70155"/> + <ValueElement CodeSystem="HL70396" DisplayName="Event Seriousness " Value="HL70238"/> + <ValueElement CodeSystem="HL70396" DisplayName="Procedure Functional Type " Value="HL70230"/> + <ValueElement CodeSystem="HL70396" DisplayName="Observation Result Handling " Value="HL70507"/> + <ValueElement CodeSystem="HL70396" DisplayName="Unified Medical Language" Value="UML"/> + <ValueElement CodeSystem="HL70396" DisplayName="FDA K10" Value="FDK"/> + <ValueElement CodeSystem="HL70396" DisplayName="Transfusion Interrupted Reason " + Value="HL70515"/> + <ValueElement CodeSystem="HL70396" DisplayName="Cap Type " Value="HL70381"/> + <ValueElement CodeSystem="HL70396" DisplayName="Participation" Value="HL70912"/> + <ValueElement CodeSystem="HL70396" DisplayName="Protection Code " Value="HL70618"/> + <ValueElement CodeSystem="HL70396" DisplayName="ISO-4217 Monetary Denomination Code " + Value="HL70913"/> + <ValueElement CodeSystem="HL70396" DisplayName="Living Arrangements " Value="HL70220"/> + <ValueElement CodeSystem="HL70396" DisplayName="Load Status " Value="HL70669"/> + <ValueElement CodeSystem="HL70396" DisplayName="Dispense Type " Value="HL70484"/> + <ValueElement CodeSystem="HL70396" DisplayName="Device Status" Value="HL70962"/> + <ValueElement CodeSystem="HL70396" DisplayName="Entity Code" Value="ENTITYCODE"/> + <ValueElement CodeSystem="HL70396" DisplayName="Specimen Role " Value="HL70369"/> + <ValueElement CodeSystem="HL70396" DisplayName="Completion Status " Value="HL70322"/> + <ValueElement CodeSystem="HL70396" DisplayName="Organization, Agency, Department " + Value="HL70530"/> + <ValueElement CodeSystem="HL70396" DisplayName="Special Handling Code " Value="HL70376"/> + <ValueElement CodeSystem="HL70396" DisplayName="Primary Key Value Type " Value="HL70355"/> + <ValueElement CodeSystem="HL70396" DisplayName="Mood Codes " Value="HL70725"/> + <ValueElement CodeSystem="HL70396" DisplayName="Event Related Period " Value="HL70528"/> + <ValueElement CodeSystem="HL70396" DisplayName="Room Type " Value="HL70145"/> + <ValueElement CodeSystem="HL70396" DisplayName="Eligibility Source " Value="HL70144"/> + <ValueElement CodeSystem="HL70396" DisplayName="HL7 set of units of measure" Value="ANS+"/> + <ValueElement CodeSystem="HL70396" DisplayName="HGVS- Transcript syntax" Value="HGVS.c"/> + <ValueElement CodeSystem="HL70396" DisplayName="Repeat Pattern " Value="HL70335"/> + <ValueElement CodeSystem="HL70396" DisplayName="Company Plan Code " Value="HL70042"/> + <ValueElement CodeSystem="HL70396" DisplayName="Servicing Facilities" Value="HL70115"/> + <ValueElement CodeSystem="HL70396" DisplayName="Substance Type " Value="HL70384"/> + <ValueElement CodeSystem="HL70396" DisplayName="Administration Method " Value="HL70165"/> + <ValueElement CodeSystem="HL70396" DisplayName="Service Reason" Value="HL70964"/> + <ValueElement CodeSystem="HL70396" DisplayName="Patient???S Relationship To Insured " + Value="HL70344"/> + <ValueElement CodeSystem="HL70396" DisplayName="Product Problem " Value="HL70245"/> + <ValueElement CodeSystem="HL70396" DisplayName="Government Reimbursement Program " + Value="HL70401"/> + <ValueElement CodeSystem="HL70396" DisplayName="Mime Base64 Encoding Characters" + Value="HL70290"/> + <ValueElement CodeSystem="HL70396" DisplayName="Indirect Exposure Mechanism " Value="HL70253"/> + <ValueElement CodeSystem="HL70396" DisplayName="Degree/License/Certificate " Value="HL70360"/> + <ValueElement CodeSystem="HL70396" DisplayName="Point Of Care " Value="HL70302"/> + <ValueElement CodeSystem="HL70396" DisplayName="Amount Type " Value="HL70146"/> + <ValueElement CodeSystem="HL70396" DisplayName="Language Proficiency " Value="HL70404"/> + <ValueElement CodeSystem="HL70396" DisplayName="Cyclic Entry/Exit Indicator " Value="HL70505"/> + <ValueElement CodeSystem="HL70396" DisplayName="Privilege " Value="HL70525"/> + <ValueElement CodeSystem="HL70396" DisplayName="OPS Germany 2004" Value="O3012004"/> + <ValueElement CodeSystem="HL70396" DisplayName="Recurring Service Code " Value="HL70219"/> + <ValueElement CodeSystem="HL70396" DisplayName="Money Or Percentage Indicator " + Value="HL70148"/> + <ValueElement CodeSystem="HL70396" DisplayName="ISO 3166-2 Country subdivisions" + Value="ISO3166_2"/> + <ValueElement CodeSystem="HL70396" DisplayName="Occurrence Code " Value="HL70350"/> + <ValueElement CodeSystem="HL70396" DisplayName="Coverage Type " Value="HL70309"/> + <ValueElement CodeSystem="HL70396" DisplayName="OPS Germany v2008" Value="OPS2008"/> + <ValueElement CodeSystem="HL70396" DisplayName="Accommodation Code " Value="HL70129"/> + <ValueElement CodeSystem="HL70396" DisplayName="Adjustment Category Code " Value="HL70564"/> + <ValueElement CodeSystem="HL70396" DisplayName="Euclides quantity codes" Value="E5"/> + <ValueElement CodeSystem="HL70396" DisplayName="Ops Germany 2006" Value="O3012006"/> + <ValueElement CodeSystem="HL70396" DisplayName="ICCBBA Unique Device Identifier" + Value="ICCUDI"/> + <ValueElement CodeSystem="HL70396" DisplayName="State/Province " Value="HL70347"/> + <ValueElement CodeSystem="HL70396" DisplayName="Payment Adjustment Code " Value="HL70468"/> + <ValueElement CodeSystem="HL70396" + DisplayName="CDC PHLIP Lab result codes that are not covered in SNOMED at the time of this implementation" + Value="PLR"/> + <ValueElement CodeSystem="HL70396" DisplayName="Supplemental Service Information Values " + Value="HL70411"/> + <ValueElement CodeSystem="HL70396" DisplayName="G-DRG German DRG Codes v2008" + Value="GDRG2009"/> + <ValueElement CodeSystem="HL70396" DisplayName="Address Expiration Reason " Value="HL70616"/> + <ValueElement CodeSystem="HL70396" DisplayName="Value Code " Value="HL70153"/> + <ValueElement CodeSystem="HL70396" DisplayName="Drug Interference " Value="HL70382"/> + <ValueElement CodeSystem="HL70396" DisplayName="German Major Diagnostic Codes v2007" + Value="GMDC2007"/> + <ValueElement CodeSystem="HL70396" DisplayName="Procedure Type" Value="HL70090"/> + <ValueElement CodeSystem="HL70396" DisplayName="German Alpha-ID v2006" Value="ALPHAID2006"/> + <ValueElement CodeSystem="HL70396" DisplayName="Comment Type " Value="HL70364"/> + <ValueElement CodeSystem="HL70396" DisplayName="Invoice Control Code " Value="HL70553"/> + <ValueElement CodeSystem="HL70396" DisplayName="Used initially for contact roles." + Value="ROLECLASS"/> + <ValueElement CodeSystem="HL70396" DisplayName="Status Respiration Minutes " Value="HL70757"/> + <ValueElement CodeSystem="HL70396" DisplayName="Transfusion Adverse Reaction " + Value="HL70514"/> + <ValueElement CodeSystem="HL70396" DisplayName="Online Verification Result Error Code" + Value="HL70971"/> + <ValueElement CodeSystem="HL70396" DisplayName="Diagnosis Priority " Value="HL70359"/> + <ValueElement CodeSystem="HL70396" DisplayName="Delete Account Code " Value="HL70111"/> + <ValueElement CodeSystem="HL70396" + DisplayName="Local general code for a site-defined code system used for a specific set of trading partners. The 'zzz' SHALL be any printable ASCII string. Length of the name SHALL not exceed field width, and is subject to local implementation." + Value="L"/> + <ValueElement CodeSystem="HL70396" DisplayName="G-DRG German DRG Codes v2008" + Value="GDRG2008"/> + <ValueElement CodeSystem="HL70396" DisplayName="ICD 10 Germany 2006" Value="I10G2006"/> + <ValueElement CodePattern="X12DE.+" CodeSystem="HL70396" DisplayName="ASC X12 Code List nnnn" + Value="X12DEnnnn"/> + <ValueElement CodeSystem="HL70396" DisplayName="Occupational Data for Health (ODH)" + Value="CDCODH"/> + <ValueElement CodeSystem="HL70396" DisplayName="Event Reason " Value="HL70062"/> + <ValueElement CodeSystem="HL70396" DisplayName="Modifier Edit Code " Value="HL70467"/> + <ValueElement CodeSystem="HL70396" DisplayName="Interpretation Codes " Value="HL70078"/> + <ValueElement CodeSystem="HL70396" DisplayName="TQ Conjunction ID " Value="HL70472"/> + <ValueElement CodeSystem="HL70396" + DisplayName="CMS (formerly HCFA) Common Procedure Coding System" + Value="HCPCS"/> + <ValueElement CodeSystem="HL70396" DisplayName="Transport Temperature Units " Value="HL70931"/> + <ValueElement CodeSystem="HL70396" + DisplayName="International Classification of Disease for Oncology Third Edition" + Value="ICDO3"/> + <ValueElement CodeSystem="HL70396" DisplayName="CMS (formerly HCFA )Procedure Codes (HCPCS)" + Value="HPC"/> + <ValueElement CodeSystem="HL70396" DisplayName="Location Characteristic ID " Value="HL70324"/> + <ValueElement CodeSystem="HL70396" DisplayName="Unused Table" Value="HL70020"/> + <ValueElement CodeSystem="HL70396" DisplayName="Organizational Name Type " Value="HL70204"/> + <ValueElement CodeSystem="HL70396" DisplayName="Formulary Status " Value="HL70473"/> + <ValueElement CodeSystem="HL70396" DisplayName="Transfer To Bad Debt Code " Value="HL70110"/> + <ValueElement CodeSystem="HL70396" DisplayName="Record-Level Event Code " Value="HL70180"/> + <ValueElement CodeSystem="HL70396" DisplayName="Australian Medicines Terminology (v2)" + Value="AMTv2"/> + <ValueElement CodeSystem="HL70396" DisplayName="BP Observation Status Codes Interpretation " + Value="HL70511"/> + <ValueElement CodeSystem="HL70396" DisplayName="SNOMED Clinical Terms alphanumeric codes" + Value="SCT2"/> + <ValueElement CodeSystem="HL70396" DisplayName="Sterilization Type " Value="HL70806"/> + <ValueElement CodeSystem="HL70396" DisplayName="Mode Of Arrival Code " Value="HL70430"/> + <ValueElement CodeSystem="HL70396" DisplayName="Special Program Code " Value="HL70214"/> + <ValueElement CodeSystem="HL70396" DisplayName="Health Care Provider Area Of Specialization " + Value="HL70454"/> + <ValueElement CodeSystem="HL70396" DisplayName="CWE Statuses " Value="HL70353"/> + <ValueElement CodeSystem="HL70396" DisplayName="CDC Emergency Department Acuity" + Value="CDCEDACUITY"/> + <ValueElement CodeSystem="HL70396" DisplayName="Confidentiality Code " Value="HL70177"/> + <ValueElement CodeSystem="HL70396" DisplayName="Euclides Lab method codes" Value="E6"/> + <ValueElement CodeSystem="HL70396" DisplayName="Exclusive Test " Value="HL70919"/> + <ValueElement CodeSystem="HL70396" DisplayName="Yes/No Indicator " Value="HL70136"/> + <ValueElement CodeSystem="HL70396" DisplayName="Approving Regulatory Agency " Value="HL70790"/> + <ValueElement CodeSystem="HL70396" DisplayName="Class Of Trade" Value="HL70947"/> + <ValueElement CodeSystem="HL70396" DisplayName="Alert Device Code " Value="HL70437"/> + <ValueElement CodeSystem="HL70396" DisplayName="Result Status " Value="HL70123"/> + <ValueElement CodeSystem="HL70396" DisplayName="Problem/Goal Action Code " Value="HL70287"/> + <ValueElement CodeSystem="HL70396" DisplayName="CCL Value " Value="HL70728"/> + <ValueElement CodeSystem="HL70396" DisplayName="Processing Type " Value="HL70388"/> + <ValueElement CodeSystem="HL70396" DisplayName="CDC Surveillance" Value="CDS"/> + <ValueElement CodeSystem="HL70396" DisplayName="Event Type " Value="HL70003"/> + <ValueElement CodeSystem="HL70396" DisplayName="Service Request Relationship" Value="HL70506"/> + <ValueElement CodeSystem="HL70396" DisplayName="Referral Priority " Value="HL70280"/> + <ValueElement CodeSystem="HL70396" DisplayName="First DataBank Diagnostic Codes" Value="FDDX"/> + <ValueElement CodeSystem="HL70396" DisplayName="Reason For Study" Value="HL70951"/> + <ValueElement CodeSystem="HL70396" DisplayName="Transport Route" Value="HL70944"/> + <ValueElement CodeSystem="HL70396" DisplayName="Resource Type Or Category " Value="HL70771"/> + <ValueElement CodeSystem="HL70396" DisplayName="WHO record # drug codes (8 digit)" Value="W2"/> + <ValueElement CodeSystem="HL70396" DisplayName="Contact Reason " Value="HL70222"/> + <ValueElement CodeSystem="HL70396" DisplayName="Order Control Codes " Value="HL70119"/> + <ValueElement CodeSystem="HL70396" DisplayName="Error Severity " Value="HL70516"/> + <ValueElement CodeSystem="HL70396" DisplayName="Notify Clergy Code" Value="HL70534"/> + <ValueElement CodeSystem="HL70396" DisplayName="Staff Type " Value="HL70182"/> + <ValueElement CodeSystem="HL70396" + DisplayName="International Classification of Diseases for Oncology" + Value="ICDO"/> + <ValueElement CodeSystem="HL70396" DisplayName="Container Form" Value="HL70967"/> + <ValueElement CodeSystem="HL70396" DisplayName="Billing Status " Value="HL70022"/> + <ValueElement CodeSystem="HL70396" DisplayName="Nature Of Service/Test/Observation " + Value="HL70174"/> + <ValueElement CodeSystem="HL70396" DisplayName="Species Code " Value="HL70446"/> + <ValueElement CodeSystem="HL70396" DisplayName="NCBI - protein reference sequence" + Value="RefSeq-P"/> + <ValueElement CodeSystem="HL70396" DisplayName="Check Digit Scheme " Value="HL70061"/> + <ValueElement CodeSystem="HL70396" + DisplayName="ISBT 128 Standard transfusion/transplantation data items" + Value="IBT0001"/> + <ValueElement CodeSystem="HL70396" DisplayName="First DataBank Drug Codes" Value="FDDC"/> + <ValueElement CodeSystem="HL70396" DisplayName="Diagnosis Type " Value="HL70052"/> + <ValueElement CodeSystem="HL70396" DisplayName="Marketing Basis " Value="HL70330"/> + <ValueElement CodeSystem="HL70396" DisplayName="Language Translated To" Value="HL70545"/> + <ValueElement CodePattern="99.+" CodeSystem="HL70396" + DisplayName="Local general code for a site-defined code system used for a specific set of trading partners. The 'zzz' SHALL be any printable ASCII string. Length of the name SHALL not exceed field width, and is subject to local implementation." + Value="99zzz"/> + <ValueElement CodeSystem="HL70396" DisplayName="Visit ID Type" Value="HL70192"/> + <ValueElement CodeSystem="HL70396" DisplayName="Match Reason " Value="HL70392"/> + <ValueElement CodeSystem="HL70396" DisplayName="Segment Group " Value="HL70391"/> + <ValueElement CodeSystem="HL70396" DisplayName="EUCLIDES" Value="E"/> + <ValueElement CodeSystem="HL70396" DisplayName="German Alpha-ID v2016" Value="ALPHAID2016"/> + <ValueElement CodeSystem="HL70396" DisplayName="Specimen Type Modifier " Value="HL70541"/> + <ValueElement CodeSystem="HL70396" DisplayName="Newborn Code " Value="HL70425"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70490" ContentDefinition="Extensional" + Description="Specimen Reject Reason" + Extensibility="Closed" + Name="Specimen Reject Reason" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70490" DisplayName="Missing patient name" Usage="P" Value="RE"/> + <ValueElement CodeSystem="HL70490" DisplayName="Name misspelling" Usage="P" Value="RS"/> + <ValueElement CodeSystem="HL70490" DisplayName="Missing collection date" Usage="P" Value="RD"/> + <ValueElement CodeSystem="HL70490" DisplayName="Expired" Usage="P" Value="EX"/> + <ValueElement CodeSystem="HL70490" DisplayName="Quantity not sufficient" Usage="P" Value="QS"/> + <ValueElement CodeSystem="HL70490" DisplayName="Broken container" Usage="P" Value="RB"/> + <ValueElement CodeSystem="HL70490" DisplayName="Hemolysis" Usage="P" Value="RH"/> + <ValueElement CodeSystem="HL70490" DisplayName="Clotting" Usage="P" Value="RC"/> + <ValueElement CodeSystem="HL70490" DisplayName="Missing phlebotomist ID" Usage="P" Value="RP"/> + <ValueElement CodeSystem="HL70490" DisplayName="Contamination" Usage="P" Value="RN"/> + <ValueElement CodeSystem="HL70490" DisplayName="Missing patient ID number" Usage="P" + Value="RA"/> + <ValueElement CodeSystem="HL70490" DisplayName="Identification problem" Usage="P" Value="RI"/> + <ValueElement CodeSystem="HL70490" DisplayName="Improper storage" Usage="P" Value="RR"/> + <ValueElement CodeSystem="HL70490" DisplayName="Labeling" Usage="P" Value="RM"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70119" ContentDefinition="Extensional" + Description="Order control codes" + Extensibility="Closed" + Name="Order control codes" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70119" DisplayName="Order/service refill request approval" + Usage="P" + Value="AF"/> + <ValueElement CodeSystem="HL70119" DisplayName="Order/service held" Usage="P" Value="OH"/> + <ValueElement CodeSystem="HL70119" DisplayName="Order/service replace request" Usage="P" + Value="RP"/> + <ValueElement CodeSystem="HL70119" DisplayName="Released as requested" Usage="P" Value="OR"/> + <ValueElement CodeSystem="HL70119" DisplayName="Order/service canceled" Usage="P" Value="OC"/> + <ValueElement CodeSystem="HL70119" DisplayName="Unable to refill" Usage="P" Value="UF"/> + <ValueElement CodeSystem="HL70119" DisplayName="Cancel order/service request" Usage="P" + Value="CA"/> + <ValueElement CodeSystem="HL70119" DisplayName="Notification of order for outside dispense" + Usage="P" + Value="OP"/> + <ValueElement CodeSystem="HL70119" DisplayName="On hold as requested" Usage="P" Value="HR"/> + <ValueElement CodeSystem="HL70119" + DisplayName="Unlink order/service from patient care problem or goal" + Usage="P" + Value="UN"/> + <ValueElement CodeSystem="HL70119" DisplayName="Hold order request" Usage="P" Value="HD"/> + <ValueElement CodeSystem="HL70119" DisplayName="Unable to accept order/service" Usage="P" + Value="UA"/> + <ValueElement CodeSystem="HL70119" DisplayName="Discontinued as requested" Usage="P" + Value="DR"/> + <ValueElement CodeSystem="HL70119" DisplayName="Request received" Usage="P" Value="RR"/> + <ValueElement CodeSystem="HL70119" DisplayName="Unable to put on hold" Usage="P" Value="UH"/> + <ValueElement CodeSystem="HL70119" + DisplayName="Link order/service to patient care problem or goal" + Usage="P" + Value="LI"/> + <ValueElement CodeSystem="HL70119" DisplayName="Status changed" Usage="P" Value="SC"/> + <ValueElement CodeSystem="HL70119" DisplayName="Changed as requested" Usage="P" Value="XR"/> + <ValueElement CodeSystem="HL70119" DisplayName="Combined result" Usage="P" Value="CN"/> + <ValueElement CodeSystem="HL70119" DisplayName="Previous Results with new order/service" + Usage="P" + Value="PR"/> + <ValueElement CodeSystem="HL70119" DisplayName="Change order/service request" Usage="P" + Value="XO"/> + <ValueElement CodeSystem="HL70119" DisplayName="Order/service accepted &amp; OK" Usage="P" + Value="OK"/> + <ValueElement CodeSystem="HL70119" + DisplayName="Notification of replacement order for outside dispense" + Usage="P" + Value="PY"/> + <ValueElement CodeSystem="HL70119" DisplayName="Send order/service number" Usage="P" + Value="SN"/> + <ValueElement CodeSystem="HL70119" DisplayName="Order/service refilled, unsolicited" + Usage="P" + Value="FU"/> + <ValueElement CodeSystem="HL70119" DisplayName="Number assigned" Usage="P" Value="NA"/> + <ValueElement CodeSystem="HL70119" DisplayName="Parent order/service" Usage="P" Value="PA"/> + <ValueElement CodeSystem="HL70119" DisplayName="Send order/service status request" Usage="P" + Value="SS"/> + <ValueElement CodeSystem="HL70119" DisplayName="Replaced as requested" Usage="P" Value="RQ"/> + <ValueElement CodeSystem="HL70119" DisplayName="Discontinue order/service request" Usage="P" + Value="DC"/> + <ValueElement CodeSystem="HL70119" DisplayName="Order/service released" Usage="P" Value="OE"/> + <ValueElement CodeSystem="HL70119" DisplayName="Unable to discontinue" Usage="P" Value="UD"/> + <ValueElement CodeSystem="HL70119" DisplayName="Order/service refilled as requested" + Usage="P" + Value="OF"/> + <ValueElement CodeSystem="HL70119" DisplayName="Unable to release" Usage="P" Value="UR"/> + <ValueElement CodeSystem="HL70119" DisplayName="Data errors" Usage="P" Value="DE"/> + <ValueElement CodeSystem="HL70119" DisplayName="Unable to replace" Usage="P" Value="UM"/> + <ValueElement CodeSystem="HL70119" DisplayName="Order/service refill request denied" + Usage="P" + Value="DF"/> + <ValueElement CodeSystem="HL70119" DisplayName="Replaced unsolicited" Usage="P" Value="RU"/> + <ValueElement CodeSystem="HL70119" DisplayName="Child order/service" Usage="P" Value="CH"/> + <ValueElement CodeSystem="HL70119" DisplayName="Order/service changed, unsol." Usage="P" + Value="XX"/> + <ValueElement CodeSystem="HL70119" DisplayName="Unable to cancel" Usage="P" Value="UC"/> + <ValueElement CodeSystem="HL70119" DisplayName="Refill order/service request" Usage="P" + Value="RF"/> + <ValueElement CodeSystem="HL70119" DisplayName="Release previous hold" Usage="P" Value="RL"/> + <ValueElement CodeSystem="HL70119" DisplayName="Canceled as requested" Usage="P" Value="CR"/> + <ValueElement CodeSystem="HL70119" + DisplayName="Response to send order/service status request" + Usage="P" + Value="SR"/> + <ValueElement CodeSystem="HL70119" DisplayName="Order/service discontinued" Usage="P" + Value="OD"/> + <ValueElement CodeSystem="HL70119" DisplayName="Observations/Performed Service to follow" + Usage="P" + Value="RE"/> + <ValueElement CodeSystem="HL70119" DisplayName="Replacement order" Usage="P" Value="RO"/> + <ValueElement CodeSystem="HL70119" DisplayName="New order/service" Usage="P" Value="NW"/> + <ValueElement CodeSystem="HL70119" DisplayName="Unable to change" Usage="P" Value="UX"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70306" ContentDefinition="Extensional" + Description="Location status" + Extensibility="Closed" + Name="Location status" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70092" ContentDefinition="Extensional" + Description="Re-Admission Indicator" + Extensibility="Closed" + Name="Re-Admission Indicator" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70092" DisplayName="Re-admission" Usage="P" Value="R"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70411" ContentDefinition="Extensional" + Description="Supplemental Service Information Values" + Extensibility="Closed" + Name="Supplemental Service Information Values" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70117" ContentDefinition="Extensional" + Description="Account Status" + Extensibility="Closed" + Name="Account Status" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70222" ContentDefinition="Extensional" + Description="Contact Reason" + Extensibility="Closed" + Name="Contact Reason" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70114" ContentDefinition="Extensional" + Description="Diet Type" + Extensibility="Closed" + Name="Diet Type" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70485" ContentDefinition="Extensional" + Description="Extended Priority Codes" + Extensibility="Closed" + Name="Extended Priority Codes" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70485" DisplayName="Preop" Usage="P" Value="P"/> + <ValueElement CodeSystem="HL70485" DisplayName="As needed" Usage="P" Value="PRN"/> + <ValueElement CodeSystem="HL70485" DisplayName="Stat" Usage="P" Value="S"/> + <ValueElement CodeSystem="HL70485" DisplayName="Routine" Usage="P" Value="R"/> + <ValueElement CodeSystem="HL70485" DisplayName="ASAP" Usage="P" Value="A"/> + <ValueElement CodeSystem="HL70485" DisplayName="Callback" Usage="P" Value="C"/> + <ValueElement CodeSystem="HL70485" DisplayName="Timing critical" Usage="P" Value="T"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70335" ContentDefinition="Extensional" + Description="Repeat pattern" + Extensibility="Closed" + Name="Repeat pattern" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70335" DisplayName="every &lt;integer&gt; hours" Usage="P" + Value="Q&lt;integer&gt;H"/> + <ValueElement CodeSystem="HL70335" DisplayName="every &lt;integer&gt; minutes" Usage="P" + Value="Q&lt;integer&gt;M"/> + <ValueElement CodeSystem="HL70335" DisplayName="every &lt;integer&gt; seconds" Usage="P" + Value="Q&lt;integer&gt;S"/> + <ValueElement CodeSystem="HL70335" DisplayName="Cibus Diurnus (lunch)" Usage="P" Value="D"/> + <ValueElement CodeSystem="HL70335" DisplayName="Cibus Vespertinus (dinner)" Usage="P" + Value="V"/> + <ValueElement CodeSystem="HL70335" DisplayName="one time only." Usage="P" Value="Once"/> + <ValueElement CodeSystem="HL70335" DisplayName="Ante (before)" Usage="P" Value="A"/> + <ValueElement CodeSystem="HL70335" + DisplayName="during each of three eight-hour shifts at institution-specified times" + Usage="P" + Value="QSHIFT"/> + <ValueElement CodeSystem="HL70335" DisplayName="twice a day at institution-specified times" + Usage="P" + Value="BID"/> + <ValueElement CodeSystem="HL70335" DisplayName="Cibus Matutinus (breakfast)" Usage="P" + Value="M"/> + <ValueElement CodeSystem="HL70335" + DisplayName="service is provided continuously between start time and stop time" + Usage="P" + Value="C"/> + <ValueElement CodeSystem="HL70335" DisplayName="in the evening at institution-specified time" + Usage="P" + Value="QPM"/> + <ValueElement CodeSystem="HL70335" DisplayName="in the morning at institution-specified time" + Usage="P" + Value="QAM"/> + <ValueElement CodeSystem="HL70335" DisplayName="every day before the hour of sleep" Usage="P" + Value="QHS"/> + <ValueElement CodeSystem="HL70335" DisplayName="&lt;timing&gt;C (&#34;cum&#34;)&lt;meal&gt;" Usage="P" + Value="Meal Related Timings"/> + <ValueElement CodeSystem="HL70335" DisplayName="given as needed" Usage="P" Value="PRN"/> + <ValueElement CodeSystem="HL70335" + DisplayName="four times a day at institution-specified times" + Usage="P" + Value="QID"/> + <ValueElement CodeSystem="HL70335" + DisplayName="for future use, where &lt;spec&gt; is an interval specification as defined by the UNIX cron specification." + Usage="P" + Value="U &lt;spec&gt;"/> + <ValueElement CodeSystem="HL70335" DisplayName="where xxx is some frequency code" Usage="P" + Value="PRNxxx"/> + <ValueElement CodeSystem="HL70335" DisplayName="Post (after)" Usage="P" Value="P"/> + <ValueElement CodeSystem="HL70335" DisplayName="every &lt;integer&gt; days" Usage="P" + Value="Q&lt;integer&gt;D"/> + <ValueElement CodeSystem="HL70335" + DisplayName="three times a day at institution-specified times" + Usage="P" + Value="TID"/> + <ValueElement CodeSystem="HL70335" DisplayName="every other day" Usage="P" Value="QOD"/> + <ValueElement CodeSystem="HL70335" DisplayName="every &lt;integer&gt; months (Lunar cycle)" + Usage="P" + Value="Q&lt;integer&gt;L"/> + <ValueElement CodeSystem="HL70335" DisplayName="repeats on a particular day of the week," + Usage="P" + Value="Q&lt;integer&gt;J&lt;day#&gt;"/> + <ValueElement CodeSystem="HL70335" DisplayName="Inter" Usage="P" Value="I"/> + <ValueElement CodeSystem="HL70335" DisplayName="every &lt;integer&gt; weeks" Usage="P" + Value="Q&lt;integer&gt;W"/> + <ValueElement CodeSystem="HL70335" + DisplayName="&#34;X&#34;?? times per day at institution-specified times, where X is a numeral 5 or greater." + Usage="P" + Value="xID"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70185" ContentDefinition="Extensional" + Description="Preferred method of contact" + Extensibility="Closed" + Name="Preferred method of contact" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70185" DisplayName="Home Phone Number" Usage="P" Value="H"/> + <ValueElement CodeSystem="HL70185" DisplayName="Cellular Phone Number" Usage="P" Value="C"/> + <ValueElement CodeSystem="HL70185" DisplayName="FAX Number" Usage="P" Value="F"/> + <ValueElement CodeSystem="HL70185" DisplayName="Beeper Number" Usage="P" Value="B"/> + <ValueElement CodeSystem="HL70185" DisplayName="E-Mail Address" Usage="P" Value="E"/> + <ValueElement CodeSystem="HL70185" DisplayName="Office Phone Number" Usage="P" Value="O"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70129" ContentDefinition="Extensional" + Description="Accommodation code" + Extensibility="Closed" + Name="Accommodation code" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70189" ContentDefinition="Extensional" + Description="Ethnic Group" + Extensibility="Closed" + Name="Ethnic Group" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70189" DisplayName="Hispanic or Latino" Usage="P" Value="H"/> + <ValueElement CodeSystem="HL70189" DisplayName="Not Hispanic or Latino" Usage="P" Value="N"/> + <ValueElement CodeSystem="HL70189" DisplayName="Unknown" Usage="P" Value="U"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70204" ContentDefinition="Extensional" + Description="Organizational name type" + Extensibility="Closed" + Name="Organizational name type" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70204" DisplayName="Display name" Usage="P" Value="D"/> + <ValueElement CodeSystem="HL70204" DisplayName="Stock exchange listing name" Usage="P" + Value="SL"/> + <ValueElement CodeSystem="HL70204" DisplayName="Legal name" Usage="P" Value="L"/> + <ValueElement CodeSystem="HL70204" DisplayName="Alias name" Usage="P" Value="A"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70217" ContentDefinition="Extensional" + Description="Visit Priority Code" + Extensibility="Closed" + Name="Visit Priority Code" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70217" DisplayName="Elective" Usage="P" Value="3"/> + <ValueElement CodeSystem="HL70217" DisplayName="Emergency" Usage="P" Value="1"/> + <ValueElement CodeSystem="HL70217" DisplayName="Urgent" Usage="P" Value="2"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70224" ContentDefinition="Extensional" + Description="Transport Arranged" + Extensibility="Closed" + Name="Transport Arranged" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70224" DisplayName="Arranged" Usage="P" Value="A"/> + <ValueElement CodeSystem="HL70224" DisplayName="Unknown" Usage="P" Value="U"/> + <ValueElement CodeSystem="HL70224" DisplayName="Not Arranged" Usage="P" Value="N"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70503" ContentDefinition="Extensional" + Description="Sequence/Results Flag" + Extensibility="Closed" + Name="Sequence/Results Flag" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70503" DisplayName="Sequential" Usage="P" Value="S"/> + <ValueElement CodeSystem="HL70503" DisplayName="Reserved for future use" Usage="P" Value="R"/> + <ValueElement CodeSystem="HL70503" DisplayName="Cyclical" Usage="P" Value="C"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70446" ContentDefinition="Extensional" + Description="Species Code" + Extensibility="Closed" + Name="Species Code" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70099" ContentDefinition="Extensional" + Description="VIP Indicator" + Extensibility="Closed" + Name="VIP Indicator" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70328" ContentDefinition="Extensional" + Description="Employee classification" + Extensibility="Closed" + Name="Employee classification" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70212" ContentDefinition="Extensional" + Description="Nationality" + Extensibility="Closed" + Name="Nationality" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70308" ContentDefinition="Extensional" Description="Floor" + Extensibility="Closed" + Name="Floor" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70113" ContentDefinition="Extensional" + Description="Discharged to location" + Extensibility="Closed" + Name="Discharged to location" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70132" ContentDefinition="Extensional" + Description="Transaction Code" + Extensibility="Closed" + Name="Transaction Code" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70488" ContentDefinition="Extensional" + Description="Specimen Collection Method" + Extensibility="Closed" + Name="Specimen Collection Method" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70488" DisplayName="Transport Media, Stool Culture" Usage="P" + Value="TMSC"/> + <ValueElement CodeSystem="HL70488" DisplayName="Plate, New York City" Usage="P" Value="NYP"/> + <ValueElement CodeSystem="HL70488" DisplayName="Plate, Cough" Usage="P" Value="KOFFP"/> + <ValueElement CodeSystem="HL70488" DisplayName="Line, CVP" Usage="P" Value="CVP"/> + <ValueElement CodeSystem="HL70488" DisplayName="Transport Media, Chalamydia" Usage="P" + Value="TMCH"/> + <ValueElement CodeSystem="HL70488" DisplayName="Blood Culture, Pediatric Bottle" Usage="P" + Value="BCPD"/> + <ValueElement CodeSystem="HL70488" DisplayName="Scalp, Fetal Vein" Usage="P" Value="SCLP"/> + <ValueElement CodeSystem="HL70488" DisplayName="Pump Specimen" Usage="P" Value="PUMP"/> + <ValueElement CodeSystem="HL70488" DisplayName="Plate, Martin-Lewis" Usage="P" Value="MLP"/> + <ValueElement CodeSystem="HL70488" DisplayName="Transport Media, M4" Usage="P" Value="TMM4"/> + <ValueElement CodeSystem="HL70488" DisplayName="Scrapings" Usage="P" Value="SCRAPS"/> + <ValueElement CodeSystem="HL70488" DisplayName="Environmental, Swab" Usage="P" Value="ESWA"/> + <ValueElement CodeSystem="HL70488" DisplayName="Pump Prime" Usage="P" Value="PRIME"/> + <ValueElement CodeSystem="HL70488" DisplayName="Transport Media, Anaerobic" Usage="P" + Value="TMAN"/> + <ValueElement CodeSystem="HL70488" DisplayName="Plates, Blood Agar" Usage="P" Value="BAP"/> + <ValueElement CodeSystem="HL70488" DisplayName="Aterial puncture" Usage="P" Value="PNA"/> + <ValueElement CodeSystem="HL70488" DisplayName="Transport Media, Viral" Usage="P" + Value="TMVI"/> + <ValueElement CodeSystem="HL70488" DisplayName="Swab, Wooden Shaft" Usage="P" Value="WOOD"/> + <ValueElement CodeSystem="HL70488" DisplayName="Pinworm Prep" Usage="P" Value="PIN"/> + <ValueElement CodeSystem="HL70488" DisplayName="Biopsy" Usage="P" Value="BIO"/> + <ValueElement CodeSystem="HL70488" DisplayName="Transport Media, Mycoplasma" Usage="P" + Value="TMMY"/> + <ValueElement CodeSystem="HL70488" DisplayName="Aspiration, Fine Needle" Usage="P" + Value="FNA"/> + <ValueElement CodeSystem="HL70488" DisplayName="Line, Venous" Usage="P" Value="LNV"/> + <ValueElement CodeSystem="HL70488" DisplayName="Venipuncture" Usage="P" Value="VENIP"/> + <ValueElement CodeSystem="HL70488" DisplayName="Transport Media, Ureaplasma" Usage="P" + Value="TMUP"/> + <ValueElement CodeSystem="HL70488" DisplayName="Martin-Lewis Agar" Usage="P" Value="MARTL"/> + <ValueElement CodeSystem="HL70488" DisplayName="Pace, Gen-Probe" Usage="P" Value="PACE"/> + <ValueElement CodeSystem="HL70488" DisplayName="Shaving" Usage="P" Value="SHA"/> + <ValueElement CodeSystem="HL70488" DisplayName="Mod. Martin-Lewis Agar" Usage="P" + Value="ML11"/> + <ValueElement CodeSystem="HL70488" DisplayName="Catheterized" Usage="P" Value="CATH"/> + <ValueElement CodeSystem="HL70488" DisplayName="Quality Control For Micro" Usage="P" + Value="QC5"/> + <ValueElement CodeSystem="HL70488" DisplayName="Blood Culture, Anaerobic Bottle" Usage="P" + Value="BCAN"/> + <ValueElement CodeSystem="HL70488" DisplayName="Swab" Usage="P" Value="SWA"/> + <ValueElement CodeSystem="HL70488" DisplayName="Plates, Anaerobic" Usage="P" Value="ANP"/> + <ValueElement CodeSystem="HL70488" DisplayName="Blood Culture, Aerobic Bottle" Usage="P" + Value="BCAE"/> + <ValueElement CodeSystem="HL70488" DisplayName="Swab, Dacron tipped" Usage="P" Value="SWD"/> + <ValueElement CodeSystem="HL70488" DisplayName="Line, Arterial" Usage="P" Value="LNA"/> + <ValueElement CodeSystem="HL70488" DisplayName="Transport Media," Usage="P" Value="TMOT"/> + <ValueElement CodeSystem="HL70488" DisplayName="Capillary Specimen" Usage="P" Value="CAP"/> + <ValueElement CodeSystem="HL70488" DisplayName="Plate, Thayer-Martin" Usage="P" Value="TMP"/> + <ValueElement CodeSystem="HL70488" DisplayName="Environmental, Plate" Usage="P" Value="EPLA"/> + <ValueElement CodeSystem="HL70488" DisplayName="Transport Media, PVA" Usage="P" Value="TMPV"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70201" ContentDefinition="Extensional" + Description="Telecommunication use code" + Extensibility="Closed" + Name="Telecommunication use code" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70201" DisplayName="Emergency Number" Usage="P" Value="EMR"/> + <ValueElement CodeSystem="HL70201" DisplayName="Answering Service Number" Usage="P" + Value="ASN"/> + <ValueElement CodeSystem="HL70201" DisplayName="Vacation Home Number" Usage="P" Value="VHN"/> + <ValueElement CodeSystem="HL70201" DisplayName="Work Number" Usage="P" Value="WPN"/> + <ValueElement CodeSystem="HL70201" DisplayName="Other Residence Number" Usage="P" Value="ORN"/> + <ValueElement CodeSystem="HL70201" DisplayName="Beeper Number" Usage="P" Value="BPN"/> + <ValueElement CodeSystem="HL70201" DisplayName="Primary Residence Number" Usage="P" + Value="PRN"/> + <ValueElement CodeSystem="HL70201" DisplayName="Network (email) Address" Usage="P" + Value="NET"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70528" ContentDefinition="Extensional" + Description="Event related period" + Extensibility="Closed" + Name="Event related period" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70528" DisplayName="after meal (from lat. post cibus)" Usage="P" + Value="PC"/> + <ValueElement CodeSystem="HL70528" + DisplayName="before dinner (from lat. ante cibus vespertinus)" + Usage="P" + Value="ACV"/> + <ValueElement CodeSystem="HL70528" + DisplayName="before breakfast (from lat. ante cibus matutinus)" + Usage="P" + Value="ACM"/> + <ValueElement CodeSystem="HL70528" DisplayName="between dinner and the hour of sleep" + Usage="P" + Value="ICV"/> + <ValueElement CodeSystem="HL70528" + DisplayName="after dinner (from lat. post cibus vespertinus)" + Usage="P" + Value="PCV"/> + <ValueElement CodeSystem="HL70528" DisplayName="before lunch (from lat. ante cibus diurnus)" + Usage="P" + Value="ACD"/> + <ValueElement CodeSystem="HL70528" DisplayName="after lunch (from lat. post cibus diurnus)" + Usage="P" + Value="PCD"/> + <ValueElement CodeSystem="HL70528" DisplayName="between lunch and dinner" Usage="P" + Value="ICD"/> + <ValueElement CodeSystem="HL70528" + DisplayName="after breakfast (from lat. post cibus matutinus)" + Usage="P" + Value="PCM"/> + <ValueElement CodeSystem="HL70528" DisplayName="between breakfast and lunch" Usage="P" + Value="ICM"/> + <ValueElement CodeSystem="HL70528" DisplayName="the hour of sleep (e.g., H18-22)" Usage="P" + Value="HS"/> + <ValueElement CodeSystem="HL70528" DisplayName="between meals (from lat. inter cibus)" + Usage="P" + Value="IC"/> + <ValueElement CodeSystem="HL70528" DisplayName="before meal (from lat. ante cibus)" Usage="P" + Value="AC"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70205" ContentDefinition="Extensional" + Description="Price type" + Extensibility="Closed" + Name="Price type" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70205" DisplayName="technology fee for use of equipment" + Usage="P" + Value="TF"/> + <ValueElement CodeSystem="HL70205" + DisplayName="unit price, may be based on length of procedure or service" + Usage="P" + Value="UP"/> + <ValueElement CodeSystem="HL70205" DisplayName="direct unit cost" Usage="P" Value="DC"/> + <ValueElement CodeSystem="HL70205" DisplayName="professional fee for performing provider" + Usage="P" + Value="PF"/> + <ValueElement CodeSystem="HL70205" DisplayName="total price" Usage="P" Value="TP"/> + <ValueElement CodeSystem="HL70205" DisplayName="administrative price or handling fee" + Usage="P" + Value="AP"/> + <ValueElement CodeSystem="HL70205" DisplayName="indirect unit cost" Usage="P" Value="IC"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70492" ContentDefinition="Extensional" + Description="Specimen Appropriateness" + Extensibility="Closed" + Name="Specimen Appropriateness" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70492" DisplayName="Inappropriate" Usage="P" Value="I"/> + <ValueElement CodeSystem="HL70492" DisplayName="Appropriate" Usage="P" Value="A"/> + <ValueElement CodeSystem="HL70492" DisplayName="Inappropriate due to ..." Usage="P" + Value="??"/> + <ValueElement CodeSystem="HL70492" DisplayName="Preferred" Usage="P" Value="P"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70124" ContentDefinition="Extensional" + Description="Transportation Mode" + Extensibility="Closed" + Name="Transportation Mode" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70124" + DisplayName="The examining device goes to patient's location" + Usage="P" + Value="PORT"/> + <ValueElement CodeSystem="HL70124" DisplayName="Cart - patient travels on cart or gurney" + Usage="P" + Value="CART"/> + <ValueElement CodeSystem="HL70124" DisplayName="Patient walks to diagnostic service" + Usage="P" + Value="WALK"/> + <ValueElement CodeSystem="HL70124" DisplayName="Wheelchair" Usage="P" Value="WHLC"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70142" ContentDefinition="Extensional" + Description="Military Status" + Extensibility="Closed" + Name="Military Status" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70142" DisplayName="Active duty" Usage="P" Value="ACT"/> + <ValueElement CodeSystem="HL70142" DisplayName="Deceased" Usage="P" Value="DEC"/> + <ValueElement CodeSystem="HL70142" DisplayName="Retired" Usage="P" Value="RET"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70549" ContentDefinition="Extensional" + Description="NDC Codes" + Extensibility="Closed" + Name="NDC Codes" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70063" ContentDefinition="Extensional" + Description="Relationship" + Extensibility="Closed" + Name="Relationship" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70063" DisplayName="Employee" Usage="P" Value="EME"/> + <ValueElement CodeSystem="HL70063" DisplayName="Foster child" Usage="P" Value="FCH"/> + <ValueElement CodeSystem="HL70063" DisplayName="Brother" Usage="P" Value="BRO"/> + <ValueElement CodeSystem="HL70063" DisplayName="Other" Usage="P" Value="OTH"/> + <ValueElement CodeSystem="HL70063" DisplayName="Handicapped dependent" Usage="P" Value="DEP"/> + <ValueElement CodeSystem="HL70063" DisplayName="Care giver" Usage="P" Value="CGV"/> + <ValueElement CodeSystem="HL70063" DisplayName="Spouse" Usage="P" Value="SPO"/> + <ValueElement CodeSystem="HL70063" DisplayName="Other adult" Usage="P" Value="OAD"/> + <ValueElement CodeSystem="HL70063" DisplayName="Owner" Usage="P" Value="OWN"/> + <ValueElement CodeSystem="HL70063" DisplayName="Child" Usage="P" Value="CHD"/> + <ValueElement CodeSystem="HL70063" DisplayName="Mother" Usage="P" Value="MTH"/> + <ValueElement CodeSystem="HL70063" DisplayName="Manager" Usage="P" Value="MGR"/> + <ValueElement CodeSystem="HL70063" DisplayName="Life partner" Usage="P" Value="DOM"/> + <ValueElement CodeSystem="HL70063" DisplayName="Parent" Usage="P" Value="PAR"/> + <ValueElement CodeSystem="HL70063" DisplayName="Natural child" Usage="P" Value="NCH"/> + <ValueElement CodeSystem="HL70063" DisplayName="Father" Usage="P" Value="FTH"/> + <ValueElement CodeSystem="HL70063" DisplayName="Extended family" Usage="P" Value="EXF"/> + <ValueElement CodeSystem="HL70063" DisplayName="Grandchild" Usage="P" Value="GCH"/> + <ValueElement CodeSystem="HL70063" DisplayName="Self" Usage="P" Value="SEL"/> + <ValueElement CodeSystem="HL70063" DisplayName="Unknown" Usage="P" Value="UNK"/> + <ValueElement CodeSystem="HL70063" DisplayName="Grandparent" Usage="P" Value="GRP"/> + <ValueElement CodeSystem="HL70063" DisplayName="Associate" Usage="P" Value="ASC"/> + <ValueElement CodeSystem="HL70063" DisplayName="Guardian" Usage="P" Value="GRD"/> + <ValueElement CodeSystem="HL70063" DisplayName="Emergency contact" Usage="P" Value="EMC"/> + <ValueElement CodeSystem="HL70063" DisplayName="Employer" Usage="P" Value="EMR"/> + <ValueElement CodeSystem="HL70063" DisplayName="Friend" Usage="P" Value="FND"/> + <ValueElement CodeSystem="HL70063" DisplayName="Stepchild" Usage="P" Value="SCH"/> + <ValueElement CodeSystem="HL70063" DisplayName="Sibling" Usage="P" Value="SIB"/> + <ValueElement CodeSystem="HL70063" DisplayName="Ward of court" Usage="P" Value="WRD"/> + <ValueElement CodeSystem="HL70063" DisplayName="None" Usage="P" Value="NON"/> + <ValueElement CodeSystem="HL70063" DisplayName="Sister" Usage="P" Value="SIS"/> + <ValueElement CodeSystem="HL70063" DisplayName="Trainer" Usage="P" Value="TRA"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70364" ContentDefinition="Extensional" + Description="Comment type" + Extensibility="Closed" + Name="Comment type" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70364" DisplayName="Secondary Reason" Usage="P" Value="2R"/> + <ValueElement CodeSystem="HL70364" DisplayName="Ancillary Instructions" Usage="P" Value="AI"/> + <ValueElement CodeSystem="HL70364" DisplayName="Patient Instructions" Usage="P" Value="PI"/> + <ValueElement CodeSystem="HL70364" DisplayName="General Instructions" Usage="P" Value="GI"/> + <ValueElement CodeSystem="HL70364" DisplayName="Primary Reason" Usage="P" Value="1R"/> + <ValueElement CodeSystem="HL70364" DisplayName="Duplicate/Interaction Reason" Usage="P" + Value="DR"/> + <ValueElement CodeSystem="HL70364" DisplayName="Remark" Usage="P" Value="RE"/> + <ValueElement CodeSystem="HL70364" DisplayName="General Reason" Usage="P" Value="GR"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70295" ContentDefinition="Extensional" + Description="Handicap" + Extensibility="Closed" + Name="Handicap" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70431" ContentDefinition="Extensional" + Description="Recreational Drug Use Code" + Extensibility="Closed" + Name="Recreational Drug Use Code" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70431" DisplayName="Unknown" Usage="P" Value="U"/> + <ValueElement CodeSystem="HL70431" DisplayName="Marijuana" Usage="P" Value="M"/> + <ValueElement CodeSystem="HL70431" DisplayName="Tobacco - smoked" Usage="P" Value="T"/> + <ValueElement CodeSystem="HL70431" DisplayName="Kava" Usage="P" Value="K"/> + <ValueElement CodeSystem="HL70431" DisplayName="Other" Usage="P" Value="O"/> + <ValueElement CodeSystem="HL70431" DisplayName="Alcohol" Usage="P" Value="A"/> + <ValueElement CodeSystem="HL70431" DisplayName="Tobacco - chewed" Usage="P" Value="C"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70307" ContentDefinition="Extensional" + Description="Building" + Extensibility="Closed" + Name="Building" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70524" ContentDefinition="Extensional" + Description="Sequence condition" + Extensibility="Closed" + Name="Sequence condition" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70524" DisplayName="Reserved for possible future use" Usage="P" + Value="R"/> + <ValueElement CodeSystem="HL70524" DisplayName="Sequence conditions" Usage="P" Value="S"/> + <ValueElement CodeSystem="HL70524" DisplayName="Repeating cycle of orders" Usage="P" + Value="C"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70483" ContentDefinition="Extensional" + Description="Authorization Mode" + Extensibility="Closed" + Name="Authorization Mode" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70483" DisplayName="Paper" Usage="P" Value="PA"/> + <ValueElement CodeSystem="HL70483" DisplayName="Voice" Usage="P" Value="VO"/> + <ValueElement CodeSystem="HL70483" DisplayName="Fax" Usage="P" Value="FX"/> + <ValueElement CodeSystem="HL70483" DisplayName="Video-conference" Usage="P" Value="VC"/> + <ValueElement CodeSystem="HL70483" DisplayName="Mail" Usage="P" Value="MA"/> + <ValueElement CodeSystem="HL70483" DisplayName="Phone" Usage="P" Value="PH"/> + <ValueElement CodeSystem="HL70483" DisplayName="E-mail" Usage="P" Value="EM"/> + <ValueElement CodeSystem="HL70483" DisplayName="Electronic" Usage="P" Value="EL"/> + <ValueElement CodeSystem="HL70483" DisplayName="In Person" Usage="P" Value="IP"/> + <ValueElement CodeSystem="HL70483" DisplayName="Reflexive (Automated system)" Usage="P" + Value="RE"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70140" ContentDefinition="Extensional" + Description="Military Service" + Extensibility="Closed" + Name="Military Service" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70140" DisplayName="North Atlantic Treaty Organization" Usage="P" + Value="NATO"/> + <ValueElement CodeSystem="HL70140" DisplayName="Australian Air Force" Usage="P" Value="AUSAF"/> + <ValueElement CodeSystem="HL70140" DisplayName="US Public Health Service" Usage="P" + Value="USPHS"/> + <ValueElement CodeSystem="HL70140" + DisplayName="National Oceanic and Atmospheric Administration" + Usage="P" + Value="NOAA"/> + <ValueElement CodeSystem="HL70140" DisplayName="US Air Force" Usage="P" Value="USAF"/> + <ValueElement CodeSystem="HL70140" DisplayName="US Marine Corps" Usage="P" Value="USMC"/> + <ValueElement CodeSystem="HL70140" DisplayName="Australian Army" Usage="P" Value="AUSA"/> + <ValueElement CodeSystem="HL70140" DisplayName="US Navy" Usage="P" Value="USN"/> + <ValueElement CodeSystem="HL70140" DisplayName="US Army" Usage="P" Value="USA"/> + <ValueElement CodeSystem="HL70140" DisplayName="US Coast Guard" Usage="P" Value="USCG"/> + <ValueElement CodeSystem="HL70140" DisplayName="Australian Navy" Usage="P" Value="AUSN"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70289" ContentDefinition="Extensional" + Description="County/parish" + Extensibility="Closed" + Name="County/parish" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70429" ContentDefinition="Extensional" + Description="Production Class Code" + Extensibility="Closed" + Name="Production Class Code" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70429" DisplayName="Other" Usage="P" Value="OT"/> + <ValueElement CodeSystem="HL70429" DisplayName="Unknown" Usage="P" Value="U"/> + <ValueElement CodeSystem="HL70429" DisplayName="Show" Usage="P" Value="SH"/> + <ValueElement CodeSystem="HL70429" DisplayName="Breeding/genetic stock" Usage="P" Value="BR"/> + <ValueElement CodeSystem="HL70429" DisplayName="Racing" Usage="P" Value="RA"/> + <ValueElement CodeSystem="HL70429" DisplayName="Draft" Usage="P" Value="DR"/> + <ValueElement CodeSystem="HL70429" DisplayName="Not Applicable" Usage="P" Value="NA"/> + <ValueElement CodeSystem="HL70429" DisplayName="Layer, Includes Multiplier flocks" Usage="P" + Value="LY"/> + <ValueElement CodeSystem="HL70429" DisplayName="Meat" Usage="P" Value="MT"/> + <ValueElement CodeSystem="HL70429" DisplayName="Pleasure" Usage="P" Value="PL"/> + <ValueElement CodeSystem="HL70429" DisplayName="Dual Purpose" Usage="P" Value="DU"/> + <ValueElement CodeSystem="HL70429" DisplayName="Dairy" Usage="P" Value="DA"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70021" ContentDefinition="Extensional" + Description="Bad Debt Agency Code" + Extensibility="Closed" + Name="Bad Debt Agency Code" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70223" ContentDefinition="Extensional" + Description="Living Dependency" + Extensibility="Closed" + Name="Living Dependency" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70223" DisplayName="Other" Usage="P" Value="O"/> + <ValueElement CodeSystem="HL70223" DisplayName="Small Children Dependent" Usage="P" Value="C"/> + <ValueElement CodeSystem="HL70223" DisplayName="Medical Supervision Required" Usage="P" + Value="M"/> + <ValueElement CodeSystem="HL70223" DisplayName="Spouse Dependent" Usage="P" Value="S"/> + <ValueElement CodeSystem="HL70223" DisplayName="Unknown" Usage="P" Value="U"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70371" ContentDefinition="Extensional" + Description="Additive/Preservative" + Extensibility="Closed" + Name="Additive/Preservative" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70371" DisplayName="Potassium/K EDTA 15%" Usage="P" + Value="EDTK15"/> + <ValueElement CodeSystem="HL70371" DisplayName="Sodium Fluoride, 100mg" Usage="P" + Value="FL100"/> + <ValueElement CodeSystem="HL70371" DisplayName="Lithium/Li Heparin" Usage="P" Value="HEPL"/> + <ValueElement CodeSystem="HL70371" DisplayName="M4" Usage="P" Value="M4"/> + <ValueElement CodeSystem="HL70371" DisplayName="Sodium/Na Heparin" Usage="P" Value="HEPN"/> + <ValueElement CodeSystem="HL70371" DisplayName="Potassium Oxalate" Usage="P" Value="KOX"/> + <ValueElement CodeSystem="HL70371" DisplayName="6N HCL" Usage="P" Value="HCL6"/> + <ValueElement CodeSystem="HL70371" DisplayName="Pages's Saline" Usage="P" Value="PAGE"/> + <ValueElement CodeSystem="HL70371" DisplayName="Siliceous earth, 12 mg" Usage="P" + Value="SILICA"/> + <ValueElement CodeSystem="HL70371" DisplayName="None" Usage="P" Value="NONE"/> + <ValueElement CodeSystem="HL70371" DisplayName="ACD Solution B" Usage="P" Value="ACDB"/> + <ValueElement CodeSystem="HL70371" DisplayName="Ureaplasma transport medium" Usage="P" + Value="URETM"/> + <ValueElement CodeSystem="HL70371" DisplayName="Potassium/K EDTA" Usage="P" Value="EDTK"/> + <ValueElement CodeSystem="HL70371" DisplayName="Thyoglycollate broth" Usage="P" Value="THYO"/> + <ValueElement CodeSystem="HL70371" DisplayName="ACD Solution A" Usage="P" Value="ACDA"/> + <ValueElement CodeSystem="HL70371" DisplayName="Toluene" Usage="P" Value="TOLU"/> + <ValueElement CodeSystem="HL70371" + DisplayName="Thrombin NIH; soybean trypsin inhibitor (Fibrin Degradation Products)" + Usage="P" + Value="FDP"/> + <ValueElement CodeSystem="HL70371" DisplayName="M5" Usage="P" Value="M5"/> + <ValueElement CodeSystem="HL70371" DisplayName="Bouin's solution" Usage="P" Value="BOUIN"/> + <ValueElement CodeSystem="HL70371" DisplayName="Carson's Modified 10% formalin" Usage="P" + Value="CARS"/> + <ValueElement CodeSystem="HL70371" DisplayName="Enteric bacteria transport medium" Usage="P" + Value="ENT"/> + <ValueElement CodeSystem="HL70371" DisplayName="Cary Blair Medium" Usage="P" Value="CARY"/> + <ValueElement CodeSystem="HL70371" + DisplayName="Sodium polyanethol sulfonate 0.35% in 0.85% sodium chloride" + Usage="P" + Value="NAPS"/> + <ValueElement CodeSystem="HL70371" DisplayName="10% Formalin" Usage="P" Value="F10"/> + <ValueElement CodeSystem="HL70371" DisplayName="3.2% Citrate" Usage="P" Value="C32"/> + <ValueElement CodeSystem="HL70371" DisplayName="Borate Boric Acid" Usage="P" Value="BOR"/> + <ValueElement CodeSystem="HL70371" DisplayName="Sodium/Na EDTA" Usage="P" Value="EDTN"/> + <ValueElement CodeSystem="HL70371" DisplayName="Thymol" Usage="P" Value="THYMOL"/> + <ValueElement CodeSystem="HL70371" DisplayName="PVA (polyvinylalcohol)" Usage="P" Value="PVA"/> + <ValueElement CodeSystem="HL70371" DisplayName="Karnovsky's fixative" Usage="P" Value="KARN"/> + <ValueElement CodeSystem="HL70371" DisplayName="Phenol" Usage="P" Value="PHENOL"/> + <ValueElement CodeSystem="HL70371" + DisplayName="Buffered Citrate (Westergren Sedimentation Rate)" + Usage="P" + Value="WEST"/> + <ValueElement CodeSystem="HL70371" DisplayName="Buffered 10% formalin" Usage="P" Value="BF10"/> + <ValueElement CodeSystem="HL70371" DisplayName="Sodium Fluoride" Usage="P" Value="NAF"/> + <ValueElement CodeSystem="HL70371" DisplayName="Enteric plus" Usage="P" Value="ENT+"/> + <ValueElement CodeSystem="HL70371" DisplayName="Sodium Fluoride, 10mg" Usage="P" Value="FL10"/> + <ValueElement CodeSystem="HL70371" DisplayName="Stuart transport medium" Usage="P" + Value="STUTM"/> + <ValueElement CodeSystem="HL70371" DisplayName="Ammonium heparin" Usage="P" Value="HEPA"/> + <ValueElement CodeSystem="HL70371" DisplayName="M4-RT" Usage="P" Value="M4RT"/> + <ValueElement CodeSystem="HL70371" DisplayName="Thrombin" Usage="P" Value="THROM"/> + <ValueElement CodeSystem="HL70371" DisplayName="Serum Separator Tube (Polymer Gel)" Usage="P" + Value="SST"/> + <ValueElement CodeSystem="HL70371" DisplayName="Nitric Acid" Usage="P" Value="HNO3"/> + <ValueElement CodeSystem="HL70371" DisplayName="Reagan Lowe Medium" Usage="P" Value="RLM"/> + <ValueElement CodeSystem="HL70371" DisplayName="Acetic Acid" Usage="P" Value="ACET"/> + <ValueElement CodeSystem="HL70371" DisplayName="3.8% Citrate" Usage="P" Value="C38"/> + <ValueElement CodeSystem="HL70371" DisplayName="Jones Kendrick Medium" Usage="P" Value="JKM"/> + <ValueElement CodeSystem="HL70371" DisplayName="Potassium/K EDTA 7.5%" Usage="P" + Value="EDTK75"/> + <ValueElement CodeSystem="HL70371" + DisplayName="CTAD (this should be spelled out if not universally understood)" + Usage="P" + Value="CTAD"/> + <ValueElement CodeSystem="HL70371" DisplayName="Amies transport medium" Usage="P" + Value="AMIES"/> + <ValueElement CodeSystem="HL70371" + DisplayName="SPS(this should be spelled out if not universally understood)" + Usage="P" + Value="SPS"/> + <ValueElement CodeSystem="HL70371" DisplayName="Buffered skim milk" Usage="P" Value="BSKM"/> + <ValueElement CodeSystem="HL70371" DisplayName="Chlamydia transport medium" Usage="P" + Value="CHLTM"/> + <ValueElement CodeSystem="HL70371" DisplayName="Viral Transport medium" Usage="P" + Value="VIRTM"/> + <ValueElement CodeSystem="HL70371" DisplayName="Lithium iodoacetate" Usage="P" Value="LIA"/> + <ValueElement CodeSystem="HL70371" DisplayName="Michel's transport medium" Usage="P" + Value="MICHTM"/> + <ValueElement CodeSystem="HL70371" DisplayName="Bacterial Transport medium" Usage="P" + Value="BACTM"/> + <ValueElement CodeSystem="HL70371" DisplayName="MMD transport medium" Usage="P" Value="MMDTM"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70088" ContentDefinition="Extensional" + Description="Procedure Code" + Extensibility="Closed" + Name="Procedure Code" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70116" ContentDefinition="Extensional" + Description="Bed Status" + Extensibility="Closed" + Name="Bed Status" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70116" DisplayName="Occupied" Usage="P" Value="O"/> + <ValueElement CodeSystem="HL70116" DisplayName="Closed" Usage="P" Value="C"/> + <ValueElement CodeSystem="HL70116" DisplayName="Housekeeping" Usage="P" Value="H"/> + <ValueElement CodeSystem="HL70116" DisplayName="Isolated" Usage="P" Value="I"/> + <ValueElement CodeSystem="HL70116" DisplayName="Unoccupied" Usage="P" Value="U"/> + <ValueElement CodeSystem="HL70116" DisplayName="Contaminated" Usage="P" Value="K"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70051" ContentDefinition="Extensional" + Description="Diagnosis Code" + Extensibility="Closed" + Name="Diagnosis Code" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70005" ContentDefinition="Extensional" Description="Race" + Extensibility="Closed" + Name="Race" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70005" DisplayName="White" Usage="P" Value="2106-3"/> + <ValueElement CodeSystem="HL70005" DisplayName="Other Race" Usage="P" Value="2131-1"/> + <ValueElement CodeSystem="HL70005" DisplayName="Native Hawaiian or Other Pacific Islander" + Usage="P" + Value="2076-8"/> + <ValueElement CodeSystem="HL70005" DisplayName="American Indian or Alaska Native" Usage="P" + Value="1002-5"/> + <ValueElement CodeSystem="HL70005" DisplayName="Black or African American" Usage="P" + Value="2054-5"/> + <ValueElement CodeSystem="HL70005" DisplayName="Asian" Usage="P" Value="2028-9"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70123" ContentDefinition="Extensional" + Description="Result Status" + Extensibility="Closed" + Name="Result Status" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70123" + DisplayName="No results available; specimen received, procedure incomplete" + Usage="P" + Value="I"/> + <ValueElement CodeSystem="HL70123" DisplayName="Results stored; not yet verified" Usage="P" + Value="R"/> + <ValueElement CodeSystem="HL70123" DisplayName="Order received; specimen not yet received" + Usage="P" + Value="O"/> + <ValueElement CodeSystem="HL70123" + DisplayName="No order on record for this test. (Used only on queries)" + Usage="P" + Value="Y"/> + <ValueElement CodeSystem="HL70123" + DisplayName="No results available; procedure scheduled, but not done" + Usage="P" + Value="S"/> + <ValueElement CodeSystem="HL70123" + DisplayName="No record of this patient. (Used only on queries)" + Usage="P" + Value="Z"/> + <ValueElement CodeSystem="HL70123" DisplayName="Some, but not all, results available" + Usage="P" + Value="A"/> + <ValueElement CodeSystem="HL70123" + DisplayName="Final results; results stored and verified. Can only be changed with a corrected result." + Usage="P" + Value="F"/> + <ValueElement CodeSystem="HL70123" DisplayName="No results available; Order canceled." + Usage="P" + Value="X"/> + <ValueElement CodeSystem="HL70123" + DisplayName="Preliminary: A verified early result is available, final results not yet obtained" + Usage="P" + Value="P"/> + <ValueElement CodeSystem="HL70123" DisplayName="Correction to results" Usage="P" Value="C"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70069" ContentDefinition="Extensional" + Description="Hospital Service" + Extensibility="Closed" + Name="Hospital Service" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70069" DisplayName="Surgical Service" Usage="P" Value="SUR"/> + <ValueElement CodeSystem="HL70069" DisplayName="Medical Service" Usage="P" Value="MED"/> + <ValueElement CodeSystem="HL70069" DisplayName="Cardiac Service" Usage="P" Value="CAR"/> + <ValueElement CodeSystem="HL70069" DisplayName="Pulmonary Service" Usage="P" Value="PUL"/> + <ValueElement CodeSystem="HL70069" DisplayName="Urology Service" Usage="P" Value="URO"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70218" ContentDefinition="Extensional" + Description="Patient Charge Adjustment" + Extensibility="Closed" + Name="Patient Charge Adjustment" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70001" ContentDefinition="Extensional" + Description="Administrative Sex" + Extensibility="Closed" + Name="Administrative Sex" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70001" DisplayName="Female" Usage="P" Value="F"/> + <ValueElement CodeSystem="HL70001" DisplayName="Male" Usage="P" Value="M"/> + <ValueElement CodeSystem="HL70001" DisplayName="Not applicable" Usage="P" Value="N"/> + <ValueElement CodeSystem="HL70001" DisplayName="Ambiguous" Usage="P" Value="A"/> + <ValueElement CodeSystem="HL70001" DisplayName="Other" Usage="P" Value="O"/> + <ValueElement CodeSystem="HL70001" DisplayName="Unknown" Usage="P" Value="U"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70076" ContentDefinition="Extensional" + Description="Message type" + Extensibility="Closed" + Name="Message type" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70076" DisplayName="Application management response message" + Usage="P" + Value="NMR"/> + <ValueElement CodeSystem="HL70076" DisplayName="Clinical study registration message" + Usage="P" + Value="CRM"/> + <ValueElement CodeSystem="HL70076" DisplayName="Application management query message" + Usage="P" + Value="NMQ"/> + <ValueElement CodeSystem="HL70076" DisplayName="Pharmacy/treatment order response" Usage="P" + Value="ROR"/> + <ValueElement CodeSystem="HL70076" + DisplayName="Automated equipment status update acknowledgment message" + Usage="P" + Value="ESR"/> + <ValueElement CodeSystem="HL70076" DisplayName="Blood product order message" Usage="P" + Value="OMB"/> + <ValueElement CodeSystem="HL70076" DisplayName="Add/change billing account" Usage="P" + Value="BAR"/> + <ValueElement CodeSystem="HL70076" DisplayName="Pharmacy/treatment order message" Usage="P" + Value="ORM"/> + <ValueElement CodeSystem="HL70076" + DisplayName="Pharmacy/treatment dispense acknowledgment message" + Usage="P" + Value="RRD"/> + <ValueElement CodeSystem="HL70076" DisplayName="Return patient information" Usage="P" + Value="RPI"/> + <ValueElement CodeSystem="HL70076" + DisplayName="Non-stock requisition - General order acknowledgment message" + Usage="P" + Value="ORN"/> + <ValueElement CodeSystem="HL70076" DisplayName="Schedule query message" Usage="P" Value="SQM"/> + <ValueElement CodeSystem="HL70076" DisplayName="Schedule information unsolicited" Usage="P" + Value="SIU"/> + <ValueElement CodeSystem="HL70076" + DisplayName="Stock requisition - Order acknowledgment message" + Usage="P" + Value="ORS"/> + <ValueElement CodeSystem="HL70076" DisplayName="Patient problem response" Usage="P" + Value="PRR"/> + <ValueElement CodeSystem="HL70076" DisplayName="Non-stock requisition order message" + Usage="P" + Value="OMN"/> + <ValueElement CodeSystem="HL70076" DisplayName="Patient pathway message (goal-oriented)" + Usage="P" + Value="PPG"/> + <ValueElement CodeSystem="HL70076" DisplayName="Query response for order status" Usage="P" + Value="OSQ"/> + <ValueElement CodeSystem="HL70076" DisplayName="Detail financial transactions" Usage="P" + Value="DFT"/> + <ValueElement CodeSystem="HL70076" DisplayName="Request clinical information" Usage="P" + Value="RQC"/> + <ValueElement CodeSystem="HL70076" DisplayName="Request patient demographics" Usage="P" + Value="RQP"/> + <ValueElement CodeSystem="HL70076" DisplayName="Query general acknowledgment" Usage="P" + Value="QCK"/> + <ValueElement CodeSystem="HL70076" DisplayName="Unsolicited vaccination record update" + Usage="P" + Value="VXU"/> + <ValueElement CodeSystem="HL70076" DisplayName="Return referral information" Usage="P" + Value="RRI"/> + <ValueElement CodeSystem="HL70076" DisplayName="Document response" Usage="P" Value="DOC"/> + <ValueElement CodeSystem="HL70076" DisplayName="Automated equipment notification message" + Usage="P" + Value="EAN"/> + <ValueElement CodeSystem="HL70076" DisplayName="General clinical order message" Usage="P" + Value="OMG"/> + <ValueElement CodeSystem="HL70076" DisplayName="Automated equipment status update message" + Usage="P" + Value="ESU"/> + <ValueElement CodeSystem="HL70076" DisplayName="Specimen status request message" Usage="P" + Value="SSR"/> + <ValueElement CodeSystem="HL70076" DisplayName="General acknowledgment message" Usage="P" + Value="ACK"/> + <ValueElement CodeSystem="HL70076" DisplayName="Return patient authorization" Usage="P" + Value="RPA"/> + <ValueElement CodeSystem="HL70076" DisplayName="Query for vaccination record" Usage="P" + Value="VXQ"/> + <ValueElement CodeSystem="HL70076" + DisplayName="Blood product transfusion/disposition acknowledgement message" + Usage="P" + Value="BRT"/> + <ValueElement CodeSystem="HL70076" + DisplayName="Delayed Acknowledgment (Retained for backward compatibility only)" + Usage="P" + Value="MCF"/> + <ValueElement CodeSystem="HL70076" + DisplayName="Blood product dispense status acknowledgement message" + Usage="P" + Value="BRP"/> + <ValueElement CodeSystem="HL70076" DisplayName="Create subscription" Usage="P" Value="QSB"/> + <ValueElement CodeSystem="HL70076" DisplayName="Dietary order acknowledgment message" + Usage="P" + Value="ORD"/> + <ValueElement CodeSystem="HL70076" DisplayName="Display based response" Usage="P" Value="RDY"/> + <ValueElement CodeSystem="HL70076" DisplayName="Automated equipment command message" + Usage="P" + Value="EAC"/> + <ValueElement CodeSystem="HL70076" DisplayName="Pharmacy/treatment encoded order information" + Usage="P" + Value="RER"/> + <ValueElement CodeSystem="HL70076" DisplayName="Schedule request message" Usage="P" + Value="SRM"/> + <ValueElement CodeSystem="HL70076" + DisplayName="Automated equipment test code settings update message" + Usage="P" + Value="TCU"/> + <ValueElement CodeSystem="HL70076" DisplayName="Patient pathway message (problem-oriented)" + Usage="P" + Value="PPP"/> + <ValueElement CodeSystem="HL70076" DisplayName="Master files response" Usage="P" Value="MFR"/> + <ValueElement CodeSystem="HL70076" DisplayName="Virtual table query" Usage="P" Value="VQQ"/> + <ValueElement CodeSystem="HL70076" DisplayName="Master files notification" Usage="P" + Value="MFN"/> + <ValueElement CodeSystem="HL70076" DisplayName="Query for results of observation" Usage="P" + Value="ORF"/> + <ValueElement CodeSystem="HL70076" DisplayName="Schedule query response" Usage="P" + Value="SQR"/> + <ValueElement CodeSystem="HL70076" DisplayName="Dietary order" Usage="P" Value="OMD"/> + <ValueElement CodeSystem="HL70076" DisplayName="Summary product experience report" Usage="P" + Value="SUR"/> + <ValueElement CodeSystem="HL70076" DisplayName="Add personnel record" Usage="P" Value="PMU"/> + <ValueElement CodeSystem="HL70076" DisplayName="Specimen status update message" Usage="P" + Value="SSU"/> + <ValueElement CodeSystem="HL70076" DisplayName="Query by parameter" Usage="P" Value="QBP"/> + <ValueElement CodeSystem="HL70076" DisplayName="ADT response" Usage="P" Value="ADR"/> + <ValueElement CodeSystem="HL70076" + DisplayName="General order response message response to any ORM" + Usage="P" + Value="ORR"/> + <ValueElement CodeSystem="HL70076" DisplayName="Pharmacy/treatment dose information" + Usage="P" + Value="RGR"/> + <ValueElement CodeSystem="HL70076" + DisplayName="Pharmacy/treatment encoded order acknowledgment message" + Usage="P" + Value="RRE"/> + <ValueElement CodeSystem="HL70076" DisplayName="Blood product dispense status message" + Usage="P" + Value="BPS"/> + <ValueElement CodeSystem="HL70076" DisplayName="Display response" Usage="P" Value="DSR"/> + <ValueElement CodeSystem="HL70076" + DisplayName="Pharmacy/treatment give acknowledgment message" + Usage="P" + Value="RRG"/> + <ValueElement CodeSystem="HL70076" DisplayName="Medical document management" Usage="P" + Value="MDM"/> + <ValueElement CodeSystem="HL70076" DisplayName="Query, original mode" Usage="P" Value="QRY"/> + <ValueElement CodeSystem="HL70076" DisplayName="Event replay query" Usage="P" Value="RQQ"/> + <ValueElement CodeSystem="HL70076" DisplayName="Unsolicited laboratory observation message" + Usage="P" + Value="OUL"/> + <ValueElement CodeSystem="HL70076" DisplayName="Patient referral" Usage="P" Value="REF"/> + <ValueElement CodeSystem="HL70076" DisplayName="Product experience message" Usage="P" + Value="PEX"/> + <ValueElement CodeSystem="HL70076" DisplayName="Request patient authorization" Usage="P" + Value="RQA"/> + <ValueElement CodeSystem="HL70076" DisplayName="Pharmacy/treatment give message" Usage="P" + Value="RGV"/> + <ValueElement CodeSystem="HL70076" DisplayName="Return patient display list" Usage="P" + Value="RPL"/> + <ValueElement CodeSystem="HL70076" DisplayName="Patient insurance information" Usage="P" + Value="PIN"/> + <ValueElement CodeSystem="HL70076" DisplayName="Blood product order acknowledgement message" + Usage="P" + Value="ORB"/> + <ValueElement CodeSystem="HL70076" + DisplayName="Pharmacy/treatment order acknowledgment message" + Usage="P" + Value="ORP"/> + <ValueElement CodeSystem="HL70076" DisplayName="Automated equipment response message" + Usage="P" + Value="EAR"/> + <ValueElement CodeSystem="HL70076" DisplayName="Query for previous events" Usage="P" + Value="QVR"/> + <ValueElement CodeSystem="HL70076" DisplayName="Embedded query language query" Usage="P" + Value="EQQ"/> + <ValueElement CodeSystem="HL70076" + DisplayName="Laboratory acknowledgment message (unsolicited)" + Usage="P" + Value="ORL"/> + <ValueElement CodeSystem="HL70076" DisplayName="Vaccination record response" Usage="P" + Value="VXR"/> + <ValueElement CodeSystem="HL70076" DisplayName="Pharmacy/treatment order message" Usage="P" + Value="OMP"/> + <ValueElement CodeSystem="HL70076" DisplayName="Patient problem message" Usage="P" + Value="PPR"/> + <ValueElement CodeSystem="HL70076" + DisplayName="Blood product transfusion/disposition message" + Usage="P" + Value="BTS"/> + <ValueElement CodeSystem="HL70076" DisplayName="Pharmacy/treatment administration message" + Usage="P" + Value="RAS"/> + <ValueElement CodeSystem="HL70076" DisplayName="Pharmacy/treatment dispense information" + Usage="P" + Value="RDR"/> + <ValueElement CodeSystem="HL70076" DisplayName="Master files query" Usage="P" Value="MFQ"/> + <ValueElement CodeSystem="HL70076" + DisplayName="Automated equipment test code settings request message" + Usage="P" + Value="TCR"/> + <ValueElement CodeSystem="HL70076" DisplayName="Scheduled request response" Usage="P" + Value="SRR"/> + <ValueElement CodeSystem="HL70076" DisplayName="Patient goal response" Usage="P" Value="PPV"/> + <ValueElement CodeSystem="HL70076" + DisplayName="Automated equipment log/service request message" + Usage="P" + Value="LSR"/> + <ValueElement CodeSystem="HL70076" + DisplayName="General clinical order acknowledgment message" + Usage="P" + Value="ORG"/> + <ValueElement CodeSystem="HL70076" DisplayName="Imaging order acknowledgement message" + Usage="P" + Value="ORI"/> + <ValueElement CodeSystem="HL70076" DisplayName="Patient pathway problem-oriented response" + Usage="P" + Value="PTR"/> + <ValueElement CodeSystem="HL70076" + DisplayName="Pharmacy/treatment administration acknowledgment message" + Usage="P" + Value="RRA"/> + <ValueElement CodeSystem="HL70076" + DisplayName="Response for vaccination query with multiple PID matches" + Usage="P" + Value="VXX"/> + <ValueElement CodeSystem="HL70076" + DisplayName="Pharmacy/treatment administration information" + Usage="P" + Value="RAR"/> + <ValueElement CodeSystem="HL70076" DisplayName="Request patient information" Usage="P" + Value="RQI"/> + <ValueElement CodeSystem="HL70076" DisplayName="Segment pattern response" Usage="P" + Value="RSP"/> + <ValueElement CodeSystem="HL70076" DisplayName="Laboratory order message" Usage="P" + Value="OML"/> + <ValueElement CodeSystem="HL70076" + DisplayName="Automated equipment inventory request message" + Usage="P" + Value="INR"/> + <ValueElement CodeSystem="HL70076" DisplayName="Stock requisition order message" Usage="P" + Value="OMS"/> + <ValueElement CodeSystem="HL70076" DisplayName="Return clinical list" Usage="P" Value="RCL"/> + <ValueElement CodeSystem="HL70076" DisplayName="Automated equipment inventory update message" + Usage="P" + Value="INU"/> + <ValueElement CodeSystem="HL70076" DisplayName="Event replay response" Usage="P" Value="ERP"/> + <ValueElement CodeSystem="HL70076" DisplayName="Tabular response" Usage="P" Value="RTB"/> + <ValueElement CodeSystem="HL70076" DisplayName="Query response for order status" Usage="P" + Value="OSR"/> + <ValueElement CodeSystem="HL70076" DisplayName="Enhanced display response" Usage="P" + Value="EDR"/> + <ValueElement CodeSystem="HL70076" + DisplayName="Automated equipment log/service update message" + Usage="P" + Value="LSU"/> + <ValueElement CodeSystem="HL70076" DisplayName="Imaging order" Usage="P" Value="OMI"/> + <ValueElement CodeSystem="HL70076" + DisplayName="Master files delayed application acknowledgment" + Usage="P" + Value="MFD"/> + <ValueElement CodeSystem="HL70076" DisplayName="Master files application acknowledgment" + Usage="P" + Value="MFK"/> + <ValueElement CodeSystem="HL70076" DisplayName="Pharmacy/treatment encoded order message" + Usage="P" + Value="RDE"/> + <ValueElement CodeSystem="HL70076" + DisplayName="Unsolicited transmission of an observation message" + Usage="P" + Value="ORU"/> + <ValueElement CodeSystem="HL70076" DisplayName="Return clinical information" Usage="P" + Value="RCI"/> + <ValueElement CodeSystem="HL70076" DisplayName="Cancel query" Usage="P" Value="QCN"/> + <ValueElement CodeSystem="HL70076" DisplayName="Patient pathway goal-oriented response" + Usage="P" + Value="PPT"/> + <ValueElement CodeSystem="HL70076" DisplayName="ADT message" Usage="P" Value="ADT"/> + <ValueElement CodeSystem="HL70076" DisplayName="Tabular data response" Usage="P" Value="TBR"/> + <ValueElement CodeSystem="HL70076" DisplayName="Cancel subscription/acknowledge message" + Usage="P" + Value="QSX"/> + <ValueElement CodeSystem="HL70076" DisplayName="Application management data message" + Usage="P" + Value="NMD"/> + <ValueElement CodeSystem="HL70076" DisplayName="Return patient list" Usage="P" Value="RPR"/> + <ValueElement CodeSystem="HL70076" DisplayName="Unsolicited study data message" Usage="P" + Value="CSU"/> + <ValueElement CodeSystem="HL70076" DisplayName="Pharmacy/treatment dispense message" + Usage="P" + Value="RDS"/> + <ValueElement CodeSystem="HL70076" DisplayName="Unsolicited display update message" Usage="P" + Value="UDM"/> + <ValueElement CodeSystem="HL70076" DisplayName="Patient goal message" Usage="P" Value="PGL"/> + <ValueElement CodeSystem="HL70076" DisplayName="Stored procedure request" Usage="P" + Value="SPQ"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70356" ContentDefinition="Extensional" + Description="Alternate character set handling scheme" + Extensibility="Closed" + Name="Alternate character set handling scheme" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70356" + DisplayName="This standard is titled &#34;Information Technology - Character Code Structure and Extension Technique&#34;. ." + Usage="P" + Value="ISO 2022-1994"/> + <ValueElement CodeSystem="HL70356" + DisplayName="The character set switching mode specified in HL7 2.5, section 2.7.2, ???????Escape sequences supporting multiple character sets??????? and section 2.A.46, &#34;XPN - extended person name&#34;." + Usage="P" + Value="2.3"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70017" ContentDefinition="Extensional" + Description="Transaction Type" + Extensibility="Closed" + Name="Transaction Type" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70017" DisplayName="Adjustment" Usage="P" Value="AJ"/> + <ValueElement CodeSystem="HL70017" DisplayName="Co-payment" Usage="P" Value="CO"/> + <ValueElement CodeSystem="HL70017" DisplayName="Payment" Usage="P" Value="PY"/> + <ValueElement CodeSystem="HL70017" DisplayName="Credit" Usage="P" Value="CD"/> + <ValueElement CodeSystem="HL70017" DisplayName="Charge" Usage="P" Value="CG"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70311" ContentDefinition="Extensional" + Description="Job Status" + Extensibility="Closed" + Name="Job Status" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70311" DisplayName="Temporary" Usage="P" Value="T"/> + <ValueElement CodeSystem="HL70311" DisplayName="Other" Usage="P" Value="O"/> + <ValueElement CodeSystem="HL70311" DisplayName="Permanent" Usage="P" Value="P"/> + <ValueElement CodeSystem="HL70311" DisplayName="Unknown" Usage="P" Value="U"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70303" ContentDefinition="Extensional" Description="Room" + Extensibility="Closed" + Name="Room" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70506" ContentDefinition="Extensional" + Description="Service Request Relationship" + Extensibility="Closed" + Name="Service Request Relationship" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70506" DisplayName="Exclusive" Usage="P" Value="E"/> + <ValueElement CodeSystem="HL70506" DisplayName="Simultaneous" Usage="P" Value="S"/> + <ValueElement CodeSystem="HL70506" DisplayName="Tapering" Usage="P" Value="T"/> + <ValueElement CodeSystem="HL70506" DisplayName="Compound" Usage="P" Value="C"/> + <ValueElement CodeSystem="HL70506" DisplayName="Nurse prerogative" Usage="P" Value="N"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70190" ContentDefinition="Extensional" + Description="Address type" + Extensibility="Closed" + Name="Address type" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70190" DisplayName="Country Of Origin" Usage="P" Value="F"/> + <ValueElement CodeSystem="HL70190" DisplayName="Bad address" Usage="P" Value="BA"/> + <ValueElement CodeSystem="HL70190" DisplayName="Home" Usage="P" Value="H"/> + <ValueElement CodeSystem="HL70190" DisplayName="Permanent" Usage="P" Value="P"/> + <ValueElement CodeSystem="HL70190" + DisplayName="Birth delivery location (address where birth occurred)" + Usage="P" + Value="BDL"/> + <ValueElement CodeSystem="HL70190" + DisplayName="Birth (nee) (birth address, not otherwise specified)" + Usage="P" + Value="N"/> + <ValueElement CodeSystem="HL70190" DisplayName="Legal Address" Usage="P" Value="L"/> + <ValueElement CodeSystem="HL70190" DisplayName="Firm/Business" Usage="P" Value="B"/> + <ValueElement CodeSystem="HL70190" + DisplayName="Registry home. Refers to the information system, typically managed by a public health agency, that stores patient information such as immunization histories or cancer data, regardless of where the patient obtains services." + Usage="P" + Value="RH"/> + <ValueElement CodeSystem="HL70190" DisplayName="Mailing" Usage="P" Value="M"/> + <ValueElement CodeSystem="HL70190" DisplayName="Office" Usage="P" Value="O"/> + <ValueElement CodeSystem="HL70190" + DisplayName="Residence at birth (home address at time of birth)" + Usage="P" + Value="BR"/> + <ValueElement CodeSystem="HL70190" DisplayName="Current Or Temporary" Usage="P" Value="C"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70177" ContentDefinition="Extensional" + Description="Confidentiality code" + Extensibility="Closed" + Name="Confidentiality code" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70177" DisplayName="Usual control" Usage="P" Value="U"/> + <ValueElement CodeSystem="HL70177" DisplayName="AIDS patient" Usage="P" Value="AID"/> + <ValueElement CodeSystem="HL70177" DisplayName="Employee" Usage="P" Value="EMP"/> + <ValueElement CodeSystem="HL70177" DisplayName="Very important person or celebrity" Usage="P" + Value="VIP"/> + <ValueElement CodeSystem="HL70177" DisplayName="HIV(+) patient" Usage="P" Value="HIV"/> + <ValueElement CodeSystem="HL70177" DisplayName="Psychiatric patient" Usage="P" Value="PSY"/> + <ValueElement CodeSystem="HL70177" DisplayName="Very restricted" Usage="P" Value="V"/> + <ValueElement CodeSystem="HL70177" DisplayName="Unwed mother" Usage="P" Value="UWM"/> + <ValueElement CodeSystem="HL70177" DisplayName="Restricted" Usage="P" Value="R"/> + <ValueElement CodeSystem="HL70177" DisplayName="Alcohol/drug treatment patient" Usage="P" + Value="ETH"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70527" ContentDefinition="Extensional" + Description="Calendar alignment" + Extensibility="Closed" + Name="Calendar alignment" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70527" DisplayName="second of the minute" Usage="P" Value="SN"/> + <ValueElement CodeSystem="HL70527" DisplayName="day of the month" Usage="P" Value="DM"/> + <ValueElement CodeSystem="HL70527" DisplayName="hour of the day" Usage="P" Value="HD"/> + <ValueElement CodeSystem="HL70527" DisplayName="month of the year" Usage="P" Value="MY"/> + <ValueElement CodeSystem="HL70527" DisplayName="minute of the hour" Usage="P" Value="NH"/> + <ValueElement CodeSystem="HL70527" DisplayName="week of the year" Usage="P" Value="WY"/> + <ValueElement CodeSystem="HL70527" DisplayName="day of the year" Usage="P" Value="DY"/> + <ValueElement CodeSystem="HL70527" DisplayName="day of the week (begins with Monday)" + Usage="P" + Value="DW"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70354" ContentDefinition="Extensional" + Description="Message structure" + Extensibility="Closed" + Name="Message structure" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70354" DisplayName="A02" Usage="P" Value="ADT_A02"/> + <ValueElement CodeSystem="HL70354" DisplayName="B04, B05, B06" Usage="P" Value="PMU_B04"/> + <ValueElement CodeSystem="HL70354" DisplayName="Q21, Q22, Q23,Q24, Q25" Usage="P" + Value="QBP_Q21"/> + <ValueElement CodeSystem="HL70354" DisplayName="MFA" Usage="P" Value="MFD_MFA"/> + <ValueElement CodeSystem="HL70354" DisplayName="O13" Usage="P" Value="RDS_O13"/> + <ValueElement CodeSystem="HL70354" DisplayName="Q02" Usage="P" Value="QRY_Q02"/> + <ValueElement CodeSystem="HL70354" DisplayName="N01" Usage="P" Value="NMR_N01"/> + <ValueElement CodeSystem="HL70354" DisplayName="O20" Usage="P" Value="ORG_O20"/> + <ValueElement CodeSystem="HL70354" DisplayName="A60" Usage="P" Value="ADT_A60"/> + <ValueElement CodeSystem="HL70354" + DisplayName="M01, M02, M03, M04, M05, M06, M07, M08, M09, M10, M11" + Usage="P" + Value="MFK_M01"/> + <ValueElement CodeSystem="HL70354" DisplayName="O03" Usage="P" Value="OMD_O03"/> + <ValueElement CodeSystem="HL70354" DisplayName="M09" Usage="P" Value="MFN_M09"/> + <ValueElement CodeSystem="HL70354" DisplayName="R22" Usage="P" Value="OUL_R22"/> + <ValueElement CodeSystem="HL70354" DisplayName="O32" Usage="P" Value="BRT_O32"/> + <ValueElement CodeSystem="HL70354" DisplayName="U05" Usage="P" Value="INU_U05"/> + <ValueElement CodeSystem="HL70354" DisplayName="ROR" Usage="P" Value="ROR_ROR"/> + <ValueElement CodeSystem="HL70354" + DisplayName="S01, S02, S03, S04, S05, S06, S07, S08, S09, S10, S11" + Usage="P" + Value="SRM_S01"/> + <ValueElement CodeSystem="HL70354" DisplayName="M07" Usage="P" Value="MFR_M07"/> + <ValueElement CodeSystem="HL70354" DisplayName="R02" Usage="P" Value="QRY_R02"/> + <ValueElement CodeSystem="HL70354" DisplayName="Q07" Usage="P" Value="VQQ_Q07"/> + <ValueElement CodeSystem="HL70354" DisplayName="R24" Usage="P" Value="OUL_R24"/> + <ValueElement CodeSystem="HL70354" DisplayName="Q05" Usage="P" Value="UDM_Q05"/> + <ValueElement CodeSystem="HL70354" DisplayName="K13" Usage="P" Value="RTB_K13"/> + <ValueElement CodeSystem="HL70354" DisplayName="PC4, PC9, PCE, PCK" Usage="P" Value="QRY_PC4"/> + <ValueElement CodeSystem="HL70354" DisplayName="M11" Usage="P" Value="MFN_M11"/> + <ValueElement CodeSystem="HL70354" DisplayName="T12" Usage="P" Value="DOC_T12"/> + <ValueElement CodeSystem="HL70354" DisplayName="U09" Usage="P" Value="EAN_U09"/> + <ValueElement CodeSystem="HL70354" DisplayName="O29" Usage="P" Value="BPS_O29"/> + <ValueElement CodeSystem="HL70354" DisplayName="P01" Usage="P" Value="BAR_P01"/> + <ValueElement CodeSystem="HL70354" DisplayName="Q04" Usage="P" Value="EQQ_Q04"/> + <ValueElement CodeSystem="HL70354" DisplayName="Q01" Usage="P" Value="DSR_Q01"/> + <ValueElement CodeSystem="HL70354" DisplayName="O34" Usage="P" Value="ORL_O34"/> + <ValueElement CodeSystem="HL70354" DisplayName="V01" Usage="P" Value="VXQ_V01"/> + <ValueElement CodeSystem="HL70354" DisplayName="B07" Usage="P" Value="PMU_B07"/> + <ValueElement CodeSystem="HL70354" DisplayName="O06" Usage="P" Value="ORS_O06"/> + <ValueElement CodeSystem="HL70354" DisplayName="S25" Usage="P" Value="SQM_S25"/> + <ValueElement CodeSystem="HL70354" DisplayName="A37" Usage="P" Value="ADT_A37"/> + <ValueElement CodeSystem="HL70354" DisplayName="O01" Usage="P" Value="ORM_O01"/> + <ValueElement CodeSystem="HL70354" DisplayName="K22" Usage="P" Value="RSP_K22"/> + <ValueElement CodeSystem="HL70354" DisplayName="U03" Usage="P" Value="SSU_U03"/> + <ValueElement CodeSystem="HL70354" DisplayName="A15" Usage="P" Value="ADT_A15"/> + <ValueElement CodeSystem="HL70354" DisplayName="P06" Usage="P" Value="BAR_P06"/> + <ValueElement CodeSystem="HL70354" DisplayName="P05" Usage="P" Value="BAR_P05"/> + <ValueElement CodeSystem="HL70354" DisplayName="K31" Usage="P" Value="RSP_K31"/> + <ValueElement CodeSystem="HL70354" DisplayName="PCA" Usage="P" Value="PPV_PCA"/> + <ValueElement CodeSystem="HL70354" DisplayName="M02" Usage="P" Value="MFN_M02"/> + <ValueElement CodeSystem="HL70354" DisplayName="PC5" Usage="P" Value="PRR_PC5"/> + <ValueElement CodeSystem="HL70354" DisplayName="P11" Usage="P" Value="DFT_P11"/> + <ValueElement CodeSystem="HL70354" DisplayName="A54" Usage="P" Value="ADT_A54"/> + <ValueElement CodeSystem="HL70354" DisplayName="O02" Usage="P" Value="ORR_O02"/> + <ValueElement CodeSystem="HL70354" DisplayName="P02" Usage="P" Value="BAR_P02"/> + <ValueElement CodeSystem="HL70354" DisplayName="A01, A04, A08, A13" Usage="P" Value="ADT_A01"/> + <ValueElement CodeSystem="HL70354" DisplayName="O12, O26" Usage="P" Value="RRE_O12"/> + <ValueElement CodeSystem="HL70354" DisplayName="A17" Usage="P" Value="ADT_A17"/> + <ValueElement CodeSystem="HL70354" + DisplayName="S12, S13, S14, S15, S16, S17, S18, S19, S20, S21, S22, S23, S24, S26" + Usage="P" + Value="SIU_S12"/> + <ValueElement CodeSystem="HL70354" DisplayName="Q09" Usage="P" Value="RQQ_Q09"/> + <ValueElement CodeSystem="HL70354" DisplayName="K15" Usage="P" Value="RDY_K15"/> + <ValueElement CodeSystem="HL70354" DisplayName="U02" Usage="P" Value="ESR_U02"/> + <ValueElement CodeSystem="HL70354" DisplayName="C09, C10, C11, C12" Usage="P" Value="CSU_C09"/> + <ValueElement CodeSystem="HL70354" DisplayName="A06, A07" Usage="P" Value="ADT_A06"/> + <ValueElement CodeSystem="HL70354" DisplayName="M13" Usage="P" Value="MFN_M13"/> + <ValueElement CodeSystem="HL70354" DisplayName="Q06" Usage="P" Value="OSR_Q06"/> + <ValueElement CodeSystem="HL70354" DisplayName="K25" Usage="P" Value="RSP_K25"/> + <ValueElement CodeSystem="HL70354" DisplayName="B08" Usage="P" Value="PMU_B08"/> + <ValueElement CodeSystem="HL70354" DisplayName="R09" Usage="P" Value="ERP_R09"/> + <ValueElement CodeSystem="HL70354" DisplayName="T01, T03, T05, T07, T09, T11" Usage="P" + Value="MDM_T01"/> + <ValueElement CodeSystem="HL70354" DisplayName="A39, A40, A41, A42" Usage="P" Value="ADT_A39"/> + <ValueElement CodeSystem="HL70354" DisplayName="O11, O25" Usage="P" Value="RDE_O11"/> + <ValueElement CodeSystem="HL70354" DisplayName="I08, I09. I10, I11" Usage="P" Value="RPA_I08"/> + <ValueElement CodeSystem="HL70354" DisplayName="N01" Usage="P" Value="NMQ_N01"/> + <ValueElement CodeSystem="HL70354" DisplayName="P10" Usage="P" Value="BAR_P10"/> + <ValueElement CodeSystem="HL70354" DisplayName="R07" Usage="P" Value="EDR_R07"/> + <ValueElement CodeSystem="HL70354" DisplayName="A05, A14, A28, A31" Usage="P" Value="ADT_A05"/> + <ValueElement CodeSystem="HL70354" DisplayName="O33" Usage="P" Value="OML_O33"/> + <ValueElement CodeSystem="HL70354" DisplayName="M06" Usage="P" Value="MFN_M06"/> + <ValueElement CodeSystem="HL70354" DisplayName="007" Usage="P" Value="OMN_O07"/> + <ValueElement CodeSystem="HL70354" DisplayName="M08" Usage="P" Value="MFN_M08"/> + <ValueElement CodeSystem="HL70354" DisplayName="M01, M02, M03" Usage="P" Value="MFR_M01"/> + <ValueElement CodeSystem="HL70354" DisplayName="R09" Usage="P" Value="TBR_R09"/> + <ValueElement CodeSystem="HL70354" DisplayName="I04" Usage="P" Value="RPI_I04"/> + <ValueElement CodeSystem="HL70354" DisplayName="R08" Usage="P" Value="TBR_R08"/> + <ValueElement CodeSystem="HL70354" DisplayName="RER" Usage="P" Value="RER_RER"/> + <ValueElement CodeSystem="HL70354" DisplayName="A19" Usage="P" Value="ADR_A19"/> + <ValueElement CodeSystem="HL70354" DisplayName="M07" Usage="P" Value="MFN_M07"/> + <ValueElement CodeSystem="HL70354" DisplayName="B01, B02" Usage="P" Value="PMU_B01"/> + <ValueElement CodeSystem="HL70354" DisplayName="I08, I09, I10, I11" Usage="P" Value="RQA_I08"/> + <ValueElement CodeSystem="HL70354" DisplayName="V04" Usage="P" Value="VXU_V04"/> + <ValueElement CodeSystem="HL70354" DisplayName="M10" Usage="P" Value="MFN_M10"/> + <ValueElement CodeSystem="HL70354" DisplayName="P09" Usage="P" Value="SUR_P09"/> + <ValueElement CodeSystem="HL70354" DisplayName="M06" Usage="P" Value="MFR_M06"/> + <ValueElement CodeSystem="HL70354" DisplayName="O28" Usage="P" Value="ORB_O28"/> + <ValueElement CodeSystem="HL70354" DisplayName="O24" Usage="P" Value="ORI_O24"/> + <ValueElement CodeSystem="HL70354" DisplayName="O17" Usage="P" Value="RAS_O17"/> + <ValueElement CodeSystem="HL70354" DisplayName="U08" Usage="P" Value="EAR_U08"/> + <ValueElement CodeSystem="HL70354" DisplayName="I05" Usage="P" Value="RCI_I05"/> + <ValueElement CodeSystem="HL70354" DisplayName="PCL" Usage="P" Value="PPT_PCL"/> + <ValueElement CodeSystem="HL70354" DisplayName="Q17" Usage="P" Value="QVR_Q17"/> + <ValueElement CodeSystem="HL70354" DisplayName="W02" Usage="P" Value="QRF_W02"/> + <ValueElement CodeSystem="HL70354" DisplayName="P04" Usage="P" Value="DSR_P04"/> + <ValueElement CodeSystem="HL70354" DisplayName="P04" Usage="P" Value="QRY_P04"/> + <ValueElement CodeSystem="HL70354" DisplayName="A03" Usage="P" Value="ADT_A03"/> + <ValueElement CodeSystem="HL70354" DisplayName="M03" Usage="P" Value="MFN_M03"/> + <ValueElement CodeSystem="HL70354" DisplayName="A52, A53, A55" Usage="P" Value="ADT_A52"/> + <ValueElement CodeSystem="HL70354" DisplayName="W01" Usage="P" Value="ORU_W01"/> + <ValueElement CodeSystem="HL70354" DisplayName="I02" Usage="P" Value="RPL_I02"/> + <ValueElement CodeSystem="HL70354" DisplayName="I03" Usage="P" Value="RPR_I03"/> + <ValueElement CodeSystem="HL70354" DisplayName="M05" Usage="P" Value="MFN_M05"/> + <ValueElement CodeSystem="HL70354" DisplayName="RGR" Usage="P" Value="RGR_RGR"/> + <ValueElement CodeSystem="HL70354" DisplayName="O36" Usage="P" Value="ORL_O36"/> + <ValueElement CodeSystem="HL70354" DisplayName="O31" Usage="P" Value="BTS_O31"/> + <ValueElement CodeSystem="HL70354" DisplayName="PCB, PCD" Usage="P" Value="PPP_PCB"/> + <ValueElement CodeSystem="HL70354" DisplayName="Varies" Usage="P" Value="ACK"/> + <ValueElement CodeSystem="HL70354" DisplayName="Q01, Q26, Q27, Q28, Q29, Q30" Usage="P" + Value="QRY_Q01"/> + <ValueElement CodeSystem="HL70354" DisplayName="U04" Usage="P" Value="SSR_U04"/> + <ValueElement CodeSystem="HL70354" DisplayName="M12" Usage="P" Value="MFN_M12"/> + <ValueElement CodeSystem="HL70354" DisplayName="O15" Usage="P" Value="RGV_O15"/> + <ValueElement CodeSystem="HL70354" DisplayName="M01" Usage="P" Value="MFN_M01"/> + <ValueElement CodeSystem="HL70354" DisplayName="O18" Usage="P" Value="RRA_O18"/> + <ValueElement CodeSystem="HL70354" DisplayName="PC1, PC2, PC3" Usage="P" Value="PPR_PC1"/> + <ValueElement CodeSystem="HL70354" DisplayName="T02, T04, T06, T08, T10" Usage="P" + Value="MDM_T02"/> + <ValueElement CodeSystem="HL70354" DisplayName="O21" Usage="P" Value="OML_O21"/> + <ValueElement CodeSystem="HL70354" DisplayName="Q06" Usage="P" Value="OSQ_Q06"/> + <ValueElement CodeSystem="HL70354" DisplayName="A21, A22, A23, A25, A26, A27, A29, A32, A33" + Usage="P" + Value="ADT_A21"/> + <ValueElement CodeSystem="HL70354" DisplayName="A50, A51" Usage="P" Value="ADT_A50"/> + <ValueElement CodeSystem="HL70354" DisplayName="O30" Usage="P" Value="BRP_O30"/> + <ValueElement CodeSystem="HL70354" DisplayName="K23, K24" Usage="P" Value="RSP_K23"/> + <ValueElement CodeSystem="HL70354" DisplayName="O23" Usage="P" Value="OMI_O23"/> + <ValueElement CodeSystem="HL70354" DisplayName="M01, M02, M03, M04, M05, M06" Usage="P" + Value="MFQ_M01"/> + <ValueElement CodeSystem="HL70354" DisplayName="PC6, PC7, PC8" Usage="P" Value="PGL_PC6"/> + <ValueElement CodeSystem="HL70354" DisplayName="A43, A44" Usage="P" Value="ADT_A43"/> + <ValueElement CodeSystem="HL70354" DisplayName="R30, R31, R32" Usage="P" Value="ORU_R30"/> + <ValueElement CodeSystem="HL70354" DisplayName="RDR" Usage="P" Value="RDR_RDR"/> + <ValueElement CodeSystem="HL70354" DisplayName="PCC, PCG, PCH, PCJ" Usage="P" Value="PPG_PCG"/> + <ValueElement CodeSystem="HL70354" DisplayName="Q08" Usage="P" Value="SPQ_Q08"/> + <ValueElement CodeSystem="HL70354" DisplayName="A45" Usage="P" Value="ADT_A45"/> + <ValueElement CodeSystem="HL70354" DisplayName="P03" Usage="P" Value="DFT_P03"/> + <ValueElement CodeSystem="HL70354" + DisplayName="S01, S02, S03, S04, S05, S06, S07, S08, S09, S10, S11" + Usage="P" + Value="SRR_S01"/> + <ValueElement CodeSystem="HL70354" DisplayName="Q15" Usage="P" Value="QBP_Q15"/> + <ValueElement CodeSystem="HL70354" DisplayName="Q13" Usage="P" Value="QBP_Q13"/> + <ValueElement CodeSystem="HL70354" DisplayName="O05" Usage="P" Value="OMS_O05"/> + <ValueElement CodeSystem="HL70354" DisplayName="U01" Usage="P" Value="ESU_U01"/> + <ValueElement CodeSystem="HL70354" DisplayName="I12, I13, I14, I15" Usage="P" Value="RRI_I12"/> + <ValueElement CodeSystem="HL70354" DisplayName="I05, I06" Usage="P" Value="RQC_I05"/> + <ValueElement CodeSystem="HL70354" DisplayName="B03" Usage="P" Value="PMU_B03"/> + <ValueElement CodeSystem="HL70354" DisplayName="PCF" Usage="P" Value="PTR_PCF"/> + <ValueElement CodeSystem="HL70354" DisplayName="Q02" Usage="P" Value="QCK_Q02"/> + <ValueElement CodeSystem="HL70354" DisplayName="O35" Usage="P" Value="OML_O35"/> + <ValueElement CodeSystem="HL70354" DisplayName="N02" Usage="P" Value="NMD_N02"/> + <ValueElement CodeSystem="HL70354" DisplayName="RAR" Usage="P" Value="RAR_RAR"/> + <ValueElement CodeSystem="HL70354" DisplayName="O14" Usage="P" Value="RRD_O14"/> + <ValueElement CodeSystem="HL70354" DisplayName="V02" Usage="P" Value="VXX_V02"/> + <ValueElement CodeSystem="HL70354" DisplayName="I01" Usage="P" Value="RPI_I01"/> + <ValueElement CodeSystem="HL70354" DisplayName="M15" Usage="P" Value="MFN_M15"/> + <ValueElement CodeSystem="HL70354" DisplayName="V03" Usage="P" Value="VXR_V03"/> + <ValueElement CodeSystem="HL70354" DisplayName="A24" Usage="P" Value="ADT_A24"/> + <ValueElement CodeSystem="HL70354" DisplayName="M04" Usage="P" Value="MFR_M04"/> + <ValueElement CodeSystem="HL70354" DisplayName="M04" Usage="P" Value="MFN_M04"/> + <ValueElement CodeSystem="HL70354" DisplayName="I04" Usage="P" Value="RQP_I04"/> + <ValueElement CodeSystem="HL70354" DisplayName="A30, A34, A35, A36, A46, A47, A48, A49" + Usage="P" + Value="ADT_A30"/> + <ValueElement CodeSystem="HL70354" DisplayName="I01, I02, I03, I07" Usage="P" Value="RQI_I01"/> + <ValueElement CodeSystem="HL70354" DisplayName="U07" Usage="P" Value="EAC_U07"/> + <ValueElement CodeSystem="HL70354" DisplayName="O08" Usage="P" Value="ORN_O08"/> + <ValueElement CodeSystem="HL70354" DisplayName="U06" Usage="P" Value="INR_U06"/> + <ValueElement CodeSystem="HL70354" DisplayName="R01" Usage="P" Value="ORU_R01"/> + <ValueElement CodeSystem="HL70354" DisplayName="O27" Usage="P" Value="OMB_O27"/> + <ValueElement CodeSystem="HL70354" DisplayName="O19" Usage="P" Value="OMG_O19"/> + <ValueElement CodeSystem="HL70354" DisplayName="O10" Usage="P" Value="ORP_O10"/> + <ValueElement CodeSystem="HL70354" DisplayName="A19" Usage="P" Value="QRY_A19"/> + <ValueElement CodeSystem="HL70354" DisplayName="P12" Usage="P" Value="BAR_P12"/> + <ValueElement CodeSystem="HL70354" DisplayName="K21" Usage="P" Value="RSP_K21"/> + <ValueElement CodeSystem="HL70354" DisplayName="K11" Usage="P" Value="RSP_K11"/> + <ValueElement CodeSystem="HL70354" DisplayName="A61, A62" Usage="P" Value="ADT_A61"/> + <ValueElement CodeSystem="HL70354" DisplayName="O09" Usage="P" Value="OMP_O09"/> + <ValueElement CodeSystem="HL70354" DisplayName="C01, C02, C03, C04, C05, C06, C07, C08" + Usage="P" + Value="CRM_C01"/> + <ValueElement CodeSystem="HL70354" DisplayName="A09, A10, A11" Usage="P" Value="ADT_A09"/> + <ValueElement CodeSystem="HL70354" DisplayName="A20" Usage="P" Value="ADT_A20"/> + <ValueElement CodeSystem="HL70354" DisplayName="R04" Usage="P" Value="ORF_R04"/> + <ValueElement CodeSystem="HL70354" DisplayName="A38" Usage="P" Value="ADT_A38"/> + <ValueElement CodeSystem="HL70354" DisplayName="Q16" Usage="P" Value="QSB_Q16"/> + <ValueElement CodeSystem="HL70354" DisplayName="I12, I13, I14, I15" Usage="P" Value="REF_I12"/> + <ValueElement CodeSystem="HL70354" DisplayName="Q11" Usage="P" Value="RSP_Q11"/> + <ValueElement CodeSystem="HL70354" DisplayName="Q03" Usage="P" Value="DSR_Q03"/> + <ValueElement CodeSystem="HL70354" DisplayName="Q11" Usage="P" Value="QBP_Q11"/> + <ValueElement CodeSystem="HL70354" DisplayName="A12" Usage="P" Value="ADT_A12"/> + <ValueElement CodeSystem="HL70354" DisplayName="T12" Usage="P" Value="QRY_T12"/> + <ValueElement CodeSystem="HL70354" DisplayName="A18" Usage="P" Value="ADT_A18"/> + <ValueElement CodeSystem="HL70354" DisplayName="P07, P08" Usage="P" Value="PEX_P07"/> + <ValueElement CodeSystem="HL70354" DisplayName="S25" Usage="P" Value="SQR_S25"/> + <ValueElement CodeSystem="HL70354" DisplayName="R21" Usage="P" Value="OUL_R21"/> + <ValueElement CodeSystem="HL70354" DisplayName="O16" Usage="P" Value="RRG_O16"/> + <ValueElement CodeSystem="HL70354" DisplayName="O04" Usage="P" Value="ORD_O04"/> + <ValueElement CodeSystem="HL70354" DisplayName="A16" Usage="P" Value="ADT_A16"/> + <ValueElement CodeSystem="HL70354" DisplayName="J01, J02" Usage="P" Value="QCN_J01"/> + <ValueElement CodeSystem="HL70354" DisplayName="I06" Usage="P" Value="RCL_I06"/> + <ValueElement CodeSystem="HL70354" DisplayName="Mo5" Usage="P" Value="MFR_M05"/> + <ValueElement CodeSystem="HL70354" DisplayName="022" Usage="P" Value="ORL_O22"/> + <ValueElement CodeSystem="HL70354" DisplayName="R23" Usage="P" Value="OUL_R23"/> + <ValueElement CodeSystem="HL70354" DisplayName="U10, U11" Usage="P" Value="TCU_U10"/> + <ValueElement CodeSystem="HL70354" DisplayName="U12, U13" Usage="P" Value="LSU_U12"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70078" ContentDefinition="Extensional" + Description="Abnormal flags" + Extensibility="Closed" + Name="Abnormal flags" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70078" DisplayName="Normal (applies to non-numeric results)" + Usage="P" + Value="N"/> + <ValueElement CodeSystem="HL70078" DisplayName="Abnormal (applies to non-numeric results)" + Usage="P" + Value="A"/> + <ValueElement CodeSystem="HL70078" + DisplayName="No range defined, or normal ranges don't apply" + Usage="P" + Value="null"/> + <ValueElement CodeSystem="HL70078" DisplayName="Significant change down" Usage="P" Value="D"/> + <ValueElement CodeSystem="HL70078" DisplayName="Below low normal" Usage="P" Value="L"/> + <ValueElement CodeSystem="HL70078" + DisplayName="Resistant. Indicates for microbiology susceptibilities only." + Usage="P" + Value="R"/> + <ValueElement CodeSystem="HL70078" + DisplayName="Very susceptible. Indicates for microbiology susceptibilities only." + Usage="P" + Value="VS"/> + <ValueElement CodeSystem="HL70078" DisplayName="Worse--use when direction not relevant" + Usage="P" + Value="W"/> + <ValueElement CodeSystem="HL70078" DisplayName="Significant change up" Usage="P" Value="U"/> + <ValueElement CodeSystem="HL70078" DisplayName="Below lower panic limits" Usage="P" + Value="LL"/> + <ValueElement CodeSystem="HL70078" DisplayName="Better--use when direction not relevant" + Usage="P" + Value="B"/> + <ValueElement CodeSystem="HL70078" + DisplayName="Very abnormal (applies to non-numeric units, analogous to panic limits for numeric units)" + Usage="P" + Value="AA"/> + <ValueElement CodeSystem="HL70078" DisplayName="Above upper panic limits" Usage="P" + Value="HH"/> + <ValueElement CodeSystem="HL70078" DisplayName="Above absolute high-off instrument scale" + Usage="P" + Value="&gt;"/> + <ValueElement CodeSystem="HL70078" + DisplayName="Intermediate. Indicates for microbiology susceptibilities only." + Usage="P" + Value="I"/> + <ValueElement CodeSystem="HL70078" + DisplayName="Susceptible. Indicates for microbiology susceptibilities only." + Usage="P" + Value="S"/> + <ValueElement CodeSystem="HL70078" DisplayName="Below absolute low-off instrument scale" + Usage="P" + Value="&lt;"/> + <ValueElement CodeSystem="HL70078" DisplayName="Above high normal" Usage="P" Value="H"/> + <ValueElement CodeSystem="HL70078" + DisplayName="Moderately susceptible. Indicates for microbiology susceptibilities only." + Usage="P" + Value="MS"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70300" ContentDefinition="Extensional" + Description="Namespace ID" + Extensibility="Closed" + Name="Namespace ID" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70505" ContentDefinition="Extensional" + Description="Cyclic Entry/Exit Indicator" + Extensibility="Closed" + Name="Cyclic Entry/Exit Indicator" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70505" DisplayName="The last service request in a cyclic group." + Usage="P" + Value="#"/> + <ValueElement CodeSystem="HL70505" DisplayName="The first service request in a cyclic group" + Usage="P" + Value="*"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70207" ContentDefinition="Extensional" + Description="Processing mode" + Extensibility="Closed" + Name="Processing mode" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70207" DisplayName="Restore from archive" Usage="P" Value="R"/> + <ValueElement CodeSystem="HL70207" + DisplayName="Current processing, transmitted at intervals (scheduled or on demand)" + Usage="P" + Value="T"/> + <ValueElement CodeSystem="HL70207" DisplayName="Initial load" Usage="P" Value="I"/> + <ValueElement CodeSystem="HL70207" DisplayName="Archive" Usage="P" Value="A"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70435" ContentDefinition="Extensional" + Description="Advance Directive Code" + Extensibility="Closed" + Name="Advance Directive Code" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70435" DisplayName="Do not resuscitate" Usage="P" Value="DNR"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70445" ContentDefinition="Extensional" + Description="Identity Reliability Code" + Extensibility="Closed" + Name="Identity Reliability Code" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70445" DisplayName="Patient/Person Name is an Alias" Usage="P" + Value="AL"/> + <ValueElement CodeSystem="HL70445" DisplayName="Unknown/Default Address" Usage="P" Value="UA"/> + <ValueElement CodeSystem="HL70445" DisplayName="Unknown/Default Social Security Number" + Usage="P" + Value="US"/> + <ValueElement CodeSystem="HL70445" DisplayName="Unknown/Default Date of Birth" Usage="P" + Value="UD"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70023" ContentDefinition="Extensional" + Description="Admit Source" + Extensibility="Closed" + Name="Admit Source" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70023" DisplayName="Information not available" Usage="P" + Value="9"/> + <ValueElement CodeSystem="HL70023" DisplayName="Clinic referral" Usage="P" Value="2"/> + <ValueElement CodeSystem="HL70023" DisplayName="Transfer from another health care facility" + Usage="P" + Value="6"/> + <ValueElement CodeSystem="HL70023" DisplayName="Transfer from a hospital" Usage="P" Value="4"/> + <ValueElement CodeSystem="HL70023" DisplayName="Emergency room" Usage="P" Value="7"/> + <ValueElement CodeSystem="HL70023" DisplayName="Court/law enforcement" Usage="P" Value="8"/> + <ValueElement CodeSystem="HL70023" DisplayName="Physician referral" Usage="P" Value="1"/> + <ValueElement CodeSystem="HL70023" DisplayName="HMO referral" Usage="P" Value="3"/> + <ValueElement CodeSystem="HL70023" DisplayName="Transfer from a skilled nursing facility" + Usage="P" + Value="5"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70494" ContentDefinition="Extensional" + Description="Specimen Child Role" + Extensibility="Closed" + Name="Specimen Child Role" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70494" DisplayName="Aliquot" Usage="P" Value="A"/> + <ValueElement CodeSystem="HL70494" DisplayName="Component" Usage="P" Value="C"/> + <ValueElement CodeSystem="HL70494" DisplayName="Modified from original specimen" Usage="P" + Value="M"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70111" ContentDefinition="Extensional" + Description="Delete Account Code" + Extensibility="Closed" + Name="Delete Account Code" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70065" ContentDefinition="Extensional" + Description="Specimen Action Code" + Extensibility="Closed" + Name="Specimen Action Code" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70065" + DisplayName="Pending specimen; Order sent prior to delivery" + Usage="P" + Value="P"/> + <ValueElement CodeSystem="HL70065" DisplayName="Schedule the tests specified below" Usage="P" + Value="S"/> + <ValueElement CodeSystem="HL70065" DisplayName="Generated order; reflex order" Usage="P" + Value="G"/> + <ValueElement CodeSystem="HL70065" DisplayName="Revised order" Usage="P" Value="R"/> + <ValueElement CodeSystem="HL70065" DisplayName="Lab to obtain specimen from patient" + Usage="P" + Value="L"/> + <ValueElement CodeSystem="HL70065" DisplayName="Add ordered tests to the existing specimen" + Usage="P" + Value="A"/> + <ValueElement CodeSystem="HL70065" DisplayName="Specimen obtained by service other than Lab" + Usage="P" + Value="O"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70398" ContentDefinition="Extensional" + Description="Continuation style code" + Extensibility="Closed" + Name="Continuation style code" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70398" DisplayName="Fragmentation" Usage="P" Value="F"/> + <ValueElement CodeSystem="HL70398" DisplayName="Interactive Continuation" Usage="P" Value="I"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70316" ContentDefinition="Extensional" + Description="Organ Donor Code" + Extensibility="Closed" + Name="Organ Donor Code" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70316" + DisplayName="No, patient is not a documented donor, but information was provided" + Usage="P" + Value="I"/> + <ValueElement CodeSystem="HL70316" + DisplayName="Yes, patient is a documented donor, but documentation is not on file" + Usage="P" + Value="F"/> + <ValueElement CodeSystem="HL70316" + DisplayName="Yes, patient is a documented donor and documentation is on file" + Usage="P" + Value="Y"/> + <ValueElement CodeSystem="HL70316" + DisplayName="Patient leaves organ donation decision to a specific person" + Usage="P" + Value="P"/> + <ValueElement CodeSystem="HL70316" + DisplayName="Patient leaves organ donation decision to relatives" + Usage="P" + Value="R"/> + <ValueElement CodeSystem="HL70316" DisplayName="Unknown" Usage="P" Value="U"/> + <ValueElement CodeSystem="HL70316" DisplayName="No, patient has not agreed to be a donor" + Usage="P" + Value="N"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70544" ContentDefinition="Extensional" + Description="Container Condition" + Extensibility="Closed" + Name="Container Condition" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70448" ContentDefinition="Extensional" + Description="Name context" + Extensibility="Closed" + Name="Name context" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70231" ContentDefinition="Extensional" + Description="Student Status" + Extensibility="Closed" + Name="Student Status" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70231" DisplayName="Not a student" Usage="P" Value="N"/> + <ValueElement CodeSystem="HL70231" DisplayName="Full-time student" Usage="P" Value="F"/> + <ValueElement CodeSystem="HL70231" DisplayName="Part-time student" Usage="P" Value="P"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70376" ContentDefinition="Extensional" + Description="Special Handling Code" + Extensibility="Closed" + Name="Special Handling Code" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70376" DisplayName="Upright" Usage="P" Value="UPR"/> + <ValueElement CodeSystem="HL70376" DisplayName="Critical frozen temperature" Usage="P" + Value="CFRZ"/> + <ValueElement CodeSystem="HL70376" DisplayName="No shock" Usage="P" Value="PSO"/> + <ValueElement CodeSystem="HL70376" DisplayName="Critical ambient temperature" Usage="P" + Value="CAMB"/> + <ValueElement CodeSystem="HL70376" DisplayName="Ambient temperature" Usage="P" Value="AMB"/> + <ValueElement CodeSystem="HL70376" DisplayName="Body temperature" Usage="P" Value="C37"/> + <ValueElement CodeSystem="HL70376" DisplayName="Frozen temperature" Usage="P" Value="FRZ"/> + <ValueElement CodeSystem="HL70376" DisplayName="Metal Free" Usage="P" Value="MTLF"/> + <ValueElement CodeSystem="HL70376" DisplayName="Do not shake" Usage="P" Value="PSA"/> + <ValueElement CodeSystem="HL70376" DisplayName="Ultra frozen" Usage="P" Value="UFRZ"/> + <ValueElement CodeSystem="HL70376" DisplayName="Protect from air" Usage="P" Value="CATM"/> + <ValueElement CodeSystem="HL70376" DisplayName="Deep frozen" Usage="P" Value="DFRZ"/> + <ValueElement CodeSystem="HL70376" DisplayName="Liquid nitrogen" Usage="P" Value="NTR"/> + <ValueElement CodeSystem="HL70376" DisplayName="Dry" Usage="P" Value="DRY"/> + <ValueElement CodeSystem="HL70376" DisplayName="Protect from light" Usage="P" Value="PRTL"/> + <ValueElement CodeSystem="HL70376" DisplayName="Refrigerated temperature" Usage="P" + Value="REF"/> + <ValueElement CodeSystem="HL70376" DisplayName="Critical refrigerated temperature" Usage="P" + Value="CREF"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70002" ContentDefinition="Extensional" + Description="Marital Status" + Extensibility="Closed" + Name="Marital Status" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70002" DisplayName="Divorced" Usage="P" Value="D"/> + <ValueElement CodeSystem="HL70002" DisplayName="Unknown" Usage="P" Value="U"/> + <ValueElement CodeSystem="HL70002" DisplayName="Domestic partner" Usage="P" Value="P"/> + <ValueElement CodeSystem="HL70002" DisplayName="Unmarried" Usage="P" Value="B"/> + <ValueElement CodeSystem="HL70002" DisplayName="Married" Usage="P" Value="M"/> + <ValueElement CodeSystem="HL70002" DisplayName="Other" Usage="P" Value="O"/> + <ValueElement CodeSystem="HL70002" DisplayName="Common law" Usage="P" Value="C"/> + <ValueElement CodeSystem="HL70002" DisplayName="Separated" Usage="P" Value="A"/> + <ValueElement CodeSystem="HL70002" DisplayName="Legally Separated" Usage="P" Value="E"/> + <ValueElement CodeSystem="HL70002" DisplayName="Widowed" Usage="P" Value="W"/> + <ValueElement CodeSystem="HL70002" DisplayName="Unreported" Usage="P" Value="T"/> + <ValueElement CodeSystem="HL70002" DisplayName="Living together" Usage="P" Value="G"/> + <ValueElement CodeSystem="HL70002" DisplayName="Interlocutory" Usage="P" Value="I"/> + <ValueElement CodeSystem="HL70002" DisplayName="Annulled" Usage="P" Value="N"/> + <ValueElement CodeSystem="HL70002" DisplayName="Single" Usage="P" Value="S"/> + <ValueElement CodeSystem="HL70002" DisplayName="Registered domestic partner" Usage="P" + Value="R"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70136" ContentDefinition="Extensional" + Description="Yes/no indicator" + Extensibility="Closed" + Name="Yes/no indicator" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70136" DisplayName="No" Usage="P" Value="N"/> + <ValueElement CodeSystem="HL70136" DisplayName="Yes" Usage="P" Value="Y"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70541" ContentDefinition="Extensional" + Description="Specimen Type Modifier" + Extensibility="Closed" + Name="Specimen Type Modifier" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70534" ContentDefinition="Extensional" + Description="Notify Clergy Code" + Extensibility="Closed" + Name="Notify Clergy Code" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70534" DisplayName="Last Rites only" Usage="P" Value="L"/> + <ValueElement CodeSystem="HL70534" DisplayName="Other" Usage="P" Value="O"/> + <ValueElement CodeSystem="HL70534" DisplayName="Unknown" Usage="P" Value="U"/> + <ValueElement CodeSystem="HL70534" DisplayName="Yes" Usage="P" Value="Y"/> + <ValueElement CodeSystem="HL70534" DisplayName="No" Usage="P" Value="N"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70489" ContentDefinition="Extensional" + Description="Risk Codes" + Extensibility="Closed" + Name="Risk Codes" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70489" DisplayName="Biological" Usage="P" Value="BIO"/> + <ValueElement CodeSystem="HL70489" DisplayName="Injury Hazard" Usage="P" Value="INJ"/> + <ValueElement CodeSystem="HL70489" DisplayName="Biohazard" Usage="P" Value="BHZ"/> + <ValueElement CodeSystem="HL70489" DisplayName="Escape Risk" Usage="P" Value="ESC"/> + <ValueElement CodeSystem="HL70489" DisplayName="Aggressive" Usage="P" Value="AGG"/> + <ValueElement CodeSystem="HL70489" DisplayName="MaterialDangerInflammable" Usage="P" + Value="IFL"/> + <ValueElement CodeSystem="HL70489" DisplayName="Explosive" Usage="P" Value="EXP"/> + <ValueElement CodeSystem="HL70489" DisplayName="MaterialDangerInfectious" Usage="P" + Value="INF"/> + <ValueElement CodeSystem="HL70489" DisplayName="Poison" Usage="P" Value="POI"/> + <ValueElement CodeSystem="HL70489" DisplayName="Radioactive" Usage="P" Value="RAD"/> + <ValueElement CodeSystem="HL70489" DisplayName="Corrosive" Usage="P" Value="COR"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70085" ContentDefinition="Extensional" + Description="Observation result status codes interpretation" + Extensibility="Closed" + Name="Observation result status codes interpretation" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70085" DisplayName="Preliminary results" Usage="P" Value="P"/> + <ValueElement CodeSystem="HL70085" + DisplayName="Results status change to final without retransmitting results already sent as 'preliminary.' E.g., radiology changes status from preliminary to final" + Usage="P" + Value="U"/> + <ValueElement CodeSystem="HL70085" + DisplayName="Post original as wrong, e.g., transmitted for wrong patient" + Usage="P" + Value="W"/> + <ValueElement CodeSystem="HL70085" DisplayName="Specimen in lab; results pending" Usage="P" + Value="I"/> + <ValueElement CodeSystem="HL70085" DisplayName="Partial results" Usage="P" Value="S"/> + <ValueElement CodeSystem="HL70085" DisplayName="Order detail description only (no result)" + Usage="P" + Value="O"/> + <ValueElement CodeSystem="HL70085" + DisplayName="Final results; Can only be changed with a corrected result." + Usage="P" + Value="F"/> + <ValueElement CodeSystem="HL70085" + DisplayName="Results cannot be obtained for this observation" + Usage="P" + Value="X"/> + <ValueElement CodeSystem="HL70085" + DisplayName="Record coming over is a correction and thus replaces a final result" + Usage="P" + Value="C"/> + <ValueElement CodeSystem="HL70085" DisplayName="Deletes the OBX record" Usage="P" Value="D"/> + <ValueElement CodeSystem="HL70085" + DisplayName="Not asked; used to affirmatively document that the observation identified in the OBX was not sought when the universal service ID in OBR-4 implies that it would be sought." + Usage="P" + Value="N"/> + <ValueElement CodeSystem="HL70085" DisplayName="Results entered -- not verified" Usage="P" + Value="R"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70203" ContentDefinition="Extensional" + Description="Identifier type" + Extensibility="Closed" + Name="Identifier type" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70203" + DisplayName="Drug Furnishing or prescriptive authority Number" + Usage="P" + Value="DFN"/> + <ValueElement CodeSystem="HL70203" DisplayName="Dentist license number" Usage="P" Value="DDS"/> + <ValueElement CodeSystem="HL70203" DisplayName="QA number" Usage="P" Value="QA"/> + <ValueElement CodeSystem="HL70203" DisplayName="Cost Center number" Usage="P" Value="CC"/> + <ValueElement CodeSystem="HL70203" DisplayName="Patient's Medicare number" Usage="P" + Value="MC"/> + <ValueElement CodeSystem="HL70203" DisplayName="Regional registry ID" Usage="P" Value="RRI"/> + <ValueElement CodeSystem="HL70203" DisplayName="Treaty Number/ (Canada)" Usage="P" Value="TN"/> + <ValueElement CodeSystem="HL70203" DisplayName="Temporary Account Number" Usage="P" + Value="ANT"/> + <ValueElement CodeSystem="HL70203" DisplayName="National employer identifier" Usage="P" + Value="NE"/> + <ValueElement CodeSystem="HL70203" DisplayName="Health Card Number" Usage="P" Value="HC"/> + <ValueElement CodeSystem="HL70203" DisplayName="Patient external identifier" Usage="P" + Value="PT"/> + <ValueElement CodeSystem="HL70203" DisplayName="Railroad Retirement number" Usage="P" + Value="RR"/> + <ValueElement CodeSystem="HL70203" DisplayName="Discover Card" Usage="P" Value="DS"/> + <ValueElement CodeSystem="HL70203" DisplayName="Anonymous identifier" Usage="P" Value="ANON"/> + <ValueElement CodeSystem="HL70203" DisplayName="Birth registry number" Usage="P" Value="BR"/> + <ValueElement CodeSystem="HL70203" DisplayName="National Insurance Payor Identifier (Payor)" + Usage="P" + Value="NIIP"/> + <ValueElement CodeSystem="HL70203" DisplayName="Temporary Living Subject Number" Usage="P" + Value="PNT"/> + <ValueElement CodeSystem="HL70203" DisplayName="Registered Nurse Number" Usage="P" Value="RN"/> + <ValueElement CodeSystem="HL70203" + DisplayName="Medicare/CMS (formerly HCFA)'s Universal Physician Identification numbers" + Usage="P" + Value="UPIN"/> + <ValueElement CodeSystem="HL70203" DisplayName="Workers' Comp Number" Usage="P" Value="WCN"/> + <ValueElement CodeSystem="HL70203" DisplayName="Temporary Medical Record Number" Usage="P" + Value="MRT"/> + <ValueElement CodeSystem="HL70203" DisplayName="Person number" Usage="P" Value="PN"/> + <ValueElement CodeSystem="HL70203" DisplayName="Practitioner Medicaid number" Usage="P" + Value="MCD"/> + <ValueElement CodeSystem="HL70203" DisplayName="VISA" Usage="P" Value="VS"/> + <ValueElement CodeSystem="HL70203" DisplayName="National Health Plan Identifier" Usage="P" + Value="NH"/> + <ValueElement CodeSystem="HL70203" DisplayName="Nurse practitioner number" Usage="P" + Value="NP"/> + <ValueElement CodeSystem="HL70203" DisplayName="Osteopathic License number" Usage="P" + Value="DO"/> + <ValueElement CodeSystem="HL70203" DisplayName="Advanced Practice Registered Nurse number" + Usage="P" + Value="APRN"/> + <ValueElement CodeSystem="HL70203" DisplayName="General ledger number" Usage="P" Value="GL"/> + <ValueElement CodeSystem="HL70203" DisplayName="Patient Medicaid number" Usage="P" Value="MA"/> + <ValueElement CodeSystem="HL70203" DisplayName="Account number" Usage="P" Value="AN"/> + <ValueElement CodeSystem="HL70203" DisplayName="Pension Number" Usage="P" Value="PEN"/> + <ValueElement CodeSystem="HL70203" DisplayName="Breed Registry Number" Usage="P" Value="BRN"/> + <ValueElement CodeSystem="HL70203" DisplayName="Penitentiary/correctional institution Number" + Usage="P" + Value="PCN"/> + <ValueElement CodeSystem="HL70203" DisplayName="Provider number" Usage="P" Value="PRN"/> + <ValueElement CodeSystem="HL70203" DisplayName="State license" Usage="P" Value="SL"/> + <ValueElement CodeSystem="HL70203" DisplayName="Patient internal identifier" Usage="P" + Value="PI"/> + <ValueElement CodeSystem="HL70203" DisplayName="Employer number" Usage="P" Value="EN"/> + <ValueElement CodeSystem="HL70203" DisplayName="Practitioner Medicare number" Usage="P" + Value="MCR"/> + <ValueElement CodeSystem="HL70203" DisplayName="Facility ID" Usage="P" Value="FI"/> + <ValueElement CodeSystem="HL70203" DisplayName="Pharmacist license number" Usage="P" + Value="RPH"/> + <ValueElement CodeSystem="HL70203" DisplayName="Organization identifier" Usage="P" Value="XX"/> + <ValueElement CodeSystem="HL70203" DisplayName="American Express" Usage="P" Value="AM"/> + <ValueElement CodeSystem="HL70203" DisplayName="License number" Usage="P" Value="LN"/> + <ValueElement CodeSystem="HL70203" DisplayName="Microchip Number" Usage="P" Value="MCN"/> + <ValueElement CodeSystem="HL70203" DisplayName="Local Registry ID" Usage="P" Value="LR"/> + <ValueElement CodeSystem="HL70203" DisplayName="Living Subject Enterprise Number" Usage="P" + Value="PE"/> + <ValueElement CodeSystem="HL70203" DisplayName="National provider identifier" Usage="P" + Value="NPI"/> + <ValueElement CodeSystem="HL70203" DisplayName="Labor and industries number" Usage="P" + Value="LI"/> + <ValueElement CodeSystem="HL70203" DisplayName="MasterCard" Usage="P" Value="MS"/> + <ValueElement CodeSystem="HL70203" DisplayName="Donor Registration Number" Usage="P" + Value="DR"/> + <ValueElement CodeSystem="HL70203" DisplayName="County number" Usage="P" Value="CY"/> + <ValueElement CodeSystem="HL70203" DisplayName="Military ID number" Usage="P" Value="MI"/> + <ValueElement CodeSystem="HL70203" DisplayName="Optometrist license number" Usage="P" + Value="OD"/> + <ValueElement CodeSystem="HL70203" DisplayName="Permanent Resident Card Number" Usage="P" + Value="PRC"/> + <ValueElement CodeSystem="HL70203" DisplayName="Diner's Club card" Usage="P" Value="DI"/> + <ValueElement CodeSystem="HL70203" DisplayName="Bank Card Number" Usage="P" Value="BC"/> + <ValueElement CodeSystem="HL70203" DisplayName="Driver's license number" Usage="P" Value="DL"/> + <ValueElement CodeSystem="HL70203" + DisplayName="National Person Identifier where the xxx is the ISO table 3166 3-character (alphabetic) country code" + Usage="P" + Value="NNxxx"/> + <ValueElement CodeSystem="HL70203" DisplayName="Social Security number" Usage="P" Value="SS"/> + <ValueElement CodeSystem="HL70203" DisplayName="Medical License number" Usage="P" Value="MD"/> + <ValueElement CodeSystem="HL70203" DisplayName="National Insurance Organization Identifier" + Usage="P" + Value="NII"/> + <ValueElement CodeSystem="HL70203" DisplayName="Subscriber Number" Usage="P" Value="SN"/> + <ValueElement CodeSystem="HL70203" DisplayName="Account number debitor" Usage="P" Value="AND"/> + <ValueElement CodeSystem="HL70203" DisplayName="Indigenous/Aboriginal" Usage="P" Value="IND"/> + <ValueElement CodeSystem="HL70203" DisplayName="Guarantor internal identifier" Usage="P" + Value="GI"/> + <ValueElement CodeSystem="HL70203" DisplayName="Member Number" Usage="P" Value="MB"/> + <ValueElement CodeSystem="HL70203" DisplayName="Jurisdictional health number (Canada)" + Usage="P" + Value="JHN"/> + <ValueElement CodeSystem="HL70203" DisplayName="Employee number" Usage="P" Value="EI"/> + <ValueElement CodeSystem="HL70203" DisplayName="Podiatrist license number" Usage="P" + Value="DPM"/> + <ValueElement CodeSystem="HL70203" + DisplayName="Drug Enforcement Administration registration number" + Usage="P" + Value="DEA"/> + <ValueElement CodeSystem="HL70203" DisplayName="Unspecified identifier" Usage="P" Value="U"/> + <ValueElement CodeSystem="HL70203" DisplayName="Passport number" Usage="P" Value="PPN"/> + <ValueElement CodeSystem="HL70203" DisplayName="WIC identifier" Usage="P" Value="WC"/> + <ValueElement CodeSystem="HL70203" DisplayName="National unique individual identifier" + Usage="P" + Value="NI"/> + <ValueElement CodeSystem="HL70203" DisplayName="Visit number" Usage="P" Value="VN"/> + <ValueElement CodeSystem="HL70203" DisplayName="Bank Account Number" Usage="P" Value="BA"/> + <ValueElement CodeSystem="HL70203" DisplayName="Tax ID number" Usage="P" Value="TAX"/> + <ValueElement CodeSystem="HL70203" DisplayName="Doctor number" Usage="P" Value="DN"/> + <ValueElement CodeSystem="HL70203" DisplayName="Medical record number" Usage="P" Value="MR"/> + <ValueElement CodeSystem="HL70203" DisplayName="State registry ID" Usage="P" Value="SR"/> + <ValueElement CodeSystem="HL70203" DisplayName="Resource identifier" Usage="P" Value="RI"/> + <ValueElement CodeSystem="HL70203" DisplayName="Account number Creditor" Usage="P" + Value="ANC"/> + <ValueElement CodeSystem="HL70203" DisplayName="Guarantor external identifier" Usage="P" + Value="GN"/> + <ValueElement CodeSystem="HL70203" DisplayName="Physician Assistant number" Usage="P" + Value="PA"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70115" ContentDefinition="Extensional" + Description="Servicing Facility" + Extensibility="Closed" + Name="Servicing Facility" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70542" ContentDefinition="Extensional" + Description="Specimen Source Type Modifier" + Extensibility="Closed" + Name="Specimen Source Type Modifier" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70045" ContentDefinition="Extensional" + Description="Courtesy Code" + Extensibility="Closed" + Name="Courtesy Code" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70171" ContentDefinition="Extensional" + Description="Citizenship" + Extensibility="Closed" + Name="Citizenship" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70444" ContentDefinition="Extensional" + Description="Name assembly order" + Extensibility="Closed" + Name="Name assembly order" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70444" DisplayName="Prefix Family Middle Given Suffix" Usage="P" + Value="F"/> + <ValueElement CodeSystem="HL70444" DisplayName="Prefix Given Middle Family Suffix" Usage="P" + Value="G"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70072" ContentDefinition="Extensional" + Description="Insurance Plan ID" + Extensibility="Closed" + Name="Insurance Plan ID" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70476" ContentDefinition="Extensional" + Description="Medically Necessary Duplicate Procedure Reason" + Extensibility="Closed" + Name="Medically Necessary Duplicate Procedure Reason" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70301" ContentDefinition="Extensional" + Description="Universal ID type" + Extensibility="Closed" + Name="Universal ID type" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70301" DisplayName="X500 directory Name" Usage="P" Value="x500"/> + <ValueElement CodeSystem="HL70301" DisplayName="Local" Usage="P" Value="M"/> + <ValueElement CodeSystem="HL70301" DisplayName="Uniform Resource Identifier" Usage="P" + Value="URI"/> + <ValueElement CodeSystem="HL70301" DisplayName="HL7 registration schemes" Usage="P" + Value="HL7"/> + <ValueElement CodeSystem="HL70301" DisplayName="Local" Usage="P" Value="L"/> + <ValueElement CodeSystem="HL70301" DisplayName="Random" Usage="P" Value="Random"/> + <ValueElement CodeSystem="HL70301" DisplayName="Universal Unique Identifier" Usage="P" + Value="UUID"/> + <ValueElement CodeSystem="HL70301" DisplayName="X.400 MHS identifier" Usage="P" Value="x400"/> + <ValueElement CodeSystem="HL70301" DisplayName="Domain Name System" Usage="P" Value="DNS"/> + <ValueElement CodeSystem="HL70301" DisplayName="CEN Healthcare Coding Identifier" Usage="P" + Value="HCD"/> + <ValueElement CodeSystem="HL70301" DisplayName="globally unique identifier" Usage="P" + Value="GUID"/> + <ValueElement CodeSystem="HL70301" DisplayName="Local" Usage="P" Value="N"/> + <ValueElement CodeSystem="HL70301" DisplayName="ISO Object Identifier" Usage="P" Value="ISO"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70202" ContentDefinition="Extensional" + Description="Telecommunication equipment type" + Extensibility="Closed" + Name="Telecommunication equipment type" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70202" + DisplayName="X.400 email address: Use Only If Telecommunication Use Code Is NET" + Usage="P" + Value="X.400"/> + <ValueElement CodeSystem="HL70202" DisplayName="Telecommunications Device for the Deaf" + Usage="P" + Value="TDD"/> + <ValueElement CodeSystem="HL70202" DisplayName="Modem" Usage="P" Value="MD"/> + <ValueElement CodeSystem="HL70202" DisplayName="Cellular Phone" Usage="P" Value="CP"/> + <ValueElement CodeSystem="HL70202" DisplayName="Fax" Usage="P" Value="FX"/> + <ValueElement CodeSystem="HL70202" DisplayName="Telephone" Usage="P" Value="PH"/> + <ValueElement CodeSystem="HL70202" DisplayName="Beeper" Usage="P" Value="BP"/> + <ValueElement CodeSystem="HL70202" + DisplayName="Internet Address: Use Only If Telecommunication Use Code Is NET" + Usage="P" + Value="Internet"/> + <ValueElement CodeSystem="HL70202" DisplayName="Teletypewriter" Usage="P" Value="TTY"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70061" ContentDefinition="Extensional" + Description="Check digit scheme" + Extensibility="Closed" + Name="Check digit scheme" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70061" DisplayName="Mod 11 algorithm" Usage="P" Value="M11"/> + <ValueElement CodeSystem="HL70061" DisplayName="Mod 10 algorithm" Usage="P" Value="M10"/> + <ValueElement CodeSystem="HL70061" DisplayName="ISO 7064: 1983" Usage="P" Value="ISO"/> + <ValueElement CodeSystem="HL70061" + DisplayName="Check digit algorithm in the US National Provider Identifier" + Usage="P" + Value="NPI"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70441" ContentDefinition="Extensional" + Description="Immunization Registry Status" + Extensibility="Closed" + Name="Immunization Registry Status" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70441" DisplayName="Active" Usage="P" Value="A"/> + <ValueElement CodeSystem="HL70441" DisplayName="Other" Usage="P" Value="O"/> + <ValueElement CodeSystem="HL70441" + DisplayName="Inactive - Moved or gone elsewhere (cancel contract)" + Usage="P" + Value="M"/> + <ValueElement CodeSystem="HL70441" + DisplayName="Inactive - Lost to follow-up (cancel contract)" + Usage="P" + Value="L"/> + <ValueElement CodeSystem="HL70441" DisplayName="Unknown" Usage="P" Value="U"/> + <ValueElement CodeSystem="HL70441" DisplayName="Inactive" Usage="P" Value="I"/> + <ValueElement CodeSystem="HL70441" + DisplayName="Inactive - Permanently inactive (Do not reactivate or add new entries to the record)" + Usage="P" + Value="P"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70482" ContentDefinition="Extensional" + Description="Order Type" + Extensibility="Closed" + Name="Order Type" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70482" DisplayName="Outpatient Order" Usage="P" Value="O"/> + <ValueElement CodeSystem="HL70482" DisplayName="Inpatient Order" Usage="P" Value="I"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70465" ContentDefinition="Extensional" + Description="Name/address representation" + Extensibility="Closed" + Name="Name/address representation" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70465" + DisplayName="Alphabetic (i.e., Default or some single-byte)" + Usage="P" + Value="A"/> + <ValueElement CodeSystem="HL70465" DisplayName="Ideographic (i.e., Kanji)" Usage="P" + Value="I"/> + <ValueElement CodeSystem="HL70465" + DisplayName="Phonetic (i.e., ASCII, Katakana, Hiragana, etc.)" + Usage="P" + Value="P"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70543" ContentDefinition="Extensional" + Description="Specimen Collection Site" + Extensibility="Closed" + Name="Specimen Collection Site" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70327" ContentDefinition="Extensional" + Description="Job code" + Extensibility="Closed" + Name="Job code" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70105" ContentDefinition="Extensional" + Description="Source of comment" + Extensibility="Closed" + Name="Source of comment" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70105" DisplayName="Orderer (placer) is source of comment" + Usage="P" + Value="P"/> + <ValueElement CodeSystem="HL70105" + DisplayName="Ancillary (filler) department is source of comment" + Usage="P" + Value="L"/> + <ValueElement CodeSystem="HL70105" DisplayName="Other system is source of comment" Usage="P" + Value="O"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70006" ContentDefinition="Extensional" + Description="Religion" + Extensibility="Closed" + Name="Religion" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70006" DisplayName="Nonreligious" Usage="P" Value="NOE"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Unitarian" Usage="P" Value="UNI"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Roman Catholic" Usage="P" + Value="CAT"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Methodist" Usage="P" Value="MET"/> + <ValueElement CodeSystem="HL70006" DisplayName="Jewish: Reform" Usage="P" Value="JRF"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Other Protestant" Usage="P" + Value="PRC"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Church of Christ" Usage="P" + Value="COC"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Christian Reformed" Usage="P" + Value="CRR"/> + <ValueElement CodeSystem="HL70006" DisplayName="Agnostic" Usage="P" Value="AGN"/> + <ValueElement CodeSystem="HL70006" DisplayName="Buddhist: Mahayana" Usage="P" Value="BMA"/> + <ValueElement CodeSystem="HL70006" DisplayName="Jain" Usage="P" Value="JAI"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Mennonite" Usage="P" Value="MEN"/> + <ValueElement CodeSystem="HL70006" DisplayName="Hindu: Vaishnavites" Usage="P" Value="HVA"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Lutheran" Usage="P" Value="LUT"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Anglican" Usage="P" Value="ANG"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Christian Missionary Alliance" + Usage="P" + Value="CMA"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Church of God in Christ" Usage="P" + Value="COI"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Other Pentecostal" Usage="P" + Value="COP"/> + <ValueElement CodeSystem="HL70006" DisplayName="Atheist" Usage="P" Value="ATH"/> + <ValueElement CodeSystem="HL70006" DisplayName="Jewish: Orthodox" Usage="P" Value="JOR"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Friends" Usage="P" Value="QUA"/> + <ValueElement CodeSystem="HL70006" DisplayName="Buddhist: Theravada" Usage="P" Value="BTH"/> + <ValueElement CodeSystem="HL70006" DisplayName="Sikh" Usage="P" Value="SIK"/> + <ValueElement CodeSystem="HL70006" DisplayName="Ethnic Religionist" Usage="P" Value="ERL"/> + <ValueElement CodeSystem="HL70006" DisplayName="Muslim: Sunni" Usage="P" Value="MSU"/> + <ValueElement CodeSystem="HL70006" DisplayName="Jewish: Other" Usage="P" Value="JOT"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Orthodox" Usage="P" Value="ORT"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Reformed Church" Usage="P" + Value="REC"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Church of the Nazarene" Usage="P" + Value="NAZ"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Jehovah's Witness" Usage="P" + Value="JWN"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Presbyterian" Usage="P" + Value="PRE"/> + <ValueElement CodeSystem="HL70006" DisplayName="Buddhist: Other" Usage="P" Value="BOT"/> + <ValueElement CodeSystem="HL70006" DisplayName="Other" Usage="P" Value="OTH"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Pentecostal" Usage="P" Value="PEN"/> + <ValueElement CodeSystem="HL70006" DisplayName="Chinese Folk Religionist" Usage="P" + Value="CFR"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Lutheran Missouri Synod" Usage="P" + Value="LMS"/> + <ValueElement CodeSystem="HL70006" DisplayName="Jewish: Renewal" Usage="P" Value="JRN"/> + <ValueElement CodeSystem="HL70006" DisplayName="New Religionist" Usage="P" Value="NRL"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Christian Science" Usage="P" + Value="CHS"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Salvation Army" Usage="P" + Value="SAA"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Protestant" Usage="P" Value="PRO"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Community" Usage="P" Value="COM"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Unitarian Universalist" Usage="P" + Value="UNU"/> + <ValueElement CodeSystem="HL70006" DisplayName="Muslim: Shiite" Usage="P" Value="MSH"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: American Baptist Church" Usage="P" + Value="ABC"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: United Methodist" Usage="P" + Value="UMD"/> + <ValueElement CodeSystem="HL70006" DisplayName="Muslim" Usage="P" Value="MOS"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Evangelical Church" Usage="P" + Value="EVC"/> + <ValueElement CodeSystem="HL70006" DisplayName="Hindu" Usage="P" Value="HIN"/> + <ValueElement CodeSystem="HL70006" DisplayName="Jewish: Reconstructionist" Usage="P" + Value="JRC"/> + <ValueElement CodeSystem="HL70006" DisplayName="Buddhist" Usage="P" Value="BUD"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian" Usage="P" Value="CHR"/> + <ValueElement CodeSystem="HL70006" DisplayName="Unknown" Usage="P" Value="VAR"/> + <ValueElement CodeSystem="HL70006" DisplayName="Buddhist: Tantrayana" Usage="P" Value="BTA"/> + <ValueElement CodeSystem="HL70006" DisplayName="Baha'i" Usage="P" Value="BAH"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Other" Usage="P" Value="COT"/> + <ValueElement CodeSystem="HL70006" DisplayName="Hindu: Other" Usage="P" Value="HOT"/> + <ValueElement CodeSystem="HL70006" DisplayName="Jewish" Usage="P" Value="JEW"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Seventh Day Adventist" Usage="P" + Value="SEV"/> + <ValueElement CodeSystem="HL70006" DisplayName="Shintoist" Usage="P" Value="SHN"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Baptist" Usage="P" Value="BAP"/> + <ValueElement CodeSystem="HL70006" DisplayName="Spiritist" Usage="P" Value="SPI"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: United Church of Christ" Usage="P" + Value="UCC"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Assembly of God" Usage="P" + Value="AOG"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Latter-day Saints" Usage="P" + Value="MOM"/> + <ValueElement CodeSystem="HL70006" + DisplayName="Christian: Reorganized Church of Jesus Christ-LDS" + Usage="P" + Value="REO"/> + <ValueElement CodeSystem="HL70006" DisplayName="Native American" Usage="P" Value="NAM"/> + <ValueElement CodeSystem="HL70006" DisplayName="Confucian" Usage="P" Value="CNF"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Southern Baptist" Usage="P" + Value="SOU"/> + <ValueElement CodeSystem="HL70006" DisplayName="Hindu: Shaivites" Usage="P" Value="HSH"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Church of God" Usage="P" + Value="COG"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Friends" Usage="P" Value="FRQ"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: African Methodist Episcopal" + Usage="P" + Value="AMT"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Congregational" Usage="P" + Value="COL"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: African Methodist Episcopal Zion" + Usage="P" + Value="AME"/> + <ValueElement CodeSystem="HL70006" DisplayName="Muslim: Other" Usage="P" Value="MOT"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Wesleyan" Usage="P" Value="WES"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Greek Orthodox" Usage="P" + Value="GRE"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Wesleyan Methodist" Usage="P" + Value="WMC"/> + <ValueElement CodeSystem="HL70006" DisplayName="Jewish: Conservative" Usage="P" Value="JCO"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Episcopalian" Usage="P" + Value="EPI"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Eastern Orthodox" Usage="P" + Value="EOT"/> + <ValueElement CodeSystem="HL70006" DisplayName="Christian: Free Will Baptist" Usage="P" + Value="FWB"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70073" ContentDefinition="Extensional" + Description="Interest Rate Code" + Extensibility="Closed" + Name="Interest Rate Code" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70112" ContentDefinition="Extensional" + Description="Discharge Disposition" + Extensibility="Closed" + Name="Discharge Disposition" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70112" + DisplayName="Discharge to be defined at state level, if necessary 19" + Usage="P" + Value="19"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Still patient to be defined at state level, if necessary (i.e. still a patient) 37" + Usage="P" + Value="37"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Discharge to be defined at state level, if necessary 15" + Usage="P" + Value="15"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Still patient to be defined at state level, if necessary (i.e. still a patient) 32" + Usage="P" + Value="32"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Still patient to be defined at state level, if necessary (i.e. still a patient) 33" + Usage="P" + Value="33"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Still patient to be defined at state level, if necessary (i.e. still a patient) 35" + Usage="P" + Value="35"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Discharge to be defined at state level, if necessary 10" + Usage="P" + Value="10"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Expired to be defined at state level, if necessary 21" + Usage="P" + Value="21"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Still patient to be defined at state level, if necessary (i.e. still a patient) 34" + Usage="P" + Value="34"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Expired to be defined at state level, if necessary 24" + Usage="P" + Value="24"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Discharge to be defined at state level, if necessary 18" + Usage="P" + Value="18"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Expired to be defined at state level, if necessary 27" + Usage="P" + Value="27"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Expired (i.e. died) in a medical facility; e.g., hospital, SNF, ICF, or free standing hospice" + Usage="P" + Value="41"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Still patient to be defined at state level, if necessary (i.e. still a patient) 31" + Usage="P" + Value="31"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Discharged to home or self care (routine discharge)" + Usage="P" + Value="01"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Discharge to be defined at state level, if necessary 11" + Usage="P" + Value="11"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Discharge to be defined at state level, if necessary 13" + Usage="P" + Value="13"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Expired to be defined at state level, if necessary 26" + Usage="P" + Value="26"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Expired to be defined at state level, if necessary 28" + Usage="P" + Value="28"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Discharged/transferred to skilled nursing facility (SNF)" + Usage="P" + Value="03"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Discharged/transferred to another type of institution for inpatient care or referred for outpatient services to another institution" + Usage="P" + Value="05"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Expired to be defined at state level, if necessary 29" + Usage="P" + Value="29"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Discharged/transferred to another short term general hospital for inpatient care" + Usage="P" + Value="02"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Left against medical advice or discontinued care" + Usage="P" + Value="07"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Discharge to be defined at state level, if necessary 14" + Usage="P" + Value="14"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Discharge to be defined at state level, if necessary 16" + Usage="P" + Value="16"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Expired to be defined at state level, if necessary 23" + Usage="P" + Value="23"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Expired to be defined at state level, if necessary 22" + Usage="P" + Value="22"/> + <ValueElement CodeSystem="HL70112" DisplayName="Admitted as an inpatient to this hospital" + Usage="P" + Value="09"/> + <ValueElement CodeSystem="HL70112" DisplayName="Expired (i.e. died) at home" Usage="P" + Value="40"/> + <ValueElement CodeSystem="HL70112" DisplayName="Expired (i.e. died) - place unknown" + Usage="P" + Value="42"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Still patient to be defined at state level, if necessary (i.e. still a patient) 38" + Usage="P" + Value="38"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Discharged/transferred to home under care of Home IV provider" + Usage="P" + Value="08"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Discharge to be defined at state level, if necessary 12" + Usage="P" + Value="12"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Expired to be defined at state level, if necessary 25" + Usage="P" + Value="25"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Discharged/transferred to home under care of organized home health service organization" + Usage="P" + Value="06"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Still patient to be defined at state level, if necessary (i.e. still a patient) 39" + Usage="P" + Value="39"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Still patient or expected to return for outpatient services (i.e. still a patient)" + Usage="P" + Value="30"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Discharged/transferred to an intermediate care facility (ICF)" + Usage="P" + Value="04"/> + <ValueElement CodeSystem="HL70112" DisplayName="Expired (i.e. dead)" Usage="P" Value="20"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Discharge to be defined at state level, if necessary 17" + Usage="P" + Value="17"/> + <ValueElement CodeSystem="HL70112" + DisplayName="Still patient to be defined at state level, if necessary (i.e. still a patient) 36" + Usage="P" + Value="36"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70472" ContentDefinition="Extensional" + Description="TQ conjunction ID" + Extensibility="Closed" + Name="TQ conjunction ID" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70472" DisplayName="Asynchronous" Usage="P" Value="A"/> + <ValueElement CodeSystem="HL70472" DisplayName="Actuation Time" Usage="P" Value="C"/> + <ValueElement CodeSystem="HL70472" DisplayName="Synchronous" Usage="P" Value="S"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70305" ContentDefinition="Extensional" + Description="Person location type" + Extensibility="Closed" + Name="Person location type" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70305" DisplayName="Home" Usage="P" Value="H"/> + <ValueElement CodeSystem="HL70305" DisplayName="Department" Usage="P" Value="D"/> + <ValueElement CodeSystem="HL70305" DisplayName="Provider's Office" Usage="P" Value="O"/> + <ValueElement CodeSystem="HL70305" DisplayName="Clinic" Usage="P" Value="C"/> + <ValueElement CodeSystem="HL70305" DisplayName="SNF" Usage="P" Value="S"/> + <ValueElement CodeSystem="HL70305" DisplayName="Nursing Unit" Usage="P" Value="N"/> + <ValueElement CodeSystem="HL70305" DisplayName="Phone" Usage="P" Value="P"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70491" ContentDefinition="Extensional" + Description="Specimen Quality" + Extensibility="Closed" + Name="Specimen Quality" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70491" DisplayName="Fair" Usage="P" Value="F"/> + <ValueElement CodeSystem="HL70491" DisplayName="Poor" Usage="P" Value="P"/> + <ValueElement CodeSystem="HL70491" DisplayName="Excellent" Usage="P" Value="E"/> + <ValueElement CodeSystem="HL70491" DisplayName="Good" Usage="P" Value="G"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70003" ContentDefinition="Extensional" + Description="Event type" + Extensibility="Closed" + Name="Event type" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70003" DisplayName="Cancel Query" Usage="P" Value="CNQ"/> + <ValueElement CodeSystem="HL70003" DisplayName="BPS - Blood product dispense status" + Usage="P" + Value="O29"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ADT/ACK - Change alternate patient ID (for backward compatibility only)" + Usage="P" + Value="A48"/> + <ValueElement CodeSystem="HL70003" + DisplayName="MFN/MFK - Test/calculated observations master file" + Usage="P" + Value="M11"/> + <ValueElement CodeSystem="HL70003" DisplayName="OMD - Diet order" Usage="P" Value="O03"/> + <ValueElement CodeSystem="HL70003" DisplayName="QRY - PC/ pathway (problem-oriented) query" + Usage="P" + Value="PCE"/> + <ValueElement CodeSystem="HL70003" DisplayName="REF/RRI - Modify patient referral" Usage="P" + Value="I13"/> + <ValueElement CodeSystem="HL70003" DisplayName="RSP - Dispense History" Usage="P" Value="K31"/> + <ValueElement CodeSystem="HL70003" DisplayName="PPG - PC/ pathway (goal-oriented) delete" + Usage="P" + Value="PCJ"/> + <ValueElement CodeSystem="HL70003" DisplayName="PPR - PC/ problem update" Usage="P" + Value="PC2"/> + <ValueElement CodeSystem="HL70003" DisplayName="QRY/DSR - Query sent for immediate response" + Usage="P" + Value="Q01"/> + <ValueElement CodeSystem="HL70003" + DisplayName="MDM/ACK - Document addendum notification and content" + Usage="P" + Value="T06"/> + <ValueElement CodeSystem="HL70003" DisplayName="UDM/ACK - Unsolicited display update message" + Usage="P" + Value="Q05"/> + <ValueElement CodeSystem="HL70003" + DisplayName="SIU/ACK - Notification of new appointment booking" + Usage="P" + Value="S12"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ORU - Unsolicited Point-Of-Care Observation Message Without Existing Order - Place An Order" + Usage="P" + Value="R30"/> + <ValueElement CodeSystem="HL70003" + DisplayName="SIU/ACK - Notification of appointment rescheduling" + Usage="P" + Value="S13"/> + <ValueElement CodeSystem="HL70003" + DisplayName="CSU - Automated time intervals for reporting, like monthly" + Usage="P" + Value="C09"/> + <ValueElement CodeSystem="HL70003" DisplayName="PPG - PC/ pathway (goal-oriented) update" + Usage="P" + Value="PCH"/> + <ValueElement CodeSystem="HL70003" + DisplayName="PPT - PC/ pathway (goal-oriented) query response" + Usage="P" + Value="PCL"/> + <ValueElement CodeSystem="HL70003" + DisplayName="RQD/RPI - Request for patient demographic data" + Usage="P" + Value="I04"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Change patient account number" + Usage="P" + Value="A49"/> + <ValueElement CodeSystem="HL70003" DisplayName="RQQ - event replay query" Usage="P" + Value="Q09"/> + <ValueElement CodeSystem="HL70003" + DisplayName="TCR/ACK - Automated equipment test code settings request" + Usage="P" + Value="U11"/> + <ValueElement CodeSystem="HL70003" DisplayName="MFN/MFK - Patient location master file" + Usage="P" + Value="M05"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Pending discharge" Usage="P" + Value="A16"/> + <ValueElement CodeSystem="HL70003" DisplayName="QBP - Get corresponding identifiers" + Usage="P" + Value="Q23"/> + <ValueElement CodeSystem="HL70003" DisplayName="RAS - Pharmacy/treatment administration" + Usage="P" + Value="O17"/> + <ValueElement CodeSystem="HL70003" DisplayName="ROR - Pharmacy/treatment order response" + Usage="P" + Value="Q26"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ADT/ACK - Merge person - patient ID (for backward compatibility only)" + Usage="P" + Value="A39"/> + <ValueElement CodeSystem="HL70003" + DisplayName="MDM/ACK - Document status change notification" + Usage="P" + Value="T03"/> + <ValueElement CodeSystem="HL70003" DisplayName="MDM/ACK - Document replacement notification" + Usage="P" + Value="T09"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Patient arriving - tracking" + Usage="P" + Value="A10"/> + <ValueElement CodeSystem="HL70003" DisplayName="PMU/ACK - Grant Certificate/Permission" + Usage="P" + Value="B07"/> + <ValueElement CodeSystem="HL70003" DisplayName="VXU - Unsolicited vaccination record update" + Usage="P" + Value="V04"/> + <ValueElement CodeSystem="HL70003" + DisplayName="RQI/RPR - Request/receipt of patient selection list" + Usage="P" + Value="I03"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Pending admit" Usage="P" + Value="A14"/> + <ValueElement CodeSystem="HL70003" + DisplayName="CRM - Cancel a patient registration on clinical trial (for clerical mistakes only)" + Usage="P" + Value="C02"/> + <ValueElement CodeSystem="HL70003" + DisplayName="MFN/MFK - Test/observation (numeric) master file" + Usage="P" + Value="M08"/> + <ValueElement CodeSystem="HL70003" DisplayName="ORN - Non-stock requisition acknowledgment" + Usage="P" + Value="O08"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Update allergy information" + Usage="P" + Value="A60"/> + <ValueElement CodeSystem="HL70003" + DisplayName="MFN/MFK - Master file - test/observation (for backward compatibility only)" + Usage="P" + Value="M03"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ORM - Order message (also RDE, RDS, RGV, RAS)" + Usage="P" + Value="O01"/> + <ValueElement CodeSystem="HL70003" + DisplayName="PEX - Unsolicited initial individual product experience report" + Usage="P" + Value="P07"/> + <ValueElement CodeSystem="HL70003" DisplayName="CRM - Correct/update phase information" + Usage="P" + Value="C07"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Pending transfer" Usage="P" + Value="A15"/> + <ValueElement CodeSystem="HL70003" DisplayName="QRY - PC/ pathway (goal-oriented) query" + Usage="P" + Value="PCK"/> + <ValueElement CodeSystem="HL70003" + DisplayName="SRM/SRR - Request addition of service/resource on appointment" + Usage="P" + Value="S07"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Bed status update" Usage="P" + Value="A20"/> + <ValueElement CodeSystem="HL70003" + DisplayName="DFT/ACK - Post Detail Financial Transactions - New" + Usage="P" + Value="P11"/> + <ValueElement CodeSystem="HL70003" + DisplayName="OUL - Unsolicited Order Oriented Observation Message" + Usage="P" + Value="R24"/> + <ValueElement CodeSystem="HL70003" DisplayName="SRM/SRR - Request new appointment booking" + Usage="P" + Value="S01"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Admit/visit notification" Usage="P" + Value="A01"/> + <ValueElement CodeSystem="HL70003" DisplayName="QRY - PC/ goal query" Usage="P" Value="PC9"/> + <ValueElement CodeSystem="HL70003" + DisplayName="RRD - Pharmacy/treatment dispense acknowledgment" + Usage="P" + Value="O14"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ADT/ACK - Merge patient information - account number only (for backward compatibility only)" + Usage="P" + Value="A35"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ADT/ACK - Change patient ID (for backward compatibility only)" + Usage="P" + Value="A46"/> + <ValueElement CodeSystem="HL70003" DisplayName="MFN/MFK - Master file notification message" + Usage="P" + Value="M12"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ADT/ACK - Merge account - patient account number" + Usage="P" + Value="A41"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Add person information" Usage="P" + Value="A28"/> + <ValueElement CodeSystem="HL70003" DisplayName="PIN/ACK - Unsolicited insurance information" + Usage="P" + Value="I07"/> + <ValueElement CodeSystem="HL70003" DisplayName="PMU/ACK - Terminate practicing person" + Usage="P" + Value="B06"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ORU - Waveform result, unsolicited transmission of requested information" + Usage="P" + Value="W01"/> + <ValueElement CodeSystem="HL70003" DisplayName="EAR/ACK - Automated equipment response" + Usage="P" + Value="U08"/> + <ValueElement CodeSystem="HL70003" DisplayName="DSR/ACK - Deferred response to a query" + Usage="P" + Value="Q03"/> + <ValueElement CodeSystem="HL70003" + DisplayName="RDE - Pharmacy/treatment refill authorization request" + Usage="P" + Value="O25"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ORU/ACK - Unsolicited transmission of an observation message" + Usage="P" + Value="R01"/> + <ValueElement CodeSystem="HL70003" + DisplayName="SRM/SRR - Request appointment discontinuation" + Usage="P" + Value="S05"/> + <ValueElement CodeSystem="HL70003" + DisplayName="SIU/ACK - Notification of appointment discontinuation" + Usage="P" + Value="S16"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ADT/ACK - Move visit information - visit number" + Usage="P" + Value="A45"/> + <ValueElement CodeSystem="HL70003" + DisplayName="RSP - Segment pattern response in response to QBP^Q11" + Usage="P" + Value="K11"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Swap patients" Usage="P" + Value="A17"/> + <ValueElement CodeSystem="HL70003" + DisplayName="BRT - Blood product transfusion/disposition acknowledgment" + Usage="P" + Value="O32"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ADT/ACK - Change an inpatient to an outpatient" + Usage="P" + Value="A07"/> + <ValueElement CodeSystem="HL70003" + DisplayName="SRM/SRR - Request deletion of service/resource on appointment" + Usage="P" + Value="S11"/> + <ValueElement CodeSystem="HL70003" DisplayName="PMU/ACK - Delete personnel re cord" Usage="P" + Value="B03"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ADT/ACK - Merge patient information - patient ID and account number (for backward compatibility only)" + Usage="P" + Value="A36"/> + <ValueElement CodeSystem="HL70003" + DisplayName="QBP - Query by parameter requesting an RTB - tabular response" + Usage="P" + Value="Q13"/> + <ValueElement CodeSystem="HL70003" + DisplayName="SIU/ACK - Notification of addition of service/resource on appointment" + Usage="P" + Value="S18"/> + <ValueElement CodeSystem="HL70003" DisplayName="OMB - Blood product order" Usage="P" + Value="O27"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ADT/ACK - Merge patient information (for backward compatibility only)" + Usage="P" + Value="A18"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ROR - Pharmacy prescription order query response" + Usage="P" + Value="ROR"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ADT/ACK - Patient goes on a &#34;leave of absence&#34;" + Usage="P" + Value="A21"/> + <ValueElement CodeSystem="HL70003" DisplayName="CSU - Patient completes the clinical trial" + Usage="P" + Value="C10"/> + <ValueElement CodeSystem="HL70003" + DisplayName="MFN/MFK - Clinical study without phases but with schedules master file" + Usage="P" + Value="M07"/> + <ValueElement CodeSystem="HL70003" DisplayName="RSP - Allocate identifiers response" + Usage="P" + Value="K24"/> + <ValueElement CodeSystem="HL70003" DisplayName="SRM/SRR - Request appointment cancellation" + Usage="P" + Value="S04"/> + <ValueElement CodeSystem="HL70003" DisplayName="BAR/ACK - Update Diagnosis/Procedure" + Usage="P" + Value="P12"/> + <ValueElement CodeSystem="HL70003" DisplayName="TBR - Tabular Data Response" Usage="P" + Value="R08"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Cancel admit/visit notification" + Usage="P" + Value="A11"/> + <ValueElement CodeSystem="HL70003" DisplayName="QRF - Waveform result, response to query" + Usage="P" + Value="W02"/> + <ValueElement CodeSystem="HL70003" DisplayName="EQQ - Embedded query language query" + Usage="P" + Value="Q04"/> + <ValueElement CodeSystem="HL70003" + DisplayName="LSR/ACK - Automated equipment log/service request" + Usage="P" + Value="U13"/> + <ValueElement CodeSystem="HL70003" DisplayName="MDM/ACK - Original document notification" + Usage="P" + Value="T01"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ADT/ACK - Change an outpatient to an inpatient" + Usage="P" + Value="A06"/> + <ValueElement CodeSystem="HL70003" DisplayName="EAC/ACK - Automated equipment command" + Usage="P" + Value="U07"/> + <ValueElement CodeSystem="HL70003" DisplayName="QVR - Query for previous events" Usage="P" + Value="Q17"/> + <ValueElement CodeSystem="HL70003" + DisplayName="BAR/ACK -Transmit Ambulatory Payment Classification(APC)" + Usage="P" + Value="P10"/> + <ValueElement CodeSystem="HL70003" DisplayName="ESU/ACK - Automated equipment status update" + Usage="P" + Value="U01"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Update person information" + Usage="P" + Value="A31"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ORF - Response to query; transmission of requested observation" + Usage="P" + Value="R04"/> + <ValueElement CodeSystem="HL70003" + DisplayName="QRY/DSR Display-oriented results, query/unsol. update (for backward compatibility only) (Replaced by Q05)" + Usage="P" + Value="R03"/> + <ValueElement CodeSystem="HL70003" DisplayName="PPV - PC/ goal response" Usage="P" + Value="PCA"/> + <ValueElement CodeSystem="HL70003" DisplayName="VXQ - Query for vaccination record" Usage="P" + Value="V01"/> + <ValueElement CodeSystem="HL70003" + DisplayName="QBP - Query by parameter requesting an RSP segment pattern response" + Usage="P" + Value="Q11"/> + <ValueElement CodeSystem="HL70003" DisplayName="REF/RRI - Cancel patient referral" Usage="P" + Value="I14"/> + <ValueElement CodeSystem="HL70003" + DisplayName="QSX/ACK - Cancel subscription/acknowledge message" + Usage="P" + Value="J02"/> + <ValueElement CodeSystem="HL70003" + DisplayName="SIU/ACK - Notification of appointment modification" + Usage="P" + Value="S14"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Cancel pending transfer" Usage="P" + Value="A26"/> + <ValueElement CodeSystem="HL70003" DisplayName="OMN - Non-stock requisition order" Usage="P" + Value="O07"/> + <ValueElement CodeSystem="HL70003" DisplayName="QRY/QCK - Query sent for deferred response" + Usage="P" + Value="Q02"/> + <ValueElement CodeSystem="HL70003" + DisplayName="RDY - Display response in response to QBP^Q15" + Usage="P" + Value="K15"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Change patient identifier list" + Usage="P" + Value="A47"/> + <ValueElement CodeSystem="HL70003" + DisplayName="INU/ACK - Automated equipment inventory update" + Usage="P" + Value="U05"/> + <ValueElement CodeSystem="HL70003" + DisplayName="SIU/ACK - Notification of appointment deletion" + Usage="P" + Value="S17"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ORL - General laboratory order response message to any OML" + Usage="P" + Value="O22"/> + <ValueElement CodeSystem="HL70003" DisplayName="CRM - Register a patient on a clinical trial" + Usage="P" + Value="C01"/> + <ValueElement CodeSystem="HL70003" + DisplayName="RTB - Tabular response in response to QBP^Q13" + Usage="P" + Value="K13"/> + <ValueElement CodeSystem="HL70003" DisplayName="OMP - Pharmacy/treatment order" Usage="P" + Value="O09"/> + <ValueElement CodeSystem="HL70003" + DisplayName="QBP - Query by parameter requesting an RDY display response" + Usage="P" + Value="Q15"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ADT/ACK - Move account information - patient account number" + Usage="P" + Value="A44"/> + <ValueElement CodeSystem="HL70003" DisplayName="RQI/RPI - Request for insurance information" + Usage="P" + Value="I01"/> + <ValueElement CodeSystem="HL70003" DisplayName="PGL - PC/ goal delete" Usage="P" Value="PC8"/> + <ValueElement CodeSystem="HL70003" DisplayName="SPQ - Stored procedure request" Usage="P" + Value="Q08"/> + <ValueElement CodeSystem="HL70003" DisplayName="ESR/ACK - Automated equipment status request" + Usage="P" + Value="U02"/> + <ValueElement CodeSystem="HL70003" + DisplayName="SIU/ACK - Notification of cancellation of service/resource on appointment" + Usage="P" + Value="S20"/> + <ValueElement CodeSystem="HL70003" DisplayName="VXR - Vaccination record response" Usage="P" + Value="V03"/> + <ValueElement CodeSystem="HL70003" + DisplayName="SRM/SRR - Request modification of service/resource on appointment" + Usage="P" + Value="S08"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Delete a patient record" Usage="P" + Value="A23"/> + <ValueElement CodeSystem="HL70003" DisplayName="PRR - PC/ problem response" Usage="P" + Value="PC5"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Pre-admit a patient" Usage="P" + Value="A05"/> + <ValueElement CodeSystem="HL70003" + DisplayName="SRM/SRR - Request cancellation of service/resource on appointment" + Usage="P" + Value="S09"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Change alternate visit ID" + Usage="P" + Value="A51"/> + <ValueElement CodeSystem="HL70003" + DisplayName="BRP - Blood product dispense status acknowledgment" + Usage="P" + Value="O30"/> + <ValueElement CodeSystem="HL70003" + DisplayName="SIU/ACK - Notification of blocked schedule time slot(s)" + Usage="P" + Value="S23"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Link patient information" + Usage="P" + Value="A24"/> + <ValueElement CodeSystem="HL70003" DisplayName="PPP - PC/ pathway (problem-oriented) delete" + Usage="P" + Value="PCD"/> + <ValueElement CodeSystem="HL70003" DisplayName="SUR - Summary product experience report" + Usage="P" + Value="P09"/> + <ValueElement CodeSystem="HL70003" + DisplayName="CRM - Patient has gone off phase of clinical trial" + Usage="P" + Value="C08"/> + <ValueElement CodeSystem="HL70003" DisplayName="CRM - Patient has gone off a clinical trial" + Usage="P" + Value="C04"/> + <ValueElement CodeSystem="HL70003" + DisplayName="TCU/ACK - Automated equipment test code settings update" + Usage="P" + Value="U10"/> + <ValueElement CodeSystem="HL70003" DisplayName="MDM/ACK - Document edit notification" + Usage="P" + Value="T07"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ORL - Laboratory order response message to a single container of a specimen OML" + Usage="P" + Value="O36"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ORU - Unsolicited Pre-Ordered Point-Of-Care Observation" + Usage="P" + Value="R32"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Change attending doctor" Usage="P" + Value="A54"/> + <ValueElement CodeSystem="HL70003" DisplayName="CRM - Patient enters phase of clinical trial" + Usage="P" + Value="C05"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Change visit number" Usage="P" + Value="A50"/> + <ValueElement CodeSystem="HL70003" + DisplayName="NMQ/NMR - Application management query message" + Usage="P" + Value="N01"/> + <ValueElement CodeSystem="HL70003" DisplayName="QRY - Query for results of observation" + Usage="P" + Value="R02"/> + <ValueElement CodeSystem="HL70003" DisplayName="SRM/SRR - Request appointment modification" + Usage="P" + Value="S03"/> + <ValueElement CodeSystem="HL70003" + DisplayName="MDM/ACK - Document replacement notification and content" + Usage="P" + Value="T10"/> + <ValueElement CodeSystem="HL70003" DisplayName="REF/RRI - Patient referral" Usage="P" + Value="I12"/> + <ValueElement CodeSystem="HL70003" DisplayName="RDE - Pharmacy/treatment encoded order" + Usage="P" + Value="O11"/> + <ValueElement CodeSystem="HL70003" DisplayName="QBP - Allocate identifiers" Usage="P" + Value="Q24"/> + <ValueElement CodeSystem="HL70003" DisplayName="PPP - PC/ pathway (problem-oriented) update" + Usage="P" + Value="PCC"/> + <ValueElement CodeSystem="HL70003" + DisplayName="CRM - Correct/update registration information" + Usage="P" + Value="C03"/> + <ValueElement CodeSystem="HL70003" DisplayName="ORD - Diet order acknowledgment" Usage="P" + Value="O04"/> + <ValueElement CodeSystem="HL70003" DisplayName="ORG/ORL - General clinical order response" + Usage="P" + Value="O20"/> + <ValueElement CodeSystem="HL70003" DisplayName="MFN/MFK - Master files charge description" + Usage="P" + Value="M04"/> + <ValueElement CodeSystem="HL70003" + DisplayName="PTR - PC/ pathway (problem-oriented) query response" + Usage="P" + Value="PCF"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ADT/ACK - Move patient information - patient identifier list" + Usage="P" + Value="A43"/> + <ValueElement CodeSystem="HL70003" + DisplayName="RER - Pharmacy/treatment encoded order information" + Usage="P" + Value="Q29"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Merge visit - visit number" + Usage="P" + Value="A42"/> + <ValueElement CodeSystem="HL70003" + DisplayName="RQI/RPL - Request/receipt of patient selection display list" + Usage="P" + Value="I02"/> + <ValueElement CodeSystem="HL70003" + DisplayName="MDM/ACK - Original document notification and content" + Usage="P" + Value="T02"/> + <ValueElement CodeSystem="HL70003" + DisplayName="MFN/MFK - Master file not otherwise specified (for backward compatibility only)" + Usage="P" + Value="M01"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ADT/ACK - Cancel patient arriving - tracking" + Usage="P" + Value="A32"/> + <ValueElement CodeSystem="HL70003" DisplayName="RSP - Get person demographics response" + Usage="P" + Value="K21"/> + <ValueElement CodeSystem="HL70003" DisplayName="MFN/MFK - Master file - staff practitioner" + Usage="P" + Value="M02"/> + <ValueElement CodeSystem="HL70003" DisplayName="SSR/ACK - specimen status request" Usage="P" + Value="U04"/> + <ValueElement CodeSystem="HL70003" DisplayName="OMI - Imaging order" Usage="P" Value="O23"/> + <ValueElement CodeSystem="HL70003" DisplayName="OSQ/OSR - Query for order status" Usage="P" + Value="Q06"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ADT/ACK - Merge patient - patient identifier list" + Usage="P" + Value="A40"/> + <ValueElement CodeSystem="HL70003" + DisplayName="SIU/ACK - Notification of discontinuation of service/resource on appointment" + Usage="P" + Value="S21"/> + <ValueElement CodeSystem="HL70003" DisplayName="PMU/ACK - Revoke Certificate/Permission" + Usage="P" + Value="B08"/> + <ValueElement CodeSystem="HL70003" DisplayName="PGL - PC/ goal update" Usage="P" Value="PC7"/> + <ValueElement CodeSystem="HL70003" + DisplayName="OML - Laboratory order for multiple orders related to a single container of a specimen" + Usage="P" + Value="O35"/> + <ValueElement CodeSystem="HL70003" DisplayName="PPR - PC/ problem add" Usage="P" Value="PC1"/> + <ValueElement CodeSystem="HL70003" DisplayName="REF/RRI - Request patient referral status" + Usage="P" + Value="I15"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Cancel pre-admit" Usage="P" + Value="A38"/> + <ValueElement CodeSystem="HL70003" + DisplayName="LSU/ACK - Automated equipment log/service update" + Usage="P" + Value="U12"/> + <ValueElement CodeSystem="HL70003" DisplayName="PPP - PC/ pathway (problem-oriented) add" + Usage="P" + Value="PCB"/> + <ValueElement CodeSystem="HL70003" + DisplayName="VXX - Response to vaccination query returning multiple PID matches" + Usage="P" + Value="V02"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Delete person information" + Usage="P" + Value="A29"/> + <ValueElement CodeSystem="HL70003" + DisplayName="RQA/RPA - Request for cancellation of an authorization" + Usage="P" + Value="I11"/> + <ValueElement CodeSystem="HL70003" + DisplayName="SRM/SRR - Request discontinuation of service/resource on appointment" + Usage="P" + Value="S10"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ORP - Pharmacy/treatment order acknowledgment" + Usage="P" + Value="O10"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Cancel change consulting doctor" + Usage="P" + Value="A62"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Discharge/end visit" Usage="P" + Value="A03"/> + <ValueElement CodeSystem="HL70003" + DisplayName="CSU - Update/correction of patient order/result information" + Usage="P" + Value="C12"/> + <ValueElement CodeSystem="HL70003" DisplayName="MDM/ACK - Document addendum notification" + Usage="P" + Value="T05"/> + <ValueElement CodeSystem="HL70003" + DisplayName="RDR - Pharmacy/treatment dispense information" + Usage="P" + Value="Q28"/> + <ValueElement CodeSystem="HL70003" + DisplayName="RQC/RCI - Request for patient clinical information" + Usage="P" + Value="I05"/> + <ValueElement CodeSystem="HL70003" DisplayName="OMS - Stock requisition order" Usage="P" + Value="O05"/> + <ValueElement CodeSystem="HL70003" DisplayName="PMU/ACK - Active practicing person" Usage="P" + Value="B04"/> + <ValueElement CodeSystem="HL70003" + DisplayName="RSP - Personnel Information by Segment Response" + Usage="P" + Value="K25"/> + <ValueElement CodeSystem="HL70003" DisplayName="PMU/ACK - Add personnel record" Usage="P" + Value="B01"/> + <ValueElement CodeSystem="HL70003" DisplayName="SRM/SRR - Request appointment deletion" + Usage="P" + Value="S06"/> + <ValueElement CodeSystem="HL70003" DisplayName="OMG - General clinical order" Usage="P" + Value="O19"/> + <ValueElement CodeSystem="HL70003" + DisplayName="RRA - Pharmacy/treatment administration acknowledgment" + Usage="P" + Value="O18"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Cancel pending discharge" + Usage="P" + Value="A25"/> + <ValueElement CodeSystem="HL70003" DisplayName="QRY - PC/ problem query" Usage="P" + Value="PC4"/> + <ValueElement CodeSystem="HL70003" DisplayName="MDM/ACK - Document cancel notification" + Usage="P" + Value="T11"/> + <ValueElement CodeSystem="HL70003" DisplayName="QRY/DOC - Document query" Usage="P" + Value="T12"/> + <ValueElement CodeSystem="HL70003" + DisplayName="INR/ACK - Automated equipment inventory request" + Usage="P" + Value="U06"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Patient departing - tracking" + Usage="P" + Value="A09"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ORI - Imaging order response message to any OMI" + Usage="P" + Value="O24"/> + <ValueElement CodeSystem="HL70003" DisplayName="BTS - Blood product transfusion/disposition" + Usage="P" + Value="O31"/> + <ValueElement CodeSystem="HL70003" DisplayName="PMU/ACK - Deactivate practicing person" + Usage="P" + Value="B05"/> + <ValueElement CodeSystem="HL70003" DisplayName="RSP - Find candidates response" Usage="P" + Value="K22"/> + <ValueElement CodeSystem="HL70003" DisplayName="RSP - Get corresponding identifiers response" + Usage="P" + Value="K23"/> + <ValueElement CodeSystem="HL70003" + DisplayName="RQA/RPA - Request for modification to an authorization" + Usage="P" + Value="I09"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Update patient information" + Usage="P" + Value="A08"/> + <ValueElement CodeSystem="HL70003" + DisplayName="MFN/MFK - Clinical study with phases and schedules master file" + Usage="P" + Value="M06"/> + <ValueElement CodeSystem="HL70003" DisplayName="OML - Laboratory order" Usage="P" Value="O21"/> + <ValueElement CodeSystem="HL70003" + DisplayName="RQC/RCL - Request/receipt of clinical data listing" + Usage="P" + Value="I06"/> + <ValueElement CodeSystem="HL70003" + DisplayName="SIU/ACK - Notification of deletion of service/resource on appointment" + Usage="P" + Value="S22"/> + <ValueElement CodeSystem="HL70003" + DisplayName="MDM/ACK - Document edit notification and content" + Usage="P" + Value="T08"/> + <ValueElement CodeSystem="HL70003" DisplayName="QCN/ACK - Cancel query/acknowledge message" + Usage="P" + Value="J01"/> + <ValueElement CodeSystem="HL70003" DisplayName="QRY/DSP - Generate bill and A/R statements" + Usage="P" + Value="P04"/> + <ValueElement CodeSystem="HL70003" + DisplayName="RQA/RPA - Request for resubmission of an authorization" + Usage="P" + Value="I10"/> + <ValueElement CodeSystem="HL70003" DisplayName="SRM/SRR - Request appointment rescheduling" + Usage="P" + Value="S02"/> + <ValueElement CodeSystem="HL70003" DisplayName="EAN/ACK - Automated equipment notification" + Usage="P" + Value="U09"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ADT/ACK - Patient returns from a &#34;leave of absence&#34;" + Usage="P" + Value="A22"/> + <ValueElement CodeSystem="HL70003" + DisplayName="SIU/ACK - Notification of modification of service/resource on appointment" + Usage="P" + Value="S19"/> + <ValueElement CodeSystem="HL70003" + DisplayName="MFN/MFK - Master file notification - site defined" + Usage="P" + Value="M14"/> + <ValueElement CodeSystem="HL70003" + DisplayName="MFN/MFK - Inventory item master file notification" + Usage="P" + Value="M15"/> + <ValueElement CodeSystem="HL70003" + DisplayName="RRE - Pharmacy/treatment encoded order acknowledgment" + Usage="P" + Value="O12"/> + <ValueElement CodeSystem="HL70003" + DisplayName="PEX - Unsolicited update individual product experience report" + Usage="P" + Value="P08"/> + <ValueElement CodeSystem="HL70003" + DisplayName="MFN/MFK - Test /observation batteries master file" + Usage="P" + Value="M10"/> + <ValueElement CodeSystem="HL70003" + DisplayName="NMD/ACK - Application management data message (unsolicited)" + Usage="P" + Value="N02"/> + <ValueElement CodeSystem="HL70003" + DisplayName="MDM/ACK - Document status change notification and content" + Usage="P" + Value="T04"/> + <ValueElement CodeSystem="HL70003" DisplayName="BAR/ACK - End account" Usage="P" Value="P06"/> + <ValueElement CodeSystem="HL70003" + DisplayName="OML - Laboratory order for multiple orders related to a single specimen" + Usage="P" + Value="O33"/> + <ValueElement CodeSystem="HL70003" + DisplayName="SIU/ACK - Notification of opened (&#34;unblocked&#34;) schedule time slot(s)" + Usage="P" + Value="S24"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Cancel discharge/end visit" + Usage="P" + Value="A13"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ADT/ACK - Cancel patient departing - tracking" + Usage="P" + Value="A33"/> + <ValueElement CodeSystem="HL70003" DisplayName="BAR/ACK - Add patient accounts" Usage="P" + Value="P01"/> + <ValueElement CodeSystem="HL70003" DisplayName="OUL - Unsolicited laboratory observation" + Usage="P" + Value="R21"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ADT/ACK - Cancel patient returns from a leave of absence" + Usage="P" + Value="A53"/> + <ValueElement CodeSystem="HL70003" + DisplayName="CRM - Cancel patient entering a phase (clerical mistake)" + Usage="P" + Value="C06"/> + <ValueElement CodeSystem="HL70003" DisplayName="RGV - Pharmacy/treatment give" Usage="P" + Value="O15"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Cancel pending admit" Usage="P" + Value="A27"/> + <ValueElement CodeSystem="HL70003" DisplayName="QBP - Personnel Information by Segment Query" + Usage="P" + Value="Q25"/> + <ValueElement CodeSystem="HL70003" DisplayName="PMU/ACK - Update personnel record" Usage="P" + Value="B02"/> + <ValueElement CodeSystem="HL70003" + DisplayName="SQM/SQR - Schedule query message and response" + Usage="P" + Value="S25"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Cancel transfer" Usage="P" + Value="A12"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ADT/ACK - Cancel leave of absence for a patient" + Usage="P" + Value="A52"/> + <ValueElement CodeSystem="HL70003" + DisplayName="CSU - Patient completes a phase of the clinical trial" + Usage="P" + Value="C11"/> + <ValueElement CodeSystem="HL70003" DisplayName="RRG - Pharmacy/treatment give acknowledgment" + Usage="P" + Value="O16"/> + <ValueElement CodeSystem="HL70003" DisplayName="QBP - Get person demographics" Usage="P" + Value="Q21"/> + <ValueElement CodeSystem="HL70003" DisplayName="PPG - PC/ pathway (goal-oriented) add" + Usage="P" + Value="PCG"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ORU - Unsolicited New Point-Of-Care Observation Message - Search For An Order" + Usage="P" + Value="R31"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Change consulting doctor" Usage="P" + Value="A61"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Cancel change attending doctor" + Usage="P" + Value="A55"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Unlink patient information" + Usage="P" + Value="A37"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ORR - Order response (also RRE, RRD, RRG, RRA)" + Usage="P" + Value="O02"/> + <ValueElement CodeSystem="HL70003" DisplayName="QSB - Create subscription" Usage="P" + Value="Q16"/> + <ValueElement CodeSystem="HL70003" DisplayName="BAR/ACK - Update account" Usage="P" + Value="P05"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Transfer a patient" Usage="P" + Value="A02"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ADT/ACK - Merge person information (for backward compatibility only)" + Usage="P" + Value="A30"/> + <ValueElement CodeSystem="HL70003" + DisplayName="OUL - Unsolicited Specimen Oriented Observation Message" + Usage="P" + Value="R22"/> + <ValueElement CodeSystem="HL70003" + DisplayName="RQA/RPA - Request for treatment authorization information" + Usage="P" + Value="I08"/> + <ValueElement CodeSystem="HL70003" DisplayName="RGR - Pharmacy/treatment dose information" + Usage="P" + Value="Q30"/> + <ValueElement CodeSystem="HL70003" + DisplayName="SIU/ACK - Notification of appointment cancellation" + Usage="P" + Value="S15"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ADT/ACK - Merge patient information - patient ID only (for backward compatibility only)" + Usage="P" + Value="A34"/> + <ValueElement CodeSystem="HL70003" + DisplayName="ORL - Laboratory order response message to a multiple order related to single specimen OML" + Usage="P" + Value="O34"/> + <ValueElement CodeSystem="HL70003" DisplayName="RDS - Pharmacy/treatment dispense" Usage="P" + Value="O13"/> + <ValueElement CodeSystem="HL70003" DisplayName="ORS - Stock requisition acknowledgment" + Usage="P" + Value="O06"/> + <ValueElement CodeSystem="HL70003" DisplayName="PGL - PC/ goal add" Usage="P" Value="PC6"/> + <ValueElement CodeSystem="HL70003" DisplayName="VQQ - Virtual table query" Usage="P" + Value="Q07"/> + <ValueElement CodeSystem="HL70003" DisplayName="QRY/ADR - Patient query" Usage="P" + Value="A19"/> + <ValueElement CodeSystem="HL70003" DisplayName="ADT/ACK - Register a patient" Usage="P" + Value="A04"/> + <ValueElement CodeSystem="HL70003" DisplayName="MFN/MFK - Master file notification - general" + Usage="P" + Value="M13"/> + <ValueElement CodeSystem="HL70003" DisplayName="DBP - Dispense History" Usage="P" Value="Q31"/> + <ValueElement CodeSystem="HL70003" + DisplayName="RRE - Pharmacy/Treatment Refill Authorization Acknowledgement" + Usage="P" + Value="O26"/> + <ValueElement CodeSystem="HL70003" DisplayName="ORB - Blood product order acknowledgment" + Usage="P" + Value="O28"/> + <ValueElement CodeSystem="HL70003" DisplayName="QBP - Find candidates" Usage="P" Value="Q22"/> + <ValueElement CodeSystem="HL70003" + DisplayName="RAR - Pharmacy/treatment administration information" + Usage="P" + Value="Q27"/> + <ValueElement CodeSystem="HL70003" DisplayName="DFT/ACK - Post detail financial transaction" + Usage="P" + Value="P03"/> + <ValueElement CodeSystem="HL70003" DisplayName="ERP - Event Replay Response" Usage="P" + Value="R09"/> + <ValueElement CodeSystem="HL70003" DisplayName="BAR/ACK - Purge patient accounts" Usage="P" + Value="P02"/> + <ValueElement CodeSystem="HL70003" + DisplayName="MFN/MFK - Test/observation (categorical) master file" + Usage="P" + Value="M09"/> + <ValueElement CodeSystem="HL70003" + DisplayName="OUL - Unsolicited Specimen Container Oriented Observation Message" + Usage="P" + Value="R23"/> + <ValueElement CodeSystem="HL70003" DisplayName="EDR - Enhanced Display Response" Usage="P" + Value="R07"/> + <ValueElement CodeSystem="HL70003" DisplayName="SSU/ACK - Specimen status update" Usage="P" + Value="U03"/> + <ValueElement CodeSystem="HL70003" DisplayName="PPR - PC/ problem delete" Usage="P" + Value="PC3"/> + <ValueElement CodeSystem="HL70003" + DisplayName="SIU/ACK Notification that patient did not show up for schedule appointment" + Usage="P" + Value="S26"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70087" ContentDefinition="Extensional" + Description="Pre-Admit Test Indicator" + Extensibility="Closed" + Name="Pre-Admit Test Indicator" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70326" ContentDefinition="Extensional" + Description="Visit Indicator" + Extensibility="Closed" + Name="Visit Indicator" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70326" DisplayName="Account level" Usage="P" Value="A"/> + <ValueElement CodeSystem="HL70326" DisplayName="Visit level" Usage="P" Value="V"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70080" ContentDefinition="Extensional" + Description="Nature of Abnormal Testing" + Extensibility="Closed" + Name="Nature of Abnormal Testing" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70080" DisplayName="Species" Usage="P" Value="SP"/> + <ValueElement CodeSystem="HL70080" DisplayName="None - generic normal range" Usage="P" + Value="N"/> + <ValueElement CodeSystem="HL70080" DisplayName="Strain" Usage="P" Value="ST"/> + <ValueElement CodeSystem="HL70080" DisplayName="A race-based population" Usage="P" Value="R"/> + <ValueElement CodeSystem="HL70080" DisplayName="An age-based population" Usage="P" Value="A"/> + <ValueElement CodeSystem="HL70080" DisplayName="Breed" Usage="P" Value="B"/> + <ValueElement CodeSystem="HL70080" DisplayName="A sex-based population" Usage="P" Value="S"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70298" ContentDefinition="Extensional" + Description="CP range type" + Extensibility="Closed" + Name="CP range type" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70298" + DisplayName="Pro-rate. Apply this price to this interval, pro-rated by whatever portion of the interval has occurred/been consumed" + Usage="P" + Value="P"/> + <ValueElement CodeSystem="HL70298" + DisplayName="Flat-rate. Apply the entire price to this interval, do not pro-rate the price if the full interval has not occurred/been consumed" + Usage="P" + Value="F"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70049" ContentDefinition="Extensional" + Description="Department Code" + Extensibility="Closed" + Name="Department Code" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70430" ContentDefinition="Extensional" + Description="Mode of Arrival Code" + Extensibility="Closed" + Name="Mode of Arrival Code" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70430" DisplayName="Other" Usage="P" Value="O"/> + <ValueElement CodeSystem="HL70430" DisplayName="Helicopter" Usage="P" Value="H"/> + <ValueElement CodeSystem="HL70430" DisplayName="Ambulance" Usage="P" Value="A"/> + <ValueElement CodeSystem="HL70430" DisplayName="Car" Usage="P" Value="C"/> + <ValueElement CodeSystem="HL70430" DisplayName="Unknown" Usage="P" Value="U"/> + <ValueElement CodeSystem="HL70430" DisplayName="Public Transport" Usage="P" Value="P"/> + <ValueElement CodeSystem="HL70430" DisplayName="On foot" Usage="P" Value="F"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70504" ContentDefinition="Extensional" + Description="Sequence Condition Code" + Extensibility="Closed" + Name="Sequence Condition Code" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70504" + DisplayName="Start related service request(s), start current service request." + Usage="P" + Value="SS"/> + <ValueElement CodeSystem="HL70504" + DisplayName="End related service request(s), end current service request." + Usage="P" + Value="EE"/> + <ValueElement CodeSystem="HL70504" + DisplayName="End related service request(s), start current service request." + Usage="P" + Value="ES"/> + <ValueElement CodeSystem="HL70504" + DisplayName="Start related service request(s), end current service request." + Usage="P" + Value="SE"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70032" ContentDefinition="Extensional" + Description="Charge/Price Indicator" + Extensibility="Closed" + Name="Charge/Price Indicator" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70493" ContentDefinition="Extensional" + Description="Specimen Condition" + Extensibility="Closed" + Name="Specimen Condition" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70493" DisplayName="Clotted" Usage="P" Value="CLOT"/> + <ValueElement CodeSystem="HL70493" DisplayName="Hemolyzed" Usage="P" Value="HEM"/> + <ValueElement CodeSystem="HL70493" DisplayName="Cool" Usage="P" Value="COOL"/> + <ValueElement CodeSystem="HL70493" DisplayName="Room temperature" Usage="P" Value="ROOM"/> + <ValueElement CodeSystem="HL70493" DisplayName="Contaminated" Usage="P" Value="CON"/> + <ValueElement CodeSystem="HL70493" DisplayName="Live" Usage="P" Value="LIVE"/> + <ValueElement CodeSystem="HL70493" DisplayName="Autolyzed" Usage="P" Value="AUT"/> + <ValueElement CodeSystem="HL70493" DisplayName="Sample not received" Usage="P" Value="SNR"/> + <ValueElement CodeSystem="HL70493" DisplayName="Frozen" Usage="P" Value="FROZ"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70141" ContentDefinition="Extensional" + Description="Military Rank/Grade" + Extensibility="Closed" + Name="Military Rank/Grade" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70141" DisplayName="Enlisted 2" Usage="P" Value="E2"/> + <ValueElement CodeSystem="HL70141" DisplayName="Enlisted 5" Usage="P" Value="E5"/> + <ValueElement CodeSystem="HL70141" DisplayName="Enlisted 1" Usage="P" Value="E1"/> + <ValueElement CodeSystem="HL70141" DisplayName="Warrant Officers 4" Usage="P" Value="W4"/> + <ValueElement CodeSystem="HL70141" DisplayName="Officers 3" Usage="P" Value="O3"/> + <ValueElement CodeSystem="HL70141" DisplayName="Officers 4" Usage="P" Value="O4"/> + <ValueElement CodeSystem="HL70141" DisplayName="Enlisted 9" Usage="P" Value="E9"/> + <ValueElement CodeSystem="HL70141" DisplayName="Officers 7" Usage="P" Value="O7"/> + <ValueElement CodeSystem="HL70141" DisplayName="Officers 8" Usage="P" Value="O8"/> + <ValueElement CodeSystem="HL70141" DisplayName="Warrant Officers 3" Usage="P" Value="W3"/> + <ValueElement CodeSystem="HL70141" DisplayName="Enlisted 4" Usage="P" Value="E4"/> + <ValueElement CodeSystem="HL70141" DisplayName="Enlisted 3" Usage="P" Value="E3"/> + <ValueElement CodeSystem="HL70141" DisplayName="Officers 5" Usage="P" Value="O5"/> + <ValueElement CodeSystem="HL70141" DisplayName="Enlisted 8" Usage="P" Value="E8"/> + <ValueElement CodeSystem="HL70141" DisplayName="Officers 1" Usage="P" Value="O1"/> + <ValueElement CodeSystem="HL70141" DisplayName="Enlisted 6" Usage="P" Value="E6"/> + <ValueElement CodeSystem="HL70141" DisplayName="Officers 6" Usage="P" Value="O6"/> + <ValueElement CodeSystem="HL70141" DisplayName="Officers 9" Usage="P" Value="O9"/> + <ValueElement CodeSystem="HL70141" DisplayName="Enlisted 7" Usage="P" Value="E7"/> + <ValueElement CodeSystem="HL70141" DisplayName="Warrant Officers 1" Usage="P" Value="W1"/> + <ValueElement CodeSystem="HL70141" DisplayName="Warrant Officers 2" Usage="P" Value="W2"/> + <ValueElement CodeSystem="HL70141" DisplayName="Officers 2" Usage="P" Value="O2"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70399" ContentDefinition="Extensional" + Description="Country code" + Extensibility="Closed" + Name="Country code" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70131" ContentDefinition="Extensional" + Description="Contact Role" + Extensibility="Closed" + Name="Contact Role" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70131" DisplayName="State Agency" Usage="P" Value="S"/> + <ValueElement CodeSystem="HL70131" DisplayName="Emergency Contact" Usage="P" Value="C"/> + <ValueElement CodeSystem="HL70131" DisplayName="Unknown" Usage="P" Value="U"/> + <ValueElement CodeSystem="HL70131" DisplayName="Federal Agency" Usage="P" Value="F"/> + <ValueElement CodeSystem="HL70131" DisplayName="Employer" Usage="P" Value="E"/> + <ValueElement CodeSystem="HL70131" DisplayName="Insurance Company" Usage="P" Value="I"/> + <ValueElement CodeSystem="HL70131" DisplayName="Next-of-Kin" Usage="P" Value="N"/> + <ValueElement CodeSystem="HL70131" DisplayName="Other" Usage="P" Value="O"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70155" ContentDefinition="Extensional" + Description="Accept/application acknowledgment conditions" + Extensibility="Closed" + Name="Accept/application acknowledgment conditions" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70155" DisplayName="Error/reject conditions only" Usage="P" + Value="ER"/> + <ValueElement CodeSystem="HL70155" DisplayName="Never" Usage="P" Value="NE"/> + <ValueElement CodeSystem="HL70155" DisplayName="Successful completion only" Usage="P" + Value="SU"/> + <ValueElement CodeSystem="HL70155" DisplayName="Always" Usage="P" Value="AL"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70163" ContentDefinition="Extensional" + Description="Body site" + Extensibility="Closed" + Name="Body site" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70163" DisplayName="Right Anterior Chest" Usage="P" Value="RAC"/> + <ValueElement CodeSystem="HL70163" DisplayName="Perineal" Usage="P" Value="PERIN"/> + <ValueElement CodeSystem="HL70163" DisplayName="Left External Jugular" Usage="P" Value="LEJ"/> + <ValueElement CodeSystem="HL70163" DisplayName="Left Foot" Usage="P" Value="LF"/> + <ValueElement CodeSystem="HL70163" DisplayName="Right Internal Jugular" Usage="P" Value="RIJ"/> + <ValueElement CodeSystem="HL70163" DisplayName="Rt Lower Abd Quadrant" Usage="P" Value="RLAQ"/> + <ValueElement CodeSystem="HL70163" DisplayName="Bilateral Eyes" Usage="P" Value="OU"/> + <ValueElement CodeSystem="HL70163" DisplayName="Left Deltoid" Usage="P" Value="LD"/> + <ValueElement CodeSystem="HL70163" DisplayName="Bilateral Nares" Usage="P" Value="BN"/> + <ValueElement CodeSystem="HL70163" DisplayName="Left Arm" Usage="P" Value="LA"/> + <ValueElement CodeSystem="HL70163" DisplayName="Left Eye" Usage="P" Value="OS"/> + <ValueElement CodeSystem="HL70163" DisplayName="Right Naris" Usage="P" Value="RN"/> + <ValueElement CodeSystem="HL70163" DisplayName="Right Vastus Lateralis" Usage="P" Value="RVL"/> + <ValueElement CodeSystem="HL70163" DisplayName="Left Upper Abd Quadrant" Usage="P" + Value="LUAQ"/> + <ValueElement CodeSystem="HL70163" DisplayName="Right Mid Forearm" Usage="P" Value="RMFA"/> + <ValueElement CodeSystem="HL70163" DisplayName="Left Ear" Usage="P" Value="LE"/> + <ValueElement CodeSystem="HL70163" DisplayName="Left Anterior Chest" Usage="P" Value="LAC"/> + <ValueElement CodeSystem="HL70163" DisplayName="Left Thigh" Usage="P" Value="LT"/> + <ValueElement CodeSystem="HL70163" DisplayName="Right Arm" Usage="P" Value="RA"/> + <ValueElement CodeSystem="HL70163" DisplayName="Buttock" Usage="P" Value="BU"/> + <ValueElement CodeSystem="HL70163" DisplayName="Left Vastus Lateralis" Usage="P" Value="LVL"/> + <ValueElement CodeSystem="HL70163" DisplayName="Right Subclavian" Usage="P" Value="RSC"/> + <ValueElement CodeSystem="HL70163" DisplayName="Right Gluteus Medius" Usage="P" Value="RG"/> + <ValueElement CodeSystem="HL70163" DisplayName="Left Subclavian" Usage="P" Value="LSC"/> + <ValueElement CodeSystem="HL70163" DisplayName="Left Upper Forearm" Usage="P" Value="LUFA"/> + <ValueElement CodeSystem="HL70163" DisplayName="Right External Jugular" Usage="P" Value="REJ"/> + <ValueElement CodeSystem="HL70163" DisplayName="Right Eye" Usage="P" Value="OD"/> + <ValueElement CodeSystem="HL70163" DisplayName="Nebulized" Usage="P" Value="NB"/> + <ValueElement CodeSystem="HL70163" DisplayName="Right Upper Arm" Usage="P" Value="RUA"/> + <ValueElement CodeSystem="HL70163" DisplayName="Left Mid Forearm" Usage="P" Value="LMFA"/> + <ValueElement CodeSystem="HL70163" DisplayName="Right Hand" Usage="P" Value="RH"/> + <ValueElement CodeSystem="HL70163" DisplayName="Right Foot" Usage="P" Value="RF"/> + <ValueElement CodeSystem="HL70163" DisplayName="Right Ventragluteal" Usage="P" Value="RVG"/> + <ValueElement CodeSystem="HL70163" DisplayName="Right Upper Forearm" Usage="P" Value="RUFA"/> + <ValueElement CodeSystem="HL70163" DisplayName="Chest Tube" Usage="P" Value="CT"/> + <ValueElement CodeSystem="HL70163" DisplayName="Right Deltoid" Usage="P" Value="RD"/> + <ValueElement CodeSystem="HL70163" DisplayName="Left Ventragluteal" Usage="P" Value="LVG"/> + <ValueElement CodeSystem="HL70163" DisplayName="Perianal" Usage="P" Value="PA"/> + <ValueElement CodeSystem="HL70163" DisplayName="Right Thigh" Usage="P" Value="RT"/> + <ValueElement CodeSystem="HL70163" DisplayName="Left Hand" Usage="P" Value="LH"/> + <ValueElement CodeSystem="HL70163" DisplayName="Left Naris" Usage="P" Value="LN"/> + <ValueElement CodeSystem="HL70163" DisplayName="Right Lower Forearm" Usage="P" Value="RLFA"/> + <ValueElement CodeSystem="HL70163" DisplayName="Left Gluteus Medius" Usage="P" Value="LG"/> + <ValueElement CodeSystem="HL70163" DisplayName="Left Upper Arm" Usage="P" Value="LUA"/> + <ValueElement CodeSystem="HL70163" DisplayName="Left Internal Jugular" Usage="P" Value="LIJ"/> + <ValueElement CodeSystem="HL70163" DisplayName="Left Lower Abd Quadrant" Usage="P" + Value="LLAQ"/> + <ValueElement CodeSystem="HL70163" DisplayName="Left Antecubital Fossa" Usage="P" + Value="LACF"/> + <ValueElement CodeSystem="HL70163" DisplayName="Left Posterior Chest" Usage="P" Value="LPC"/> + <ValueElement CodeSystem="HL70163" DisplayName="Right Antecubital Fossa" Usage="P" + Value="RACF"/> + <ValueElement CodeSystem="HL70163" DisplayName="Left Lower Forearm" Usage="P" Value="LLFA"/> + <ValueElement CodeSystem="HL70163" DisplayName="Right Ear" Usage="P" Value="RE"/> + <ValueElement CodeSystem="HL70163" DisplayName="Right Posterior Chest" Usage="P" Value="RPC"/> + <ValueElement CodeSystem="HL70163" DisplayName="Bilateral Ears" Usage="P" Value="BE"/> + <ValueElement CodeSystem="HL70163" DisplayName="Right Upper Abd Quadrant" Usage="P" + Value="RUAQ"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70432" ContentDefinition="Extensional" + Description="Admission Level of Care Code" + Extensibility="Closed" + Name="Admission Level of Care Code" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70432" DisplayName="Acute" Usage="P" Value="AC"/> + <ValueElement CodeSystem="HL70432" DisplayName="Moribund" Usage="P" Value="MO"/> + <ValueElement CodeSystem="HL70432" DisplayName="Critical" Usage="P" Value="CR"/> + <ValueElement CodeSystem="HL70432" DisplayName="Improved" Usage="P" Value="IM"/> + <ValueElement CodeSystem="HL70432" DisplayName="Chronic" Usage="P" Value="CH"/> + <ValueElement CodeSystem="HL70432" DisplayName="Comatose" Usage="P" Value="CO"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70018" ContentDefinition="Extensional" + Description="Patient Type" + Extensibility="Closed" + Name="Patient Type" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70369" ContentDefinition="Extensional" + Description="Specimen Role" + Extensibility="Closed" + Name="Specimen Role" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70369" + DisplayName="Electronic QC, used with manufactured reference providing signals that simulate QC results" + Usage="P" + Value="E"/> + <ValueElement CodeSystem="HL70369" DisplayName="Blind Sample" Usage="P" Value="B"/> + <ValueElement CodeSystem="HL70369" + DisplayName="Calibrator, used for initial setting of calibration" + Usage="P" + Value="C"/> + <ValueElement CodeSystem="HL70369" + DisplayName="Specimen used for testing proficiency of the organization performing the testing (Filler)" + Usage="P" + Value="F"/> + <ValueElement CodeSystem="HL70369" + DisplayName="Verifying Calibrator, used for periodic calibration checks" + Usage="P" + Value="V"/> + <ValueElement CodeSystem="HL70369" DisplayName="Control specimen" Usage="P" Value="Q"/> + <ValueElement CodeSystem="HL70369" + DisplayName="Specimen used for testing Operator Proficiency" + Usage="P" + Value="O"/> + <ValueElement CodeSystem="HL70369" DisplayName="Patient" Usage="P" Value="P"/> + <ValueElement CodeSystem="HL70369" DisplayName="Replicate" Usage="P" Value="R"/> + <ValueElement CodeSystem="HL70369" + DisplayName="Group (where a specimen consists of multiple individual elements that are not individually identified)" + Usage="P" + Value="G"/> + <ValueElement CodeSystem="HL70369" + DisplayName="Pool (aliquots of individual specimens combined to form a single specimen representing all of the components.)" + Usage="P" + Value="L"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70213" ContentDefinition="Extensional" + Description="Purge Status Code" + Extensibility="Closed" + Name="Purge Status Code" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70213" + DisplayName="The visit is marked for deletion and the user cannot enter new data against it." + Usage="P" + Value="D"/> + <ValueElement CodeSystem="HL70213" + DisplayName="The visit is marked inactive and the user cannot enter new data against it." + Usage="P" + Value="I"/> + <ValueElement CodeSystem="HL70213" + DisplayName="Marked for purge. User is no longer able to update the visit." + Usage="P" + Value="P"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70304" ContentDefinition="Extensional" Description="Bed" + Extensibility="Closed" + Name="Bed" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70024" ContentDefinition="Extensional" + Description="Fee Schedule" + Extensibility="Closed" + Name="Fee Schedule" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70507" ContentDefinition="Extensional" + Description="Observation Result Handling" + Extensibility="Closed" + Name="Observation Result Handling" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70507" DisplayName="Notify provider when ready" Usage="P" + Value="N"/> + <ValueElement CodeSystem="HL70507" DisplayName="Film-with-patient" Usage="P" Value="F"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70214" ContentDefinition="Extensional" + Description="Special Program Code" + Extensibility="Closed" + Name="Special Program Code" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70214" DisplayName="Unknown" Usage="P" Value="U"/> + <ValueElement CodeSystem="HL70214" DisplayName="Family Planning" Usage="P" Value="FP"/> + <ValueElement CodeSystem="HL70214" DisplayName="Elective Surgery Program" Usage="P" + Value="ES"/> + <ValueElement CodeSystem="HL70214" DisplayName="Child Health Assistance" Usage="P" Value="CH"/> + <ValueElement CodeSystem="HL70214" DisplayName="Other" Usage="P" Value="O"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70225" ContentDefinition="Extensional" + Description="Escort Required" + Extensibility="Closed" + Name="Escort Required" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70225" DisplayName="Required" Usage="P" Value="R"/> + <ValueElement CodeSystem="HL70225" DisplayName="Unknown" Usage="P" Value="U"/> + <ValueElement CodeSystem="HL70225" DisplayName="Not Required" Usage="P" Value="N"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70315" ContentDefinition="Extensional" + Description="Living Will Code" + Extensibility="Closed" + Name="Living Will Code" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70315" DisplayName="Unknown" Usage="P" Value="U"/> + <ValueElement CodeSystem="HL70315" + DisplayName="No, patient does not have a living will but information was provided" + Usage="P" + Value="I"/> + <ValueElement CodeSystem="HL70315" + DisplayName="Yes, patient has a living will but it is not on file" + Usage="P" + Value="F"/> + <ValueElement CodeSystem="HL70315" + DisplayName="No, patient does not have a living will and no information was provided" + Usage="P" + Value="N"/> + <ValueElement CodeSystem="HL70315" DisplayName="Yes, patient has a living will" Usage="P" + Value="Y"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70215" ContentDefinition="Extensional" + Description="Publicity Code" + Extensibility="Closed" + Name="Publicity Code" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70215" DisplayName="No Publicity" Usage="P" Value="N"/> + <ValueElement CodeSystem="HL70215" DisplayName="Unknown" Usage="P" Value="U"/> + <ValueElement CodeSystem="HL70215" DisplayName="Family only" Usage="P" Value="F"/> + <ValueElement CodeSystem="HL70215" DisplayName="Other" Usage="P" Value="O"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70296" ContentDefinition="Extensional" + Description="Primary Language" + Extensibility="Closed" + Name="Primary Language" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70333" ContentDefinition="Extensional" + Description="Driver's license issuing authority" + Extensibility="Closed" + Name="Driver's license issuing authority" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70447" ContentDefinition="Extensional" + Description="Breed Code" + Extensibility="Closed" + Name="Breed Code" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70529" ContentDefinition="Extensional" + Description="Precision" + Extensibility="Closed" + Name="Precision" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70529" DisplayName="second" Usage="P" Value="S"/> + <ValueElement CodeSystem="HL70529" DisplayName="day" Usage="P" Value="D"/> + <ValueElement CodeSystem="HL70529" DisplayName="hour" Usage="P" Value="H"/> + <ValueElement CodeSystem="HL70529" DisplayName="year" Usage="P" Value="Y"/> + <ValueElement CodeSystem="HL70529" DisplayName="month" Usage="P" Value="L"/> + <ValueElement CodeSystem="HL70529" DisplayName="minute" Usage="P" Value="M"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70339" ContentDefinition="Extensional" + Description="Advanced Beneficiary Notice Code" + Extensibility="Closed" + Name="Advanced Beneficiary Notice Code" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70339" + DisplayName="Patient has been informed of responsibility, and agrees to pay for service" + Usage="P" + Value="2"/> + <ValueElement CodeSystem="HL70339" + DisplayName="Advanced Beneficiary Notice has not been signed" + Usage="P" + Value="4"/> + <ValueElement CodeSystem="HL70339" + DisplayName="Patient has been informed of responsibility, and asks that the payer be billed" + Usage="P" + Value="3"/> + <ValueElement CodeSystem="HL70339" + DisplayName="Service is subject to medical necessity procedures" + Usage="P" + Value="1"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70009" ContentDefinition="Extensional" + Description="Ambulatory Status" + Extensibility="Closed" + Name="Ambulatory Status" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70009" DisplayName="Disoriented" Usage="P" Value="A4"/> + <ValueElement CodeSystem="HL70009" DisplayName="Oxygen therapy" Usage="P" Value="B1"/> + <ValueElement CodeSystem="HL70009" DisplayName="Functional level unknown" Usage="P" + Value="A9"/> + <ValueElement CodeSystem="HL70009" DisplayName="Wheelchair/stretcher bound" Usage="P" + Value="A2"/> + <ValueElement CodeSystem="HL70009" DisplayName="Speech impaired" Usage="P" Value="A7"/> + <ValueElement CodeSystem="HL70009" DisplayName="Amputee" Usage="P" Value="B3"/> + <ValueElement CodeSystem="HL70009" DisplayName="Pregnant" Usage="P" Value="B6"/> + <ValueElement CodeSystem="HL70009" DisplayName="Comatose; non-responsive" Usage="P" + Value="A3"/> + <ValueElement CodeSystem="HL70009" DisplayName="Hearing impaired" Usage="P" Value="A6"/> + <ValueElement CodeSystem="HL70009" DisplayName="Ambulates with assistive device" Usage="P" + Value="A1"/> + <ValueElement CodeSystem="HL70009" DisplayName="Special equipment (tubes, IVs, catheters)" + Usage="P" + Value="B2"/> + <ValueElement CodeSystem="HL70009" DisplayName="Vision impaired" Usage="P" Value="A5"/> + <ValueElement CodeSystem="HL70009" DisplayName="Non-English speaking" Usage="P" Value="A8"/> + <ValueElement CodeSystem="HL70009" DisplayName="Mastectomy" Usage="P" Value="B4"/> + <ValueElement CodeSystem="HL70009" DisplayName="No functional limitations" Usage="P" + Value="A0"/> + <ValueElement CodeSystem="HL70009" DisplayName="Paraplegic" Usage="P" Value="B5"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70200" ContentDefinition="Extensional" + Description="Name type" + Extensibility="Closed" + Name="Name type" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70200" DisplayName="Name at Birth" Usage="P" Value="B"/> + <ValueElement CodeSystem="HL70200" DisplayName="Adopted Name" Usage="P" Value="C"/> + <ValueElement CodeSystem="HL70200" DisplayName="Alias Name" Usage="P" Value="A"/> + <ValueElement CodeSystem="HL70200" DisplayName="Unspecified" Usage="P" Value="U"/> + <ValueElement CodeSystem="HL70200" DisplayName="Display Name" Usage="P" Value="D"/> + <ValueElement CodeSystem="HL70200" DisplayName="Licensing Name" Usage="P" Value="I"/> + <ValueElement CodeSystem="HL70200" DisplayName="Maiden Name" Usage="P" Value="M"/> + <ValueElement CodeSystem="HL70200" DisplayName="Legal Name" Usage="P" Value="L"/> + <ValueElement CodeSystem="HL70200" DisplayName="Registered Name (animals only)" Usage="P" + Value="R"/> + <ValueElement CodeSystem="HL70200" + DisplayName="Name of Partner/Spouse (retained for backward compatibility only)" + Usage="P" + Value="P"/> + <ValueElement CodeSystem="HL70200" DisplayName="Nickname /&#34;Call me&#34; Name/Street Name" + Usage="P" + Value="N"/> + <ValueElement CodeSystem="HL70200" DisplayName="Coded Pseudo-Name to ensure anonymity" + Usage="P" + Value="S"/> + <ValueElement CodeSystem="HL70200" DisplayName="Indigenous/Tribal/Community Name" Usage="P" + Value="T"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70363" ContentDefinition="Extensional" + Description="Assigning authority" + Extensibility="Closed" + Name="Assigning authority" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70007" ContentDefinition="Extensional" + Description="Admission Type" + Extensibility="Closed" + Name="Admission Type" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70007" DisplayName="Elective" Usage="P" Value="C"/> + <ValueElement CodeSystem="HL70007" DisplayName="Newborn (Birth in healthcare facility)" + Usage="P" + Value="N"/> + <ValueElement CodeSystem="HL70007" DisplayName="Labor and Delivery" Usage="P" Value="L"/> + <ValueElement CodeSystem="HL70007" DisplayName="Urgent" Usage="P" Value="U"/> + <ValueElement CodeSystem="HL70007" DisplayName="Routine" Usage="P" Value="R"/> + <ValueElement CodeSystem="HL70007" DisplayName="Emergency" Usage="P" Value="E"/> + <ValueElement CodeSystem="HL70007" DisplayName="Accident" Usage="P" Value="A"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70130" ContentDefinition="Extensional" + Description="Visit User Code" + Extensibility="Closed" + Name="Visit User Code" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70130" DisplayName="Teaching" Usage="P" Value="TE"/> + <ValueElement CodeSystem="HL70130" DisplayName="Home" Usage="P" Value="HO"/> + <ValueElement CodeSystem="HL70130" DisplayName="Mobile Unit" Usage="P" Value="MO"/> + <ValueElement CodeSystem="HL70130" DisplayName="Phone" Usage="P" Value="PH"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70360" ContentDefinition="Extensional" + Description="Degree/license/certificate" + Extensibility="Closed" + Name="Degree/license/certificate" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70360" DisplayName="Master of Divinity" Usage="P" Value="MDI"/> + <ValueElement CodeSystem="HL70360" DisplayName="Master of Engineering" Usage="P" Value="ME"/> + <ValueElement CodeSystem="HL70360" DisplayName="Registered Pharmacist" Usage="P" Value="RPH"/> + <ValueElement CodeSystem="HL70360" DisplayName="Master of Education" Usage="P" Value="MED"/> + <ValueElement CodeSystem="HL70360" DisplayName="Certified Medical Assistant" Usage="P" + Value="CMA"/> + <ValueElement CodeSystem="HL70360" DisplayName="Medical Assistant" Usage="P" Value="MDA"/> + <ValueElement CodeSystem="HL70360" DisplayName="Emergency Medical Technician" Usage="P" + Value="EMT"/> + <ValueElement CodeSystem="HL70360" DisplayName="Bachelor of Arts" Usage="P" Value="BA"/> + <ValueElement CodeSystem="HL70360" DisplayName="Doctor of Education" Usage="P" Value="DED"/> + <ValueElement CodeSystem="HL70360" DisplayName="Bachelor of Science" Usage="P" Value="BS"/> + <ValueElement CodeSystem="HL70360" DisplayName="Bachelor of Science - Law" Usage="P" + Value="BSL"/> + <ValueElement CodeSystem="HL70360" DisplayName="Bachelor of Theology" Usage="P" Value="BT"/> + <ValueElement CodeSystem="HL70360" DisplayName="Associate of Engineering" Usage="P" + Value="AE"/> + <ValueElement CodeSystem="HL70360" DisplayName="Non-Graduate" Usage="P" Value="NG"/> + <ValueElement CodeSystem="HL70360" DisplayName="Certified Pediatric Nurse Practitioner" + Usage="P" + Value="CPNP"/> + <ValueElement CodeSystem="HL70360" DisplayName="Master of Science - Nursing" Usage="P" + Value="MSN"/> + <ValueElement CodeSystem="HL70360" DisplayName="Bachelor of Nursing" Usage="P" Value="BN"/> + <ValueElement CodeSystem="HL70360" DisplayName="Family Practice Nurse Practitioner" Usage="P" + Value="FPNP"/> + <ValueElement CodeSystem="HL70360" DisplayName="Doctor of Business Administration" Usage="P" + Value="DBA"/> + <ValueElement CodeSystem="HL70360" DisplayName="Trade School Graduate" Usage="P" Value="TS"/> + <ValueElement CodeSystem="HL70360" DisplayName="Certified Registered Nurse" Usage="P" + Value="CRN"/> + <ValueElement CodeSystem="HL70360" DisplayName="Bachelor of Business Administration" + Usage="P" + Value="BBA"/> + <ValueElement CodeSystem="HL70360" DisplayName="Doctor of Engineering" Usage="P" Value="PHE"/> + <ValueElement CodeSystem="HL70360" DisplayName="Master of Electrical Engineering" Usage="P" + Value="MEE"/> + <ValueElement CodeSystem="HL70360" DisplayName="Master of Civil Engineering" Usage="P" + Value="MCE"/> + <ValueElement CodeSystem="HL70360" DisplayName="Doctor of Philosophy" Usage="P" Value="PHD"/> + <ValueElement CodeSystem="HL70360" DisplayName="Associate of Business Administration" + Usage="P" + Value="ABA"/> + <ValueElement CodeSystem="HL70360" DisplayName="Certificate" Usage="P" Value="CER"/> + <ValueElement CodeSystem="HL70360" DisplayName="Certified Nurse Midwife" Usage="P" + Value="CNM"/> + <ValueElement CodeSystem="HL70360" DisplayName="Certified Adult Nurse Practitioner" Usage="P" + Value="CANP"/> + <ValueElement CodeSystem="HL70360" DisplayName="Doctor of Medicine" Usage="P" Value="MD"/> + <ValueElement CodeSystem="HL70360" DisplayName="High School Graduate" Usage="P" Value="HS"/> + <ValueElement CodeSystem="HL70360" DisplayName="Bachelor on Science - Nursing" Usage="P" + Value="BSN"/> + <ValueElement CodeSystem="HL70360" DisplayName="Certified Nurse Practitioner" Usage="P" + Value="CNP"/> + <ValueElement CodeSystem="HL70360" DisplayName="Master of Science" Usage="P" Value="MS"/> + <ValueElement CodeSystem="HL70360" DisplayName="Bachelor or Engineering" Usage="P" Value="BE"/> + <ValueElement CodeSystem="HL70360" DisplayName="Doctor of Pharmacy" Usage="P" Value="PharmD"/> + <ValueElement CodeSystem="HL70360" DisplayName="Certified Nurse Specialist" Usage="P" + Value="CNS"/> + <ValueElement CodeSystem="HL70360" DisplayName="Master of Mechanical Engineering" Usage="P" + Value="MME"/> + <ValueElement CodeSystem="HL70360" DisplayName="Doctor of Science" Usage="P" Value="PHS"/> + <ValueElement CodeSystem="HL70360" DisplayName="Advanced Practice Nurse" Usage="P" Value="PN"/> + <ValueElement CodeSystem="HL70360" DisplayName="Associate of Applied Science" Usage="P" + Value="AAS"/> + <ValueElement CodeSystem="HL70360" DisplayName="Bachelor of Fine Arts" Usage="P" Value="BFA"/> + <ValueElement CodeSystem="HL70360" DisplayName="Emergency Medical Technician - Paramedic" + Usage="P" + Value="EMTP"/> + <ValueElement CodeSystem="HL70360" DisplayName="Master of Fine Arts" Usage="P" Value="MFA"/> + <ValueElement CodeSystem="HL70360" DisplayName="Associate of Science" Usage="P" Value="AS"/> + <ValueElement CodeSystem="HL70360" DisplayName="Associate of Arts" Usage="P" Value="AA"/> + <ValueElement CodeSystem="HL70360" DisplayName="Master of Science - Law" Usage="P" + Value="MSL"/> + <ValueElement CodeSystem="HL70360" DisplayName="Nurse Practitioner" Usage="P" Value="NP"/> + <ValueElement CodeSystem="HL70360" DisplayName="Registered Medical Assistant" Usage="P" + Value="RMA"/> + <ValueElement CodeSystem="HL70360" DisplayName="Diploma" Usage="P" Value="DIP"/> + <ValueElement CodeSystem="HL70360" DisplayName="Juris Doctor" Usage="P" Value="JD"/> + <ValueElement CodeSystem="HL70360" DisplayName="Master of Arts" Usage="P" Value="MA"/> + <ValueElement CodeSystem="HL70360" DisplayName="Physician Assistant" Usage="P" Value="PA"/> + <ValueElement CodeSystem="HL70360" DisplayName="Master of Theology" Usage="P" Value="MT"/> + <ValueElement CodeSystem="HL70360" DisplayName="Doctor of Osteopathy" Usage="P" Value="DO"/> + <ValueElement CodeSystem="HL70360" DisplayName="Master of Business Administration" Usage="P" + Value="MBA"/> + <ValueElement CodeSystem="HL70360" DisplayName="Secretarial Certificate" Usage="P" + Value="SEC"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70338" ContentDefinition="Extensional" + Description="Practitioner ID number type" + Extensibility="Closed" + Name="Practitioner ID number type" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70338" DisplayName="Medicare number" Usage="P" Value="MCR"/> + <ValueElement CodeSystem="HL70338" DisplayName="State license number" Usage="P" Value="SL"/> + <ValueElement CodeSystem="HL70338" DisplayName="QA number" Usage="P" Value="QA"/> + <ValueElement CodeSystem="HL70338" DisplayName="Training license number" Usage="P" + Value="TRL"/> + <ValueElement CodeSystem="HL70338" DisplayName="Unique physician ID no." Usage="P" + Value="UPIN"/> + <ValueElement CodeSystem="HL70338" DisplayName="County number" Usage="P" Value="CY"/> + <ValueElement CodeSystem="HL70338" DisplayName="Drug Enforcement Agency no." Usage="P" + Value="DEA"/> + <ValueElement CodeSystem="HL70338" DisplayName="General ledger number" Usage="P" Value="GL"/> + <ValueElement CodeSystem="HL70338" DisplayName="Labor and industries number" Usage="P" + Value="L&amp;I"/> + <ValueElement CodeSystem="HL70338" DisplayName="Labor and industries number" Usage="P" + Value="LI"/> + <ValueElement CodeSystem="HL70338" DisplayName="Medicaid number" Usage="P" Value="MCD"/> + <ValueElement CodeSystem="HL70338" DisplayName="Tax ID number" Usage="P" Value="TAX"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70340" ContentDefinition="Extensional" + Description="Procedure code modifier" + Extensibility="Closed" + Name="Procedure code modifier" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70172" ContentDefinition="Extensional" + Description="Veterans Military Status" + Extensibility="Closed" + Name="Veterans Military Status" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70044" ContentDefinition="Extensional" + Description="Contract Code" + Extensibility="Closed" + Name="Contract Code" + Stability="Static" + Version="2.5.1"/> + <ValueSetDefinition BindingIdentifier="HL70427" ContentDefinition="Extensional" + Description="Risk Management Incident Code" + Extensibility="Closed" + Name="Risk Management Incident Code" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70427" DisplayName="Other" Usage="P" Value="O"/> + <ValueElement CodeSystem="HL70427" DisplayName="Body fluid exposure" Usage="P" Value="B"/> + <ValueElement CodeSystem="HL70427" DisplayName="Diet Errors" Usage="P" Value="D"/> + <ValueElement CodeSystem="HL70427" DisplayName="Transfusion error" Usage="P" Value="T"/> + <ValueElement CodeSystem="HL70427" DisplayName="Suicide Attempt" Usage="P" Value="S"/> + <ValueElement CodeSystem="HL70427" DisplayName="Patient fell (not from bed)" Usage="P" + Value="F"/> + <ValueElement CodeSystem="HL70427" DisplayName="Sterile precaution violated" Usage="P" + Value="K"/> + <ValueElement CodeSystem="HL70427" DisplayName="Infusion error" Usage="P" Value="I"/> + <ValueElement CodeSystem="HL70427" DisplayName="Procedure error" Usage="P" Value="P"/> + <ValueElement CodeSystem="HL70427" DisplayName="Patient fell from bed" Usage="P" Value="H"/> + <ValueElement CodeSystem="HL70427" DisplayName="Pharmaceutical error" Usage="P" Value="R"/> + <ValueElement CodeSystem="HL70427" DisplayName="Contaminated Substance" Usage="P" Value="C"/> + <ValueElement CodeSystem="HL70427" DisplayName="Equipment problem" Usage="P" Value="E"/> + <ValueElement CodeSystem="HL70427" DisplayName="Foreign object left during surgery" Usage="P" + Value="J"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70004" ContentDefinition="Extensional" + Description="Patient Class" + Extensibility="Closed" + Name="Patient Class" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70004" DisplayName="Obstetrics" Usage="P" Value="B"/> + <ValueElement CodeSystem="HL70004" DisplayName="Commercial Account" Usage="P" Value="C"/> + <ValueElement CodeSystem="HL70004" DisplayName="Preadmit" Usage="P" Value="P"/> + <ValueElement CodeSystem="HL70004" DisplayName="Outpatient" Usage="P" Value="O"/> + <ValueElement CodeSystem="HL70004" DisplayName="Recurring patient" Usage="P" Value="R"/> + <ValueElement CodeSystem="HL70004" DisplayName="Emergency" Usage="P" Value="E"/> + <ValueElement CodeSystem="HL70004" DisplayName="Not Applicable" Usage="P" Value="N"/> + <ValueElement CodeSystem="HL70004" DisplayName="Inpatient" Usage="P" Value="I"/> + <ValueElement CodeSystem="HL70004" DisplayName="Unknown" Usage="P" Value="U"/> + </ValueSetDefinition> + </ValueSetDefinitions> + <ValueSetDefinitions Group="HL7_Profile" Order="2"> + <ValueSetDefinition BindingIdentifier="HL70125NIH" ContentDefinition="Extensional" + Description="Value type" + Extensibility="Closed" + Name="Value type" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70125" DisplayName="Formatted Text (Display)" Usage="P" + Value="FT"/> + <ValueElement CodeSystem="HL70125" DisplayName="Coded with Exceptions" Usage="P" Value="CWE"/> + <ValueElement CodeSystem="HL70125" DisplayName="Extended Person Name" Usage="P" Value="XPN"/> + <ValueElement CodeSystem="HL70125" DisplayName="Extended Telecommunications Number" Usage="P" + Value="XTN"/> + <ValueElement CodeSystem="HL70125" DisplayName="Composite Price" Usage="P" Value="CP"/> + <ValueElement CodeSystem="HL70125" DisplayName="Extended Composite ID With Check Digit" + Usage="P" + Value="CX"/> + <ValueElement CodeSystem="HL70125" DisplayName="Address" Usage="P" Value="AD"/> + <ValueElement CodeSystem="HL70125" DisplayName="Money" Usage="P" Value="MO"/> + <ValueElement CodeSystem="HL70125" DisplayName="Extended Address" Usage="P" Value="XAD"/> + <ValueElement CodeSystem="HL70125" + DisplayName="Extended Composite Name And Number For Organizations" + Usage="P" + Value="XON"/> + <ValueElement CodeSystem="HL70125" DisplayName="Coded Entry" Usage="P" Value="CE"/> + <ValueElement CodeSystem="HL70125" DisplayName="Structured Numeric" Usage="P" Value="SN"/> + <ValueElement CodeSystem="HL70125" DisplayName="Encapsulated Data" Usage="P" Value="ED"/> + <ValueElement CodeSystem="HL70125" DisplayName="String Data." Usage="P" Value="ST"/> + <ValueElement CodeSystem="HL70125" DisplayName="Time" Usage="P" Value="TM"/> + <ValueElement CodeSystem="HL70125" DisplayName="Coded Element With Formatted Values" + Usage="P" + Value="CF"/> + <ValueElement CodeSystem="HL70125" DisplayName="Date" Usage="P" Value="DT"/> + <ValueElement CodeSystem="HL70125" DisplayName="Numeric" Usage="P" Value="NM"/> + <ValueElement CodeSystem="HL70125" DisplayName="Reference Pointer" Usage="P" Value="RP"/> + <ValueElement CodeSystem="HL70125" DisplayName="Time Stamp (Date &amp; Time)" Usage="P" + Value="TS"/> + <ValueElement CodeSystem="HL70125" DisplayName="Text Data (Display)" Usage="P" Value="TX"/> + <ValueElement CodeSystem="HL70125" + DisplayName="Extended Composite Name And Number For Persons" + Usage="P" + Value="XCN"/> + </ValueSetDefinition> + <ValueSetDefinition BindingIdentifier="HL70301NIH" ContentDefinition="Extensional" + Description="Universal ID type" + Extensibility="Closed" + Name="Universal ID type" + Stability="Static" + Version="2.5.1"> + <ValueElement CodeSystem="HL70301" DisplayName="HL7 registration schemes" Usage="P" + Value="HL7"/> + <ValueElement CodeSystem="HL70301" DisplayName="Universal Unique Identifier" Usage="P" + Value="UUID"/> + <ValueElement CodeSystem="HL70301" DisplayName="globally unique identifier" Usage="P" + Value="GUID"/> + <ValueElement CodeSystem="HL70301" DisplayName="Uniform Resource Identifier" Usage="P" + Value="URI"/> + <ValueElement CodeSystem="HL70301" DisplayName="Clinical Laboratory Improvement Amendments" + Usage="P" + Value="CLIA"/> + <ValueElement CodeSystem="HL70301" DisplayName="Local" Usage="P" Value="N"/> + <ValueElement CodeSystem="HL70301" DisplayName="Random" Usage="P" Value="Random"/> + <ValueElement CodeSystem="HL70301" DisplayName="Domain Name System" Usage="P" Value="DNS"/> + <ValueElement CodeSystem="HL70301" DisplayName="Local" Usage="P" Value="L"/> + <ValueElement CodeSystem="HL70301" + DisplayName="Clinical laboratory Improvement Program. Used by US Department of Defense." + Usage="P" + Value="CLIP"/> + <ValueElement CodeSystem="HL70301" DisplayName="ISO Object Identifier" Usage="P" Value="ISO"/> + <ValueElement CodeSystem="HL70301" DisplayName="CEN Healthcare Coding Identifier" Usage="P" + Value="HCD"/> + <ValueElement CodeSystem="HL70301" DisplayName="X.400 MHS identifier" Usage="P" Value="x400"/> + <ValueElement CodeSystem="HL70301" DisplayName="X500 directory Name" Usage="P" Value="x500"/> + <ValueElement CodeSystem="HL70301" DisplayName="Local" Usage="P" Value="M"/> + </ValueSetDefinition> + </ValueSetDefinitions> </ValueSetLibrary> \ No newline at end of file diff --git a/prime-router/src/test/kotlin/ReceiverTests.kt b/prime-router/src/test/kotlin/ReceiverTests.kt index 084dc7059d2..a1933b36fc9 100644 --- a/prime-router/src/test/kotlin/ReceiverTests.kt +++ b/prime-router/src/test/kotlin/ReceiverTests.kt @@ -3,6 +3,7 @@ package gov.cdc.prime.router import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isFalse +import assertk.assertions.isNotEqualTo import assertk.assertions.isNull import assertk.assertions.isTrue import gov.cdc.prime.router.unittest.UnitTestUtils @@ -273,4 +274,11 @@ internal class ReceiverTests { val receiver = Receiver("elr", "IGNORE", Topic.COVID_19, CustomerStatus.INACTIVE, translatorConfig) assertThat(receiver.transportType.type).isEqualTo("NULL") } + + @Test + fun `test MAJURO receiver timezone`() { + val shouldWork1 = + ZonedDateTime.of(2024, 12, 20, 0, 0, 0, 0, ZoneId.of(USTimeZone.MAJURO.zoneId)).toOffsetDateTime() + assertThat(shouldWork1).isNotEqualTo("2024-12-20T00:00+12:00") + } } \ No newline at end of file diff --git a/prime-router/src/test/kotlin/azure/BlobAccessTests.kt b/prime-router/src/test/kotlin/azure/BlobAccessTests.kt index bdda5a8abdd..11a3a4d52b2 100644 --- a/prime-router/src/test/kotlin/azure/BlobAccessTests.kt +++ b/prime-router/src/test/kotlin/azure/BlobAccessTests.kt @@ -704,38 +704,6 @@ class BlobAccessTests { assertThat(resultBinaryData.toString()).isEqualTo(expectedResult) } - @Test - fun `copy blob`() { - mockkClass(BlobAccess::class) - mockkObject(BlobAccess.Companion) - every { BlobAccess.Companion.getBlobConnection(any()) } returns "testconnection" - - val testUrl = "http://testurl/testfile" - val testFile = BlobAccess.BlobInfo.getBlobFilename(testUrl) - val testBlobMetadata = BlobAccess.BlobContainerMetadata.build("testcontainer", "testenvvar") - - every { BlobAccess.Companion.downloadBlobAsByteArray(testUrl) }.returns("testblob".toByteArray()) - every { - BlobAccess.Companion.uploadBlob( - testFile, - "testblob".toByteArray(), - testBlobMetadata - ) - }.returns("http://testurl2") - - val result = BlobAccess.copyBlob(testUrl, testBlobMetadata) - - verify(exactly = 1) { BlobAccess.Companion.downloadBlobAsByteArray(testUrl, any(), any()) } - verify(exactly = 1) { - BlobAccess.Companion.uploadBlob( - testFile, - "testblob".toByteArray(), - testBlobMetadata - ) - } - assertThat(result).isEqualTo("http://testurl2") - } - @Test fun `delete blob`() { val testUrl = "http://deleteblob" diff --git a/prime-router/src/test/kotlin/azure/ReportFunctionTests.kt b/prime-router/src/test/kotlin/azure/ReportFunctionTests.kt index a1f9de7b660..9a286522c15 100644 --- a/prime-router/src/test/kotlin/azure/ReportFunctionTests.kt +++ b/prime-router/src/test/kotlin/azure/ReportFunctionTests.kt @@ -42,9 +42,9 @@ import gov.cdc.prime.router.azure.db.enums.TaskAction import gov.cdc.prime.router.azure.db.tables.pojos.Action import gov.cdc.prime.router.azure.db.tables.pojos.ReportFile import gov.cdc.prime.router.azure.observability.event.ReportStreamEventService -import gov.cdc.prime.router.cli.GetMultipleSettings import gov.cdc.prime.router.cli.PIIRemovalCommands import gov.cdc.prime.router.cli.ProcessFhirCommands +import gov.cdc.prime.router.common.Environment import gov.cdc.prime.router.history.DetailedSubmissionHistory import gov.cdc.prime.router.history.azure.SubmissionsFacade import gov.cdc.prime.router.serializers.Hl7Serializer @@ -1103,33 +1103,51 @@ class ReportFunctionTests { assertThrows<CliktError> { ProcessFhirCommands().processFhirDataRequest( file, - "local", + Environment.get("staging"), "full-elr", "me-phd", "classpath:/metadata/fhir_transforms/senders/SimpleReport/simple-report-sender-transform.yml", - false + false, + "" ) } file.delete() } @Test - fun `processFhirDataRequest no environment, receiver name, or org name and output format blank`() { + fun `processFhirDataRequest receiver name, or org name and output format blank`() { val file = File("filename.txt") file.createNewFile() assertThrows<CliktError> { ProcessFhirCommands().processFhirDataRequest( file, - "", + Environment.get("local"), "", "", "classpath:/metadata/fhir_transforms/senders/SimpleReport/simple-report-sender-transform.yml", - false + false, + "" ) } file.delete() } + @Test + fun `processFhirDataRequest nonCLI request in staging without access token should fail`() { + val file = File("src/testIntegration/resources/datatests/FHIR_to_HL7/sample_ME_20240806-0001.fhir") + assertThrows<CliktError> { + ProcessFhirCommands().processFhirDataRequest( + file, + Environment.get("staging"), + "full-elr", + "me-phd", + "classpath:/metadata/fhir_transforms/senders/SimpleReport/simple-report-sender-transform.yml", + false, + "" + ) + } + } + @Suppress("ktlint:standard:max-line-length") val jurisdictionalFilter: ReportStreamFilter = listOf("(Bundle.entry.resource.ofType(ServiceRequest)[0].requester.resolve().organization.resolve().address.state = 'ME') or (Bundle.entry.resource.ofType(Patient).address.state = 'ME')") @@ -1190,23 +1208,6 @@ class ReportFunctionTests { qualityFilter ) - @Test - fun getReceiver() { - val file = File("filename.txt") - file.createNewFile() - val getMultipleSettings = mockkClass(GetMultipleSettings::class) - every { getMultipleSettings.getAll(any(), any(), "me-phd", true) } returns - listOf(DeepOrganization(organization, listOf(sender), listOf(receiver))) - val receiverReturned = ProcessFhirCommands().getReceiver( - "local", - "full-elr", - "me-phd", - getMultipleSettings, - false - ) - assert(receiverReturned!!.name == receiver.name) - } - @Test fun `return ack if requested and enabled`() { val mockEngine = mockk<WorkflowEngine>() diff --git a/prime-router/src/test/kotlin/azure/SenderFunctionTest.kt b/prime-router/src/test/kotlin/azure/SenderFunctionTest.kt new file mode 100644 index 00000000000..2e5845dbe72 --- /dev/null +++ b/prime-router/src/test/kotlin/azure/SenderFunctionTest.kt @@ -0,0 +1,292 @@ +package gov.cdc.prime.router.azure + +import com.microsoft.azure.functions.HttpStatus +import gov.cdc.prime.router.CustomerStatus +import gov.cdc.prime.router.DeepOrganization +import gov.cdc.prime.router.FileSettings +import gov.cdc.prime.router.Metadata +import gov.cdc.prime.router.MimeFormat +import gov.cdc.prime.router.Organization +import gov.cdc.prime.router.Receiver +import gov.cdc.prime.router.SettingsProvider +import gov.cdc.prime.router.Topic +import gov.cdc.prime.router.UniversalPipelineSender +import gov.cdc.prime.router.azure.db.enums.TaskAction +import gov.cdc.prime.router.cli.LookupTableCompareMappingCommand +import gov.cdc.prime.router.metadata.LookupTable +import gov.cdc.prime.router.metadata.ObservationMappingConstants +import gov.cdc.prime.router.serializers.Hl7Serializer +import gov.cdc.prime.router.tokens.AuthenticatedClaims +import gov.cdc.prime.router.unittest.UnitTestUtils +import io.mockk.clearAllMocks +import io.mockk.every +import io.mockk.mockk +import io.mockk.mockkClass +import io.mockk.mockkObject +import io.mockk.spyk +import org.jooq.tools.jdbc.MockConnection +import org.jooq.tools.jdbc.MockDataProvider +import org.jooq.tools.jdbc.MockResult +import org.junit.jupiter.api.BeforeEach +import org.junit.jupiter.api.Test +import kotlin.test.assertEquals + +class SenderFunctionTest { + val dataProvider = MockDataProvider { emptyArray<MockResult>() } + val connection = MockConnection(dataProvider) + val accessSpy = spyk(DatabaseAccess(connection)) + val metadata = UnitTestUtils.simpleMetadata + val settings = mockkClass(SettingsProvider::class) + val blobMock = mockkClass(BlobAccess::class) + private val serializer = spyk(Hl7Serializer(metadata, settings)) + private val queueMock = mockkClass(QueueAccess::class) + private val timing1 = mockkClass(Receiver.Timing::class) + + val REQ_BODY_TEST_CSV = "test code,test description,coding system\n" + + "97097-0,SARS-CoV-2 (COVID-19) Ag [Presence] in Upper respiratory specimen by Rapid immunoassay,LOINC\n" + + "80382-5,Influenza virus A Ag [Presence] in Upper respiratory specimen by Rapid immunoassay,LOINC\n" + + "12345,Flu B,LOCAL" + + val testOrganization = DeepOrganization( + "phd", + "test", + Organization.Jurisdiction.FEDERAL, + receivers = listOf( + Receiver( + "elr", + "phd", + Topic.TEST, + CustomerStatus.INACTIVE, + "one", + timing = timing1 + ) + ) + ) + + private fun makeEngine(metadata: Metadata, settings: SettingsProvider): WorkflowEngine = spyk( + WorkflowEngine.Builder().metadata(metadata).settingsProvider(settings).databaseAccess(accessSpy) + .blobAccess(blobMock).queueAccess(queueMock).hl7Serializer(serializer).build() + ) + + @BeforeEach + fun reset() { + clearAllMocks() + + // setup + every { timing1.isValid() } returns true + every { timing1.numberPerDay } returns 1 + every { timing1.maxReportCount } returns 1 + every { timing1.whenEmpty } returns Receiver.WhenEmpty() + } + + @Test + fun `test SenderFunction conditionCodeComparisonPostRequest ok`() { + val metadata = UnitTestUtils.simpleMetadata + val settings = FileSettings().loadOrganizations(testOrganization) + val sender = UniversalPipelineSender( + name = "Test Sender", + organizationName = "testOrganization", + format = MimeFormat.HL7, + topic = Topic.FULL_ELR + ) + + val workflowEngine = makeEngine(metadata, settings) + val actionHistory = spyk(ActionHistory(TaskAction.receive)) + val senderFunction = spyk(SenderFunction(workflowEngine, actionHistory)) + + val testRequest = MockHttpRequestMessage(REQ_BODY_TEST_CSV) + + every { workflowEngine.settings.findSender("Test Sender") } returns sender + + mockkObject(AuthenticatedClaims) + val mockClaims = mockk<AuthenticatedClaims>() + every { AuthenticatedClaims.authenticate(any()) } returns mockClaims + every { mockClaims.authorizedForSendOrReceive(any(), any()) } returns true + + metadata.lookupTableStore += mapOf( + "observation-mapping" to LookupTable( + "observation-mapping", + listOf( + listOf( + ObservationMappingConstants.TEST_CODE_KEY, + ObservationMappingConstants.CONDITION_CODE_KEY, + ObservationMappingConstants.CONDITION_CODE_SYSTEM_KEY, + ObservationMappingConstants.CONDITION_NAME_KEY + ), + listOf( + "00001", + "Some Condition Code", + "Condition Code System", + "Condition Name" + ) + ) + ) + ) + + val codeToConditionMapping = listOf( + mapOf( + "test code" to "00001", + "test description" to "test description 1", + "coding system" to "Condition Code System", + "mapped?" to "Y" + ), + mapOf( + "test code" to "00002", + "test description" to "test description 2", + "coding system" to "Another Condition Code System", + "mapped?" to "N" + ) + ) + mockkObject(LookupTableCompareMappingCommand) + every { + LookupTableCompareMappingCommand.compareMappings(any(), any()) + } returns codeToConditionMapping + + testRequest.httpHeaders += mapOf( + "client" to "Test Sender", + "content-length" to "4" + ) + + val response = senderFunction.conditionCodeComparisonPostRequest(testRequest) + + assertEquals(HttpStatus.OK, response.status) + } + + @Test + fun `test SenderFunction conditionCodeComparisonPostRequest with no sender`() { + val metadata = UnitTestUtils.simpleMetadata + val settings = FileSettings().loadOrganizations(testOrganization) + + val workflowEngine = makeEngine(metadata, settings) + val actionHistory = spyk(ActionHistory(TaskAction.receive)) + val senderFunction = spyk(SenderFunction(workflowEngine, actionHistory)) + + val testRequest = MockHttpRequestMessage(REQ_BODY_TEST_CSV) + + testRequest.httpHeaders += mapOf( + "content-length" to "4" + ) + + val response = senderFunction.conditionCodeComparisonPostRequest(testRequest) + + assertEquals(HttpStatus.BAD_REQUEST, response.status) + } + + @Test + fun `test SenderFunction conditionCodeComparisonPostRequest with bad sender`() { + val metadata = UnitTestUtils.simpleMetadata + val settings = FileSettings().loadOrganizations(testOrganization) + + val workflowEngine = makeEngine(metadata, settings) + val actionHistory = spyk(ActionHistory(TaskAction.receive)) + val senderFunction = spyk(SenderFunction(workflowEngine, actionHistory)) + + val testRequest = MockHttpRequestMessage(REQ_BODY_TEST_CSV) + + every { workflowEngine.settings.findSender("Test sender") } returns null + + mockkObject(AuthenticatedClaims) + val mockClaims = mockk<AuthenticatedClaims>() + every { AuthenticatedClaims.authenticate(any()) } returns mockClaims + + testRequest.httpHeaders += mapOf( + "client" to "Test sender", + "content-length" to "4" + ) + + val response = senderFunction.conditionCodeComparisonPostRequest(testRequest) + + assertEquals(HttpStatus.BAD_REQUEST, response.status) + } + + @Test + fun `test SenderFunction conditionCodeComparisonPostRequest with unauthenticated sender`() { + val metadata = UnitTestUtils.simpleMetadata + val settings = FileSettings().loadOrganizations(testOrganization) + + val workflowEngine = makeEngine(metadata, settings) + val actionHistory = spyk(ActionHistory(TaskAction.receive)) + val senderFunction = spyk(SenderFunction(workflowEngine, actionHistory)) + + val testRequest = MockHttpRequestMessage(REQ_BODY_TEST_CSV) + + every { workflowEngine.settings.findSender("Test sender") } returns null + + mockkObject(AuthenticatedClaims) + every { AuthenticatedClaims.authenticate(any()) } returns null + + testRequest.httpHeaders += mapOf( + "client" to "Test sender", + "content-length" to "4" + ) + + val response = senderFunction.conditionCodeComparisonPostRequest(testRequest) + + assertEquals(HttpStatus.UNAUTHORIZED, response.status) + } + + @Test + fun `test SenderFunction conditionCodeComparisonPostRequest with unauthorized sender`() { + val metadata = UnitTestUtils.simpleMetadata + val settings = FileSettings().loadOrganizations(testOrganization) + val sender = UniversalPipelineSender( + name = "Test Sender", + organizationName = "testOrganization", + format = MimeFormat.HL7, + topic = Topic.FULL_ELR + ) + + val workflowEngine = makeEngine(metadata, settings) + val actionHistory = spyk(ActionHistory(TaskAction.receive)) + val senderFunction = spyk(SenderFunction(workflowEngine, actionHistory)) + + val testRequest = MockHttpRequestMessage(REQ_BODY_TEST_CSV) + + every { workflowEngine.settings.findSender("Test sender") } returns sender + + mockkObject(AuthenticatedClaims) + val mockClaims = mockk<AuthenticatedClaims>() + every { AuthenticatedClaims.authenticate(any()) } returns mockClaims + every { mockClaims.authorizedForSendOrReceive(any(), any()) } returns false + + testRequest.httpHeaders += mapOf( + "client" to "Test sender", + "content-length" to "4" + ) + + val response = senderFunction.conditionCodeComparisonPostRequest(testRequest) + + assertEquals(HttpStatus.UNAUTHORIZED, response.status) + } + + @Test + fun `test SenderFunction conditionCodeComparisonPostRequest exception error`() { + val metadata = UnitTestUtils.simpleMetadata + val settings = FileSettings().loadOrganizations(testOrganization) + val sender = UniversalPipelineSender( + name = "Test Sender", + organizationName = "testOrganization", + format = MimeFormat.HL7, + topic = Topic.FULL_ELR + ) + + val workflowEngine = makeEngine(metadata, settings) + val actionHistory = spyk(ActionHistory(TaskAction.receive)) + val senderFunction = spyk(SenderFunction(workflowEngine, actionHistory)) + + val testRequest = MockHttpRequestMessage(REQ_BODY_TEST_CSV) + + every { workflowEngine.settings.findSender("Test sender") } returns sender + mockkObject(LookupTableCompareMappingCommand) + every { LookupTableCompareMappingCommand.compareMappings(any(), any()) }.throws(Exception()) + + testRequest.httpHeaders += mapOf( + "client" to "Test sender", + "content-length" to "4" + ) + + val response = senderFunction.conditionCodeComparisonPostRequest(testRequest) + + assertEquals(HttpStatus.INTERNAL_SERVER_ERROR, response.status) + } +} \ No newline at end of file diff --git a/prime-router/src/test/kotlin/azure/observability/bundleDigest/FhirPathBundleDigestExtractorStrategyTests.kt b/prime-router/src/test/kotlin/azure/observability/bundleDigest/FhirPathBundleDigestExtractorStrategyTests.kt index 34b84489383..826cd4146f0 100644 --- a/prime-router/src/test/kotlin/azure/observability/bundleDigest/FhirPathBundleDigestExtractorStrategyTests.kt +++ b/prime-router/src/test/kotlin/azure/observability/bundleDigest/FhirPathBundleDigestExtractorStrategyTests.kt @@ -3,7 +3,7 @@ package gov.cdc.prime.router.azure.observability.bundleDigest import assertk.assertThat import assertk.assertions.isDataClassEqualTo import fhirengine.engine.CustomFhirPathFunctions -import gov.cdc.prime.router.azure.ConditionStamper.Companion.conditionCodeExtensionURL +import gov.cdc.prime.router.azure.ConditionStamper.Companion.CONDITION_CODE_EXTENSION_URL import gov.cdc.prime.router.azure.observability.event.CodeSummary import gov.cdc.prime.router.azure.observability.event.ObservationSummary import gov.cdc.prime.router.azure.observability.event.TestSummary @@ -152,7 +152,7 @@ class FhirPathBundleDigestExtractorStrategyTests { val observation = Observation() val coding = Coding() val extension = Extension() - extension.url = conditionCodeExtensionURL + extension.url = CONDITION_CODE_EXTENSION_URL extension.setValue(Coding()) coding.extension = listOf(extension) observation.code.coding = listOf(coding) diff --git a/prime-router/src/test/kotlin/cli/helpers/HL7DiffHelperTests.kt b/prime-router/src/test/kotlin/cli/helpers/HL7DiffHelperTests.kt index f17ab0631d3..07e2b485888 100644 --- a/prime-router/src/test/kotlin/cli/helpers/HL7DiffHelperTests.kt +++ b/prime-router/src/test/kotlin/cli/helpers/HL7DiffHelperTests.kt @@ -11,13 +11,12 @@ import ca.uhn.hl7v2.model.Varies import ca.uhn.hl7v2.model.v27.datatype.ID import ca.uhn.hl7v2.model.v27.datatype.NM import ca.uhn.hl7v2.model.v27.datatype.ST -import ca.uhn.hl7v2.model.v27.message.ORU_R01 -import gov.cdc.prime.router.ActionLogger +import fhirengine.translation.hl7.structures.fhirinventory.message.ORU_R01 import gov.cdc.prime.router.fhirengine.utils.HL7Reader import kotlin.test.Test class HL7DiffHelperTests { - private val hL7DiffHelper = HL7DiffHelper() + private val hl7DiffHelper = HL7DiffHelper() private val originalMessage = "MSH|^~\\&#|STARLIMS.CDC.Stag^2.16.840.1.114222.4.3.3.2.1.2^ISO|CDC Atlanta2^" + "11D0668319^CLIA|MEDSS-ELR ^2.16.840.1.114222.4.3.3.6.2.1^ISO|MNDOH^2.16.840.1.114222.4.1.3661^ISO|" + "20230501102531-0400||ORU^R01^ORU_R01|3003786103_4988249_33033|T|2.5.1|||NE|NE|USA||||" + @@ -107,25 +106,21 @@ OBR|1||232270000212^ProPhase Diagnostics^2.16.840.1.114222.4.1.238646^ISO|55454- @Test fun `diff hl7`() { - val actionLogger = ActionLogger() - val hl7Reader = HL7Reader(actionLogger) - val inputMessage = hl7Reader.getMessages(originalMessage) - val outputMessage = hl7Reader.getMessages(comparisonMessage) - val differences = hL7DiffHelper.diffHl7(inputMessage[0], outputMessage[0]) + val inputMessage = HL7Reader.parseHL7Message(originalMessage) + val outputMessage = HL7Reader.parseHL7Message(comparisonMessage) + val differences = hl7DiffHelper.diffHl7(inputMessage, outputMessage) assertThat(differences.size).isEqualTo(15) - val differences2 = hL7DiffHelper.diffHl7(outputMessage[0], inputMessage[0]) + val differences2 = hl7DiffHelper.diffHl7(outputMessage, inputMessage) assertThat(differences2.size).isEqualTo(15) } @Test fun `test index structure`() { - val actionLogger = ActionLogger() - val hl7Reader = HL7Reader(actionLogger) - val outputMessage = hl7Reader.getMessages(comparisonMessage) - val outputNames = outputMessage[0].names + val outputMessage = HL7Reader.parseHL7Message(comparisonMessage) + val outputNames = outputMessage.names val outputMap: MutableMap<String, Segment> = mutableMapOf() - hL7DiffHelper.filterNames(outputMessage[0], outputNames, outputMap) + hl7DiffHelper.filterNames(outputMessage, outputNames, outputMap) assertThat(outputMap.size).isEqualTo(9) assertThat( @@ -138,16 +133,14 @@ OBR|1||232270000212^ProPhase Diagnostics^2.16.840.1.114222.4.1.238646^ISO|55454- @Test fun `test compareHl7Type primitive`() { - val actionLogger = ActionLogger() - val hl7Reader = HL7Reader(actionLogger) - val inputMessage = hl7Reader.getMessages(originalMessage) - val outputMessage = hl7Reader.getMessages(comparisonMessage) - val inputVal = ST(inputMessage[0]) + val inputMessage = HL7Reader.parseHL7Message(originalMessage) + val outputMessage = HL7Reader.parseHL7Message(comparisonMessage) + val inputVal = ST(inputMessage) inputVal.value = "blah" - val outputVal = ST(outputMessage[0]) + val outputVal = ST(outputMessage) outputVal.value = "blah" - val samePrimitive = hL7DiffHelper.compareHl7Type( + val samePrimitive = hl7DiffHelper.compareHl7Type( "", inputVal, outputVal, @@ -160,7 +153,7 @@ OBR|1||232270000212^ProPhase Diagnostics^2.16.840.1.114222.4.1.238646^ISO|55454- assertThat(samePrimitive).isEmpty() outputVal.value = "test" - val differentPrimitive = hL7DiffHelper.compareHl7Type( + val differentPrimitive = hl7DiffHelper.compareHl7Type( "", inputVal, outputVal, @@ -175,21 +168,19 @@ OBR|1||232270000212^ProPhase Diagnostics^2.16.840.1.114222.4.1.238646^ISO|55454- @Test fun `test compareHl7Type varies`() { - val actionLogger = ActionLogger() - val hl7Reader = HL7Reader(actionLogger) - val inputMessage = hl7Reader.getMessages(originalMessage) - val outputMessage = hl7Reader.getMessages(comparisonMessage) - val inputType = ST(inputMessage[0]) + val inputMessage = HL7Reader.parseHL7Message(originalMessage) + val outputMessage = HL7Reader.parseHL7Message(comparisonMessage) + val inputType = ST(inputMessage) inputType.value = "blah" - val outputType = ST(outputMessage[0]) + val outputType = ST(outputMessage) outputType.value = "blah" - val inputVal = Varies(inputMessage[0]) + val inputVal = Varies(inputMessage) inputVal.data = inputType - val outputVal = Varies(outputMessage[0]) + val outputVal = Varies(outputMessage) outputVal.data = outputType - val sameVaries = hL7DiffHelper.compareHl7Type( + val sameVaries = hl7DiffHelper.compareHl7Type( "", inputVal, outputVal, @@ -202,7 +193,7 @@ OBR|1||232270000212^ProPhase Diagnostics^2.16.840.1.114222.4.1.238646^ISO|55454- assertThat(sameVaries).isEmpty() outputType.value = "test" - val differentVaries = hL7DiffHelper.compareHl7Type( + val differentVaries = hl7DiffHelper.compareHl7Type( "", inputVal, outputVal, @@ -217,17 +208,15 @@ OBR|1||232270000212^ProPhase Diagnostics^2.16.840.1.114222.4.1.238646^ISO|55454- @Test fun `test compareHl7Type composite`() { - val actionLogger = ActionLogger() - val hl7Reader = HL7Reader(actionLogger) - val inputMessage = hl7Reader.getMessages(originalMessage) - val id = ID(inputMessage[0]) + val inputMessage = HL7Reader.parseHL7Message(originalMessage) + val id = ID(inputMessage) id.value = "blah" - val nm = NM(inputMessage[0]) + val nm = NM(inputMessage) nm.value = "blah2" - val sameComposite = hL7DiffHelper.compareHl7Type( + val sameComposite = hl7DiffHelper.compareHl7Type( "", - (inputMessage[0] as ORU_R01).msh.getField(4)[0], - (inputMessage[0] as ORU_R01).msh.getField(4)[0], + (inputMessage as ORU_R01).msh.getField(4)[0], + inputMessage.msh.getField(4)[0], "", 0, 0, @@ -235,11 +224,11 @@ OBR|1||232270000212^ProPhase Diagnostics^2.16.840.1.114222.4.1.238646^ISO|55454- ) assertThat(sameComposite).isEmpty() - val outputMessage = hl7Reader.getMessages(comparisonMessage) - val differentComposite = hL7DiffHelper.compareHl7Type( + val outputMessage = HL7Reader.parseHL7Message(comparisonMessage) + val differentComposite = hl7DiffHelper.compareHl7Type( "", - (inputMessage[0] as ORU_R01).msh.getField(4)[0], - (outputMessage[0] as ORU_R01).msh.getField(4)[0], + inputMessage.msh.getField(4)[0], + (outputMessage as ORU_R01).msh.getField(4)[0], "", 0, 0, @@ -250,19 +239,17 @@ OBR|1||232270000212^ProPhase Diagnostics^2.16.840.1.114222.4.1.238646^ISO|55454- @Test fun `test compareHl7Type different types`() { - val actionLogger = ActionLogger() - val hl7Reader = HL7Reader(actionLogger) - val inputMessage = hl7Reader.getMessages(originalMessage) - val outputMessage = hl7Reader.getMessages(comparisonMessage) - val inputType = ST(inputMessage[0]) + val inputMessage = HL7Reader.parseHL7Message(originalMessage) + val outputMessage = HL7Reader.parseHL7Message(comparisonMessage) + val inputType = ST(inputMessage) inputType.value = "blah" - val outputType = ST(outputMessage[0]) + val outputType = ST(outputMessage) outputType.value = "blah" - val inputVal = Varies(inputMessage[0]) + val inputVal = Varies(inputMessage) inputVal.data = inputType - val differentVaries = hL7DiffHelper.compareHl7Type( + val differentVaries = hl7DiffHelper.compareHl7Type( "", inputVal, outputType, @@ -277,29 +264,25 @@ OBR|1||232270000212^ProPhase Diagnostics^2.16.840.1.114222.4.1.238646^ISO|55454- @Test fun `expect no diff messages have blank vs empty MSH 8 (ST), OBR 49 (CWE) respectively`() { - val actionLogger = ActionLogger() - val hl7Reader = HL7Reader(actionLogger) - val inputMessage = hl7Reader.getMessages(msgMSH8OBR49Blank) - val outputMessage = hl7Reader.getMessages(msgMSH8OBR49Empty) - val differences = hL7DiffHelper.diffHl7(inputMessage[0], outputMessage[0]) + val inputMessage = HL7Reader.parseHL7Message(msgMSH8OBR49Blank) + val outputMessage = HL7Reader.parseHL7Message(msgMSH8OBR49Empty) + val differences = hl7DiffHelper.diffHl7(inputMessage, outputMessage) assertThat(differences.size).isEqualTo(0) - val differences2 = hL7DiffHelper.diffHl7(outputMessage[0], inputMessage[0]) + val differences2 = hl7DiffHelper.diffHl7(outputMessage, inputMessage) assertThat(differences2.size).isEqualTo(0) } @Test fun `diff output, input missing segments`() { - val actionLogger = ActionLogger() - val hl7Reader = HL7Reader(actionLogger) val msg = originalMessage.split("\n").toMutableList() msg.removeAt(1) - val inputMessage = hl7Reader.getMessages(msg.joinToString("\n")) - val outputMessage = hl7Reader.getMessages(originalMessage) - val differences = hL7DiffHelper.diffHl7(inputMessage[0], outputMessage[0]) + val inputMessage = HL7Reader.parseHL7Message(msg.joinToString("\n")) + val outputMessage = HL7Reader.parseHL7Message(originalMessage) + val differences = hl7DiffHelper.diffHl7(inputMessage, outputMessage) // input missing seg SFT assertThat(differences.size).isEqualTo(1) assertThat(differences[0].toString().contains("Input missing segment SFT")) - val differences2 = hL7DiffHelper.diffHl7(outputMessage[0], inputMessage[0]) + val differences2 = hl7DiffHelper.diffHl7(outputMessage, inputMessage) // output missing seg SFT assertThat(differences2.size).isEqualTo(1) assertThat(differences[0].toString().contains("Output missing segment SFT")) diff --git a/prime-router/src/test/kotlin/common/DateUtilitiesTests.kt b/prime-router/src/test/kotlin/common/DateUtilitiesTests.kt index c6528bab86c..800f649dbd0 100644 --- a/prime-router/src/test/kotlin/common/DateUtilitiesTests.kt +++ b/prime-router/src/test/kotlin/common/DateUtilitiesTests.kt @@ -405,6 +405,7 @@ class DateUtilitiesTests { "12/1/1900" to "19001201000000", "2/3/02" to "20020203000000", "2/3/02 8:00" to "20020203080000", + "20241220194528.4230+0000" to "20241220194528" ).forEach { (input, expected) -> val parsed = DateUtilities.parseDate(input) assertThat( @@ -417,6 +418,24 @@ class DateUtilitiesTests { ) ).isEqualTo(expected) } + + // test high precision offset + mapOf( + "1975-08-01T11:39:00Z" to "19750801113900.0000+0000", + "2022-04-29T15:43:02.307Z" to "20220429154302.3070+0000", + "20241220194528.4230+0000" to "20241220194528.4230+0000" + ).forEach { (input, expected) -> + val parsed = DateUtilities.parseDate(input) + assertThat( + DateUtilities.formatDateForReceiver( + parsed, + DateUtilities.utcZone, + DateUtilities.DateTimeFormat.HIGH_PRECISION_OFFSET, + false, + false + ) + ).isEqualTo(expected) + } } @Test diff --git a/prime-router/src/test/kotlin/common/UniversalPipelineTestUtils.kt b/prime-router/src/test/kotlin/common/UniversalPipelineTestUtils.kt index 96ac1340b5d..a61f5b13d86 100644 --- a/prime-router/src/test/kotlin/common/UniversalPipelineTestUtils.kt +++ b/prime-router/src/test/kotlin/common/UniversalPipelineTestUtils.kt @@ -441,7 +441,7 @@ object UniversalPipelineTestUtils { fileName: String = "mr_fhir_face.fhir", ): Report { val blobUrl = BlobAccess.uploadBlob( - "${previousAction.literal}/$fileName", + "${TaskAction.receive.literal}/$fileName", reportContents.toByteArray(), getBlobContainerMetadata(azuriteContainer) ) diff --git a/prime-router/src/test/kotlin/fhirengine/azure/FHIRTranslatorIntegrationTests.kt b/prime-router/src/test/kotlin/fhirengine/azure/FHIRTranslatorIntegrationTests.kt index d8a9adeb1dd..99eada67991 100644 --- a/prime-router/src/test/kotlin/fhirengine/azure/FHIRTranslatorIntegrationTests.kt +++ b/prime-router/src/test/kotlin/fhirengine/azure/FHIRTranslatorIntegrationTests.kt @@ -640,7 +640,7 @@ class FHIRTranslatorIntegrationTests : Logging { } @Test - fun `successfully translate HL7 for FHIR receiver when isSendOriginal is true from receive step`() { + fun `successfully translate HL7 for FHIR receiver when isSendOriginal is true`() { // set up val receiverSetupData = listOf( UniversalPipelineTestUtils.ReceiverSetupData( @@ -720,7 +720,7 @@ class FHIRTranslatorIntegrationTests : Logging { } @Test - fun `successfully translate for FHIR receiver when isSendOriginal is true from receive step`() { + fun `successfully translate for FHIR receiver when isSendOriginal is true`() { // set up val receiverSetupData = listOf( UniversalPipelineTestUtils.ReceiverSetupData( @@ -798,166 +798,4 @@ class FHIRTranslatorIntegrationTests : Logging { assertThat(translatedValue).isEqualTo(reportContents.toByteArray()) } } - - @Test - fun `successfully translate HL7 for FHIR receiver when isSendOriginal is true from convert step`() { - // set up - val receiverSetupData = listOf( - UniversalPipelineTestUtils.ReceiverSetupData( - "x", - jurisdictionalFilter = listOf("true"), - qualityFilter = listOf("true"), - routingFilter = listOf("true"), - conditionFilter = listOf("true"), - format = MimeFormat.FHIR - ) - ) - val receivers = UniversalPipelineTestUtils.createReceivers(receiverSetupData) - val org = UniversalPipelineTestUtils.createOrganizationWithReceivers(receivers) - val translator = createFHIRTranslator(azureEventService, org) - val reportContents = File(HL7_WITH_BIRTH_TIME).readText() - val convertReport = UniversalPipelineTestUtils.createReport( - reportContents, - TaskAction.convert, - Event.EventAction.CONVERT, - azuriteContainer, - TaskAction.convert, - fileName = "originalhl7.hl7" - ) - val queueMessage = generateQueueMessage( - convertReport, - reportContents, - UniversalPipelineTestUtils.hl7SenderWithSendOriginal, - "phd.x" - ) - val fhirFunctions = UniversalPipelineTestUtils.createFHIRFunctionsInstance() - - // execute - fhirFunctions.process(queueMessage, 1, translator, ActionHistory(TaskAction.translate)) - - // check that send queue was updated - verify(exactly = 1) { - QueueAccess.sendMessage(QueueMessage.elrSendQueueName, any()) - } - - // check action table - UniversalPipelineTestUtils.checkActionTable(listOf(TaskAction.convert, TaskAction.translate)) - - // verify task and report_file tables were updated correctly in the Translate function (new task and new - // record file created) - ReportStreamTestDatabaseContainer.testDatabaseAccess.transact { txn -> - val report = fetchChildReports(convertReport, txn, 1).single() - assertThat(report.nextAction).isEqualTo(TaskAction.send) - assertThat(report.receivingOrg).isEqualTo("phd") - assertThat(report.receivingOrgSvc).isEqualTo("x") - assertThat(report.schemaName).isEqualTo("None") - assertThat(report.schemaTopic).isEqualTo(Topic.ELR_ELIMS) - assertThat(report.bodyFormat).isEqualTo("HL7") - - val batchTask = DSL.using(txn).select(Task.TASK.asterisk()).from(Task.TASK) - .where(Task.TASK.NEXT_ACTION.eq(TaskAction.batch)) - .fetchOneInto(Task.TASK) - // verify batch queue task does not exist - assertThat(batchTask).isNull() - - val sendTask = DSL.using(txn).select(Task.TASK.asterisk()).from(Task.TASK) - .where(Task.TASK.NEXT_ACTION.eq(TaskAction.send)) - .fetchOneInto(Task.TASK) - // verify send queue task exists - assertThat(sendTask).isNotNull() - assertThat(sendTask!!.reportId).isEqualTo(report.reportId) - - // verify message format is HL7 and is for the expected receiver - assertThat(sendTask.receiverName).isEqualTo("phd.x") - assertThat(sendTask.bodyFormat).isEqualTo("HL7") - - // verify message matches the original HL7 input - val translatedValue = BlobAccess.downloadBlobAsByteArray( - report.bodyUrl, - UniversalPipelineTestUtils.getBlobContainerMetadata(azuriteContainer) - ) - assertThat(translatedValue).isEqualTo(reportContents.toByteArray()) - } - } - - @Test - fun `successfully translate for FHIR receiver when isSendOriginal is true from convert step`() { - // set up - val receiverSetupData = listOf( - UniversalPipelineTestUtils.ReceiverSetupData( - "x", - jurisdictionalFilter = listOf("true"), - qualityFilter = listOf("true"), - routingFilter = listOf("true"), - conditionFilter = listOf("true"), - format = MimeFormat.FHIR - ) - ) - val receivers = UniversalPipelineTestUtils.createReceivers(receiverSetupData) - val org = UniversalPipelineTestUtils.createOrganizationWithReceivers(receivers) - val translator = createFHIRTranslator(azureEventService, org) - val reportContents = File(MULTIPLE_TARGETS_FHIR_PATH).readText() - val convertReport = UniversalPipelineTestUtils.createReport( - reportContents, - TaskAction.convert, - Event.EventAction.CONVERT, - azuriteContainer, - TaskAction.convert - ) - - val queueMessage = generateQueueMessage( - convertReport, - reportContents, - UniversalPipelineTestUtils.fhirSenderWithSendOriginal, - "phd.x" - ) - val fhirFunctions = UniversalPipelineTestUtils.createFHIRFunctionsInstance() - - // execute - fhirFunctions.process(queueMessage, 1, translator, ActionHistory(TaskAction.translate)) - - // check that send queue was updated - verify(exactly = 1) { - QueueAccess.sendMessage(QueueMessage.elrSendQueueName, any()) - } - - // check action table - UniversalPipelineTestUtils.checkActionTable(listOf(TaskAction.convert, TaskAction.translate)) - - // verify task and report_file tables were updated correctly in the Translate function (new task and new - // record file created) - ReportStreamTestDatabaseContainer.testDatabaseAccess.transact { txn -> - val report = fetchChildReports(convertReport, txn, 1).single() - assertThat(report.nextAction).isEqualTo(TaskAction.send) - assertThat(report.receivingOrg).isEqualTo("phd") - assertThat(report.receivingOrgSvc).isEqualTo("x") - assertThat(report.schemaName).isEqualTo("None") - assertThat(report.schemaTopic).isEqualTo(Topic.ELR_ELIMS) - assertThat(report.bodyFormat).isEqualTo("FHIR") - - val batchTask = DSL.using(txn).select(Task.TASK.asterisk()).from(Task.TASK) - .where(Task.TASK.NEXT_ACTION.eq(TaskAction.batch)) - .fetchOneInto(Task.TASK) - // verify batch queue task does not exist - assertThat(batchTask).isNull() - - val sendTask = DSL.using(txn).select(Task.TASK.asterisk()).from(Task.TASK) - .where(Task.TASK.NEXT_ACTION.eq(TaskAction.send)) - .fetchOneInto(Task.TASK) - // verify send queue task exists - assertThat(sendTask).isNotNull() - assertThat(sendTask!!.reportId).isEqualTo(report.reportId) - - // verify message format is FHIR and is for the expected receiver - assertThat(sendTask.receiverName).isEqualTo("phd.x") - assertThat(sendTask.bodyFormat).isEqualTo("FHIR") - - // verify message matches the original FHIR input - val translatedValue = BlobAccess.downloadBlobAsByteArray( - report.bodyUrl, - UniversalPipelineTestUtils.getBlobContainerMetadata(azuriteContainer) - ) - assertThat(translatedValue).isEqualTo(reportContents.toByteArray()) - } - } } \ No newline at end of file diff --git a/prime-router/src/test/kotlin/fhirengine/engine/CustomTranslationFunctionsTest.kt b/prime-router/src/test/kotlin/fhirengine/engine/CustomTranslationFunctionsTest.kt index d9ad4230a21..7826db3bf88 100644 --- a/prime-router/src/test/kotlin/fhirengine/engine/CustomTranslationFunctionsTest.kt +++ b/prime-router/src/test/kotlin/fhirengine/engine/CustomTranslationFunctionsTest.kt @@ -81,6 +81,19 @@ class CustomTranslationFunctionsTest { assertThat(tmp).isEqualTo("20150405212211+0900") } + @org.junit.jupiter.api.Test + fun `test mojuroTimezone with convertDateTimeToHL7`() { + val timezoneParameters1: MutableList<MutableList<Base>> = + mutableListOf(mutableListOf(StringType("Pacific/Majuro"))) + val adjustedDateTime = + CustomFHIRFunctions.changeTimezone( + mutableListOf(DateTimeType("2015-04-05T12:22:11Z")), + timezoneParameters1 + )[0] as DateTimeType + val tmp1 = Hl7TranslationFunctions().convertDateTimeToHL7(adjustedDateTime) + assertThat(tmp1).isEqualTo("20150406002211+1200") + } + @org.junit.jupiter.api.Test fun `test convertDateTimeToHL7 with CustomContext with receiver setting`() { val receiver = mockkClass(Receiver::class, relaxed = true) diff --git a/prime-router/src/test/kotlin/fhirengine/engine/FhirConverterTests.kt b/prime-router/src/test/kotlin/fhirengine/engine/FhirConverterTests.kt index e23ef1b6e35..1d03e60a0c4 100644 --- a/prime-router/src/test/kotlin/fhirengine/engine/FhirConverterTests.kt +++ b/prime-router/src/test/kotlin/fhirengine/engine/FhirConverterTests.kt @@ -11,7 +11,6 @@ import ca.uhn.fhir.validation.ResultSeverityEnum import ca.uhn.fhir.validation.SingleValidationMessage import ca.uhn.fhir.validation.ValidationResult import ca.uhn.hl7v2.util.Hl7InputStreamMessageStringIterator -import fhirengine.translation.hl7.structures.nistelr251.message.ORU_R01 import gov.cdc.prime.router.ActionLogDetail import gov.cdc.prime.router.ActionLogger import gov.cdc.prime.router.CustomerStatus @@ -27,7 +26,9 @@ import gov.cdc.prime.router.SettingsProvider import gov.cdc.prime.router.Topic import gov.cdc.prime.router.azure.ActionHistory import gov.cdc.prime.router.azure.BlobAccess +import gov.cdc.prime.router.azure.ConditionStamper import gov.cdc.prime.router.azure.DatabaseAccess +import gov.cdc.prime.router.azure.LookupTableConditionMapper import gov.cdc.prime.router.azure.SubmissionTableService import gov.cdc.prime.router.azure.db.enums.TaskAction import gov.cdc.prime.router.azure.db.tables.pojos.Action @@ -60,9 +61,12 @@ import io.mockk.verify import org.hl7.fhir.r4.model.Bundle import org.hl7.fhir.r4.model.Coding import org.hl7.fhir.r4.model.Observation +import org.hl7.fhir.r4.model.StringType import org.jooq.tools.jdbc.MockConnection import org.jooq.tools.jdbc.MockDataProvider import org.jooq.tools.jdbc.MockResult +import org.junit.Assert.assertEquals +import org.junit.Assert.assertNotNull import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Nested @@ -459,7 +463,7 @@ class FhirConverterTests { ObservationMappingConstants.TEST_CODE_KEY, ObservationMappingConstants.CONDITION_CODE_KEY, ObservationMappingConstants.CONDITION_CODE_SYSTEM_KEY, - ObservationMappingConstants.CONDITION_NAME_KEY + ObservationMappingConstants.CONDITION_NAME_KEY, ), listOf( "80382-5", @@ -544,6 +548,73 @@ class FhirConverterTests { } } + @Test + fun `test condition code and member OID stamping`() { + val fhirRecord = """{"resourceType":"Bundle","id":"1667861767830636000.7db38d22-b713-49fc-abfa-2edba9c12347","meta":{"lastUpdated":"2022-11-07T22:56:07.832+00:00"}, + |"identifier":{"value":"1234d1d1-95fe-462c-8ac6-46728dba581c"},"type":"message","timestamp":"2021-08-03T13:15:11.015+00:00", + |"entry":[{"fullUrl":"Observation/d683b42a-bf50-45e8-9fce-6c0531994f09","resource":{"resourceType":"Observation","id":"d683b42a-bf50-45e8-9fce-6c0531994f09","status":"final","code":{"coding":[{"system":"http://loinc.org","code":"80382-5"}],"text":"Flu A"},"subject":{"reference":"Patient/9473889b-b2b9-45ac-a8d8-191f27132912"},"performer":[{"reference":"Organization/1a0139b9-fc23-450b-9b6c-cd081e5cea9d"}], + |"valueCodeableConcept":{"coding":[{"system":"http://snomed.info/sct","code":"260373001","display":"Detected"}]},"interpretation":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0078","code":"A","display":"Abnormal"}]}],"method":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/testkit-name-id","valueCoding":{"code":"BD Veritor System for Rapid Detection of SARS-CoV-2 & Flu A+B_Becton, Dickinson and Company (BD)"}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/equipment-uid","valueCoding":{"code":"BD Veritor System for Rapid Detection of SARS-CoV-2 & Flu A+B_Becton, Dickinson and Company (BD)"}}], + |"coding":[{"display":"BD Veritor System for Rapid Detection of SARS-CoV-2 & Flu A+B*"}]},"specimen":{"reference":"Specimen/52a582e4-d389-42d0-b738-bee51cf5244d"},"device":{"reference":"Device/78dc4d98-2958-43a3-a445-76ceef8c0698"}}}]} +""".trimMargin() + + // Setup metadata (already present in your code) + metadata.lookupTableStore += mapOf( + "observation-mapping" to LookupTable( + "observation-mapping", + listOf( + listOf( + ObservationMappingConstants.TEST_CODE_KEY, + ObservationMappingConstants.CONDITION_CODE_KEY, + ObservationMappingConstants.CONDITION_CODE_SYSTEM_KEY, + ObservationMappingConstants.CONDITION_NAME_KEY, + ObservationMappingConstants.TEST_OID_KEY + ), + listOf( + "80382-5", // LOINC + "6142004", // SNOMED code + "SNOMEDCT", // SNOMED system + "Influenza (disorder)", + "OID12345" // OID + ) + ) + ) + ) + + val bundle = FhirContext.forR4().newJsonParser().parseResource(Bundle::class.java, fhirRecord) + + bundle.entry + .filter { it.resource is Observation } + .forEach { entry -> + val observation = entry.resource as Observation + + // Stamp it + ConditionStamper(LookupTableConditionMapper(metadata)).stampObservation(observation) + + // Find the "condition-code" extension on the main LOINC coding + val coding = observation.code.coding.first() // The LOINC coding + val conditionCodeExt = coding.extension.firstOrNull { + it.url == ConditionStamper.CONDITION_CODE_EXTENSION_URL + } + assertNotNull("Condition-code extension not found.", conditionCodeExt) + + // Check that the extension's "valueCoding" is the SNOMED code + val snomedCoding = conditionCodeExt!!.value as? Coding + assertNotNull("Condition-code extension does not contain a valid Coding.", snomedCoding) + assertEquals("SNOMEDCT", snomedCoding!!.system) + assertEquals("6142004", snomedCoding.code) + assertEquals("Influenza (disorder)", snomedCoding.display) + + // Nested sub-extension for the OID + val oidSubExtension = snomedCoding.extension.find { + it.url == ConditionStamper.MEMBER_OID_EXTENSION_URL + } + assertNotNull("Member OID sub-extension not found.", oidSubExtension) + val oidValue = oidSubExtension!!.value as? StringType + assertNotNull("Member OID value not found.", oidValue) + assertEquals("OID12345", oidValue!!.value) + } + } + @Test fun `test fully unmapped condition code stamping logs errors`() { val fhirData = File(BATCH_VALID_DATA_URL).readText() @@ -922,16 +993,6 @@ class FhirConverterTests { fun `should process an HL7 message with a registered profile`() { mockkObject(BlobAccess) mockkObject(HL7Reader.Companion) - every { HL7Reader.Companion.messageToConfigMap } returns mapOf( - HL7Reader.Companion.HL7MessageType( - "ORU_R01", - "2.5.1", - "2.16.840.1.113883.9.11" - ) to HL7Reader.Companion.HL7MessageParseAndConvertConfiguration( - ORU_R01::class.java, - "./metadata/test_fhir_mapping" - ) - ) val engine = spyk(makeFhirEngine(metadata, settings, TaskAction.process) as FHIRConverter) val actionLogger = ActionLogger() diff --git a/prime-router/src/test/kotlin/fhirengine/engine/FhirReceiverFilterTests.kt b/prime-router/src/test/kotlin/fhirengine/engine/FhirReceiverFilterTests.kt index a6c989e9a66..d36694d5274 100644 --- a/prime-router/src/test/kotlin/fhirengine/engine/FhirReceiverFilterTests.kt +++ b/prime-router/src/test/kotlin/fhirengine/engine/FhirReceiverFilterTests.kt @@ -27,7 +27,7 @@ import gov.cdc.prime.router.TestSource import gov.cdc.prime.router.Topic import gov.cdc.prime.router.azure.ActionHistory import gov.cdc.prime.router.azure.BlobAccess -import gov.cdc.prime.router.azure.ConditionStamper.Companion.conditionCodeExtensionURL +import gov.cdc.prime.router.azure.ConditionStamper.Companion.CONDITION_CODE_EXTENSION_URL import gov.cdc.prime.router.azure.DatabaseAccess import gov.cdc.prime.router.azure.db.enums.TaskAction import gov.cdc.prime.router.azure.db.tables.pojos.ReportFile @@ -508,7 +508,7 @@ class FhirReceiverFilterTests { val coding = it.code.coding.first() if (coding.extension.isEmpty()) { coding.addExtension( - conditionCodeExtensionURL, + CONDITION_CODE_EXTENSION_URL, Coding( "system", "AOE", "name" ) @@ -569,11 +569,11 @@ class FhirReceiverFilterTests { bundle.entry.filter { it.resource is Observation }.forEach { val observation = (it.resource as Observation) observation.code.coding[0].addExtension( - conditionCodeExtensionURL, + CONDITION_CODE_EXTENSION_URL, Coding("SNOMEDCT", "6142004", "Influenza (disorder)") ) observation.valueCodeableConcept.coding[0].addExtension( - conditionCodeExtensionURL, + CONDITION_CODE_EXTENSION_URL, Coding("Condition Code System", "foobar", "Condition Name") ) } @@ -681,11 +681,11 @@ class FhirReceiverFilterTests { val bundle = FhirContext.forR4().newJsonParser().parseResource(Bundle::class.java, fhirRecord) bundle.getObservations().forEach { observation -> observation.code.coding[0].addExtension( - conditionCodeExtensionURL, + CONDITION_CODE_EXTENSION_URL, Coding("SNOMEDCT", "6142004", "Influenza (disorder)") ) observation.valueCodeableConcept.coding[0].addExtension( - conditionCodeExtensionURL, + CONDITION_CODE_EXTENSION_URL, Coding("Condition Code System", "Some Condition Code", "Condition Name") ) } diff --git a/prime-router/src/test/kotlin/fhirengine/translation/HL7toFhirTranslatorTests.kt b/prime-router/src/test/kotlin/fhirengine/translation/HL7toFhirTranslatorTests.kt index 533c1386ea2..a7d8e1838a4 100644 --- a/prime-router/src/test/kotlin/fhirengine/translation/HL7toFhirTranslatorTests.kt +++ b/prime-router/src/test/kotlin/fhirengine/translation/HL7toFhirTranslatorTests.kt @@ -6,8 +6,8 @@ import assertk.assertions.isEqualTo import assertk.assertions.isNotEmpty import assertk.assertions.isNotNull import assertk.assertions.isNull -import gov.cdc.prime.router.ActionLogger import gov.cdc.prime.router.fhirengine.translation.HL7toFhirTranslator +import gov.cdc.prime.router.fhirengine.utils.HL7MessageHelpers import gov.cdc.prime.router.fhirengine.utils.HL7Reader import io.github.linuxforhealth.hl7.data.Hl7RelatedGeneralUtils import org.hl7.fhir.r4.model.Bundle @@ -48,16 +48,20 @@ OBX|1|CWE|94558-4^SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by @Test fun `test get message template`() { - val message = HL7Reader(ActionLogger()).getMessages(supportedHL7) - assertThat(message.size).isEqualTo(1) - assertThat(translator.getMessageTemplateType(message[0])).isEqualTo("ORU_R01") + val message = HL7Reader.parseHL7Message(supportedHL7) + assertThat( + HL7MessageHelpers.messageCount(supportedHL7) + ).isEqualTo(1) + assertThat(translator.getMessageTemplateType(message)).isEqualTo("ORU_R01") } @Test fun `test get message model`() { - var message = HL7Reader(ActionLogger()).getMessages(supportedHL7) - assertThat(message.size).isEqualTo(1) - val model = translator.getHL7MessageModel(message[0]) + val supportedMessage = HL7Reader.parseHL7Message(supportedHL7) + assertThat( + HL7MessageHelpers.messageCount(supportedHL7) + ).isEqualTo(1) + val model = translator.getHL7MessageModel(supportedMessage) assertThat(model).isNotNull() assertThat(model.messageName).isEqualTo("ORU_R01") @@ -70,17 +74,21 @@ ORC|NW|ORD448811^NIST EHR|||||||20120628070100|||5742200012^Radon^Nicholas^^^^^^ OBR|1|ORD448811^NIST EHR||1000^Hepatitis A B C Panel^99USL|||20120628070100|||||||||5742200012^Radon^Nicholas^^^^^^NPI^L^^^NPI DG1|1||F11.129^Opioid abuse with intoxication,unspecified^I10C|||W|||||||||1 """.trimIndent() - message = HL7Reader(ActionLogger()).getMessages(unsupportedHL7) - assertThat(message.size).isEqualTo(1) - assertFailure { translator.getHL7MessageModel(message[0]) } + val unsupportedMessage = HL7Reader.parseHL7Message(unsupportedHL7) + assertThat( + HL7MessageHelpers.messageCount(unsupportedHL7) + ).isEqualTo(1) + assertFailure { translator.getHL7MessageModel(unsupportedMessage) } } @Test fun `test a quick translation to FHIR`() { // Note that FHIR content will be tested as an integration test - val message = HL7Reader(ActionLogger()).getMessages(supportedHL7) - assertThat(message.size).isEqualTo(1) - val bundle = translator.translate(message[0]) + val message = HL7Reader.parseHL7Message(supportedHL7) + assertThat( + HL7MessageHelpers.messageCount(supportedHL7) + ).isEqualTo(1) + val bundle = translator.translate(message) assertThat(bundle).isNotNull() assertThat(bundle.type).isEqualTo(Bundle.BundleType.MESSAGE) assertThat(bundle.id).isNotEmpty() @@ -88,9 +96,11 @@ DG1|1||F11.129^Opioid abuse with intoxication,unspecified^I10C|||W|||||||||1 @Test fun `test birth date extension addition`() { - val message = HL7Reader(ActionLogger()).getMessages(supportedHL7ORMWithBirthDateTime) - assertThat(message.size).isEqualTo(1) - val bundle = translator.translate(message[0]) + val message = HL7Reader.parseHL7Message(supportedHL7ORMWithBirthDateTime) + assertThat( + HL7MessageHelpers.messageCount(supportedHL7ORMWithBirthDateTime) + ).isEqualTo(1) + val bundle = translator.translate(message) assertThat(bundle).isNotNull() assertThat(bundle.type).isEqualTo(Bundle.BundleType.MESSAGE) assertThat(bundle.id).isNotEmpty() @@ -111,9 +121,11 @@ DG1|1||F11.129^Opioid abuse with intoxication,unspecified^I10C|||W|||||||||1 @Test fun `test birth date extension is missing when birthdate is only date`() { - val message = HL7Reader(ActionLogger()).getMessages(supportedHL7ORMWithBirthDate) - assertThat(message.size).isEqualTo(1) - val bundle = translator.translate(message[0]) + val message = HL7Reader.parseHL7Message(supportedHL7ORMWithBirthDate) + assertThat( + HL7MessageHelpers.messageCount(supportedHL7ORMWithBirthDateTime) + ).isEqualTo(1) + val bundle = translator.translate(message) assertThat(bundle).isNotNull() assertThat(bundle.type).isEqualTo(Bundle.BundleType.MESSAGE) assertThat(bundle.id).isNotEmpty() diff --git a/prime-router/src/test/kotlin/fhirengine/translation/hl7/utils/CustomFHIRFunctionsTests.kt b/prime-router/src/test/kotlin/fhirengine/translation/hl7/utils/CustomFHIRFunctionsTests.kt index b81f4143a72..be39c04419b 100644 --- a/prime-router/src/test/kotlin/fhirengine/translation/hl7/utils/CustomFHIRFunctionsTests.kt +++ b/prime-router/src/test/kotlin/fhirengine/translation/hl7/utils/CustomFHIRFunctionsTests.kt @@ -506,6 +506,120 @@ class CustomFHIRFunctionsTests { }.hasClass(SchemaException::class.java) } + @Test + fun `test changeTimezone with date as string - success`() { + val date = StringType("20241220194528.4230+0000") + val timezone = StringType("UTC") + val dateTimeFormat = StringType("HIGH_PRECISION_OFFSET") + val convertToNegative = StringType("true") + val useHighPrecision = StringType("false") + + // test format + var outputDate = CustomFHIRFunctions.changeTimezone( + mutableListOf(date), + mutableListOf( + mutableListOf(timezone), mutableListOf(dateTimeFormat), mutableListOf(convertToNegative), + mutableListOf(useHighPrecision) + ) + ) + assertThat(outputDate[0]).isInstanceOf(StringType::class.java) + assertThat(outputDate[0].primitiveValue()).isEqualTo("20241220194528.4230-0000") + + // test timezone change with offset format + timezone.value = "America/Phoenix" + dateTimeFormat.value = "OFFSET" + convertToNegative.value = "false" + useHighPrecision.value = "false" + + outputDate = CustomFHIRFunctions.changeTimezone( + mutableListOf(date), + mutableListOf( + mutableListOf(timezone), mutableListOf(dateTimeFormat), mutableListOf(convertToNegative), + mutableListOf(useHighPrecision) + ) + ) + assertThat(outputDate[0]).isInstanceOf(StringType::class.java) + assertThat(outputDate[0].primitiveValue()).isEqualTo("20241220124528-0700") + + // test different format for input date + val date2 = StringType("2021-08-09T08:52:34-04:00") + timezone.value = "America/Phoenix" + dateTimeFormat.value = "LOCAL" + convertToNegative.value = "false" + useHighPrecision.value = "false" + + outputDate = CustomFHIRFunctions.changeTimezone( + mutableListOf(date2), + mutableListOf( + mutableListOf(timezone), mutableListOf(dateTimeFormat), mutableListOf(convertToNegative), + mutableListOf(useHighPrecision) + ) + ) + assertThat(outputDate[0]).isInstanceOf(StringType::class.java) + assertThat(outputDate[0].primitiveValue()).isEqualTo("20210809055234") + + // test date without time should return same date string + val date3 = StringType("2021-08-09") + timezone.value = "America/Phoenix" + dateTimeFormat.value = "OFFSET" + convertToNegative.value = "false" + useHighPrecision.value = "false" + + outputDate = CustomFHIRFunctions.changeTimezone( + mutableListOf(date3), + mutableListOf( + mutableListOf(timezone), mutableListOf(dateTimeFormat), mutableListOf(convertToNegative), + mutableListOf(useHighPrecision) + ) + ) + assertThat(outputDate[0]).isInstanceOf(StringType::class.java) + assertThat(outputDate[0].primitiveValue()).isEqualTo("2021-08-09") + + // test timezone change with required param only + timezone.value = "America/Phoenix" + + outputDate = CustomFHIRFunctions.changeTimezone( + mutableListOf(date), + mutableListOf(mutableListOf(timezone)) + ) + assertThat(outputDate[0]).isInstanceOf(StringType::class.java) + assertThat(outputDate[0].primitiveValue()).isEqualTo("20241220124528-0700") + } + + @Test + fun `test changeTimezone with date as string - exception`() { + val date = StringType("20241220194528.4230+0000") + val timezone = StringType("UTC") + val dateTimeFormat = StringType("HIGH_PRECISION_OFFSET") + val convertToNegative = StringType("true") + val useHighPrecision = StringType("false") + + assertFailure { + dateTimeFormat.value = "HIGH_PRECISION_OFFS" + // test invalid dateTime format + CustomFHIRFunctions.changeTimezone( + mutableListOf(date), + mutableListOf( + mutableListOf(timezone), mutableListOf(dateTimeFormat), mutableListOf(convertToNegative), + mutableListOf(useHighPrecision) + ) + ) + }.hasClass(SchemaException::class.java) + + assertFailure { + dateTimeFormat.value = "HIGH_PRECISION_OFFSET" + date.value = "2021-08-09T" + // test invalid dateTime string input + CustomFHIRFunctions.changeTimezone( + mutableListOf(date), + mutableListOf( + mutableListOf(timezone), mutableListOf(dateTimeFormat), mutableListOf(convertToNegative), + mutableListOf(useHighPrecision) + ) + ) + }.hasClass(SchemaException::class.java) + } + @Test fun `test deidentifies a human name`() { val name = HumanName() diff --git a/prime-router/src/test/kotlin/fhirengine/translation/hl7/utils/HL7ACKUtilsTest.kt b/prime-router/src/test/kotlin/fhirengine/translation/hl7/utils/HL7ACKUtilsTest.kt index a519bcf396e..8fb1d4308ee 100644 --- a/prime-router/src/test/kotlin/fhirengine/translation/hl7/utils/HL7ACKUtilsTest.kt +++ b/prime-router/src/test/kotlin/fhirengine/translation/hl7/utils/HL7ACKUtilsTest.kt @@ -2,7 +2,6 @@ package gov.cdc.prime.router.fhirengine.translation.hl7.utils import assertk.assertThat import assertk.assertions.isEqualTo -import gov.cdc.prime.router.ActionLogger import gov.cdc.prime.router.cli.helpers.HL7DiffHelper import gov.cdc.prime.router.fhirengine.utils.HL7Reader import io.mockk.every @@ -19,7 +18,6 @@ import kotlin.test.Test class HL7ACKUtilsTest { inner class Fixture { - val hl7Reader = HL7Reader(ActionLogger()) val hl7DiffHelper = HL7DiffHelper() private val clock = Clock.fixed( @@ -45,17 +43,16 @@ class HL7ACKUtilsTest { val incomingMessage = """ MSH|^~\&|Epic|Hospital|LIMS|StatePHL|20241003000000||ORM^O01^ORM_O01|4AFA57FE-D41D-4631-9500-286AAAF797E4|T|2.5.1|||AL|NE """.trimIndent() - val parsedIncomingMessage = f.hl7Reader.getMessages(incomingMessage).first() + val expectedMessage = """ + MSH|^~\&|ReportStream|CDC|Epic|Hospital|20240921000000+0000||ACK|$id|T|2.5.1|||NE|NE + MSA|CA|4AFA57FE-D41D-4631-9500-286AAAF797E4 + """.trimIndent() + val parsedIncomingMessage = HL7Reader.parseHL7Message(incomingMessage) val ack = f.utils.generateOutgoingACKMessage(parsedIncomingMessage) - val expected = f.hl7Reader.getMessages( - """ - MSH|^~\&|ReportStream|CDC|Epic|Hospital|20240921000000+0000||ACK|$id|T|2.5.1|||NE|NE - MSA|CA|4AFA57FE-D41D-4631-9500-286AAAF797E4 - """ - ).first() - val actual = f.hl7Reader.getMessages(ack).first() + val expected = HL7Reader.parseHL7Message(expectedMessage) + val actual = HL7Reader.parseHL7Message(ack) val diffs = f.hl7DiffHelper.diffHl7(expected, actual) if (diffs.isNotEmpty()) { diff --git a/prime-router/src/test/kotlin/fhirengine/utils/FHIRBundleHelpersTests.kt b/prime-router/src/test/kotlin/fhirengine/utils/FHIRBundleHelpersTests.kt index 5abc630dc42..61eb8ed8a25 100644 --- a/prime-router/src/test/kotlin/fhirengine/utils/FHIRBundleHelpersTests.kt +++ b/prime-router/src/test/kotlin/fhirengine/utils/FHIRBundleHelpersTests.kt @@ -16,6 +16,7 @@ import assertk.assertions.isNull import assertk.assertions.isTrue import ca.uhn.fhir.context.FhirContext import ca.uhn.hl7v2.model.v251.segment.MSH +import ca.uhn.hl7v2.util.Hl7InputStreamMessageIterator import gov.cdc.prime.router.ActionLogger import gov.cdc.prime.router.CodeStringConditionFilter import gov.cdc.prime.router.CustomerStatus @@ -27,10 +28,9 @@ import gov.cdc.prime.router.Schema import gov.cdc.prime.router.Topic import gov.cdc.prime.router.azure.BlobAccess import gov.cdc.prime.router.azure.ConditionStamper -import gov.cdc.prime.router.azure.ConditionStamper.Companion.conditionCodeExtensionURL +import gov.cdc.prime.router.azure.ConditionStamper.Companion.CONDITION_CODE_EXTENSION_URL import gov.cdc.prime.router.azure.DatabaseAccess import gov.cdc.prime.router.azure.LookupTableConditionMapper -import gov.cdc.prime.router.azure.QueueAccess import gov.cdc.prime.router.fhirengine.engine.RSMessageType import gov.cdc.prime.router.fhirengine.translation.hl7.utils.CustomContext import gov.cdc.prime.router.fhirengine.translation.hl7.utils.FhirPathUtils @@ -77,7 +77,6 @@ class FHIRBundleHelpersTests { val connection = MockConnection(dataProvider) val accessSpy = spyk(DatabaseAccess(connection)) val blobMock = mockkClass(BlobAccess::class) - val queueMock = mockkClass(QueueAccess::class) val metadata = Metadata(schema = Schema(name = "None", topic = Topic.FULL_ELR, elements = emptyList())) private val shorthandLookupTable = emptyMap<String, String>().toMutableMap() @@ -584,7 +583,7 @@ class FHIRBundleHelpersTests { val fhirRecord = File(VALID_ROUTING_DATA_URL).readText() val bundle = FhirContext.forR4().newJsonParser().parseResource(Bundle::class.java, fhirRecord) bundle.getObservations()[0].code.coding[0].addExtension( - conditionCodeExtensionURL, Coding("SOMESYSTEM", "840539006", "SOMECONDITION") + CONDITION_CODE_EXTENSION_URL, Coding("SOMESYSTEM", "840539006", "SOMECONDITION") ) val filteredBundle = bundle.filterMappedObservations( @@ -666,12 +665,11 @@ class FHIRBundleHelpersTests { val bundle = messages[0] assertThat(bundle).isNotNull() - // create the hl7 reader - val hl7Reader = HL7Reader(actionLogger) + // create the hl7 message val hl7Message = File("src/test/resources/fhirengine/engine/hl7_with_birth_time.hl7").readText() - val hl7messages = hl7Reader.getMessages(hl7Message) + val parsedHl7Message = Hl7InputStreamMessageIterator(hl7Message.byteInputStream()).next() - bundle.handleBirthTime(hl7messages[0]) + bundle.handleBirthTime(parsedHl7Message) val patient = FhirPathUtils.evaluate( CustomContext(bundle, bundle), @@ -697,12 +695,11 @@ class FHIRBundleHelpersTests { val bundle = messages[0] assertThat(bundle).isNotNull() - // create the hl7 reader - val hl7Reader = HL7Reader(actionLogger) + // create the hl7 message val hl7Message = File("src/test/resources/fhirengine/engine/hl7_with_birth_time.hl7").readText() - val hl7messages = hl7Reader.getMessages(hl7Message) + val parsedHl7Message = Hl7InputStreamMessageIterator(hl7Message.byteInputStream()).next() - bundle.handleBirthTime(hl7messages[0]) + bundle.handleBirthTime(parsedHl7Message) val patient = FhirPathUtils.evaluate( CustomContext(bundle, bundle), @@ -728,14 +725,13 @@ class FHIRBundleHelpersTests { val bundle = messages[0] assertThat(bundle).isNotNull() - // create the hl7 reader - val hl7Reader = HL7Reader(actionLogger) + // create the hl7 message val hl7Message = File("src/test/resources/fhirengine/engine/hl7_with_birth_time.hl7").readText() - val hl7Messages = hl7Reader.getMessages(hl7Message) + val parsedHl7Message = Hl7InputStreamMessageIterator(hl7Message.byteInputStream()).next() - assertThat(hl7Messages[0]["MSH"] is MSH).isTrue() + assertThat(parsedHl7Message["MSH"] is MSH).isTrue() - bundle.enhanceBundleMetadata(hl7Messages[0]) + bundle.enhanceBundleMetadata(parsedHl7Message) val expectedDate = Date(1612994857000) // Wednesday, February 10, 2021 10:07:37 PM GMT assertThat(bundle.timestamp).isEqualTo(expectedDate) @@ -753,14 +749,13 @@ class FHIRBundleHelpersTests { val bundle = messages[0] assertThat(bundle).isNotNull() - // create the hl7 reader - val hl7Reader = HL7Reader(actionLogger) + // create the hl7 message val hl7Message = File("src/test/resources/fhirengine/engine/hl7_2.7.hl7").readText() - val hl7Messages = hl7Reader.getMessages(hl7Message) + val parsedHl7Message = Hl7InputStreamMessageIterator(hl7Message.byteInputStream()).next() - assertThat(hl7Messages[0]["MSH"] is ca.uhn.hl7v2.model.v27.segment.MSH).isTrue() + assertThat(parsedHl7Message["MSH"] is ca.uhn.hl7v2.model.v27.segment.MSH).isTrue() - bundle.enhanceBundleMetadata(hl7Messages[0]) + bundle.enhanceBundleMetadata(parsedHl7Message) val expectedDate = Date(1612994857000) // Wednesday, February 10, 2021 10:07:37 PM GMT assertThat(bundle.timestamp).isEqualTo(expectedDate) @@ -778,15 +773,14 @@ class FHIRBundleHelpersTests { val bundle = messages[0] assertThat(bundle).isNotNull() - // create the hl7 reader - val hl7Reader = HL7Reader(actionLogger) + // create the hl7 message val hl7Message = File("src/test/resources/fhirengine/engine/hl7_2.6.hl7").readText() - val hl7Messages = hl7Reader.getMessages(hl7Message) + val parsedHl7Message = Hl7InputStreamMessageIterator(hl7Message.byteInputStream()).next() - assertThat(hl7Messages[0]["MSH"] is MSH).isFalse() - assertThat(hl7Messages[0]["MSH"] is ca.uhn.hl7v2.model.v27.segment.MSH).isFalse() + assertThat(parsedHl7Message["MSH"] is MSH).isFalse() + assertThat(parsedHl7Message["MSH"] is ca.uhn.hl7v2.model.v27.segment.MSH).isFalse() - bundle.enhanceBundleMetadata(hl7Messages[0]) + bundle.enhanceBundleMetadata(parsedHl7Message) assertThat(bundle.timestamp).isNull() assertThat(bundle.identifier.value).isNull() @@ -887,7 +881,7 @@ class FHIRBundleHelpersTests { assertThat(failure.failures.first().code).isEqualTo("some-unmapped-code") val extension = code.coding.first().extension.first() - assertThat(extension.url).isEqualTo(conditionCodeExtensionURL) + assertThat(extension.url).isEqualTo(CONDITION_CODE_EXTENSION_URL) assertThat((extension.value as? Coding)?.code).isEqualTo("6142004") } @@ -940,7 +934,7 @@ class FHIRBundleHelpersTests { val extensions = entry.getMappedConditionExtensions() assertThat(extensions) .extracting { it.url } - .each { it.isEqualTo(conditionCodeExtensionURL) } + .each { it.isEqualTo(CONDITION_CODE_EXTENSION_URL) } } @Test @@ -986,7 +980,7 @@ class FHIRBundleHelpersTests { assertThat(result.failures).isEmpty() val extension = code.coding.first().extension.first() - assertThat(extension.url).isEqualTo(conditionCodeExtensionURL) + assertThat(extension.url).isEqualTo(CONDITION_CODE_EXTENSION_URL) assertThat(extension.value) .isInstanceOf<Coding>() .transform { it.code } @@ -1034,7 +1028,7 @@ class FHIRBundleHelpersTests { assertThat(result.failures).isEmpty() val extension = code.coding.first().extension.first() - assertThat(extension.url).isEqualTo(conditionCodeExtensionURL) + assertThat(extension.url).isEqualTo(CONDITION_CODE_EXTENSION_URL) assertThat(extension.value) .isInstanceOf<Coding>() .transform { it.code } diff --git a/prime-router/src/test/kotlin/fhirengine/utils/HL7QueueMessageHelpersTests.kt b/prime-router/src/test/kotlin/fhirengine/utils/HL7QueueMessageHelpersTests.kt index 21e56122939..6f08e4cc95d 100644 --- a/prime-router/src/test/kotlin/fhirengine/utils/HL7QueueMessageHelpersTests.kt +++ b/prime-router/src/test/kotlin/fhirengine/utils/HL7QueueMessageHelpersTests.kt @@ -7,8 +7,8 @@ import assertk.assertions.isNotEmpty import assertk.assertions.isNotNull import assertk.assertions.isTrue import assertk.assertions.startsWith +import ca.uhn.hl7v2.util.Hl7InputStreamMessageStringIterator import ca.uhn.hl7v2.util.Terser -import gov.cdc.prime.router.ActionLogger import gov.cdc.prime.router.Hl7Configuration import gov.cdc.prime.router.Receiver import gov.cdc.prime.router.Topic @@ -135,7 +135,10 @@ OBX|1|ST|MLI-4000.15^TEMPERATURE||97.7|deg f|||||R|||19980601184619 """.trimIndent() val batchFile = HL7MessageHelpers.batchMessages(listOf(hl7Message, hl7Message), receiver) - val messages = HL7Reader(ActionLogger()).getMessages(batchFile) + val messages = Hl7InputStreamMessageStringIterator(batchFile.byteInputStream()).asSequence() + .map { rawItem -> + HL7Reader.parseHL7Message(rawItem) + }.toList() assertThat(messages).isNotEmpty() assertThat(messages.size).isEqualTo(2) val a = Terser(messages[0]) diff --git a/prime-router/src/test/kotlin/fhirengine/utils/HL7ReaderTests.kt b/prime-router/src/test/kotlin/fhirengine/utils/HL7ReaderTests.kt index aef41a860bf..286074b1230 100644 --- a/prime-router/src/test/kotlin/fhirengine/utils/HL7ReaderTests.kt +++ b/prime-router/src/test/kotlin/fhirengine/utils/HL7ReaderTests.kt @@ -2,23 +2,17 @@ package gov.cdc.prime.router.fhirengine.utils import assertk.assertThat import assertk.assertions.contains -import assertk.assertions.hasSize import assertk.assertions.isEqualTo import assertk.assertions.isFalse -import assertk.assertions.isInstanceOf import assertk.assertions.isNotNull import assertk.assertions.isNull import assertk.assertions.isTrue +import ca.uhn.hl7v2.ErrorCode +import ca.uhn.hl7v2.HL7Exception import ca.uhn.hl7v2.model.Message -import ca.uhn.hl7v2.model.v27.datatype.CWE -import ca.uhn.hl7v2.model.v27.segment.OBX -import ca.uhn.hl7v2.util.Terser -import gov.cdc.prime.router.ActionLogger -import io.mockk.every -import io.mockk.mockk -import io.mockk.spyk -import io.mockk.verify -import org.apache.logging.log4j.kotlin.KotlinLogger +import ca.uhn.hl7v2.parser.EncodingNotSupportedException +import org.apache.commons.lang3.exception.ExceptionUtils +import java.lang.Exception import java.text.SimpleDateFormat import kotlin.test.Test @@ -44,36 +38,39 @@ class HL7ReaderTests { @Test fun `test decoding of bad HL7 messages`() { - val actionLogger = ActionLogger() - val hl7Reader = HL7Reader(actionLogger) - // Empty data val badData1 = "" - hl7Reader.getMessages(badData1) - assertThat(actionLogger.hasErrors()).isTrue() - actionLogger.logs.clear() + try { + HL7Reader.parseHL7Message(badData1) + } catch (e: Exception) { + assertThat(e is HL7Exception).isTrue() + assertThat(ExceptionUtils.getRootCause(e) is EncodingNotSupportedException).isTrue() + } // Some CSV was sent val badData2 = """ a,b,c 1,2,3 """.trimIndent() - hl7Reader.getMessages(badData2) - assertThat(actionLogger.hasErrors()).isTrue() - actionLogger.logs.clear() + try { + HL7Reader.parseHL7Message(badData2) + } catch (e: Exception) { + assertThat(e is HL7Exception).isTrue() + assertThat(ExceptionUtils.getRootCause(e) is EncodingNotSupportedException).isTrue() + } // Some truncated HL7 val badData3 = "MSH|^~\\&#|MEDITECH^2.16.840.1.114222.4.3.2.2.1.321.111^ISO|COCAA^1.2." - hl7Reader.getMessages(badData3) - assertThat(actionLogger.hasErrors()).isTrue() - actionLogger.logs.clear() + try { + HL7Reader.parseHL7Message(badData3) + } catch (e: Exception) { + assertThat(e is HL7Exception).isTrue() + assertThat(ExceptionUtils.getRootCause(e) is EncodingNotSupportedException).isTrue() + } } @Test fun `test decoding of good HL7 messages`() { - val actionLogger = ActionLogger() - val hl7Reader = HL7Reader(actionLogger) - val goodData1 = """ MSH|^~\&|CDC PRIME - Atlanta, Georgia (Dekalb)^2.16.840.1.114222.4.1.237821^ISO|Avante at Ormond Beach^10D0876999^CLIA|PRIME_DOH|Prime ReportStream|20210210170737||ORU^R01^ORU_R01|371784|P|2.5.1|||NE|NE|USA||||PHLabReportNoAck^ELR_Receiver^2.16.840.1.113883.9.11^ISO SFT|Centers for Disease Control and Prevention|0.1-SNAPSHOT|PRIME ReportStream|0.1-SNAPSHOT||20210210 @@ -89,49 +86,12 @@ OBX|6|CWE|82810-3^Pregnant^LN^^^^2.69||N^No^HL70136||||||F|||202102090000-0600|| NTE|1|L|This is a note|RE SPM|1|b518ef23-1d9a-40c1-ac4b-ed7b438dfc4b||258500001^Nasopharyngeal swab^SCT||||71836000^Nasopharyngeal structure (body structure)^SCT^^^^2020-09-01|||||||||202102090000-0600|202102090000-0600 """.trimIndent() - var messages = hl7Reader.getMessages(goodData1) - assertThat(actionLogger.hasErrors()).isFalse() - assertThat(messages.size).isEqualTo(1) - actionLogger.logs.clear() - - val goodData2 = """ -FHS|^~\&|CDC PRIME - Atlanta, Georgia (Dekalb)^2.16.840.1.114222.4.1.237821^ISO|CDC PRIME - Atlanta, Georgia (Dekalb)^2.16.840.1.114222.4.1.237821^ISO|||202102101707-0500 -BHS|^~\&|CDC PRIME - Atlanta, Georgia (Dekalb)^2.16.840.1.114222.4.1.237821^ISO|CDC PRIME - Atlanta, Georgia (Dekalb)^2.16.840.1.114222.4.1.237821^ISO|||202102101707-0500 -MSH|^~\&|CDC PRIME - Atlanta, Georgia (Dekalb)^2.16.840.1.114222.4.1.237821^ISO|Avante at Ormond Beach^10D0876999^CLIA|PRIME_DOH|Prime ReportStream|20210210170737||ORU^R01^ORU_R01|371784|P|2.5.1|||NE|NE|USA||||PHLabReportNoAck^ELR_Receiver^2.16.840.1.113883.9.11^ISO -SFT|Centers for Disease Control and Prevention|0.1-SNAPSHOT|PRIME ReportStream|0.1-SNAPSHOT||20210210 -PID|1||2a14112c-ece1-4f82-915c-7b3a8d152eda^^^Avante at Ormond Beach^PI||Buckridge^Kareem^Millie^^^^L||19580810|F||2106-3^White^HL70005^^^^2.5.1|688 Leighann Inlet^^South Rodneychester^TX^67071^^^^48077||7275555555:1:^PRN^^roscoe.wilkinson@email.com^1^211^2240784|||||||||U^Unknown^HL70189||||||||N -ORC|RE|73a6e9bd-aaec-418e-813a-0ad33366ca85|73a6e9bd-aaec-418e-813a-0ad33366ca85|||||||||1629082607^Eddin^Husam^^^^^^CMS&2.16.840.1.113883.3.249&ISO^^^^NPI||^WPN^^^1^386^6825220|20210209||||||Avante at Ormond Beach|170 North King Road^^Ormond Beach^FL^32174^^^^12127|^WPN^^jbrush@avantecenters.com^1^407^7397506|^^^^32174 -OBR|1|73a6e9bd-aaec-418e-813a-0ad33366ca85|0cba76f5-35e0-4a28-803a-2f31308aae9b|94558-4^SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay^LN|||202102090000-0600|202102090000-0600||||||||1629082607^Eddin^Husam^^^^^^CMS&2.16.840.1.113883.3.249&ISO^^^^NPI|^WPN^^^1^386^6825220|||||202102090000-0600|||F -OBX|1|CWE|94558-4^SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay^LN||260415000^Not detected^SCT|||N^Normal (applies to non-numeric results)^HL70078|||F|||202102090000-0600|||CareStart COVID-19 Antigen test_Access Bio, Inc._EUA^^99ELR||202102090000-0600||||Avante at Ormond Beach^^^^^CLIA&2.16.840.1.113883.4.7&ISO^^^^10D0876999^CLIA|170 North King Road^^Ormond Beach^FL^32174^^^^12127 -OBX|2|CWE|95418-0^Whether patient is employed in a healthcare setting^LN^^^^2.69||Y^Yes^HL70136||||||F|||202102090000-0600|||||||||||||||QST -OBX|3|CWE|95417-2^First test for condition of interest^LN^^^^2.69||Y^Yes^HL70136||||||F|||202102090000-0600|||||||||||||||QST -OBX|4|CWE|95421-4^Resides in a congregate care setting^LN^^^^2.69||N^No^HL70136||||||F|||202102090000-0600|||||||||||||||QST -OBX|5|CWE|95419-8^Has symptoms related to condition of interest^LN^^^^2.69||N^No^HL70136||||||F|||202102090000-0600|||||||||||||||QST -SPM|1|0cba76f5-35e0-4a28-803a-2f31308aae9b||258500001^Nasopharyngeal swab^SCT||||71836000^Nasopharyngeal structure (body structure)^SCT^^^^2020-09-01|||||||||202102090000-0600|202102090000-0600 -MSH|^~\&|CDC PRIME - Atlanta, Georgia (Dekalb)^2.16.840.1.114222.4.1.237821^ISO|Avante at Ormond Beach^10D0876999^CLIA|PRIME_DOH|Prime ReportStream|20210210170737||ORU^R01^ORU_R01|612092|P|2.5.1|||NE|NE|USA||||PHLabReportNoAck^ELR_Receiver^2.16.840.1.113883.9.11^ISO -SFT|Centers for Disease Control and Prevention|0.1-SNAPSHOT|PRIME ReportStream|0.1-SNAPSHOT||20210210 -PID|1||a40ea680-51bc-4a05-bf23-786dd08e64f2^^^Avante at Ormond Beach^PI||Keeling^Tyson^Chuck^^^^L||19550206|M||2106-3^White^HL70005^^^^2.5.1|97065 Mohr Island^Street^North Taylor^TX^69622^^^^48077||7275555555:1:^PRN^^kenton.wilderman@email.com^1^281^2498561|||||||||U^Unknown^HL70189||||||||N -ORC|RE|4ba0f2c4-5f39-4716-9daa-d450573e7019|4ba0f2c4-5f39-4716-9daa-d450573e7019|||||||||1629082607^Eddin^Husam^^^^^^CMS&2.16.840.1.113883.3.249&ISO^^^^NPI||^WPN^^^1^386^6825220|20210209||||||Avante at Ormond Beach|170 North King Road^^Ormond Beach^FL^32174^^^^12127|^WPN^^jbrush@avantecenters.com^1^407^7397506|^^^^32174 -OBR|1|4ba0f2c4-5f39-4716-9daa-d450573e7019|b518ef23-1d9a-40c1-ac4b-ed7b438dfc4b|94558-4^SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay^LN|||202102090000-0600|202102090000-0600||||||||1629082607^Eddin^Husam^^^^^^CMS&2.16.840.1.113883.3.249&ISO^^^^NPI|^WPN^^^1^386^6825220|||||202102090000-0600|||F -OBX|1|CWE|94558-4^SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay^LN||260415000^Not detected^SCT|||N^Normal (applies to non-numeric results)^HL70078|||F|||202102090000-0600|||CareStart COVID-19 Antigen test_Access Bio, Inc._EUA^^99ELR||202102090000-0600||||Avante at Ormond Beach^^^^^CLIA&2.16.840.1.113883.4.7&ISO^^^^10D0876999^CLIA|170 North King Road^^Ormond Beach^FL^32174^^^^12127 -OBX|2|CWE|95418-0^Whether patient is employed in a healthcare setting^LN^^^^2.69||Y^Yes^HL70136||||||F|||202102090000-0600|||||||||||||||QST -OBX|3|CWE|95417-2^First test for condition of interest^LN^^^^2.69||Y^Yes^HL70136||||||F|||202102090000-0600|||||||||||||||QST -OBX|4|CWE|95421-4^Resides in a congregate care setting^LN^^^^2.69||N^No^HL70136||||||F|||202102090000-0600|||||||||||||||QST -OBX|5|CWE|95419-8^Has symptoms related to condition of interest^LN^^^^2.69||N^No^HL70136||||||F|||202102090000-0600|||||||||||||||QST -SPM|1|b518ef23-1d9a-40c1-ac4b-ed7b438dfc4b||258500001^Nasopharyngeal swab^SCT||||71836000^Nasopharyngeal structure (body structure)^SCT^^^^2020-09-01|||||||||202102090000-0600|202102090000-0600 -BTS|2 -FTS|1 - """.trimIndent() - messages = hl7Reader.getMessages(goodData2) - assertThat(actionLogger.hasErrors()).isFalse() - assertThat(messages.size).isEqualTo(2) - actionLogger.logs.clear() + val message = HL7Reader.parseHL7Message(goodData1) + assertThat(message.isEmpty).isFalse() } @Test fun `test get message time stamp`() { - val hl7Reader = HL7Reader(ActionLogger()) - fun getTestMessage(timestampStr: String): Message { val rawData = """ MSH|^~\&|CDC PRIME - Atlanta, Georgia (Dekalb)^2.16.840.1.114222.4.1.237821^ISO|Avante at Ormond Beach^10D0876999^CLIA|PRIME_DOH|Prime ReportStream|$timestampStr||ORU^R01^ORU_R01|371784|P|2.5.1|||NE|NE|USA||||PHLabReportNoAck^ELR_Receiver^2.16.840.1.113883.9.11^ISO @@ -141,9 +101,9 @@ ORC|RE|73a6e9bd-aaec-418e-813a-0ad33366ca85|73a6e9bd-aaec-418e-813a-0ad33366ca85 OBR|1|73a6e9bd-aaec-418e-813a-0ad33366ca85|b518ef23-1d9a-40c1-ac4b-ed7b438dfc4b|94558-4^SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay^LN|||202102090000-0600|202102090000-0600||||||||1629082607^Eddin^Husam^^^^^^CMS&2.16.840.1.113883.3.249&ISO^^^^NPI|^WPN^^^1^386^6825220|||||202102090000-0600|||F OBX|1|CWE|94558-4^SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay^LN||260415000^Not detected^SCT|||N^Normal (applies to non-numeric results)^HL70078|||F|||202102090000-0600|||CareStart COVID-19 Antigen test_Access Bio, Inc._EUA^^99ELR||202102090000-0600||||Avante at Ormond Beach^^^^^CLIA&2.16.840.1.113883.4.7&ISO^^^^10D0876999^CLIA|170 North King Road^^Ormond Beach^FL^32174^^^^12127 """.trimIndent() - val message = hl7Reader.getMessages(rawData) - assertThat(message.size).isEqualTo(1) - return message[0] + val message = HL7Reader.parseHL7Message(rawData) + assertThat(message.isEmpty).isFalse() + return message } var timestampStr = "" @@ -163,38 +123,32 @@ OBX|1|CWE|94558-4^SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by @Test fun `test decoding of bad HL7 message - MSH Version ID missing`() { - val actionLogger = ActionLogger() - val hl7Reader = HL7Reader(actionLogger) - val goodData1 = """ MSH|^~\&|CDC PRIME - Atlanta, Georgia (Dekalb)^2.16.840.1.114222.4.1.237821^ISO|Avante at Ormond Beach^10D0876999^CLIA|PRIME_DOH|Prime ReportStream|20210210170737||ORU^R01^ORU_R01|371784|P||||NE|NE|USA||||PHLabReportNoAck^ELR_Receiver^2.16.840.1.113883.9.11^ISO """.trimIndent() - hl7Reader.getMessages(goodData1) - assertThat(actionLogger.hasErrors()).isTrue() - assertThat(actionLogger.logs[0].detail.message).contains("Required field missing") - actionLogger.logs.clear() + try { + HL7Reader.parseHL7Message(goodData1) + } catch (e: HL7Exception) { + assertThat(e.errorCode).isEqualTo(ErrorCode.REQUIRED_FIELD_MISSING.code) + assertThat(ExceptionUtils.getMessage(e)).contains("Can't find version ID - MSH.12 is null") + } } @Test fun `test decoding of bad HL7 message - OBX Wrong data type`() { - val actionLogger = ActionLogger() - val hl7Reader = HL7Reader(actionLogger) - val goodData1 = """ MSH|^~\&|CDC PRIME - Atlanta, Georgia (Dekalb)^2.16.840.1.114222.4.1.237821^ISO|Avante at Ormond Beach^10D0876999^CLIA|PRIME_DOH|Prime ReportStream|20210210170737||ORU^R01^ORU_R01|371784|P|2.5.1|||NE|NE|USA||||PHLabReportNoAck^ELR_Receiver^2.16.840.1.113883.9.11^ISO OBX|1|test|94558-4^SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay^LN||260415000^Not detected^SCT|||N^Normal (applies to non-numeric results)^HL70078|||F|||202102090000-0600|||CareStart COVID-19 Antigen test_Access Bio, Inc._EUA^^99ELR||202102090000-0600||||Avante at Ormond Beach^^^^^CLIA&2.16.840.1.113883.4.7&ISO^^^^10D0876999^CLIA|170 North King Road^^Ormond Beach^FL^32174^^^^12127 """.trimIndent() - hl7Reader.getMessages(goodData1) - assertThat(actionLogger.hasErrors()).isTrue() - assertThat(actionLogger.logs[0].detail.message).contains("Data type error") - actionLogger.logs.clear() + try { + HL7Reader.parseHL7Message(goodData1) + } catch (e: HL7Exception) { + assertThat(ExceptionUtils.getMessage(e)).contains("trying to set data type of OBX-5") + } } @Test fun `test isBatch with FSH Header`() { - val actionLogger = ActionLogger() - val hl7Reader = HL7Reader(actionLogger) - val goodData1 = """ FHS|^~\&|||0.0.0.0.1|0.0.0.0.1|202106221314-0400 BHS|^~\&|||0.0.0.0.1|0.0.0.0.1|202106221314-0400 @@ -214,16 +168,15 @@ OBX|1|test|94558-4^SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen b BTS|2 FTS|1 """.trimIndent() - val messages = hl7Reader.getMessages(goodData1) - val isBatch = hl7Reader.isBatch(goodData1, messages.size) + val isBatch = HL7Reader.isBatch( + goodData1, + HL7MessageHelpers.messageCount(goodData1) + ) assertThat(isBatch).isTrue() } @Test fun `test isBatch without FSH Header`() { - val actionLogger = ActionLogger() - val hl7Reader = HL7Reader(actionLogger) - val goodData1 = """ MSH|^~\&|CDC PRIME - Atlanta, Georgia (Dekalb)^2.16.840.1.114222.4.1.237821^ISO|Avante at Ormond Beach^10D0876999^CLIA|PRIME_DOH|Prime ReportStream|20210210170737||ORU^R01^ORU_R01|371784|P|2.5.1|||NE|NE|USA||||PHLabReportNoAck^ELR_Receiver^2.16.840.1.113883.9.11^ISO SFT|Centers for Disease Control and Prevention|0.1-SNAPSHOT|PRIME ReportStream|0.1-SNAPSHOT||20210210 @@ -252,16 +205,15 @@ OBX|1|test|94558-4^SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen b NTE|1|L|This is a note|RE SPM|1|b518ef23-1d9a-40c1-ac4b-ed7b438dfc4b||258500001^Nasopharyngeal swab^SCT||||71836000^Nasopharyngeal structure (body structure)^SCT^^^^2020-09-01|||||||||202102090000-0600|202102090000-0600 """.trimIndent() - val messages = hl7Reader.getMessages(goodData1) - val isBatch = hl7Reader.isBatch(goodData1, messages.size) + val isBatch = HL7Reader.isBatch( + goodData1, + HL7MessageHelpers.messageCount(goodData1) + ) assertThat(isBatch).isTrue() } @Test fun `test isBatch singular message`() { - val actionLogger = ActionLogger() - val hl7Reader = HL7Reader(actionLogger) - val goodData1 = """ MSH|^~\&|CDC PRIME - Atlanta, Georgia (Dekalb)^2.16.840.1.114222.4.1.237821^ISO|Avante at Ormond Beach^10D0876999^CLIA|PRIME_DOH|Prime ReportStream|20210210170737||ORU^R01^ORU_R01|371784|P|2.5.1|||NE|NE|USA||||PHLabReportNoAck^ELR_Receiver^2.16.840.1.113883.9.11^ISO SFT|Centers for Disease Control and Prevention|0.1-SNAPSHOT|PRIME ReportStream|0.1-SNAPSHOT||20210210 @@ -277,207 +229,101 @@ OBX|1|test|94558-4^SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen b NTE|1|L|This is a note|RE SPM|1|b518ef23-1d9a-40c1-ac4b-ed7b438dfc4b||258500001^Nasopharyngeal swab^SCT||||71836000^Nasopharyngeal structure (body structure)^SCT^^^^2020-09-01|||||||||202102090000-0600|202102090000-0600 """.trimIndent() - val messages = hl7Reader.getMessages(goodData1) - val isBatch = hl7Reader.isBatch(goodData1, messages.size) + val isBatch = HL7Reader.isBatch( + goodData1, + HL7MessageHelpers.messageCount(goodData1) + ) assertThat(isBatch).isFalse() } @Test fun `test getMessageType`() { - val actionLogger = ActionLogger() - val hL7Reader = HL7Reader(actionLogger) val justMSH = """ MSH|^~\&|CDC PRIME - Atlanta, Georgia (Dekalb)^2.16.840.1.114222.4.1.237821^ISO|Avante at Ormond Beach^10D0876999^CLIA|PRIME_DOH|Prime ReportStream|20210210170737||ORU^R01^ORU_R01|371784|P|2.5.1|||NE|NE|USA||||PHLabReportNoAck^ELR_Receiver^2.16.840.1.113883.9.11^ISO """.trimIndent() - val messages = hL7Reader.getMessages(justMSH) - val type = HL7Reader.getMessageType(messages[0]) + val message = HL7Reader.parseHL7Message(justMSH) + val type = HL7Reader.getMessageType(message) assertThat(type).isEqualTo("ORU") } - @Test - fun `test getMessageProfile`() { - val justMSH = """ - MSH|^~\&|CDC PRIME - Atlanta, Georgia (Dekalb)^2.16.840.1.114222.4.1.237821^ISO|Avante at Ormond Beach^10D0876999^CLIA|PRIME_DOH|Prime ReportStream|20210210170737||ORU^R01^ORU_R01|371784|P|2.5.1|||NE|NE|USA||||PHLabReportNoAck^ELR_Receiver^2.16.840.1.113883.9.11^ISO - """.trimIndent() - val messages = HL7Reader.getMessageProfile(justMSH) - assertThat(messages).isEqualTo( - HL7Reader.Companion.MessageProfile( - "ORU", - "NIST_ELR" - ) - ) - - val noProfile = """ - MSH|^~\&|CDC PRIME - Atlanta, Georgia (Dekalb)^2.16.840.1.114222.4.1.237821^ISO|Avante at Ormond Beach^10D0876999^CLIA|PRIME_DOH|Prime ReportStream|20210210170737||ORU^R01^ORU_R01|371784|P|2.5.1|||NE|NE|USA - """.trimIndent() - val messages2 = HL7Reader.getMessageProfile(noProfile) - assertThat(messages2).isEqualTo( - HL7Reader.Companion.MessageProfile( - "ORU", - "" - ) - ) - } - @Test fun `test getBirthTime_DateTime`() { - val actionLogger = ActionLogger() - val hL7Reader = HL7Reader(actionLogger) val birthTimeMessage = """ MSH|^~\&|CDC PRIME - Atlanta, Georgia (Dekalb)^2.16.840.1.114222.4.1.237821^ISO|Avante at Ormond Beach^10D0876999^CLIA|PRIME_DOH|Prime ReportStream|20210210170737||ORM^O01^ORM_O01|371784|P|2.5.1|||NE|NE|USA||||PHLabReportNoAck^ELR_Receiver^2.16.840.1.113883.9.11^ISO SFT|Centers for Disease Control and Prevention|0.1-SNAPSHOT|PRIME ReportStream|0.1-SNAPSHOT||20210210 PID|1||2a14112c-ece1-4f82-915c-7b3a8d152eda^^^Avante at Ormond Beach^PI||Buckridge^Kareem^Millie^^^^L||195808100102034|F||2106-3^White^HL70005^^^^2.5.1|688 Leighann Inlet^^South Rodneychester^TX^67071^^^^48077||7275555555:1:^PRN^^roscoe.wilkinson@email.com^1^211^2240784|||||||||U^Unknown^HL70189||||||||N """.trimIndent() - val messages = hL7Reader.getMessages(birthTimeMessage) - val type = HL7Reader.getBirthTime(messages[0]) + val message = HL7Reader.parseHL7Message(birthTimeMessage) + val type = HL7Reader.getBirthTime(message) assertThat(type).isEqualTo("195808100102034") } @Test fun `test getBirthTime_Date`() { - val actionLogger = ActionLogger() - val hL7Reader = HL7Reader(actionLogger) val birthDateMessage = """ MSH|^~\&|CDC PRIME - Atlanta, Georgia (Dekalb)^2.16.840.1.114222.4.1.237821^ISO|Avante at Ormond Beach^10D0876999^CLIA|PRIME_DOH|Prime ReportStream|20210210170737||ORM^O01^ORM_O01|371784|P|2.5.1|||NE|NE|USA||||PHLabReportNoAck^ELR_Receiver^2.16.840.1.113883.9.11^ISO SFT|Centers for Disease Control and Prevention|0.1-SNAPSHOT|PRIME ReportStream|0.1-SNAPSHOT||20210210 PID|1||2a14112c-ece1-4f82-915c-7b3a8d152eda^^^Avante at Ormond Beach^PI||Buckridge^Kareem^Millie^^^^L||19580810|F||2106-3^White^HL70005^^^^2.5.1|688 Leighann Inlet^^South Rodneychester^TX^67071^^^^48077||7275555555:1:^PRN^^roscoe.wilkinson@email.com^1^211^2240784|||||||||U^Unknown^HL70189||||||||N """.trimIndent() - val messages = hL7Reader.getMessages(birthDateMessage) - val type = HL7Reader.getBirthTime(messages[0]) + val message = HL7Reader.parseHL7Message(birthDateMessage) + val type = HL7Reader.getBirthTime(message) assertThat(type).isEqualTo("19580810") } @Test fun `test getPatientPath_ORM`() { - val actionLogger = ActionLogger() - val hL7Reader = HL7Reader(actionLogger) val birthDateMessage = """ MSH|^~\&|CDC PRIME - Atlanta, Georgia (Dekalb)^2.16.840.1.114222.4.1.237821^ISO|Avante at Ormond Beach^10D0876999^CLIA|PRIME_DOH|Prime ReportStream|20210210170737||ORM^O01^ORM_O01|371784|P|2.5.1|||NE|NE|USA||||PHLabReportNoAck^ELR_Receiver^2.16.840.1.113883.9.11^ISO SFT|Centers for Disease Control and Prevention|0.1-SNAPSHOT|PRIME ReportStream|0.1-SNAPSHOT||20210210 PID|1||2a14112c-ece1-4f82-915c-7b3a8d152eda^^^Avante at Ormond Beach^PI||Buckridge^Kareem^Millie^^^^L||19580810|F||2106-3^White^HL70005^^^^2.5.1|688 Leighann Inlet^^South Rodneychester^TX^67071^^^^48077||7275555555:1:^PRN^^roscoe.wilkinson@email.com^1^211^2240784|||||||||U^Unknown^HL70189||||||||N """.trimIndent() - val messages = hL7Reader.getMessages(birthDateMessage) - val type = HL7Reader.getPatientPath(messages[0]) + val message = HL7Reader.parseHL7Message(birthDateMessage) + val type = HL7Reader.getPatientPath(message) assertThat(type).isEqualTo("PATIENT") } @Test fun `test getPatientPath_OML`() { - val actionLogger = ActionLogger() - val hL7Reader = HL7Reader(actionLogger) val birthDateMessage = """ MSH|^~\&|CDC PRIME - Atlanta, Georgia (Dekalb)^2.16.840.1.114222.4.1.237821^ISO|Avante at Ormond Beach^10D0876999^CLIA|PRIME_DOH|Prime ReportStream|20210210170737||OML^O21^OML_O21|371784|P|2.5.1|||NE|NE|USA||||PHLabReportNoAck^ELR_Receiver^2.16.840.1.113883.9.11^ISO SFT|Centers for Disease Control and Prevention|0.1-SNAPSHOT|PRIME ReportStream|0.1-SNAPSHOT||20210210 PID|1||2a14112c-ece1-4f82-915c-7b3a8d152eda^^^Avante at Ormond Beach^PI||Buckridge^Kareem^Millie^^^^L||19580810|F||2106-3^White^HL70005^^^^2.5.1|688 Leighann Inlet^^South Rodneychester^TX^67071^^^^48077||7275555555:1:^PRN^^roscoe.wilkinson@email.com^1^211^2240784|||||||||U^Unknown^HL70189||||||||N """.trimIndent() - val messages = hL7Reader.getMessages(birthDateMessage) - val type = HL7Reader.getPatientPath(messages[0]) + val message = HL7Reader.parseHL7Message(birthDateMessage) + val type = HL7Reader.getPatientPath(message) assertThat(type).isEqualTo("PATIENT") } @Test fun `test getPatientPath_ORU`() { - val actionLogger = ActionLogger() - val hL7Reader = HL7Reader(actionLogger) val birthDateMessage = """ MSH|^~\&|CDC PRIME - Atlanta, Georgia (Dekalb)^2.16.840.1.114222.4.1.237821^ISO|Avante at Ormond Beach^10D0876999^CLIA|PRIME_DOH|Prime ReportStream|20210210170737||ORU^R01^ORU_R01|371784|P|2.5.1|||NE|NE|USA||||PHLabReportNoAck^ELR_Receiver^2.16.840.1.113883.9.11^ISO SFT|Centers for Disease Control and Prevention|0.1-SNAPSHOT|PRIME ReportStream|0.1-SNAPSHOT||20210210 PID|1||2a14112c-ece1-4f82-915c-7b3a8d152eda^^^Avante at Ormond Beach^PI||Buckridge^Kareem^Millie^^^^L||19580810|F||2106-3^White^HL70005^^^^2.5.1|688 Leighann Inlet^^South Rodneychester^TX^67071^^^^48077||7275555555:1:^PRN^^roscoe.wilkinson@email.com^1^211^2240784|||||||||U^Unknown^HL70189||||||||N """.trimIndent() - val messages = hL7Reader.getMessages(birthDateMessage) - val type = HL7Reader.getPatientPath(messages[0]) + val message = HL7Reader.parseHL7Message(birthDateMessage) + val type = HL7Reader.getPatientPath(message) assertThat(type).isEqualTo("PATIENT_RESULT/PATIENT") } @Test fun `test getPatientPath_Other`() { - val actionLogger = ActionLogger() - val hL7Reader = HL7Reader(actionLogger) val birthDateMessage = """ MSH|^~\&|CDC PRIME - Atlanta, Georgia (Dekalb)^2.16.840.1.114222.4.1.237821^ISO|Avante at Ormond Beach^10D0876999^CLIA|PRIME_DOH|Prime ReportStream|20210210170737||TEST^O01^TEST_O01|371784|P|2.5.1|||NE|NE|USA||||PHLabReportNoAck^ELR_Receiver^2.16.840.1.113883.9.11^ISO SFT|Centers for Disease Control and Prevention|0.1-SNAPSHOT|PRIME ReportStream|0.1-SNAPSHOT||20210210 PID|1||2a14112c-ece1-4f82-915c-7b3a8d152eda^^^Avante at Ormond Beach^PI||Buckridge^Kareem^Millie^^^^L||19580810|F||2106-3^White^HL70005^^^^2.5.1|688 Leighann Inlet^^South Rodneychester^TX^67071^^^^48077||7275555555:1:^PRN^^roscoe.wilkinson@email.com^1^211^2240784|||||||||U^Unknown^HL70189||||||||N """.trimIndent() - val messages = hL7Reader.getMessages(birthDateMessage) - val type = HL7Reader.getPatientPath(messages[0]) + val message = HL7Reader.parseHL7Message(birthDateMessage) + val type = HL7Reader.getPatientPath(message) assertThat(type).isEqualTo(null) } - @Test - fun `get getMessages no mapped models`() { - val actionLogger = ActionLogger() - val hl7Reader = spyk(HL7Reader(actionLogger), recordPrivateCalls = true) - val mockedLogger = mockk<KotlinLogger>() - - every { hl7Reader.logger } returns mockedLogger - every { mockedLogger.warn(any<String>()) } returns Unit - - val goodData1 = """ - MSH|^~\&|ADT1|GOOD HEALTH HOSPITAL|GHH LAB, INC.|GOOD HEALTH HOSPITAL|198808181126|SECURITY|ADT^A01^ADT_A01|MSG00001|P|2.5.1|| - EVN|A01|200708181123|| - PID|1||PATID1234^5^M11^ADT1^MR^GOOD HEALTH HOSPITAL~123456789^^^USSSA^SS||EVERYMAN^ADAM^A^III||19610615|M||C|2222 HOME STREET^^GREENSBORO^NC^27401-1020|GL|(555) 555-2004|(555)555-2004||S||PATID12345001^2^M10^ADT1^AN^A|444333333|987654^NC| - NK1|1|NUCLEAR^NELDA^W|SPO^SPOUSE||||NK^NEXT OF KIN - PV1|1|I|2000^2012^01||||004777^ATTEND^AARON^A|||SUR||||ADM|A0| - """.trimIndent() - val messages = hl7Reader.getMessages(goodData1) - assertThat(messages).hasSize(1) - verify { - mockedLogger.warn("ADT did not have any mapped message model classes, using default behavior") - } - } - - @Test - fun `get getMessages v27 succeeds`() { - val actionLogger = ActionLogger() - val hL7Reader = HL7Reader(actionLogger) - - val data = """ - MSH|^~\&|CDC PRIME - Atlanta, Georgia (Dekalb)^2.16.840.1.114222.4.1.237821^ISO|Avante at Ormond Beach^10D0876999^CLIA|PRIME_DOH|Prime ReportStream|20210210170737||ORU^R01^ORU_R01|371784|P|2.5.1|||NE|NE|USA||||PHLabReportNoAck^ELR_Receiver^2.16.840.1.113883.9.11^ISO - SFT|Centers for Disease Control and Prevention|0.1-SNAPSHOT|PRIME ReportStream|0.1-SNAPSHOT||20210210 - PID|1||2a14112c-ece1-4f82-915c-7b3a8d152eda^^^Avante at Ormond Beach^PI||Buckridge^Kareem^Millie^^^^L||19580810|F||2106-3^White^HL70005^^^^2.5.1|688 Leighann Inlet^^South Rodneychester^TX^67071^^^^48077||7275555555:1:^PRN^^roscoe.wilkinson@email.com^1^211^2240784|||||||||U^Unknown^HL70189||||||||N - ORC|RE|73a6e9bd-aaec-418e-813a-0ad33366ca85|73a6e9bd-aaec-418e-813a-0ad33366ca85|||||||||1629082607^Eddin^Husam^^^^^^CMS&2.16.840.1.113883.3.249&ISO^^^^NPI||^WPN^^^1^386^6825220|20210209||||||Avante at Ormond Beach|170 North King Road^^Ormond Beach^FL^32174^^^^12127|^WPN^^jbrush@avantecenters.com^1^407^7397506|^^^^32174 - OBR|1|sphlspid^SPHL-000048^2.16.840.1.114222.4.1.10765^ISO|3015894676_04608646^STARLIMS.CDC.Stag^2.16.840.1.114222.4.3.3.2.1.2^ISO|68991-9^Epidemiologically Important Information^LN^^^^2.69^^^CDC-10516^Poxvirus Serology^L^^2.16.840.1.113883.6.1|||202302101135|||||||||SPHL-000148^CA-Veterans Affairs Palo Alto Healthcare System^^^^^^^STARLIMS.CDC.Stag&2.16.840.1.114222.4.3.3.2.1.2&ISO^^^^XX|^NET^Internet^mark.holodniy@va.gov|||||202302131116-0500|||F - OBX|1|CWE|68993-5^Human RNase P RNA XXX Ql NAA+probe^LN^3844^RNaseP human DNA^L^2.69^v_unknown^RNaseP human DNA|ZZYGNASR-1|260385009^Negative^SCT^^^^09012018^^Negative (No human DNA present)||||||C|||202302101135|11D0668319^Centers for Disease Control and Prevention^CLIA^47^Poxvirus Laboratory/Poxvirus and Rabies Branch^L|UIE8@CDC.GOV^Perkins ^Kayla|||20230213102132||||Centers for Disease Control and Prevention^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^11D0668319|1600 Clifton Rd^^Atlanta^GA^30329^USA^B - NTE|1|L|This is a note|RE - SPM|1|b518ef23-1d9a-40c1-ac4b-ed7b438dfc4b||258500001^Nasopharyngeal swab^SCT||||71836000^Nasopharyngeal structure (body structure)^SCT^^^^2020-09-01|||||||||202102090000-0600|202102090000-0600 - """.trimIndent() - - val messages = hL7Reader.getMessages(data) - assertThat(messages).hasSize(1) - assertThat(actionLogger.hasErrors()).isFalse() - } - - @Test - fun `get getMessages can parse a message that uses the deprecated CE type in OBX2`() { - val actionLogger = ActionLogger() - val hL7Reader = HL7Reader(actionLogger) - - val data = """ - MSH|^~\&#|CDC PRIME - Atlanta, Georgia (Dekalb)^2.16.840.1.114222.4.1.237821^ISO|Avante at Ormond Beach^10D0876999^CLIA|PRIME_DOH|Prime ReportStream|20210210170737||ORU^R01^ORU_R01|371784|P|2.5.1|||NE|NE|USA - SFT|Centers for Disease Control and Prevention|0.1-SNAPSHOT|PRIME ReportStream|0.1-SNAPSHOT||20210210 - PID|1||2a14112c-ece1-4f82-915c-7b3a8d152eda^^^Avante at Ormond Beach^PI||Buckridge^Kareem^Millie^^^^L||19580810|F||2106-3^White^HL70005^^^^2.5.1|688 Leighann Inlet^^South Rodneychester^TX^67071^^^^48077||7275555555:1:^PRN^^roscoe.wilkinson@email.com^1^211^2240784|||||||||U^Unknown^HL70189||||||||N - ORC|RE|73a6e9bd-aaec-418e-813a-0ad33366ca85|73a6e9bd-aaec-418e-813a-0ad33366ca85|||||||||1629082607^Eddin^Husam^^^^^^CMS&2.16.840.1.113883.3.249&ISO^^^^NPI||^WPN^^^1^386^6825220|20210209||||||Avante at Ormond Beach|170 North King Road^^Ormond Beach^FL^32174^^^^12127|^WPN^^jbrush@avantecenters.com^1^407^7397506|^^^^32174 - OBR|1|sphlspid^SPHL-000048^2.16.840.1.114222.4.1.10765^ISO|3015894676_04608646^STARLIMS.CDC.Stag^2.16.840.1.114222.4.3.3.2.1.2^ISO|68991-9^Epidemiologically Important Information^LN^^^^2.69^^^CDC-10516^Poxvirus Serology^L^^2.16.840.1.113883.6.1|||202302101135|||||||||SPHL-000148^CA-Veterans Affairs Palo Alto Healthcare System^^^^^^^STARLIMS.CDC.Stag&2.16.840.1.114222.4.3.3.2.1.2&ISO^^^^XX|^NET^Internet^mark.holodniy@va.gov|||||202302131116-0500|||F - OBX|1|CE|68993-5^Human RNase P RNA XXX Ql NAA+probe^LN^3844^RNaseP human DNA^L^2.69^v_unknown^RNaseP human DNA|ZZYGNASR-1|260385009^Negative^SCT^^^^09012018^^Negative (No human DNA present)||||||C|||202302101135|11D0668319^Centers for Disease Control and Prevention^CLIA^47^Poxvirus Laboratory/Poxvirus and Rabies Branch^L|UIE8@CDC.GOV^Perkins ^Kayla|||20230213102132||||Centers for Disease Control and Prevention^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^11D0668319|1600 Clifton Rd^^Atlanta^GA^30329^USA^B - NTE|1|L|This is a note|RE - SPM|1|b518ef23-1d9a-40c1-ac4b-ed7b438dfc4b||258500001^Nasopharyngeal swab^SCT||||71836000^Nasopharyngeal structure (body structure)^SCT^^^^2020-09-01|||||||||202102090000-0600|202102090000-0600 - """.trimIndent() - - val messages = hL7Reader.getMessages(data) - assertThat(messages).hasSize(1) - assertThat(actionLogger.hasWarnings()).isFalse() - val obxSegment = Terser(messages[0]).getSegment("/PATIENT_RESULT/ORDER_OBSERVATION/OBSERVATION/OBX") as OBX - assertThat(obxSegment.getObservationValue(0).data).isInstanceOf(CWE::class) - } - @Test fun `extract MSH segment values`() { - val actionLogger = ActionLogger() - val hL7Reader = HL7Reader(actionLogger) - @Suppress("ktlint:standard:max-line-length") - val rawMessage = "MSH|^~\\&|Epic|Hospital|LIMS|StatePHL|20241003000000||ORM^O01^ORM_O01|4AFA57FE-D41D-4631-9500-286AAAF797E4|T|2.5.1|||AL|NE" - val message = hL7Reader.getMessages(rawMessage).first() + val rawMessage = + "MSH|^~\\&|Epic|Hospital|LIMS|StatePHL|20241003000000||ORM^O01^ORM_O01|4AFA57FE-D41D-4631-9500-286AAAF797E4|T|2.5.1|||AL|NE" + val message = HL7Reader.parseHL7Message(rawMessage) assertThat( HL7Reader.getSendingApplication(message) diff --git a/prime-router/src/test/kotlin/validation/MarsOtcElrOnboardingValidatorTests.kt b/prime-router/src/test/kotlin/validation/MarsOtcElrOnboardingValidatorTests.kt index b7c5e9ce64c..851576300b1 100644 --- a/prime-router/src/test/kotlin/validation/MarsOtcElrOnboardingValidatorTests.kt +++ b/prime-router/src/test/kotlin/validation/MarsOtcElrOnboardingValidatorTests.kt @@ -3,7 +3,6 @@ package gov.cdc.prime.router.validation import assertk.assertThat import assertk.assertions.isFalse import assertk.assertions.isTrue -import gov.cdc.prime.router.ActionLogger import gov.cdc.prime.router.fhirengine.utils.HL7Reader import org.junit.jupiter.api.Test @@ -17,8 +16,8 @@ class MarsOtcElrOnboardingValidatorTests { this.javaClass.classLoader.getResourceAsStream("validation/marsotcelr/fail_onboarding_pass_prod.hl7") val sampleMessage = sampleMessageInputStream!!.bufferedReader().use { it.readText() } - val messages = HL7Reader(ActionLogger()).getMessages(sampleMessage) - val report = validator.validate(messages[0]) + val message = HL7Reader.parseHL7Message(sampleMessage) + val report = validator.validate(message) assertThat(report.isValid()).isFalse() } @@ -28,8 +27,8 @@ class MarsOtcElrOnboardingValidatorTests { this.javaClass.classLoader.getResourceAsStream("validation/marsotcelr/valid.hl7") val sampleMessage = sampleMessageInputStream!!.bufferedReader().use { it.readText() } - val messages = HL7Reader(ActionLogger()).getMessages(sampleMessage) - val report = validator.validate(messages[0]) + val message = HL7Reader.parseHL7Message(sampleMessage) + val report = validator.validate(message) assertThat(report.isValid()).isTrue() } } \ No newline at end of file diff --git a/prime-router/src/test/kotlin/validation/MarsOtcElrValidatorTests.kt b/prime-router/src/test/kotlin/validation/MarsOtcElrValidatorTests.kt index 16b35f45c91..ee5ceb366a0 100644 --- a/prime-router/src/test/kotlin/validation/MarsOtcElrValidatorTests.kt +++ b/prime-router/src/test/kotlin/validation/MarsOtcElrValidatorTests.kt @@ -3,7 +3,6 @@ package gov.cdc.prime.router.validation import assertk.assertThat import assertk.assertions.isFalse import assertk.assertions.isTrue -import gov.cdc.prime.router.ActionLogger import gov.cdc.prime.router.fhirengine.utils.HL7Reader import org.junit.jupiter.api.Test @@ -17,8 +16,8 @@ class MarsOtcElrValidatorTests { this.javaClass.classLoader.getResourceAsStream("validation/marsotcelr/sample_2.hl7") val sampleMessage = sampleMessageInputStream!!.bufferedReader().use { it.readText() } - val messages = HL7Reader(ActionLogger()).getMessages(sampleMessage) - val report = validator.validate(messages[0]) + val message = HL7Reader.parseHL7Message(sampleMessage) + val report = validator.validate(message) assertThat(report.isValid()).isFalse() } @@ -28,8 +27,8 @@ class MarsOtcElrValidatorTests { this.javaClass.classLoader.getResourceAsStream("validation/marsotcelr/valid.hl7") val sampleMessage = sampleMessageInputStream!!.bufferedReader().use { it.readText() } - val messages = HL7Reader(ActionLogger()).getMessages(sampleMessage) - val report = validator.validate(messages[0]) + val message = HL7Reader.parseHL7Message(sampleMessage) + val report = validator.validate(message) assertThat(report.isValid()).isTrue() } @@ -39,8 +38,8 @@ class MarsOtcElrValidatorTests { this.javaClass.classLoader.getResourceAsStream("validation/marsotcelr/valid_altered_msh.hl7") val sampleMessage = sampleMessageInputStream!!.bufferedReader().use { it.readText() } - val messages = HL7Reader(ActionLogger()).getMessages(sampleMessage) - val report = validator.validate(messages[0]) + val message = HL7Reader.parseHL7Message(sampleMessage) + val report = validator.validate(message) assertThat(report.isValid()).isTrue() } } \ No newline at end of file diff --git a/prime-router/src/test/resources/fhirengine/smoketest/Expected_HL7_to_FHIR_MARSOTC.fhir b/prime-router/src/test/resources/fhirengine/smoketest/Expected_HL7_to_FHIR_MARSOTC.fhir index 1e2c444e1d7..885a92bed7c 100644 --- a/prime-router/src/test/resources/fhirengine/smoketest/Expected_HL7_to_FHIR_MARSOTC.fhir +++ b/prime-router/src/test/resources/fhirengine/smoketest/Expected_HL7_to_FHIR_MARSOTC.fhir @@ -571,7 +571,13 @@ "valueCoding": { "system": "SNOMEDCT", "code": "840539006", - "display": "Disease caused by severe acute respiratory syndrome coronavirus 2 (disorder)" + "display": "Disease caused by severe acute respiratory syndrome coronavirus 2 (disorder)", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/test-performed-member-oid", + "valueString": "2.16.840.1.113762.1.4.1146.1158" + } + ] } } ], diff --git a/prime-router/src/testIntegration/kotlin/datatests/TranslationTests.kt b/prime-router/src/testIntegration/kotlin/datatests/TranslationTests.kt index cfca5b5c76a..f18c57cfbdc 100644 --- a/prime-router/src/testIntegration/kotlin/datatests/TranslationTests.kt +++ b/prime-router/src/testIntegration/kotlin/datatests/TranslationTests.kt @@ -453,10 +453,7 @@ class TranslationTests { * @return a FHIR bundle as a JSON input stream */ private fun translateToFhir(hl7: String, profile: String? = null): InputStream { - val hl7message = HL7Reader.parseHL7Message( - hl7, - null - ) + val hl7message = HL7Reader.parseHL7Message(hl7) val fhirBundle = if (profile == null) { HL7toFhirTranslator().translate(hl7message) } else { diff --git a/prime-router/src/testIntegration/kotlin/datatests/mappinginventory/catchall/in1/IN1Tests.kt b/prime-router/src/testIntegration/kotlin/datatests/mappinginventory/catchall/in1/IN1Tests.kt index 691f8ce6023..bad39f793c8 100644 --- a/prime-router/src/testIntegration/kotlin/datatests/mappinginventory/catchall/in1/IN1Tests.kt +++ b/prime-router/src/testIntegration/kotlin/datatests/mappinginventory/catchall/in1/IN1Tests.kt @@ -13,4 +13,14 @@ class IN1Tests { ).passed ) } + + @Test + fun `test IN1 mapped to Coverage with subscriber id and self relation`() { + assert( + verifyHL7ToFHIRToHL7Mapping( + "catchall/in1/IN1-to-Coverage-IN1-10-SN-IN1-17-SEL", + outputSchema = "classpath:/metadata/hl7_mapping/OML_O21/OML_O21-test.yml" + ).passed + ) + } } \ No newline at end of file diff --git a/prime-router/src/testIntegration/kotlin/transport/RESTTransportIntegrationTests.kt b/prime-router/src/testIntegration/kotlin/transport/RESTTransportIntegrationTests.kt index 918356e5d9d..9c1e3bb17a1 100644 --- a/prime-router/src/testIntegration/kotlin/transport/RESTTransportIntegrationTests.kt +++ b/prime-router/src/testIntegration/kotlin/transport/RESTTransportIntegrationTests.kt @@ -102,7 +102,6 @@ class RESTTransportIntegrationTests : TransportIntegrationTests() { """{"error": {"code": 401,"message": "Mock unauthorized error."}}""" ) } - private fun mockClientPostOk(): HttpClient { return mockJsonResponseWithSuccess( """{"status": "Success", @@ -118,6 +117,12 @@ class RESTTransportIntegrationTests : TransportIntegrationTests() { ) } + private fun mockClientTooManyRequests(): HttpClient { + return mockJsonResponseWithTooManyRequests( + """{"error": {"code": 429,"message": "Mock too many requests error."}}""" + ) + } + private fun mockClientUnknownError(): HttpClient { return mockJsonResponseWithUnknown( """{"error": {"code": 999,"message": "Mock internal server error."}}""" @@ -136,6 +141,10 @@ class RESTTransportIntegrationTests : TransportIntegrationTests() { return mockJsonResponse(jsonResponse, HttpStatusCode.Unauthorized) } + private fun mockJsonResponseWithTooManyRequests(jsonResponse: String): HttpClient { + return mockJsonResponse(jsonResponse, HttpStatusCode.TooManyRequests) + } + private fun mockJsonResponseWithUnknown(jsonResponse: String): HttpClient { return mockJsonResponse(jsonResponse, HttpStatusCode(999, "Uknown Error")) } @@ -514,6 +523,31 @@ hnm8COa8Kr+bnTqzScpQuOfujHcFEtfcYUGfSS6HusxidwXx+lYi1A== assertThat(actionHistory.action.httpStatus).isNotNull() } + @Test + fun `test connecting to mock service too many requests error`() { + val header = makeHeader() + val mockRestTransport = spyk(RESTTransport(mockClientTooManyRequests())) + every { mockRestTransport.lookupDefaultCredential(any()) }.returns( + UserApiKeyCredential("test-user", "test-key") + ) + every { runBlocking { mockRestTransport.getAuthTokenWithUserApiKey(any(), any(), any(), any()) } }.returns( + TokenInfo("MockToken", 1000, "MockRefreshToken", null, "bearer") + ) + val retryItems = mockRestTransport.send( + transportType, + header, + reportId, + "test", + null, + context, + actionHistory, + mockk<IReportStreamEventService>(relaxed = true), + mockk<ReportService>(relaxed = true) + ) + assertThat(retryItems).isNotNull() + assertThat(actionHistory.action.httpStatus).isNotNull() + } + @Test fun `test connecting to mock service unknown error`() { val header = makeHeader() diff --git a/prime-router/src/testIntegration/kotlin/transport/SftpTransportIntegrationTests.kt b/prime-router/src/testIntegration/kotlin/transport/SftpTransportIntegrationTests.kt index 92cfbb6b48d..578f3997a6d 100644 --- a/prime-router/src/testIntegration/kotlin/transport/SftpTransportIntegrationTests.kt +++ b/prime-router/src/testIntegration/kotlin/transport/SftpTransportIntegrationTests.kt @@ -32,6 +32,7 @@ import io.mockk.spyk import io.mockk.unmockkAll import net.schmizz.sshj.SSHClient import net.schmizz.sshj.connection.ConnectionException +import net.schmizz.sshj.sftp.RemoteResourceFilter import net.schmizz.sshj.sftp.RemoteResourceInfo import net.schmizz.sshj.sftp.SFTPClient import net.schmizz.sshj.transport.verification.HostKeyVerifier @@ -456,10 +457,11 @@ class SftpTransportIntegrationTests : TransportIntegrationTests() { @Test fun `ls happy path`() { val f = Fixture() + val nullRemoteResourceFilter: RemoteResourceFilter? = null every { f.mockSSHClient.newSFTPClient() } returns f.mockSFTPClient // mock a successful ls on the remote SFTP server - every { f.mockSFTPClient.ls(f.lsPath, null) } returns f.remoteResourceInfos + every { f.mockSFTPClient.ls(f.lsPath, nullRemoteResourceFilter) } returns f.remoteResourceInfos every { f.mockSFTPClient.close() } just runs every { f.mockSSHClient.close() } just runs every { f.mockSSHClient.disconnect() } just runs @@ -473,10 +475,11 @@ class SftpTransportIntegrationTests : TransportIntegrationTests() { @Test fun `ls connection error`() { val f = Fixture() + val nullRemoteResourceFilter: RemoteResourceFilter? = null every { f.mockSSHClient.newSFTPClient() } returns f.mockSFTPClient // throw a connection exception on ls - every { f.mockSFTPClient.ls(f.lsPath, null) } throws ConnectionException("oops") + every { f.mockSFTPClient.ls(f.lsPath, nullRemoteResourceFilter) } throws ConnectionException("oops") every { f.mockSFTPClient.close() } just runs every { f.mockSSHClient.close() } just runs every { f.mockSSHClient.disconnect() } just runs @@ -490,10 +493,14 @@ class SftpTransportIntegrationTests : TransportIntegrationTests() { @Test fun `ls ignore timeout error`() { val f = Fixture() + val nullRemoteResourceFilter: RemoteResourceFilter? = null every { f.mockSSHClient.newSFTPClient() } returns f.mockSFTPClient // throw a ConnectionException on ls with TimeoutException as a cause - every { f.mockSFTPClient.ls(f.lsPath, null) } throws ConnectionException("oops", TimeoutException()) + every { f.mockSFTPClient.ls(f.lsPath, nullRemoteResourceFilter) } throws ConnectionException( + "oops", + TimeoutException() + ) every { f.mockSFTPClient.close() } just runs every { f.mockSSHClient.close() } just runs every { f.mockSSHClient.disconnect() } just runs diff --git a/prime-router/src/testIntegration/resources/datatests/FHIR_to_HL7/sample_MH_20241226-0001.fhir b/prime-router/src/testIntegration/resources/datatests/FHIR_to_HL7/sample_MH_20241226-0001.fhir new file mode 100755 index 00000000000..76d47e7eb6d --- /dev/null +++ b/prime-router/src/testIntegration/resources/datatests/FHIR_to_HL7/sample_MH_20241226-0001.fhir @@ -0,0 +1 @@ +{ "resourceType": "Bundle", "identifier": { "value": "0bab3f94-feb4-4915-939d-1adc5da201f3" }, "type": "message", "timestamp": "2024-06-05T18:55:01.277Z", "entry": [ { "fullUrl": "MessageHeader/5cbae40a-675e-49d4-b12a-04271de671a6", "resource": { "resourceType": "MessageHeader", "id": "5cbae40a-675e-49d4-b12a-04271de671a6", "meta": { "tag": [ { "system": "http://terminology.hl7.org/CodeSystem/v2-0103", "code": "P", "display": "Production" } ] }, "eventCoding": { "system": "http://terminology.hl7.org/CodeSystem/v2-0003", "code": "R01", "display": "ORU/ACK - Unsolicited transmission of an observation message" }, "destination": [ { "name": "PRIME ReportStream", "endpoint": "https://prime.cdc.gov/api/reports?option=SkipInvalidItems" } ], "sender": { "reference": "Organization/719ec8ad-cf59-405a-9832-c4065945c130" }, "source": { "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/software-binary-id", "valueString": "d5de310" }, { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/software-install-date", "valueInstant": "2024-06-05T15:42:52Z" }, { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/software-vendor-org", "valueReference": { "reference": "Organization/07640c5d-87cd-488b-9343-a226c5166539" } } ], "software": "PRIME SimpleReport", "version": "d5de310", "endpoint": "https://simplereport.gov" }, "focus": [ { "reference": "Provenance/d0dd19cd-76a0-4e16-ab1d-dc5838247b61" }, { "reference": "DiagnosticReport/0bab3f94-feb4-4915-939d-1adc5da201f3" } ] } }, { "fullUrl": "Provenance/d0dd19cd-76a0-4e16-ab1d-dc5838247b61", "resource": { "resourceType": "Provenance", "id": "d0dd19cd-76a0-4e16-ab1d-dc5838247b61", "recorded": "2024-06-05T18:55:01.277Z", "activity": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/v2-0003", "code": "R01", "display": "ORU/ACK - Unsolicited transmission of an observation message" } ] }, "agent": [ { "who": { "reference": "Organization/719ec8ad-cf59-405a-9832-c4065945c130" } } ] } }, { "fullUrl": "DiagnosticReport/0bab3f94-feb4-4915-939d-1adc5da201f3", "resource": { "resourceType": "DiagnosticReport", "id": "0bab3f94-feb4-4915-939d-1adc5da201f3", "identifier": [ { "value": "0bab3f94-feb4-4915-939d-1adc5da201f3" } ], "basedOn": [ { "reference": "ServiceRequest/185170f3-4361-48ff-85e1-808a66624470" } ], "status": "final", "code": { "coding": [ { "system": "http://loinc.org", "code": "94531-1" } ] }, "subject": { "reference": "Patient/7c0d1de9-270e-4d9c-a4ec-af92560cec67" }, "effectiveDateTime": "2024-06-05T18:39:58+00:00", "issued": "2024-06-05T18:55:01+00:00", "specimen": [ { "reference": "Specimen/dc7af370-fc07-4b00-abc7-9b5dd87cf4d2" } ], "result": [ { "reference": "Observation/5ab37a34-59f5-421f-92bd-baffaf26bb72" } ] } }, { "fullUrl": "Patient/7c0d1de9-270e-4d9c-a4ec-af92560cec67", "resource": { "resourceType": "Patient", "id": "7c0d1de9-270e-4d9c-a4ec-af92560cec67", "extension": [ { "url": "http://ibm.com/fhir/cdm/StructureDefinition/local-race-cd", "valueCodeableConcept": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/v3-Race", "code": "2028-9" } ], "text": "asian" } }, { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/ethnic-group", "valueCodeableConcept": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/v2-0189", "code": "N", "display": "Not Hispanic or Latino" } ], "text": "Not Hispanic or Latino" } } ], "identifier": [ { "value": "7c0d1de9-270e-4d9c-a4ec-af92560cec67" } ], "name": [ { "family": "Granger", "given": [ "Hermione" ] } ], "telecom": [ { "system": "phone", "value": "(212) 555 1234", "use": "mobile" } ], "gender": "female", "birthDate": "1990-07-21", "address": [ { "line": [ "8739 Gottlieb Terrace" ], "city": "Majuro", "state": "MH", "postalCode": "96960" } ], "managingOrganization": { "reference": "Organization/719ec8ad-cf59-405a-9832-c4065945c130" } } }, { "fullUrl": "Organization/719ec8ad-cf59-405a-9832-c4065945c130", "resource": { "resourceType": "Organization", "id": "719ec8ad-cf59-405a-9832-c4065945c130", "identifier": [ { "use": "official", "type": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/v2-0301", "code": "CLIA" } ] }, "value": "12D4567890" } ], "name": "Testing Lab", "telecom": [ { "system": "phone", "value": "(530) 867 5309", "use": "work" } ], "address": [ { "line": [ "123 Beach Way" ], "city": "Denver", "state": "OK", "postalCode": "80210", "country": "USA" } ] } }, { "fullUrl": "Practitioner/ee29ccf5-631d-4b35-a6d4-30a61c0eb8d9", "resource": { "resourceType": "Practitioner", "id": "ee29ccf5-631d-4b35-a6d4-30a61c0eb8d9", "identifier": [ { "system": "http://hl7.org/fhir/sid/us-npi", "value": "1245319599" } ], "name": [ { "family": "McTester", "given": [ "Phil" ] } ], "telecom": [ { "system": "phone", "value": "(530) 867 5309", "use": "work" } ], "address": [ { "line": [ "321 Ocean Drive" ], "city": "Denver", "state": "OK", "postalCode": "80210", "country": "USA" } ] } }, { "fullUrl": "Specimen/dc7af370-fc07-4b00-abc7-9b5dd87cf4d2", "resource": { "resourceType": "Specimen", "id": "dc7af370-fc07-4b00-abc7-9b5dd87cf4d2", "identifier": [ { "value": "80ed36a0-4bd1-42c3-bb56-81ea4ac1e75a" } ], "type": { "coding": [ { "system": "http://snomed.info/sct", "code": "258500001" } ], "text": "Nasopharyngeal swab" }, "subject": { "reference": "Patient/7c0d1de9-270e-4d9c-a4ec-af92560cec67" }, "receivedTime": "2024-06-05T18:39:58+00:00", "collection": { "collectedDateTime": "2024-06-05T18:39:58+00:00", "bodySite": { "coding": [ { "system": "http://snomed.info/sct", "code": "87100004" } ], "text": "Topography unknown (body structure)" } } } }, { "fullUrl": "ServiceRequest/185170f3-4361-48ff-85e1-808a66624470", "resource": { "resourceType": "ServiceRequest", "id": "185170f3-4361-48ff-85e1-808a66624470", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/order-control", "valueCodeableConcept": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/v2-0119", "code": "RE" } ] } }, { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/order-effective-date", "valueDateTime": "2024-06-05T18:54:58+00:00" } ], "status": "completed", "intent": "order", "code": { "coding": [ { "system": "http://loinc.org", "code": "94531-1" } ] }, "subject": { "reference": "Patient/7c0d1de9-270e-4d9c-a4ec-af92560cec67" }, "requester": { "reference": "PractitionerRole/57a1a000-16e5-461a-930a-2e4779944bc2" }, "performer": [ { "reference": "Organization/719ec8ad-cf59-405a-9832-c4065945c130" } ], "supportingInfo": [ { "reference": "Observation/dd5369b2-91e7-32d9-8c7f-884cad6b0391" }, { "reference": "Observation/fdf748f4-b187-31c6-b08d-334afc1c6a49" }, { "reference": "Observation/4c669397-3b8b-3448-a7c8-d2fb8c5afde5" }, { "reference": "Observation/4456d162-bfd8-37f3-aafe-1e6444c53934" }, { "reference": "Observation/0042a1cb-8473-3181-9b65-fcb08dc112a3" } ] } }, { "fullUrl": "Device/d303372c-70cb-46b7-bf74-23f4dc91e661", "resource": { "resourceType": "Device", "id": "d303372c-70cb-46b7-bf74-23f4dc91e661", "identifier": [ { "type": { "coding": [ { "code": "MNI" } ] } } ], "manufacturer": "Access Bio, Inc.", "deviceName": [ { "name": "CareStart COVID-19 MDx RT-PCR", "type": "model-name" } ] } }, { "fullUrl": "PractitionerRole/57a1a000-16e5-461a-930a-2e4779944bc2", "resource": { "resourceType": "PractitionerRole", "id": "57a1a000-16e5-461a-930a-2e4779944bc2", "practitioner": { "reference": "Practitioner/ee29ccf5-631d-4b35-a6d4-30a61c0eb8d9" }, "organization": { "reference": "Organization/719ec8ad-cf59-405a-9832-c4065945c130" } } }, { "fullUrl": "Organization/07640c5d-87cd-488b-9343-a226c5166539", "resource": { "resourceType": "Organization", "id": "07640c5d-87cd-488b-9343-a226c5166539", "name": "SimpleReport" } }, { "fullUrl": "Observation/5ab37a34-59f5-421f-92bd-baffaf26bb72", "resource": { "resourceType": "Observation", "id": "5ab37a34-59f5-421f-92bd-baffaf26bb72", "status": "final", "code": { "coding": [ { "system": "http://loinc.org", "code": "94500-6" } ], "text": "COVID-19" }, "subject": { "reference": "Patient/7c0d1de9-270e-4d9c-a4ec-af92560cec67" }, "issued": "2024-06-05T18:54:58.594Z", "performer": [ { "reference": "Organization/719ec8ad-cf59-405a-9832-c4065945c130" } ], "valueCodeableConcept": { "coding": [ { "system": "http://snomed.info/sct", "code": "260373001", "display": "Detected" } ] }, "interpretation": [ { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/v2-0078", "code": "A", "display": "Abnormal" } ] } ], "method": { "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/testkit-name-id", "valueCoding": { "code": "CareStart COVID-19 MDx RT-PCR_Access Bio, Inc." } } ], "coding": [ { "display": "CareStart COVID-19 MDx RT-PCR" } ] }, "specimen": { "reference": "Specimen/dc7af370-fc07-4b00-abc7-9b5dd87cf4d2" }, "device": { "reference": "Device/d303372c-70cb-46b7-bf74-23f4dc91e661" } } }, { "fullUrl": "Observation/dd5369b2-91e7-32d9-8c7f-884cad6b0391", "resource": { "resourceType": "Observation", "id": "dd5369b2-91e7-32d9-8c7f-884cad6b0391", "identifier": [ { "use": "official", "type": { "coding": [ { "system": "http://loinc.org", "code": "81959-9", "display": "Public health laboratory ask at order entry panel" } ] } } ], "status": "final", "code": { "coding": [ { "system": "http://loinc.org", "code": "95419-8", "display": "Has symptoms related to condition of interest" } ], "text": "Has symptoms related to condition of interest" }, "subject": { "reference": "Patient/7c0d1de9-270e-4d9c-a4ec-af92560cec67" }, "valueCodeableConcept": { "coding": [ { "system": "http://terminology.hl7.org/ValueSet/v2-0136", "code": "Y", "display": "Yes" } ] } } }, { "fullUrl": "Observation/fdf748f4-b187-31c6-b08d-334afc1c6a49", "resource": { "resourceType": "Observation", "id": "fdf748f4-b187-31c6-b08d-334afc1c6a49", "identifier": [ { "use": "official", "type": { "coding": [ { "system": "http://loinc.org", "code": "81959-9", "display": "Public health laboratory ask at order entry panel" } ] } } ], "status": "final", "code": { "coding": [ { "system": "http://loinc.org", "code": "11368-8", "display": "Illness or injury onset date and time" } ], "text": "Illness or injury onset date and time" }, "subject": { "reference": "Patient/7c0d1de9-270e-4d9c-a4ec-af92560cec67" }, "valueDateTime": "2024-06-01" } }, { "fullUrl": "Observation/4c669397-3b8b-3448-a7c8-d2fb8c5afde5", "resource": { "resourceType": "Observation", "id": "4c669397-3b8b-3448-a7c8-d2fb8c5afde5", "identifier": [ { "use": "official", "type": { "coding": [ { "system": "http://loinc.org", "code": "81959-9", "display": "Public health laboratory ask at order entry panel" } ] } } ], "status": "final", "code": { "coding": [ { "system": "http://loinc.org", "code": "82810-3", "display": "Pregnancy status" } ], "text": "Pregnancy status" }, "subject": { "reference": "Patient/7c0d1de9-270e-4d9c-a4ec-af92560cec67" }, "valueCodeableConcept": { "coding": [ { "system": "http://snomed.info/sct", "code": "60001007", "display": "Not pregnant" } ] } } }, { "fullUrl": "Observation/4456d162-bfd8-37f3-aafe-1e6444c53934", "resource": { "resourceType": "Observation", "id": "4456d162-bfd8-37f3-aafe-1e6444c53934", "identifier": [ { "use": "official", "type": { "coding": [ { "system": "http://loinc.org", "code": "81959-9", "display": "Public health laboratory ask at order entry panel" } ] } } ], "status": "final", "code": { "coding": [ { "system": "http://loinc.org", "code": "95418-0", "display": "Employed in a healthcare setting" } ], "text": "Employed in a healthcare setting" }, "subject": { "reference": "Patient/7c0d1de9-270e-4d9c-a4ec-af92560cec67" }, "valueCodeableConcept": { "coding": [ { "system": "http://terminology.hl7.org/ValueSet/v2-0136", "code": "Y", "display": "Yes" } ] } } }, { "fullUrl": "Observation/0042a1cb-8473-3181-9b65-fcb08dc112a3", "resource": { "resourceType": "Observation", "id": "0042a1cb-8473-3181-9b65-fcb08dc112a3", "identifier": [ { "use": "official", "type": { "coding": [ { "system": "http://loinc.org", "code": "81959-9", "display": "Public health laboratory ask at order entry panel" } ] } } ], "status": "final", "code": { "coding": [ { "system": "http://loinc.org", "code": "95421-4", "display": "Resides in a congregate care setting" } ], "text": "Resides in a congregate care setting" }, "subject": { "reference": "Patient/7c0d1de9-270e-4d9c-a4ec-af92560cec67" }, "valueCodeableConcept": { "coding": [ { "system": "http://terminology.hl7.org/ValueSet/v2-0136", "code": "Y", "display": "Yes" } ] } } } ]} \ No newline at end of file diff --git a/prime-router/src/testIntegration/resources/datatests/FHIR_to_HL7/sample_MH_20241226-0001.hl7 b/prime-router/src/testIntegration/resources/datatests/FHIR_to_HL7/sample_MH_20241226-0001.hl7 new file mode 100644 index 00000000000..6f3a1153ae5 --- /dev/null +++ b/prime-router/src/testIntegration/resources/datatests/FHIR_to_HL7/sample_MH_20241226-0001.hl7 @@ -0,0 +1 @@ +MSH|^~\&|CDC PRIME - Atlanta, Georgia (Dekalb)^2.16.840.1.114222.4.1.237821^ISO|Testing Lab^12D4567890^CLIA|RMI_DOH|RMI_DOH|20240605185501+0000||ORU^R01^ORU_R01|0bab3f94-feb4-4915-939d-1adc5da201f3|P|2.5.1|||NE|NE|USA|UNICODE UTF-8|ENG^English^ISO||PHLabReport-NoAck^ELR_Receiver^2.16.840.1.113883.9.11^ISO SFT|Centers for Disease Control and Prevention|0.2-SNAPSHOT|PRIME ReportStream|0.2-SNAPSHOT||20240605154252+0000 PID|1||7c0d1de9-270e-4d9c-a4ec-af92560cec67^^^Testing Lab&12D4567890&CLIA^PI^Testing Lab&12D4567890&CLIA||Granger^Hermione^^^^^L||19900721|F||2028-9^asian^HL70005^^^^2.5.1^^asian|8739 Gottlieb Terrace^^Majuro^MH^96960||(212) 555 1234^PRS^CP^^1^212^5551234^^^^^(212) 555 1234|||||||||N^Not Hispanic or Latino^HL70189^^^^2.9^^Not Hispanic or Latino||||||||N ORC|RE|0bab3f94-feb4-4915-939d-1adc5da201f3^Testing Lab^12D4567890^CLIA|0bab3f94-feb4-4915-939d-1adc5da201f3^Testing Lab^12D4567890^CLIA|||||||||1245319599^McTester^Phil^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L^^^NPI||(530) 867 5309^WPN^PH^^1^530^8675309^^^^^(530) 867 5309|20240605185458+0000||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^OK^80210^USA|(530) 867 5309^WPN^PH^^1^530^8675309^^^^^(530) 867 5309|321 Ocean Drive^^Denver^OK^80210^USA OBR|1|0bab3f94-feb4-4915-939d-1adc5da201f3^Testing Lab^12D4567890^CLIA|0bab3f94-feb4-4915-939d-1adc5da201f3^Testing Lab^12D4567890^CLIA|94531-1^SARS-CoV-2 (COVID-19) RNA panel - Respiratory system specimen by NAA with probe detection^LN|||20240605183958+0000|||||||||1245319599^McTester^Phil^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L^^^NPI|(530) 867 5309^WPN^PH^^1^530^8675309^^^^^(530) 867 5309|||||20240605185501+0000|||F OBX|1|CWE|94500-6^SARS-CoV-2 (COVID-19) RNA [Presence] in Respiratory system specimen by NAA with probe detection^LN^^^^^^COVID-19||260373001^Detected^SCT|||A^Abnormal^HL70078^^^^2.7|||F|||20240605183958+0000|12D4567890^Testing Lab^CLIA||CareStart COVID-19 MDx RT-PCR_Access Bio, Inc.^CareStart COVID-19 MDx RT-PCR^^^^^^^CareStart COVID-19 MDx RT-PCR_Access Bio, Inc.|^^MNI|20240605185458+0000||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^OK^80210^USA OBX|2|CWE|95419-8^Has symptoms related to condition of interest^LN^^^^2.69^^Has symptoms related to condition of interest||Y^Yes^HL70136||||||F|||20240605183958+0000|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^OK^80210^USA|||||QST OBX|3|DT|11368-8^Illness or injury onset date and time^LN^^^^^^Illness or injury onset date and time||20240601000000+0000||||||F|||20240605183958+0000|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^OK^80210^USA|||||QST OBX|4|CWE|82810-3^Pregnancy status^LN^^^^2.68^^Pregnancy status||60001007^Not pregnant^SCT||||||F|||20240605183958+0000|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^OK^80210^USA|||||QST OBX|5|CWE|95418-0^Employed in a healthcare setting^LN^^^^2.69^^Employed in a healthcare setting||Y^Yes^HL70136||||||F|||20240605183958+0000|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^OK^80210^USA|||||QST OBX|6|CWE|95421-4^Resides in a congregate care setting^LN^^^^2.69^^Resides in a congregate care setting||Y^Yes^HL70136||||||F|||20240605183958+0000|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^OK^80210^USA|||||QST SPM|1|0bab3f94-feb4-4915-939d-1adc5da201f3&Testing Lab&12D4567890&CLIA^0bab3f94-feb4-4915-939d-1adc5da201f3&Testing Lab&12D4567890&CLIA||258500001^Nasopharyngeal swab^SCT^^^^2.67^^Nasopharyngeal swab||||87100004^Topography unknown (body structure)^SCT^^^^^^Topography unknown (body structure)|||||||||20240605183958+0000|20240605183958+0000 \ No newline at end of file diff --git a/prime-router/src/testIntegration/resources/datatests/FHIR_to_HL7/sample_WA_20240719-0001.hl7 b/prime-router/src/testIntegration/resources/datatests/FHIR_to_HL7/sample_WA_20240719-0001.hl7 index 94859fda75e..4efac6915de 100644 --- a/prime-router/src/testIntegration/resources/datatests/FHIR_to_HL7/sample_WA_20240719-0001.hl7 +++ b/prime-router/src/testIntegration/resources/datatests/FHIR_to_HL7/sample_WA_20240719-0001.hl7 @@ -1,12 +1,7 @@ -MSH|^~\&|CDC PRIME - Atlanta, Georgia (Dekalb)^2.16.840.1.114222.4.1.237821^ISO|Testing Lab^12D4567890^CLIA|WADOHPHRED^2.16.840.1.113883.3.237.4.2^ISO|dn1fro00^1.3.6.1.4.1.38630.2.1.1.19^ISO|20240815054718||ORU^R01^ORU_R01|12256b9a-0ca9-47ed-95b4-0d4ca60c4324|P|2.5.1|||NE|NE|USA|UNICODE UTF-8|ENG^English^ISO||PHLabReport-NoAck^ELR_Receiver^2.16.840.1.113883.9.11^ISO +MSH|^~\&|CDC PRIME - Atlanta, Georgia (Dekalb)^2.16.840.1.114222.4.1.237821^ISO|7uycso49^1.3.6.1.4.1.38630.2.1.1.519^ISO|WADOHPHRED^2.16.840.1.113883.3.237.4.2^ISO|dn1fro00^1.3.6.1.4.1.38630.2.1.1.19^ISO|20240815054718||ORU^R01^ORU_R01|12256b9a-0ca9-47ed-95b4-0d4ca60c4324|P|2.5.1|||NE|NE|USA|UNICODE UTF-8|ENG^English^ISO||PHLabReport-NoAck^ELR_Receiver^2.16.840.1.113883.9.11^ISO SFT|Centers for Disease Control and Prevention|0.2-SNAPSHOT|PRIME ReportStream|0.2-SNAPSHOT||20240812210736 PID|1||10083d1d-dc8b-4ea0-91fa-8744cf0f013b^^^Testing Lab&12D4567890&CLIA^PI^Testing Lab&12D4567890&CLIA||Wolf^Karolann^^^^^L||19700201|F||1002-5^native^HL70005^^^^2.5.1^^native|123 Main St^^Tamuning^ND^55987^USA||8002324636^PRS^CP^^1^800^2324636^^^^^8002324636~^NET^Internet^wolf@test.com||333^Unknown^99WA_LANG^^^^1|||||||H^Hispanic or Latino^HL70189^^^^2.9^^Hispanic or Latino||||||||N ORC|RE|12256b9a-0ca9-47ed-95b4-0d4ca60c4324^Testing Lab^12D4567890^CLIA|12256b9a-0ca9-47ed-95b4-0d4ca60c4324^Testing Lab^12D4567890^CLIA|||||||||1245319599^McTester^Phil^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L^^^NPI||^WPN^PH^^1^530^8675309|20240815054718||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA|^WPN^PH^^1^530^8675309|321 Ocean Drive^^Denver^CO^80210^USA OBR|1|12256b9a-0ca9-47ed-95b4-0d4ca60c4324^Testing Lab^12D4567890^CLIA|12256b9a-0ca9-47ed-95b4-0d4ca60c4324^Testing Lab^12D4567890^CLIA|94558-4^SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory system specimen by Rapid immunoassay^LN|||20240815053218|||||||||1245319599^McTester^Phil^^^^^^NPI&2.16.840.1.113883.4.6&ISO^L^^^NPI|^WPN^PH^^1^530^8675309|||||20240815054718|||F OBX|1|CWE|94558-4^SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory system specimen by Rapid immunoassay^LN^^^^^^COVID-19||260373001^Detected^SCT|||A^Abnormal^HL70078^^^^2.7|||F|||20240815053218|12D4567890^Testing Lab^CLIA||BinaxNOW COVID-19 Ag 2 Card_Abbott Diagnostics Scarborough, Inc.^BinaxNOW COVID-19 Ag 2 Card^^^^^^^BinaxNOW COVID-19 Ag 2 Card_Abbott Diagnostics Scarborough, Inc.|No Equipment|20240815054718||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA -OBX|2|CWE|95419-8^Has symptoms related to condition of interest^LN^^^^2.69^^Has symptoms related to condition of interest||N^No^HL70136||||||F|||20240815053218|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA -OBX|3|CWE|82810-3^Pregnancy status^LN^^^^2.68^^Pregnancy status||60001007^Not pregnant^SCT||||||F|||20240815053218|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA -OBX|4|CWE|95418-0^Employed in a healthcare setting^LN^^^^2.69^^Employed in a healthcare setting||Y^Yes^HL70136||||||F|||20240815053218|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA -OBX|5|CWE|95421-4^Resides in a congregate care setting^LN^^^^2.69^^Resides in a congregate care setting||Y^Yes^HL70136||||||F|||20240815053218|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA -OBX|6|CWE|76691-5^Gender identity^LN^^^^^^Gender identity||UNK^Non-binary gender identity^NULLFL||||||F|||20240815053218|12D4567890^Testing Lab^CLIA||||||||Testing Lab^L^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^12D4567890|123 Beach Way^^Denver^CO^80210^USA SPM|1|12256b9a-0ca9-47ed-95b4-0d4ca60c4324&Testing Lab&12D4567890&CLIA^12256b9a-0ca9-47ed-95b4-0d4ca60c4324&Testing Lab&12D4567890&CLIA||433801000124107^Nasopharyngeal and oropharyngeal swab^SCT^^^^2.67^^Nasopharyngeal and oropharyngeal swab||||87100004^Topography unknown (body structure)^SCT^^^^^^Topography unknown (body structure)|||||||||20240815053218|20240815053218 \ No newline at end of file diff --git a/prime-router/src/testIntegration/resources/datatests/HL7_to_FHIR_to_HL7/mmtc-msh5-msh6-sender-override-expected.hl7 b/prime-router/src/testIntegration/resources/datatests/HL7_to_FHIR_to_HL7/mmtc-msh5-msh6-sender-override-expected.hl7 new file mode 100644 index 00000000000..18c4b2c9d8d --- /dev/null +++ b/prime-router/src/testIntegration/resources/datatests/HL7_to_FHIR_to_HL7/mmtc-msh5-msh6-sender-override-expected.hl7 @@ -0,0 +1 @@ +MSH|^~\&|MMTC.STAG^2.16.840.1.113883.3.8589.4.2.106.2^ISO|CAREEVOLUTION^00Z0000024^CLIA|CDC PRIME^2.16.840.1.114222.4.1.237821^ISO|CDC PRIME^2.16.840.1.114222.4.1.237821^ISO|20241212005051+0000||ORU^R01^ORU_R01|20241212005051_b1a608d13bee414faf86e1420c41305e|T|2.5.1|||NE|NE||UNICODE UTF-8|ENG^English^ISO||PHLabReport-NoAck^ELR251R1_Rcvr_Prof^2.16.840.1.113883.9.11^ISO SFT|CAREEVOLUTION|2022|MMTC.STAG|16498||20241203 PID|1||a0fbea5818d347b8ba981d90ba48c63c^^^MMTC.STAG&2.16.840.1.113883.3.8589.4.2.106.2&ISO^PI||^^^^^^S||||||^^^^15206^USA||^^^^^111^1111111 ORC|RE||b1a608d13bee414faf86e1420c41305e^MMTC.STAG^2.16.840.1.113883.3.8589.4.2.106.2^ISO|||||||||^^SA.OTCSelfReport|||||||||SA.OTCSelfReport|^^^^15206|^^^^^111^1111111 OBR|1||b1a608d13bee414faf86e1420c41305e^MMTC.STAG^2.16.840.1.113883.3.8589.4.2.106.2^ISO|94558-4^SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay^LN^^^^2.71|||20241211120000-0500|||||||20241211120000-0500||^^SA.OTCSelfReport||||||20241211120000-0500|||F OBX|1|CWE|94558-4^SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay^LN^^^^2.71||260373001^Detected^SCT^^^^20200901||||||F||||00Z0000042||BinaxNOW COVID-19 Antigen Self Test_Abbott Diagnostics Scarborough, Inc._EUA^^99ELR^^^^Vunknown||20241211120000||||SA.OTCSelfReport^^^^^&2.16.840.1.113883.3.8589.4.1.152&ISO^XX^^^00Z0000042|14 Fake AtHome Test Street^^Fake City NTE|1|L|BinaxNOW COVID-19 Antigen Self Test_Abbott Diagnostics Scarborough, Inc._EUA OBX|2|NM|35659-2^Age at specimen collection^LN^^^^2.71||33|a^year^UCUM^^^^2.1|||||F||||00Z0000042||||||||SA.OTCSelfReport^^^^^&2.16.840.1.113883.3.8589.4.1.152&ISO^XX^^^00Z0000042|14 Fake AtHome Test Street^^Fake City|||||QST SPM|1|^b1a608d13bee414faf86e1420c41305e&MMTC.STAG&2.16.840.1.113883.3.8589.4.2.106.2&ISO||697989009^Anterior nares swab^SCT^^^^20200901|||||||||||||20241211120000-0500|20241211120000-0500 \ No newline at end of file diff --git a/prime-router/src/testIntegration/resources/datatests/HL7_to_FHIR_to_HL7/mmtc-msh5-msh6-sender-override.hl7 b/prime-router/src/testIntegration/resources/datatests/HL7_to_FHIR_to_HL7/mmtc-msh5-msh6-sender-override.hl7 new file mode 100644 index 00000000000..d6ca42a1e92 --- /dev/null +++ b/prime-router/src/testIntegration/resources/datatests/HL7_to_FHIR_to_HL7/mmtc-msh5-msh6-sender-override.hl7 @@ -0,0 +1,9 @@ +MSH|^~\&|MMTC.STAG^2.16.840.1.113883.3.8589.4.2.106.2^ISO|CAREEVOLUTION^00Z0000024^CLIA|AIMS.INTEGRATION.STG^2.16.840.1.114222.4.3.15.2^ISO|AIMS.PLATFORM^2.16.840.1.114222.4.1.217446^ISO|20241212005051+0000||ORU^R01^ORU_R01|20241212005051_b1a608d13bee414faf86e1420c41305e|T|2.5.1|||NE|NE|||||PHLabReport-NoAck^ELR251R1_Rcvr_Prof^2.16.840.1.113883.9.11^ISO +SFT|CAREEVOLUTION|2022|MMTC.STAG|16498||20241203 +PID|1||a0fbea5818d347b8ba981d90ba48c63c^^^MMTC.STAG&2.16.840.1.113883.3.8589.4.2.106.2&ISO^PI||^^^^^^S||||||^^^^15206^USA||^^^^^111^1111111 +ORC|RE||b1a608d13bee414faf86e1420c41305e^MMTC.STAG^2.16.840.1.113883.3.8589.4.2.106.2^ISO|||||||||^^SA.OTCSelfReport|||||||||SA.OTCSelfReport|^^^^15206|^^^^^111^1111111 +OBR|1||b1a608d13bee414faf86e1420c41305e^MMTC.STAG^2.16.840.1.113883.3.8589.4.2.106.2^ISO|94558-4^SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay^LN^^^^2.71|||20241211120000-0500|||||||||^^SA.OTCSelfReport||||||20241211120000-0500|||F +OBX|1|CWE|94558-4^SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay^LN^^^^2.71||260373001^Detected^SCT^^^^20200901||||||F||||00Z0000042||BinaxNOW COVID-19 Antigen Self Test_Abbott Diagnostics Scarborough, Inc._EUA^^99ELR^^^^Vunknown||20241211120000||||SA.OTCSelfReport^^^^^&2.16.840.1.113883.3.8589.4.1.152&ISO^XX^^^00Z0000042|14 Fake AtHome Test Street^^Fake City +NTE|1|L|BinaxNOW COVID-19 Antigen Self Test_Abbott Diagnostics Scarborough, Inc._EUA +OBX|2|NM|35659-2^Age at specimen collection^LN^^^^2.71||33|a^year^UCUM^^^^2.1|||||F||||00Z0000042||||||||SA.OTCSelfReport^^^^^&2.16.840.1.113883.3.8589.4.1.152&ISO^XX^^^00Z0000042|14 Fake AtHome Test Street^^Fake City|||||QST +SPM|1|^b1a608d13bee414faf86e1420c41305e&MMTC.STAG&2.16.840.1.113883.3.8589.4.2.106.2&ISO||697989009^Anterior nares swab^SCT^^^^20200901|||||||||||||20241211120000-0500|20241211120000-0500 diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/aui/AUI-to-Extension.fhir b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/aui/AUI-to-Extension.fhir index bac350c4bb3..b7915a41413 100644 --- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/aui/AUI-to-Extension.fhir +++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/aui/AUI-to-Extension.fhir @@ -1,8 +1,8 @@ { "resourceType": "Bundle", - "id": "1732324230716018000.38edba19-1d39-4040-85af-9f5f6248813c", + "id": "1735607685915797000.359e2905-e7c8-4654-bfca-dce4e4684c7f", "meta": { - "lastUpdated": "2024-11-22T17:10:30.720-08:00" + "lastUpdated": "2024-12-30T20:14:45.925-05:00" }, "identifier": { "system": "https://reportstream.cdc.gov/prime-router", @@ -11,10 +11,10 @@ "type": "message", "entry": [ { - "fullUrl": "MessageHeader/1732324230752828000.fc7cea9d-d7ca-4378-91d4-ea97c86b4787", + "fullUrl": "MessageHeader/1735607685981038000.71eb817c-bc24-4b3d-a07a-8d8d1a29fc8c", "resource": { "resourceType": "MessageHeader", - "id": "1732324230752828000.fc7cea9d-d7ca-4378-91d4-ea97c86b4787", + "id": "1735607685981038000.71eb817c-bc24-4b3d-a07a-8d8d1a29fc8c", "meta": { "tag": [ { @@ -31,36 +31,135 @@ } }, { - "fullUrl": "Patient/1732324231018814000.533db9a5-5375-4746-be23-f7140d4a3280", + "fullUrl": "Provenance/1735607686571984000.7a9f7d18-f0aa-4f52-b8aa-9a33a0cc6b67", + "resource": { + "resourceType": "Provenance", + "id": "1735607686571984000.7a9f7d18-f0aa-4f52-b8aa-9a33a0cc6b67", + "activity": { + "coding": [ + { + "display": "OML^O21^OML_O21" + } + ] + } + } + }, + { + "fullUrl": "Provenance/1735607686582554000.16947131-1e3c-4399-8c9d-f9db230b6504", + "resource": { + "resourceType": "Provenance", + "id": "1735607686582554000.16947131-1e3c-4399-8c9d-f9db230b6504", + "recorded": "2024-12-30T20:14:46Z", + "policy": [ + "http://hl7.org/fhir/uv/v2mappings/message-oru-r01-to-bundle" + ], + "activity": { + "coding": [ + { + "code": "v2-FHIR transformation" + } + ] + }, + "agent": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type", + "code": "assembler" + } + ] + }, + "who": { + "reference": "Organization/1735607686581528000.126b3cbd-ed51-4dd4-91c5-c9cda4e406a8" + } + } + ] + } + }, + { + "fullUrl": "Organization/1735607686581528000.126b3cbd-ed51-4dd4-91c5-c9cda4e406a8", + "resource": { + "resourceType": "Organization", + "id": "1735607686581528000.126b3cbd-ed51-4dd4-91c5-c9cda4e406a8", + "identifier": [ + { + "value": "CDC PRIME - Atlanta" + }, + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + }, + "system": "urn:ietf:rfc:3986", + "value": "2.16.840.1.114222.4.1.237821" + } + ] + } + }, + { + "fullUrl": "Patient/1735607686595888000.cd43a9b7-cd31-4838-861a-6fb1c300d0a3", "resource": { "resourceType": "Patient", - "id": "1732324231018814000.533db9a5-5375-4746-be23-f7140d4a3280" + "id": "1735607686595888000.cd43a9b7-cd31-4838-861a-6fb1c300d0a3" } }, { - "fullUrl": "Coverage/1732324231019741000.a36368bf-6c63-4970-8948-034a92248964", + "fullUrl": "Provenance/1735607686596536000.e3c86894-e700-48e7-827c-28b6d2185e4c", + "resource": { + "resourceType": "Provenance", + "id": "1735607686596536000.e3c86894-e700-48e7-827c-28b6d2185e4c", + "target": [ + { + "reference": "Patient/1735607686595888000.cd43a9b7-cd31-4838-861a-6fb1c300d0a3" + } + ], + "recorded": "2024-12-30T20:14:46Z", + "activity": { + "coding": [ + { + "system": "https://terminology.hl7.org/CodeSystem/v3-DataOperation", + "code": "UPDATE" + } + ] + } + } + }, + { + "fullUrl": "Coverage/1735607686599763000.b88e5c51-e24d-4987-b26c-81ee5d46cc7e", "resource": { "resourceType": "Coverage", - "id": "1732324231019741000.a36368bf-6c63-4970-8948-034a92248964", + "id": "1735607686599763000.b88e5c51-e24d-4987-b26c-81ee5d46cc7e", "extension": [ { - "url": "IN1.14", + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/in1-coverage", "extension": [ { - "url": "AUI.1", - "valueString": "1701" - }, - { - "url": "AUI.2", - "valueString": "19700101" - }, - { - "url": "AUI.3", - "valueString": "DR TEETH AND THE ELECTRIC MAYHEM" + "url": "IN1.14", + "extension": [ + { + "url": "AUI.1", + "valueString": "1701" + }, + { + "url": "AUI.2", + "valueString": "19700101" + }, + { + "url": "AUI.3", + "valueString": "DR TEETH AND THE ELECTRIC MAYHEM" + } + ] } ] } - ] + ], + "beneficiary": { + "reference": "Patient/1735607686595888000.cd43a9b7-cd31-4838-861a-6fb1c300d0a3" + } } } ] diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/aui/AUI-to-Extension.hl7 b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/aui/AUI-to-Extension.hl7 index 6d424a80fa2..d518f3d1bc4 100644 --- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/aui/AUI-to-Extension.hl7 +++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/aui/AUI-to-Extension.hl7 @@ -1,3 +1,3 @@ MSH|^~\&|||||||OML^O21^OML_O21|MSG00001|P|2.5.1 PID|1 -IN1||||||||||||||1701^19700101^DR TEETH AND THE ELECTRIC MAYHEM \ No newline at end of file +IN1|1|||||||||||||1701^19700101^DR TEETH AND THE ELECTRIC MAYHEM \ No newline at end of file diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/cp/cp-to-extension.fhir b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/cp/cp-to-extension.fhir index 86c2f6a5a65..8e878c79919 100644 --- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/cp/cp-to-extension.fhir +++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/cp/cp-to-extension.fhir @@ -1,8 +1,8 @@ { "resourceType": "Bundle", - "id": "1733797768446514000.f1548dec-5abc-4302-9b8d-59f755ec9b2f", + "id": "1735608671901313000.d9598ec9-3cd8-47aa-85ed-defe84b32d9b", "meta": { - "lastUpdated": "2024-12-09T18:29:28.450-08:00" + "lastUpdated": "2024-12-30T20:31:11.910-05:00" }, "identifier": { "system": "https://reportstream.cdc.gov/prime-router", @@ -11,10 +11,10 @@ "type": "message", "entry": [ { - "fullUrl": "MessageHeader/1733797768476500000.9c68bbf7-cd15-490d-a357-ac0d515575f8", + "fullUrl": "MessageHeader/1735608671965589000.02b66308-1cb9-481d-8f70-edc356456b18", "resource": { "resourceType": "MessageHeader", - "id": "1733797768476500000.9c68bbf7-cd15-490d-a357-ac0d515575f8", + "id": "1735608671965589000.02b66308-1cb9-481d-8f70-edc356456b18", "meta": { "tag": [ { @@ -31,10 +31,10 @@ } }, { - "fullUrl": "Provenance/1733797768760500000.23e4e2bd-4532-468d-89ec-e012d5702477", + "fullUrl": "Provenance/1735608672601942000.fd27bf33-11c3-44c3-8385-f884623fda4c", "resource": { "resourceType": "Provenance", - "id": "1733797768760500000.23e4e2bd-4532-468d-89ec-e012d5702477", + "id": "1735608672601942000.fd27bf33-11c3-44c3-8385-f884623fda4c", "activity": { "coding": [ { @@ -45,11 +45,11 @@ } }, { - "fullUrl": "Provenance/1733797768767441000.19ac0704-100d-4d66-8cb9-3094fba92b95", + "fullUrl": "Provenance/1735608672613445000.c1be2ac2-e14b-4228-857b-cb4793cc3fdd", "resource": { "resourceType": "Provenance", - "id": "1733797768767441000.19ac0704-100d-4d66-8cb9-3094fba92b95", - "recorded": "2024-12-09T18:29:28Z", + "id": "1735608672613445000.c1be2ac2-e14b-4228-857b-cb4793cc3fdd", + "recorded": "2024-12-30T20:31:12Z", "policy": [ "http://hl7.org/fhir/uv/v2mappings/message-oru-r01-to-bundle" ], @@ -71,17 +71,17 @@ ] }, "who": { - "reference": "Organization/1733797768766853000.2f23f653-749b-4b43-b159-d1d955375f3a" + "reference": "Organization/1735608672612343000.dec42039-b679-40c2-b651-3a3adb8aaae8" } } ] } }, { - "fullUrl": "Organization/1733797768766853000.2f23f653-749b-4b43-b159-d1d955375f3a", + "fullUrl": "Organization/1735608672612343000.dec42039-b679-40c2-b651-3a3adb8aaae8", "resource": { "resourceType": "Organization", - "id": "1733797768766853000.2f23f653-749b-4b43-b159-d1d955375f3a", + "id": "1735608672612343000.dec42039-b679-40c2-b651-3a3adb8aaae8", "identifier": [ { "value": "CDC PRIME - Atlanta" @@ -101,23 +101,23 @@ } }, { - "fullUrl": "Patient/1733797768779870000.bb1ddb84-5fa1-484f-96a4-4616988212fc", + "fullUrl": "Patient/1735608672631850000.d177ffb9-5921-42fd-ae4c-e95af3bb979b", "resource": { "resourceType": "Patient", - "id": "1733797768779870000.bb1ddb84-5fa1-484f-96a4-4616988212fc" + "id": "1735608672631850000.d177ffb9-5921-42fd-ae4c-e95af3bb979b" } }, { - "fullUrl": "Provenance/1733797768780413000.e0ff5861-fd54-4149-8ee0-415a1dcc9123", + "fullUrl": "Provenance/1735608672632631000.8fb71e4f-5f85-4149-a72a-f83cb7382dfd", "resource": { "resourceType": "Provenance", - "id": "1733797768780413000.e0ff5861-fd54-4149-8ee0-415a1dcc9123", + "id": "1735608672632631000.8fb71e4f-5f85-4149-a72a-f83cb7382dfd", "target": [ { - "reference": "Patient/1733797768779870000.bb1ddb84-5fa1-484f-96a4-4616988212fc" + "reference": "Patient/1735608672631850000.d177ffb9-5921-42fd-ae4c-e95af3bb979b" } ], - "recorded": "2024-12-09T18:29:28Z", + "recorded": "2024-12-30T20:31:12Z", "activity": { "coding": [ { @@ -129,66 +129,74 @@ } }, { - "fullUrl": "Coverage/1733797768783117000.2931a2e0-097c-481f-9adf-46e114f827b2", + "fullUrl": "Coverage/1735608672637495000.ec040fc9-bc48-4296-9011-3d838aee76f2", "resource": { "resourceType": "Coverage", - "id": "1733797768783117000.2931a2e0-097c-481f-9adf-46e114f827b2", + "id": "1735608672637495000.ec040fc9-bc48-4296-9011-3d838aee76f2", "extension": [ { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/composite-price", + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/in1-coverage", "extension": [ { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString": "IN1.40" - }, - { - "url": "CP.1.1", - "valueDecimal": 33.33 - }, - { - "url": "CP.1.2", - "valueString": "MXN" - }, - { - "url": "CP.2", - "valueString": "P3" - }, - { - "url": "CP.3", - "valueDecimal": 3.003 - }, - { - "url": "CP.4", - "valueDecimal": -3 - }, - { - "url": "CP.5", - "valueCodeableConcept": { - "coding": [ - { - "extension": [ + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/composite-price", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "IN1.40" + }, + { + "url": "CP.1.1", + "valueDecimal": 33.33 + }, + { + "url": "CP.1.2", + "valueString": "MXN" + }, + { + "url": "CP.2", + "valueString": "P3" + }, + { + "url": "CP.3", + "valueDecimal": 3.003 + }, + { + "url": "CP.4", + "valueDecimal": -3 + }, + { + "url": "CP.5", + "valueCodeableConcept": { + "coding": [ { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString": "coding" - }, - { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString": "HL79999" + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL79999" + } + ], + "code": "OR", + "display": "Oven Range" } - ], - "code": "OR", - "display": "Oven Range" + ] } - ] - } - }, - { - "url": "CP.6", - "valueString": "P" + }, + { + "url": "CP.6", + "valueString": "P" + } + ] } ] } - ] + ], + "beneficiary": { + "reference": "Patient/1735608672631850000.d177ffb9-5921-42fd-ae4c-e95af3bb979b" + } } } ] diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/cp/cp-to-extension.hl7 b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/cp/cp-to-extension.hl7 index be3735df492..3da467cd594 100644 --- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/cp/cp-to-extension.hl7 +++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/cp/cp-to-extension.hl7 @@ -1,3 +1,3 @@ MSH|^~\&|||||||OML^O21^OML_O21|MSG00001|P|2.5.1 PID|1 -IN1||||||||||||||||||||||||||||||||||||||||33.33&MXN^P3^3.003^-3^OR&Oven Range&HL79999^P \ No newline at end of file +IN1|1|||||||||||||||||||||||||||||||||||||||33.33&MXN^P3^3.003^-3^OR&Oven Range&HL79999^P \ No newline at end of file diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/in1/IN1-to-Coverage-IN1-10-SN-IN1-17-SEL.fhir b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/in1/IN1-to-Coverage-IN1-10-SN-IN1-17-SEL.fhir new file mode 100644 index 00000000000..f989e860954 --- /dev/null +++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/in1/IN1-to-Coverage-IN1-10-SN-IN1-17-SEL.fhir @@ -0,0 +1,1260 @@ +{ + "resourceType": "Bundle", + "id": "1735607570735721000.d06b3dc2-0701-4cd2-a5f8-1c4d87cd560e", + "meta": { + "lastUpdated": "2024-12-30T20:12:50.746-05:00" + }, + "identifier": { + "system": "https://reportstream.cdc.gov/prime-router", + "value": "MSG00001" + }, + "type": "message", + "entry": [ + { + "fullUrl": "MessageHeader/1735607570809742000.109af943-4d4a-4472-9d77-1c1548347b5b", + "resource": { + "resourceType": "MessageHeader", + "id": "1735607570809742000.109af943-4d4a-4472-9d77-1c1548347b5b", + "meta": { + "tag": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0103", + "code": "P" + } + ] + }, + "eventCoding": { + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "code": "O21", + "display": "OML^O21^OML_O21" + } + } + }, + { + "fullUrl": "Provenance/1735607571416409000.dd116000-eaf4-4846-8f24-236b7b87dd3d", + "resource": { + "resourceType": "Provenance", + "id": "1735607571416409000.dd116000-eaf4-4846-8f24-236b7b87dd3d", + "activity": { + "coding": [ + { + "display": "OML^O21^OML_O21" + } + ] + } + } + }, + { + "fullUrl": "Provenance/1735607571427185000.0f1b16bd-0c7b-4e9c-bba8-00c200e91b51", + "resource": { + "resourceType": "Provenance", + "id": "1735607571427185000.0f1b16bd-0c7b-4e9c-bba8-00c200e91b51", + "recorded": "2024-12-30T20:12:51Z", + "policy": [ + "http://hl7.org/fhir/uv/v2mappings/message-oru-r01-to-bundle" + ], + "activity": { + "coding": [ + { + "code": "v2-FHIR transformation" + } + ] + }, + "agent": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type", + "code": "assembler" + } + ] + }, + "who": { + "reference": "Organization/1735607571426354000.0a2b3233-8da1-4558-8cf2-0454faeb0c52" + } + } + ] + } + }, + { + "fullUrl": "Organization/1735607571426354000.0a2b3233-8da1-4558-8cf2-0454faeb0c52", + "resource": { + "resourceType": "Organization", + "id": "1735607571426354000.0a2b3233-8da1-4558-8cf2-0454faeb0c52", + "identifier": [ + { + "value": "CDC PRIME - Atlanta" + }, + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + }, + "system": "urn:ietf:rfc:3986", + "value": "2.16.840.1.114222.4.1.237821" + } + ] + } + }, + { + "fullUrl": "Patient/1735607571445863000.113e33f5-cbc5-4543-b947-bf5621a94c6a", + "resource": { + "resourceType": "Patient", + "id": "1735607571445863000.113e33f5-cbc5-4543-b947-bf5621a94c6a", + "identifier": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "PID.3" + } + ], + "value": "10334" + } + ], + "name": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name", + "extension": [ + { + "url": "XPN.2", + "valueString": "RENEE" + }, + { + "url": "XPN.3", + "valueString": "D" + } + ] + } + ], + "family": "SOUTAR", + "given": [ + "RENEE", + "D" + ] + } + ] + } + }, + { + "fullUrl": "Provenance/1735607571446907000.a310d2c7-945f-42db-88ca-73a9bdcd76ff", + "resource": { + "resourceType": "Provenance", + "id": "1735607571446907000.a310d2c7-945f-42db-88ca-73a9bdcd76ff", + "target": [ + { + "reference": "Patient/1735607571445863000.113e33f5-cbc5-4543-b947-bf5621a94c6a" + } + ], + "recorded": "2024-12-30T20:12:51Z", + "activity": { + "coding": [ + { + "system": "https://terminology.hl7.org/CodeSystem/v3-DataOperation", + "code": "UPDATE" + } + ] + } + } + }, + { + "fullUrl": "Coverage/1735607571474335000.dc447390-8c36-43cc-bf64-ab1aa15c812f", + "resource": { + "resourceType": "Coverage", + "id": "1735607571474335000.dc447390-8c36-43cc-bf64-ab1aa15c812f", + "extension": [ + { + "url": "http://hl7.org/fhir/R5/StructureDefinition/extension-subscriberId", + "valueIdentifier": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier", + "extension": [ + { + "url": "CX.5", + "valueString": "SN" + } + ] + } + ], + "type": { + "coding": [ + { + "code": "SN" + } + ] + }, + "value": "19" + } + }, + { + "url": "http://hl7.org/fhir/R5/StructureDefinition/extension-subscriberId", + "valueIdentifier": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier", + "extension": [ + { + "url": "CX.5", + "valueString": "PN" + } + ] + } + ], + "type": { + "coding": [ + { + "code": "PN" + } + ] + }, + "value": "555221234" + } + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/in1-coverage", + "extension": [ + { + "url": "IN1.2", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "EPO" + } + ] + } + }, + { + "url": "IN1.3", + "valueIdentifier": { + "value": "80" + } + }, + { + "url": "IN1.14", + "extension": [ + { + "url": "AUI.1", + "valueString": "1701" + }, + { + "url": "AUI.2", + "valueString": "19700101" + }, + { + "url": "AUI.3", + "valueString": "DR TEETH AND THE ELECTRIC MAYHEM" + } + ] + }, + { + "url": "IN1.16", + "valueHumanName": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name", + "extension": [ + { + "url": "XPN.2", + "valueString": "RENEE" + }, + { + "url": "XPN.3", + "valueString": "D" + } + ] + } + ], + "family": "SOUTAR", + "given": [ + "RENEE", + "D" + ] + } + }, + { + "url": "IN1.17", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "SEL" + } + ] + } + }, + { + "url": "IN1.18", + "valueDateTime": "1970-07-22", + "_valueDateTime": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time", + "valueString": "19700722" + } + ] + } + }, + { + "url": "IN1.19", + "valueAddress": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xad-address", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/sad-address-line", + "extension": [ + { + "url": "SAD.1", + "valueString": "13324 WHITE CEMETERY RD" + } + ] + }, + { + "url": "XAD.2", + "valueString": "\"\"" + } + ] + } + ], + "line": [ + "13324 WHITE CEMETERY RD", + "\"\"" + ], + "city": "HANNIBAL", + "state": "NY", + "postalCode": "130740000", + "country": "\"\"" + } + }, + { + "url": "IN1.20", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "Y" + } + ] + } + }, + { + "url": "IN1.21", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "IN" + } + ] + } + }, + { + "url": "IN1.22", + "valueString": "1" + }, + { + "url": "IN1.23", + "valueString": "Y" + }, + { + "url": "IN1.24", + "valueString": "20241223" + }, + { + "url": "IN1.4", + "valueReference": { + "reference": "Organization/1735607571456352000.5f94601a-fd1f-40ef-ae63-2b67489502b7" + } + }, + { + "url": "IN1.25", + "valueString": "Y" + }, + { + "url": "IN1.26", + "valueString": "20241224" + }, + { + "url": "IN1.27", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "N" + } + ] + } + }, + { + "url": "IN1.28", + "valueString": "PACCERT" + }, + { + "url": "IN1.29", + "valueDateTime": "2024-12-23", + "_valueDateTime": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time", + "valueString": "20241223" + } + ] + } + }, + { + "url": "IN1.30", + "valueReference": { + "reference": "Practitioner/1735607571461414000.05117614-7850-4ee0-8e36-c6aff5bda2f9" + } + }, + { + "url": "IN1.31", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "S" + } + ] + } + }, + { + "url": "IN1.32", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "OK" + } + ] + } + }, + { + "url": "IN1.33", + "valueString": "176" + }, + { + "url": "IN1.34", + "valueString": "2" + }, + { + "url": "IN1.5", + "valueAddress": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xad-address", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/sad-address-line", + "extension": [ + { + "url": "SAD.1", + "valueString": "PO BOX 981114" + } + ] + }, + { + "url": "XAD.2", + "valueString": "\"\"" + } + ] + } + ], + "line": [ + "PO BOX 981114", + "\"\"" + ], + "city": "EL PASO", + "state": "TX", + "postalCode": "79998", + "country": "\"\"" + } + }, + { + "url": "IN1.35", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "1234" + } + ] + } + }, + { + "url": "IN1.36", + "valueString": "1002424" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/composite-price", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "IN1.37" + }, + { + "url": "CP.1.1", + "valueDecimal": 11.11 + }, + { + "url": "CP.1.2", + "valueString": "USD" + }, + { + "url": "CP.2", + "valueString": "P1" + }, + { + "url": "CP.3", + "valueDecimal": 1.001 + }, + { + "url": "CP.4", + "valueDecimal": -1 + }, + { + "url": "CP.5", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL79999" + } + ], + "code": "R", + "display": "Range Units" + } + ] + } + }, + { + "url": "CP.6", + "valueString": "F" + } + ] + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/composite-price", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "IN1.38" + }, + { + "url": "CP.1.1", + "valueDecimal": 22.22 + }, + { + "url": "CP.1.2", + "valueString": "RUB" + }, + { + "url": "CP.2", + "valueString": "P2" + }, + { + "url": "CP.3", + "valueDecimal": 2.002 + }, + { + "url": "CP.4", + "valueDecimal": -2 + }, + { + "url": "CP.5", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL79999" + } + ], + "code": "RR", + "display": "Russian Rubble" + } + ] + } + }, + { + "url": "CP.6", + "valueString": "F" + } + ] + }, + { + "url": "IN1.39", + "valueString": "10" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/composite-price", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "IN1.40" + }, + { + "url": "CP.1.1", + "valueDecimal": 33.33 + }, + { + "url": "CP.1.2", + "valueString": "MXN" + }, + { + "url": "CP.2", + "valueString": "P3" + }, + { + "url": "CP.3", + "valueDecimal": 3.003 + }, + { + "url": "CP.4", + "valueDecimal": -3 + }, + { + "url": "CP.5", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL79999" + } + ], + "code": "OR", + "display": "Oven Range" + } + ] + } + }, + { + "url": "CP.6", + "valueString": "P" + } + ] + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/composite-price", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "IN1.41" + }, + { + "url": "CP.1.1", + "valueDecimal": 44.44 + }, + { + "url": "CP.1.2", + "valueString": "CAD" + }, + { + "url": "CP.2", + "valueString": "P4" + }, + { + "url": "CP.3", + "valueDecimal": 4.004 + }, + { + "url": "CP.4", + "valueDecimal": -4 + }, + { + "url": "CP.5", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL79999" + } + ], + "code": "HHR", + "display": "Home Home Range" + } + ] + } + }, + { + "url": "CP.6", + "valueString": "P" + } + ] + }, + { + "url": "IN1.42", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "1" + } + ] + } + }, + { + "url": "IN1.43", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "F" + } + ] + } + }, + { + "url": "IN1.44", + "valueAddress": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xad-address", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/sad-address-line", + "extension": [ + { + "url": "SAD.1", + "valueString": "45 WORKING LANE" + } + ] + } + ] + } + ], + "line": [ + "45 WORKING LANE" + ], + "city": "LIVERPOOL", + "state": "NY", + "postalCode": "13088" + } + }, + { + "url": "IN1.6", + "valueHumanName": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name", + "extension": [ + { + "url": "XPN.2", + "valueString": "John" + } + ] + } + ], + "family": "Jones", + "given": [ + "John" + ], + "prefix": [ + "Mr." + ] + } + }, + { + "url": "IN1.45", + "valueString": "Y" + }, + { + "url": "IN1.46", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "1002423" + } + ] + } + }, + { + "url": "IN1.47", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "B" + } + ] + } + }, + { + "url": "IN1.48", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "0" + } + ] + } + }, + { + "url": "IN1.49", + "valueIdentifier": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier", + "extension": [ + { + "url": "CX.5", + "valueString": "PN" + } + ] + } + ], + "type": { + "coding": [ + { + "code": "PN" + } + ] + }, + "value": "555221234" + } + }, + { + "url": "IN1.50", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "S" + } + ] + } + }, + { + "url": "IN1.51", + "valueString": "20241222" + }, + { + "url": "IN1.52", + "valueString": "GRACE HOSPITAL" + }, + { + "url": "IN1.53", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "2" + } + ] + } + }, + { + "url": "IN1.7", + "valueContactPoint": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point", + "extension": [ + { + "url": "XTN.1", + "valueString": "(850)555-0809" + } + ] + } + ], + "_system": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "value": "(850)555-0809" + } + }, + { + "url": "IN1.8", + "valueString": "1500004000001" + }, + { + "url": "IN1.9", + "valueReference": { + "reference": "Organization/1735607571472186000.44092bf5-2941-4293-87ea-1d29992c3b1d" + } + }, + { + "url": "IN1.10", + "valueIdentifier": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier", + "extension": [ + { + "url": "CX.5", + "valueString": "SN" + } + ] + } + ], + "type": { + "coding": [ + { + "code": "SN" + } + ] + }, + "value": "19" + } + }, + { + "url": "IN1.11", + "valueReference": { + "reference": "Organization/1735607571473093000.014de057-7f78-445e-90e8-7780dd17e2f9" + } + } + ] + } + ], + "type": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "2" + } + ] + }, + "policyHolder": { + "reference": "Organization/1735607571475373000.115ac999-3670-4f80-93fa-b82338acf742" + }, + "subscriber": { + "reference": "Patient/1735607571445863000.113e33f5-cbc5-4543-b947-bf5621a94c6a" + }, + "beneficiary": { + "reference": "Patient/1735607571445863000.113e33f5-cbc5-4543-b947-bf5621a94c6a" + }, + "relationship": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "SEL" + } + ] + }, + "period": { + "start": "2024-07-01", + "_start": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date", + "valueString": "20240701" + } + ] + }, + "end": "2025-06-30", + "_end": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date", + "valueString": "20250630" + } + ] + } + }, + "payor": [ + { + "reference": "Organization/1735607571474120000.ef081f16-ddd3-4a56-a861-5b056b5d5611" + } + ] + } + }, + { + "fullUrl": "Organization/1735607571456352000.5f94601a-fd1f-40ef-ae63-2b67489502b7", + "resource": { + "resourceType": "Organization", + "id": "1735607571456352000.5f94601a-fd1f-40ef-ae63-2b67489502b7", + "name": "AETNA US HEALTHCARE" + } + }, + { + "fullUrl": "Practitioner/1735607571461414000.05117614-7850-4ee0-8e36-c6aff5bda2f9", + "resource": { + "resourceType": "Practitioner", + "id": "1735607571461414000.05117614-7850-4ee0-8e36-c6aff5bda2f9", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", + "valueString": "NPI" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id", + "valueString": "2.16.840.1.114222.4.1.144" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", + "valueCode": "ISO" + } + ] + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", + "extension": [ + { + "url": "XCN.3", + "valueString": "Christopher" + }, + { + "url": "XCN.4", + "valueString": "Beau" + }, + { + "url": "XCN.7", + "valueString": "MD" + }, + { + "url": "XCN.10", + "valueString": "L" + } + ] + } + ], + "identifier": [ + { + "type": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id", + "valueBoolean": true + } + ], + "code": "NPI" + } + ] + }, + "system": "NPI", + "value": "1871759365" + } + ], + "name": [ + { + "use": "official", + "family": "Willison", + "given": [ + "Christopher", + "Beau" + ], + "suffix": [ + "MD" + ] + } + ] + } + }, + { + "fullUrl": "Organization/1735607571472186000.44092bf5-2941-4293-87ea-1d29992c3b1d", + "resource": { + "resourceType": "Organization", + "id": "1735607571472186000.44092bf5-2941-4293-87ea-1d29992c3b1d", + "name": "AETNA SERVICES INC" + } + }, + { + "fullUrl": "Organization/1735607571473093000.014de057-7f78-445e-90e8-7780dd17e2f9", + "resource": { + "resourceType": "Organization", + "id": "1735607571473093000.014de057-7f78-445e-90e8-7780dd17e2f9", + "name": "AETNA US HEALTHCARE" + } + }, + { + "fullUrl": "Organization/1735607571474120000.ef081f16-ddd3-4a56-a861-5b056b5d5611", + "resource": { + "resourceType": "Organization", + "id": "1735607571474120000.ef081f16-ddd3-4a56-a861-5b056b5d5611", + "name": "AETNA US HEALTHCARE", + "address": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xad-address", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/sad-address-line", + "extension": [ + { + "url": "SAD.1", + "valueString": "PO BOX 981114" + } + ] + }, + { + "url": "XAD.2", + "valueString": "\"\"" + } + ] + } + ], + "line": [ + "PO BOX 981114", + "\"\"" + ], + "city": "EL PASO", + "state": "TX", + "postalCode": "79998", + "country": "\"\"" + } + ] + } + }, + { + "fullUrl": "Organization/1735607571475373000.115ac999-3670-4f80-93fa-b82338acf742", + "resource": { + "resourceType": "Organization", + "id": "1735607571475373000.115ac999-3670-4f80-93fa-b82338acf742", + "identifier": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier", + "extension": [ + { + "url": "CX.5", + "valueString": "SN" + } + ] + } + ], + "type": { + "coding": [ + { + "code": "SN" + } + ] + }, + "value": "19" + } + ], + "name": "AETNA US HEALTHCARE" + } + } + ] +} \ No newline at end of file diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/in1/IN1-to-Coverage-IN1-10-SN-IN1-17-SEL.hl7 b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/in1/IN1-to-Coverage-IN1-10-SN-IN1-17-SEL.hl7 new file mode 100644 index 00000000000..e044891739c --- /dev/null +++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/in1/IN1-to-Coverage-IN1-10-SN-IN1-17-SEL.hl7 @@ -0,0 +1,3 @@ +MSH|^~\&|||||||OML^O21^OML_O21|MSG00001|P|2.5.1 +PID|1||10334||SOUTAR^RENEE^D +IN1|1|EPO|80|AETNA US HEALTHCARE|PO BOX 981114^""^EL PASO^TX^79998^""|Jones^John^^^Mr.|(850)555-0809|1500004000001|AETNA SERVICES INC|19^^^^SN|AETNA US HEALTHCARE|20240701|20250630|1701^19700101^DR TEETH AND THE ELECTRIC MAYHEM|2|SOUTAR^RENEE^D|SEL|19700722|13324 WHITE CEMETERY RD^""^HANNIBAL^NY^130740000^""|Y|IN|1|Y|20241223|Y|20241224|N|PACCERT|20241223|1871759365^Willison^Christopher^Beau^^^MD^^NPI&2.16.840.1.114222.4.1.144&ISO^L^^^NPI|S|OK|176|2|1234|1002424|11.11&USD^P1^1.001^-1^R&Range Units&HL79999^F|22.22&RUB^P2^2.002^-2^RR&Russian Rubble&HL79999^F|10|33.33&MXN^P3^3.003^-3^OR&Oven Range&HL79999^P|44.44&CAD^P4^4.004^-4^HHR&Home Home Range&HL79999^P|1|F|45 WORKING LANE^^LIVERPOOL^NY^13088|Y|1002423|B|0|555221234^^^^PN|S|20241222|GRACE HOSPITAL|2 \ No newline at end of file diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/in1/IN1-to-Coverage.fhir b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/in1/IN1-to-Coverage.fhir index c341f40f512..530094f21d7 100644 --- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/in1/IN1-to-Coverage.fhir +++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/in1/IN1-to-Coverage.fhir @@ -1,8 +1,8 @@ { "resourceType": "Bundle", - "id": "1733797806213402000.63933238-a67a-4568-8544-178612c57351", + "id": "1735607412724046000.a8837499-4bff-4d3a-aa08-7833926181b1", "meta": { - "lastUpdated": "2024-12-09T18:30:06.217-08:00" + "lastUpdated": "2024-12-30T20:10:12.733-05:00" }, "identifier": { "system": "https://reportstream.cdc.gov/prime-router", @@ -11,10 +11,10 @@ "type": "message", "entry": [ { - "fullUrl": "MessageHeader/1733797806248346000.554ce0a6-e3fb-4b4e-b8e2-c111f8944cd5", + "fullUrl": "MessageHeader/1735607412795151000.8ec032fb-c853-4fb1-b666-9fda5ba38fdf", "resource": { "resourceType": "MessageHeader", - "id": "1733797806248346000.554ce0a6-e3fb-4b4e-b8e2-c111f8944cd5", + "id": "1735607412795151000.8ec032fb-c853-4fb1-b666-9fda5ba38fdf", "meta": { "tag": [ { @@ -31,10 +31,10 @@ } }, { - "fullUrl": "Provenance/1733797806498618000.239e218a-0960-4528-939e-5ee68bfbba1d", + "fullUrl": "Provenance/1735607413421221000.95ae083e-fbdd-4af0-ad8e-ebc3890a9acd", "resource": { "resourceType": "Provenance", - "id": "1733797806498618000.239e218a-0960-4528-939e-5ee68bfbba1d", + "id": "1735607413421221000.95ae083e-fbdd-4af0-ad8e-ebc3890a9acd", "activity": { "coding": [ { @@ -45,11 +45,11 @@ } }, { - "fullUrl": "Provenance/1733797806506657000.35b16b0c-d80a-4017-8cad-868a79863b64", + "fullUrl": "Provenance/1735607413431995000.d9f35b33-d555-41d3-ba78-8b7f91bf3ecb", "resource": { "resourceType": "Provenance", - "id": "1733797806506657000.35b16b0c-d80a-4017-8cad-868a79863b64", - "recorded": "2024-12-09T18:30:06Z", + "id": "1735607413431995000.d9f35b33-d555-41d3-ba78-8b7f91bf3ecb", + "recorded": "2024-12-30T20:10:13Z", "policy": [ "http://hl7.org/fhir/uv/v2mappings/message-oru-r01-to-bundle" ], @@ -71,17 +71,17 @@ ] }, "who": { - "reference": "Organization/1733797806506092000.a6f8b4f5-e971-4ee2-8891-8b67af7df93d" + "reference": "Organization/1735607413431264000.7ea1e7cd-187a-4e72-bfc0-b853778ed584" } } ] } }, { - "fullUrl": "Organization/1733797806506092000.a6f8b4f5-e971-4ee2-8891-8b67af7df93d", + "fullUrl": "Organization/1735607413431264000.7ea1e7cd-187a-4e72-bfc0-b853778ed584", "resource": { "resourceType": "Organization", - "id": "1733797806506092000.a6f8b4f5-e971-4ee2-8891-8b67af7df93d", + "id": "1735607413431264000.7ea1e7cd-187a-4e72-bfc0-b853778ed584", "identifier": [ { "value": "CDC PRIME - Atlanta" @@ -101,23 +101,58 @@ } }, { - "fullUrl": "Patient/1733797806517233000.6ddc53a3-0587-4db5-8c73-5b6634eb1369", + "fullUrl": "Patient/1735607413450390000.5264710b-51b1-42e0-8a8a-3a0770437aac", "resource": { "resourceType": "Patient", - "id": "1733797806517233000.6ddc53a3-0587-4db5-8c73-5b6634eb1369" + "id": "1735607413450390000.5264710b-51b1-42e0-8a8a-3a0770437aac", + "identifier": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "PID.3" + } + ], + "value": "10334" + } + ], + "name": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name", + "extension": [ + { + "url": "XPN.2", + "valueString": "RENEE" + }, + { + "url": "XPN.3", + "valueString": "D" + } + ] + } + ], + "family": "SOUTAR", + "given": [ + "RENEE", + "D" + ] + } + ] } }, { - "fullUrl": "Provenance/1733797806517793000.28f02504-824d-4c22-a6a1-e234b3affd5f", + "fullUrl": "Provenance/1735607413451341000.a95ee7ee-5a51-49a7-aa6d-6853e932efc7", "resource": { "resourceType": "Provenance", - "id": "1733797806517793000.28f02504-824d-4c22-a6a1-e234b3affd5f", + "id": "1735607413451341000.a95ee7ee-5a51-49a7-aa6d-6853e932efc7", "target": [ { - "reference": "Patient/1733797806517233000.6ddc53a3-0587-4db5-8c73-5b6634eb1369" + "reference": "Patient/1735607413450390000.5264710b-51b1-42e0-8a8a-3a0770437aac" } ], - "recorded": "2024-12-09T18:30:06Z", + "recorded": "2024-12-30T20:10:13Z", "activity": { "coding": [ { @@ -129,57 +164,165 @@ } }, { - "fullUrl": "Coverage/1733797806523309000.c5403041-1e4b-4f81-bc46-f16237041fec", + "fullUrl": "Coverage/1735607413479117000.21dfd8fa-49b5-4875-9e4a-27db2dea7e34", "resource": { "resourceType": "Coverage", - "id": "1733797806523309000.c5403041-1e4b-4f81-bc46-f16237041fec", + "id": "1735607413479117000.21dfd8fa-49b5-4875-9e4a-27db2dea7e34", "extension": [ { - "url": "IN1.14", - "extension": [ - { - "url": "AUI.1", - "valueString": "1701" - }, - { - "url": "AUI.2", - "valueString": "19700101" + "url": "http://hl7.org/fhir/R5/StructureDefinition/extension-subscriberId", + "valueIdentifier": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier", + "extension": [ + { + "url": "CX.5", + "valueString": "PN" + } + ] + } + ], + "type": { + "coding": [ + { + "code": "PN" + } + ] }, - { - "url": "AUI.3", - "valueString": "DR TEETH AND THE ELECTRIC MAYHEM" - } - ] + "value": "555221234" + } }, { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/composite-price", + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/in1-coverage", "extension": [ { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString": "IN1.37" + "url": "IN1.2", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "EPO" + } + ] + } }, { - "url": "CP.1.1", - "valueDecimal": 11.11 + "url": "IN1.3", + "valueIdentifier": { + "value": "80" + } }, { - "url": "CP.1.2", - "valueString": "USD" + "url": "IN1.14", + "extension": [ + { + "url": "AUI.1", + "valueString": "1701" + }, + { + "url": "AUI.2", + "valueString": "19700101" + }, + { + "url": "AUI.3", + "valueString": "DR TEETH AND THE ELECTRIC MAYHEM" + } + ] }, { - "url": "CP.2", - "valueString": "P1" + "url": "IN1.16", + "valueHumanName": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name", + "extension": [ + { + "url": "XPN.2", + "valueString": "RENEE" + }, + { + "url": "XPN.3", + "valueString": "D" + } + ] + } + ], + "family": "SOUTAR", + "given": [ + "RENEE", + "D" + ] + } }, { - "url": "CP.3", - "valueDecimal": 1.001 + "url": "IN1.17", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "3" + } + ] + } + }, + { + "url": "IN1.18", + "valueDateTime": "1970-07-22", + "_valueDateTime": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time", + "valueString": "19700722" + } + ] + } }, { - "url": "CP.4", - "valueDecimal": -1 + "url": "IN1.19", + "valueAddress": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xad-address", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/sad-address-line", + "extension": [ + { + "url": "SAD.1", + "valueString": "13324 WHITE CEMETERY RD" + } + ] + }, + { + "url": "XAD.2", + "valueString": "\"\"" + } + ] + } + ], + "line": [ + "13324 WHITE CEMETERY RD", + "\"\"" + ], + "city": "HANNIBAL", + "state": "NY", + "postalCode": "130740000", + "country": "\"\"" + } }, { - "url": "CP.5", + "url": "IN1.20", "valueCodeableConcept": { "coding": [ { @@ -187,53 +330,95 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", "valueString": "coding" - }, + } + ], + "code": "Y" + } + ] + } + }, + { + "url": "IN1.21", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString": "HL79999" + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" } ], - "code": "R", - "display": "Range Units" + "code": "IN" } ] } }, { - "url": "CP.6", - "valueString": "F" - } - ] - }, - { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/composite-price", - "extension": [ + "url": "IN1.22", + "valueString": "1" + }, { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString": "IN1.38" + "url": "IN1.23", + "valueString": "Y" }, { - "url": "CP.1.1", - "valueDecimal": 22.22 + "url": "IN1.24", + "valueString": "20241223" }, { - "url": "CP.1.2", - "valueString": "RUB" + "url": "IN1.4", + "valueReference": { + "reference": "Organization/1735607413459489000.96020817-9cbc-46b8-a770-c80bcac5ab39" + } }, { - "url": "CP.2", - "valueString": "P2" + "url": "IN1.25", + "valueString": "Y" }, { - "url": "CP.3", - "valueDecimal": 2.002 + "url": "IN1.26", + "valueString": "20241224" }, { - "url": "CP.4", - "valueDecimal": -2 + "url": "IN1.27", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "N" + } + ] + } + }, + { + "url": "IN1.28", + "valueString": "PACCERT" + }, + { + "url": "IN1.29", + "valueDateTime": "2024-12-23", + "_valueDateTime": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time", + "valueString": "20241223" + } + ] + } + }, + { + "url": "IN1.30", + "valueReference": { + "reference": "Practitioner/1735607413465113000.809f836b-5b99-484e-91ef-b6dd965dfff8" + } }, { - "url": "CP.5", + "url": "IN1.31", "valueCodeableConcept": { "coding": [ { @@ -241,53 +426,312 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", "valueString": "coding" - }, + } + ], + "code": "S" + } + ] + } + }, + { + "url": "IN1.32", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString": "HL79999" + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" } ], - "code": "RR", - "display": "Russian Rubble" + "code": "OK" } ] } }, { - "url": "CP.6", - "valueString": "F" - } - ] - }, - { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/composite-price", - "extension": [ + "url": "IN1.33", + "valueString": "176" + }, { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString": "IN1.40" + "url": "IN1.34", + "valueString": "2" + }, + { + "url": "IN1.5", + "valueAddress": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xad-address", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/sad-address-line", + "extension": [ + { + "url": "SAD.1", + "valueString": "PO BOX 981114" + } + ] + }, + { + "url": "XAD.2", + "valueString": "\"\"" + } + ] + } + ], + "line": [ + "PO BOX 981114", + "\"\"" + ], + "city": "EL PASO", + "state": "TX", + "postalCode": "79998", + "country": "\"\"" + } + }, + { + "url": "IN1.35", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "1234" + } + ] + } }, { - "url": "CP.1.1", - "valueDecimal": 33.33 + "url": "IN1.36", + "valueString": "1002424" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/composite-price", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "IN1.37" + }, + { + "url": "CP.1.1", + "valueDecimal": 11.11 + }, + { + "url": "CP.1.2", + "valueString": "USD" + }, + { + "url": "CP.2", + "valueString": "P1" + }, + { + "url": "CP.3", + "valueDecimal": 1.001 + }, + { + "url": "CP.4", + "valueDecimal": -1 + }, + { + "url": "CP.5", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL79999" + } + ], + "code": "R", + "display": "Range Units" + } + ] + } + }, + { + "url": "CP.6", + "valueString": "F" + } + ] }, { - "url": "CP.1.2", - "valueString": "MXN" + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/composite-price", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "IN1.38" + }, + { + "url": "CP.1.1", + "valueDecimal": 22.22 + }, + { + "url": "CP.1.2", + "valueString": "RUB" + }, + { + "url": "CP.2", + "valueString": "P2" + }, + { + "url": "CP.3", + "valueDecimal": 2.002 + }, + { + "url": "CP.4", + "valueDecimal": -2 + }, + { + "url": "CP.5", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL79999" + } + ], + "code": "RR", + "display": "Russian Rubble" + } + ] + } + }, + { + "url": "CP.6", + "valueString": "F" + } + ] }, { - "url": "CP.2", - "valueString": "P3" + "url": "IN1.39", + "valueString": "10" }, { - "url": "CP.3", - "valueDecimal": 3.003 + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/composite-price", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "IN1.40" + }, + { + "url": "CP.1.1", + "valueDecimal": 33.33 + }, + { + "url": "CP.1.2", + "valueString": "MXN" + }, + { + "url": "CP.2", + "valueString": "P3" + }, + { + "url": "CP.3", + "valueDecimal": 3.003 + }, + { + "url": "CP.4", + "valueDecimal": -3 + }, + { + "url": "CP.5", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL79999" + } + ], + "code": "OR", + "display": "Oven Range" + } + ] + } + }, + { + "url": "CP.6", + "valueString": "P" + } + ] }, { - "url": "CP.4", - "valueDecimal": -3 + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/composite-price", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "IN1.41" + }, + { + "url": "CP.1.1", + "valueDecimal": 44.44 + }, + { + "url": "CP.1.2", + "valueString": "CAD" + }, + { + "url": "CP.2", + "valueString": "P4" + }, + { + "url": "CP.3", + "valueDecimal": 4.004 + }, + { + "url": "CP.4", + "valueDecimal": -4 + }, + { + "url": "CP.5", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL79999" + } + ], + "code": "HHR", + "display": "Home Home Range" + } + ] + } + }, + { + "url": "CP.6", + "valueString": "P" + } + ] }, { - "url": "CP.5", + "url": "IN1.42", "valueCodeableConcept": { "coding": [ { @@ -295,53 +739,157 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", "valueString": "coding" - }, + } + ], + "code": "1" + } + ] + } + }, + { + "url": "IN1.43", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString": "HL79999" + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" } ], - "code": "OR", - "display": "Oven Range" + "code": "F" } ] } }, { - "url": "CP.6", - "valueString": "P" - } - ] - }, - { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/composite-price", - "extension": [ + "url": "IN1.44", + "valueAddress": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xad-address", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/sad-address-line", + "extension": [ + { + "url": "SAD.1", + "valueString": "45 WORKING LANE" + } + ] + } + ] + } + ], + "line": [ + "45 WORKING LANE" + ], + "city": "LIVERPOOL", + "state": "NY", + "postalCode": "13088" + } + }, { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString": "IN1.41" + "url": "IN1.6", + "valueHumanName": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name", + "extension": [ + { + "url": "XPN.2", + "valueString": "John" + } + ] + } + ], + "family": "Jones", + "given": [ + "John" + ], + "prefix": [ + "Mr." + ] + } }, { - "url": "CP.1.1", - "valueDecimal": 44.44 + "url": "IN1.45", + "valueString": "Y" }, { - "url": "CP.1.2", - "valueString": "CAD" + "url": "IN1.46", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "1002423" + } + ] + } }, { - "url": "CP.2", - "valueString": "P4" + "url": "IN1.47", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "B" + } + ] + } }, { - "url": "CP.3", - "valueDecimal": 4.004 + "url": "IN1.48", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "0" + } + ] + } }, { - "url": "CP.4", - "valueDecimal": -4 + "url": "IN1.49", + "valueIdentifier": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier", + "extension": [ + { + "url": "CX.5", + "valueString": "PN" + } + ] + } + ], + "type": { + "coding": [ + { + "code": "PN" + } + ] + }, + "value": "555221234" + } }, { - "url": "CP.5", + "url": "IN1.50", "valueCodeableConcept": { "coding": [ { @@ -349,26 +897,345 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", "valueString": "coding" - }, + } + ], + "code": "S" + } + ] + } + }, + { + "url": "IN1.51", + "valueString": "20241222" + }, + { + "url": "IN1.52", + "valueString": "GRACE HOSPITAL" + }, + { + "url": "IN1.53", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString": "HL79999" + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" } ], - "code": "HHR", - "display": "Home Home Range" + "code": "2" } ] } }, { - "url": "CP.6", - "valueString": "P" + "url": "IN1.54", + "valueIdentifier": { + "value": "10222" + } + }, + { + "url": "IN1.7", + "valueContactPoint": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point", + "extension": [ + { + "url": "XTN.1", + "valueString": "(850)555-0809" + } + ] + } + ], + "_system": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "value": "(850)555-0809" + } + }, + { + "url": "IN1.55", + "valueString": "A" + }, + { + "url": "IN1.8", + "valueString": "1500004000001" + }, + { + "url": "IN1.9", + "valueReference": { + "reference": "Organization/1735607413476581000.b0510958-6049-4ba7-8d3c-66600b9f160d" + } + }, + { + "url": "IN1.10", + "valueIdentifier": { + "value": "19" + } + }, + { + "url": "IN1.11", + "valueReference": { + "reference": "Organization/1735607413477398000.ab813433-6923-4a1a-a068-99365e7d5c83" + } } ] } + ], + "type": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "2" + } + ] + }, + "policyHolder": { + "reference": "Organization/1735607413480148000.d251a0e7-573e-467e-9c0a-b9209996fd61" + }, + "subscriber": { + "reference": "RelatedPerson/1735607413478975000.2299dd41-9676-43c5-ae1c-4395cf26f48e" + }, + "beneficiary": { + "reference": "Patient/1735607413450390000.5264710b-51b1-42e0-8a8a-3a0770437aac" + }, + "relationship": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "3" + } + ] + }, + "period": { + "start": "2024-07-01", + "_start": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date", + "valueString": "20240701" + } + ] + }, + "end": "2025-06-30", + "_end": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date", + "valueString": "20250630" + } + ] + } + }, + "payor": [ + { + "reference": "Organization/1735607413478436000.217c037b-9a50-4043-b729-34e2ff362217" + } + ] + } + }, + { + "fullUrl": "Organization/1735607413459489000.96020817-9cbc-46b8-a770-c80bcac5ab39", + "resource": { + "resourceType": "Organization", + "id": "1735607413459489000.96020817-9cbc-46b8-a770-c80bcac5ab39", + "name": "AETNA US HEALTHCARE" + } + }, + { + "fullUrl": "Practitioner/1735607413465113000.809f836b-5b99-484e-91ef-b6dd965dfff8", + "resource": { + "resourceType": "Practitioner", + "id": "1735607413465113000.809f836b-5b99-484e-91ef-b6dd965dfff8", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", + "valueString": "NPI" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id", + "valueString": "2.16.840.1.114222.4.1.144" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", + "valueCode": "ISO" + } + ] + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", + "extension": [ + { + "url": "XCN.3", + "valueString": "Christopher" + }, + { + "url": "XCN.4", + "valueString": "Beau" + }, + { + "url": "XCN.7", + "valueString": "MD" + }, + { + "url": "XCN.10", + "valueString": "L" + } + ] + } + ], + "identifier": [ + { + "type": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id", + "valueBoolean": true + } + ], + "code": "NPI" + } + ] + }, + "system": "NPI", + "value": "1871759365" + } + ], + "name": [ + { + "use": "official", + "family": "Willison", + "given": [ + "Christopher", + "Beau" + ], + "suffix": [ + "MD" + ] + } + ] + } + }, + { + "fullUrl": "Organization/1735607413476581000.b0510958-6049-4ba7-8d3c-66600b9f160d", + "resource": { + "resourceType": "Organization", + "id": "1735607413476581000.b0510958-6049-4ba7-8d3c-66600b9f160d", + "name": "AETNA SERVICES INC" + } + }, + { + "fullUrl": "Organization/1735607413477398000.ab813433-6923-4a1a-a068-99365e7d5c83", + "resource": { + "resourceType": "Organization", + "id": "1735607413477398000.ab813433-6923-4a1a-a068-99365e7d5c83", + "name": "AETNA US HEALTHCARE" + } + }, + { + "fullUrl": "Organization/1735607413478436000.217c037b-9a50-4043-b729-34e2ff362217", + "resource": { + "resourceType": "Organization", + "id": "1735607413478436000.217c037b-9a50-4043-b729-34e2ff362217", + "name": "AETNA US HEALTHCARE", + "address": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xad-address", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/sad-address-line", + "extension": [ + { + "url": "SAD.1", + "valueString": "PO BOX 981114" + } + ] + }, + { + "url": "XAD.2", + "valueString": "\"\"" + } + ] + } + ], + "line": [ + "PO BOX 981114", + "\"\"" + ], + "city": "EL PASO", + "state": "TX", + "postalCode": "79998", + "country": "\"\"" + } + ] + } + }, + { + "fullUrl": "RelatedPerson/1735607413478975000.2299dd41-9676-43c5-ae1c-4395cf26f48e", + "resource": { + "resourceType": "RelatedPerson", + "id": "1735607413478975000.2299dd41-9676-43c5-ae1c-4395cf26f48e", + "name": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name", + "extension": [ + { + "url": "XPN.2", + "valueString": "RENEE" + }, + { + "url": "XPN.3", + "valueString": "D" + } + ] + } + ], + "family": "SOUTAR", + "given": [ + "RENEE", + "D" + ] + } ] } + }, + { + "fullUrl": "Organization/1735607413480148000.d251a0e7-573e-467e-9c0a-b9209996fd61", + "resource": { + "resourceType": "Organization", + "id": "1735607413480148000.d251a0e7-573e-467e-9c0a-b9209996fd61", + "identifier": [ + { + "value": "19" + } + ], + "name": "AETNA US HEALTHCARE" + } } ] } \ No newline at end of file diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/in1/IN1-to-Coverage.hl7 b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/in1/IN1-to-Coverage.hl7 index 0279bf1db76..6f08c34fd30 100644 --- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/in1/IN1-to-Coverage.hl7 +++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/in1/IN1-to-Coverage.hl7 @@ -1,3 +1,3 @@ MSH|^~\&|||||||OML^O21^OML_O21|MSG00001|P|2.5.1 -PID|1 -IN1||||||||||||||1701^19700101^DR TEETH AND THE ELECTRIC MAYHEM|||||||||||||||||||||||11.11&USD^P1^1.001^-1^R&Range Units&HL79999^F|22.22&RUB^P2^2.002^-2^RR&Russian Rubble&HL79999^F||33.33&MXN^P3^3.003^-3^OR&Oven Range&HL79999^P|44.44&CAD^P4^4.004^-4^HHR&Home Home Range&HL79999^P \ No newline at end of file +PID|1||10334||SOUTAR^RENEE^D +IN1|1|EPO|80|AETNA US HEALTHCARE|PO BOX 981114^""^EL PASO^TX^79998^""|Jones^John^^^Mr.|(850)555-0809|1500004000001|AETNA SERVICES INC|19|AETNA US HEALTHCARE|20240701|20250630|1701^19700101^DR TEETH AND THE ELECTRIC MAYHEM|2|SOUTAR^RENEE^D|3|19700722|13324 WHITE CEMETERY RD^""^HANNIBAL^NY^130740000^""|Y|IN|1|Y|20241223|Y|20241224|N|PACCERT|20241223|1871759365^Willison^Christopher^Beau^^^MD^^NPI&2.16.840.1.114222.4.1.144&ISO^L^^^NPI|S|OK|176|2|1234|1002424|11.11&USD^P1^1.001^-1^R&Range Units&HL79999^F|22.22&RUB^P2^2.002^-2^RR&Russian Rubble&HL79999^F|10|33.33&MXN^P3^3.003^-3^OR&Oven Range&HL79999^P|44.44&CAD^P4^4.004^-4^HHR&Home Home Range&HL79999^P|1|F|45 WORKING LANE^^LIVERPOOL^NY^13088|Y|1002423|B|0|555221234^^^^PN|S|20241222|GRACE HOSPITAL|2|10222|A \ No newline at end of file diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/omlo21/oml_o21-full.fhir b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/omlo21/oml_o21-full.fhir index d24dfe4dad2..74b8d1f67de 100644 --- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/omlo21/oml_o21-full.fhir +++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/omlo21/oml_o21-full.fhir @@ -1,21 +1,21 @@ { "resourceType": "Bundle", - "id": "1732560946103663000.00c83475-61b1-4722-b571-392974c116e2", + "id": "1736458919202086313.8c6bf3b5-b363-45dd-aca1-2074f05dc439", "meta": { - "lastUpdated": "2024-11-25T13:55:46.115-05:00" + "lastUpdated": "2025-01-09T21:41:59.213+00:00" }, "identifier": { "system": "https://reportstream.cdc.gov/prime-router", "value": "0123" }, "type": "message", - "timestamp": "2019-07-20T09:12:29.000-04:00", + "timestamp": "2019-07-20T09:12:29.000+00:00", "entry": [ { - "fullUrl": "MessageHeader/1732560946205658000.d9f872a1-d8e0-4027-a6ff-0dd10709fdaa", + "fullUrl": "MessageHeader/1736458919519512551.13581fb7-1664-4fd6-a62a-e996f2e243d8", "resource": { "resourceType": "MessageHeader", - "id": "1732560946205658000.d9f872a1-d8e0-4027-a6ff-0dd10709fdaa", + "id": "1736458919519512551.13581fb7-1664-4fd6-a62a-e996f2e243d8", "meta": { "security": [ { @@ -208,7 +208,7 @@ "name": "txdshslabNBS", "endpoint": "urn:oid:2.16.840.1.114222.4.1.181960.2", "receiver": { - "reference": "Organization/1732560946198606000.5af9a2d6-b4b1-46ca-8549-a276f1770944" + "reference": "Organization/1736458919504212481.c84875fb-5a44-4094-afa4-450f197d029e" } }, { @@ -229,17 +229,17 @@ "name": "ReceivingNetworkAddress", "endpoint": "urn:oid:9.87.123.1.114222.XXX", "receiver": { - "reference": "Organization/1732560946201623000.fc8b853a-cce6-4662-abb3-cbbc902841f5" + "reference": "Organization/1736458919509753399.2453ef6d-c34c-4f6a-8d53-60b967f772c4" } }, { "receiver": { - "reference": "Organization/1732560946205362000.259d38b6-49a7-4764-add4-94f024ea3c67" + "reference": "Organization/1736458919518840563.8e999ad0-689a-4a0b-8381-cd7e17772336" } } ], "sender": { - "reference": "Organization/1732560946168730000.5485c015-7831-4992-bc78-8c2eff3d4da9" + "reference": "Organization/1736458919373789038.ebc18af6-b93a-4c06-aaf7-cea5ceb1dd44" }, "source": { "extension": [ @@ -265,15 +265,15 @@ "endpoint": "urn:oid:2.16.840.1.114222.XXX" }, "responsible": { - "reference": "Organization/1732560946197609000.fd024ea0-f02b-43bf-8ad9-efaec4e623be" + "reference": "Organization/1736458919502602395.70ff3e5f-477f-4f08-b145-3fb2323c97ba" } } }, { - "fullUrl": "Organization/1732560946168730000.5485c015-7831-4992-bc78-8c2eff3d4da9", + "fullUrl": "Organization/1736458919373789038.ebc18af6-b93a-4c06-aaf7-cea5ceb1dd44", "resource": { "resourceType": "Organization", - "id": "1732560946168730000.5485c015-7831-4992-bc78-8c2eff3d4da9", + "id": "1736458919373789038.ebc18af6-b93a-4c06-aaf7-cea5ceb1dd44", "identifier": [ { "extension": [ @@ -311,10 +311,10 @@ } }, { - "fullUrl": "Location/1732560946190626000.6ba520df-aae4-4f54-ba3c-d3a837243f5b", + "fullUrl": "Location/1736458919490739280.c11d79d4-c906-4004-92da-34be4c52984a", "resource": { "resourceType": "Location", - "id": "1732560946190626000.6ba520df-aae4-4f54-ba3c-d3a837243f5b", + "id": "1736458919490739280.c11d79d4-c906-4004-92da-34be4c52984a", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -338,10 +338,10 @@ } }, { - "fullUrl": "Organization/1732560946197609000.fd024ea0-f02b-43bf-8ad9-efaec4e623be", + "fullUrl": "Organization/1736458919502602395.70ff3e5f-477f-4f08-b145-3fb2323c97ba", "resource": { "resourceType": "Organization", - "id": "1732560946197609000.fd024ea0-f02b-43bf-8ad9-efaec4e623be", + "id": "1736458919502602395.70ff3e5f-477f-4f08-b145-3fb2323c97ba", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -449,7 +449,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732560946190626000.6ba520df-aae4-4f54-ba3c-d3a837243f5b" + "reference": "Location/1736458919490739280.c11d79d4-c906-4004-92da-34be4c52984a" } } ], @@ -468,10 +468,10 @@ } }, { - "fullUrl": "Organization/1732560946198606000.5af9a2d6-b4b1-46ca-8549-a276f1770944", + "fullUrl": "Organization/1736458919504212481.c84875fb-5a44-4094-afa4-450f197d029e", "resource": { "resourceType": "Organization", - "id": "1732560946198606000.5af9a2d6-b4b1-46ca-8549-a276f1770944", + "id": "1736458919504212481.c84875fb-5a44-4094-afa4-450f197d029e", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -510,10 +510,10 @@ } }, { - "fullUrl": "Organization/1732560946201623000.fc8b853a-cce6-4662-abb3-cbbc902841f5", + "fullUrl": "Organization/1736458919509753399.2453ef6d-c34c-4f6a-8d53-60b967f772c4", "resource": { "resourceType": "Organization", - "id": "1732560946201623000.fc8b853a-cce6-4662-abb3-cbbc902841f5", + "id": "1736458919509753399.2453ef6d-c34c-4f6a-8d53-60b967f772c4", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -552,10 +552,10 @@ } }, { - "fullUrl": "Location/1732560946203403000.742d2718-8261-4ae3-95db-a1e2b4850513", + "fullUrl": "Location/1736458919513924540.6670c63f-8e91-4fc7-87f5-bb315049f6f8", "resource": { "resourceType": "Location", - "id": "1732560946203403000.742d2718-8261-4ae3-95db-a1e2b4850513", + "id": "1736458919513924540.6670c63f-8e91-4fc7-87f5-bb315049f6f8", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -579,10 +579,10 @@ } }, { - "fullUrl": "Organization/1732560946205362000.259d38b6-49a7-4764-add4-94f024ea3c67", + "fullUrl": "Organization/1736458919518840563.8e999ad0-689a-4a0b-8381-cd7e17772336", "resource": { "resourceType": "Organization", - "id": "1732560946205362000.259d38b6-49a7-4764-add4-94f024ea3c67", + "id": "1736458919518840563.8e999ad0-689a-4a0b-8381-cd7e17772336", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -694,7 +694,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732560946203403000.742d2718-8261-4ae3-95db-a1e2b4850513" + "reference": "Location/1736458919513924540.6670c63f-8e91-4fc7-87f5-bb315049f6f8" } } ], @@ -713,10 +713,10 @@ } }, { - "fullUrl": "Provenance/1732560946950155000.6a4d9d77-12e7-4c31-992b-ab9a588bf871", + "fullUrl": "Provenance/1736458919655883953.7eba1ab1-dd47-40d8-be3d-9934c6fc49b0", "resource": { "resourceType": "Provenance", - "id": "1732560946950155000.6a4d9d77-12e7-4c31-992b-ab9a588bf871", + "id": "1736458919655883953.7eba1ab1-dd47-40d8-be3d-9934c6fc49b0", "recorded": "2019-07-20T09:12:29Z", "activity": { "coding": [ @@ -736,7 +736,7 @@ ] }, "who": { - "reference": "Organization/1732560946949876000.eed26c8d-bc43-488b-abf4-7dbf519d040a" + "reference": "Organization/1736458919655610784.6d104bf7-b298-4fc2-bfb9-a56ac8ea622d" } } ], @@ -744,17 +744,17 @@ { "role": "source", "what": { - "reference": "Device/1732560946956044000.478dcbef-ef28-460c-a0c9-5034ef9bcd78" + "reference": "Device/1736458919662724259.28591888-2b48-4972-8128-b5d95591d148" } } ] } }, { - "fullUrl": "Location/1732560946948248000.bb3918f3-8c0b-4272-9f84-da2d16ca2100", + "fullUrl": "Location/1736458919653856362.09959ff4-8cc6-4d55-8433-b8a3c3a0bb1d", "resource": { "resourceType": "Location", - "id": "1732560946948248000.bb3918f3-8c0b-4272-9f84-da2d16ca2100", + "id": "1736458919653856362.09959ff4-8cc6-4d55-8433-b8a3c3a0bb1d", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -778,10 +778,10 @@ } }, { - "fullUrl": "Organization/1732560946949876000.eed26c8d-bc43-488b-abf4-7dbf519d040a", + "fullUrl": "Organization/1736458919655610784.6d104bf7-b298-4fc2-bfb9-a56ac8ea622d", "resource": { "resourceType": "Organization", - "id": "1732560946949876000.eed26c8d-bc43-488b-abf4-7dbf519d040a", + "id": "1736458919655610784.6d104bf7-b298-4fc2-bfb9-a56ac8ea622d", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -889,7 +889,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732560946948248000.bb3918f3-8c0b-4272-9f84-da2d16ca2100" + "reference": "Location/1736458919653856362.09959ff4-8cc6-4d55-8433-b8a3c3a0bb1d" } } ], @@ -908,10 +908,10 @@ } }, { - "fullUrl": "Location/1732560946954537000.2269571e-e826-4fe9-bb65-480d6ecdada8", + "fullUrl": "Location/1736458919661158103.180080e2-b849-43a4-bcb5-e40cfffe33fa", "resource": { "resourceType": "Location", - "id": "1732560946954537000.2269571e-e826-4fe9-bb65-480d6ecdada8", + "id": "1736458919661158103.180080e2-b849-43a4-bcb5-e40cfffe33fa", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -935,10 +935,10 @@ } }, { - "fullUrl": "Organization/1732560946955765000.cc7695af-f122-42eb-854b-4401e669da11", + "fullUrl": "Organization/1736458919662515547.e91f572a-3a93-4545-be10-5bb8081ae27d", "resource": { "resourceType": "Organization", - "id": "1732560946955765000.cc7695af-f122-42eb-854b-4401e669da11", + "id": "1736458919662515547.e91f572a-3a93-4545-be10-5bb8081ae27d", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -1026,7 +1026,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732560946954537000.2269571e-e826-4fe9-bb65-480d6ecdada8" + "reference": "Location/1736458919661158103.180080e2-b849-43a4-bcb5-e40cfffe33fa" } } ], @@ -1045,15 +1045,15 @@ } }, { - "fullUrl": "Device/1732560946956044000.478dcbef-ef28-460c-a0c9-5034ef9bcd78", + "fullUrl": "Device/1736458919662724259.28591888-2b48-4972-8128-b5d95591d148", "resource": { "resourceType": "Device", - "id": "1732560946956044000.478dcbef-ef28-460c-a0c9-5034ef9bcd78", + "id": "1736458919662724259.28591888-2b48-4972-8128-b5d95591d148", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/software-vendor-org", "valueReference": { - "reference": "Organization/1732560946955765000.cc7695af-f122-42eb-854b-4401e669da11" + "reference": "Organization/1736458919662515547.e91f572a-3a93-4545-be10-5bb8081ae27d" } } ], @@ -1092,11 +1092,11 @@ } }, { - "fullUrl": "Provenance/1732560946971375000.14423481-71a6-46d5-a500-0f60d1fb345b", + "fullUrl": "Provenance/1736458919691235960.52f6fd0b-b557-4d98-8c4f-d6d545e472d5", "resource": { "resourceType": "Provenance", - "id": "1732560946971375000.14423481-71a6-46d5-a500-0f60d1fb345b", - "recorded": "2024-11-25T13:55:46Z", + "id": "1736458919691235960.52f6fd0b-b557-4d98-8c4f-d6d545e472d5", + "recorded": "2025-01-09T21:41:59Z", "policy": [ "http://hl7.org/fhir/uv/v2mappings/message-oru-r01-to-bundle" ], @@ -1118,17 +1118,17 @@ ] }, "who": { - "reference": "Organization/1732560946971002000.4116387f-caed-496f-a3c7-10c5a7217a34" + "reference": "Organization/1736458919690758563.1f826fa7-f5d7-46a0-9a42-4948b7bc7d7f" } } ] } }, { - "fullUrl": "Organization/1732560946971002000.4116387f-caed-496f-a3c7-10c5a7217a34", + "fullUrl": "Organization/1736458919690758563.1f826fa7-f5d7-46a0-9a42-4948b7bc7d7f", "resource": { "resourceType": "Organization", - "id": "1732560946971002000.4116387f-caed-496f-a3c7-10c5a7217a34", + "id": "1736458919690758563.1f826fa7-f5d7-46a0-9a42-4948b7bc7d7f", "identifier": [ { "value": "CDC PRIME - Atlanta" @@ -1148,16 +1148,16 @@ } }, { - "fullUrl": "Patient/1732560947048199000.d085d2f5-4893-4917-8034-26207f44daee", + "fullUrl": "Patient/1736458919802683430.85963fc5-3bac-4e4f-a9ec-7987caa956a5", "resource": { "resourceType": "Patient", - "id": "1732560947048199000.d085d2f5-4893-4917-8034-26207f44daee", + "id": "1736458919802683430.85963fc5-3bac-4e4f-a9ec-7987caa956a5", "meta": { "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/last-updated-facility-namespace-id", "valueReference": { - "reference": "Organization/1732560947028683000.e8d76b91-dd13-4728-922a-841490e02430" + "reference": "Organization/1736458919766423966.c3999584-a2e0-4456-ba88-8ef4adb03842" } } ], @@ -1313,7 +1313,7 @@ } ], "authorReference": { - "reference": "Practitioner/1732560946990177000.ea0532ae-f999-491a-9a49-1dd341ee36b9" + "reference": "Practitioner/1736458919711904425.9f0042c1-9f45-4ea2-88b2-e243c9017b04" }, "time": "2023-05-31", "_time": { @@ -2208,7 +2208,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-facility", "valueReference": { - "reference": "Organization/1732560947000285000.cad4e4e2-bae9-4adb-8b01-d7a6c6f10148" + "reference": "Organization/1736458919721982439.b96c375d-32d7-4764-b51f-72a5b10558be" } }, { @@ -2259,7 +2259,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-facility", "valueReference": { - "reference": "Organization/1732560947001505000.8b598190-3017-4cf9-9909-495e77538013" + "reference": "Organization/1736458919723152217.e1ec858f-7171-4b0a-be77-3cd6824aee93" } }, { @@ -2373,13 +2373,13 @@ { "url": "PD1.14", "valueReference": { - "reference": "Organization/1732560947004561000.e2b0f63b-e4ac-4731-9213-2982445eac53" + "reference": "Organization/1736458919726642709.6f2ec3fc-3f29-4fbd-a15c-760e3e7ff28b" } }, { "url": "PD1.14", "valueReference": { - "reference": "Organization/1732560947006034000.092cb85f-9594-4697-85cd-fc3119b7430e" + "reference": "Organization/1736458919728360353.1ae2c1f2-0f65-4cb9-a66e-ae389d1f35c9" } }, { @@ -2810,7 +2810,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-facility", "valueReference": { - "reference": "Organization/1732560946978236000.1a73fe05-85b2-4cfc-acd5-4e741a9211fd" + "reference": "Organization/1736458919701700868.d97d468e-3504-4c0a-919f-920aff658365" } }, { @@ -2962,7 +2962,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-facility", "valueReference": { - "reference": "Organization/1732560946981369000.8df5b7cc-7da6-4468-9161-c365e8b34d8a" + "reference": "Organization/1736458919705296366.84182968-773e-419a-9c23-a93dbd813953" } }, { @@ -4202,7 +4202,7 @@ }, "gender": "unknown", "organization": { - "reference": "Organization/1732560947033318000.460ab4a3-da0f-4bec-a270-ae253a95d100" + "reference": "Organization/1736458919773301928.ddcabfbc-735a-4d08-b558-4d5e0ae094da" }, "period": { "start": "2022-05-01T10:25:31-04:00", @@ -4250,22 +4250,25 @@ ], "generalPractitioner": [ { - "reference": "Organization/1732560946984073000.f6b31c9f-398c-40e1-8d29-dc1793f16cce" + "reference": "Organization/1736458919789935071.8d9babc0-3174-431a-8d2e-8db15ea102ce" }, { - "reference": "Organization/1732560946986249000.e2ca7f4b-09a9-4aec-b013-cd1a6c5f9d47" + "reference": "Organization/1736458919792968897.ed7b289e-f356-4a4d-a157-132e8915597f" + }, + { + "reference": "Practitioner/1736458919794295529.9305d0d9-cd42-4dab-81de-1220b3ac11c7" } ], "link": [ { "other": { - "reference": "RelatedPerson/1732560947019898000.8912d887-a4d5-4ce9-af9d-c04c12e6dcb0" + "reference": "RelatedPerson/1736458919745992613.eae73524-9e36-422c-af93-2eb49f67297a" }, "type": "seealso" }, { "other": { - "reference": "RelatedPerson/1732560947020256000.43a42303-ede4-421c-b7c5-7ddf28da8827" + "reference": "RelatedPerson/1736458919746932862.1fcb890f-266a-413c-8948-67bde4a46990" }, "type": "seealso" } @@ -4273,10 +4276,10 @@ } }, { - "fullUrl": "Organization/1732560946978236000.1a73fe05-85b2-4cfc-acd5-4e741a9211fd", + "fullUrl": "Organization/1736458919701700868.d97d468e-3504-4c0a-919f-920aff658365", "resource": { "resourceType": "Organization", - "id": "1732560946978236000.1a73fe05-85b2-4cfc-acd5-4e741a9211fd", + "id": "1736458919701700868.d97d468e-3504-4c0a-919f-920aff658365", "identifier": [ { "extension": [ @@ -4309,10 +4312,10 @@ } }, { - "fullUrl": "Organization/1732560946981369000.8df5b7cc-7da6-4468-9161-c365e8b34d8a", + "fullUrl": "Organization/1736458919705296366.84182968-773e-419a-9c23-a93dbd813953", "resource": { "resourceType": "Organization", - "id": "1732560946981369000.8df5b7cc-7da6-4468-9161-c365e8b34d8a", + "id": "1736458919705296366.84182968-773e-419a-9c23-a93dbd813953", "identifier": [ { "extension": [ @@ -4345,10 +4348,94 @@ } }, { - "fullUrl": "Location/1732560946982710000.80cd8a74-be3f-485c-b9df-bd3e7b9b7008", + "fullUrl": "Practitioner/1736458919711904425.9f0042c1-9f45-4ea2-88b2-e243c9017b04", + "resource": { + "resourceType": "Practitioner", + "id": "1736458919711904425.9f0042c1-9f45-4ea2-88b2-e243c9017b04", + "identifier": [ + { + "value": "Bob R.N." + } + ] + } + }, + { + "fullUrl": "Organization/1736458919721982439.b96c375d-32d7-4764-b51f-72a5b10558be", + "resource": { + "resourceType": "Organization", + "id": "1736458919721982439.b96c375d-32d7-4764-b51f-72a5b10558be", + "identifier": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "HD.1" + } + ], + "value": "University H" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "HD.2,HD.3" + } + ], + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0301", + "code": "ISO" + } + ] + }, + "system": "urn:ietf:rfc:3986", + "value": "2.16.840.1.113883.3.0" + } + ] + } + }, + { + "fullUrl": "Organization/1736458919723152217.e1ec858f-7171-4b0a-be77-3cd6824aee93", + "resource": { + "resourceType": "Organization", + "id": "1736458919723152217.e1ec858f-7171-4b0a-be77-3cd6824aee93", + "identifier": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "HD.1" + } + ], + "value": "SSA" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "HD.2,HD.3" + } + ], + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0301", + "code": "ISO" + } + ] + }, + "system": "urn:ietf:rfc:3986", + "value": "2.16.840.1.113883.3.184" + } + ] + } + }, + { + "fullUrl": "Location/1736458919725088174.9fed01fa-2244-4046-bc99-44dbed63e595", "resource": { "resourceType": "Location", - "id": "1732560946982710000.80cd8a74-be3f-485c-b9df-bd3e7b9b7008", + "id": "1736458919725088174.9fed01fa-2244-4046-bc99-44dbed63e595", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -4372,10 +4459,10 @@ } }, { - "fullUrl": "Organization/1732560946984073000.f6b31c9f-398c-40e1-8d29-dc1793f16cce", + "fullUrl": "Organization/1736458919726642709.6f2ec3fc-3f29-4fbd-a15c-760e3e7ff28b", "resource": { "resourceType": "Organization", - "id": "1732560946984073000.f6b31c9f-398c-40e1-8d29-dc1793f16cce", + "id": "1736458919726642709.6f2ec3fc-3f29-4fbd-a15c-760e3e7ff28b", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -4447,7 +4534,7 @@ }, { "url": "XON.10", - "valueString": "OrgIdentifier" + "valueString": "1st OrgIdentifier" } ] } @@ -4483,7 +4570,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732560946982710000.80cd8a74-be3f-485c-b9df-bd3e7b9b7008" + "reference": "Location/1736458919725088174.9fed01fa-2244-4046-bc99-44dbed63e595" } } ], @@ -4495,17 +4582,17 @@ } ] }, - "value": "OrgIdentifier" + "value": "1st OrgIdentifier" } ], - "name": "Ordering Facility" + "name": "1st Ordering Facility" } }, { - "fullUrl": "Location/1732560946984997000.0d781aeb-6dad-466f-8e06-6ba588e902b8", + "fullUrl": "Location/1736458919727384611.a7fff565-fcba-470f-9559-d5aab6cee4ac", "resource": { "resourceType": "Location", - "id": "1732560946984997000.0d781aeb-6dad-466f-8e06-6ba588e902b8", + "id": "1736458919727384611.a7fff565-fcba-470f-9559-d5aab6cee4ac", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -4529,10 +4616,10 @@ } }, { - "fullUrl": "Organization/1732560946986249000.e2ca7f4b-09a9-4aec-b013-cd1a6c5f9d47", + "fullUrl": "Organization/1736458919728360353.1ae2c1f2-0f65-4cb9-a66e-ae389d1f35c9", "resource": { "resourceType": "Organization", - "id": "1732560946986249000.e2ca7f4b-09a9-4aec-b013-cd1a6c5f9d47", + "id": "1736458919728360353.1ae2c1f2-0f65-4cb9-a66e-ae389d1f35c9", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -4604,7 +4691,7 @@ }, { "url": "XON.10", - "valueString": "OrgIdentifier" + "valueString": "2nd OrgIdentifier" } ] } @@ -4640,7 +4727,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732560946984997000.0d781aeb-6dad-466f-8e06-6ba588e902b8" + "reference": "Location/1736458919727384611.a7fff565-fcba-470f-9559-d5aab6cee4ac" } } ], @@ -4652,29 +4739,41 @@ } ] }, - "value": "OrgIdentifier" + "value": "2nd OrgIdentifier" } ], - "name": "Ordering Facility" + "name": "2nd Ordering Facility" } }, { - "fullUrl": "Practitioner/1732560946990177000.ea0532ae-f999-491a-9a49-1dd341ee36b9", + "fullUrl": "RelatedPerson/1736458919745992613.eae73524-9e36-422c-af93-2eb49f67297a", "resource": { - "resourceType": "Practitioner", - "id": "1732560946990177000.ea0532ae-f999-491a-9a49-1dd341ee36b9", + "resourceType": "RelatedPerson", + "id": "1736458919745992613.eae73524-9e36-422c-af93-2eb49f67297a", "identifier": [ { - "value": "Bob R.N." + "value": "maybe" } ] } }, { - "fullUrl": "Organization/1732560947000285000.cad4e4e2-bae9-4adb-8b01-d7a6c6f10148", + "fullUrl": "RelatedPerson/1736458919746932862.1fcb890f-266a-413c-8948-67bde4a46990", + "resource": { + "resourceType": "RelatedPerson", + "id": "1736458919746932862.1fcb890f-266a-413c-8948-67bde4a46990", + "identifier": [ + { + "value": "maybe not" + } + ] + } + }, + { + "fullUrl": "Organization/1736458919766423966.c3999584-a2e0-4456-ba88-8ef4adb03842", "resource": { "resourceType": "Organization", - "id": "1732560947000285000.cad4e4e2-bae9-4adb-8b01-d7a6c6f10148", + "id": "1736458919766423966.c3999584-a2e0-4456-ba88-8ef4adb03842", "identifier": [ { "extension": [ @@ -4683,7 +4782,7 @@ "valueString": "HD.1" } ], - "value": "University H" + "value": "RSDT" }, { "extension": [ @@ -4701,52 +4800,163 @@ ] }, "system": "urn:ietf:rfc:3986", - "value": "2.16.840.1.113883.3.0" + "value": "0.0.0.1.1138" } ] } }, { - "fullUrl": "Organization/1732560947001505000.8b598190-3017-4cf9-9909-495e77538013", + "fullUrl": "Organization/1736458919773301928.ddcabfbc-735a-4d08-b558-4d5e0ae094da", "resource": { "resourceType": "Organization", - "id": "1732560947001505000.8b598190-3017-4cf9-9909-495e77538013", - "identifier": [ + "id": "1736458919773301928.ddcabfbc-735a-4d08-b558-4d5e0ae094da", + "extension": [ { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", "extension": [ { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString": "HD.1" + "url": "XON.3", + "valueString": "112233" + }, + { + "url": "XON.10", + "valueString": "HRU" } - ], - "value": "SSA" - }, + ] + } + ], + "identifier": [ { - "extension": [ + "value": "HRU" + } + ], + "name": "HospitalsRUs", + "contact": [ + { + "telecom": [ { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString": "HD.2,HD.3" + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/contactpoint-country", + "valueString": "1" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/contactpoint-area", + "valueString": "720" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/contactpoint-local", + "valueString": "5553954" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point", + "extension": [ + { + "url": "XTN.2", + "valueString": "WPN" + }, + { + "url": "XTN.3", + "valueString": "PH" + }, + { + "url": "XTN.7", + "valueString": "5553954" + }, + { + "url": "XTN.12", + "valueString": "+1 720 555 3954" + } + ] + } + ], + "system": "phone", + "value": "+1 720 555 3954", + "use": "work" } ], - "type": { - "coding": [ + "address": { + "extension": [ { - "system": "http://terminology.hl7.org/CodeSystem/v2-0301", - "code": "ISO" + "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract", + "valueCode": "12" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xad-address", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/sad-address-line", + "extension": [ + { + "url": "SAD.1", + "valueString": "4861 20TH AVE" + } + ] + }, + { + "url": "XAD.2", + "valueString": "#B" + }, + { + "url": "XAD.7", + "valueCode": "H" + }, + { + "url": "XAD.8", + "valueString": "World" + }, + { + "url": "XAD.11", + "valueCode": "8" + }, + { + "url": "XAD.12", + "extension": [ + { + "url": "XAD.12.1", + "valueString": "2017" + }, + { + "url": "XAD.12.2", + "valueString": "2025" + } + ] + }, + { + "url": "XAD.13", + "valueString": "2020" + }, + { + "url": "XAD.14", + "valueString": "2021" + } + ] } - ] - }, - "system": "urn:ietf:rfc:3986", - "value": "2.16.840.1.113883.3.184" + ], + "use": "home", + "line": [ + "4861 20TH AVE", + "#B" + ], + "city": "AURORA", + "district": "King", + "state": "IG", + "postalCode": "99999", + "country": "USA", + "period": { + "start": "2020", + "end": "2021" + } + } } ] } }, { - "fullUrl": "Location/1732560947003406000.c4cab69c-62b5-42e4-816f-9d6ec0eea29c", + "fullUrl": "Location/1736458919788081687.4e558643-e2d9-4c34-80aa-d2197a908885", "resource": { "resourceType": "Location", - "id": "1732560947003406000.c4cab69c-62b5-42e4-816f-9d6ec0eea29c", + "id": "1736458919788081687.4e558643-e2d9-4c34-80aa-d2197a908885", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -4770,10 +4980,10 @@ } }, { - "fullUrl": "Organization/1732560947004561000.e2b0f63b-e4ac-4731-9213-2982445eac53", + "fullUrl": "Organization/1736458919789935071.8d9babc0-3174-431a-8d2e-8db15ea102ce", "resource": { "resourceType": "Organization", - "id": "1732560947004561000.e2b0f63b-e4ac-4731-9213-2982445eac53", + "id": "1736458919789935071.8d9babc0-3174-431a-8d2e-8db15ea102ce", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -4845,7 +5055,7 @@ }, { "url": "XON.10", - "valueString": "1st OrgIdentifier" + "valueString": "OrgIdentifier" } ] } @@ -4881,7 +5091,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732560947003406000.c4cab69c-62b5-42e4-816f-9d6ec0eea29c" + "reference": "Location/1736458919788081687.4e558643-e2d9-4c34-80aa-d2197a908885" } } ], @@ -4893,17 +5103,17 @@ } ] }, - "value": "1st OrgIdentifier" + "value": "OrgIdentifier" } ], - "name": "1st Ordering Facility" + "name": "Ordering Facility" } }, { - "fullUrl": "Location/1732560947005240000.cfe9822d-c368-4536-a335-cef80cdf0cdd", + "fullUrl": "Location/1736458919791116279.90fa9cb7-2527-48d1-92a4-af7f4ef1e1fe", "resource": { "resourceType": "Location", - "id": "1732560947005240000.cfe9822d-c368-4536-a335-cef80cdf0cdd", + "id": "1736458919791116279.90fa9cb7-2527-48d1-92a4-af7f4ef1e1fe", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -4927,10 +5137,10 @@ } }, { - "fullUrl": "Organization/1732560947006034000.092cb85f-9594-4697-85cd-fc3119b7430e", + "fullUrl": "Organization/1736458919792968897.ed7b289e-f356-4a4d-a157-132e8915597f", "resource": { "resourceType": "Organization", - "id": "1732560947006034000.092cb85f-9594-4697-85cd-fc3119b7430e", + "id": "1736458919792968897.ed7b289e-f356-4a4d-a157-132e8915597f", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -5002,7 +5212,7 @@ }, { "url": "XON.10", - "valueString": "2nd OrgIdentifier" + "valueString": "OrgIdentifier" } ] } @@ -5038,7 +5248,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732560947005240000.cfe9822d-c368-4536-a335-cef80cdf0cdd" + "reference": "Location/1736458919791116279.90fa9cb7-2527-48d1-92a4-af7f4ef1e1fe" } } ], @@ -5050,41 +5260,17 @@ } ] }, - "value": "2nd OrgIdentifier" + "value": "OrgIdentifier" } ], - "name": "2nd Ordering Facility" - } - }, - { - "fullUrl": "RelatedPerson/1732560947019898000.8912d887-a4d5-4ce9-af9d-c04c12e6dcb0", - "resource": { - "resourceType": "RelatedPerson", - "id": "1732560947019898000.8912d887-a4d5-4ce9-af9d-c04c12e6dcb0", - "identifier": [ - { - "value": "maybe" - } - ] - } - }, - { - "fullUrl": "RelatedPerson/1732560947020256000.43a42303-ede4-421c-b7c5-7ddf28da8827", - "resource": { - "resourceType": "RelatedPerson", - "id": "1732560947020256000.43a42303-ede4-421c-b7c5-7ddf28da8827", - "identifier": [ - { - "value": "maybe not" - } - ] + "name": "Ordering Facility" } }, { - "fullUrl": "Organization/1732560947028683000.e8d76b91-dd13-4728-922a-841490e02430", + "fullUrl": "Organization/1736458919793411125.2eec63c5-3553-4884-9736-a9288e0283f1", "resource": { "resourceType": "Organization", - "id": "1732560947028683000.e8d76b91-dd13-4728-922a-841490e02430", + "id": "1736458919793411125.2eec63c5-3553-4884-9736-a9288e0283f1", "identifier": [ { "extension": [ @@ -5093,188 +5279,84 @@ "valueString": "HD.1" } ], - "value": "RSDT" - }, - { - "extension": [ - { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString": "HD.2,HD.3" - } - ], - "type": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0301", - "code": "ISO" - } - ] - }, - "system": "urn:ietf:rfc:3986", - "value": "0.0.0.1.1138" + "value": "NPI" } ] } }, { - "fullUrl": "Organization/1732560947033318000.460ab4a3-da0f-4bec-a270-ae253a95d100", + "fullUrl": "Practitioner/1736458919794295529.9305d0d9-cd42-4dab-81de-1220b3ac11c7", "resource": { - "resourceType": "Organization", - "id": "1732560947033318000.460ab4a3-da0f-4bec-a270-ae253a95d100", + "resourceType": "Practitioner", + "id": "1736458919794295529.9305d0d9-cd42-4dab-81de-1220b3ac11c7", "extension": [ { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", "extension": [ { - "url": "XON.3", - "valueString": "112233" + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", + "valueString": "NPI" + } + ] + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", + "extension": [ + { + "url": "XCN.3", + "valueString": "PD1.4NameGiven" }, { - "url": "XON.10", - "valueString": "HRU" + "url": "XCN.4", + "valueString": "PD1.4NameInit" } ] } ], "identifier": [ { - "value": "HRU" - } - ], - "name": "HospitalsRUs", - "contact": [ - { - "telecom": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/contactpoint-country", - "valueString": "1" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/contactpoint-area", - "valueString": "720" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/contactpoint-local", - "valueString": "5553954" - }, - { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point", - "extension": [ - { - "url": "XTN.2", - "valueString": "WPN" - }, - { - "url": "XTN.3", - "valueString": "PH" - }, - { - "url": "XTN.7", - "valueString": "5553954" - }, - { - "url": "XTN.12", - "valueString": "+1 720 555 3954" - } - ] - } - ], - "system": "phone", - "value": "+1 720 555 3954", - "use": "work" - } - ], - "address": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract", - "valueCode": "12" - }, + "type": { + "coding": [ { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xad-address", "extension": [ { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/sad-address-line", - "extension": [ - { - "url": "SAD.1", - "valueString": "4861 20TH AVE" - } - ] - }, - { - "url": "XAD.2", - "valueString": "#B" - }, - { - "url": "XAD.7", - "valueCode": "H" - }, - { - "url": "XAD.8", - "valueString": "World" - }, - { - "url": "XAD.11", - "valueCode": "8" - }, - { - "url": "XAD.12", - "extension": [ - { - "url": "XAD.12.1", - "valueString": "2017" - }, - { - "url": "XAD.12.2", - "valueString": "2025" - } - ] - }, - { - "url": "XAD.13", - "valueString": "2020" - }, - { - "url": "XAD.14", - "valueString": "2021" + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id", + "valueBoolean": true } - ] + ], + "code": "NPI" } - ], - "use": "home", - "line": [ - "4861 20TH AVE", - "#B" - ], - "city": "AURORA", - "district": "King", - "state": "IG", - "postalCode": "99999", - "country": "USA", - "period": { - "start": "2020", - "end": "2021" - } + ] + }, + "value": "1111111111", + "assigner": { + "reference": "Organization/1736458919793411125.2eec63c5-3553-4884-9736-a9288e0283f1" } } + ], + "name": [ + { + "family": "PD1.4NameFamily", + "given": [ + "PD1.4NameGiven", + "PD1.4NameInit" + ] + } ] } }, { - "fullUrl": "Provenance/1732560947067669000.a71997f2-8202-4359-b2bc-87d0c35d7122", + "fullUrl": "Provenance/1736458919841590087.872302f4-44fb-4569-98cd-b84d60958e7d", "resource": { "resourceType": "Provenance", - "id": "1732560947067669000.a71997f2-8202-4359-b2bc-87d0c35d7122", + "id": "1736458919841590087.872302f4-44fb-4569-98cd-b84d60958e7d", "target": [ { - "reference": "Patient/1732560947048199000.d085d2f5-4893-4917-8034-26207f44daee" + "reference": "Patient/1736458919802683430.85963fc5-3bac-4e4f-a9ec-7987caa956a5" } ], "occurredDateTime": "2024-08-21T11:38:00Z", - "recorded": "2024-11-25T13:55:47Z", + "recorded": "2025-01-09T21:41:59Z", "activity": { "coding": [ { @@ -5294,17 +5376,17 @@ ] }, "who": { - "reference": "Organization/1732560947067347000.b0dfe50b-7dd5-4db3-bf94-2660507b9a6b" + "reference": "Organization/1736458919840495874.739fdf21-5029-43f5-8b90-2c8a69fa9579" } } ] } }, { - "fullUrl": "Organization/1732560947067347000.b0dfe50b-7dd5-4db3-bf94-2660507b9a6b", + "fullUrl": "Organization/1736458919840495874.739fdf21-5029-43f5-8b90-2c8a69fa9579", "resource": { "resourceType": "Organization", - "id": "1732560947067347000.b0dfe50b-7dd5-4db3-bf94-2660507b9a6b", + "id": "1736458919840495874.739fdf21-5029-43f5-8b90-2c8a69fa9579", "identifier": [ { "extension": [ @@ -5337,10 +5419,10 @@ } }, { - "fullUrl": "RelatedPerson/1732560947078273000.c258bc9d-a81e-4489-ac7b-b42f17bdcdff", + "fullUrl": "RelatedPerson/1736458919878825084.62891af7-f746-4ea7-b825-5984b2b9b005", "resource": { "resourceType": "RelatedPerson", - "id": "1732560947078273000.c258bc9d-a81e-4489-ac7b-b42f17bdcdff", + "id": "1736458919878825084.62891af7-f746-4ea7-b825-5984b2b9b005", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment", @@ -5352,13 +5434,13 @@ { "url": "NK1.13", "valueReference": { - "reference": "Organization/1732560947070415000.fd05515b-a14d-4605-9a55-af19963cbadb" + "reference": "Organization/1736458919848826568.f22f6bfd-a2bd-41ee-a66b-dd26aaf024d0" } }, { "url": "NK1.13", "valueReference": { - "reference": "Organization/1732560947070704000.d32971c4-235f-4c2a-8d99-c34b900850bb" + "reference": "Organization/1736458919851136538.0227bb6c-9e8c-41c4-8130-dfe30502fcdd" } }, { @@ -5431,7 +5513,7 @@ } ], "patient": { - "reference": "Patient/1732560947048199000.d085d2f5-4893-4917-8034-26207f44daee" + "reference": "Patient/1736458919802683430.85963fc5-3bac-4e4f-a9ec-7987caa956a5" }, "relationship": [ { @@ -6432,10 +6514,10 @@ } }, { - "fullUrl": "Organization/1732560947070415000.fd05515b-a14d-4605-9a55-af19963cbadb", + "fullUrl": "Organization/1736458919848826568.f22f6bfd-a2bd-41ee-a66b-dd26aaf024d0", "resource": { "resourceType": "Organization", - "id": "1732560947070415000.fd05515b-a14d-4605-9a55-af19963cbadb", + "id": "1736458919848826568.f22f6bfd-a2bd-41ee-a66b-dd26aaf024d0", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", @@ -6460,10 +6542,10 @@ } }, { - "fullUrl": "Organization/1732560947070704000.d32971c4-235f-4c2a-8d99-c34b900850bb", + "fullUrl": "Organization/1736458919851136538.0227bb6c-9e8c-41c4-8130-dfe30502fcdd", "resource": { "resourceType": "Organization", - "id": "1732560947070704000.d32971c4-235f-4c2a-8d99-c34b900850bb", + "id": "1736458919851136538.0227bb6c-9e8c-41c4-8130-dfe30502fcdd", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", @@ -6488,10 +6570,10 @@ } }, { - "fullUrl": "RelatedPerson/1732560947085287000.b3d57f6d-c29b-43d4-b611-3aca9fda506d", + "fullUrl": "RelatedPerson/1736458919901550306.30f55851-2c3c-4780-94ba-764378f7b37e", "resource": { "resourceType": "RelatedPerson", - "id": "1732560947085287000.b3d57f6d-c29b-43d4-b611-3aca9fda506d", + "id": "1736458919901550306.30f55851-2c3c-4780-94ba-764378f7b37e", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment", @@ -6503,7 +6585,7 @@ { "url": "NK1.13", "valueReference": { - "reference": "Organization/1732560947080448000.2021f8f7-23b2-4192-8a52-590089b9a188" + "reference": "Organization/1736458919885527753.1852a5e0-f284-4172-ae76-2288c494854d" } }, { @@ -6556,7 +6638,7 @@ } ], "patient": { - "reference": "Patient/1732560947048199000.d085d2f5-4893-4917-8034-26207f44daee" + "reference": "Patient/1736458919802683430.85963fc5-3bac-4e4f-a9ec-7987caa956a5" }, "relationship": [ { @@ -7172,10 +7254,10 @@ } }, { - "fullUrl": "Organization/1732560947080448000.2021f8f7-23b2-4192-8a52-590089b9a188", + "fullUrl": "Organization/1736458919885527753.1852a5e0-f284-4172-ae76-2288c494854d", "resource": { "resourceType": "Organization", - "id": "1732560947080448000.2021f8f7-23b2-4192-8a52-590089b9a188", + "id": "1736458919885527753.1852a5e0-f284-4172-ae76-2288c494854d", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", @@ -7200,10 +7282,10 @@ } }, { - "fullUrl": "Encounter/1732560947116827000.30eb62e2-3974-4fc3-9d69-7b9e6119177e", + "fullUrl": "Encounter/1736458919960060020.4056ddfe-13f9-4d4b-a37e-048caacbb4d0", "resource": { "resourceType": "Encounter", - "id": "1732560947116827000.30eb62e2-3974-4fc3-9d69-7b9e6119177e", + "id": "1736458919960060020.4056ddfe-13f9-4d4b-a37e-048caacbb4d0", "meta": { "security": [ { @@ -7218,7 +7300,7 @@ "valueString": "Description" } ], - "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003eDescription\u003c/div\u003e" + "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Description</div>" }, "extension": [ { @@ -7542,13 +7624,13 @@ { "url": "PV2.23", "valueReference": { - "reference": "Organization/1732560947096488000.785ac0b2-17f6-4b0f-872e-660e5f53c4a6" + "reference": "Organization/1736458919925486249.37a3f414-df7b-4f6f-bbd5-de0860aed922" } }, { "url": "PV2.23", "valueReference": { - "reference": "Organization/1732560947097902000.0904e746-7f9b-4641-b50d-ef3642d27ac9" + "reference": "Organization/1736458919927612213.9f50293a-f46a-4461-9a4a-d230428a6f1f" } }, { @@ -7679,11 +7761,11 @@ ] }, "subject": { - "reference": "Patient/1732560947048199000.d085d2f5-4893-4917-8034-26207f44daee" + "reference": "Patient/1736458919802683430.85963fc5-3bac-4e4f-a9ec-7987caa956a5" }, "episodeOfCare": [ { - "reference": "EpisodeOfCare/1732560947117362000.9b75561a-8224-4fc9-9030-8370b84d42ee" + "reference": "EpisodeOfCare/1736458919960723585.c295f557-b8e7-4837-9bc4-215639e42797" } ], "participant": [ @@ -7700,7 +7782,7 @@ } ], "individual": { - "reference": "Practitioner/1732560947101401000.31ca3069-9607-43d3-ba15-b05ee95726db" + "reference": "Practitioner/1736458919934380845.6df21616-9b72-44de-bc80-d44c6e257266" } }, { @@ -7716,7 +7798,7 @@ } ], "individual": { - "reference": "Practitioner/1732560947102328000.9ac2c5de-59a3-4ebf-b36a-f5b33070ffb8" + "reference": "Practitioner/1736458919935927452.cd62f2ab-5508-4ae8-9865-b3fda0a7ef29" } }, { @@ -7732,7 +7814,7 @@ } ], "individual": { - "reference": "Practitioner/1732560947102919000.46c5e45b-5bbf-4cc9-9edb-beaf8d35f18a" + "reference": "Practitioner/1736458919937167456.1a9f3b83-1cf1-42ea-88cf-4eb7b1008f58" } }, { @@ -7748,7 +7830,7 @@ } ], "individual": { - "reference": "Practitioner/1732560947103509000.f2c8d8c3-4604-435b-8204-e550b5598002" + "reference": "Practitioner/1736458919938336427.c60baa5e-b771-4247-9cf2-dfaaf34065ce" } }, { @@ -7764,7 +7846,7 @@ } ], "individual": { - "reference": "Practitioner/1732560947104221000.4c197e78-08a6-4fab-9ea2-f9de06488294" + "reference": "Practitioner/1736458919939373800.c6c79737-49ce-4b0b-8734-77571152bb92" } }, { @@ -7780,7 +7862,7 @@ } ], "individual": { - "reference": "Practitioner/1732560947104860000.43f59350-cc0d-4485-a034-63e0fe31fa0c" + "reference": "Practitioner/1736458919940264952.8b005932-d7c2-4377-a7fb-3c6d57f4ca52" } }, { @@ -7796,7 +7878,7 @@ } ], "individual": { - "reference": "Practitioner/1732560947105422000.f8e05326-ac6e-4f82-8da1-33210f1eeb70" + "reference": "Practitioner/1736458919941605564.23c6ec81-973c-44f6-a1bd-4142c789f1cb" } }, { @@ -7812,7 +7894,7 @@ } ], "individual": { - "reference": "Practitioner/1732560947105965000.902547cf-9532-4523-b705-9b6d3b013092" + "reference": "Practitioner/1736458919942862944.a82ac561-057b-4014-933b-0a10ad774162" } }, { @@ -7828,7 +7910,7 @@ } ], "individual": { - "reference": "Practitioner/1732560947108468000.8804a57c-53bc-4061-92cd-f6255e3a984c" + "reference": "Practitioner/1736458919947372465.6fed82ed-cbaa-4559-afd1-458b4419cf56" } }, { @@ -7844,7 +7926,7 @@ } ], "individual": { - "reference": "Practitioner/1732560947110860000.0fe20340-4918-4319-a79f-79582e0678b8" + "reference": "Practitioner/1736458919950892993.80ea3265-5bcf-460c-98af-c60f1b81f0a5" } } ], @@ -7977,7 +8059,7 @@ } ], "destination": { - "reference": "Location/1732560947098491000.f1158a39-67bc-4de0-a7b5-451b9e15dd2f" + "reference": "Location/1736458919928869112.447affd4-8ca4-4d72-9199-2dd6025a4887" }, "dischargeDisposition": { "coding": [ @@ -8007,7 +8089,7 @@ } ], "location": { - "reference": "Location/1732560947113843000.69b30a21-c4ce-4fc7-a0b3-485f8ffbdf37" + "reference": "Location/1736458919955611294.59e7b2fc-4d8d-4722-9c5e-9e68bed0bee1" }, "status": "active" }, @@ -8019,7 +8101,7 @@ } ], "location": { - "reference": "Location/1732560947114854000.8fb3eb16-f138-4c7b-99de-034230a291d0" + "reference": "Location/1736458919957110590.d4bfa857-0750-481d-916b-bae3c3946e62" }, "status": "completed" }, @@ -8035,7 +8117,7 @@ } ], "location": { - "reference": "Location/1732560947115174000.e3d61a25-d515-4e08-84c4-9650eb2b5fdd" + "reference": "Location/1736458919957617623.01068aca-b9a0-47a5-8a1d-2cd0b1ec4784" }, "status": "active" }, @@ -8047,7 +8129,7 @@ } ], "location": { - "reference": "Location/1732560947115496000.3c37c486-0bde-47de-9279-7d781ea92acd" + "reference": "Location/1736458919958045340.21174502-311f-40c6-9a38-005e0e4999c6" }, "status": "planned" }, @@ -8063,7 +8145,7 @@ } ], "location": { - "reference": "Location/1732560947115807000.7073bf4f-0083-4388-b8f1-1082a1584772" + "reference": "Location/1736458919958453454.d4fe88f6-1a62-4ae8-9f9c-4a6656ac1836" }, "status": "completed" }, @@ -8079,7 +8161,7 @@ } ], "location": { - "reference": "Location/1732560947116718000.05d1c715-158f-473c-90ae-c89df79005e7" + "reference": "Location/1736458919959894717.5803343c-dab9-4848-a8ab-d88ad2f5edae" }, "status": "planned" } @@ -8087,10 +8169,10 @@ } }, { - "fullUrl": "Location/1732560947095713000.10b2dfdb-eae6-4703-a3fe-b5ee56ac1330", + "fullUrl": "Location/1736458919923972105.5aa23d32-d245-40ff-a02d-44baf02e2864", "resource": { "resourceType": "Location", - "id": "1732560947095713000.10b2dfdb-eae6-4703-a3fe-b5ee56ac1330", + "id": "1736458919923972105.5aa23d32-d245-40ff-a02d-44baf02e2864", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -8114,10 +8196,10 @@ } }, { - "fullUrl": "Organization/1732560947096488000.785ac0b2-17f6-4b0f-872e-660e5f53c4a6", + "fullUrl": "Organization/1736458919925486249.37a3f414-df7b-4f6f-bbd5-de0860aed922", "resource": { "resourceType": "Organization", - "id": "1732560947096488000.785ac0b2-17f6-4b0f-872e-660e5f53c4a6", + "id": "1736458919925486249.37a3f414-df7b-4f6f-bbd5-de0860aed922", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -8217,7 +8299,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732560947095713000.10b2dfdb-eae6-4703-a3fe-b5ee56ac1330" + "reference": "Location/1736458919923972105.5aa23d32-d245-40ff-a02d-44baf02e2864" } } ], @@ -8236,10 +8318,10 @@ } }, { - "fullUrl": "Location/1732560947097075000.893658cf-04c0-44c7-90fc-9c1965fb9dca", + "fullUrl": "Location/1736458919926211526.2543a99b-84e9-4645-9974-791438f16e23", "resource": { "resourceType": "Location", - "id": "1732560947097075000.893658cf-04c0-44c7-90fc-9c1965fb9dca", + "id": "1736458919926211526.2543a99b-84e9-4645-9974-791438f16e23", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -8263,10 +8345,10 @@ } }, { - "fullUrl": "Organization/1732560947097902000.0904e746-7f9b-4641-b50d-ef3642d27ac9", + "fullUrl": "Organization/1736458919927612213.9f50293a-f46a-4461-9a4a-d230428a6f1f", "resource": { "resourceType": "Organization", - "id": "1732560947097902000.0904e746-7f9b-4641-b50d-ef3642d27ac9", + "id": "1736458919927612213.9f50293a-f46a-4461-9a4a-d230428a6f1f", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -8366,7 +8448,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732560947097075000.893658cf-04c0-44c7-90fc-9c1965fb9dca" + "reference": "Location/1736458919926211526.2543a99b-84e9-4645-9974-791438f16e23" } } ], @@ -8385,10 +8467,10 @@ } }, { - "fullUrl": "Location/1732560947098491000.f1158a39-67bc-4de0-a7b5-451b9e15dd2f", + "fullUrl": "Location/1736458919928869112.447affd4-8ca4-4d72-9199-2dd6025a4887", "resource": { "resourceType": "Location", - "id": "1732560947098491000.f1158a39-67bc-4de0-a7b5-451b9e15dd2f", + "id": "1736458919928869112.447affd4-8ca4-4d72-9199-2dd6025a4887", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/dld2-effective-date", @@ -8398,10 +8480,10 @@ } }, { - "fullUrl": "Practitioner/1732560947101401000.31ca3069-9607-43d3-ba15-b05ee95726db", + "fullUrl": "Practitioner/1736458919934380845.6df21616-9b72-44de-bc80-d44c6e257266", "resource": { "resourceType": "Practitioner", - "id": "1732560947101401000.31ca3069-9607-43d3-ba15-b05ee95726db", + "id": "1736458919934380845.6df21616-9b72-44de-bc80-d44c6e257266", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", @@ -8494,10 +8576,10 @@ } }, { - "fullUrl": "Practitioner/1732560947102328000.9ac2c5de-59a3-4ebf-b36a-f5b33070ffb8", + "fullUrl": "Practitioner/1736458919935927452.cd62f2ab-5508-4ae8-9865-b3fda0a7ef29", "resource": { "resourceType": "Practitioner", - "id": "1732560947102328000.9ac2c5de-59a3-4ebf-b36a-f5b33070ffb8", + "id": "1736458919935927452.cd62f2ab-5508-4ae8-9865-b3fda0a7ef29", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", @@ -8590,10 +8672,10 @@ } }, { - "fullUrl": "Practitioner/1732560947102919000.46c5e45b-5bbf-4cc9-9edb-beaf8d35f18a", + "fullUrl": "Practitioner/1736458919937167456.1a9f3b83-1cf1-42ea-88cf-4eb7b1008f58", "resource": { "resourceType": "Practitioner", - "id": "1732560947102919000.46c5e45b-5bbf-4cc9-9edb-beaf8d35f18a", + "id": "1736458919937167456.1a9f3b83-1cf1-42ea-88cf-4eb7b1008f58", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -8613,10 +8695,10 @@ } }, { - "fullUrl": "Practitioner/1732560947103509000.f2c8d8c3-4604-435b-8204-e550b5598002", + "fullUrl": "Practitioner/1736458919938336427.c60baa5e-b771-4247-9cf2-dfaaf34065ce", "resource": { "resourceType": "Practitioner", - "id": "1732560947103509000.f2c8d8c3-4604-435b-8204-e550b5598002", + "id": "1736458919938336427.c60baa5e-b771-4247-9cf2-dfaaf34065ce", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -8636,10 +8718,10 @@ } }, { - "fullUrl": "Practitioner/1732560947104221000.4c197e78-08a6-4fab-9ea2-f9de06488294", + "fullUrl": "Practitioner/1736458919939373800.c6c79737-49ce-4b0b-8734-77571152bb92", "resource": { "resourceType": "Practitioner", - "id": "1732560947104221000.4c197e78-08a6-4fab-9ea2-f9de06488294", + "id": "1736458919939373800.c6c79737-49ce-4b0b-8734-77571152bb92", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -8659,10 +8741,10 @@ } }, { - "fullUrl": "Practitioner/1732560947104860000.43f59350-cc0d-4485-a034-63e0fe31fa0c", + "fullUrl": "Practitioner/1736458919940264952.8b005932-d7c2-4377-a7fb-3c6d57f4ca52", "resource": { "resourceType": "Practitioner", - "id": "1732560947104860000.43f59350-cc0d-4485-a034-63e0fe31fa0c", + "id": "1736458919940264952.8b005932-d7c2-4377-a7fb-3c6d57f4ca52", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -8682,10 +8764,10 @@ } }, { - "fullUrl": "Practitioner/1732560947105422000.f8e05326-ac6e-4f82-8da1-33210f1eeb70", + "fullUrl": "Practitioner/1736458919941605564.23c6ec81-973c-44f6-a1bd-4142c789f1cb", "resource": { "resourceType": "Practitioner", - "id": "1732560947105422000.f8e05326-ac6e-4f82-8da1-33210f1eeb70", + "id": "1736458919941605564.23c6ec81-973c-44f6-a1bd-4142c789f1cb", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -8705,10 +8787,10 @@ } }, { - "fullUrl": "Practitioner/1732560947105965000.902547cf-9532-4523-b705-9b6d3b013092", + "fullUrl": "Practitioner/1736458919942862944.a82ac561-057b-4014-933b-0a10ad774162", "resource": { "resourceType": "Practitioner", - "id": "1732560947105965000.902547cf-9532-4523-b705-9b6d3b013092", + "id": "1736458919942862944.a82ac561-057b-4014-933b-0a10ad774162", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -8728,10 +8810,10 @@ } }, { - "fullUrl": "Practitioner/1732560947108468000.8804a57c-53bc-4061-92cd-f6255e3a984c", + "fullUrl": "Practitioner/1736458919947372465.6fed82ed-cbaa-4559-afd1-458b4419cf56", "resource": { "resourceType": "Practitioner", - "id": "1732560947108468000.8804a57c-53bc-4061-92cd-f6255e3a984c", + "id": "1736458919947372465.6fed82ed-cbaa-4559-afd1-458b4419cf56", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", @@ -8939,10 +9021,10 @@ } }, { - "fullUrl": "Practitioner/1732560947110860000.0fe20340-4918-4319-a79f-79582e0678b8", + "fullUrl": "Practitioner/1736458919950892993.80ea3265-5bcf-460c-98af-c60f1b81f0a5", "resource": { "resourceType": "Practitioner", - "id": "1732560947110860000.0fe20340-4918-4319-a79f-79582e0678b8", + "id": "1736458919950892993.80ea3265-5bcf-460c-98af-c60f1b81f0a5", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", @@ -9150,10 +9232,10 @@ } }, { - "fullUrl": "Organization/1732560947111430000.94aae298-0670-4c92-9b55-07e2b204bbe6", + "fullUrl": "Organization/1736458919951778968.ba1b04f0-dd04-49c2-8bde-7abe3dc4072e", "resource": { "resourceType": "Organization", - "id": "1732560947111430000.94aae298-0670-4c92-9b55-07e2b204bbe6", + "id": "1736458919951778968.ba1b04f0-dd04-49c2-8bde-7abe3dc4072e", "identifier": [ { "extension": [ @@ -9186,10 +9268,10 @@ } }, { - "fullUrl": "Location/1732560947113006000.f1399e9c-b308-41f3-99fe-813d35e491b5", + "fullUrl": "Location/1736458919954385978.c1b50bfc-65f5-4a87-83a3-6d212aac23aa", "resource": { "resourceType": "Location", - "id": "1732560947113006000.f1399e9c-b308-41f3-99fe-813d35e491b5", + "id": "1736458919954385978.c1b50bfc-65f5-4a87-83a3-6d212aac23aa", "identifier": [ { "extension": [ @@ -9234,10 +9316,10 @@ } }, { - "fullUrl": "Location/1732560947113103000.5484952c-beb2-4586-9b6e-ea591bd7e31b", + "fullUrl": "Location/1736458919954645160.b6f5e5c7-c41a-4cb8-b747-3c341812ec05", "resource": { "resourceType": "Location", - "id": "1732560947113103000.5484952c-beb2-4586-9b6e-ea591bd7e31b", + "id": "1736458919954645160.b6f5e5c7-c41a-4cb8-b747-3c341812ec05", "identifier": [ { "extension": [ @@ -9266,15 +9348,15 @@ ] }, "partOf": { - "reference": "Location/1732560947113006000.f1399e9c-b308-41f3-99fe-813d35e491b5" + "reference": "Location/1736458919954385978.c1b50bfc-65f5-4a87-83a3-6d212aac23aa" } } }, { - "fullUrl": "Location/1732560947113244000.acad36a0-0546-48f2-859b-faa1c4b233e4", + "fullUrl": "Location/1736458919954789077.ab48465c-0ea4-4522-b475-562aa74a81ad", "resource": { "resourceType": "Location", - "id": "1732560947113244000.acad36a0-0546-48f2-859b-faa1c4b233e4", + "id": "1736458919954789077.ab48465c-0ea4-4522-b475-562aa74a81ad", "identifier": [ { "extension": [ @@ -9303,15 +9385,15 @@ ] }, "partOf": { - "reference": "Location/1732560947113103000.5484952c-beb2-4586-9b6e-ea591bd7e31b" + "reference": "Location/1736458919954645160.b6f5e5c7-c41a-4cb8-b747-3c341812ec05" } } }, { - "fullUrl": "Location/1732560947113385000.c43a9b50-f6a0-4036-8d4c-587fa7f4d07d", + "fullUrl": "Location/1736458919954945777.785e6ae0-ad63-436e-8b99-604e0b57f83f", "resource": { "resourceType": "Location", - "id": "1732560947113385000.c43a9b50-f6a0-4036-8d4c-587fa7f4d07d", + "id": "1736458919954945777.785e6ae0-ad63-436e-8b99-604e0b57f83f", "identifier": [ { "extension": [ @@ -9361,15 +9443,15 @@ ] }, "partOf": { - "reference": "Location/1732560947113244000.acad36a0-0546-48f2-859b-faa1c4b233e4" + "reference": "Location/1736458919954789077.ab48465c-0ea4-4522-b475-562aa74a81ad" } } }, { - "fullUrl": "Location/1732560947113539000.5c4972fb-092f-4caa-a0bb-29d53a4f4bc0", + "fullUrl": "Location/1736458919955111723.245c094f-9405-4609-9334-b40dc4c2dc7e", "resource": { "resourceType": "Location", - "id": "1732560947113539000.5c4972fb-092f-4caa-a0bb-29d53a4f4bc0", + "id": "1736458919955111723.245c094f-9405-4609-9334-b40dc4c2dc7e", "identifier": [ { "extension": [ @@ -9412,15 +9494,15 @@ ] }, "partOf": { - "reference": "Location/1732560947113385000.c43a9b50-f6a0-4036-8d4c-587fa7f4d07d" + "reference": "Location/1736458919954945777.785e6ae0-ad63-436e-8b99-604e0b57f83f" } } }, { - "fullUrl": "Location/1732560947113843000.69b30a21-c4ce-4fc7-a0b3-485f8ffbdf37", + "fullUrl": "Location/1736458919955611294.59e7b2fc-4d8d-4722-9c5e-9e68bed0bee1", "resource": { "resourceType": "Location", - "id": "1732560947113843000.69b30a21-c4ce-4fc7-a0b3-485f8ffbdf37", + "id": "1736458919955611294.59e7b2fc-4d8d-4722-9c5e-9e68bed0bee1", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/pl6-person-location-type", @@ -9472,7 +9554,7 @@ ], "value": "Comprehensive", "assigner": { - "reference": "Organization/1732560947111430000.94aae298-0670-4c92-9b55-07e2b204bbe6" + "reference": "Organization/1736458919951778968.ba1b04f0-dd04-49c2-8bde-7abe3dc4072e" } } ], @@ -9487,15 +9569,15 @@ ] }, "partOf": { - "reference": "Location/1732560947113539000.5c4972fb-092f-4caa-a0bb-29d53a4f4bc0" + "reference": "Location/1736458919955111723.245c094f-9405-4609-9334-b40dc4c2dc7e" } } }, { - "fullUrl": "Organization/1732560947114313000.03edb821-2a38-4212-a897-a535db77468f", + "fullUrl": "Organization/1736458919956224286.fafbd012-8257-4028-a3bb-dee6a8c68b86", "resource": { "resourceType": "Organization", - "id": "1732560947114313000.03edb821-2a38-4212-a897-a535db77468f", + "id": "1736458919956224286.fafbd012-8257-4028-a3bb-dee6a8c68b86", "identifier": [ { "extension": [ @@ -9528,10 +9610,10 @@ } }, { - "fullUrl": "Location/1732560947114854000.8fb3eb16-f138-4c7b-99de-034230a291d0", + "fullUrl": "Location/1736458919957110590.d4bfa857-0750-481d-916b-bae3c3946e62", "resource": { "resourceType": "Location", - "id": "1732560947114854000.8fb3eb16-f138-4c7b-99de-034230a291d0", + "id": "1736458919957110590.d4bfa857-0750-481d-916b-bae3c3946e62", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/pl6-person-location-type", @@ -9591,7 +9673,7 @@ ], "value": "Entity ID", "assigner": { - "reference": "Organization/1732560947114313000.03edb821-2a38-4212-a897-a535db77468f" + "reference": "Organization/1736458919956224286.fafbd012-8257-4028-a3bb-dee6a8c68b86" } } ], @@ -9609,37 +9691,37 @@ } }, { - "fullUrl": "Location/1732560947115174000.e3d61a25-d515-4e08-84c4-9650eb2b5fdd", + "fullUrl": "Location/1736458919957617623.01068aca-b9a0-47a5-8a1d-2cd0b1ec4784", "resource": { "resourceType": "Location", - "id": "1732560947115174000.e3d61a25-d515-4e08-84c4-9650eb2b5fdd", + "id": "1736458919957617623.01068aca-b9a0-47a5-8a1d-2cd0b1ec4784", "description": "Its Temporary", "mode": "instance" } }, { - "fullUrl": "Location/1732560947115496000.3c37c486-0bde-47de-9279-7d781ea92acd", + "fullUrl": "Location/1736458919958045340.21174502-311f-40c6-9a38-005e0e4999c6", "resource": { "resourceType": "Location", - "id": "1732560947115496000.3c37c486-0bde-47de-9279-7d781ea92acd", + "id": "1736458919958045340.21174502-311f-40c6-9a38-005e0e4999c6", "description": "Pending Location", "mode": "instance" } }, { - "fullUrl": "Location/1732560947115807000.7073bf4f-0083-4388-b8f1-1082a1584772", + "fullUrl": "Location/1736458919958453454.d4fe88f6-1a62-4ae8-9f9c-4a6656ac1836", "resource": { "resourceType": "Location", - "id": "1732560947115807000.7073bf4f-0083-4388-b8f1-1082a1584772", + "id": "1736458919958453454.d4fe88f6-1a62-4ae8-9f9c-4a6656ac1836", "description": "Prior Location", "mode": "instance" } }, { - "fullUrl": "Organization/1732560947116253000.9cdcc78d-f79f-465a-b746-c9158deedd71", + "fullUrl": "Organization/1736458919959174216.067834e8-1d6a-4a96-a8e2-92568e4f0add", "resource": { "resourceType": "Organization", - "id": "1732560947116253000.9cdcc78d-f79f-465a-b746-c9158deedd71", + "id": "1736458919959174216.067834e8-1d6a-4a96-a8e2-92568e4f0add", "identifier": [ { "extension": [ @@ -9672,10 +9754,10 @@ } }, { - "fullUrl": "Location/1732560947116718000.05d1c715-158f-473c-90ae-c89df79005e7", + "fullUrl": "Location/1736458919959894717.5803343c-dab9-4848-a8ab-d88ad2f5edae", "resource": { "resourceType": "Location", - "id": "1732560947116718000.05d1c715-158f-473c-90ae-c89df79005e7", + "id": "1736458919959894717.5803343c-dab9-4848-a8ab-d88ad2f5edae", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/pl6-person-location-type", @@ -9735,7 +9817,7 @@ ], "value": "Entity ID", "assigner": { - "reference": "Organization/1732560947116253000.9cdcc78d-f79f-465a-b746-c9158deedd71" + "reference": "Organization/1736458919959174216.067834e8-1d6a-4a96-a8e2-92568e4f0add" } } ], @@ -9753,10 +9835,10 @@ } }, { - "fullUrl": "EpisodeOfCare/1732560947117362000.9b75561a-8224-4fc9-9030-8370b84d42ee", + "fullUrl": "EpisodeOfCare/1736458919960723585.c295f557-b8e7-4837-9bc4-215639e42797", "resource": { "resourceType": "EpisodeOfCare", - "id": "1732560947117362000.9b75561a-8224-4fc9-9030-8370b84d42ee", + "id": "1736458919960723585.c295f557-b8e7-4837-9bc4-215639e42797", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -9775,10 +9857,10 @@ } }, { - "fullUrl": "Observation/1732560947435581000.24cfd8df-b5c0-4e26-8530-038f0d0f38bd", + "fullUrl": "Observation/1736458920615775591.037031a7-222b-4ad2-9b9b-43ab53a20fe5", "resource": { "resourceType": "Observation", - "id": "1732560947435581000.24cfd8df-b5c0-4e26-8530-038f0d0f38bd", + "id": "1736458920615775591.037031a7-222b-4ad2-9b9b-43ab53a20fe5", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id", @@ -9959,7 +10041,7 @@ { "url": "OBX.18", "valueReference": { - "reference": "Device/1732560947433754000.19ca0d1d-0037-4c58-a555-45d998f94102" + "reference": "Device/1736458920611892162.22f13f22-2f8a-4dae-9fa8-1b94200f6d87" } }, { @@ -10030,10 +10112,10 @@ ] }, "subject": { - "reference": "Patient/1732560947048199000.d085d2f5-4893-4917-8034-26207f44daee" + "reference": "Patient/1736458919802683430.85963fc5-3bac-4e4f-a9ec-7987caa956a5" }, "encounter": { - "reference": "Encounter/1732560947116827000.30eb62e2-3974-4fc3-9d69-7b9e6119177e" + "reference": "Encounter/1736458919960060020.4056ddfe-13f9-4d4b-a37e-048caacbb4d0" }, "effectiveDateTime": "2023-01-01T00:00:00Z", "_effectiveDateTime": { @@ -10046,13 +10128,13 @@ }, "performer": [ { - "reference": "Organization/1732560947436263000.e0e7f96c-30a7-48f7-a0ab-e43f923f9f4f" + "reference": "Organization/1736458920618524210.a558076c-df2e-47ac-8eb9-22b1a0e54b1a" }, { - "reference": "PractitionerRole/1732560947436510000.3bd0c3ad-775d-4c25-a2b8-22d533364a14" + "reference": "PractitionerRole/1736458920619658330.a303de18-2144-4283-93a5-04c547074295" }, { - "reference": "PractitionerRole/1732560947437350000.a95aa005-ca56-47ab-94c5-8fede0d519ef" + "reference": "PractitionerRole/1736458920624637146.8a3795ad-bdda-42b3-be1b-8f3a04b1dee0" } ], "valueCodeableConcept": { @@ -10150,7 +10232,7 @@ } ], "authorReference": { - "reference": "Practitioner/1732560947440304000.24cf6e82-960a-4605-8d9a-72b2e785c6b4" + "reference": "Practitioner/1736458920630365390.9aa95eb4-7a44-4b66-80bb-027b21320b67" }, "time": "2023-02-11", "_time": { @@ -10222,7 +10304,7 @@ } ], "authorReference": { - "reference": "Practitioner/1732560947441597000.2dc62479-1ac9-4917-ba62-411e37453721" + "reference": "Practitioner/1736458920634440232.0779a694-52c3-492d-92b4-14f70012e45a" }, "time": "2023-02-11", "_time": { @@ -10269,7 +10351,7 @@ ] }, "device": { - "reference": "Device/1732560947442931000.3c2978d9-1ed9-4a9a-9bb4-b4d49bfe12ec" + "reference": "Device/1736458920637984435.f85669bb-8abe-429b-aeb7-3253f6f1c168" }, "referenceRange": [ { @@ -10279,10 +10361,10 @@ } }, { - "fullUrl": "Device/1732560947433754000.19ca0d1d-0037-4c58-a555-45d998f94102", + "fullUrl": "Device/1736458920611892162.22f13f22-2f8a-4dae-9fa8-1b94200f6d87", "resource": { "resourceType": "Device", - "id": "1732560947433754000.19ca0d1d-0037-4c58-a555-45d998f94102", + "id": "1736458920611892162.22f13f22-2f8a-4dae-9fa8-1b94200f6d87", "identifier": [ { "extension": [ @@ -10310,10 +10392,10 @@ } }, { - "fullUrl": "Organization/1732560947436263000.e0e7f96c-30a7-48f7-a0ab-e43f923f9f4f", + "fullUrl": "Organization/1736458920618524210.a558076c-df2e-47ac-8eb9-22b1a0e54b1a", "resource": { "resourceType": "Organization", - "id": "1732560947436263000.e0e7f96c-30a7-48f7-a0ab-e43f923f9f4f", + "id": "1736458920618524210.a558076c-df2e-47ac-8eb9-22b1a0e54b1a", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-organization", @@ -10351,10 +10433,10 @@ } }, { - "fullUrl": "Practitioner/1732560947437107000.5bd8092f-c0f1-440f-b4bb-1c8681413bc9", + "fullUrl": "Practitioner/1736458920623562674.76842c0f-e3b2-4fd3-913c-baa2d2ac3ccc", "resource": { "resourceType": "Practitioner", - "id": "1732560947437107000.5bd8092f-c0f1-440f-b4bb-1c8681413bc9", + "id": "1736458920623562674.76842c0f-e3b2-4fd3-913c-baa2d2ac3ccc", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -10382,12 +10464,12 @@ } }, { - "fullUrl": "PractitionerRole/1732560947436510000.3bd0c3ad-775d-4c25-a2b8-22d533364a14", + "fullUrl": "PractitionerRole/1736458920619658330.a303de18-2144-4283-93a5-04c547074295", "resource": { "resourceType": "PractitionerRole", - "id": "1732560947436510000.3bd0c3ad-775d-4c25-a2b8-22d533364a14", + "id": "1736458920619658330.a303de18-2144-4283-93a5-04c547074295", "practitioner": { - "reference": "Practitioner/1732560947437107000.5bd8092f-c0f1-440f-b4bb-1c8681413bc9" + "reference": "Practitioner/1736458920623562674.76842c0f-e3b2-4fd3-913c-baa2d2ac3ccc" }, "code": [ { @@ -10402,10 +10484,10 @@ } }, { - "fullUrl": "Practitioner/1732560947437952000.28334464-853e-4881-bfc3-9ad3c0f82280", + "fullUrl": "Practitioner/1736458920625858716.15a29e4b-24ec-4cb6-9cc3-440e068a22a4", "resource": { "resourceType": "Practitioner", - "id": "1732560947437952000.28334464-853e-4881-bfc3-9ad3c0f82280", + "id": "1736458920625858716.15a29e4b-24ec-4cb6-9cc3-440e068a22a4", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -10433,10 +10515,10 @@ } }, { - "fullUrl": "Organization/1732560947438950000.3d87b7cb-e34a-4026-abe4-33bbd35c10ad", + "fullUrl": "Organization/1736458920627825413.4c7f76f7-59cf-4075-ae43-4436aafbccdb", "resource": { "resourceType": "Organization", - "id": "1732560947438950000.3d87b7cb-e34a-4026-abe4-33bbd35c10ad", + "id": "1736458920627825413.4c7f76f7-59cf-4075-ae43-4436aafbccdb", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", @@ -10510,15 +10592,15 @@ } }, { - "fullUrl": "PractitionerRole/1732560947437350000.a95aa005-ca56-47ab-94c5-8fede0d519ef", + "fullUrl": "PractitionerRole/1736458920624637146.8a3795ad-bdda-42b3-be1b-8f3a04b1dee0", "resource": { "resourceType": "PractitionerRole", - "id": "1732560947437350000.a95aa005-ca56-47ab-94c5-8fede0d519ef", + "id": "1736458920624637146.8a3795ad-bdda-42b3-be1b-8f3a04b1dee0", "practitioner": { - "reference": "Practitioner/1732560947437952000.28334464-853e-4881-bfc3-9ad3c0f82280" + "reference": "Practitioner/1736458920625858716.15a29e4b-24ec-4cb6-9cc3-440e068a22a4" }, "organization": { - "reference": "Organization/1732560947438950000.3d87b7cb-e34a-4026-abe4-33bbd35c10ad" + "reference": "Organization/1736458920627825413.4c7f76f7-59cf-4075-ae43-4436aafbccdb" }, "code": [ { @@ -10533,10 +10615,10 @@ } }, { - "fullUrl": "Practitioner/1732560947440304000.24cf6e82-960a-4605-8d9a-72b2e785c6b4", + "fullUrl": "Practitioner/1736458920630365390.9aa95eb4-7a44-4b66-80bb-027b21320b67", "resource": { "resourceType": "Practitioner", - "id": "1732560947440304000.24cf6e82-960a-4605-8d9a-72b2e785c6b4", + "id": "1736458920630365390.9aa95eb4-7a44-4b66-80bb-027b21320b67", "identifier": [ { "value": "Bob R.N.A." @@ -10545,10 +10627,10 @@ } }, { - "fullUrl": "Practitioner/1732560947441597000.2dc62479-1ac9-4917-ba62-411e37453721", + "fullUrl": "Practitioner/1736458920634440232.0779a694-52c3-492d-92b4-14f70012e45a", "resource": { "resourceType": "Practitioner", - "id": "1732560947441597000.2dc62479-1ac9-4917-ba62-411e37453721", + "id": "1736458920634440232.0779a694-52c3-492d-92b4-14f70012e45a", "identifier": [ { "value": "Bob R.N.A." @@ -10557,10 +10639,10 @@ } }, { - "fullUrl": "Device/1732560947442931000.3c2978d9-1ed9-4a9a-9bb4-b4d49bfe12ec", + "fullUrl": "Device/1736458920637984435.f85669bb-8abe-429b-aeb7-3253f6f1c168", "resource": { "resourceType": "Device", - "id": "1732560947442931000.3c2978d9-1ed9-4a9a-9bb4-b4d49bfe12ec", + "id": "1736458920637984435.f85669bb-8abe-429b-aeb7-3253f6f1c168", "identifier": [ { "extension": [ @@ -10588,10 +10670,10 @@ } }, { - "fullUrl": "Observation/1732560947452762000.982e8dbf-6f70-46c9-9291-4bf159092ea8", + "fullUrl": "Observation/1736458920645881489.c5b8d22b-fdee-47f0-a4f9-163e9ff68f73", "resource": { "resourceType": "Observation", - "id": "1732560947452762000.982e8dbf-6f70-46c9-9291-4bf159092ea8", + "id": "1736458920645881489.c5b8d22b-fdee-47f0-a4f9-163e9ff68f73", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id", @@ -10792,13 +10874,13 @@ { "url": "OBX.18", "valueReference": { - "reference": "Device/1732560947450961000.e87c94b2-e6f3-4d4a-9394-dcfa4b260214" + "reference": "Device/1736458920641995022.6eee578d-e45d-4216-8fc8-ffe05e61c7bc" } }, { "url": "OBX.18", "valueReference": { - "reference": "Device/1732560947451258000.e01d036e-3a31-4c54-852d-b2223d7ff180" + "reference": "Device/1736458920642473014.441ee275-6892-4281-9e0e-dbd422351165" } }, { @@ -10891,10 +10973,10 @@ ] }, "subject": { - "reference": "Patient/1732560947048199000.d085d2f5-4893-4917-8034-26207f44daee" + "reference": "Patient/1736458919802683430.85963fc5-3bac-4e4f-a9ec-7987caa956a5" }, "encounter": { - "reference": "Encounter/1732560947116827000.30eb62e2-3974-4fc3-9d69-7b9e6119177e" + "reference": "Encounter/1736458919960060020.4056ddfe-13f9-4d4b-a37e-048caacbb4d0" }, "effectiveDateTime": "2023-01-01T00:00:00Z", "_effectiveDateTime": { @@ -10907,16 +10989,16 @@ }, "performer": [ { - "reference": "Organization/1732560947453324000.d966a526-6886-4262-a380-2cfa66a23632" + "reference": "Organization/1736458920647036708.bf67a5f9-1e20-40ab-b768-547df1104f8d" }, { - "reference": "PractitionerRole/1732560947453526000.b4f1bbea-6211-4420-8414-f3499ac71d1a" + "reference": "PractitionerRole/1736458920647688584.b2e24d93-ae1a-4c16-a147-ef6706a55dea" }, { - "reference": "PractitionerRole/1732560947454333000.d48045c2-d160-4171-919a-d00db16e1b75" + "reference": "PractitionerRole/1736458920649414780.86bfb081-ba64-4c9a-bd6e-3fba2becf06d" }, { - "reference": "PractitionerRole/1732560947455114000.18c45f9a-23ca-4a4d-8199-ab441dc23a6e" + "reference": "PractitionerRole/1736458920651528927.5cf8028e-d6ab-4d60-be20-4cc542492f0d" } ], "valueCodeableConcept": { @@ -11028,7 +11110,7 @@ } ], "authorReference": { - "reference": "Practitioner/1732560947458639000.71d35ae3-fdc7-45e8-8611-df40fb13c990" + "reference": "Practitioner/1736458920658903541.02ec34da-c7ba-49b5-8ba9-31c0eb5b249f" }, "time": "2023-02-21", "_time": { @@ -11100,7 +11182,7 @@ } ], "authorReference": { - "reference": "Practitioner/1732560947459879000.6fe5cb3a-dcea-4944-bd94-89fc71a97dbc" + "reference": "Practitioner/1736458920660630409.7949f4ad-b129-4e63-957f-0bf0c97cde16" }, "time": "2023-02-21", "_time": { @@ -11147,7 +11229,7 @@ ] }, "device": { - "reference": "Device/1732560947461346000.f55a48f7-adec-4248-870f-ea708477853c" + "reference": "Device/1736458920662629433.05dc3a78-dc05-44b0-8b88-203f9c1c18c0" }, "referenceRange": [ { @@ -11157,10 +11239,10 @@ } }, { - "fullUrl": "Device/1732560947450961000.e87c94b2-e6f3-4d4a-9394-dcfa4b260214", + "fullUrl": "Device/1736458920641995022.6eee578d-e45d-4216-8fc8-ffe05e61c7bc", "resource": { "resourceType": "Device", - "id": "1732560947450961000.e87c94b2-e6f3-4d4a-9394-dcfa4b260214", + "id": "1736458920641995022.6eee578d-e45d-4216-8fc8-ffe05e61c7bc", "identifier": [ { "extension": [ @@ -11188,10 +11270,10 @@ } }, { - "fullUrl": "Device/1732560947451258000.e01d036e-3a31-4c54-852d-b2223d7ff180", + "fullUrl": "Device/1736458920642473014.441ee275-6892-4281-9e0e-dbd422351165", "resource": { "resourceType": "Device", - "id": "1732560947451258000.e01d036e-3a31-4c54-852d-b2223d7ff180", + "id": "1736458920642473014.441ee275-6892-4281-9e0e-dbd422351165", "identifier": [ { "extension": [ @@ -11219,10 +11301,10 @@ } }, { - "fullUrl": "Organization/1732560947453324000.d966a526-6886-4262-a380-2cfa66a23632", + "fullUrl": "Organization/1736458920647036708.bf67a5f9-1e20-40ab-b768-547df1104f8d", "resource": { "resourceType": "Organization", - "id": "1732560947453324000.d966a526-6886-4262-a380-2cfa66a23632", + "id": "1736458920647036708.bf67a5f9-1e20-40ab-b768-547df1104f8d", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-organization", @@ -11260,10 +11342,10 @@ } }, { - "fullUrl": "Practitioner/1732560947454077000.5f76029c-4b68-4c77-ae9f-df63aa9de998", + "fullUrl": "Practitioner/1736458920648824451.55021dd1-8052-468b-9b8c-ababf512bb3b", "resource": { "resourceType": "Practitioner", - "id": "1732560947454077000.5f76029c-4b68-4c77-ae9f-df63aa9de998", + "id": "1736458920648824451.55021dd1-8052-468b-9b8c-ababf512bb3b", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -11291,12 +11373,12 @@ } }, { - "fullUrl": "PractitionerRole/1732560947453526000.b4f1bbea-6211-4420-8414-f3499ac71d1a", + "fullUrl": "PractitionerRole/1736458920647688584.b2e24d93-ae1a-4c16-a147-ef6706a55dea", "resource": { "resourceType": "PractitionerRole", - "id": "1732560947453526000.b4f1bbea-6211-4420-8414-f3499ac71d1a", + "id": "1736458920647688584.b2e24d93-ae1a-4c16-a147-ef6706a55dea", "practitioner": { - "reference": "Practitioner/1732560947454077000.5f76029c-4b68-4c77-ae9f-df63aa9de998" + "reference": "Practitioner/1736458920648824451.55021dd1-8052-468b-9b8c-ababf512bb3b" }, "code": [ { @@ -11311,10 +11393,10 @@ } }, { - "fullUrl": "Practitioner/1732560947454864000.9b076555-2a5b-4c3e-a493-5933cbc6df12", + "fullUrl": "Practitioner/1736458920650803478.badfe631-fa25-4b9b-abb6-d109d577be95", "resource": { "resourceType": "Practitioner", - "id": "1732560947454864000.9b076555-2a5b-4c3e-a493-5933cbc6df12", + "id": "1736458920650803478.badfe631-fa25-4b9b-abb6-d109d577be95", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -11342,12 +11424,12 @@ } }, { - "fullUrl": "PractitionerRole/1732560947454333000.d48045c2-d160-4171-919a-d00db16e1b75", + "fullUrl": "PractitionerRole/1736458920649414780.86bfb081-ba64-4c9a-bd6e-3fba2becf06d", "resource": { "resourceType": "PractitionerRole", - "id": "1732560947454333000.d48045c2-d160-4171-919a-d00db16e1b75", + "id": "1736458920649414780.86bfb081-ba64-4c9a-bd6e-3fba2becf06d", "practitioner": { - "reference": "Practitioner/1732560947454864000.9b076555-2a5b-4c3e-a493-5933cbc6df12" + "reference": "Practitioner/1736458920650803478.badfe631-fa25-4b9b-abb6-d109d577be95" }, "code": [ { @@ -11362,10 +11444,10 @@ } }, { - "fullUrl": "Practitioner/1732560947455722000.9239160a-b816-4cf1-a255-486e508ed743", + "fullUrl": "Practitioner/1736458920652951199.036b872b-f9eb-4a02-8e92-6dec10dcf6d0", "resource": { "resourceType": "Practitioner", - "id": "1732560947455722000.9239160a-b816-4cf1-a255-486e508ed743", + "id": "1736458920652951199.036b872b-f9eb-4a02-8e92-6dec10dcf6d0", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -11393,10 +11475,10 @@ } }, { - "fullUrl": "Organization/1732560947457302000.24673c89-ad21-4e07-96bc-1367d4a5eb53", + "fullUrl": "Organization/1736458920656196971.e58fb987-95e5-4966-834b-ee46bd76f3e3", "resource": { "resourceType": "Organization", - "id": "1732560947457302000.24673c89-ad21-4e07-96bc-1367d4a5eb53", + "id": "1736458920656196971.e58fb987-95e5-4966-834b-ee46bd76f3e3", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", @@ -11470,15 +11552,15 @@ } }, { - "fullUrl": "PractitionerRole/1732560947455114000.18c45f9a-23ca-4a4d-8199-ab441dc23a6e", + "fullUrl": "PractitionerRole/1736458920651528927.5cf8028e-d6ab-4d60-be20-4cc542492f0d", "resource": { "resourceType": "PractitionerRole", - "id": "1732560947455114000.18c45f9a-23ca-4a4d-8199-ab441dc23a6e", + "id": "1736458920651528927.5cf8028e-d6ab-4d60-be20-4cc542492f0d", "practitioner": { - "reference": "Practitioner/1732560947455722000.9239160a-b816-4cf1-a255-486e508ed743" + "reference": "Practitioner/1736458920652951199.036b872b-f9eb-4a02-8e92-6dec10dcf6d0" }, "organization": { - "reference": "Organization/1732560947457302000.24673c89-ad21-4e07-96bc-1367d4a5eb53" + "reference": "Organization/1736458920656196971.e58fb987-95e5-4966-834b-ee46bd76f3e3" }, "code": [ { @@ -11493,10 +11575,10 @@ } }, { - "fullUrl": "Practitioner/1732560947458639000.71d35ae3-fdc7-45e8-8611-df40fb13c990", + "fullUrl": "Practitioner/1736458920658903541.02ec34da-c7ba-49b5-8ba9-31c0eb5b249f", "resource": { "resourceType": "Practitioner", - "id": "1732560947458639000.71d35ae3-fdc7-45e8-8611-df40fb13c990", + "id": "1736458920658903541.02ec34da-c7ba-49b5-8ba9-31c0eb5b249f", "identifier": [ { "value": "Bob R.N.A." @@ -11505,10 +11587,10 @@ } }, { - "fullUrl": "Practitioner/1732560947459879000.6fe5cb3a-dcea-4944-bd94-89fc71a97dbc", + "fullUrl": "Practitioner/1736458920660630409.7949f4ad-b129-4e63-957f-0bf0c97cde16", "resource": { "resourceType": "Practitioner", - "id": "1732560947459879000.6fe5cb3a-dcea-4944-bd94-89fc71a97dbc", + "id": "1736458920660630409.7949f4ad-b129-4e63-957f-0bf0c97cde16", "identifier": [ { "value": "Bob R.N.A." @@ -11517,10 +11599,10 @@ } }, { - "fullUrl": "Device/1732560947461346000.f55a48f7-adec-4248-870f-ea708477853c", + "fullUrl": "Device/1736458920662629433.05dc3a78-dc05-44b0-8b88-203f9c1c18c0", "resource": { "resourceType": "Device", - "id": "1732560947461346000.f55a48f7-adec-4248-870f-ea708477853c", + "id": "1736458920662629433.05dc3a78-dc05-44b0-8b88-203f9c1c18c0", "identifier": [ { "extension": [ @@ -11548,10 +11630,10 @@ } }, { - "fullUrl": "Specimen/1732560947469944000.d44f2361-3edc-4170-bea3-6af32fd4a247", + "fullUrl": "Specimen/1736458920679227059.fe188836-63a0-4288-bf57-6eda8bf32bd5", "resource": { "resourceType": "Specimen", - "id": "1732560947469944000.d44f2361-3edc-4170-bea3-6af32fd4a247", + "id": "1736458920679227059.fe188836-63a0-4288-bf57-6eda8bf32bd5", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment", @@ -11582,7 +11664,7 @@ }, "collection": { "collector": { - "reference": "Practitioner/1732560947472617000.12cea1fc-bc1e-4f6d-8d0b-b1dc8f747ab5" + "reference": "Practitioner/1736458920685578099.f9d62771-4cbc-4f85-bd9b-bb0b52588495" }, "collectedPeriod": { "end": "2024-02-20", @@ -11634,7 +11716,7 @@ } ], "code": "BOUIN", - "display": "Bouin\u0027s solution" + "display": "Bouin's solution" } ] } @@ -11718,10 +11800,10 @@ } }, { - "fullUrl": "Practitioner/1732560947472617000.12cea1fc-bc1e-4f6d-8d0b-b1dc8f747ab5", + "fullUrl": "Practitioner/1736458920685578099.f9d62771-4cbc-4f85-bd9b-bb0b52588495", "resource": { "resourceType": "Practitioner", - "id": "1732560947472617000.12cea1fc-bc1e-4f6d-8d0b-b1dc8f747ab5", + "id": "1736458920685578099.f9d62771-4cbc-4f85-bd9b-bb0b52588495", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", @@ -11870,10 +11952,10 @@ } }, { - "fullUrl": "Specimen/1732560947485272000.2de97c85-b7e1-4d34-89b3-5eb0281675c7", + "fullUrl": "Specimen/1736458920702791950.82e09fdf-e892-4c29-b1fe-5fedccdab8db", "resource": { "resourceType": "Specimen", - "id": "1732560947485272000.2de97c85-b7e1-4d34-89b3-5eb0281675c7", + "id": "1736458920702791950.82e09fdf-e892-4c29-b1fe-5fedccdab8db", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment", @@ -12624,10 +12706,10 @@ } }, { - "fullUrl": "Specimen/1732560947490639000.76590a8f-5db7-4f30-8409-11147b0d050c", + "fullUrl": "Specimen/1736458920709529525.ddfe4b32-e8a0-4e31-927c-53a95ed106d8", "resource": { "resourceType": "Specimen", - "id": "1732560947490639000.76590a8f-5db7-4f30-8409-11147b0d050c", + "id": "1736458920709529525.ddfe4b32-e8a0-4e31-927c-53a95ed106d8", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment", @@ -13241,57 +13323,64 @@ } }, { - "fullUrl": "Coverage/1732739201962559000.af1bd55f-2269-4782-a205-39c76d162b0d", + "fullUrl": "Coverage/1736458920772699215.9e2606e0-09b7-468f-b15c-76d1176d6d29", "resource": { "resourceType": "Coverage", - "id": "1732739201962559000.af1bd55f-2269-4782-a205-39c76d162b0d", + "id": "1736458920772699215.9e2606e0-09b7-468f-b15c-76d1176d6d29", "extension": [ { - "url": "IN1.14", - "extension": [ - { - "url": "AUI.1", - "valueString": "1701" + "url": "http://hl7.org/fhir/R5/StructureDefinition/extension-subscriberId", + "valueIdentifier": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier", + "extension": [ + { + "url": "CX.5", + "valueString": "SN" + } + ] + } + ], + "type": { + "coding": [ + { + "code": "SN" + } + ] }, - { - "url": "AUI.2", - "valueString": "19700101" + "value": "19" + } + }, + { + "url": "http://hl7.org/fhir/R5/StructureDefinition/extension-subscriberId", + "valueIdentifier": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier", + "extension": [ + { + "url": "CX.5", + "valueString": "PN" + } + ] + } + ], + "type": { + "coding": [ + { + "code": "PN" + } + ] }, - { - "url": "AUI.3", - "valueString": "DR TEETH AND THE ELECTRIC MAYHEM" - } - ] + "value": "555221234" + } }, { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/composite-price", + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/in1-coverage", "extension": [ { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString": "IN1.37" - }, - { - "url": "CP.1.1", - "valueDecimal": 11.11 - }, - { - "url": "CP.1.2", - "valueString": "USD" - }, - { - "url": "CP.2", - "valueString": "P1" - }, - { - "url": "CP.3", - "valueDecimal": 1.001 - }, - { - "url": "CP.4", - "valueDecimal": -1 - }, - { - "url": "CP.5", + "url": "IN1.2", "valueCodeableConcept": { "coding": [ { @@ -13299,53 +13388,189 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", "valueString": "coding" - }, - { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString": "HL79999" } ], - "code": "R", - "display": "Range Units" + "code": "EPO" } ] } }, { - "url": "CP.6", - "valueString": "F" - } - ] - }, - { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/composite-price", - "extension": [ - { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString": "IN1.38" + "url": "IN1.3", + "valueIdentifier": { + "value": "80" + } }, { - "url": "CP.1.1", - "valueDecimal": 22.22 + "url": "IN1.14", + "extension": [ + { + "url": "AUI.1", + "valueString": "1701" + }, + { + "url": "AUI.2", + "valueString": "19700101" + }, + { + "url": "AUI.3", + "valueString": "DR TEETH AND THE ELECTRIC MAYHEM" + } + ] }, { - "url": "CP.1.2", - "valueString": "RUB" + "url": "IN1.16", + "valueHumanName": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name", + "extension": [ + { + "url": "XPN.2", + "valueString": "HL7" + }, + { + "url": "XPN.3", + "valueString": "MI" + }, + { + "url": "XPN.4", + "valueString": "V" + }, + { + "url": "XPN.6", + "valueString": "BCN" + }, + { + "url": "XPN.7", + "valueString": "L" + }, + { + "url": "XPN.8", + "valueString": "Naaame" + }, + { + "url": "XPN.9", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL7444" + } + ], + "code": "C", + "display": "Name Context" + } + ] + } + } + ] + } + ], + "use": "official", + "family": "Mega", + "_family": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix", + "valueString": "Mr" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/humanname-own-name", + "valueString": "MrOwnMega" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix", + "valueString": "Mrs" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/humanname-partner-name", + "valueString": "MrsOwn" + } + ] + }, + "given": [ + "HL7", + "MI" + ], + "prefix": [ + "DR" + ], + "suffix": [ + "V", + "BCN" + ] + } }, { - "url": "CP.2", - "valueString": "P2" + "url": "IN1.17", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "SEL" + } + ] + } }, { - "url": "CP.3", - "valueDecimal": 2.002 + "url": "IN1.18", + "valueDateTime": "1970-07-22", + "_valueDateTime": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time", + "valueString": "19700722" + } + ] + } }, { - "url": "CP.4", - "valueDecimal": -2 + "url": "IN1.19", + "valueAddress": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xad-address", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/sad-address-line", + "extension": [ + { + "url": "SAD.1", + "valueString": "13324 WHITE CEMETERY RD" + } + ] + }, + { + "url": "XAD.2", + "valueString": "\"\"" + } + ] + } + ], + "line": [ + "13324 WHITE CEMETERY RD", + "\"\"" + ], + "city": "HANNIBAL", + "state": "NY", + "postalCode": "130740000", + "country": "\"\"" + } }, { - "url": "CP.5", + "url": "IN1.20", "valueCodeableConcept": { "coding": [ { @@ -13353,53 +13578,57 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", "valueString": "coding" - }, - { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString": "HL79999" } ], - "code": "RR", - "display": "Russian Rubble" + "code": "Y" } ] } }, { - "url": "CP.6", - "valueString": "F" - } - ] - }, - { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/composite-price", - "extension": [ + "url": "IN1.21", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "IN" + } + ] + } + }, { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString": "IN1.40" + "url": "IN1.22", + "valueString": "1" }, { - "url": "CP.1.1", - "valueDecimal": 33.33 + "url": "IN1.23", + "valueString": "Y" }, { - "url": "CP.1.2", - "valueString": "MXN" + "url": "IN1.24", + "valueString": "20241223" }, { - "url": "CP.2", - "valueString": "P3" + "url": "IN1.4", + "valueReference": { + "reference": "Organization/1736458920751467306.88e46691-ef37-4dfb-8798-2fed42f3abaa" + } }, { - "url": "CP.3", - "valueDecimal": 3.003 + "url": "IN1.25", + "valueString": "Y" }, { - "url": "CP.4", - "valueDecimal": -3 + "url": "IN1.26", + "valueString": "20241224" }, { - "url": "CP.5", + "url": "IN1.27", "valueCodeableConcept": { "coding": [ { @@ -13407,53 +13636,110 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", "valueString": "coding" - }, - { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString": "HL79999" } ], - "code": "OR", - "display": "Oven Range" + "code": "N" } ] } }, { - "url": "CP.6", - "valueString": "P" - } - ] - }, - { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/composite-price", - "extension": [ + "url": "IN1.28", + "valueString": "PACCERT" + }, { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString": "IN1.41" + "url": "IN1.29", + "valueDateTime": "2024-12-23", + "_valueDateTime": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time", + "valueString": "20241223" + } + ] + } + }, + { + "url": "IN1.30", + "valueReference": { + "reference": "Practitioner/1736458920754920908.43f1c808-34b3-4938-90c1-49e83de06c8f" + } }, { - "url": "CP.1.1", - "valueDecimal": 44.44 + "url": "IN1.31", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "S" + } + ] + } }, { - "url": "CP.1.2", - "valueString": "CAD" + "url": "IN1.32", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "OK" + } + ] + } }, { - "url": "CP.2", - "valueString": "P4" + "url": "IN1.33", + "valueString": "176" }, { - "url": "CP.3", - "valueDecimal": 4.004 + "url": "IN1.34", + "valueString": "2" }, { - "url": "CP.4", - "valueDecimal": -4 + "url": "IN1.5", + "valueAddress": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xad-address", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/sad-address-line", + "extension": [ + { + "url": "SAD.1", + "valueString": "PO BOX 981114" + } + ] + }, + { + "url": "XAD.2", + "valueString": "\"\"" + } + ] + } + ], + "line": [ + "PO BOX 981114", + "\"\"" + ], + "city": "EL PASO", + "state": "TX", + "postalCode": "79998", + "country": "\"\"" + } }, { - "url": "CP.5", + "url": "IN1.35", "valueCodeableConcept": { "coding": [ { @@ -13461,32 +13747,744 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", "valueString": "coding" - }, - { - "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString": "HL79999" } ], - "code": "HHR", - "display": "Home Home Range" + "code": "1234" } ] } }, { - "url": "CP.6", - "valueString": "P" - } - ] - } - ] + "url": "IN1.36", + "valueString": "1002424" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/composite-price", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "IN1.37" + }, + { + "url": "CP.1.1", + "valueDecimal": 11.11 + }, + { + "url": "CP.1.2", + "valueString": "USD" + }, + { + "url": "CP.2", + "valueString": "P1" + }, + { + "url": "CP.3", + "valueDecimal": 1.001 + }, + { + "url": "CP.4", + "valueDecimal": -1 + }, + { + "url": "CP.5", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL79999" + } + ], + "code": "R", + "display": "Range Units" + } + ] + } + }, + { + "url": "CP.6", + "valueString": "F" + } + ] + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/composite-price", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "IN1.38" + }, + { + "url": "CP.1.1", + "valueDecimal": 22.22 + }, + { + "url": "CP.1.2", + "valueString": "RUB" + }, + { + "url": "CP.2", + "valueString": "P2" + }, + { + "url": "CP.3", + "valueDecimal": 2.002 + }, + { + "url": "CP.4", + "valueDecimal": -2 + }, + { + "url": "CP.5", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL79999" + } + ], + "code": "RR", + "display": "Russian Rubble" + } + ] + } + }, + { + "url": "CP.6", + "valueString": "F" + } + ] + }, + { + "url": "IN1.39", + "valueString": "10" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/composite-price", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "IN1.40" + }, + { + "url": "CP.1.1", + "valueDecimal": 33.33 + }, + { + "url": "CP.1.2", + "valueString": "MXN" + }, + { + "url": "CP.2", + "valueString": "P3" + }, + { + "url": "CP.3", + "valueDecimal": 3.003 + }, + { + "url": "CP.4", + "valueDecimal": -3 + }, + { + "url": "CP.5", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL79999" + } + ], + "code": "OR", + "display": "Oven Range" + } + ] + } + }, + { + "url": "CP.6", + "valueString": "P" + } + ] + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/composite-price", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "IN1.41" + }, + { + "url": "CP.1.1", + "valueDecimal": 44.44 + }, + { + "url": "CP.1.2", + "valueString": "CAD" + }, + { + "url": "CP.2", + "valueString": "P4" + }, + { + "url": "CP.3", + "valueDecimal": 4.004 + }, + { + "url": "CP.4", + "valueDecimal": -4 + }, + { + "url": "CP.5", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL79999" + } + ], + "code": "HHR", + "display": "Home Home Range" + } + ] + } + }, + { + "url": "CP.6", + "valueString": "P" + } + ] + }, + { + "url": "IN1.42", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "1" + } + ] + } + }, + { + "url": "IN1.43", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "F" + } + ] + } + }, + { + "url": "IN1.44", + "valueAddress": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xad-address", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/sad-address-line", + "extension": [ + { + "url": "SAD.1", + "valueString": "45 WORKING LANE" + } + ] + } + ] + } + ], + "line": [ + "45 WORKING LANE" + ], + "city": "LIVERPOOL", + "state": "NY", + "postalCode": "13088" + } + }, + { + "url": "IN1.6", + "valueHumanName": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name", + "extension": [ + { + "url": "XPN.2", + "valueString": "John" + } + ] + } + ], + "family": "Jones", + "given": [ + "John" + ], + "prefix": [ + "Mr." + ] + } + }, + { + "url": "IN1.45", + "valueString": "Y" + }, + { + "url": "IN1.46", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "1002423" + } + ] + } + }, + { + "url": "IN1.47", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "B" + } + ] + } + }, + { + "url": "IN1.48", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "0" + } + ] + } + }, + { + "url": "IN1.49", + "valueIdentifier": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier", + "extension": [ + { + "url": "CX.5", + "valueString": "PN" + } + ] + } + ], + "type": { + "coding": [ + { + "code": "PN" + } + ] + }, + "value": "555221234" + } + }, + { + "url": "IN1.50", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "S" + } + ] + } + }, + { + "url": "IN1.51", + "valueString": "20241222" + }, + { + "url": "IN1.52", + "valueString": "GRACE HOSPITAL" + }, + { + "url": "IN1.53", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "2" + } + ] + } + }, + { + "url": "IN1.7", + "valueContactPoint": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point", + "extension": [ + { + "url": "XTN.1", + "valueString": "(850)555-0809" + } + ] + } + ], + "_system": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "value": "(850)555-0809" + } + }, + { + "url": "IN1.8", + "valueString": "1500004000001" + }, + { + "url": "IN1.9", + "valueReference": { + "reference": "Organization/1736458920769876333.ebbfc04f-ba21-4ae1-9209-307f9cf9e7e0" + } + }, + { + "url": "IN1.10", + "valueIdentifier": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier", + "extension": [ + { + "url": "CX.5", + "valueString": "SN" + } + ] + } + ], + "type": { + "coding": [ + { + "code": "SN" + } + ] + }, + "value": "19" + } + }, + { + "url": "IN1.11", + "valueReference": { + "reference": "Organization/1736458920771023984.57e8ade6-a6f4-4cc4-92ae-b3fb14b891cc" + } + } + ] + } + ], + "type": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "2" + } + ] + }, + "policyHolder": { + "reference": "Organization/1736458920774314644.bd94f784-594a-4bf5-9b7f-39eb07d7e31d" + }, + "subscriber": { + "reference": "Patient/1736458919802683430.85963fc5-3bac-4e4f-a9ec-7987caa956a5" + }, + "beneficiary": { + "reference": "Patient/1736458919802683430.85963fc5-3bac-4e4f-a9ec-7987caa956a5" + }, + "relationship": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "SEL" + } + ] + }, + "period": { + "start": "2024-07-01", + "_start": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date", + "valueString": "20240701" + } + ] + }, + "end": "2025-06-30", + "_end": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date", + "valueString": "20250630" + } + ] + } + }, + "payor": [ + { + "reference": "Organization/1736458920772394039.1a10046b-5638-4266-9376-700335f5ca49" + } + ] + } + }, + { + "fullUrl": "Organization/1736458920751467306.88e46691-ef37-4dfb-8798-2fed42f3abaa", + "resource": { + "resourceType": "Organization", + "id": "1736458920751467306.88e46691-ef37-4dfb-8798-2fed42f3abaa", + "name": "AETNA US HEALTHCARE" + } + }, + { + "fullUrl": "Practitioner/1736458920754920908.43f1c808-34b3-4938-90c1-49e83de06c8f", + "resource": { + "resourceType": "Practitioner", + "id": "1736458920754920908.43f1c808-34b3-4938-90c1-49e83de06c8f", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", + "valueString": "NPI" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id", + "valueString": "2.16.840.1.114222.4.1.144" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", + "valueCode": "ISO" + } + ] + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", + "extension": [ + { + "url": "XCN.3", + "valueString": "Christopher" + }, + { + "url": "XCN.4", + "valueString": "Beau" + }, + { + "url": "XCN.7", + "valueString": "MD" + }, + { + "url": "XCN.10", + "valueString": "L" + } + ] + } + ], + "identifier": [ + { + "type": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id", + "valueBoolean": true + } + ], + "code": "NPI" + } + ] + }, + "system": "NPI", + "value": "1871759365" + } + ], + "name": [ + { + "use": "official", + "family": "Willison", + "given": [ + "Christopher", + "Beau" + ], + "suffix": [ + "MD" + ] + } + ] + } + }, + { + "fullUrl": "Organization/1736458920769876333.ebbfc04f-ba21-4ae1-9209-307f9cf9e7e0", + "resource": { + "resourceType": "Organization", + "id": "1736458920769876333.ebbfc04f-ba21-4ae1-9209-307f9cf9e7e0", + "name": "AETNA SERVICES INC" + } + }, + { + "fullUrl": "Organization/1736458920771023984.57e8ade6-a6f4-4cc4-92ae-b3fb14b891cc", + "resource": { + "resourceType": "Organization", + "id": "1736458920771023984.57e8ade6-a6f4-4cc4-92ae-b3fb14b891cc", + "name": "AETNA US HEALTHCARE" + } + }, + { + "fullUrl": "Organization/1736458920772394039.1a10046b-5638-4266-9376-700335f5ca49", + "resource": { + "resourceType": "Organization", + "id": "1736458920772394039.1a10046b-5638-4266-9376-700335f5ca49", + "name": "AETNA US HEALTHCARE", + "address": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xad-address", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/sad-address-line", + "extension": [ + { + "url": "SAD.1", + "valueString": "PO BOX 981114" + } + ] + }, + { + "url": "XAD.2", + "valueString": "\"\"" + } + ] + } + ], + "line": [ + "PO BOX 981114", + "\"\"" + ], + "city": "EL PASO", + "state": "TX", + "postalCode": "79998", + "country": "\"\"" + } + ] + } + }, + { + "fullUrl": "Organization/1736458920774314644.bd94f784-594a-4bf5-9b7f-39eb07d7e31d", + "resource": { + "resourceType": "Organization", + "id": "1736458920774314644.bd94f784-594a-4bf5-9b7f-39eb07d7e31d", + "identifier": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier", + "extension": [ + { + "url": "CX.5", + "valueString": "SN" + } + ] + } + ], + "type": { + "coding": [ + { + "code": "SN" + } + ] + }, + "value": "19" + } + ], + "name": "AETNA US HEALTHCARE" } }, { - "fullUrl": "ServiceRequest/1732560947529907000.d8a09a6a-8364-469a-b25b-3af90b0b03a7", + "fullUrl": "ServiceRequest/1736458920902724501.0431bff9-27de-4e8c-988a-ecae9bd127c5", "resource": { "resourceType": "ServiceRequest", - "id": "1732560947529907000.d8a09a6a-8364-469a-b25b-3af90b0b03a7", + "id": "1736458920902724501.0431bff9-27de-4e8c-988a-ecae9bd127c5", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/business-event", @@ -13531,25 +14529,25 @@ { "url": "ORC.19", "valueReference": { - "reference": "Practitioner/1732560947499269000.5ec7bd2d-b46f-4ab5-b6f1-105e2a16a033" + "reference": "Practitioner/1736458920799795141.fcf933fe-e346-4d10-af8d-cdbba647f04c" } }, { "url": "ORC.19", "valueReference": { - "reference": "Practitioner/1732560947499740000.59d10b31-b2d0-4645-8bef-afeb200d6f85" + "reference": "Practitioner/1736458920801461582.15e1dc1c-7313-4cf0-9b4a-e0e16ac15fa6" } }, { "url": "orc-21-ordering-facility-name", "valueReference": { - "reference": "Organization/1732560947500330000.8cdf6910-2555-4d7f-9e91-3df392f1eaac" + "reference": "Organization/1736458920803592003.ec2d88f8-66d0-4a59-b737-f0376f3e185f" } }, { "url": "orc-21-ordering-facility-name", "valueReference": { - "reference": "Organization/1732560947500653000.31f4e156-e9ee-451b-be8a-2f507d69bfe8" + "reference": "Organization/1736458920805197936.fd6917c1-e680-4828-87ff-e1f10f51efad" } }, { @@ -13779,43 +14777,43 @@ { "url": "ORC.10", "valueReference": { - "reference": "Practitioner/1732560947503002000.ee504390-2017-4f6f-a4f3-53b2fd73246d" + "reference": "Practitioner/1736458920818181326.5320c4a2-c958-42f7-826b-00a17849b3bf" } }, { "url": "ORC.10", "valueReference": { - "reference": "Practitioner/1732560947503448000.f7156834-3f5d-4a82-b7a1-98e183b07cf1" + "reference": "Practitioner/1736458920820196189.4929f73e-06dc-4c3e-a32a-156d5e325643" } }, { "url": "ORC.11", "valueReference": { - "reference": "Practitioner/1732560947503902000.ed6d174d-d09e-41af-9395-2400535214ee" + "reference": "Practitioner/1736458920822117756.2dea680a-aa65-4c79-bf55-d9f6129ef3c3" } }, { "url": "ORC.11", "valueReference": { - "reference": "Practitioner/1732560947504312000.06c8aa90-edcb-468f-89e5-132d01a8b5c7" + "reference": "Practitioner/1736458920823872499.77abc199-02c2-4779-b702-1ec22ef5115d" } }, { "url": "orc-12-ordering-provider", "valueReference": { - "reference": "Practitioner/1732560947504759000.80007309-46b8-45c5-aca3-f060b9482d7a" + "reference": "Practitioner/1736458920826512402.eebd8eb7-1647-4bda-b93e-68c62721862f" } }, { "url": "orc-12-ordering-provider", "valueReference": { - "reference": "Practitioner/1732560947505412000.8534206a-3bee-45ba-93ea-4c0d68ae7d23" + "reference": "Practitioner/1736458920829033502.678b99c3-ae47-4571-a7f7-0f462525de7c" } }, { "url": "ORC.13", "valueReference": { - "reference": "Location/1732560947506294000.04f6861c-e932-41ec-888f-b700e45b7102" + "reference": "Location/1736458920834247502.182e2faf-406d-4ecd-949e-947bbecf0349" } }, { @@ -13951,7 +14949,7 @@ } ], "code": "BOUIN", - "display": "Bouin\u0027s solution" + "display": "Bouin's solution" } ] } @@ -14006,13 +15004,13 @@ { "url": "OBR.16", "valueReference": { - "reference": "Practitioner/1732560947509331000.0ab46a24-9916-4747-9fca-3a758c81028b" + "reference": "Practitioner/1736458920844194703.d758016e-e2e2-4371-a056-b52db3d3e28d" } }, { "url": "OBR.16", "valueReference": { - "reference": "Practitioner/1732560947509819000.f1cdce66-9637-48cd-8b16-10bab1f16e1d" + "reference": "Practitioner/1736458920846638676.ea0f338d-39a6-4f7b-9d60-ed3324e78e7f" } }, { @@ -14258,13 +15256,13 @@ { "url": "OBR.28", "valueReference": { - "reference": "Practitioner/1732560947512408000.783446c3-304f-4c9f-a460-d4e80fdb8c88" + "reference": "Practitioner/1736458920855042037.198f88ba-75fc-4f63-9670-e811df1dc280" } }, { "url": "OBR.28", "valueReference": { - "reference": "Practitioner/1732560947512884000.d4774390-13b1-4d5b-8a3e-0347f57475ba" + "reference": "Practitioner/1736458920856453359.1ac84f1a-2e6f-4196-ac73-66798dfc767c" } }, { @@ -14319,13 +15317,13 @@ { "url": "OBR.33", "valueReference": { - "reference": "PractitionerRole/1732560947520941000.f4eece44-f1da-4aca-be73-8ec35f36dab6" + "reference": "PractitionerRole/1736458920879399261.fee69f95-844a-48cc-b0fc-221f3eb8f7e8" } }, { "url": "OBR.33", "valueReference": { - "reference": "PractitionerRole/1732560947523162000.7c84ee7b-bdc3-4795-a183-d2c5bec9e2be" + "reference": "PractitionerRole/1736458920887288026.9df8a2aa-8ac2-446f-a20a-a42fbab5e595" } }, { @@ -14557,13 +15555,13 @@ { "url": "OBR.10", "valueReference": { - "reference": "Practitioner/1732560947526641000.f9f859f3-9bf8-411e-8112-33b23d353c7e" + "reference": "Practitioner/1736458920895729169.f78f07f5-548f-4cd6-819e-51b95fafc774" } }, { "url": "OBR.10", "valueReference": { - "reference": "Practitioner/1732560947527932000.3ca1d3ad-62cd-41ed-9062-5fad5b91e7c3" + "reference": "Practitioner/1736458920898592980.1ff9c78f-c3e3-4b66-8414-56fe63840fa8" } }, { @@ -14894,7 +15892,7 @@ } ], "subject": { - "reference": "Patient/1732560947048199000.d085d2f5-4893-4917-8034-26207f44daee" + "reference": "Patient/1736458919802683430.85963fc5-3bac-4e4f-a9ec-7987caa956a5" }, "occurrenceDateTime": "2022-02-02T10:22:00Z", "_occurrenceDateTime": { @@ -14960,7 +15958,7 @@ } } ], - "reference": "PractitionerRole/1732560947492831000.5cd7780b-0f2c-46ca-889f-0798fb775efb" + "reference": "PractitionerRole/1736458920779217394.626dcd4b-f8b5-4e34-9534-96c9547f17b1" }, "locationCode": [ { @@ -15014,21 +16012,21 @@ ], "supportingInfo": [ { - "reference": "Observation/1732560947435581000.24cfd8df-b5c0-4e26-8530-038f0d0f38bd" + "reference": "Observation/1736458920615775591.037031a7-222b-4ad2-9b9b-43ab53a20fe5" }, { - "reference": "Observation/1732560947452762000.982e8dbf-6f70-46c9-9291-4bf159092ea8" + "reference": "Observation/1736458920645881489.c5b8d22b-fdee-47f0-a4f9-163e9ff68f73" } ], "specimen": [ { - "reference": "Specimen/1732560947485272000.2de97c85-b7e1-4d34-89b3-5eb0281675c7" + "reference": "Specimen/1736458920702791950.82e09fdf-e892-4c29-b1fe-5fedccdab8db" }, { - "reference": "Specimen/1732560947490639000.76590a8f-5db7-4f30-8409-11147b0d050c" + "reference": "Specimen/1736458920709529525.ddfe4b32-e8a0-4e31-927c-53a95ed106d8" }, { - "reference": "Specimen/1732560947469944000.d44f2361-3edc-4170-bea3-6af32fd4a247" + "reference": "Specimen/1736458920679227059.fe188836-63a0-4288-bf57-6eda8bf32bd5" } ], "note": [ @@ -15135,10 +16133,10 @@ } }, { - "fullUrl": "Practitioner/1732560947493696000.0477e27d-b681-492e-b0a3-4df3af046aa0", + "fullUrl": "Practitioner/1736458920782022471.09bed657-1ab8-4b38-9185-fdfecfe0269e", "resource": { "resourceType": "Practitioner", - "id": "1732560947493696000.0477e27d-b681-492e-b0a3-4df3af046aa0", + "id": "1736458920782022471.09bed657-1ab8-4b38-9185-fdfecfe0269e", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -15194,10 +16192,10 @@ } }, { - "fullUrl": "Location/1732560947494068000.23e06089-e5d2-4ce3-b999-2680e8d550ff", + "fullUrl": "Location/1736458920783616262.34a0109d-3066-42c6-9c83-e134d4eca915", "resource": { "resourceType": "Location", - "id": "1732560947494068000.23e06089-e5d2-4ce3-b999-2680e8d550ff", + "id": "1736458920783616262.34a0109d-3066-42c6-9c83-e134d4eca915", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -15221,10 +16219,10 @@ } }, { - "fullUrl": "Organization/1732560947495609000.878c2511-f6c3-4dac-a91f-ef40b67ea045", + "fullUrl": "Organization/1736458920787533765.37d79ae7-0e81-4075-8da4-5fd633e515dc", "resource": { "resourceType": "Organization", - "id": "1732560947495609000.878c2511-f6c3-4dac-a91f-ef40b67ea045", + "id": "1736458920787533765.37d79ae7-0e81-4075-8da4-5fd633e515dc", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code", @@ -15263,7 +16261,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732560947494068000.23e06089-e5d2-4ce3-b999-2680e8d550ff" + "reference": "Location/1736458920783616262.34a0109d-3066-42c6-9c83-e134d4eca915" } } ], @@ -15347,23 +16345,23 @@ } }, { - "fullUrl": "PractitionerRole/1732560947492831000.5cd7780b-0f2c-46ca-889f-0798fb775efb", + "fullUrl": "PractitionerRole/1736458920779217394.626dcd4b-f8b5-4e34-9534-96c9547f17b1", "resource": { "resourceType": "PractitionerRole", - "id": "1732560947492831000.5cd7780b-0f2c-46ca-889f-0798fb775efb", + "id": "1736458920779217394.626dcd4b-f8b5-4e34-9534-96c9547f17b1", "practitioner": { - "reference": "Practitioner/1732560947493696000.0477e27d-b681-492e-b0a3-4df3af046aa0" + "reference": "Practitioner/1736458920782022471.09bed657-1ab8-4b38-9185-fdfecfe0269e" }, "organization": { - "reference": "Organization/1732560947495609000.878c2511-f6c3-4dac-a91f-ef40b67ea045" + "reference": "Organization/1736458920787533765.37d79ae7-0e81-4075-8da4-5fd633e515dc" } } }, { - "fullUrl": "Practitioner/1732560947499269000.5ec7bd2d-b46f-4ab5-b6f1-105e2a16a033", + "fullUrl": "Practitioner/1736458920799795141.fcf933fe-e346-4d10-af8d-cdbba647f04c", "resource": { "resourceType": "Practitioner", - "id": "1732560947499269000.5ec7bd2d-b46f-4ab5-b6f1-105e2a16a033", + "id": "1736458920799795141.fcf933fe-e346-4d10-af8d-cdbba647f04c", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -15390,10 +16388,10 @@ } }, { - "fullUrl": "Practitioner/1732560947499740000.59d10b31-b2d0-4645-8bef-afeb200d6f85", + "fullUrl": "Practitioner/1736458920801461582.15e1dc1c-7313-4cf0-9b4a-e0e16ac15fa6", "resource": { "resourceType": "Practitioner", - "id": "1732560947499740000.59d10b31-b2d0-4645-8bef-afeb200d6f85", + "id": "1736458920801461582.15e1dc1c-7313-4cf0-9b4a-e0e16ac15fa6", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -15420,10 +16418,10 @@ } }, { - "fullUrl": "Location/1732560947500074000.bb6760cf-9dbe-4d9a-9f74-ea8bb96b5798", + "fullUrl": "Location/1736458920802678621.e7411f56-4ee9-4db4-849a-f645cf18a49e", "resource": { "resourceType": "Location", - "id": "1732560947500074000.bb6760cf-9dbe-4d9a-9f74-ea8bb96b5798", + "id": "1736458920802678621.e7411f56-4ee9-4db4-849a-f645cf18a49e", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -15447,10 +16445,10 @@ } }, { - "fullUrl": "Organization/1732560947500330000.8cdf6910-2555-4d7f-9e91-3df392f1eaac", + "fullUrl": "Organization/1736458920803592003.ec2d88f8-66d0-4a59-b737-f0376f3e185f", "resource": { "resourceType": "Organization", - "id": "1732560947500330000.8cdf6910-2555-4d7f-9e91-3df392f1eaac", + "id": "1736458920803592003.ec2d88f8-66d0-4a59-b737-f0376f3e185f", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code", @@ -15489,7 +16487,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732560947500074000.bb6760cf-9dbe-4d9a-9f74-ea8bb96b5798" + "reference": "Location/1736458920802678621.e7411f56-4ee9-4db4-849a-f645cf18a49e" } } ], @@ -15508,10 +16506,10 @@ } }, { - "fullUrl": "Organization/1732560947500653000.31f4e156-e9ee-451b-be8a-2f507d69bfe8", + "fullUrl": "Organization/1736458920805197936.fd6917c1-e680-4828-87ff-e1f10f51efad", "resource": { "resourceType": "Organization", - "id": "1732560947500653000.31f4e156-e9ee-451b-be8a-2f507d69bfe8", + "id": "1736458920805197936.fd6917c1-e680-4828-87ff-e1f10f51efad", "identifier": [ { "extension": [ @@ -15539,10 +16537,10 @@ } }, { - "fullUrl": "Practitioner/1732560947503002000.ee504390-2017-4f6f-a4f3-53b2fd73246d", + "fullUrl": "Practitioner/1736458920818181326.5320c4a2-c958-42f7-826b-00a17849b3bf", "resource": { "resourceType": "Practitioner", - "id": "1732560947503002000.ee504390-2017-4f6f-a4f3-53b2fd73246d", + "id": "1736458920818181326.5320c4a2-c958-42f7-826b-00a17849b3bf", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -15569,10 +16567,10 @@ } }, { - "fullUrl": "Practitioner/1732560947503448000.f7156834-3f5d-4a82-b7a1-98e183b07cf1", + "fullUrl": "Practitioner/1736458920820196189.4929f73e-06dc-4c3e-a32a-156d5e325643", "resource": { "resourceType": "Practitioner", - "id": "1732560947503448000.f7156834-3f5d-4a82-b7a1-98e183b07cf1", + "id": "1736458920820196189.4929f73e-06dc-4c3e-a32a-156d5e325643", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -15599,10 +16597,10 @@ } }, { - "fullUrl": "Practitioner/1732560947503902000.ed6d174d-d09e-41af-9395-2400535214ee", + "fullUrl": "Practitioner/1736458920822117756.2dea680a-aa65-4c79-bf55-d9f6129ef3c3", "resource": { "resourceType": "Practitioner", - "id": "1732560947503902000.ed6d174d-d09e-41af-9395-2400535214ee", + "id": "1736458920822117756.2dea680a-aa65-4c79-bf55-d9f6129ef3c3", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -15629,10 +16627,10 @@ } }, { - "fullUrl": "Practitioner/1732560947504312000.06c8aa90-edcb-468f-89e5-132d01a8b5c7", + "fullUrl": "Practitioner/1736458920823872499.77abc199-02c2-4779-b702-1ec22ef5115d", "resource": { "resourceType": "Practitioner", - "id": "1732560947504312000.06c8aa90-edcb-468f-89e5-132d01a8b5c7", + "id": "1736458920823872499.77abc199-02c2-4779-b702-1ec22ef5115d", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -15659,10 +16657,10 @@ } }, { - "fullUrl": "Practitioner/1732560947504759000.80007309-46b8-45c5-aca3-f060b9482d7a", + "fullUrl": "Practitioner/1736458920826512402.eebd8eb7-1647-4bda-b93e-68c62721862f", "resource": { "resourceType": "Practitioner", - "id": "1732560947504759000.80007309-46b8-45c5-aca3-f060b9482d7a", + "id": "1736458920826512402.eebd8eb7-1647-4bda-b93e-68c62721862f", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -15689,10 +16687,10 @@ } }, { - "fullUrl": "Practitioner/1732560947505412000.8534206a-3bee-45ba-93ea-4c0d68ae7d23", + "fullUrl": "Practitioner/1736458920829033502.678b99c3-ae47-4571-a7f7-0f462525de7c", "resource": { "resourceType": "Practitioner", - "id": "1732560947505412000.8534206a-3bee-45ba-93ea-4c0d68ae7d23", + "id": "1736458920829033502.678b99c3-ae47-4571-a7f7-0f462525de7c", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -15719,10 +16717,10 @@ } }, { - "fullUrl": "Location/1732560947506084000.5a892c5b-37ad-4002-bd47-8c6803d8464c", + "fullUrl": "Location/1736458920833086259.cc7e2e8e-6a01-44c6-a901-810c7efc2651", "resource": { "resourceType": "Location", - "id": "1732560947506084000.5a892c5b-37ad-4002-bd47-8c6803d8464c", + "id": "1736458920833086259.cc7e2e8e-6a01-44c6-a901-810c7efc2651", "identifier": [ { "extension": [ @@ -15774,10 +16772,10 @@ } }, { - "fullUrl": "Location/1732560947506294000.04f6861c-e932-41ec-888f-b700e45b7102", + "fullUrl": "Location/1736458920834247502.182e2faf-406d-4ecd-949e-947bbecf0349", "resource": { "resourceType": "Location", - "id": "1732560947506294000.04f6861c-e932-41ec-888f-b700e45b7102", + "id": "1736458920834247502.182e2faf-406d-4ecd-949e-947bbecf0349", "identifier": [ { "extension": [ @@ -15828,15 +16826,15 @@ ] }, "partOf": { - "reference": "Location/1732560947506084000.5a892c5b-37ad-4002-bd47-8c6803d8464c" + "reference": "Location/1736458920833086259.cc7e2e8e-6a01-44c6-a901-810c7efc2651" } } }, { - "fullUrl": "Practitioner/1732560947509331000.0ab46a24-9916-4747-9fca-3a758c81028b", + "fullUrl": "Practitioner/1736458920844194703.d758016e-e2e2-4371-a056-b52db3d3e28d", "resource": { "resourceType": "Practitioner", - "id": "1732560947509331000.0ab46a24-9916-4747-9fca-3a758c81028b", + "id": "1736458920844194703.d758016e-e2e2-4371-a056-b52db3d3e28d", "identifier": [ { "value": "1" @@ -15870,10 +16868,10 @@ } }, { - "fullUrl": "Practitioner/1732560947509819000.f1cdce66-9637-48cd-8b16-10bab1f16e1d", + "fullUrl": "Practitioner/1736458920846638676.ea0f338d-39a6-4f7b-9d60-ed3324e78e7f", "resource": { "resourceType": "Practitioner", - "id": "1732560947509819000.f1cdce66-9637-48cd-8b16-10bab1f16e1d", + "id": "1736458920846638676.ea0f338d-39a6-4f7b-9d60-ed3324e78e7f", "identifier": [ { "value": "2" @@ -15907,10 +16905,10 @@ } }, { - "fullUrl": "Practitioner/1732560947512408000.783446c3-304f-4c9f-a460-d4e80fdb8c88", + "fullUrl": "Practitioner/1736458920855042037.198f88ba-75fc-4f63-9670-e811df1dc280", "resource": { "resourceType": "Practitioner", - "id": "1732560947512408000.783446c3-304f-4c9f-a460-d4e80fdb8c88", + "id": "1736458920855042037.198f88ba-75fc-4f63-9670-e811df1dc280", "identifier": [ { "value": "1" @@ -15944,10 +16942,10 @@ } }, { - "fullUrl": "Practitioner/1732560947512884000.d4774390-13b1-4d5b-8a3e-0347f57475ba", + "fullUrl": "Practitioner/1736458920856453359.1ac84f1a-2e6f-4196-ac73-66798dfc767c", "resource": { "resourceType": "Practitioner", - "id": "1732560947512884000.d4774390-13b1-4d5b-8a3e-0347f57475ba", + "id": "1736458920856453359.1ac84f1a-2e6f-4196-ac73-66798dfc767c", "identifier": [ { "value": "2" @@ -15981,10 +16979,10 @@ } }, { - "fullUrl": "Practitioner/1732560947513689000.989ab7fa-f0bb-4786-b727-a9becbfd1e60", + "fullUrl": "Practitioner/1736458920858735687.6afd327b-f853-40af-8371-3130ec026a48", "resource": { "resourceType": "Practitioner", - "id": "1732560947513689000.989ab7fa-f0bb-4786-b727-a9becbfd1e60", + "id": "1736458920858735687.6afd327b-f853-40af-8371-3130ec026a48", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cnn-practitioner", @@ -16051,10 +17049,10 @@ } }, { - "fullUrl": "Location/1732560947514770000.899f4562-f9db-4c94-bb05-047c9b1e297c", + "fullUrl": "Location/1736458920861314257.a337cbbf-9b66-4369-80b5-4a1c21d4a24f", "resource": { "resourceType": "Location", - "id": "1732560947514770000.899f4562-f9db-4c94-bb05-047c9b1e297c", + "id": "1736458920861314257.a337cbbf-9b66-4369-80b5-4a1c21d4a24f", "identifier": [ { "extension": [ @@ -16101,10 +17099,10 @@ } }, { - "fullUrl": "Location/1732560947519778000.baa0c773-906b-48e3-8494-d317e4765870", + "fullUrl": "Location/1736458920875804585.cd961560-b970-48ef-bd41-c14bf67eed40", "resource": { "resourceType": "Location", - "id": "1732560947519778000.baa0c773-906b-48e3-8494-d317e4765870", + "id": "1736458920875804585.cd961560-b970-48ef-bd41-c14bf67eed40", "identifier": [ { "value": "Building 123" @@ -16123,10 +17121,10 @@ } }, { - "fullUrl": "Location/1732560947520130000.cbd13489-be1a-49b5-87fb-0674e5abb016", + "fullUrl": "Location/1736458920876964375.142246df-0196-4759-8f4d-199067ad87f2", "resource": { "resourceType": "Location", - "id": "1732560947520130000.cbd13489-be1a-49b5-87fb-0674e5abb016", + "id": "1736458920876964375.142246df-0196-4759-8f4d-199067ad87f2", "identifier": [ { "value": "Point of Care" @@ -16152,10 +17150,10 @@ } }, { - "fullUrl": "Location/1732560947520385000.002d6faf-8054-462d-b3c2-17cef5f937c9", + "fullUrl": "Location/1736458920878043241.63484544-b538-4bff-a4e6-a58e9d313080", "resource": { "resourceType": "Location", - "id": "1732560947520385000.002d6faf-8054-462d-b3c2-17cef5f937c9", + "id": "1736458920878043241.63484544-b538-4bff-a4e6-a58e9d313080", "identifier": [ { "value": "Floor A" @@ -16174,10 +17172,10 @@ } }, { - "fullUrl": "Location/1732560947520622000.ec54c592-0fd8-4cc6-b472-bd37ae789d4c", + "fullUrl": "Location/1736458920878632378.5d92deea-2d01-4d39-a5e2-ccd675400c0e", "resource": { "resourceType": "Location", - "id": "1732560947520622000.ec54c592-0fd8-4cc6-b472-bd37ae789d4c", + "id": "1736458920878632378.5d92deea-2d01-4d39-a5e2-ccd675400c0e", "identifier": [ { "value": "Room 101" @@ -16196,10 +17194,10 @@ } }, { - "fullUrl": "Location/1732560947520860000.2766d69c-fb80-4b36-b28a-4974be18add8", + "fullUrl": "Location/1736458920879081399.68dda7a2-275c-4ba7-9e5f-f8797231c8b2", "resource": { "resourceType": "Location", - "id": "1732560947520860000.2766d69c-fb80-4b36-b28a-4974be18add8", + "id": "1736458920879081399.68dda7a2-275c-4ba7-9e5f-f8797231c8b2", "identifier": [ { "value": "Bed A" @@ -16218,10 +17216,10 @@ } }, { - "fullUrl": "PractitionerRole/1732560947520941000.f4eece44-f1da-4aca-be73-8ec35f36dab6", + "fullUrl": "PractitionerRole/1736458920879399261.fee69f95-844a-48cc-b0fc-221f3eb8f7e8", "resource": { "resourceType": "PractitionerRole", - "id": "1732560947520941000.f4eece44-f1da-4aca-be73-8ec35f36dab6", + "id": "1736458920879399261.fee69f95-844a-48cc-b0fc-221f3eb8f7e8", "period": { "start": "2023-04-01T10:25:31-04:00", "_start": { @@ -16243,35 +17241,35 @@ } }, "practitioner": { - "reference": "Practitioner/1732560947513689000.989ab7fa-f0bb-4786-b727-a9becbfd1e60" + "reference": "Practitioner/1736458920858735687.6afd327b-f853-40af-8371-3130ec026a48" }, "location": [ { - "reference": "Location/1732560947514770000.899f4562-f9db-4c94-bb05-047c9b1e297c" + "reference": "Location/1736458920861314257.a337cbbf-9b66-4369-80b5-4a1c21d4a24f" }, { - "reference": "Location/1732560947519778000.baa0c773-906b-48e3-8494-d317e4765870" + "reference": "Location/1736458920875804585.cd961560-b970-48ef-bd41-c14bf67eed40" }, { - "reference": "Location/1732560947520130000.cbd13489-be1a-49b5-87fb-0674e5abb016" + "reference": "Location/1736458920876964375.142246df-0196-4759-8f4d-199067ad87f2" }, { - "reference": "Location/1732560947520385000.002d6faf-8054-462d-b3c2-17cef5f937c9" + "reference": "Location/1736458920878043241.63484544-b538-4bff-a4e6-a58e9d313080" }, { - "reference": "Location/1732560947520622000.ec54c592-0fd8-4cc6-b472-bd37ae789d4c" + "reference": "Location/1736458920878632378.5d92deea-2d01-4d39-a5e2-ccd675400c0e" }, { - "reference": "Location/1732560947520860000.2766d69c-fb80-4b36-b28a-4974be18add8" + "reference": "Location/1736458920879081399.68dda7a2-275c-4ba7-9e5f-f8797231c8b2" } ] } }, { - "fullUrl": "Practitioner/1732560947521580000.9330085d-9c64-4b23-898d-fc1bc316d586", + "fullUrl": "Practitioner/1736458920880790564.15ff02ab-cd8a-4f8d-86d6-2dec23bd65c3", "resource": { "resourceType": "Practitioner", - "id": "1732560947521580000.9330085d-9c64-4b23-898d-fc1bc316d586", + "id": "1736458920880790564.15ff02ab-cd8a-4f8d-86d6-2dec23bd65c3", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cnn-practitioner", @@ -16338,10 +17336,10 @@ } }, { - "fullUrl": "Location/1732560947521847000.75df0af0-f84c-4d5e-8e52-527efd517da2", + "fullUrl": "Location/1736458920881800883.2ce47f16-39f2-4f3b-82b6-eccf3708ee2a", "resource": { "resourceType": "Location", - "id": "1732560947521847000.75df0af0-f84c-4d5e-8e52-527efd517da2", + "id": "1736458920881800883.2ce47f16-39f2-4f3b-82b6-eccf3708ee2a", "identifier": [ { "extension": [ @@ -16388,10 +17386,10 @@ } }, { - "fullUrl": "Location/1732560947522072000.f6938ab7-8e59-4ee2-89d7-8c1661087a27", + "fullUrl": "Location/1736458920882758379.2525668a-6e9c-4b11-9795-64a408842853", "resource": { "resourceType": "Location", - "id": "1732560947522072000.f6938ab7-8e59-4ee2-89d7-8c1661087a27", + "id": "1736458920882758379.2525668a-6e9c-4b11-9795-64a408842853", "identifier": [ { "value": "Building 123" @@ -16410,10 +17408,10 @@ } }, { - "fullUrl": "Location/1732560947522403000.efdd2a8b-bfa4-4dd5-83ae-c38648ec1d24", + "fullUrl": "Location/1736458920884288161.bd689200-66ea-4de5-989e-2acb3f55dbc7", "resource": { "resourceType": "Location", - "id": "1732560947522403000.efdd2a8b-bfa4-4dd5-83ae-c38648ec1d24", + "id": "1736458920884288161.bd689200-66ea-4de5-989e-2acb3f55dbc7", "identifier": [ { "value": "Point of Care" @@ -16439,10 +17437,10 @@ } }, { - "fullUrl": "Location/1732560947522621000.8fe4d35a-e4c0-49af-8a26-b3d58e3e3da4", + "fullUrl": "Location/1736458920885307062.a4eae5bc-e467-409e-87d5-c1901d88638a", "resource": { "resourceType": "Location", - "id": "1732560947522621000.8fe4d35a-e4c0-49af-8a26-b3d58e3e3da4", + "id": "1736458920885307062.a4eae5bc-e467-409e-87d5-c1901d88638a", "identifier": [ { "value": "Floor A" @@ -16461,10 +17459,10 @@ } }, { - "fullUrl": "Location/1732560947522844000.32e18ce9-898d-4990-bdb6-eebb57cbf15d", + "fullUrl": "Location/1736458920886158546.0e01eed7-386a-4e53-b87a-716097985ea6", "resource": { "resourceType": "Location", - "id": "1732560947522844000.32e18ce9-898d-4990-bdb6-eebb57cbf15d", + "id": "1736458920886158546.0e01eed7-386a-4e53-b87a-716097985ea6", "identifier": [ { "value": "Room 101" @@ -16483,10 +17481,10 @@ } }, { - "fullUrl": "Location/1732560947523077000.606ef017-d450-4f80-be05-3bffc19531e4", + "fullUrl": "Location/1736458920886993121.e63ea88f-de86-4c67-b60a-2121872fcbe3", "resource": { "resourceType": "Location", - "id": "1732560947523077000.606ef017-d450-4f80-be05-3bffc19531e4", + "id": "1736458920886993121.e63ea88f-de86-4c67-b60a-2121872fcbe3", "identifier": [ { "value": "Bed A" @@ -16505,10 +17503,10 @@ } }, { - "fullUrl": "PractitionerRole/1732560947523162000.7c84ee7b-bdc3-4795-a183-d2c5bec9e2be", + "fullUrl": "PractitionerRole/1736458920887288026.9df8a2aa-8ac2-446f-a20a-a42fbab5e595", "resource": { "resourceType": "PractitionerRole", - "id": "1732560947523162000.7c84ee7b-bdc3-4795-a183-d2c5bec9e2be", + "id": "1736458920887288026.9df8a2aa-8ac2-446f-a20a-a42fbab5e595", "period": { "start": "2023-04-01T10:25:31-04:00", "_start": { @@ -16530,35 +17528,35 @@ } }, "practitioner": { - "reference": "Practitioner/1732560947521580000.9330085d-9c64-4b23-898d-fc1bc316d586" + "reference": "Practitioner/1736458920880790564.15ff02ab-cd8a-4f8d-86d6-2dec23bd65c3" }, "location": [ { - "reference": "Location/1732560947521847000.75df0af0-f84c-4d5e-8e52-527efd517da2" + "reference": "Location/1736458920881800883.2ce47f16-39f2-4f3b-82b6-eccf3708ee2a" }, { - "reference": "Location/1732560947522072000.f6938ab7-8e59-4ee2-89d7-8c1661087a27" + "reference": "Location/1736458920882758379.2525668a-6e9c-4b11-9795-64a408842853" }, { - "reference": "Location/1732560947522403000.efdd2a8b-bfa4-4dd5-83ae-c38648ec1d24" + "reference": "Location/1736458920884288161.bd689200-66ea-4de5-989e-2acb3f55dbc7" }, { - "reference": "Location/1732560947522621000.8fe4d35a-e4c0-49af-8a26-b3d58e3e3da4" + "reference": "Location/1736458920885307062.a4eae5bc-e467-409e-87d5-c1901d88638a" }, { - "reference": "Location/1732560947522844000.32e18ce9-898d-4990-bdb6-eebb57cbf15d" + "reference": "Location/1736458920886158546.0e01eed7-386a-4e53-b87a-716097985ea6" }, { - "reference": "Location/1732560947523077000.606ef017-d450-4f80-be05-3bffc19531e4" + "reference": "Location/1736458920886993121.e63ea88f-de86-4c67-b60a-2121872fcbe3" } ] } }, { - "fullUrl": "Practitioner/1732560947526641000.f9f859f3-9bf8-411e-8112-33b23d353c7e", + "fullUrl": "Practitioner/1736458920895729169.f78f07f5-548f-4cd6-819e-51b95fafc774", "resource": { "resourceType": "Practitioner", - "id": "1732560947526641000.f9f859f3-9bf8-411e-8112-33b23d353c7e", + "id": "1736458920895729169.f78f07f5-548f-4cd6-819e-51b95fafc774", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", @@ -16707,10 +17705,10 @@ } }, { - "fullUrl": "Practitioner/1732560947527932000.3ca1d3ad-62cd-41ed-9062-5fad5b91e7c3", + "fullUrl": "Practitioner/1736458920898592980.1ff9c78f-c3e3-4b66-8414-56fe63840fa8", "resource": { "resourceType": "Practitioner", - "id": "1732560947527932000.3ca1d3ad-62cd-41ed-9062-5fad5b91e7c3", + "id": "1736458920898592980.1ff9c78f-c3e3-4b66-8414-56fe63840fa8", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/omlo21/oml_o21-full.hl7 b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/omlo21/oml_o21-full.hl7 index baa36fced05..efa15b2e5d5 100644 --- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/omlo21/oml_o21-full.hl7 +++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/omlo21/oml_o21-full.hl7 @@ -1,14 +1,14 @@ MSH|^~\&|OrderingFacilityApplicationName^2.16.840.1.114222.XXX^ISO|OrderingFacilityName^2.16.840.1.114222.XXX^ISO|txdshslabNBS^2.16.840.1.114222.4.1.181960.2^ISO|txdshslab^2.16.840.1.114222.4.1.181960^ISO|20190720091229|msh8placeholder|OML^O21^OML_O21|0123|P^A|2.5.1|42|msh14placeholder|AL|AL|FR|UNICODE UTF-8|ENG^English^ISO^altE^altEnglish^altISO^131^313^originaltext^2ndalt^Second Alt|UNICODE UTF-16|PHLabReport-NoAck^PHIN^2.16.840.1.113883.9.11^ISO~PHLabReport2x^PHIN^2.16.840.1.113883.9.11^ISO|Sending Responsible Org^1357-9&SomeText&LN&2468-5&SomeAltText&LN&1&2&OriginalText^1111^9^BCV^The Authority&4.2.8.2&ISO^BC^Clinic A&1.8.440.1.1138.9.22&ISO^NameRepCode1^OrgIdentifier2|Receiving Responsible Org^1133-5&SomeOtherText&LN&1298-7&SomeOtherAltText&LN&1&2&TheOriginalText^5555^8^CCTV^An Authority&45.24.167.43&ISO^BCVan^Clinic B&10.10.40.10.11380.90.22&ISO^NameRepCode2^OrgIdentifier3|SendingNetworkAddress^1.23.987.1.114222.XXX^ISO|ReceivingNetworkAddress^9.87.123.1.114222.XXX^ISO SFT|CDC^A&Alias Name&HL70204^789^Check Digit3^C3^CDC OML SFT&2.1.9.1&ISO^MD^Hospital C&2.16.8121.1.113883.9.11&ISO^A^CDC CLIA|ELIMS V11|STARLIMS|Binary ID unknown|testsft5data|20230802180802-0400 PID|1||Patidlist^forty^123^STARLIMS.CDC.Stag&2.16.840.1.114222.4.3.3.2.1.2&ISO^PI^STARLINKED.CDC.Stag&2.16.840.1.114222.9.8.7.6.3.2&ISO^20210113^20211230^IX&Ninth&HL7123^X&Tenth&HL7123~PID123^^^SPHL-000048&2.16.840.1.114222.4.1.10765&ISO^PI~test^^^STARLIMS.CDC.Stag&2.16.840.1.114222.4.3.3.2.1.2&ISO^PI^STARLINKED.CDC.Stag&2.16.840.1.114222.9.8.7.6.3.2&ISO||Mega&Mr&MrOwnMega&Mrs&MrsOwn^HL7^MI^V^DR^BCN^L^Naaame^C&Name Context&HL7444^Yes^G^19900503^20030503^Prof~Mega&Mr&MrOwnMega&Mrs&MrsOwn^HL7^MI^V^DR^BCN^L^Naaame^C&Name Context&HL7444^Yes^G^19900503^20030503^Prof|Mind^FHIR^WI^^^^L~Mind2x^FHIR^WI^^^^L|1640|F^Female^HL70001||2106-3^White^HL70005~2131-1^Other Race^HL70005|123 Main St^Altxad^AnyTown^IG^95802^USA^H^^Thurston County^^^2020&2024~1234 Main St^Address 2x^AnyTown^IG^95802^USA^H^^Thurston County^^^2020&2024||12345^PRS^CP^real@example.com^1^713^5553861^1^himom^^4^17145553862~12345^PRS^CP^notreal@example.com^1^714^5553861^1^himom^^4^17135553862|9865^EMR^SAT^alsoreal@exmaple.com^1^281^5553861|E^English^HL70296|P^Domestic Partnet^HL70002|AGN^Agnostic^HL70006|32|||maybe~maybe not|U^Uknown^HL70189~AU^Also Uknown^HL70189|Bayou|Y|11|USA^United States^HL70171~CAN^Canada^HL70171|NA^Not Applicable^HL70172|A^American^HL70212|2031|Y|N|AL^Alias^HL70445~UA^Unknown^HL70445|202408211138|RSDT^0.0.0.1.1138^ISO|D^Dog^HL70446|||RA^Racing^HL70429|N^None^HL70171~SN^Still None^HL70171|40~41 -PD1|C^Small Children Dependent^HL70223^M^Medical Supervision Required^HL70223^2.5.1^4^TEST^M^Medical Supervision Required^HL70223^2.5.1^8.44.235.1.113883.3.3~O^Other^HL70223^U^Unknown^HL70223^2.5.1^4^TEST^M^Medical Supervision Required^HL70223^2.5.1^8.44.235.1.113883.3.3|A^Alone^HL70220^F^Family^HL70220^2.5.1^4^TEST^F^Family^HL70220^2.5.1^8.44.235.1.113883.3.3|Ordering Facility^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^OrgIdentifier~Ordering Facility^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^OrgIdentifier||F^Full-time student^HL70231^N^Not a student^HL70231^2.5.1^4^TEST^N^Not a student^HL70231^2.5.1^8.44.235.1.113883.3.3|T^TEST^HL70295^P^Prod^HL70295^2.5.1^4^TEST^D^Debug^HL70295^2.5.1^8.44.235.1.113883.3.3|F^Yes, patient has a living will but it is not on file^HL70315^I^No, patient does not have a living will but information was provided^HL70315^2.5.1^4^TEST^U^Unknown^HL70315^2.5.1^8.44.235.1.113883.3.3|F^Yes, patient is a documented donor, but documentation is not on file^HL70316^I^No, patient is not a documented donor, but information was provided^HL70316^2.5.1^4^TEST^U^Unknown^HL70316^2.5.1^8.44.235.1.113883.3.3|N|18547545^^^NIST MPI&2.16.840.1.113883.3.72.5.30.2&ISO^MR^University H&2.16.840.1.113883.3.0&ISO~111111111^^^SSN&2.16.840.1.113883.4.1&ISO^SS^SSA&2.16.840.1.113883.3.184&ISO|F^Family only^HL70215^N^No Publicity^HL70215^2.5.1^4^TEST^U^Unknown^HL70215^2.5.1^8.44.235.1.113883.3.3|N|20230501102531-0400|1st Ordering Facility^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^1st OrgIdentifier~2nd Ordering Facility^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^2nd OrgIdentifier|DNR^Do not resuscitate^HL70435^N^No directive^HL70435^2.5.1^4^TEST^N^No directive^HL70435^2.5.1^8.44.235.1.113883.3.3~DNR^Do not resuscitate^HL70435^N^No directive^HL70435^2.5.1^4^TEST^N^No directive^HL70435^2.5.1^8.44.235.1.113883.3.3|A^Active^HL70441^I^Inactive^HL70441^2.5.1^4^TEST^O^Other^HL70441^2.5.1^8.44.235.1.113883.3.3|20230501102531-0400|20230501102531-0400|AUSA^Australian Army^HL70140^AUSFA^Australian Air Force^HL70140^2.5.1^4^TEST^AUSN^Australian Navy^HL70140^2.5.1^8.44.235.1.113883.3.3|E1... E9^Enlisted^HL70141^O1 ... O9^Officers^HL70141^2.5.1^4^TEST^W1 ... W4^Warrent Officers^HL70141^2.5.1^8.44.235.1.113883.3.3|ACT^Active duty^HL70142^DEC^Deceased^HL70142^2.5.1^4^TEST^RET^Retired^HL70142^2.5.1^8.44.235.1.113883.3.3|20230501102531-0400 +PD1|C^Small Children Dependent^HL70223^M^Medical Supervision Required^HL70223^2.5.1^4^TEST^M^Medical Supervision Required^HL70223^2.5.1^8.44.235.1.113883.3.3~O^Other^HL70223^U^Unknown^HL70223^2.5.1^4^TEST^M^Medical Supervision Required^HL70223^2.5.1^8.44.235.1.113883.3.3|A^Alone^HL70220^F^Family^HL70220^2.5.1^4^TEST^F^Family^HL70220^2.5.1^8.44.235.1.113883.3.3|Ordering Facility^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^OrgIdentifier~Ordering Facility^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^OrgIdentifier|1111111111^PD1.4NameFamily^PD1.4NameGiven^PD1.4NameInit^^^^^NPI^^^^NPI|F^Full-time student^HL70231^N^Not a student^HL70231^2.5.1^4^TEST^N^Not a student^HL70231^2.5.1^8.44.235.1.113883.3.3|T^TEST^HL70295^P^Prod^HL70295^2.5.1^4^TEST^D^Debug^HL70295^2.5.1^8.44.235.1.113883.3.3|F^Yes, patient has a living will but it is not on file^HL70315^I^No, patient does not have a living will but information was provided^HL70315^2.5.1^4^TEST^U^Unknown^HL70315^2.5.1^8.44.235.1.113883.3.3|F^Yes, patient is a documented donor, but documentation is not on file^HL70316^I^No, patient is not a documented donor, but information was provided^HL70316^2.5.1^4^TEST^U^Unknown^HL70316^2.5.1^8.44.235.1.113883.3.3|N|18547545^^^NIST MPI&2.16.840.1.113883.3.72.5.30.2&ISO^MR^University H&2.16.840.1.113883.3.0&ISO~111111111^^^SSN&2.16.840.1.113883.4.1&ISO^SS^SSA&2.16.840.1.113883.3.184&ISO|F^Family only^HL70215^N^No Publicity^HL70215^2.5.1^4^TEST^U^Unknown^HL70215^2.5.1^8.44.235.1.113883.3.3|N|20230501102531-0400|1st Ordering Facility^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^1st OrgIdentifier~2nd Ordering Facility^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^2nd OrgIdentifier|DNR^Do not resuscitate^HL70435^N^No directive^HL70435^2.5.1^4^TEST^N^No directive^HL70435^2.5.1^8.44.235.1.113883.3.3~DNR^Do not resuscitate^HL70435^N^No directive^HL70435^2.5.1^4^TEST^N^No directive^HL70435^2.5.1^8.44.235.1.113883.3.3|A^Active^HL70441^I^Inactive^HL70441^2.5.1^4^TEST^O^Other^HL70441^2.5.1^8.44.235.1.113883.3.3|20230501102531-0400|20230501102531-0400|AUSA^Australian Army^HL70140^AUSFA^Australian Air Force^HL70140^2.5.1^4^TEST^AUSN^Australian Navy^HL70140^2.5.1^8.44.235.1.113883.3.3|E1... E9^Enlisted^HL70141^O1 ... O9^Officers^HL70141^2.5.1^4^TEST^W1 ... W4^Warrent Officers^HL70141^2.5.1^8.44.235.1.113883.3.3|ACT^Active duty^HL70142^DEC^Deceased^HL70142^2.5.1^4^TEST^RET^Retired^HL70142^2.5.1^8.44.235.1.113883.3.3|20230501102531-0400 NTE|1|L|Just a little note on the patient~another little comment|||20210206|20210207|20210208|CC^Coded Patient note NTE|2|L|Accession level coment.|RE^Remark^HL70364^z^x^y^2.5.1^a^b|Bob R.N.|20230531|20230601|20350201|CC^Coded comment for patient note NK1|1|SURYAN&Prefix&Own&SpousePrefix&Spouse^GENARO^GR^JR^Sir^Md^L^I^CON&Context of the name&HL70448^2000&2030^G^20000501102531^2030501102531^Dr~SURYANS&Prefix&Own&SpousePrefix&Spouse^GENARO^GR^JR^Sir^Md^L^I^CON&Context of the name&HL70448^2000&2030^G^20000501102531^2030501102531^Dr|OTH^Other^HL70063^OT^OTHER RELATIONSHIP^L|4861 20TH AVE^^THUNDER MOUNTAIN^IG^99999^USA^H~4860 21ST AVE^^THUNDER MOUNTAIN^IG^99999^USA^H|^PRN^PH^example@exmaple.com^1^720^5553954^2^any^^^+1 720 555 3954~^PRN^PH^example2@exmaple.com^1^720^5553954^2^any^^^+1 720 555 3954|^WPN^PH^^1^555^4672293^^^^^+1 555 467 2293~^WPN^PH^^1^666^4672293^^^^^+1 666 467 2293|F^Federal Agency^HL70131|20220501102531-0400|20230501102531-0400|||052479^^^^^^20160822|HospitalsRUs^^112233^^^^^^^HRU~Hospitals 2.0^^112233^^^^^^^H20||N^Not Applicable^HL70001|19860505||||E^English^HL70296|||||||||||^WPN^PH^^1^720^5553954^^^^^+1 720 555 3954~^WPN^PH^^1^666^5553954^^^^^+1 666 555 3954|4861 20TH AVE^#B^AURORA^IG^99999^USA^H^World^King^12^8^2017&2025^2020^2021~4861 24TH AVE^#B^AURORA^IG^99999^USA^H^World^King^12^8^2017&2025^2020^2021|052479^^^^^^^20210428~052470^^^^^^^20210429|||||||^VHN^SAT^^1^314^5553131^^^^^+1 314 555 3131|^AWN^FX^^1^281^5558181^^^^^+1 281 555 8181 NK1|2|SUPERMAN&Prefix&Own&SpousePrefix&Spouse^GENARO^GR^JR^Sir^Md^L^I^CON&Context the namee&HL70448^2000&2030^G^20000501102531^2030501102531^Dr|OTH^Other^HL70063^OT^OTHER RELATIONSHIP^L|4861 20TH AVE^^THUNDER MOUNTAIN^IG^99999^USA^H|^PRN^PH^example2@exmaple.com^1^720^5553954^2^any^^^+1 720 555 3955|^WPN^PH^^1^555^4672293^^^^^+1 555 467 2294|F^Federal Agency^HL70131|20220501102531-0400|20230501102531-0400|||052479^^^^^^20160822|HospitalsRUs^^112233^^^^^^^HRU||N^Not Applicable^HL70001|19860505||||E^English^HL70296|||||||||||^WPN^PH^^1^720^5553954^^^^^+1 720 555 3955|4861 20TH AVE^#B^AURORA^IG^99999^USA^H^World^King^12^8^2017&2025^2020^2021|052479^^^^^^^20210428|||||||^VHN^SAT^^1^314^5553131^^^^^+1 314 555 3132|^AWN^FX^^1^281^5558181^^^^^+1 281 555 8182 PV1|1|O|A&Point OF Care&C^1&Room&3^B&Bed&A^Hospital Assigned&2.4.4.4&ISO^^R^&Building^&Floor^Totally A Real Location^Comprehensive&&UID4This^AA&AssigningAUTH&ISO|R^Routine^HL70007|232323|^^^Hospital Prio&2.4.4.4&ISO^active^location type^^^Description^Entity ID&NAME&UNI&ISO^ASSIGNEE&222.1111.22222&UUID|1^BEETHOVEN^LUDWIG^B^2ND^DR^MD^^Namespace&AssigningSystem&UUID^B^^^DL^^^^^^^^MD~1^BEETHOVEN2^LUDWIG^B^2ND^DR^MD^^Namespace&AssigningSystem&UUID^B^^^DL^^^^^^^^MD|1^MOZART~1^MOZARTJR|1^CHOPIN~1^CHOPINSR|URO^Urology Service^HL70069|^^^^^^^^Its Temporary|P^Passed^HL70087|R^Re-admission^HL70092|RL^Real Life^HL70023||VIP^Very Interesting Person^HL70099|1^BACH~1^BACHtheSecond|H^Human Patient^HL70018|22|||||||||||20020101|C^Collectors^HL70021|1|0|Y^Yes^HL70111|20080101|H^Happy^HL70112|^202305061200|F^Fed^HL70114|H^A Hospital Of Course^HL70115||A^Active^HL70117|^^^^^^^^Pending Location|^^^^^^^^Prior Location|20240801102531-0400|20240801102531-0400|100|199|142|130|alternate visit|A^Account Level^HL70326||Service Description|episode identifier PV2|^^^Hospital PriorPending&2.4.4.4&ISO^active^location type^^^Description^Entity ID&NAME&UNI&ISO^ASSIGNEE&222.1111.22222&UUID||1^AD||||413^V~423^X|20230601102531-0400|20230701102531-0400|5|12|Description|1^BEETHOVEN&VAN&Referral Source Code1&VAL&ROGER^LUDWIG^B^2ND^DR^MD^SRC^&AssigningSystem&ISO^B^A^NPI^DL^^A^NameContext^^G^20220501102531-0400^20230501102531-0400^MD^AssignJ^AssignA~1^BEETHOVEN&VAN&Referral Source Code2&VAL&ROGER^LUDWIG^B^2ND^DR^MD^SRC^&AssigningSystem&ISO^B^A^NPI^DL^^A^NameContext^^G^20220501102531-0400^20230501102531-0400^MD^AssignJ^AssignA||EMP_ILL||||||100^PublicCode|SEC|Org1^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO~Org2^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO||3^Elective^HL70217|20230501102531-0400|||20220501102531-0400|||||||||444^MODE||123^CARELEVEL1 -IN1||||||||||||||1701^19700101^DR TEETH AND THE ELECTRIC MAYHEM|||||||||||||||||||||||11.11&USD^P1^1.001^-1^R&Range Units&HL79999^F|22.22&RUB^P2^2.002^-2^RR&Russian Rubble&HL79999^F||33.33&MXN^P3^3.003^-3^OR&Oven Range&HL79999^P|44.44&CAD^P4^4.004^-4^HHR&Home Home Range&HL79999^P +IN1|1|EPO|80|AETNA US HEALTHCARE|PO BOX 981114^""^EL PASO^TX^79998^""|Jones^John^^^Mr.|(850)555-0809|1500004000001|AETNA SERVICES INC|19^^^^SN|AETNA US HEALTHCARE|20240701|20250630|1701^19700101^DR TEETH AND THE ELECTRIC MAYHEM|2|Mega&Mr&MrOwnMega&Mrs&MrsOwn^HL7^MI^V^DR^BCN^L^Naaame^C&Name Context&HL7444|SEL|19700722|13324 WHITE CEMETERY RD^""^HANNIBAL^NY^130740000^""|Y|IN|1|Y|20241223|Y|20241224|N|PACCERT|20241223|1871759365^Willison^Christopher^Beau^^^MD^^NPI&2.16.840.1.114222.4.1.144&ISO^L^^^NPI|S|OK|176|2|1234|1002424|11.11&USD^P1^1.001^-1^R&Range Units&HL79999^F|22.22&RUB^P2^2.002^-2^RR&Russian Rubble&HL79999^F|10|33.33&MXN^P3^3.003^-3^OR&Oven Range&HL79999^P|44.44&CAD^P4^4.004^-4^HHR&Home Home Range&HL79999^P|1|F|45 WORKING LANE^^LIVERPOOL^NY^13088|Y|1002423|B|0|555221234^^^^PN|S|20241222|GRACE HOSPITAL|2 ORC|RE|Specimen123^SPHL-000048^2.16.840.1.114222.4.1.10765^ISO|Specimen12311^SPHL-000048^2.16.840.1.114222.4.1.10765^ISO|Specimen12322^SPHL-000048^2.16.840.1.114222.4.1.10765^ISO|CM|E||Specimen12333&SPHL-000048&2.16.840.1.114222.4.1.10765&ISO^Specimen12333454&SPHL-000048&2.16.840.1.114222.4.1.10765&ISO|20230725|71^^ORC.10Name~71^^ORC.10Name2|82^^ORC.11Name~82^^ORC.11Name2|93^^ORC.12Name~93^^ORC.12Name2|12.12.12&enter location id&L|123^^^+123~1234^^^+1234|202101021000||EO^entering org text^HL79999|ED^entering device text^HL79999|60^^ORC.19Name~60^^ORC.19Name2||CDPH, Viral and Rickettsial Disease Laboratory^^^^^STARLIMS.CDC.Stag&2.16.840.1.114222.4.3.3.2.1.2&ISO^XX^STARLINKS.CDC.Stag&2.16.840.1.114222.8.7.6.5.4.1&ISO^A^SPHL-000048~CDPH, Viral and Rickettsial Disease Laboratory part two^^^^^STARLIMS.CDC.Stag&2.16.840.1.114222.4.3.3.2.1.2&ISO|111 Street St^^Streetsville^ST~112 Street St^^Streetsville^ST|456^^^+456~4567^^^+4567|111 Road Rd^^Roadsville^RD~112 Road Rd^^Roadsville^RD|OS^order status^HL79999||20260404|EMP^Employee^HL70177|I^Inpatient Order^HL70482|EL^Electronic^HL70483|UMM^Universal Modifier^HL70000|20250403|33~332 OBR|1|Placer Identifier^Placer Identifier Namespace^Placer Universal ID^ISO|Filler Identifier^Filler Identifier Namespace^Filler Universal ID^ISO|123^Universal service identifier||202202021022||20240220|1771|1^Collector&VAN&Identifier&VAL&ROGER^LUDWIG^B^2ND^DR^MD^SRC^&AssigningSystem&ISO^B^A^NPI^DL^^A^NameContext~1^Collectorx2&VAN&Identifier&VAL&ROGER^LUDWIG^B^2ND^DR^MD^SRC^&AssigningSystem&ISO^B^A^NPI^DL^^A^NameContext|G|512^Danger code|R^relevent info^ISO|202102021000|ID^BOUIN&Bouin's solution&HL70371^Collection Method^LN&Left Naris&HL70163^^CMMC&Collection Method Modifer Code&HL7|1^Ordering&VAN&Provider&VAL&JollyROGER~2^Ordering&VAN&Provider&VAL&JollyROGER|^WPN^BP^^1^260^7595016^^^^^+1 260 759 5016~^WPN^Internet^order.callback@email.com~^WPN^BP^^1^260^7595016^^^^^+1 260 759 5016~^WPN^Internet^order.callback2@email.com|placer1|placer2|filler1|filler2||100&$^16&code|OTH|F|444&ParentId^888^ParentOBSdescriptor||1^result&VAN&copiesto&VAL&NotSoJollyROGER~2^results&VAN&copiesto&VAL&NotSoJollyROGER|adb4a5cc-50ec-4f1e-95d7-0c1f77cacee1&CSV&11D1111111&CLIA^f34b0f57-1601-4480-ae8a-d4006e50f38d&Other CSV&22D2222222&CLIA2||3216^ReasonForStudy~3216^ReasonForStudy2||123&Assistant&Results Interpreter&S&ESQ&DR&MD&&Assigning Authority&2.1.4.1&ISO^20230401102531-0400^20230501102531-0400^Point of Care^Room 101^Bed A^Hospital A&2.16.840.1.113883.9.11&ISO^active^^Building 123^Floor A~123&Assistant&Results Interpreter&S&ESQ&DR&MD&&Assigning Authority&2.1.4.1&ISO^20230401102531-0400^20230501102531-0400^Point of Care^Room 101^Bed A^Hospital A&2.16.840.1.113883.9.11&ISO^active^^Building 123^Floor A|||20230806123359-0500|||4438^Collectors Comment~4438^Collectors Comment2|||||5019^Procedure Code|887766^Procedure Code Modifier~887766^Procedure Code Modifier2|7461^Placer Supplemental~7461^Placer Supplemental2|8811^Fillter Supplemental~8811^Fillter Supplemental2|71435^Medically Necessary Duplicate Procedure|N|443331^Parent Universal Service Identifier|||Alt^Placer Order~Alt^Placer Order2|adb4a5cc-50ec-4f1e-95d7-0c1f77cacee1&CSV&11D1111111&CLIA^f34b0f57-1601-4480-ae8a-d4006e50f38d&Other CSV&22D2222222&CLIA2 NTE|1|L|Note about the observation request~second~third~fourth|||20230207|20230208|20230209|CC^Coded Request note diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/ormo01/orm_o01-full.fhir b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/ormo01/orm_o01-full.fhir index be9dcdbbb46..90110d9607b 100644 --- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/ormo01/orm_o01-full.fhir +++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/ormo01/orm_o01-full.fhir @@ -1,8 +1,8 @@ { "resourceType": "Bundle", - "id": "1732562153058506000.7cc24107-cbb3-445d-9ef3-20575f5535e3", + "id": "1735608559041606000.c540a671-45c3-4972-83a4-b1491942fb93", "meta": { - "lastUpdated": "2024-11-25T14:15:53.069-05:00" + "lastUpdated": "2024-12-30T20:29:19.052-05:00" }, "identifier": { "system": "https://reportstream.cdc.gov/prime-router", @@ -12,10 +12,10 @@ "timestamp": "2019-07-20T09:12:29.000-04:00", "entry": [ { - "fullUrl": "MessageHeader/1732562153157287000.e92f3023-52ef-4fbc-a6ba-48dd04e150d9", + "fullUrl": "MessageHeader/1735608559144217000.0da9ab7e-be39-49d7-9711-90f360f500eb", "resource": { "resourceType": "MessageHeader", - "id": "1732562153157287000.e92f3023-52ef-4fbc-a6ba-48dd04e150d9", + "id": "1735608559144217000.0da9ab7e-be39-49d7-9711-90f360f500eb", "meta": { "security": [ { @@ -183,7 +183,7 @@ "name": "txdshslabNBS", "endpoint": "urn:oid:2.16.840.1.114222.4.1.181960.2", "receiver": { - "reference": "Organization/1732562153152314000.636eb862-9bcf-4578-a8c4-76d76a52c7ba" + "reference": "Organization/1735608559139136000.38efa89c-c3a1-4319-8a6b-6af5464f86fc" } }, { @@ -204,17 +204,17 @@ "name": "ReceivingNetworkAddress", "endpoint": "urn:oid:9.87.123.1.114222.XXX", "receiver": { - "reference": "Organization/1732562153153628000.0edff44e-8d45-4fc3-b5c3-08fbed46c70e" + "reference": "Organization/1735608559140467000.6ee00938-2cfc-4c9f-a7bb-8da84d7e4fd3" } }, { "receiver": { - "reference": "Organization/1732562153157046000.37e93667-a04a-48be-b006-008c74bb0229" + "reference": "Organization/1735608559143972000.079d0b26-d7d5-4da4-ad0c-7bf7058910b6" } } ], "sender": { - "reference": "Organization/1732562153123310000.dd82ace9-715d-4637-bdd6-9168cfe52cb2" + "reference": "Organization/1735608559110468000.13f8a7f5-76e0-46e4-b9e9-f2f176f46a57" }, "source": { "extension": [ @@ -238,15 +238,15 @@ "endpoint": "urn:oid:2.16.840.1.114222.XXX" }, "responsible": { - "reference": "Organization/1732562153151265000.9bb994e6-10bc-44ca-be6f-6a3b49f0993a" + "reference": "Organization/1735608559138168000.00eb1e28-046e-4ee9-8ffa-b88e226c4967" } } }, { - "fullUrl": "Organization/1732562153123310000.dd82ace9-715d-4637-bdd6-9168cfe52cb2", + "fullUrl": "Organization/1735608559110468000.13f8a7f5-76e0-46e4-b9e9-f2f176f46a57", "resource": { "resourceType": "Organization", - "id": "1732562153123310000.dd82ace9-715d-4637-bdd6-9168cfe52cb2", + "id": "1735608559110468000.13f8a7f5-76e0-46e4-b9e9-f2f176f46a57", "identifier": [ { "extension": [ @@ -284,10 +284,10 @@ } }, { - "fullUrl": "Location/1732562153145172000.e4978d40-c022-47e7-8443-cf61eb977e14", + "fullUrl": "Location/1735608559131322000.01a8a7c3-439f-44de-bad0-b51f0ca48533", "resource": { "resourceType": "Location", - "id": "1732562153145172000.e4978d40-c022-47e7-8443-cf61eb977e14", + "id": "1735608559131322000.01a8a7c3-439f-44de-bad0-b51f0ca48533", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -311,10 +311,10 @@ } }, { - "fullUrl": "Organization/1732562153151265000.9bb994e6-10bc-44ca-be6f-6a3b49f0993a", + "fullUrl": "Organization/1735608559138168000.00eb1e28-046e-4ee9-8ffa-b88e226c4967", "resource": { "resourceType": "Organization", - "id": "1732562153151265000.9bb994e6-10bc-44ca-be6f-6a3b49f0993a", + "id": "1735608559138168000.00eb1e28-046e-4ee9-8ffa-b88e226c4967", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -422,7 +422,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732562153145172000.e4978d40-c022-47e7-8443-cf61eb977e14" + "reference": "Location/1735608559131322000.01a8a7c3-439f-44de-bad0-b51f0ca48533" } } ], @@ -441,10 +441,10 @@ } }, { - "fullUrl": "Organization/1732562153152314000.636eb862-9bcf-4578-a8c4-76d76a52c7ba", + "fullUrl": "Organization/1735608559139136000.38efa89c-c3a1-4319-8a6b-6af5464f86fc", "resource": { "resourceType": "Organization", - "id": "1732562153152314000.636eb862-9bcf-4578-a8c4-76d76a52c7ba", + "id": "1735608559139136000.38efa89c-c3a1-4319-8a6b-6af5464f86fc", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -483,10 +483,10 @@ } }, { - "fullUrl": "Organization/1732562153153628000.0edff44e-8d45-4fc3-b5c3-08fbed46c70e", + "fullUrl": "Organization/1735608559140467000.6ee00938-2cfc-4c9f-a7bb-8da84d7e4fd3", "resource": { "resourceType": "Organization", - "id": "1732562153153628000.0edff44e-8d45-4fc3-b5c3-08fbed46c70e", + "id": "1735608559140467000.6ee00938-2cfc-4c9f-a7bb-8da84d7e4fd3", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -525,10 +525,10 @@ } }, { - "fullUrl": "Location/1732562153155241000.f7d91a91-d032-427f-a60f-1c9d160143c8", + "fullUrl": "Location/1735608559142187000.a674bb66-5b44-4ff9-90d3-f3a1525c9c39", "resource": { "resourceType": "Location", - "id": "1732562153155241000.f7d91a91-d032-427f-a60f-1c9d160143c8", + "id": "1735608559142187000.a674bb66-5b44-4ff9-90d3-f3a1525c9c39", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -552,10 +552,10 @@ } }, { - "fullUrl": "Organization/1732562153157046000.37e93667-a04a-48be-b006-008c74bb0229", + "fullUrl": "Organization/1735608559143972000.079d0b26-d7d5-4da4-ad0c-7bf7058910b6", "resource": { "resourceType": "Organization", - "id": "1732562153157046000.37e93667-a04a-48be-b006-008c74bb0229", + "id": "1735608559143972000.079d0b26-d7d5-4da4-ad0c-7bf7058910b6", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -667,7 +667,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732562153155241000.f7d91a91-d032-427f-a60f-1c9d160143c8" + "reference": "Location/1735608559142187000.a674bb66-5b44-4ff9-90d3-f3a1525c9c39" } } ], @@ -686,10 +686,10 @@ } }, { - "fullUrl": "Provenance/1732562153760137000.9845f2ac-0c8e-4157-bf81-430b8f689f6a", + "fullUrl": "Provenance/1735608559735254000.1af51b86-1f77-4e6c-bde3-2548d31b394e", "resource": { "resourceType": "Provenance", - "id": "1732562153760137000.9845f2ac-0c8e-4157-bf81-430b8f689f6a", + "id": "1735608559735254000.1af51b86-1f77-4e6c-bde3-2548d31b394e", "recorded": "2019-07-20T09:12:29Z", "activity": { "coding": [ @@ -709,17 +709,17 @@ ] }, "who": { - "reference": "Organization/1732562153759773000.5080022a-2415-47cf-8028-6440055dff6c" + "reference": "Organization/1735608559735022000.042f1817-e2ca-4f14-bd03-c3c60cb54205" } } ] } }, { - "fullUrl": "Location/1732562153758411000.b85d5a33-3539-4bb5-84ce-e23b322ecc6b", + "fullUrl": "Location/1735608559733582000.a10ab161-4152-4518-a469-a2a748c54f1c", "resource": { "resourceType": "Location", - "id": "1732562153758411000.b85d5a33-3539-4bb5-84ce-e23b322ecc6b", + "id": "1735608559733582000.a10ab161-4152-4518-a469-a2a748c54f1c", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -743,10 +743,10 @@ } }, { - "fullUrl": "Organization/1732562153759773000.5080022a-2415-47cf-8028-6440055dff6c", + "fullUrl": "Organization/1735608559735022000.042f1817-e2ca-4f14-bd03-c3c60cb54205", "resource": { "resourceType": "Organization", - "id": "1732562153759773000.5080022a-2415-47cf-8028-6440055dff6c", + "id": "1735608559735022000.042f1817-e2ca-4f14-bd03-c3c60cb54205", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -854,7 +854,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732562153758411000.b85d5a33-3539-4bb5-84ce-e23b322ecc6b" + "reference": "Location/1735608559733582000.a10ab161-4152-4518-a469-a2a748c54f1c" } } ], @@ -873,11 +873,11 @@ } }, { - "fullUrl": "Provenance/1732562153773679000.9c273ef9-317b-4457-acaa-d0a10be76910", + "fullUrl": "Provenance/1735608559748576000.12e6a873-4c5e-4595-9d60-cabbbdb48a6b", "resource": { "resourceType": "Provenance", - "id": "1732562153773679000.9c273ef9-317b-4457-acaa-d0a10be76910", - "recorded": "2024-11-25T14:15:53Z", + "id": "1735608559748576000.12e6a873-4c5e-4595-9d60-cabbbdb48a6b", + "recorded": "2024-12-30T20:29:19Z", "policy": [ "http://hl7.org/fhir/uv/v2mappings/message-oru-r01-to-bundle" ], @@ -899,17 +899,17 @@ ] }, "who": { - "reference": "Organization/1732562153773433000.efe18488-3dea-42aa-b546-44a2320a3f28" + "reference": "Organization/1735608559748154000.8298d1be-bc23-412d-9e1f-994786e6dbe2" } } ] } }, { - "fullUrl": "Organization/1732562153773433000.efe18488-3dea-42aa-b546-44a2320a3f28", + "fullUrl": "Organization/1735608559748154000.8298d1be-bc23-412d-9e1f-994786e6dbe2", "resource": { "resourceType": "Organization", - "id": "1732562153773433000.efe18488-3dea-42aa-b546-44a2320a3f28", + "id": "1735608559748154000.8298d1be-bc23-412d-9e1f-994786e6dbe2", "identifier": [ { "value": "CDC PRIME - Atlanta" @@ -929,16 +929,16 @@ } }, { - "fullUrl": "Patient/1732562153843122000.7e823011-2378-4ca6-bc19-0701168a7768", + "fullUrl": "Patient/1735608559806757000.793109f7-debe-44b9-9b9c-ac08615c3f9d", "resource": { "resourceType": "Patient", - "id": "1732562153843122000.7e823011-2378-4ca6-bc19-0701168a7768", + "id": "1735608559806757000.793109f7-debe-44b9-9b9c-ac08615c3f9d", "meta": { "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/last-updated-facility-namespace-id", "valueReference": { - "reference": "Organization/1732562153836395000.14028c7c-9147-459e-8c73-0d1a2cac74b2" + "reference": "Organization/1735608559799561000.9dc7154d-7405-4d37-a10e-20091161340c" } } ], @@ -1035,7 +1035,7 @@ } ], "authorReference": { - "reference": "Practitioner/1732562153789290000.4bbdce01-bb61-40c4-a31b-92bdb4331530" + "reference": "Practitioner/1735608559764108000.2c346515-c009-45e0-a8b3-859eeacef8ef" }, "time": "2023-05-31", "_time": { @@ -1131,7 +1131,7 @@ } ], "authorReference": { - "reference": "Practitioner/1732562153791331000.5cbd435d-6005-4e9b-9730-0909d058b397" + "reference": "Practitioner/1735608559766114000.81bceb67-25cb-4504-82fa-fdac999c8256" }, "time": "2023-05-31", "_time": { @@ -2026,7 +2026,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-facility", "valueReference": { - "reference": "Organization/1732562153801120000.6e0bbb7a-f0d3-40a7-ad6a-f75659ffdcc8" + "reference": "Organization/1735608559776136000.22eecccc-1452-4709-85ae-f60863988c29" } }, { @@ -2077,7 +2077,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-facility", "valueReference": { - "reference": "Organization/1732562153802611000.f400d90a-2443-480f-adc6-1dad3b6fa5bd" + "reference": "Organization/1735608559777153000.6e28d71a-8f58-41a9-a70c-582347708061" } }, { @@ -2191,13 +2191,13 @@ { "url": "PD1.14", "valueReference": { - "reference": "Organization/1732562153806033000.7c00260f-d478-4f7a-bcf5-b4763fc10b76" + "reference": "Organization/1735608559779960000.40f8d477-8055-4614-b104-4acfd8587223" } }, { "url": "PD1.14", "valueReference": { - "reference": "Organization/1732562153808295000.5ffd5adf-aaf7-4e2f-bb55-4fb4fe4e71c1" + "reference": "Organization/1735608559781855000.f4ab1caa-b937-42ad-9317-c54dadf0f933" } }, { @@ -2628,7 +2628,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-facility", "valueReference": { - "reference": "Organization/1732562153780196000.4b9cd4af-9c9a-497f-a604-a8b0c57455b3" + "reference": "Organization/1735608559754472000.073ab6d9-ea64-4027-98ba-a90bf6043ea4" } }, { @@ -2780,7 +2780,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-facility", "valueReference": { - "reference": "Organization/1732562153783031000.c9978086-5e18-4764-b0a1-b9faaad4250f" + "reference": "Organization/1735608559757339000.de80b495-5e06-4ed0-ba21-fdebbe3a0e00" } }, { @@ -3515,22 +3515,22 @@ ], "generalPractitioner": [ { - "reference": "Organization/1732562153785679000.6782734a-567c-4ff9-97bc-64a1501e8e6b" + "reference": "Organization/1735608559760089000.a38ce631-e9e3-470f-84d3-dd53aec79e5b" }, { - "reference": "Organization/1732562153787502000.6a296664-095f-422a-9acb-d8a934b9decd" + "reference": "Organization/1735608559762446000.4a87211d-687d-4e3e-9934-201b0f9b1f86" } ], "link": [ { "other": { - "reference": "RelatedPerson/1732562153824586000.9f4b56c7-f6b1-4b61-bec5-63cba9d7865c" + "reference": "RelatedPerson/1735608559791971000.a94fd736-b60a-48f7-94cc-6913180c7a23" }, "type": "seealso" }, { "other": { - "reference": "RelatedPerson/1732562153824978000.5c7cdd4c-1308-45a8-9a6f-f9da853f99a6" + "reference": "RelatedPerson/1735608559792320000.412d9714-8138-4089-bd0b-087022dd79a3" }, "type": "seealso" } @@ -3538,10 +3538,10 @@ } }, { - "fullUrl": "Organization/1732562153780196000.4b9cd4af-9c9a-497f-a604-a8b0c57455b3", + "fullUrl": "Organization/1735608559754472000.073ab6d9-ea64-4027-98ba-a90bf6043ea4", "resource": { "resourceType": "Organization", - "id": "1732562153780196000.4b9cd4af-9c9a-497f-a604-a8b0c57455b3", + "id": "1735608559754472000.073ab6d9-ea64-4027-98ba-a90bf6043ea4", "identifier": [ { "extension": [ @@ -3574,10 +3574,10 @@ } }, { - "fullUrl": "Organization/1732562153783031000.c9978086-5e18-4764-b0a1-b9faaad4250f", + "fullUrl": "Organization/1735608559757339000.de80b495-5e06-4ed0-ba21-fdebbe3a0e00", "resource": { "resourceType": "Organization", - "id": "1732562153783031000.c9978086-5e18-4764-b0a1-b9faaad4250f", + "id": "1735608559757339000.de80b495-5e06-4ed0-ba21-fdebbe3a0e00", "identifier": [ { "extension": [ @@ -3610,10 +3610,10 @@ } }, { - "fullUrl": "Location/1732562153784561000.263ec032-cfa5-4a0e-b859-3307c6a4bf76", + "fullUrl": "Location/1735608559758936000.cf3057b4-346f-4fed-b7ef-acbb5fbc2d61", "resource": { "resourceType": "Location", - "id": "1732562153784561000.263ec032-cfa5-4a0e-b859-3307c6a4bf76", + "id": "1735608559758936000.cf3057b4-346f-4fed-b7ef-acbb5fbc2d61", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -3637,10 +3637,10 @@ } }, { - "fullUrl": "Organization/1732562153785679000.6782734a-567c-4ff9-97bc-64a1501e8e6b", + "fullUrl": "Organization/1735608559760089000.a38ce631-e9e3-470f-84d3-dd53aec79e5b", "resource": { "resourceType": "Organization", - "id": "1732562153785679000.6782734a-567c-4ff9-97bc-64a1501e8e6b", + "id": "1735608559760089000.a38ce631-e9e3-470f-84d3-dd53aec79e5b", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -3748,7 +3748,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732562153784561000.263ec032-cfa5-4a0e-b859-3307c6a4bf76" + "reference": "Location/1735608559758936000.cf3057b4-346f-4fed-b7ef-acbb5fbc2d61" } } ], @@ -3767,10 +3767,10 @@ } }, { - "fullUrl": "Location/1732562153786484000.240bc114-fd18-48a5-90ac-a3df1cceab0b", + "fullUrl": "Location/1735608559761364000.93d62451-4663-41ef-b517-79359c1b6162", "resource": { "resourceType": "Location", - "id": "1732562153786484000.240bc114-fd18-48a5-90ac-a3df1cceab0b", + "id": "1735608559761364000.93d62451-4663-41ef-b517-79359c1b6162", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -3794,10 +3794,10 @@ } }, { - "fullUrl": "Organization/1732562153787502000.6a296664-095f-422a-9acb-d8a934b9decd", + "fullUrl": "Organization/1735608559762446000.4a87211d-687d-4e3e-9934-201b0f9b1f86", "resource": { "resourceType": "Organization", - "id": "1732562153787502000.6a296664-095f-422a-9acb-d8a934b9decd", + "id": "1735608559762446000.4a87211d-687d-4e3e-9934-201b0f9b1f86", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -3905,7 +3905,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732562153786484000.240bc114-fd18-48a5-90ac-a3df1cceab0b" + "reference": "Location/1735608559761364000.93d62451-4663-41ef-b517-79359c1b6162" } } ], @@ -3924,10 +3924,10 @@ } }, { - "fullUrl": "Practitioner/1732562153789290000.4bbdce01-bb61-40c4-a31b-92bdb4331530", + "fullUrl": "Practitioner/1735608559764108000.2c346515-c009-45e0-a8b3-859eeacef8ef", "resource": { "resourceType": "Practitioner", - "id": "1732562153789290000.4bbdce01-bb61-40c4-a31b-92bdb4331530", + "id": "1735608559764108000.2c346515-c009-45e0-a8b3-859eeacef8ef", "identifier": [ { "value": "Bob R.N." @@ -3936,10 +3936,10 @@ } }, { - "fullUrl": "Practitioner/1732562153791331000.5cbd435d-6005-4e9b-9730-0909d058b397", + "fullUrl": "Practitioner/1735608559766114000.81bceb67-25cb-4504-82fa-fdac999c8256", "resource": { "resourceType": "Practitioner", - "id": "1732562153791331000.5cbd435d-6005-4e9b-9730-0909d058b397", + "id": "1735608559766114000.81bceb67-25cb-4504-82fa-fdac999c8256", "identifier": [ { "value": "Bob R.N." @@ -3948,10 +3948,10 @@ } }, { - "fullUrl": "Organization/1732562153801120000.6e0bbb7a-f0d3-40a7-ad6a-f75659ffdcc8", + "fullUrl": "Organization/1735608559776136000.22eecccc-1452-4709-85ae-f60863988c29", "resource": { "resourceType": "Organization", - "id": "1732562153801120000.6e0bbb7a-f0d3-40a7-ad6a-f75659ffdcc8", + "id": "1735608559776136000.22eecccc-1452-4709-85ae-f60863988c29", "identifier": [ { "extension": [ @@ -3984,10 +3984,10 @@ } }, { - "fullUrl": "Organization/1732562153802611000.f400d90a-2443-480f-adc6-1dad3b6fa5bd", + "fullUrl": "Organization/1735608559777153000.6e28d71a-8f58-41a9-a70c-582347708061", "resource": { "resourceType": "Organization", - "id": "1732562153802611000.f400d90a-2443-480f-adc6-1dad3b6fa5bd", + "id": "1735608559777153000.6e28d71a-8f58-41a9-a70c-582347708061", "identifier": [ { "extension": [ @@ -4020,10 +4020,10 @@ } }, { - "fullUrl": "Location/1732562153804615000.37ac84fc-0891-401b-ac46-0d6883b59493", + "fullUrl": "Location/1735608559778847000.5ecd786a-5577-4e11-8095-f440dc18298f", "resource": { "resourceType": "Location", - "id": "1732562153804615000.37ac84fc-0891-401b-ac46-0d6883b59493", + "id": "1735608559778847000.5ecd786a-5577-4e11-8095-f440dc18298f", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -4047,10 +4047,10 @@ } }, { - "fullUrl": "Organization/1732562153806033000.7c00260f-d478-4f7a-bcf5-b4763fc10b76", + "fullUrl": "Organization/1735608559779960000.40f8d477-8055-4614-b104-4acfd8587223", "resource": { "resourceType": "Organization", - "id": "1732562153806033000.7c00260f-d478-4f7a-bcf5-b4763fc10b76", + "id": "1735608559779960000.40f8d477-8055-4614-b104-4acfd8587223", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -4158,7 +4158,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732562153804615000.37ac84fc-0891-401b-ac46-0d6883b59493" + "reference": "Location/1735608559778847000.5ecd786a-5577-4e11-8095-f440dc18298f" } } ], @@ -4177,10 +4177,10 @@ } }, { - "fullUrl": "Location/1732562153807102000.241bf963-35c5-453a-b51f-739b9941c637", + "fullUrl": "Location/1735608559780975000.21fc270b-6ce9-4d30-bf2a-9f872035f2e2", "resource": { "resourceType": "Location", - "id": "1732562153807102000.241bf963-35c5-453a-b51f-739b9941c637", + "id": "1735608559780975000.21fc270b-6ce9-4d30-bf2a-9f872035f2e2", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -4204,10 +4204,10 @@ } }, { - "fullUrl": "Organization/1732562153808295000.5ffd5adf-aaf7-4e2f-bb55-4fb4fe4e71c1", + "fullUrl": "Organization/1735608559781855000.f4ab1caa-b937-42ad-9317-c54dadf0f933", "resource": { "resourceType": "Organization", - "id": "1732562153808295000.5ffd5adf-aaf7-4e2f-bb55-4fb4fe4e71c1", + "id": "1735608559781855000.f4ab1caa-b937-42ad-9317-c54dadf0f933", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -4315,7 +4315,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732562153807102000.241bf963-35c5-453a-b51f-739b9941c637" + "reference": "Location/1735608559780975000.21fc270b-6ce9-4d30-bf2a-9f872035f2e2" } } ], @@ -4334,10 +4334,10 @@ } }, { - "fullUrl": "RelatedPerson/1732562153824586000.9f4b56c7-f6b1-4b61-bec5-63cba9d7865c", + "fullUrl": "RelatedPerson/1735608559791971000.a94fd736-b60a-48f7-94cc-6913180c7a23", "resource": { "resourceType": "RelatedPerson", - "id": "1732562153824586000.9f4b56c7-f6b1-4b61-bec5-63cba9d7865c", + "id": "1735608559791971000.a94fd736-b60a-48f7-94cc-6913180c7a23", "identifier": [ { "value": "maybe" @@ -4346,10 +4346,10 @@ } }, { - "fullUrl": "RelatedPerson/1732562153824978000.5c7cdd4c-1308-45a8-9a6f-f9da853f99a6", + "fullUrl": "RelatedPerson/1735608559792320000.412d9714-8138-4089-bd0b-087022dd79a3", "resource": { "resourceType": "RelatedPerson", - "id": "1732562153824978000.5c7cdd4c-1308-45a8-9a6f-f9da853f99a6", + "id": "1735608559792320000.412d9714-8138-4089-bd0b-087022dd79a3", "identifier": [ { "value": "maybe not" @@ -4358,10 +4358,10 @@ } }, { - "fullUrl": "Organization/1732562153836395000.14028c7c-9147-459e-8c73-0d1a2cac74b2", + "fullUrl": "Organization/1735608559799561000.9dc7154d-7405-4d37-a10e-20091161340c", "resource": { "resourceType": "Organization", - "id": "1732562153836395000.14028c7c-9147-459e-8c73-0d1a2cac74b2", + "id": "1735608559799561000.9dc7154d-7405-4d37-a10e-20091161340c", "identifier": [ { "extension": [ @@ -4394,17 +4394,17 @@ } }, { - "fullUrl": "Provenance/1732562153859480000.b8c60619-c1a9-4f79-b5e6-94f4755ea073", + "fullUrl": "Provenance/1735608559823989000.fde4ea67-5302-4b2b-8fdf-d7a021b8ab46", "resource": { "resourceType": "Provenance", - "id": "1732562153859480000.b8c60619-c1a9-4f79-b5e6-94f4755ea073", + "id": "1735608559823989000.fde4ea67-5302-4b2b-8fdf-d7a021b8ab46", "target": [ { - "reference": "Patient/1732562153843122000.7e823011-2378-4ca6-bc19-0701168a7768" + "reference": "Patient/1735608559806757000.793109f7-debe-44b9-9b9c-ac08615c3f9d" } ], "occurredDateTime": "2024-08-21T11:38:00Z", - "recorded": "2024-11-25T14:15:53Z", + "recorded": "2024-12-30T20:29:19Z", "activity": { "coding": [ { @@ -4424,17 +4424,17 @@ ] }, "who": { - "reference": "Organization/1732562153859199000.ae77c9c5-4e55-4a4c-a9a6-1ce58e201c47" + "reference": "Organization/1735608559823749000.247a3fa4-f912-44fb-ab3f-fc1b5b2205dc" } } ] } }, { - "fullUrl": "Organization/1732562153859199000.ae77c9c5-4e55-4a4c-a9a6-1ce58e201c47", + "fullUrl": "Organization/1735608559823749000.247a3fa4-f912-44fb-ab3f-fc1b5b2205dc", "resource": { "resourceType": "Organization", - "id": "1732562153859199000.ae77c9c5-4e55-4a4c-a9a6-1ce58e201c47", + "id": "1735608559823749000.247a3fa4-f912-44fb-ab3f-fc1b5b2205dc", "identifier": [ { "extension": [ @@ -4467,10 +4467,10 @@ } }, { - "fullUrl": "Encounter/1732562153890198000.0ce58f24-e0de-4d23-aba5-12c6458c21cc", + "fullUrl": "Encounter/1735608559851174000.080c594f-b165-441a-8234-1962ffc87724", "resource": { "resourceType": "Encounter", - "id": "1732562153890198000.0ce58f24-e0de-4d23-aba5-12c6458c21cc", + "id": "1735608559851174000.080c594f-b165-441a-8234-1962ffc87724", "meta": { "security": [ { @@ -4809,13 +4809,13 @@ { "url": "PV2.23", "valueReference": { - "reference": "Organization/1732562153867456000.0263cd4a-57d6-4c91-9cf9-17f499d198e3" + "reference": "Organization/1735608559832220000.b4ff9484-bd69-4bb4-a2a2-752a87e08fff" } }, { "url": "PV2.23", "valueReference": { - "reference": "Organization/1732562153868808000.30365f9b-338c-4d31-9546-c170cc2967f2" + "reference": "Organization/1735608559833415000.0ccb523e-0510-440c-9cca-eed2e3d219e7" } }, { @@ -4946,11 +4946,11 @@ ] }, "subject": { - "reference": "Patient/1732562153843122000.7e823011-2378-4ca6-bc19-0701168a7768" + "reference": "Patient/1735608559806757000.793109f7-debe-44b9-9b9c-ac08615c3f9d" }, "episodeOfCare": [ { - "reference": "EpisodeOfCare/1732562153890759000.b03d8a2b-dcdd-4bee-98f9-78c940f8e4a1" + "reference": "EpisodeOfCare/1735608559851857000.4cda7cd0-0f6a-4f5f-95b9-3e677b908d50" } ], "participant": [ @@ -4967,7 +4967,7 @@ } ], "individual": { - "reference": "Practitioner/1732562153872648000.a25105b3-620e-410a-b2c5-b1110951e5fb" + "reference": "Practitioner/1735608559836941000.732619d4-e947-43d6-ac34-d3bd1ec7adfe" } }, { @@ -4983,7 +4983,7 @@ } ], "individual": { - "reference": "Practitioner/1732562153873388000.6823dcca-4b41-43af-a9c9-31433998e6ad" + "reference": "Practitioner/1735608559837645000.35a11443-8c08-4550-bd5e-7e8382f5a0f0" } }, { @@ -4999,7 +4999,7 @@ } ], "individual": { - "reference": "Practitioner/1732562153874062000.79bc647f-a899-400d-a12f-d2e340080575" + "reference": "Practitioner/1735608559838318000.51cff256-251e-4bfe-a02b-dd5fe94a062b" } }, { @@ -5015,7 +5015,7 @@ } ], "individual": { - "reference": "Practitioner/1732562153877446000.caf5dd3e-21c1-44cc-b7e2-9474eeccfeea" + "reference": "Practitioner/1735608559838952000.9ba121d3-78f1-4071-8f61-8cf1c0d27cfc" } }, { @@ -5031,7 +5031,7 @@ } ], "individual": { - "reference": "Practitioner/1732562153880675000.e4722423-2100-4af4-80b0-a83fddccb7a1" + "reference": "Practitioner/1735608559841634000.6c0aadc6-853a-4919-821c-12659464ae65" } }, { @@ -5047,7 +5047,7 @@ } ], "individual": { - "reference": "Practitioner/1732562153883521000.62e6b6df-73ec-488c-83a6-f8901e437614" + "reference": "Practitioner/1735608559844546000.b3ffb514-e47b-475d-b4ea-0dedc4146de7" } } ], @@ -5180,7 +5180,7 @@ } ], "destination": { - "reference": "Location/1732562153869414000.00b21e8f-4d47-4679-9f12-61611622639a" + "reference": "Location/1735608559833955000.62847331-70e1-4b5c-a431-07a928094129" }, "dischargeDisposition": { "coding": [ @@ -5210,7 +5210,7 @@ } ], "location": { - "reference": "Location/1732562153886729000.06f365ca-2a46-435b-9b63-2a4e4fbd9a02" + "reference": "Location/1735608559847753000.656f26ab-fd14-46f3-8ae3-cad4829c7e99" }, "status": "active" }, @@ -5222,7 +5222,7 @@ } ], "location": { - "reference": "Location/1732562153887852000.fa9d0f80-9e6e-4310-8d3c-ad183318ab17" + "reference": "Location/1735608559848807000.a71aa645-65f8-4d13-a7c4-3dea423ef29d" }, "status": "completed" }, @@ -5238,7 +5238,7 @@ } ], "location": { - "reference": "Location/1732562153888228000.9f180f5a-2482-4474-8bec-04be2e758e3e" + "reference": "Location/1735608559849159000.0a5174af-035a-492d-b7b2-7be7fab59672" }, "status": "active" }, @@ -5250,7 +5250,7 @@ } ], "location": { - "reference": "Location/1732562153888624000.1cb4f13f-1497-4d29-bd56-c8b0ebdad51a" + "reference": "Location/1735608559849519000.d4c7068d-0618-46ec-aa91-89776d7e24c9" }, "status": "planned" }, @@ -5266,7 +5266,7 @@ } ], "location": { - "reference": "Location/1732562153888992000.bbe075b2-fff6-49f4-8196-874a116ef3f1" + "reference": "Location/1735608559849880000.49ae95f0-3205-47a0-8aed-ac6b66c756da" }, "status": "completed" }, @@ -5282,7 +5282,7 @@ } ], "location": { - "reference": "Location/1732562153890079000.fc9d997c-b83c-4059-8bf2-5a654a2c5f0a" + "reference": "Location/1735608559851027000.360affe4-a725-4c99-9ba9-f4f1943e6e9c" }, "status": "planned" } @@ -5290,10 +5290,10 @@ } }, { - "fullUrl": "Location/1732562153866745000.5c951e01-ebdb-42d4-8aa2-dd9a5ab1583b", + "fullUrl": "Location/1735608559831534000.4ff374d6-70c3-4bde-900f-510023c3403c", "resource": { "resourceType": "Location", - "id": "1732562153866745000.5c951e01-ebdb-42d4-8aa2-dd9a5ab1583b", + "id": "1735608559831534000.4ff374d6-70c3-4bde-900f-510023c3403c", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -5317,10 +5317,10 @@ } }, { - "fullUrl": "Organization/1732562153867456000.0263cd4a-57d6-4c91-9cf9-17f499d198e3", + "fullUrl": "Organization/1735608559832220000.b4ff9484-bd69-4bb4-a2a2-752a87e08fff", "resource": { "resourceType": "Organization", - "id": "1732562153867456000.0263cd4a-57d6-4c91-9cf9-17f499d198e3", + "id": "1735608559832220000.b4ff9484-bd69-4bb4-a2a2-752a87e08fff", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -5420,7 +5420,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732562153866745000.5c951e01-ebdb-42d4-8aa2-dd9a5ab1583b" + "reference": "Location/1735608559831534000.4ff374d6-70c3-4bde-900f-510023c3403c" } } ], @@ -5439,10 +5439,10 @@ } }, { - "fullUrl": "Location/1732562153867965000.03d2c1ec-186a-41f7-a1b8-c86f82e9cc04", + "fullUrl": "Location/1735608559832749000.3f70d054-8d5f-485a-a5c5-5233feb14d27", "resource": { "resourceType": "Location", - "id": "1732562153867965000.03d2c1ec-186a-41f7-a1b8-c86f82e9cc04", + "id": "1735608559832749000.3f70d054-8d5f-485a-a5c5-5233feb14d27", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -5466,10 +5466,10 @@ } }, { - "fullUrl": "Organization/1732562153868808000.30365f9b-338c-4d31-9546-c170cc2967f2", + "fullUrl": "Organization/1735608559833415000.0ccb523e-0510-440c-9cca-eed2e3d219e7", "resource": { "resourceType": "Organization", - "id": "1732562153868808000.30365f9b-338c-4d31-9546-c170cc2967f2", + "id": "1735608559833415000.0ccb523e-0510-440c-9cca-eed2e3d219e7", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", @@ -5569,7 +5569,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732562153867965000.03d2c1ec-186a-41f7-a1b8-c86f82e9cc04" + "reference": "Location/1735608559832749000.3f70d054-8d5f-485a-a5c5-5233feb14d27" } } ], @@ -5588,10 +5588,10 @@ } }, { - "fullUrl": "Location/1732562153869414000.00b21e8f-4d47-4679-9f12-61611622639a", + "fullUrl": "Location/1735608559833955000.62847331-70e1-4b5c-a431-07a928094129", "resource": { "resourceType": "Location", - "id": "1732562153869414000.00b21e8f-4d47-4679-9f12-61611622639a", + "id": "1735608559833955000.62847331-70e1-4b5c-a431-07a928094129", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/dld2-effective-date", @@ -5601,10 +5601,10 @@ } }, { - "fullUrl": "Practitioner/1732562153872648000.a25105b3-620e-410a-b2c5-b1110951e5fb", + "fullUrl": "Practitioner/1735608559836941000.732619d4-e947-43d6-ac34-d3bd1ec7adfe", "resource": { "resourceType": "Practitioner", - "id": "1732562153872648000.a25105b3-620e-410a-b2c5-b1110951e5fb", + "id": "1735608559836941000.732619d4-e947-43d6-ac34-d3bd1ec7adfe", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", @@ -5697,10 +5697,10 @@ } }, { - "fullUrl": "Practitioner/1732562153873388000.6823dcca-4b41-43af-a9c9-31433998e6ad", + "fullUrl": "Practitioner/1735608559837645000.35a11443-8c08-4550-bd5e-7e8382f5a0f0", "resource": { "resourceType": "Practitioner", - "id": "1732562153873388000.6823dcca-4b41-43af-a9c9-31433998e6ad", + "id": "1735608559837645000.35a11443-8c08-4550-bd5e-7e8382f5a0f0", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -5720,10 +5720,10 @@ } }, { - "fullUrl": "Practitioner/1732562153874062000.79bc647f-a899-400d-a12f-d2e340080575", + "fullUrl": "Practitioner/1735608559838318000.51cff256-251e-4bfe-a02b-dd5fe94a062b", "resource": { "resourceType": "Practitioner", - "id": "1732562153874062000.79bc647f-a899-400d-a12f-d2e340080575", + "id": "1735608559838318000.51cff256-251e-4bfe-a02b-dd5fe94a062b", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -5743,10 +5743,10 @@ } }, { - "fullUrl": "Practitioner/1732562153877446000.caf5dd3e-21c1-44cc-b7e2-9474eeccfeea", + "fullUrl": "Practitioner/1735608559838952000.9ba121d3-78f1-4071-8f61-8cf1c0d27cfc", "resource": { "resourceType": "Practitioner", - "id": "1732562153877446000.caf5dd3e-21c1-44cc-b7e2-9474eeccfeea", + "id": "1735608559838952000.9ba121d3-78f1-4071-8f61-8cf1c0d27cfc", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -5766,10 +5766,10 @@ } }, { - "fullUrl": "Practitioner/1732562153880675000.e4722423-2100-4af4-80b0-a83fddccb7a1", + "fullUrl": "Practitioner/1735608559841634000.6c0aadc6-853a-4919-821c-12659464ae65", "resource": { "resourceType": "Practitioner", - "id": "1732562153880675000.e4722423-2100-4af4-80b0-a83fddccb7a1", + "id": "1735608559841634000.6c0aadc6-853a-4919-821c-12659464ae65", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", @@ -5977,10 +5977,10 @@ } }, { - "fullUrl": "Practitioner/1732562153883521000.62e6b6df-73ec-488c-83a6-f8901e437614", + "fullUrl": "Practitioner/1735608559844546000.b3ffb514-e47b-475d-b4ea-0dedc4146de7", "resource": { "resourceType": "Practitioner", - "id": "1732562153883521000.62e6b6df-73ec-488c-83a6-f8901e437614", + "id": "1735608559844546000.b3ffb514-e47b-475d-b4ea-0dedc4146de7", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", @@ -6188,10 +6188,10 @@ } }, { - "fullUrl": "Organization/1732562153884161000.15dce04f-dc04-44d7-896a-917af16bf459", + "fullUrl": "Organization/1735608559845244000.66a21d71-4c80-4736-a881-9fbe6c119966", "resource": { "resourceType": "Organization", - "id": "1732562153884161000.15dce04f-dc04-44d7-896a-917af16bf459", + "id": "1735608559845244000.66a21d71-4c80-4736-a881-9fbe6c119966", "identifier": [ { "extension": [ @@ -6224,10 +6224,10 @@ } }, { - "fullUrl": "Location/1732562153885994000.dd0d8694-e7ed-4bb5-af66-e436a73bedfb", + "fullUrl": "Location/1735608559847053000.27b8841c-7a02-4ecf-b063-000f0e5bc99f", "resource": { "resourceType": "Location", - "id": "1732562153885994000.dd0d8694-e7ed-4bb5-af66-e436a73bedfb", + "id": "1735608559847053000.27b8841c-7a02-4ecf-b063-000f0e5bc99f", "identifier": [ { "extension": [ @@ -6272,10 +6272,10 @@ } }, { - "fullUrl": "Location/1732562153886110000.1aaf4e47-811d-440a-968d-61edd700f853", + "fullUrl": "Location/1735608559847169000.14d0b77e-7d0a-4884-9dd7-0452534c1edd", "resource": { "resourceType": "Location", - "id": "1732562153886110000.1aaf4e47-811d-440a-968d-61edd700f853", + "id": "1735608559847169000.14d0b77e-7d0a-4884-9dd7-0452534c1edd", "identifier": [ { "extension": [ @@ -6304,15 +6304,15 @@ ] }, "partOf": { - "reference": "Location/1732562153885994000.dd0d8694-e7ed-4bb5-af66-e436a73bedfb" + "reference": "Location/1735608559847053000.27b8841c-7a02-4ecf-b063-000f0e5bc99f" } } }, { - "fullUrl": "Location/1732562153886214000.24fed3c3-c79c-416e-9d35-6a53a6d8f63a", + "fullUrl": "Location/1735608559847266000.267f8db9-b255-4b74-9e78-adcb21256929", "resource": { "resourceType": "Location", - "id": "1732562153886214000.24fed3c3-c79c-416e-9d35-6a53a6d8f63a", + "id": "1735608559847266000.267f8db9-b255-4b74-9e78-adcb21256929", "identifier": [ { "extension": [ @@ -6341,15 +6341,15 @@ ] }, "partOf": { - "reference": "Location/1732562153886110000.1aaf4e47-811d-440a-968d-61edd700f853" + "reference": "Location/1735608559847169000.14d0b77e-7d0a-4884-9dd7-0452534c1edd" } } }, { - "fullUrl": "Location/1732562153886333000.b20e122f-eb55-4b61-b8e3-291490508eef", + "fullUrl": "Location/1735608559847380000.2c30e269-cd24-4ce9-80c4-010635879c92", "resource": { "resourceType": "Location", - "id": "1732562153886333000.b20e122f-eb55-4b61-b8e3-291490508eef", + "id": "1735608559847380000.2c30e269-cd24-4ce9-80c4-010635879c92", "identifier": [ { "extension": [ @@ -6399,15 +6399,15 @@ ] }, "partOf": { - "reference": "Location/1732562153886214000.24fed3c3-c79c-416e-9d35-6a53a6d8f63a" + "reference": "Location/1735608559847266000.267f8db9-b255-4b74-9e78-adcb21256929" } } }, { - "fullUrl": "Location/1732562153886482000.5bf83c58-d9e7-4790-95d6-d4b30089c79a", + "fullUrl": "Location/1735608559847505000.b88a3ac4-d881-44f6-b88e-ca2195ed7871", "resource": { "resourceType": "Location", - "id": "1732562153886482000.5bf83c58-d9e7-4790-95d6-d4b30089c79a", + "id": "1735608559847505000.b88a3ac4-d881-44f6-b88e-ca2195ed7871", "identifier": [ { "extension": [ @@ -6450,15 +6450,15 @@ ] }, "partOf": { - "reference": "Location/1732562153886333000.b20e122f-eb55-4b61-b8e3-291490508eef" + "reference": "Location/1735608559847380000.2c30e269-cd24-4ce9-80c4-010635879c92" } } }, { - "fullUrl": "Location/1732562153886729000.06f365ca-2a46-435b-9b63-2a4e4fbd9a02", + "fullUrl": "Location/1735608559847753000.656f26ab-fd14-46f3-8ae3-cad4829c7e99", "resource": { "resourceType": "Location", - "id": "1732562153886729000.06f365ca-2a46-435b-9b63-2a4e4fbd9a02", + "id": "1735608559847753000.656f26ab-fd14-46f3-8ae3-cad4829c7e99", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/pl6-person-location-type", @@ -6510,7 +6510,7 @@ ], "value": "Comprehensive", "assigner": { - "reference": "Organization/1732562153884161000.15dce04f-dc04-44d7-896a-917af16bf459" + "reference": "Organization/1735608559845244000.66a21d71-4c80-4736-a881-9fbe6c119966" } } ], @@ -6525,15 +6525,15 @@ ] }, "partOf": { - "reference": "Location/1732562153886482000.5bf83c58-d9e7-4790-95d6-d4b30089c79a" + "reference": "Location/1735608559847505000.b88a3ac4-d881-44f6-b88e-ca2195ed7871" } } }, { - "fullUrl": "Organization/1732562153887283000.8934d259-27ae-4343-b365-6763411d76f7", + "fullUrl": "Organization/1735608559848252000.1cd41b0e-a146-405f-b687-6c56b6a335c1", "resource": { "resourceType": "Organization", - "id": "1732562153887283000.8934d259-27ae-4343-b365-6763411d76f7", + "id": "1735608559848252000.1cd41b0e-a146-405f-b687-6c56b6a335c1", "identifier": [ { "extension": [ @@ -6566,10 +6566,10 @@ } }, { - "fullUrl": "Location/1732562153887852000.fa9d0f80-9e6e-4310-8d3c-ad183318ab17", + "fullUrl": "Location/1735608559848807000.a71aa645-65f8-4d13-a7c4-3dea423ef29d", "resource": { "resourceType": "Location", - "id": "1732562153887852000.fa9d0f80-9e6e-4310-8d3c-ad183318ab17", + "id": "1735608559848807000.a71aa645-65f8-4d13-a7c4-3dea423ef29d", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/pl6-person-location-type", @@ -6629,7 +6629,7 @@ ], "value": "Entity ID", "assigner": { - "reference": "Organization/1732562153887283000.8934d259-27ae-4343-b365-6763411d76f7" + "reference": "Organization/1735608559848252000.1cd41b0e-a146-405f-b687-6c56b6a335c1" } } ], @@ -6647,37 +6647,37 @@ } }, { - "fullUrl": "Location/1732562153888228000.9f180f5a-2482-4474-8bec-04be2e758e3e", + "fullUrl": "Location/1735608559849159000.0a5174af-035a-492d-b7b2-7be7fab59672", "resource": { "resourceType": "Location", - "id": "1732562153888228000.9f180f5a-2482-4474-8bec-04be2e758e3e", + "id": "1735608559849159000.0a5174af-035a-492d-b7b2-7be7fab59672", "description": "Its Temporary", "mode": "instance" } }, { - "fullUrl": "Location/1732562153888624000.1cb4f13f-1497-4d29-bd56-c8b0ebdad51a", + "fullUrl": "Location/1735608559849519000.d4c7068d-0618-46ec-aa91-89776d7e24c9", "resource": { "resourceType": "Location", - "id": "1732562153888624000.1cb4f13f-1497-4d29-bd56-c8b0ebdad51a", + "id": "1735608559849519000.d4c7068d-0618-46ec-aa91-89776d7e24c9", "description": "Pending Location", "mode": "instance" } }, { - "fullUrl": "Location/1732562153888992000.bbe075b2-fff6-49f4-8196-874a116ef3f1", + "fullUrl": "Location/1735608559849880000.49ae95f0-3205-47a0-8aed-ac6b66c756da", "resource": { "resourceType": "Location", - "id": "1732562153888992000.bbe075b2-fff6-49f4-8196-874a116ef3f1", + "id": "1735608559849880000.49ae95f0-3205-47a0-8aed-ac6b66c756da", "description": "Prior Location", "mode": "instance" } }, { - "fullUrl": "Organization/1732562153889515000.6c01de3a-c2d3-4d5a-82bb-c2e46f28851d", + "fullUrl": "Organization/1735608559850446000.5e0f27b1-6b49-45a7-a406-d492f5609dcd", "resource": { "resourceType": "Organization", - "id": "1732562153889515000.6c01de3a-c2d3-4d5a-82bb-c2e46f28851d", + "id": "1735608559850446000.5e0f27b1-6b49-45a7-a406-d492f5609dcd", "identifier": [ { "extension": [ @@ -6710,10 +6710,10 @@ } }, { - "fullUrl": "Location/1732562153890079000.fc9d997c-b83c-4059-8bf2-5a654a2c5f0a", + "fullUrl": "Location/1735608559851027000.360affe4-a725-4c99-9ba9-f4f1943e6e9c", "resource": { "resourceType": "Location", - "id": "1732562153890079000.fc9d997c-b83c-4059-8bf2-5a654a2c5f0a", + "id": "1735608559851027000.360affe4-a725-4c99-9ba9-f4f1943e6e9c", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/pl6-person-location-type", @@ -6773,7 +6773,7 @@ ], "value": "Entity ID", "assigner": { - "reference": "Organization/1732562153889515000.6c01de3a-c2d3-4d5a-82bb-c2e46f28851d" + "reference": "Organization/1735608559850446000.5e0f27b1-6b49-45a7-a406-d492f5609dcd" } } ], @@ -6791,10 +6791,10 @@ } }, { - "fullUrl": "EpisodeOfCare/1732562153890759000.b03d8a2b-dcdd-4bee-98f9-78c940f8e4a1", + "fullUrl": "EpisodeOfCare/1735608559851857000.4cda7cd0-0f6a-4f5f-95b9-3e677b908d50", "resource": { "resourceType": "EpisodeOfCare", - "id": "1732562153890759000.b03d8a2b-dcdd-4bee-98f9-78c940f8e4a1", + "id": "1735608559851857000.4cda7cd0-0f6a-4f5f-95b9-3e677b908d50", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", @@ -6813,10 +6813,1168 @@ } }, { - "fullUrl": "Observation/1732562154193977000.c207046a-6adc-4826-b659-18bb2d10b434", + "fullUrl": "Coverage/1735608560153685000.3adce21a-6ea7-4d85-b51b-e42c6761bba2", + "resource": { + "resourceType": "Coverage", + "id": "1735608560153685000.3adce21a-6ea7-4d85-b51b-e42c6761bba2", + "extension": [ + { + "url": "http://hl7.org/fhir/R5/StructureDefinition/extension-subscriberId", + "valueIdentifier": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier", + "extension": [ + { + "url": "CX.5", + "valueString": "SN" + } + ] + } + ], + "type": { + "coding": [ + { + "code": "SN" + } + ] + }, + "value": "19" + } + }, + { + "url": "http://hl7.org/fhir/R5/StructureDefinition/extension-subscriberId", + "valueIdentifier": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier", + "extension": [ + { + "url": "CX.5", + "valueString": "PN" + } + ] + } + ], + "type": { + "coding": [ + { + "code": "PN" + } + ] + }, + "value": "555221234" + } + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/in1-coverage", + "extension": [ + { + "url": "IN1.2", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "EPO" + } + ] + } + }, + { + "url": "IN1.3", + "valueIdentifier": { + "value": "80" + } + }, + { + "url": "IN1.14", + "extension": [ + { + "url": "AUI.1", + "valueString": "1701" + }, + { + "url": "AUI.2", + "valueString": "19700101" + }, + { + "url": "AUI.3", + "valueString": "DR TEETH AND THE ELECTRIC MAYHEM" + } + ] + }, + { + "url": "IN1.16", + "valueHumanName": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name", + "extension": [ + { + "url": "XPN.2", + "valueString": "HL7" + }, + { + "url": "XPN.3", + "valueString": "MI" + }, + { + "url": "XPN.4", + "valueString": "V" + }, + { + "url": "XPN.6", + "valueString": "BCN" + }, + { + "url": "XPN.7", + "valueString": "L" + }, + { + "url": "XPN.8", + "valueString": "Naaame" + }, + { + "url": "XPN.9", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL7444" + } + ], + "code": "C", + "display": "Name Context" + } + ] + } + } + ] + } + ], + "use": "official", + "family": "Mega", + "_family": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix", + "valueString": "Mr" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/humanname-own-name", + "valueString": "MrOwnMega" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix", + "valueString": "Mrs" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/humanname-partner-name", + "valueString": "MrsOwn" + } + ] + }, + "given": [ + "HL7", + "MI" + ], + "prefix": [ + "DR" + ], + "suffix": [ + "V", + "BCN" + ] + } + }, + { + "url": "IN1.17", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "SEL" + } + ] + } + }, + { + "url": "IN1.18", + "valueDateTime": "1970-07-22", + "_valueDateTime": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time", + "valueString": "19700722" + } + ] + } + }, + { + "url": "IN1.19", + "valueAddress": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xad-address", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/sad-address-line", + "extension": [ + { + "url": "SAD.1", + "valueString": "13324 WHITE CEMETERY RD" + } + ] + }, + { + "url": "XAD.2", + "valueString": "\"\"" + } + ] + } + ], + "line": [ + "13324 WHITE CEMETERY RD", + "\"\"" + ], + "city": "HANNIBAL", + "state": "NY", + "postalCode": "130740000", + "country": "\"\"" + } + }, + { + "url": "IN1.20", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "Y" + } + ] + } + }, + { + "url": "IN1.21", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "IN" + } + ] + } + }, + { + "url": "IN1.22", + "valueString": "1" + }, + { + "url": "IN1.23", + "valueString": "Y" + }, + { + "url": "IN1.24", + "valueString": "20241223" + }, + { + "url": "IN1.4", + "valueReference": { + "reference": "Organization/1735608560143647000.517d591e-5d83-4a53-8546-4937251e0d67" + } + }, + { + "url": "IN1.25", + "valueString": "Y" + }, + { + "url": "IN1.26", + "valueString": "20241224" + }, + { + "url": "IN1.27", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "N" + } + ] + } + }, + { + "url": "IN1.28", + "valueString": "PACCERT" + }, + { + "url": "IN1.29", + "valueDateTime": "2024-12-23", + "_valueDateTime": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time", + "valueString": "20241223" + } + ] + } + }, + { + "url": "IN1.30", + "valueReference": { + "reference": "Practitioner/1735608560145267000.972435ef-0e0a-430f-87e8-8d990a23f60f" + } + }, + { + "url": "IN1.31", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "S" + } + ] + } + }, + { + "url": "IN1.32", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "OK" + } + ] + } + }, + { + "url": "IN1.33", + "valueString": "176" + }, + { + "url": "IN1.34", + "valueString": "2" + }, + { + "url": "IN1.5", + "valueAddress": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xad-address", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/sad-address-line", + "extension": [ + { + "url": "SAD.1", + "valueString": "PO BOX 981114" + } + ] + }, + { + "url": "XAD.2", + "valueString": "\"\"" + } + ] + } + ], + "line": [ + "PO BOX 981114", + "\"\"" + ], + "city": "EL PASO", + "state": "TX", + "postalCode": "79998", + "country": "\"\"" + } + }, + { + "url": "IN1.35", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "1234" + } + ] + } + }, + { + "url": "IN1.36", + "valueString": "1002424" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/composite-price", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "IN1.37" + }, + { + "url": "CP.1.1", + "valueDecimal": 11.11 + }, + { + "url": "CP.1.2", + "valueString": "USD" + }, + { + "url": "CP.2", + "valueString": "P1" + }, + { + "url": "CP.3", + "valueDecimal": 1.001 + }, + { + "url": "CP.4", + "valueDecimal": -1 + }, + { + "url": "CP.5", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL79999" + } + ], + "code": "R", + "display": "Range Units" + } + ] + } + }, + { + "url": "CP.6", + "valueString": "F" + } + ] + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/composite-price", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "IN1.38" + }, + { + "url": "CP.1.1", + "valueDecimal": 22.22 + }, + { + "url": "CP.1.2", + "valueString": "RUB" + }, + { + "url": "CP.2", + "valueString": "P2" + }, + { + "url": "CP.3", + "valueDecimal": 2.002 + }, + { + "url": "CP.4", + "valueDecimal": -2 + }, + { + "url": "CP.5", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL79999" + } + ], + "code": "RR", + "display": "Russian Rubble" + } + ] + } + }, + { + "url": "CP.6", + "valueString": "F" + } + ] + }, + { + "url": "IN1.39", + "valueString": "10" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/composite-price", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "IN1.40" + }, + { + "url": "CP.1.1", + "valueDecimal": 33.33 + }, + { + "url": "CP.1.2", + "valueString": "MXN" + }, + { + "url": "CP.2", + "valueString": "P3" + }, + { + "url": "CP.3", + "valueDecimal": 3.003 + }, + { + "url": "CP.4", + "valueDecimal": -3 + }, + { + "url": "CP.5", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL79999" + } + ], + "code": "OR", + "display": "Oven Range" + } + ] + } + }, + { + "url": "CP.6", + "valueString": "P" + } + ] + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/composite-price", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "IN1.41" + }, + { + "url": "CP.1.1", + "valueDecimal": 44.44 + }, + { + "url": "CP.1.2", + "valueString": "CAD" + }, + { + "url": "CP.2", + "valueString": "P4" + }, + { + "url": "CP.3", + "valueDecimal": 4.004 + }, + { + "url": "CP.4", + "valueDecimal": -4 + }, + { + "url": "CP.5", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL79999" + } + ], + "code": "HHR", + "display": "Home Home Range" + } + ] + } + }, + { + "url": "CP.6", + "valueString": "P" + } + ] + }, + { + "url": "IN1.42", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "1" + } + ] + } + }, + { + "url": "IN1.43", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "F" + } + ] + } + }, + { + "url": "IN1.44", + "valueAddress": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xad-address", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/sad-address-line", + "extension": [ + { + "url": "SAD.1", + "valueString": "45 WORKING LANE" + } + ] + } + ] + } + ], + "line": [ + "45 WORKING LANE" + ], + "city": "LIVERPOOL", + "state": "NY", + "postalCode": "13088" + } + }, + { + "url": "IN1.6", + "valueHumanName": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name", + "extension": [ + { + "url": "XPN.2", + "valueString": "John" + } + ] + } + ], + "family": "Jones", + "given": [ + "John" + ], + "prefix": [ + "Mr." + ] + } + }, + { + "url": "IN1.45", + "valueString": "Y" + }, + { + "url": "IN1.46", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "1002423" + } + ] + } + }, + { + "url": "IN1.47", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "B" + } + ] + } + }, + { + "url": "IN1.48", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "0" + } + ] + } + }, + { + "url": "IN1.49", + "valueIdentifier": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier", + "extension": [ + { + "url": "CX.5", + "valueString": "PN" + } + ] + } + ], + "type": { + "coding": [ + { + "code": "PN" + } + ] + }, + "value": "555221234" + } + }, + { + "url": "IN1.50", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "S" + } + ] + } + }, + { + "url": "IN1.51", + "valueString": "20241222" + }, + { + "url": "IN1.52", + "valueString": "GRACE HOSPITAL" + }, + { + "url": "IN1.53", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "2" + } + ] + } + }, + { + "url": "IN1.7", + "valueContactPoint": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point", + "extension": [ + { + "url": "XTN.1", + "valueString": "(850)555-0809" + } + ] + } + ], + "_system": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "value": "(850)555-0809" + } + }, + { + "url": "IN1.8", + "valueString": "1500004000001" + }, + { + "url": "IN1.9", + "valueReference": { + "reference": "Organization/1735608560151916000.121fc79e-e338-4966-a174-7fc2d64476b2" + } + }, + { + "url": "IN1.10", + "valueIdentifier": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier", + "extension": [ + { + "url": "CX.5", + "valueString": "SN" + } + ] + } + ], + "type": { + "coding": [ + { + "code": "SN" + } + ] + }, + "value": "19" + } + }, + { + "url": "IN1.11", + "valueReference": { + "reference": "Organization/1735608560152640000.7d54aefc-be54-4c91-b48f-9034788370fa" + } + } + ] + } + ], + "type": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "2" + } + ] + }, + "policyHolder": { + "reference": "Organization/1735608560154650000.08b78981-dca5-4951-ac83-895294db4f8e" + }, + "subscriber": { + "reference": "Patient/1735608559806757000.793109f7-debe-44b9-9b9c-ac08615c3f9d" + }, + "beneficiary": { + "reference": "Patient/1735608559806757000.793109f7-debe-44b9-9b9c-ac08615c3f9d" + }, + "relationship": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "SEL" + } + ] + }, + "period": { + "start": "2024-07-01", + "_start": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date", + "valueString": "20240701" + } + ] + }, + "end": "2025-06-30", + "_end": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date", + "valueString": "20250630" + } + ] + } + }, + "payor": [ + { + "reference": "Organization/1735608560153498000.7fa2cf1d-a40c-4990-a3bd-1563b43164b6" + } + ] + } + }, + { + "fullUrl": "Organization/1735608560143647000.517d591e-5d83-4a53-8546-4937251e0d67", + "resource": { + "resourceType": "Organization", + "id": "1735608560143647000.517d591e-5d83-4a53-8546-4937251e0d67", + "name": "AETNA US HEALTHCARE" + } + }, + { + "fullUrl": "Practitioner/1735608560145267000.972435ef-0e0a-430f-87e8-8d990a23f60f", + "resource": { + "resourceType": "Practitioner", + "id": "1735608560145267000.972435ef-0e0a-430f-87e8-8d990a23f60f", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", + "valueString": "NPI" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id", + "valueString": "2.16.840.1.114222.4.1.144" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", + "valueCode": "ISO" + } + ] + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", + "extension": [ + { + "url": "XCN.3", + "valueString": "Christopher" + }, + { + "url": "XCN.4", + "valueString": "Beau" + }, + { + "url": "XCN.7", + "valueString": "MD" + }, + { + "url": "XCN.10", + "valueString": "L" + } + ] + } + ], + "identifier": [ + { + "type": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id", + "valueBoolean": true + } + ], + "code": "NPI" + } + ] + }, + "system": "NPI", + "value": "1871759365" + } + ], + "name": [ + { + "use": "official", + "family": "Willison", + "given": [ + "Christopher", + "Beau" + ], + "suffix": [ + "MD" + ] + } + ] + } + }, + { + "fullUrl": "Organization/1735608560151916000.121fc79e-e338-4966-a174-7fc2d64476b2", + "resource": { + "resourceType": "Organization", + "id": "1735608560151916000.121fc79e-e338-4966-a174-7fc2d64476b2", + "name": "AETNA SERVICES INC" + } + }, + { + "fullUrl": "Organization/1735608560152640000.7d54aefc-be54-4c91-b48f-9034788370fa", + "resource": { + "resourceType": "Organization", + "id": "1735608560152640000.7d54aefc-be54-4c91-b48f-9034788370fa", + "name": "AETNA US HEALTHCARE" + } + }, + { + "fullUrl": "Organization/1735608560153498000.7fa2cf1d-a40c-4990-a3bd-1563b43164b6", + "resource": { + "resourceType": "Organization", + "id": "1735608560153498000.7fa2cf1d-a40c-4990-a3bd-1563b43164b6", + "name": "AETNA US HEALTHCARE", + "address": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xad-address", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/sad-address-line", + "extension": [ + { + "url": "SAD.1", + "valueString": "PO BOX 981114" + } + ] + }, + { + "url": "XAD.2", + "valueString": "\"\"" + } + ] + } + ], + "line": [ + "PO BOX 981114", + "\"\"" + ], + "city": "EL PASO", + "state": "TX", + "postalCode": "79998", + "country": "\"\"" + } + ] + } + }, + { + "fullUrl": "Organization/1735608560154650000.08b78981-dca5-4951-ac83-895294db4f8e", + "resource": { + "resourceType": "Organization", + "id": "1735608560154650000.08b78981-dca5-4951-ac83-895294db4f8e", + "identifier": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier", + "extension": [ + { + "url": "CX.5", + "valueString": "SN" + } + ] + } + ], + "type": { + "coding": [ + { + "code": "SN" + } + ] + }, + "value": "19" + } + ], + "name": "AETNA US HEALTHCARE" + } + }, + { + "fullUrl": "Observation/1735608560162579000.507f6def-b2d6-474e-924d-fbc1b7b3cb7e", "resource": { "resourceType": "Observation", - "id": "1732562154193977000.c207046a-6adc-4826-b659-18bb2d10b434", + "id": "1735608560162579000.507f6def-b2d6-474e-924d-fbc1b7b3cb7e", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id", @@ -6997,7 +8155,7 @@ { "url": "OBX.18", "valueReference": { - "reference": "Device/1732562154192288000.a666d253-d5b4-4634-a473-0e37625964d8" + "reference": "Device/1735608560160809000.a68dd02f-facd-42e3-97df-90fbb4d856fc" } }, { @@ -7068,10 +8226,10 @@ ] }, "subject": { - "reference": "Patient/1732562153843122000.7e823011-2378-4ca6-bc19-0701168a7768" + "reference": "Patient/1735608559806757000.793109f7-debe-44b9-9b9c-ac08615c3f9d" }, "encounter": { - "reference": "Encounter/1732562153890198000.0ce58f24-e0de-4d23-aba5-12c6458c21cc" + "reference": "Encounter/1735608559851174000.080c594f-b165-441a-8234-1962ffc87724" }, "effectiveDateTime": "2023-01-01T00:00:00Z", "_effectiveDateTime": { @@ -7084,13 +8242,13 @@ }, "performer": [ { - "reference": "Organization/1732562154194496000.9c180e64-0df7-4cbf-8a7b-446f5c5286dc" + "reference": "Organization/1735608560163367000.f3adf686-251b-4ce5-aa7a-5e61c6ccb68f" }, { - "reference": "PractitionerRole/1732562154194767000.4a6d8b98-95f8-40c6-b7e1-22688e9eb315" + "reference": "PractitionerRole/1735608560163797000.b8d51d91-22d3-438a-8686-c50ed2230672" }, { - "reference": "PractitionerRole/1732562154195572000.df713156-78d5-4435-b94a-b76d94c0cb16" + "reference": "PractitionerRole/1735608560164891000.1f7a8730-2e32-4122-a055-82bb32ea4d2a" } ], "valueCodeableConcept": { @@ -7192,7 +8350,7 @@ } ], "authorReference": { - "reference": "Practitioner/1732562154198115000.42384033-f45b-4520-8598-b6882c278cfc" + "reference": "Practitioner/1735608560168120000.00a1b2ae-de0b-4dfb-ada5-6fa9fd89890a" }, "time": "2023-02-01", "_time": { @@ -7239,7 +8397,7 @@ ] }, "device": { - "reference": "Device/1732562154199483000.abef59ba-5c72-463a-9d07-e4d097fe64f6" + "reference": "Device/1735608560176689000.bef0c410-e8a6-4408-a75b-97331d06e5be" }, "referenceRange": [ { @@ -7249,10 +8407,10 @@ } }, { - "fullUrl": "Device/1732562154192288000.a666d253-d5b4-4634-a473-0e37625964d8", + "fullUrl": "Device/1735608560160809000.a68dd02f-facd-42e3-97df-90fbb4d856fc", "resource": { "resourceType": "Device", - "id": "1732562154192288000.a666d253-d5b4-4634-a473-0e37625964d8", + "id": "1735608560160809000.a68dd02f-facd-42e3-97df-90fbb4d856fc", "identifier": [ { "extension": [ @@ -7280,10 +8438,10 @@ } }, { - "fullUrl": "Organization/1732562154194496000.9c180e64-0df7-4cbf-8a7b-446f5c5286dc", + "fullUrl": "Organization/1735608560163367000.f3adf686-251b-4ce5-aa7a-5e61c6ccb68f", "resource": { "resourceType": "Organization", - "id": "1732562154194496000.9c180e64-0df7-4cbf-8a7b-446f5c5286dc", + "id": "1735608560163367000.f3adf686-251b-4ce5-aa7a-5e61c6ccb68f", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-organization", @@ -7321,10 +8479,10 @@ } }, { - "fullUrl": "Practitioner/1732562154195315000.af10b0d9-880d-45aa-af24-7789dba68697", + "fullUrl": "Practitioner/1735608560164617000.1e44176b-621f-4c5a-bb35-3d5bef4d7dcf", "resource": { "resourceType": "Practitioner", - "id": "1732562154195315000.af10b0d9-880d-45aa-af24-7789dba68697", + "id": "1735608560164617000.1e44176b-621f-4c5a-bb35-3d5bef4d7dcf", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -7352,12 +8510,12 @@ } }, { - "fullUrl": "PractitionerRole/1732562154194767000.4a6d8b98-95f8-40c6-b7e1-22688e9eb315", + "fullUrl": "PractitionerRole/1735608560163797000.b8d51d91-22d3-438a-8686-c50ed2230672", "resource": { "resourceType": "PractitionerRole", - "id": "1732562154194767000.4a6d8b98-95f8-40c6-b7e1-22688e9eb315", + "id": "1735608560163797000.b8d51d91-22d3-438a-8686-c50ed2230672", "practitioner": { - "reference": "Practitioner/1732562154195315000.af10b0d9-880d-45aa-af24-7789dba68697" + "reference": "Practitioner/1735608560164617000.1e44176b-621f-4c5a-bb35-3d5bef4d7dcf" }, "code": [ { @@ -7372,10 +8530,10 @@ } }, { - "fullUrl": "Practitioner/1732562154196091000.e18e2775-2053-4d55-ad5d-c4e8adac70aa", + "fullUrl": "Practitioner/1735608560165515000.6878c31f-186c-418e-9143-93e97056d1b1", "resource": { "resourceType": "Practitioner", - "id": "1732562154196091000.e18e2775-2053-4d55-ad5d-c4e8adac70aa", + "id": "1735608560165515000.6878c31f-186c-418e-9143-93e97056d1b1", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -7403,10 +8561,10 @@ } }, { - "fullUrl": "Organization/1732562154196987000.67057813-14c3-4b1a-ad1c-0eeb24f9465e", + "fullUrl": "Organization/1735608560166576000.c90d2789-4c80-4358-bf2d-c93f4c82cd96", "resource": { "resourceType": "Organization", - "id": "1732562154196987000.67057813-14c3-4b1a-ad1c-0eeb24f9465e", + "id": "1735608560166576000.c90d2789-4c80-4358-bf2d-c93f4c82cd96", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", @@ -7480,15 +8638,15 @@ } }, { - "fullUrl": "PractitionerRole/1732562154195572000.df713156-78d5-4435-b94a-b76d94c0cb16", + "fullUrl": "PractitionerRole/1735608560164891000.1f7a8730-2e32-4122-a055-82bb32ea4d2a", "resource": { "resourceType": "PractitionerRole", - "id": "1732562154195572000.df713156-78d5-4435-b94a-b76d94c0cb16", + "id": "1735608560164891000.1f7a8730-2e32-4122-a055-82bb32ea4d2a", "practitioner": { - "reference": "Practitioner/1732562154196091000.e18e2775-2053-4d55-ad5d-c4e8adac70aa" + "reference": "Practitioner/1735608560165515000.6878c31f-186c-418e-9143-93e97056d1b1" }, "organization": { - "reference": "Organization/1732562154196987000.67057813-14c3-4b1a-ad1c-0eeb24f9465e" + "reference": "Organization/1735608560166576000.c90d2789-4c80-4358-bf2d-c93f4c82cd96" }, "code": [ { @@ -7503,10 +8661,10 @@ } }, { - "fullUrl": "Practitioner/1732562154198115000.42384033-f45b-4520-8598-b6882c278cfc", + "fullUrl": "Practitioner/1735608560168120000.00a1b2ae-de0b-4dfb-ada5-6fa9fd89890a", "resource": { "resourceType": "Practitioner", - "id": "1732562154198115000.42384033-f45b-4520-8598-b6882c278cfc", + "id": "1735608560168120000.00a1b2ae-de0b-4dfb-ada5-6fa9fd89890a", "identifier": [ { "value": "Bob R.N.A." @@ -7515,10 +8673,10 @@ } }, { - "fullUrl": "Device/1732562154199483000.abef59ba-5c72-463a-9d07-e4d097fe64f6", + "fullUrl": "Device/1735608560176689000.bef0c410-e8a6-4408-a75b-97331d06e5be", "resource": { "resourceType": "Device", - "id": "1732562154199483000.abef59ba-5c72-463a-9d07-e4d097fe64f6", + "id": "1735608560176689000.bef0c410-e8a6-4408-a75b-97331d06e5be", "identifier": [ { "extension": [ @@ -7546,10 +8704,10 @@ } }, { - "fullUrl": "Observation/1732562154202682000.aa635033-0073-450d-aaf4-6f85d81b8307", + "fullUrl": "Observation/1735608560180965000.45507c43-f05d-4f66-a9e3-4d192afe3141", "resource": { "resourceType": "Observation", - "id": "1732562154202682000.aa635033-0073-450d-aaf4-6f85d81b8307", + "id": "1735608560180965000.45507c43-f05d-4f66-a9e3-4d192afe3141", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id", @@ -7730,7 +8888,7 @@ { "url": "OBX.18", "valueReference": { - "reference": "Device/1732562154201604000.e939efa7-0325-429a-b3ec-d84a94a1e490" + "reference": "Device/1735608560179543000.0942f964-f6b5-45a6-9e0e-03ca7e5089fa" } }, { @@ -7801,10 +8959,10 @@ ] }, "subject": { - "reference": "Patient/1732562153843122000.7e823011-2378-4ca6-bc19-0701168a7768" + "reference": "Patient/1735608559806757000.793109f7-debe-44b9-9b9c-ac08615c3f9d" }, "encounter": { - "reference": "Encounter/1732562153890198000.0ce58f24-e0de-4d23-aba5-12c6458c21cc" + "reference": "Encounter/1735608559851174000.080c594f-b165-441a-8234-1962ffc87724" }, "effectiveDateTime": "2023-01-01T00:00:00Z", "_effectiveDateTime": { @@ -7817,13 +8975,13 @@ }, "performer": [ { - "reference": "Organization/1732562154203229000.2a00bea0-1be7-4987-9e2c-06e86ec60e7a" + "reference": "Organization/1735608560181586000.45d64c04-6fc4-445d-a1ee-7abb79f1f82e" }, { - "reference": "PractitionerRole/1732562154203425000.0864c4c8-5ac1-4a08-997a-29be2c85e66c" + "reference": "PractitionerRole/1735608560181798000.01239cbd-ef7c-47b3-a9f0-79095050e830" }, { - "reference": "PractitionerRole/1732562154204311000.aaeaf454-854a-4de3-b3ea-e2e1b9a60be1" + "reference": "PractitionerRole/1735608560182636000.a352eff0-16c4-4ad8-98d6-cd39b5b8b4b1" } ], "valueCodeableConcept": { @@ -7925,7 +9083,7 @@ } ], "authorReference": { - "reference": "Practitioner/1732562154207156000.325c915a-9ada-47bd-8a09-92c6918e3b23" + "reference": "Practitioner/1735608560185685000.e0fde23f-ab36-4757-9515-bb17bf3b4fa5" }, "time": "2023-02-01", "_time": { @@ -7972,7 +9130,7 @@ ] }, "device": { - "reference": "Device/1732562154208233000.90243bc5-b199-4bd4-9b22-3c0b1f7a9eb7" + "reference": "Device/1735608560187345000.547bbfe2-2115-405e-9c0c-68cde30c646e" }, "referenceRange": [ { @@ -7982,10 +9140,10 @@ } }, { - "fullUrl": "Device/1732562154201604000.e939efa7-0325-429a-b3ec-d84a94a1e490", + "fullUrl": "Device/1735608560179543000.0942f964-f6b5-45a6-9e0e-03ca7e5089fa", "resource": { "resourceType": "Device", - "id": "1732562154201604000.e939efa7-0325-429a-b3ec-d84a94a1e490", + "id": "1735608560179543000.0942f964-f6b5-45a6-9e0e-03ca7e5089fa", "identifier": [ { "extension": [ @@ -8013,10 +9171,10 @@ } }, { - "fullUrl": "Organization/1732562154203229000.2a00bea0-1be7-4987-9e2c-06e86ec60e7a", + "fullUrl": "Organization/1735608560181586000.45d64c04-6fc4-445d-a1ee-7abb79f1f82e", "resource": { "resourceType": "Organization", - "id": "1732562154203229000.2a00bea0-1be7-4987-9e2c-06e86ec60e7a", + "id": "1735608560181586000.45d64c04-6fc4-445d-a1ee-7abb79f1f82e", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-organization", @@ -8054,10 +9212,10 @@ } }, { - "fullUrl": "Practitioner/1732562154203893000.719f915c-98f9-4236-b741-8c900e8bf644", + "fullUrl": "Practitioner/1735608560182392000.c19f55f5-30e6-4f08-8bfe-0c748f0f7c38", "resource": { "resourceType": "Practitioner", - "id": "1732562154203893000.719f915c-98f9-4236-b741-8c900e8bf644", + "id": "1735608560182392000.c19f55f5-30e6-4f08-8bfe-0c748f0f7c38", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -8085,12 +9243,12 @@ } }, { - "fullUrl": "PractitionerRole/1732562154203425000.0864c4c8-5ac1-4a08-997a-29be2c85e66c", + "fullUrl": "PractitionerRole/1735608560181798000.01239cbd-ef7c-47b3-a9f0-79095050e830", "resource": { "resourceType": "PractitionerRole", - "id": "1732562154203425000.0864c4c8-5ac1-4a08-997a-29be2c85e66c", + "id": "1735608560181798000.01239cbd-ef7c-47b3-a9f0-79095050e830", "practitioner": { - "reference": "Practitioner/1732562154203893000.719f915c-98f9-4236-b741-8c900e8bf644" + "reference": "Practitioner/1735608560182392000.c19f55f5-30e6-4f08-8bfe-0c748f0f7c38" }, "code": [ { @@ -8105,10 +9263,10 @@ } }, { - "fullUrl": "Practitioner/1732562154204899000.263c7827-82b5-46fe-a4f7-c8ca077f311b", + "fullUrl": "Practitioner/1735608560183250000.7ca3a8ad-6770-488a-a686-874a383c8c29", "resource": { "resourceType": "Practitioner", - "id": "1732562154204899000.263c7827-82b5-46fe-a4f7-c8ca077f311b", + "id": "1735608560183250000.7ca3a8ad-6770-488a-a686-874a383c8c29", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -8136,10 +9294,10 @@ } }, { - "fullUrl": "Organization/1732562154205866000.34048fa3-015a-49c9-b1d3-88e9f64ed289", + "fullUrl": "Organization/1735608560184295000.52c8eeec-cf8c-4024-a4f5-0f48d33990be", "resource": { "resourceType": "Organization", - "id": "1732562154205866000.34048fa3-015a-49c9-b1d3-88e9f64ed289", + "id": "1735608560184295000.52c8eeec-cf8c-4024-a4f5-0f48d33990be", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", @@ -8213,15 +9371,15 @@ } }, { - "fullUrl": "PractitionerRole/1732562154204311000.aaeaf454-854a-4de3-b3ea-e2e1b9a60be1", + "fullUrl": "PractitionerRole/1735608560182636000.a352eff0-16c4-4ad8-98d6-cd39b5b8b4b1", "resource": { "resourceType": "PractitionerRole", - "id": "1732562154204311000.aaeaf454-854a-4de3-b3ea-e2e1b9a60be1", + "id": "1735608560182636000.a352eff0-16c4-4ad8-98d6-cd39b5b8b4b1", "practitioner": { - "reference": "Practitioner/1732562154204899000.263c7827-82b5-46fe-a4f7-c8ca077f311b" + "reference": "Practitioner/1735608560183250000.7ca3a8ad-6770-488a-a686-874a383c8c29" }, "organization": { - "reference": "Organization/1732562154205866000.34048fa3-015a-49c9-b1d3-88e9f64ed289" + "reference": "Organization/1735608560184295000.52c8eeec-cf8c-4024-a4f5-0f48d33990be" }, "code": [ { @@ -8236,10 +9394,10 @@ } }, { - "fullUrl": "Practitioner/1732562154207156000.325c915a-9ada-47bd-8a09-92c6918e3b23", + "fullUrl": "Practitioner/1735608560185685000.e0fde23f-ab36-4757-9515-bb17bf3b4fa5", "resource": { "resourceType": "Practitioner", - "id": "1732562154207156000.325c915a-9ada-47bd-8a09-92c6918e3b23", + "id": "1735608560185685000.e0fde23f-ab36-4757-9515-bb17bf3b4fa5", "identifier": [ { "value": "Bob R.N.A." @@ -8248,10 +9406,10 @@ } }, { - "fullUrl": "Device/1732562154208233000.90243bc5-b199-4bd4-9b22-3c0b1f7a9eb7", + "fullUrl": "Device/1735608560187345000.547bbfe2-2115-405e-9c0c-68cde30c646e", "resource": { "resourceType": "Device", - "id": "1732562154208233000.90243bc5-b199-4bd4-9b22-3c0b1f7a9eb7", + "id": "1735608560187345000.547bbfe2-2115-405e-9c0c-68cde30c646e", "identifier": [ { "extension": [ @@ -8279,10 +9437,10 @@ } }, { - "fullUrl": "ServiceRequest/1732562154250806000.dd9cbc7c-fc51-481d-a11d-c930abf83f60", + "fullUrl": "ServiceRequest/1735608560241918000.e291e7a8-5ba4-409c-a3a8-12de11577e8c", "resource": { "resourceType": "ServiceRequest", - "id": "1732562154250806000.dd9cbc7c-fc51-481d-a11d-c930abf83f60", + "id": "1735608560241918000.e291e7a8-5ba4-409c-a3a8-12de11577e8c", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/business-event", @@ -8327,13 +9485,13 @@ { "url": "ORC.19", "valueReference": { - "reference": "Practitioner/1732562154225791000.ae6f9906-e3b1-4a93-b6c6-d8278444d635" + "reference": "Practitioner/1735608560204932000.e23447ea-b85a-4a2d-96ec-997a60986151" } }, { "url": "orc-21-ordering-facility-name", "valueReference": { - "reference": "Organization/1732562154226525000.8d27cb9f-3454-4c66-824f-0dd6118fe641" + "reference": "Organization/1735608560206062000.4cf9635b-2146-4cd5-8c50-25a01b3b9e4c" } }, { @@ -8511,25 +9669,25 @@ { "url": "ORC.10", "valueReference": { - "reference": "Practitioner/1732562154228856000.3e9b434f-f562-4f49-9eed-8deab719001a" + "reference": "Practitioner/1735608560208936000.0384390a-fce1-40fb-8499-6bb397ad4c06" } }, { "url": "ORC.11", "valueReference": { - "reference": "Practitioner/1732562154229548000.d7d4e869-66b8-4cd3-a898-79fa9eb5ac64" + "reference": "Practitioner/1735608560209612000.dc20f7b1-c59a-4987-8f98-41216c2d5869" } }, { "url": "orc-12-ordering-provider", "valueReference": { - "reference": "Practitioner/1732562154230211000.de62daa9-831f-4e3a-988d-bb953b1d75d7" + "reference": "Practitioner/1735608560210278000.76dd137f-d3c6-420e-9aa9-cd21379f103e" } }, { "url": "ORC.13", "valueReference": { - "reference": "Location/1732562154231251000.f0dbdb0c-a77c-42d4-bd6c-82e4bc21e9b4" + "reference": "Location/1735608560211482000.80e4e740-b5d8-47c3-a2af-51c369fa96b9" } }, { @@ -8636,7 +9794,7 @@ { "url": "OBR.16", "valueReference": { - "reference": "Practitioner/1732562154232733000.784d1aba-654d-41de-b921-04d5efa0e707" + "reference": "Practitioner/1735608560213437000.54758db1-8a9a-40ba-b327-aaed18831b40" } }, { @@ -8804,7 +9962,7 @@ { "url": "OBR.28", "valueReference": { - "reference": "Practitioner/1732562154235327000.a2de90f4-5fe3-449a-b442-1422688f69bd" + "reference": "Practitioner/1735608560219733000.7591d0ce-6f54-4d46-8d56-8bfcb618a6bf" } }, { @@ -8859,7 +10017,7 @@ { "url": "OBR.33", "valueReference": { - "reference": "PractitionerRole/1732562154243651000.0580e430-b3b0-4b7f-bdfb-979e88af580c" + "reference": "PractitionerRole/1735608560231413000.a1f86c25-4bcb-4baa-b437-31bf7e90d0a5" } }, { @@ -9073,7 +10231,7 @@ { "url": "OBR.10", "valueReference": { - "reference": "Practitioner/1732562154248192000.9f748ab3-d9d1-440c-85d0-286ba3af3144" + "reference": "Practitioner/1735608560236798000.cb6b014a-bf8a-48d9-923c-c7db73efb965" } }, { @@ -9370,7 +10528,7 @@ } ], "subject": { - "reference": "Patient/1732562153843122000.7e823011-2378-4ca6-bc19-0701168a7768" + "reference": "Patient/1735608559806757000.793109f7-debe-44b9-9b9c-ac08615c3f9d" }, "occurrenceDateTime": "2022-02-02T10:22:00Z", "_occurrenceDateTime": { @@ -9410,7 +10568,7 @@ } } ], - "reference": "PractitionerRole/1732562154213583000.c9736a07-2608-4bcd-9656-7f0f085d586e" + "reference": "PractitionerRole/1735608560197002000.e300b07c-3bd6-4948-a5c9-9c56efe38245" }, "locationCode": [ { @@ -9464,19 +10622,19 @@ ], "supportingInfo": [ { - "reference": "Observation/1732562154193977000.c207046a-6adc-4826-b659-18bb2d10b434" + "reference": "Observation/1735608560162579000.507f6def-b2d6-474e-924d-fbc1b7b3cb7e" }, { - "reference": "Observation/1732562154202682000.aa635033-0073-450d-aaf4-6f85d81b8307" + "reference": "Observation/1735608560180965000.45507c43-f05d-4f66-a9e3-4d192afe3141" } ] } }, { - "fullUrl": "Practitioner/1732562154214707000.55fe29b9-3526-4dd0-8afd-afcd464734b8", + "fullUrl": "Practitioner/1735608560198437000.d57c82ac-66ec-47a4-b3fb-e0efeb203247", "resource": { "resourceType": "Practitioner", - "id": "1732562154214707000.55fe29b9-3526-4dd0-8afd-afcd464734b8", + "id": "1735608560198437000.d57c82ac-66ec-47a4-b3fb-e0efeb203247", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -9532,10 +10690,10 @@ } }, { - "fullUrl": "Location/1732562154215176000.7d2bdd0e-7a5f-4658-8892-51bfe64f9893", + "fullUrl": "Location/1735608560199066000.2dbc11df-9fd1-4271-8419-92c9ac45f8ed", "resource": { "resourceType": "Location", - "id": "1732562154215176000.7d2bdd0e-7a5f-4658-8892-51bfe64f9893", + "id": "1735608560199066000.2dbc11df-9fd1-4271-8419-92c9ac45f8ed", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -9559,10 +10717,10 @@ } }, { - "fullUrl": "Organization/1732562154219040000.ab3d8b26-5b97-4c67-bd32-15c7749feb27", + "fullUrl": "Organization/1735608560200441000.c5b7cba9-3fb4-4d55-8e18-2b783338a83d", "resource": { "resourceType": "Organization", - "id": "1732562154219040000.ab3d8b26-5b97-4c67-bd32-15c7749feb27", + "id": "1735608560200441000.c5b7cba9-3fb4-4d55-8e18-2b783338a83d", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code", @@ -9601,7 +10759,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732562154215176000.7d2bdd0e-7a5f-4658-8892-51bfe64f9893" + "reference": "Location/1735608560199066000.2dbc11df-9fd1-4271-8419-92c9ac45f8ed" } } ], @@ -9666,23 +10824,23 @@ } }, { - "fullUrl": "PractitionerRole/1732562154213583000.c9736a07-2608-4bcd-9656-7f0f085d586e", + "fullUrl": "PractitionerRole/1735608560197002000.e300b07c-3bd6-4948-a5c9-9c56efe38245", "resource": { "resourceType": "PractitionerRole", - "id": "1732562154213583000.c9736a07-2608-4bcd-9656-7f0f085d586e", + "id": "1735608560197002000.e300b07c-3bd6-4948-a5c9-9c56efe38245", "practitioner": { - "reference": "Practitioner/1732562154214707000.55fe29b9-3526-4dd0-8afd-afcd464734b8" + "reference": "Practitioner/1735608560198437000.d57c82ac-66ec-47a4-b3fb-e0efeb203247" }, "organization": { - "reference": "Organization/1732562154219040000.ab3d8b26-5b97-4c67-bd32-15c7749feb27" + "reference": "Organization/1735608560200441000.c5b7cba9-3fb4-4d55-8e18-2b783338a83d" } } }, { - "fullUrl": "Practitioner/1732562154225791000.ae6f9906-e3b1-4a93-b6c6-d8278444d635", + "fullUrl": "Practitioner/1735608560204932000.e23447ea-b85a-4a2d-96ec-997a60986151", "resource": { "resourceType": "Practitioner", - "id": "1732562154225791000.ae6f9906-e3b1-4a93-b6c6-d8278444d635", + "id": "1735608560204932000.e23447ea-b85a-4a2d-96ec-997a60986151", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -9709,10 +10867,10 @@ } }, { - "fullUrl": "Location/1732562154226227000.9b5c0d44-1449-4c0c-b16c-d96bc24ba566", + "fullUrl": "Location/1735608560205615000.588e530a-5737-4a11-a03a-5b581d795cb5", "resource": { "resourceType": "Location", - "id": "1732562154226227000.9b5c0d44-1449-4c0c-b16c-d96bc24ba566", + "id": "1735608560205615000.588e530a-5737-4a11-a03a-5b581d795cb5", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", @@ -9736,10 +10894,10 @@ } }, { - "fullUrl": "Organization/1732562154226525000.8d27cb9f-3454-4c66-824f-0dd6118fe641", + "fullUrl": "Organization/1735608560206062000.4cf9635b-2146-4cd5-8c50-25a01b3b9e4c", "resource": { "resourceType": "Organization", - "id": "1732562154226525000.8d27cb9f-3454-4c66-824f-0dd6118fe641", + "id": "1735608560206062000.4cf9635b-2146-4cd5-8c50-25a01b3b9e4c", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code", @@ -9778,7 +10936,7 @@ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", "valueReference": { - "reference": "Location/1732562154226227000.9b5c0d44-1449-4c0c-b16c-d96bc24ba566" + "reference": "Location/1735608560205615000.588e530a-5737-4a11-a03a-5b581d795cb5" } } ], @@ -9797,10 +10955,10 @@ } }, { - "fullUrl": "Practitioner/1732562154228856000.3e9b434f-f562-4f49-9eed-8deab719001a", + "fullUrl": "Practitioner/1735608560208936000.0384390a-fce1-40fb-8499-6bb397ad4c06", "resource": { "resourceType": "Practitioner", - "id": "1732562154228856000.3e9b434f-f562-4f49-9eed-8deab719001a", + "id": "1735608560208936000.0384390a-fce1-40fb-8499-6bb397ad4c06", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -9827,10 +10985,10 @@ } }, { - "fullUrl": "Practitioner/1732562154229548000.d7d4e869-66b8-4cd3-a898-79fa9eb5ac64", + "fullUrl": "Practitioner/1735608560209612000.dc20f7b1-c59a-4987-8f98-41216c2d5869", "resource": { "resourceType": "Practitioner", - "id": "1732562154229548000.d7d4e869-66b8-4cd3-a898-79fa9eb5ac64", + "id": "1735608560209612000.dc20f7b1-c59a-4987-8f98-41216c2d5869", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -9857,10 +11015,10 @@ } }, { - "fullUrl": "Practitioner/1732562154230211000.de62daa9-831f-4e3a-988d-bb953b1d75d7", + "fullUrl": "Practitioner/1735608560210278000.76dd137f-d3c6-420e-9aa9-cd21379f103e", "resource": { "resourceType": "Practitioner", - "id": "1732562154230211000.de62daa9-831f-4e3a-988d-bb953b1d75d7", + "id": "1735608560210278000.76dd137f-d3c6-420e-9aa9-cd21379f103e", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", @@ -9887,10 +11045,10 @@ } }, { - "fullUrl": "Location/1732562154230997000.1f3e2855-faa7-43e9-b6c5-2cc071db40e8", + "fullUrl": "Location/1735608560211188000.2f659fd6-2fe7-4f7f-8210-8b8d8e2aeaa6", "resource": { "resourceType": "Location", - "id": "1732562154230997000.1f3e2855-faa7-43e9-b6c5-2cc071db40e8", + "id": "1735608560211188000.2f659fd6-2fe7-4f7f-8210-8b8d8e2aeaa6", "identifier": [ { "extension": [ @@ -9942,10 +11100,10 @@ } }, { - "fullUrl": "Location/1732562154231251000.f0dbdb0c-a77c-42d4-bd6c-82e4bc21e9b4", + "fullUrl": "Location/1735608560211482000.80e4e740-b5d8-47c3-a2af-51c369fa96b9", "resource": { "resourceType": "Location", - "id": "1732562154231251000.f0dbdb0c-a77c-42d4-bd6c-82e4bc21e9b4", + "id": "1735608560211482000.80e4e740-b5d8-47c3-a2af-51c369fa96b9", "identifier": [ { "extension": [ @@ -9996,15 +11154,15 @@ ] }, "partOf": { - "reference": "Location/1732562154230997000.1f3e2855-faa7-43e9-b6c5-2cc071db40e8" + "reference": "Location/1735608560211188000.2f659fd6-2fe7-4f7f-8210-8b8d8e2aeaa6" } } }, { - "fullUrl": "Practitioner/1732562154232733000.784d1aba-654d-41de-b921-04d5efa0e707", + "fullUrl": "Practitioner/1735608560213437000.54758db1-8a9a-40ba-b327-aaed18831b40", "resource": { "resourceType": "Practitioner", - "id": "1732562154232733000.784d1aba-654d-41de-b921-04d5efa0e707", + "id": "1735608560213437000.54758db1-8a9a-40ba-b327-aaed18831b40", "identifier": [ { "value": "1" @@ -10038,10 +11196,10 @@ } }, { - "fullUrl": "Practitioner/1732562154235327000.a2de90f4-5fe3-449a-b442-1422688f69bd", + "fullUrl": "Practitioner/1735608560219733000.7591d0ce-6f54-4d46-8d56-8bfcb618a6bf", "resource": { "resourceType": "Practitioner", - "id": "1732562154235327000.a2de90f4-5fe3-449a-b442-1422688f69bd", + "id": "1735608560219733000.7591d0ce-6f54-4d46-8d56-8bfcb618a6bf", "identifier": [ { "value": "1" @@ -10075,10 +11233,10 @@ } }, { - "fullUrl": "Practitioner/1732562154236508000.235838ae-2ca2-4cbc-a6d0-c70b0d56a0d6", + "fullUrl": "Practitioner/1735608560221172000.cda294b4-a701-424b-96a6-93da18541305", "resource": { "resourceType": "Practitioner", - "id": "1732562154236508000.235838ae-2ca2-4cbc-a6d0-c70b0d56a0d6", + "id": "1735608560221172000.cda294b4-a701-424b-96a6-93da18541305", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cnn-practitioner", @@ -10145,10 +11303,10 @@ } }, { - "fullUrl": "Location/1732562154237718000.bcc3e46e-35d5-49d9-9bc8-392bef817de8", + "fullUrl": "Location/1735608560222090000.283928ca-bc82-424b-a6b3-e5c8fb2d94f6", "resource": { "resourceType": "Location", - "id": "1732562154237718000.bcc3e46e-35d5-49d9-9bc8-392bef817de8", + "id": "1735608560222090000.283928ca-bc82-424b-a6b3-e5c8fb2d94f6", "identifier": [ { "extension": [ @@ -10195,10 +11353,10 @@ } }, { - "fullUrl": "Location/1732562154242310000.f00d36fc-fc8c-4eaa-b4a6-d6c558e042f8", + "fullUrl": "Location/1735608560229342000.b18e62e8-e133-4015-bb64-1ee2df4055ba", "resource": { "resourceType": "Location", - "id": "1732562154242310000.f00d36fc-fc8c-4eaa-b4a6-d6c558e042f8", + "id": "1735608560229342000.b18e62e8-e133-4015-bb64-1ee2df4055ba", "identifier": [ { "value": "Building 123" @@ -10217,10 +11375,10 @@ } }, { - "fullUrl": "Location/1732562154242719000.f859e4d1-1e25-4bd1-a800-1a5f46aa7566", + "fullUrl": "Location/1735608560229777000.e83e7186-d3ce-4dec-b9c3-5592cce16e53", "resource": { "resourceType": "Location", - "id": "1732562154242719000.f859e4d1-1e25-4bd1-a800-1a5f46aa7566", + "id": "1735608560229777000.e83e7186-d3ce-4dec-b9c3-5592cce16e53", "identifier": [ { "value": "Point of Care" @@ -10246,10 +11404,10 @@ } }, { - "fullUrl": "Location/1732562154243008000.9e0321eb-dc92-4827-adb2-82550515b7f1", + "fullUrl": "Location/1735608560230512000.d45e3d6d-aaee-4a04-b8fd-d6790521a387", "resource": { "resourceType": "Location", - "id": "1732562154243008000.9e0321eb-dc92-4827-adb2-82550515b7f1", + "id": "1735608560230512000.d45e3d6d-aaee-4a04-b8fd-d6790521a387", "identifier": [ { "value": "Floor A" @@ -10268,10 +11426,10 @@ } }, { - "fullUrl": "Location/1732562154243276000.87b2bd86-e633-4172-a925-4c3f9eba72cf", + "fullUrl": "Location/1735608560230895000.94a52960-08c5-480f-8ccc-295dcff17b09", "resource": { "resourceType": "Location", - "id": "1732562154243276000.87b2bd86-e633-4172-a925-4c3f9eba72cf", + "id": "1735608560230895000.94a52960-08c5-480f-8ccc-295dcff17b09", "identifier": [ { "value": "Room 101" @@ -10290,10 +11448,10 @@ } }, { - "fullUrl": "Location/1732562154243551000.8505b8a8-e6d3-4ae7-8b24-8fa51ad4f471", + "fullUrl": "Location/1735608560231282000.e842b353-5958-40f5-a54a-2bb3edea2146", "resource": { "resourceType": "Location", - "id": "1732562154243551000.8505b8a8-e6d3-4ae7-8b24-8fa51ad4f471", + "id": "1735608560231282000.e842b353-5958-40f5-a54a-2bb3edea2146", "identifier": [ { "value": "Bed A" @@ -10312,10 +11470,10 @@ } }, { - "fullUrl": "PractitionerRole/1732562154243651000.0580e430-b3b0-4b7f-bdfb-979e88af580c", + "fullUrl": "PractitionerRole/1735608560231413000.a1f86c25-4bcb-4baa-b437-31bf7e90d0a5", "resource": { "resourceType": "PractitionerRole", - "id": "1732562154243651000.0580e430-b3b0-4b7f-bdfb-979e88af580c", + "id": "1735608560231413000.a1f86c25-4bcb-4baa-b437-31bf7e90d0a5", "period": { "start": "2023-04-01T10:25:31-04:00", "_start": { @@ -10337,35 +11495,35 @@ } }, "practitioner": { - "reference": "Practitioner/1732562154236508000.235838ae-2ca2-4cbc-a6d0-c70b0d56a0d6" + "reference": "Practitioner/1735608560221172000.cda294b4-a701-424b-96a6-93da18541305" }, "location": [ { - "reference": "Location/1732562154237718000.bcc3e46e-35d5-49d9-9bc8-392bef817de8" + "reference": "Location/1735608560222090000.283928ca-bc82-424b-a6b3-e5c8fb2d94f6" }, { - "reference": "Location/1732562154242310000.f00d36fc-fc8c-4eaa-b4a6-d6c558e042f8" + "reference": "Location/1735608560229342000.b18e62e8-e133-4015-bb64-1ee2df4055ba" }, { - "reference": "Location/1732562154242719000.f859e4d1-1e25-4bd1-a800-1a5f46aa7566" + "reference": "Location/1735608560229777000.e83e7186-d3ce-4dec-b9c3-5592cce16e53" }, { - "reference": "Location/1732562154243008000.9e0321eb-dc92-4827-adb2-82550515b7f1" + "reference": "Location/1735608560230512000.d45e3d6d-aaee-4a04-b8fd-d6790521a387" }, { - "reference": "Location/1732562154243276000.87b2bd86-e633-4172-a925-4c3f9eba72cf" + "reference": "Location/1735608560230895000.94a52960-08c5-480f-8ccc-295dcff17b09" }, { - "reference": "Location/1732562154243551000.8505b8a8-e6d3-4ae7-8b24-8fa51ad4f471" + "reference": "Location/1735608560231282000.e842b353-5958-40f5-a54a-2bb3edea2146" } ] } }, { - "fullUrl": "Practitioner/1732562154248192000.9f748ab3-d9d1-440c-85d0-286ba3af3144", + "fullUrl": "Practitioner/1735608560236798000.cb6b014a-bf8a-48d9-923c-c7db73efb965", "resource": { "resourceType": "Practitioner", - "id": "1732562154248192000.9f748ab3-d9d1-440c-85d0-286ba3af3144", + "id": "1735608560236798000.cb6b014a-bf8a-48d9-923c-c7db73efb965", "extension": [ { "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/ormo01/orm_o01-full.hl7 b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/ormo01/orm_o01-full.hl7 index 003877c1bbe..149b86f16ea 100644 --- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/ormo01/orm_o01-full.hl7 +++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/ormo01/orm_o01-full.hl7 @@ -5,6 +5,7 @@ NTE|1|L|Accession level coment.|RE^Remark^HL70364^z^x^y^2.5.1^a^b|Bob R.N.|20230 NTE|2|L|Accession level coment 2|RE^Remark^HL70364^z^x^y^2.5.1^a^b|Bob R.N.|20230531|20230601|20350201|CC^Coded comment for patient note PV1|1|O|A&Point OF Care&C^1&Room&3^B&Bed&A^Hospital Assigned&2.4.4.4&ISO^^R^&Building^&Floor^Totally A Real Location^Comprehensive&&UID4This^AA&AssigningAUTH&ISO|R^Routine^HL70007|232323|^^^Hospital Prio&2.4.4.4&ISO^active^location type^^^Description^Entity ID&NAME&UNI&ISO^ASSIGNEE&222.1111.22222&UUID|1^BEETHOVEN^LUDWIG^B^2ND^DR^MD^^Namespace&AssigningSystem&UUID^B^^^DL^^^^^^^^MD|1^MOZART|1^CHOPIN|URO^Urology Service^HL70069|^^^^^^^^Its Temporary|P^Passed^HL70087|R^Re-admission^HL70092|RL^Real Life^HL70023||VIP^Very Interesting Person^HL70099|1^BACH|H^Human Patient^HL70018|22|||||||||||20020101|C^Collectors^HL70021|1|0|Y^Yes^HL70111|20080101|H^Happy^HL70112|^202305061200|F^Fed^HL70114|H^A Hospital Of Course^HL70115||A^Active^HL70117|^^^^^^^^Pending Location|^^^^^^^^Prior Location|20240801102531-0400|20240801102531-0400|100|199|142|130|alternate visit|A^Account Level^HL70326||Service Description|episode identifier PV2|^^^Hospital PriorPending&2.4.4.4&ISO^active^location type^^^Description^Entity ID&NAME&UNI&ISO^ASSIGNEE&222.1111.22222&UUID||1^AD||||413^V~423^X|20230601102531-0400|20230701102531-0400|5|12|Description|1^BEETHOVEN&VAN&Referral Source Code1&VAL&ROGER^LUDWIG^B^2ND^DR^MD^SRC^&AssigningSystem&ISO^B^A^NPI^DL^^A^NameContext^^G^20220501102531-0400^20230501102531-0400^MD^AssignJ^AssignA~1^BEETHOVEN&VAN&Referral Source Code2&VAL&ROGER^LUDWIG^B^2ND^DR^MD^SRC^&AssigningSystem&ISO^B^A^NPI^DL^^A^NameContext^^G^20220501102531-0400^20230501102531-0400^MD^AssignJ^AssignA||EMP_ILL||||||100^PublicCode|SEC|Org1^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO~Org2^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO||3^Elective^HL70217|20230501102531-0400|||20220501102531-0400|||||||||444^MODE||123^CARELEVEL1 +IN1|1|EPO|80|AETNA US HEALTHCARE|PO BOX 981114^""^EL PASO^TX^79998^""|Jones^John^^^Mr.|(850)555-0809|1500004000001|AETNA SERVICES INC|19^^^^SN|AETNA US HEALTHCARE|20240701|20250630|1701^19700101^DR TEETH AND THE ELECTRIC MAYHEM|2|Mega&Mr&MrOwnMega&Mrs&MrsOwn^HL7^MI^V^DR^BCN^L^Naaame^C&Name Context&HL7444|SEL|19700722|13324 WHITE CEMETERY RD^""^HANNIBAL^NY^130740000^""|Y|IN|1|Y|20241223|Y|20241224|N|PACCERT|20241223|1871759365^Willison^Christopher^Beau^^^MD^^NPI&2.16.840.1.114222.4.1.144&ISO^L^^^NPI|S|OK|176|2|1234|1002424|11.11&USD^P1^1.001^-1^R&Range Units&HL79999^F|22.22&RUB^P2^2.002^-2^RR&Russian Rubble&HL79999^F|10|33.33&MXN^P3^3.003^-3^OR&Oven Range&HL79999^P|44.44&CAD^P4^4.004^-4^HHR&Home Home Range&HL79999^P|1|F|45 WORKING LANE^^LIVERPOOL^NY^13088|Y|1002423|B|0|555221234^^^^PN|S|20241222|GRACE HOSPITAL|2 ORC|RE|Specimen123^SPHL-000048^2.16.840.1.114222.4.1.10765^ISO|Specimen12311^SPHL-000048^2.16.840.1.114222.4.1.10765^ISO|Specimen12322^SPHL-000048^2.16.840.1.114222.4.1.10765^ISO|CM|E||Specimen12333&SPHL-000048&2.16.840.1.114222.4.1.10765&ISO^Specimen12333454&SPHL-000048&2.16.840.1.114222.4.1.10765&ISO|20230725|71^^ORC.10Name|82^^ORC.11Name|93^^ORC.12Name|12.12.12&enter location id&L|123^^^+123|202101021000||EO^entering org text^HL79999|ED^entering device text^HL79999|60^^ORC.19Name||CDPH, Viral and Rickettsial Disease Laboratory^^^^^STARLIMS.CDC.Stag&2.16.840.1.114222.4.3.3.2.1.2&ISO^XX^STARLINKS.CDC.Stag&2.16.840.1.114222.8.7.6.5.4.1&ISO^A^SPHL-000048|111 Street St^^Streetsville^ST|456^^^+456|111 Road Rd^^Roadsville^RD|OS^order status^HL79999||20260404|EMP^Employee^HL70177|I^Inpatient Order^HL70482|EL^Electronic^HL70483|UMM^Universal Modifier^HL70000|20250403|33 OBR|1|Placer Identifier^Placer Identifier Namespace^Placer Universal ID^ISO|Filler Identifier^Filler Identifier Namespace^Filler Universal ID^ISO|123^Universal service identifier||202202021022||||1^Collector&VAN&Identifier&VAL&ROGER^LUDWIG^B^2ND^DR^MD^SRC^&AssigningSystem&ISO^B^A^NPI^DL^^A^NameContext|G|512^Danger code|relevent info|||1^Ordering&VAN&Provider&VAL&JollyROGER|^WPN^BP^^1^260^7595016^^^^^+1 260 759 5016~^WPN^Internet^order.callback@email.com|placer1|placer2|filler1|filler2||100&$^16&code|OTH|F|444&ParentId^888^ParentOBSdescriptor||1^result&VAN&copiesto&VAL&NotSoJollyROGER|adb4a5cc-50ec-4f1e-95d7-0c1f77cacee1&CSV&11D1111111&CLIA^f34b0f57-1601-4480-ae8a-d4006e50f38d&Other CSV&22D2222222&CLIA2||3216^ReasonForStudy~3216^ReasonForStudy2||123&Assistant&Results Interpreter&S&ESQ&DR&MD&&Assigning Authority&2.1.4.1&ISO^20230401102531-0400^20230501102531-0400^Point of Care^Room 101^Bed A^Hospital A&2.16.840.1.113883.9.11&ISO^active^^Building 123^Floor A|||20230806123359-0500|||4438^Collectors Comment~4438^Collectors Comment2|||||5019^Procedure Code|887766^Procedure Code Modifier~887766^Procedure Code Modifier2|7461^Placer Supplemental~7461^Placer Supplemental2|8811^Fillter Supplemental~8811^Fillter Supplemental2|71435^Medically Necessary Duplicate Procedure|N|443331^Parent Universal Service Identifier|||Alt^Placer Order~Alt^Placer Order2|adb4a5cc-50ec-4f1e-95d7-0c1f77cacee1&CSV&11D1111111&CLIA^f34b0f57-1601-4480-ae8a-d4006e50f38d&Other CSV&22D2222222&CLIA2 OBX|1|CWE|80383-3^Flu B^LN|subid|260415000^Not detected^SCT|g^gram^HL79999|range of a few|UP^Up to you|99|ST|F|20000101|user defined|20230101000000|11D1111111^CSV uploads^CLIA|1^Frances^Quinlen|^BD Veritor System for Rapid Detection of SARS-CoV-2|Device 001^SPTRDEV-001^2.17.840^ISO|20230912180802-0400|BE^Bilateral Ears^HL70163|entity id||CSV uploads-11D1111111^^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^11D1111111|2 Second Dr^^^IG^94553^USA|1^Mark^Quinlen|26|RC^root cause^HL79900|LPC^Local Process^HL79900|QST|30|31|32^value absent reason|33^eip diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/pd1/pd1-to-patient-pd1-14-1-populated.fhir b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/pd1/pd1-to-patient-pd1-14-1-populated.fhir index 6029112e55b..a2d73878ddb 100644 --- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/pd1/pd1-to-patient-pd1-14-1-populated.fhir +++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/pd1/pd1-to-patient-pd1-14-1-populated.fhir @@ -1,1400 +1,2063 @@ { - "resourceType" : "Bundle", - "id" : "1710883409045901000.0a9fa4af-2513-4656-87a3-4982043ee216", - "meta" : { - "lastUpdated" : "2024-03-19T15:23:29.056-06:00" + "resourceType": "Bundle", + "id": "1736358951656088648.b7c165c0-b732-4d06-84e7-4fb3bbcfa01c", + "meta": { + "lastUpdated": "2025-01-08T17:55:51.668+00:00" }, - "identifier" : { - "system" : "https://reportstream.cdc.gov/prime-router", - "value" : "12345" + "identifier": { + "system": "https://reportstream.cdc.gov/prime-router", + "value": "12345" }, - "type" : "message", - "timestamp" : "2023-05-01T08:25:31.000-06:00", - "entry" : [ { - "fullUrl" : "MessageHeader/827ccb0e-ea8a-306c-8c34-a16891f84e7b", - "resource" : { - "resourceType" : "MessageHeader", - "id" : "827ccb0e-ea8a-306c-8c34-a16891f84e7b", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/encoding-characters", - "valueString" : "^~\\&#" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/character-set", - "valueString" : "UNICODE UTF-8" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/msh-message-header", - "extension" : [ { - "url" : "MSH.7", - "valueString" : "20230501102531-0400" - } ] - } ], - "eventCoding" : { - "system" : "http://terminology.hl7.org/CodeSystem/v2-0003", - "code" : "R01", - "display" : "ORU^R01^ORU_R01" - }, - "sender" : { - "reference" : "Organization/1710883409133355000.eb6e0e16-11c9-4b64-a51c-8c43e4774454" + "type": "message", + "timestamp": "2023-05-01T14:25:31.000+00:00", + "entry": [ + { + "fullUrl": "MessageHeader/1736358951916567731.f0195860-0bdc-4f89-b007-fc30741d8f94", + "resource": { + "resourceType": "MessageHeader", + "id": "1736358951916567731.f0195860-0bdc-4f89-b007-fc30741d8f94", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/encoding-characters", + "valueString": "^~\\&#" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/character-set", + "valueString": "UNICODE UTF-8" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/msh-message-header", + "extension": [ + { + "url": "MSH.7", + "valueString": "20230501102531-0400" + } + ] + } + ], + "eventCoding": { + "system": "http://terminology.hl7.org/CodeSystem/v2-0003", + "code": "R01", + "display": "ORU^R01^ORU_R01" + }, + "sender": { + "reference": "Organization/1736358951905013610.902a09d5-2894-40dd-95c8-9a6691cd7ee9" + } } - } - }, { - "fullUrl" : "Organization/1710883409133355000.eb6e0e16-11c9-4b64-a51c-8c43e4774454", - "resource" : { - "resourceType" : "Organization", - "id" : "1710883409133355000.eb6e0e16-11c9-4b64-a51c-8c43e4774454", - "address" : [ { - "country" : "USA" - } ] - } - }, { - "fullUrl" : "Provenance/1710883409710462000.c7727838-4f44-429c-9335-c5e3f293ddab", - "resource" : { - "resourceType" : "Provenance", - "id" : "1710883409710462000.c7727838-4f44-429c-9335-c5e3f293ddab", - "target" : [ { - "reference" : "MessageHeader/827ccb0e-ea8a-306c-8c34-a16891f84e7b" - }, { - "reference" : "DiagnosticReport/1710883410209258000.106605c3-d100-4300-813b-48b7adaac54c" - } ], - "recorded" : "2023-05-01T10:25:31-04:00", - "activity" : { - "coding" : [ { - "display" : "ORU^R01^ORU_R01" - } ] + }, + { + "fullUrl": "Organization/1736358951905013610.902a09d5-2894-40dd-95c8-9a6691cd7ee9", + "resource": { + "resourceType": "Organization", + "id": "1736358951905013610.902a09d5-2894-40dd-95c8-9a6691cd7ee9", + "address": [ + { + "country": "USA" + } + ] } - } - }, { - "fullUrl" : "Provenance/1710883409722169000.becd8e80-c0cc-48b6-a24d-2706de5b0963", - "resource" : { - "resourceType" : "Provenance", - "id" : "1710883409722169000.becd8e80-c0cc-48b6-a24d-2706de5b0963", - "recorded" : "2024-03-19T15:23:29Z", - "policy" : [ "http://hl7.org/fhir/uv/v2mappings/message-oru-r01-to-bundle" ], - "activity" : { - "coding" : [ { - "code" : "v2-FHIR transformation" - } ] - }, - "agent" : [ { - "type" : { - "coding" : [ { - "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type", - "code" : "assembler" - } ] - }, - "who" : { - "reference" : "Organization/1710883409721231000.d5566bb2-f7ba-4f45-86d3-2a8d20ef5a56" + }, + { + "fullUrl": "Provenance/1736358952071011885.8b4c03e3-23aa-4169-92aa-812ea3dcccaa", + "resource": { + "resourceType": "Provenance", + "id": "1736358952071011885.8b4c03e3-23aa-4169-92aa-812ea3dcccaa", + "target": [ + { + "reference": "MessageHeader/1736358951916567731.f0195860-0bdc-4f89-b007-fc30741d8f94" + }, + { + "reference": "DiagnosticReport/1736358952689539033.62e6c6d0-de0d-47bc-9ae4-8d855eb07890" + } + ], + "recorded": "2023-05-01T10:25:31-04:00", + "activity": { + "coding": [ + { + "display": "ORU^R01^ORU_R01" + } + ] } - } ] - } - }, { - "fullUrl" : "Organization/1710883409721231000.d5566bb2-f7ba-4f45-86d3-2a8d20ef5a56", - "resource" : { - "resourceType" : "Organization", - "id" : "1710883409721231000.d5566bb2-f7ba-4f45-86d3-2a8d20ef5a56", - "identifier" : [ { - "value" : "CDC PRIME - Atlanta" - }, { - "type" : { - "coding" : [ { - "system" : "http://terminology.hl7.org/CodeSystem/v2-0301" - } ] + } + }, + { + "fullUrl": "Provenance/1736358952087726118.ead2b8ad-b8da-4bb5-b653-9a7b64e44be3", + "resource": { + "resourceType": "Provenance", + "id": "1736358952087726118.ead2b8ad-b8da-4bb5-b653-9a7b64e44be3", + "recorded": "2025-01-08T17:55:52Z", + "policy": [ + "http://hl7.org/fhir/uv/v2mappings/message-oru-r01-to-bundle" + ], + "activity": { + "coding": [ + { + "code": "v2-FHIR transformation" + } + ] }, - "system" : "urn:ietf:rfc:3986", - "value" : "2.16.840.1.114222.4.1.237821" - } ] - } - }, { - "fullUrl" : "Patient/1710883409796711000.40f2dcee-518c-43ea-8de8-558b1a9c6516", - "resource" : { - "resourceType" : "Patient", - "id" : "1710883409796711000.40f2dcee-518c-43ea-8de8-558b1a9c6516", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/studentStatus", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", - "valueOid" : "urn:oid:8.44.235.1.113883.3.3" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70231" - } ], - "version" : "2.5.1", - "code" : "F", - "display" : "Full-time student" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "secondary-alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70231" - } ], - "version" : "2.5.1", - "code" : "N", - "display" : "Not a student" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70231" - } ], - "version" : "4", - "code" : "N", - "display" : "Not a student" - } ], - "text" : "TEST" - } - }, { - "url" : "http://hl7.org/fhir/StructureDefinition/patient-disability", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", - "valueOid" : "urn:oid:8.44.235.1.113883.3.3" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70295" - } ], - "version" : "2.5.1", - "code" : "T", - "display" : "TEST" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "secondary-alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70295" - } ], - "version" : "2.5.1", - "code" : "D", - "display" : "Debug" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70295" - } ], - "version" : "4", - "code" : "P", - "display" : "Prod" - } ], - "text" : "TEST" - } - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/livingWill", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", - "valueOid" : "urn:oid:8.44.235.1.113883.3.3" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70315" - } ], - "version" : "2.5.1", - "code" : "F", - "display" : "Yes, patient has a living will but it is not on file" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "secondary-alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70315" - } ], - "version" : "2.5.1", - "code" : "U", - "display" : "Unknown" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70315" - } ], - "version" : "4", - "code" : "I", - "display" : "No, patient does not have a living will but information was provided" - } ], - "text" : "TEST" - } - }, { - "url" : "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString" : "1st Ordering Facility" - }, { - "url" : "http://hl7.org/fhir/StructureDefinition/patient-congregation", - "valueString" : "2nd Ordering Facility" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/pd1-patient-additional-demographic", - "extension" : [ { - "url" : "PD1.1", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", - "valueOid" : "urn:oid:8.44.235.1.113883.3.3" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70223" - } ], - "version" : "2.5.1", - "code" : "C", - "display" : "Small Children Dependent" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "secondary-alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70223" - } ], - "version" : "2.5.1", - "code" : "M", - "display" : "Medical Supervision Required" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70223" - } ], - "version" : "4", - "code" : "M", - "display" : "Medical Supervision Required" - } ], - "text" : "TEST" + "agent": [ + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type", + "code": "assembler" + } + ] + }, + "who": { + "reference": "Organization/1736358952086145916.c938fd70-b7f7-4732-8e24-310081774b89" + } } - }, { - "url" : "PD1.1", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", - "valueOid" : "urn:oid:8.44.235.1.113883.3.3" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70223" - } ], - "version" : "2.5.1", - "code" : "O", - "display" : "Other" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "secondary-alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70223" - } ], - "version" : "2.5.1", - "code" : "M", - "display" : "Medical Supervision Required" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70223" - } ], - "version" : "4", - "code" : "U", - "display" : "Unknown" - } ], - "text" : "TEST" + ] + } + }, + { + "fullUrl": "Organization/1736358952086145916.c938fd70-b7f7-4732-8e24-310081774b89", + "resource": { + "resourceType": "Organization", + "id": "1736358952086145916.c938fd70-b7f7-4732-8e24-310081774b89", + "identifier": [ + { + "value": "CDC PRIME - Atlanta" + }, + { + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0301" + } + ] + }, + "system": "urn:ietf:rfc:3986", + "value": "2.16.840.1.114222.4.1.237821" } - }, { - "url" : "PD1.2", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", - "valueOid" : "urn:oid:8.44.235.1.113883.3.3" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70220" - } ], - "version" : "2.5.1", - "code" : "A", - "display" : "Alone" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "secondary-alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70220" - } ], - "version" : "2.5.1", - "code" : "F", - "display" : "Family" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70220" - } ], - "version" : "4", - "code" : "F", - "display" : "Family" - } ], - "text" : "TEST" + ] + } + }, + { + "fullUrl": "Patient/1736358952171225679.70fba0ff-ac4b-418d-b027-60af204e9d95", + "resource": { + "resourceType": "Patient", + "id": "1736358952171225679.70fba0ff-ac4b-418d-b027-60af204e9d95", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/studentStatus", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", + "valueOid": "urn:oid:8.44.235.1.113883.3.3" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70231" + } + ], + "version": "2.5.1", + "code": "F", + "display": "Full-time student" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "secondary-alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70231" + } + ], + "version": "2.5.1", + "code": "N", + "display": "Not a student" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70231" + } + ], + "version": "4", + "code": "N", + "display": "Not a student" + } + ], + "text": "TEST" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-disability", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", + "valueOid": "urn:oid:8.44.235.1.113883.3.3" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70295" + } + ], + "version": "2.5.1", + "code": "T", + "display": "TEST" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "secondary-alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70295" + } + ], + "version": "2.5.1", + "code": "D", + "display": "Debug" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70295" + } + ], + "version": "4", + "code": "P", + "display": "Prod" + } + ], + "text": "TEST" + } + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/livingWill", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", + "valueOid": "urn:oid:8.44.235.1.113883.3.3" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70315" + } + ], + "version": "2.5.1", + "code": "F", + "display": "Yes, patient has a living will but it is not on file" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "secondary-alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70315" + } + ], + "version": "2.5.1", + "code": "U", + "display": "Unknown" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70315" + } + ], + "version": "4", + "code": "I", + "display": "No, patient does not have a living will but information was provided" + } + ], + "text": "TEST" + } + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "1st Ordering Facility" + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-congregation", + "valueString": "2nd Ordering Facility" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/pd1-patient-additional-demographic", + "extension": [ + { + "url": "PD1.1", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", + "valueOid": "urn:oid:8.44.235.1.113883.3.3" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70223" + } + ], + "version": "2.5.1", + "code": "C", + "display": "Small Children Dependent" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "secondary-alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70223" + } + ], + "version": "2.5.1", + "code": "M", + "display": "Medical Supervision Required" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70223" + } + ], + "version": "4", + "code": "M", + "display": "Medical Supervision Required" + } + ], + "text": "TEST" + } + }, + { + "url": "PD1.1", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", + "valueOid": "urn:oid:8.44.235.1.113883.3.3" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70223" + } + ], + "version": "2.5.1", + "code": "O", + "display": "Other" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "secondary-alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70223" + } + ], + "version": "2.5.1", + "code": "M", + "display": "Medical Supervision Required" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70223" + } + ], + "version": "4", + "code": "U", + "display": "Unknown" + } + ], + "text": "TEST" + } + }, + { + "url": "PD1.2", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", + "valueOid": "urn:oid:8.44.235.1.113883.3.3" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70220" + } + ], + "version": "2.5.1", + "code": "A", + "display": "Alone" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "secondary-alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70220" + } + ], + "version": "2.5.1", + "code": "F", + "display": "Family" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70220" + } + ], + "version": "4", + "code": "F", + "display": "Family" + } + ], + "text": "TEST" + } + }, + { + "url": "PD1.16", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", + "valueOid": "urn:oid:8.44.235.1.113883.3.3" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70441" + } + ], + "version": "2.5.1", + "code": "A", + "display": "Active" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "secondary-alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70441" + } + ], + "version": "2.5.1", + "code": "O", + "display": "Other" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70441" + } + ], + "version": "4", + "code": "I", + "display": "Inactive" + } + ], + "text": "TEST" + } + }, + { + "url": "PD1.17", + "valueString": "20230501102531-0400" + }, + { + "url": "PD1.18", + "valueString": "20230501102531-0400" + }, + { + "url": "PD1.19", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", + "valueOid": "urn:oid:8.44.235.1.113883.3.3" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70140" + } + ], + "version": "2.5.1", + "code": "AUSA", + "display": "Australian Army" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "secondary-alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70140" + } + ], + "version": "2.5.1", + "code": "AUSN", + "display": "Australian Navy" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70140" + } + ], + "version": "4", + "code": "AUSFA", + "display": "Australian Air Force" + } + ], + "text": "TEST" + } + }, + { + "url": "PD1.20", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", + "valueOid": "urn:oid:8.44.235.1.113883.3.3" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70141" + } + ], + "version": "2.5.1", + "code": "E1... E9", + "display": "Enlisted" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "secondary-alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70141" + } + ], + "version": "2.5.1", + "code": "W1 ... W4", + "display": "Warrent Officers" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70141" + } + ], + "version": "4", + "code": "O1 ... O9", + "display": "Officers" + } + ], + "text": "TEST" + } + }, + { + "url": "PD1.21", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", + "valueOid": "urn:oid:8.44.235.1.113883.3.3" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70142" + } + ], + "version": "2.5.1", + "code": "ACT", + "display": "Active duty" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "secondary-alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70142" + } + ], + "version": "2.5.1", + "code": "RET", + "display": "Retired" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70142" + } + ], + "version": "4", + "code": "DEC", + "display": "Deceased" + } + ], + "text": "TEST" + } + }, + { + "url": "PD1.22", + "valueString": "20230501102531-0400" + }, + { + "url": "PD1.8", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", + "valueOid": "urn:oid:8.44.235.1.113883.3.3" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70316" + } + ], + "version": "2.5.1", + "code": "F", + "display": "Yes, patient is a documented donor, but documentation is not on file" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "secondary-alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70316" + } + ], + "version": "2.5.1", + "code": "U", + "display": "Unknown" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70316" + } + ], + "version": "4", + "code": "I", + "display": "No, patient is not a documented donor, but information was provided" + } + ], + "text": "TEST" + } + }, + { + "url": "PD1.9", + "valueString": "N" + }, + { + "url": "PD1.10", + "valueIdentifier": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-facility", + "valueReference": { + "reference": "Organization/1736358952142470650.ccb6d41d-7544-41a4-b786-a80ff6cbd364" + } + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier", + "extension": [ + { + "url": "CX.5", + "valueString": "MR" + } + ] + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "PD1.10" + } + ], + "type": { + "coding": [ + { + "code": "MR" + } + ] + }, + "system": "NIST MPI", + "_system": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", + "valueString": "NIST MPI" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id", + "valueString": "2.16.840.1.113883.3.72.5.30.2" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", + "valueString": "ISO" + } + ] + }, + "value": "18547545" + } + }, + { + "url": "PD1.10", + "valueIdentifier": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-facility", + "valueReference": { + "reference": "Organization/1736358952144431626.5e7a1c9d-5402-49de-ac56-a42519025842" + } + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier", + "extension": [ + { + "url": "CX.5", + "valueString": "SS" + } + ] + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "PD1.10" + } + ], + "type": { + "coding": [ + { + "code": "SS" + } + ] + }, + "system": "SSN", + "_system": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", + "valueString": "SSN" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id", + "valueString": "2.16.840.1.113883.4.1" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", + "valueString": "ISO" + } + ] + }, + "value": "111111111" + } + }, + { + "url": "PD1.11", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", + "valueOid": "urn:oid:8.44.235.1.113883.3.3" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70215" + } + ], + "version": "2.5.1", + "code": "F", + "display": "Family only" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "secondary-alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70215" + } + ], + "version": "2.5.1", + "code": "U", + "display": "Unknown" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70215" + } + ], + "version": "4", + "code": "N", + "display": "No Publicity" + } + ], + "text": "TEST" + } + }, + { + "url": "PD1.12", + "valueString": "N" + }, + { + "url": "PD1.13", + "valueString": "20230501102531-0400" + }, + { + "url": "PD1.14", + "valueReference": { + "reference": "Organization/1736358952149299645.a83a5c52-9dcd-42d7-90c1-a10c7a1f9dba" + } + }, + { + "url": "PD1.14", + "valueReference": { + "reference": "Organization/1736358952151517945.21a783d4-3bcd-4373-95fb-02e5eae6dbf4" + } + }, + { + "url": "PD1.15", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", + "valueOid": "urn:oid:8.44.235.1.113883.3.3" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70435" + } + ], + "version": "2.5.1", + "code": "DNR", + "display": "Do not resuscitate" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "secondary-alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70435" + } + ], + "version": "2.5.1", + "code": "N", + "display": "No directive" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70435" + } + ], + "version": "4", + "code": "N", + "display": "No directive" + } + ], + "text": "TEST" + } + }, + { + "url": "PD1.15", + "valueCodeableConcept": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "HL70435" + } + ], + "code": "DNR", + "display": "Do not resuscitate" + } + ] + } + } + ] } - }, { - "url" : "PD1.16", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", - "valueOid" : "urn:oid:8.44.235.1.113883.3.3" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70441" - } ], - "version" : "2.5.1", - "code" : "A", - "display" : "Active" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "secondary-alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70441" - } ], - "version" : "2.5.1", - "code" : "O", - "display" : "Other" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70441" - } ], - "version" : "4", - "code" : "I", - "display" : "Inactive" - } ], - "text" : "TEST" + ], + "generalPractitioner": [ + { + "reference": "Organization/1736358952164152679.4e493b07-5ae5-4231-bd62-d5f7f7741fc8" + }, + { + "reference": "Organization/1736358952165738008.f216127f-70e1-45e6-8964-c942162944aa" + }, + { + "reference": "Practitioner/1736358952169738910.fc9411dc-931a-43fe-bc03-c98d6051775f" + }, + { + "reference": "Practitioner/1736358952170981056.50c9e850-57b4-4ed5-b853-602a9ed47608" } - }, { - "url" : "PD1.17", - "valueString" : "20230501102531-0400" - }, { - "url" : "PD1.18", - "valueString" : "20230501102531-0400" - }, { - "url" : "PD1.19", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", - "valueOid" : "urn:oid:8.44.235.1.113883.3.3" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70140" - } ], - "version" : "2.5.1", - "code" : "AUSA", - "display" : "Australian Army" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "secondary-alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70140" - } ], - "version" : "2.5.1", - "code" : "AUSN", - "display" : "Australian Navy" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70140" - } ], - "version" : "4", - "code" : "AUSFA", - "display" : "Australian Air Force" - } ], - "text" : "TEST" + ] + } + }, + { + "fullUrl": "Organization/1736358952142470650.ccb6d41d-7544-41a4-b786-a80ff6cbd364", + "resource": { + "resourceType": "Organization", + "id": "1736358952142470650.ccb6d41d-7544-41a4-b786-a80ff6cbd364", + "identifier": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "HD.1" + } + ], + "value": "University H" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "HD.2,HD.3" + } + ], + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0301", + "code": "ISO" + } + ] + }, + "system": "urn:ietf:rfc:3986", + "value": "2.16.840.1.113883.3.0" } - }, { - "url" : "PD1.20", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", - "valueOid" : "urn:oid:8.44.235.1.113883.3.3" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70141" - } ], - "version" : "2.5.1", - "code" : "E1... E9", - "display" : "Enlisted" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "secondary-alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70141" - } ], - "version" : "2.5.1", - "code" : "W1 ... W4", - "display" : "Warrent Officers" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70141" - } ], - "version" : "4", - "code" : "O1 ... O9", - "display" : "Officers" - } ], - "text" : "TEST" + ] + } + }, + { + "fullUrl": "Organization/1736358952144431626.5e7a1c9d-5402-49de-ac56-a42519025842", + "resource": { + "resourceType": "Organization", + "id": "1736358952144431626.5e7a1c9d-5402-49de-ac56-a42519025842", + "identifier": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "HD.1" + } + ], + "value": "SSA" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "HD.2,HD.3" + } + ], + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0301", + "code": "ISO" + } + ] + }, + "system": "urn:ietf:rfc:3986", + "value": "2.16.840.1.113883.3.184" } - }, { - "url" : "PD1.21", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", - "valueOid" : "urn:oid:8.44.235.1.113883.3.3" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70142" - } ], - "version" : "2.5.1", - "code" : "ACT", - "display" : "Active duty" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "secondary-alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70142" - } ], - "version" : "2.5.1", - "code" : "RET", - "display" : "Retired" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70142" - } ], - "version" : "4", - "code" : "DEC", - "display" : "Deceased" - } ], - "text" : "TEST" + ] + } + }, + { + "fullUrl": "Location/1736358952147814512.dd6bae70-a3a1-47d7-8cfc-1f09770b8909", + "resource": { + "resourceType": "Location", + "id": "1736358952147814512.dd6bae70-a3a1-47d7-8cfc-1f09770b8909", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", + "valueCode": "ISO" } - }, { - "url" : "PD1.22", - "valueString" : "20230501102531-0400" - }, { - "url" : "PD1.8", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", - "valueOid" : "urn:oid:8.44.235.1.113883.3.3" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70316" - } ], - "version" : "2.5.1", - "code" : "F", - "display" : "Yes, patient is a documented donor, but documentation is not on file" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "secondary-alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70316" - } ], - "version" : "2.5.1", - "code" : "U", - "display" : "Unknown" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70316" - } ], - "version" : "4", - "code" : "I", - "display" : "No, patient is not a documented donor, but information was provided" - } ], - "text" : "TEST" + ], + "identifier": [ + { + "value": "2.16.840.1.113883.9.11" } - }, { - "url" : "PD1.9", - "valueString" : "N" - }, { - "url" : "PD1.10", - "valueIdentifier" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-facility", - "valueReference" : { - "reference" : "Organization/1710883409778898000.0cd60631-039e-4651-b25e-be3c97657db8" + ], + "name": "Hospital A", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + } + }, + { + "fullUrl": "Organization/1736358952149299645.a83a5c52-9dcd-42d7-90c1-a10c7a1f9dba", + "resource": { + "resourceType": "Organization", + "id": "1736358952149299645.a83a5c52-9dcd-42d7-90c1-a10c7a1f9dba", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", + "valueCoding": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "XON.2" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "LN" + } + ], + "system": "http://loinc.org", + "version": "1", + "code": "1234-5", + "display": "TestText" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "LN" + } + ], + "system": "http://loinc.org", + "version": "2", + "code": "1234-5", + "display": "TestAltText" + } + ], + "text": "OriginalText" + } + } + ], + "system": "LN", + "version": "1", + "code": "1234-5", + "display": "TestText" + } + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code", + "valueString": "NameRepCode" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", + "extension": [ + { + "url": "XON.3", + "valueString": "123" + }, + { + "url": "XON.10", + "valueString": "1st OrgIdentifier" } - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier", - "extension" : [ { - "url" : "CX.5", - "valueString" : "MR" - } ] - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString" : "PD1.10" - } ], - "type" : { - "coding" : [ { - "code" : "MR" - } ] - }, - "system" : "NIST MPI", - "_system" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", - "valueString" : "NIST MPI" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id", - "valueString" : "2.16.840.1.113883.3.72.5.30.2" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", - "valueString" : "ISO" - } ] + ] + } + ], + "identifier": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit", + "valueString": "Check Digit" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", + "valueString": "Assigning Authority" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id", + "valueString": "2.1.4.1" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", + "valueCode": "ISO" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit", + "valueCode": "C1" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", + "valueReference": { + "reference": "Location/1736358952147814512.dd6bae70-a3a1-47d7-8cfc-1f09770b8909" + } + } + ], + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "MD" + } + ] }, - "value" : "18547545" + "value": "1st OrgIdentifier" + } + ], + "name": "1st Ordering Facility" + } + }, + { + "fullUrl": "Location/1736358952150265608.da3ab135-86f8-4bb8-acd4-15da11ac1194", + "resource": { + "resourceType": "Location", + "id": "1736358952150265608.da3ab135-86f8-4bb8-acd4-15da11ac1194", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", + "valueCode": "ISO" } - }, { - "url" : "PD1.10", - "valueIdentifier" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-facility", - "valueReference" : { - "reference" : "Organization/1710883409781592000.1e33014c-701c-4af1-8d28-5dc91415284c" + ], + "identifier": [ + { + "value": "2.16.840.1.113883.9.11" + } + ], + "name": "Hospital A", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + } + }, + { + "fullUrl": "Organization/1736358952151517945.21a783d4-3bcd-4373-95fb-02e5eae6dbf4", + "resource": { + "resourceType": "Organization", + "id": "1736358952151517945.21a783d4-3bcd-4373-95fb-02e5eae6dbf4", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", + "valueCoding": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "XON.2" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "LN" + } + ], + "system": "http://loinc.org", + "version": "1", + "code": "1234-5", + "display": "TestText" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "LN" + } + ], + "system": "http://loinc.org", + "version": "2", + "code": "1234-5", + "display": "TestAltText" + } + ], + "text": "OriginalText" + } + } + ], + "system": "LN", + "version": "1", + "code": "1234-5", + "display": "TestText" + } + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code", + "valueString": "NameRepCode" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", + "extension": [ + { + "url": "XON.3", + "valueString": "123" + }, + { + "url": "XON.10", + "valueString": "2nd OrgIdentifier" + } + ] + } + ], + "identifier": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit", + "valueString": "Check Digit" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", + "valueString": "Assigning Authority" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id", + "valueString": "2.1.4.1" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", + "valueCode": "ISO" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit", + "valueCode": "C1" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", + "valueReference": { + "reference": "Location/1736358952150265608.da3ab135-86f8-4bb8-acd4-15da11ac1194" + } } - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier", - "extension" : [ { - "url" : "CX.5", - "valueString" : "SS" - } ] - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString" : "PD1.10" - } ], - "type" : { - "coding" : [ { - "code" : "SS" - } ] + ], + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "MD" + } + ] }, - "system" : "SSN", - "_system" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", - "valueString" : "SSN" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id", - "valueString" : "2.16.840.1.113883.4.1" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", - "valueString" : "ISO" - } ] + "value": "2nd OrgIdentifier" + } + ], + "name": "2nd Ordering Facility" + } + }, + { + "fullUrl": "Location/1736358952163064929.ab0ea3cf-a4a0-4465-a2fd-bdfa5605da9b", + "resource": { + "resourceType": "Location", + "id": "1736358952163064929.ab0ea3cf-a4a0-4465-a2fd-bdfa5605da9b", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", + "valueCode": "ISO" + } + ], + "identifier": [ + { + "value": "2.16.840.1.113883.9.11" + } + ], + "name": "Hospital A", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + } + }, + { + "fullUrl": "Organization/1736358952164152679.4e493b07-5ae5-4231-bd62-d5f7f7741fc8", + "resource": { + "resourceType": "Organization", + "id": "1736358952164152679.4e493b07-5ae5-4231-bd62-d5f7f7741fc8", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", + "valueCoding": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "XON.2" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "LN" + } + ], + "system": "http://loinc.org", + "version": "1", + "code": "1234-5", + "display": "TestText" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "LN" + } + ], + "system": "http://loinc.org", + "version": "2", + "code": "1234-5", + "display": "TestAltText" + } + ], + "text": "OriginalText" + } + } + ], + "system": "LN", + "version": "1", + "code": "1234-5", + "display": "TestText" + } + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code", + "valueString": "NameRepCode" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", + "extension": [ + { + "url": "XON.3", + "valueString": "123" + }, + { + "url": "XON.10", + "valueString": "OrgIdentifier" + } + ] + } + ], + "identifier": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit", + "valueString": "Check Digit" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", + "valueString": "Assigning Authority" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id", + "valueString": "2.1.4.1" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", + "valueCode": "ISO" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit", + "valueCode": "C1" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", + "valueReference": { + "reference": "Location/1736358952163064929.ab0ea3cf-a4a0-4465-a2fd-bdfa5605da9b" + } + } + ], + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "MD" + } + ] }, - "value" : "111111111" + "value": "OrgIdentifier" } - }, { - "url" : "PD1.11", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", - "valueOid" : "urn:oid:8.44.235.1.113883.3.3" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70215" - } ], - "version" : "2.5.1", - "code" : "F", - "display" : "Family only" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "secondary-alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70215" - } ], - "version" : "2.5.1", - "code" : "U", - "display" : "Unknown" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70215" - } ], - "version" : "4", - "code" : "N", - "display" : "No Publicity" - } ], - "text" : "TEST" + ], + "name": "Ordering Facility" + } + }, + { + "fullUrl": "Location/1736358952164801277.e7d10d7b-0af7-46be-b2f3-b240a63025fa", + "resource": { + "resourceType": "Location", + "id": "1736358952164801277.e7d10d7b-0af7-46be-b2f3-b240a63025fa", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", + "valueCode": "ISO" } - }, { - "url" : "PD1.12", - "valueString" : "N" - }, { - "url" : "PD1.13", - "valueString" : "20230501102531-0400" - }, { - "url" : "PD1.14", - "valueReference" : { - "reference" : "Organization/1710883409788424000.e01fcecb-2ddd-45c0-addc-473ed8af7845" + ], + "identifier": [ + { + "value": "2.16.840.1.113883.9.11" } - }, { - "url" : "PD1.14", - "valueReference" : { - "reference" : "Organization/1710883409792047000.4217c0aa-3c0c-485c-bc38-29027e6c6e06" + ], + "name": "Hospital A", + "physicalType": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/location-physical-type", + "code": "si" + } + ] + } + } + }, + { + "fullUrl": "Organization/1736358952165738008.f216127f-70e1-45e6-8964-c942162944aa", + "resource": { + "resourceType": "Organization", + "id": "1736358952165738008.f216127f-70e1-45e6-8964-c942162944aa", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", + "valueCoding": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueCodeableConcept": { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "XON.2" + } + ], + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "LN" + } + ], + "system": "http://loinc.org", + "version": "1", + "code": "1234-5", + "display": "TestText" + }, + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "alt-coding" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", + "valueString": "LN" + } + ], + "system": "http://loinc.org", + "version": "2", + "code": "1234-5", + "display": "TestAltText2" + } + ], + "text": "OriginalText2" + } + } + ], + "system": "LN", + "version": "1", + "code": "1234-5", + "display": "TestText" + } + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code", + "valueString": "NameRepCode" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", + "extension": [ + { + "url": "XON.3", + "valueString": "123" + }, + { + "url": "XON.10", + "valueString": "OrgIdentifier" + } + ] } - }, { - "url" : "PD1.15", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/coding-system-oid", - "valueOid" : "urn:oid:8.44.235.1.113883.3.3" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70435" - } ], - "version" : "2.5.1", - "code" : "DNR", - "display" : "Do not resuscitate" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "secondary-alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70435" - } ], - "version" : "2.5.1", - "code" : "N", - "display" : "No directive" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70435" - } ], - "version" : "4", - "code" : "N", - "display" : "No directive" - } ], - "text" : "TEST" + ], + "identifier": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit", + "valueString": "Check Digit2" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", + "valueString": "Assigning Authority" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id", + "valueString": "2.1.4.1" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", + "valueCode": "ISO" + } + ] + }, + { + "url": "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit", + "valueCode": "C1" + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", + "valueReference": { + "reference": "Location/1736358952164801277.e7d10d7b-0af7-46be-b2f3-b240a63025fa" + } + } + ], + "type": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v2-0203", + "code": "MD" + } + ] + }, + "value": "OrgIdentifier" } - }, { - "url" : "PD1.15", - "valueCodeableConcept" : { - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "HL70435" - } ], - "code" : "DNR", - "display" : "Do not resuscitate" - } ] + ], + "name": "Ordering Facility2" + } + }, + { + "fullUrl": "Organization/1736358952166234750.7807e1ff-7076-4c7c-b0eb-3b01cc7948b9", + "resource": { + "resourceType": "Organization", + "id": "1736358952166234750.7807e1ff-7076-4c7c-b0eb-3b01cc7948b9", + "identifier": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "HD.1" + } + ], + "value": "NPI" } - } ] - } ], - "generalPractitioner" : [ { - "reference" : "Organization/1710883409742681000.4c2d54fd-ccd7-415c-be2a-0ef419b787d6" - }, { - "reference" : "Organization/1710883409749713000.7e55a44b-d848-457a-8d25-52b81ce7ffe5" - } ] - } - }, { - "fullUrl" : "Location/1710883409739008000.7d05424b-d62d-4385-b1da-f224dba429bf", - "resource" : { - "resourceType" : "Location", - "id" : "1710883409739008000.7d05424b-d62d-4385-b1da-f224dba429bf", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", - "valueCode" : "ISO" - } ], - "identifier" : [ { - "value" : "2.16.840.1.113883.9.11" - } ], - "name" : "Hospital A", - "physicalType" : { - "coding" : [ { - "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code" : "si" - } ] + ] } - } - }, { - "fullUrl" : "Organization/1710883409742681000.4c2d54fd-ccd7-415c-be2a-0ef419b787d6", - "resource" : { - "resourceType" : "Organization", - "id" : "1710883409742681000.4c2d54fd-ccd7-415c-be2a-0ef419b787d6", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", - "valueCoding" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString" : "XON.2" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "LN" - } ], - "system" : "http://loinc.org", - "version" : "1", - "code" : "1234-5", - "display" : "TestText" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "LN" - } ], - "system" : "http://loinc.org", - "version" : "2", - "code" : "1234-5", - "display" : "TestAltText" - } ], - "text" : "OriginalText" + }, + { + "fullUrl": "Practitioner/1736358952169738910.fc9411dc-931a-43fe-bc03-c98d6051775f", + "resource": { + "resourceType": "Practitioner", + "id": "1736358952169738910.fc9411dc-931a-43fe-bc03-c98d6051775f", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", + "valueString": "NPI" + } + ] + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", + "extension": [ + { + "url": "XCN.3", + "valueString": "PD1.4NameGiven1" + }, + { + "url": "XCN.4", + "valueString": "PD1.4NameInit1" + } + ] + } + ], + "identifier": [ + { + "type": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id", + "valueBoolean": true + } + ], + "code": "NPI" + } + ] + }, + "value": "1111111111", + "assigner": { + "reference": "Organization/1736358952166234750.7807e1ff-7076-4c7c-b0eb-3b01cc7948b9" } - } ], - "system" : "LN", - "version" : "1", - "code" : "1234-5", - "display" : "TestText" - } - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code", - "valueString" : "NameRepCode" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", - "extension" : [ { - "url" : "XON.3", - "valueString" : "123" - }, { - "url" : "XON.10", - "valueString" : "OrgIdentifier" - } ] - } ], - "identifier" : [ { - "extension" : [ { - "url" : "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit", - "valueString" : "Check Digit" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", - "valueString" : "Assigning Authority" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id", - "valueString" : "2.1.4.1" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", - "valueCode" : "ISO" - } ] - }, { - "url" : "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit", - "valueCode" : "C1" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", - "valueReference" : { - "reference" : "Location/1710883409739008000.7d05424b-d62d-4385-b1da-f224dba429bf" } - } ], - "type" : { - "coding" : [ { - "system" : "http://terminology.hl7.org/CodeSystem/v2-0203", - "code" : "MD" - } ] - }, - "value" : "OrgIdentifier" - } ], - "name" : "Ordering Facility" - } - }, { - "fullUrl" : "Location/1710883409745200000.34c2ceeb-a474-4c7d-8936-0b2c9fcd956a", - "resource" : { - "resourceType" : "Location", - "id" : "1710883409745200000.34c2ceeb-a474-4c7d-8936-0b2c9fcd956a", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", - "valueCode" : "ISO" - } ], - "identifier" : [ { - "value" : "2.16.840.1.113883.9.11" - } ], - "name" : "Hospital A", - "physicalType" : { - "coding" : [ { - "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code" : "si" - } ] + ], + "name": [ + { + "family": "PD1.4NameFamily1", + "given": [ + "PD1.4NameGiven1", + "PD1.4NameInit1" + ] + } + ] } - } - }, { - "fullUrl" : "Organization/1710883409749713000.7e55a44b-d848-457a-8d25-52b81ce7ffe5", - "resource" : { - "resourceType" : "Organization", - "id" : "1710883409749713000.7e55a44b-d848-457a-8d25-52b81ce7ffe5", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", - "valueCoding" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString" : "XON.2" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "LN" - } ], - "system" : "http://loinc.org", - "version" : "1", - "code" : "1234-5", - "display" : "TestText" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "LN" - } ], - "system" : "http://loinc.org", - "version" : "2", - "code" : "1234-5", - "display" : "TestAltText2" - } ], - "text" : "OriginalText2" + }, + { + "fullUrl": "Organization/1736358952170088748.9c1812ae-e589-44f6-9b3b-fa6dc280bbb4", + "resource": { + "resourceType": "Organization", + "id": "1736358952170088748.9c1812ae-e589-44f6-9b3b-fa6dc280bbb4", + "identifier": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", + "valueString": "HD.1" + } + ], + "value": "NPI" + } + ] + } + }, + { + "fullUrl": "Practitioner/1736358952170981056.50c9e850-57b4-4ed5-b853-602a9ed47608", + "resource": { + "resourceType": "Practitioner", + "id": "1736358952170981056.50c9e850-57b4-4ed5-b853-602a9ed47608", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", + "valueString": "NPI" + } + ] + }, + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner", + "extension": [ + { + "url": "XCN.3", + "valueString": "PD1.4NameGiven2" + }, + { + "url": "XCN.4", + "valueString": "PD1.4NameInit2" + } + ] + } + ], + "identifier": [ + { + "type": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id", + "valueBoolean": true + } + ], + "code": "NPI" + } + ] + }, + "value": "2222222222", + "assigner": { + "reference": "Organization/1736358952170088748.9c1812ae-e589-44f6-9b3b-fa6dc280bbb4" } - } ], - "system" : "LN", - "version" : "1", - "code" : "1234-5", - "display" : "TestText" - } - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code", - "valueString" : "NameRepCode" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", - "extension" : [ { - "url" : "XON.3", - "valueString" : "123" - }, { - "url" : "XON.10", - "valueString" : "OrgIdentifier" - } ] - } ], - "identifier" : [ { - "extension" : [ { - "url" : "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit", - "valueString" : "Check Digit2" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", - "valueString" : "Assigning Authority" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id", - "valueString" : "2.1.4.1" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", - "valueCode" : "ISO" - } ] - }, { - "url" : "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit", - "valueCode" : "C1" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", - "valueReference" : { - "reference" : "Location/1710883409745200000.34c2ceeb-a474-4c7d-8936-0b2c9fcd956a" } - } ], - "type" : { - "coding" : [ { - "system" : "http://terminology.hl7.org/CodeSystem/v2-0203", - "code" : "MD" - } ] - }, - "value" : "OrgIdentifier" - } ], - "name" : "Ordering Facility2" - } - }, { - "fullUrl" : "Organization/1710883409778898000.0cd60631-039e-4651-b25e-be3c97657db8", - "resource" : { - "resourceType" : "Organization", - "id" : "1710883409778898000.0cd60631-039e-4651-b25e-be3c97657db8", - "identifier" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString" : "HD.1" - } ], - "value" : "University H" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString" : "HD.2,HD.3" - } ], - "type" : { - "coding" : [ { - "system" : "http://terminology.hl7.org/CodeSystem/v2-0301", - "code" : "ISO" - } ] - }, - "system" : "urn:ietf:rfc:3986", - "value" : "2.16.840.1.113883.3.0" - } ] - } - }, { - "fullUrl" : "Organization/1710883409781592000.1e33014c-701c-4af1-8d28-5dc91415284c", - "resource" : { - "resourceType" : "Organization", - "id" : "1710883409781592000.1e33014c-701c-4af1-8d28-5dc91415284c", - "identifier" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString" : "HD.1" - } ], - "value" : "SSA" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString" : "HD.2,HD.3" - } ], - "type" : { - "coding" : [ { - "system" : "http://terminology.hl7.org/CodeSystem/v2-0301", - "code" : "ISO" - } ] - }, - "system" : "urn:ietf:rfc:3986", - "value" : "2.16.840.1.113883.3.184" - } ] - } - }, { - "fullUrl" : "Location/1710883409786390000.3dc26e87-7d9b-425d-b2b4-9dce9ed5706a", - "resource" : { - "resourceType" : "Location", - "id" : "1710883409786390000.3dc26e87-7d9b-425d-b2b4-9dce9ed5706a", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", - "valueCode" : "ISO" - } ], - "identifier" : [ { - "value" : "2.16.840.1.113883.9.11" - } ], - "name" : "Hospital A", - "physicalType" : { - "coding" : [ { - "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code" : "si" - } ] + ], + "name": [ + { + "family": "PD1.4NameFamily2", + "given": [ + "PD1.4NameGiven2", + "PD1.4NameInit2" + ] + } + ] } - } - }, { - "fullUrl" : "Organization/1710883409788424000.e01fcecb-2ddd-45c0-addc-473ed8af7845", - "resource" : { - "resourceType" : "Organization", - "id" : "1710883409788424000.e01fcecb-2ddd-45c0-addc-473ed8af7845", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", - "valueCoding" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString" : "XON.2" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "LN" - } ], - "system" : "http://loinc.org", - "version" : "1", - "code" : "1234-5", - "display" : "TestText" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "LN" - } ], - "system" : "http://loinc.org", - "version" : "2", - "code" : "1234-5", - "display" : "TestAltText" - } ], - "text" : "OriginalText" + }, + { + "fullUrl": "Provenance/1736358952179900296.a5b0c1ed-5a70-4165-994f-8397275cb363", + "resource": { + "resourceType": "Provenance", + "id": "1736358952179900296.a5b0c1ed-5a70-4165-994f-8397275cb363", + "target": [ + { + "reference": "Patient/1736358952171225679.70fba0ff-ac4b-418d-b027-60af204e9d95" + } + ], + "recorded": "2025-01-08T17:55:52Z", + "activity": { + "coding": [ + { + "system": "https://terminology.hl7.org/CodeSystem/v3-DataOperation", + "code": "UPDATE" } - } ], - "system" : "LN", - "version" : "1", - "code" : "1234-5", - "display" : "TestText" + ] } - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code", - "valueString" : "NameRepCode" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", - "extension" : [ { - "url" : "XON.3", - "valueString" : "123" - }, { - "url" : "XON.10", - "valueString" : "1st OrgIdentifier" - } ] - } ], - "identifier" : [ { - "extension" : [ { - "url" : "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit", - "valueString" : "Check Digit" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", - "valueString" : "Assigning Authority" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id", - "valueString" : "2.1.4.1" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", - "valueCode" : "ISO" - } ] - }, { - "url" : "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit", - "valueCode" : "C1" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", - "valueReference" : { - "reference" : "Location/1710883409786390000.3dc26e87-7d9b-425d-b2b4-9dce9ed5706a" + } + }, + { + "fullUrl": "Specimen/1736358952181752451.be4b2aea-59d7-42a1-9b3a-82d0b24b7dbf", + "resource": { + "resourceType": "Specimen", + "id": "1736358952181752451.be4b2aea-59d7-42a1-9b3a-82d0b24b7dbf", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment", + "valueString": "OBR" } - } ], - "type" : { - "coding" : [ { - "system" : "http://terminology.hl7.org/CodeSystem/v2-0203", - "code" : "MD" - } ] - }, - "value" : "1st OrgIdentifier" - } ], - "name" : "1st Ordering Facility" - } - }, { - "fullUrl" : "Location/1710883409790252000.1da4fb62-dee0-4234-9e0c-58282b9077d6", - "resource" : { - "resourceType" : "Location", - "id" : "1710883409790252000.1da4fb62-dee0-4234-9e0c-58282b9077d6", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", - "valueCode" : "ISO" - } ], - "identifier" : [ { - "value" : "2.16.840.1.113883.9.11" - } ], - "name" : "Hospital A", - "physicalType" : { - "coding" : [ { - "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type", - "code" : "si" - } ] + ] } - } - }, { - "fullUrl" : "Organization/1710883409792047000.4217c0aa-3c0c-485c-bc38-29027e6c6e06", - "resource" : { - "resourceType" : "Organization", - "id" : "1710883409792047000.4217c0aa-3c0c-485c-bc38-29027e6c6e06", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type", - "valueCoding" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueCodeableConcept" : { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field", - "valueString" : "XON.2" - } ], - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "LN" - } ], - "system" : "http://loinc.org", - "version" : "1", - "code" : "1234-5", - "display" : "TestText" - }, { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "alt-coding" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system", - "valueString" : "LN" - } ], - "system" : "http://loinc.org", - "version" : "2", - "code" : "1234-5", - "display" : "TestAltText" - } ], - "text" : "OriginalText" + }, + { + "fullUrl": "ServiceRequest/1736358952682459320.3bbc54ee-a645-45e4-9cf4-c5555b3459cc", + "resource": { + "resourceType": "ServiceRequest", + "id": "1736358952682459320.3bbc54ee-a645-45e4-9cf4-c5555b3459cc", + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/obr-observation-request", + "extension": [ + { + "url": "OBR.25", + "valueId": "F" + } + ] + } + ], + "status": "unknown", + "code": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "TEST" } - } ], - "system" : "LN", - "version" : "1", - "code" : "1234-5", - "display" : "TestText" + ] + }, + "subject": { + "reference": "Patient/1736358952171225679.70fba0ff-ac4b-418d-b027-60af204e9d95" } - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code", - "valueString" : "NameRepCode" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization", - "extension" : [ { - "url" : "XON.3", - "valueString" : "123" - }, { - "url" : "XON.10", - "valueString" : "2nd OrgIdentifier" - } ] - } ], - "identifier" : [ { - "extension" : [ { - "url" : "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit", - "valueString" : "Check Digit" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id", - "valueString" : "Assigning Authority" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id", - "valueString" : "2.1.4.1" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type", - "valueCode" : "ISO" - } ] - }, { - "url" : "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit", - "valueCode" : "C1" - }, { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location", - "valueReference" : { - "reference" : "Location/1710883409790252000.1da4fb62-dee0-4234-9e0c-58282b9077d6" + } + }, + { + "fullUrl": "DiagnosticReport/1736358952689539033.62e6c6d0-de0d-47bc-9ae4-8d855eb07890", + "resource": { + "resourceType": "DiagnosticReport", + "id": "1736358952689539033.62e6c6d0-de0d-47bc-9ae4-8d855eb07890", + "basedOn": [ + { + "reference": "ServiceRequest/1736358952682459320.3bbc54ee-a645-45e4-9cf4-c5555b3459cc" } - } ], - "type" : { - "coding" : [ { - "system" : "http://terminology.hl7.org/CodeSystem/v2-0203", - "code" : "MD" - } ] + ], + "status": "final", + "code": { + "coding": [ + { + "extension": [ + { + "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", + "valueString": "coding" + } + ], + "code": "TEST" + } + ] }, - "value" : "2nd OrgIdentifier" - } ], - "name" : "2nd Ordering Facility" - } - }, { - "fullUrl" : "Provenance/1710883409817956000.5a715a58-e463-4f21-be0a-6aeedaeb2720", - "resource" : { - "resourceType" : "Provenance", - "id" : "1710883409817956000.5a715a58-e463-4f21-be0a-6aeedaeb2720", - "target" : [ { - "reference" : "Patient/1710883409796711000.40f2dcee-518c-43ea-8de8-558b1a9c6516" - } ], - "recorded" : "2024-03-19T15:23:29Z", - "activity" : { - "coding" : [ { - "system" : "https://terminology.hl7.org/CodeSystem/v3-DataOperation", - "code" : "UPDATE" - } ] - } - } - }, { - "fullUrl" : "Specimen/1710883409820128000.8822d486-ff25-40bd-9731-47353fa398bd", - "resource" : { - "resourceType" : "Specimen", - "id" : "1710883409820128000.8822d486-ff25-40bd-9731-47353fa398bd", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment", - "valueString" : "OBR" - } ] - } - }, { - "fullUrl" : "ServiceRequest/1710883410203615000.b42d7a87-086a-487d-89d6-36c77f137edb", - "resource" : { - "resourceType" : "ServiceRequest", - "id" : "1710883410203615000.b42d7a87-086a-487d-89d6-36c77f137edb", - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obr-observation-request", - "extension" : [ { - "url" : "OBR.25", - "valueId" : "F" - } ] - } ], - "status" : "unknown", - "code" : { - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - } ], - "code" : "TEST" - } ] - }, - "subject" : { - "reference" : "Patient/1710883409796711000.40f2dcee-518c-43ea-8de8-558b1a9c6516" + "subject": { + "reference": "Patient/1736358952171225679.70fba0ff-ac4b-418d-b027-60af204e9d95" + }, + "specimen": [ + { + "reference": "Specimen/1736358952181752451.be4b2aea-59d7-42a1-9b3a-82d0b24b7dbf" + } + ] } } - }, { - "fullUrl" : "DiagnosticReport/1710883410209258000.106605c3-d100-4300-813b-48b7adaac54c", - "resource" : { - "resourceType" : "DiagnosticReport", - "id" : "1710883410209258000.106605c3-d100-4300-813b-48b7adaac54c", - "basedOn" : [ { - "reference" : "ServiceRequest/1710883410203615000.b42d7a87-086a-487d-89d6-36c77f137edb" - } ], - "status" : "final", - "code" : { - "coding" : [ { - "extension" : [ { - "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding", - "valueString" : "coding" - } ], - "code" : "TEST" - } ] - }, - "subject" : { - "reference" : "Patient/1710883409796711000.40f2dcee-518c-43ea-8de8-558b1a9c6516" - }, - "specimen" : [ { - "reference" : "Specimen/1710883409820128000.8822d486-ff25-40bd-9731-47353fa398bd" - } ] - } - } ] + ] } \ No newline at end of file diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/pd1/pd1-to-patient-pd1-14-1-populated.hl7 b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/pd1/pd1-to-patient-pd1-14-1-populated.hl7 index 99406692a03..5a2364e6e7a 100644 --- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/pd1/pd1-to-patient-pd1-14-1-populated.hl7 +++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/pd1/pd1-to-patient-pd1-14-1-populated.hl7 @@ -1,4 +1,4 @@ MSH|^~\&#|||||20230501102531-0400||ORU^R01^ORU_R01|12345||2.5.1|||||USA|UNICODE UTF-8 PID|1 -PD1|C^Small Children Dependent^HL70223^M^Medical Supervision Required^HL70223^2.5.1^4^TEST^M^Medical Supervision Required^HL70223^2.5.1^8.44.235.1.113883.3.3~O^Other^HL70223^U^Unknown^HL70223^2.5.1^4^TEST^M^Medical Supervision Required^HL70223^2.5.1^8.44.235.1.113883.3.3|A^Alone^HL70220^F^Family^HL70220^2.5.1^4^TEST^F^Family^HL70220^2.5.1^8.44.235.1.113883.3.3|Ordering Facility^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^OrgIdentifier~Ordering Facility2^1234-5&TestText&LN&1234-5&TestAltText2&LN&1&2&OriginalText2^123^Check Digit2^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^OrgIdentifier||F^Full-time student^HL70231^N^Not a student^HL70231^2.5.1^4^TEST^N^Not a student^HL70231^2.5.1^8.44.235.1.113883.3.3|T^TEST^HL70295^P^Prod^HL70295^2.5.1^4^TEST^D^Debug^HL70295^2.5.1^8.44.235.1.113883.3.3|F^Yes, patient has a living will but it is not on file^HL70315^I^No, patient does not have a living will but information was provided^HL70315^2.5.1^4^TEST^U^Unknown^HL70315^2.5.1^8.44.235.1.113883.3.3|F^Yes, patient is a documented donor, but documentation is not on file^HL70316^I^No, patient is not a documented donor, but information was provided^HL70316^2.5.1^4^TEST^U^Unknown^HL70316^2.5.1^8.44.235.1.113883.3.3|N|18547545^^^NIST MPI&2.16.840.1.113883.3.72.5.30.2&ISO^MR^University H&2.16.840.1.113883.3.0&ISO~111111111^^^SSN&2.16.840.1.113883.4.1&ISO^SS^SSA&2.16.840.1.113883.3.184&ISO|F^Family only^HL70215^N^No Publicity^HL70215^2.5.1^4^TEST^U^Unknown^HL70215^2.5.1^8.44.235.1.113883.3.3|N|20230501102531-0400|1st Ordering Facility^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^1st OrgIdentifier~2nd Ordering Facility^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^2nd OrgIdentifier|DNR^Do not resuscitate^HL70435^N^No directive^HL70435^2.5.1^4^TEST^N^No directive^HL70435^2.5.1^8.44.235.1.113883.3.3~DNR^Do not resuscitate^HL70435|A^Active^HL70441^I^Inactive^HL70441^2.5.1^4^TEST^O^Other^HL70441^2.5.1^8.44.235.1.113883.3.3|20230501102531-0400|20230501102531-0400|AUSA^Australian Army^HL70140^AUSFA^Australian Air Force^HL70140^2.5.1^4^TEST^AUSN^Australian Navy^HL70140^2.5.1^8.44.235.1.113883.3.3|E1... E9^Enlisted^HL70141^O1 ... O9^Officers^HL70141^2.5.1^4^TEST^W1 ... W4^Warrent Officers^HL70141^2.5.1^8.44.235.1.113883.3.3|ACT^Active duty^HL70142^DEC^Deceased^HL70142^2.5.1^4^TEST^RET^Retired^HL70142^2.5.1^8.44.235.1.113883.3.3|20230501102531-0400 +PD1|C^Small Children Dependent^HL70223^M^Medical Supervision Required^HL70223^2.5.1^4^TEST^M^Medical Supervision Required^HL70223^2.5.1^8.44.235.1.113883.3.3~O^Other^HL70223^U^Unknown^HL70223^2.5.1^4^TEST^M^Medical Supervision Required^HL70223^2.5.1^8.44.235.1.113883.3.3|A^Alone^HL70220^F^Family^HL70220^2.5.1^4^TEST^F^Family^HL70220^2.5.1^8.44.235.1.113883.3.3|Ordering Facility^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^OrgIdentifier~Ordering Facility2^1234-5&TestText&LN&1234-5&TestAltText2&LN&1&2&OriginalText2^123^Check Digit2^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^OrgIdentifier|1111111111^PD1.4NameFamily1^PD1.4NameGiven1^PD1.4NameInit1^^^^^NPI^^^^NPI~2222222222^PD1.4NameFamily2^PD1.4NameGiven2^PD1.4NameInit2^^^^^NPI^^^^NPI|F^Full-time student^HL70231^N^Not a student^HL70231^2.5.1^4^TEST^N^Not a student^HL70231^2.5.1^8.44.235.1.113883.3.3|T^TEST^HL70295^P^Prod^HL70295^2.5.1^4^TEST^D^Debug^HL70295^2.5.1^8.44.235.1.113883.3.3|F^Yes, patient has a living will but it is not on file^HL70315^I^No, patient does not have a living will but information was provided^HL70315^2.5.1^4^TEST^U^Unknown^HL70315^2.5.1^8.44.235.1.113883.3.3|F^Yes, patient is a documented donor, but documentation is not on file^HL70316^I^No, patient is not a documented donor, but information was provided^HL70316^2.5.1^4^TEST^U^Unknown^HL70316^2.5.1^8.44.235.1.113883.3.3|N|18547545^^^NIST MPI&2.16.840.1.113883.3.72.5.30.2&ISO^MR^University H&2.16.840.1.113883.3.0&ISO~111111111^^^SSN&2.16.840.1.113883.4.1&ISO^SS^SSA&2.16.840.1.113883.3.184&ISO|F^Family only^HL70215^N^No Publicity^HL70215^2.5.1^4^TEST^U^Unknown^HL70215^2.5.1^8.44.235.1.113883.3.3|N|20230501102531-0400|1st Ordering Facility^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^1st OrgIdentifier~2nd Ordering Facility^1234-5&TestText&LN&1234-5&TestAltText&LN&1&2&OriginalText^123^Check Digit^C1^Assigning Authority&2.1.4.1&ISO^MD^Hospital A&2.16.840.1.113883.9.11&ISO^NameRepCode^2nd OrgIdentifier|DNR^Do not resuscitate^HL70435^N^No directive^HL70435^2.5.1^4^TEST^N^No directive^HL70435^2.5.1^8.44.235.1.113883.3.3~DNR^Do not resuscitate^HL70435|A^Active^HL70441^I^Inactive^HL70441^2.5.1^4^TEST^O^Other^HL70441^2.5.1^8.44.235.1.113883.3.3|20230501102531-0400|20230501102531-0400|AUSA^Australian Army^HL70140^AUSFA^Australian Air Force^HL70140^2.5.1^4^TEST^AUSN^Australian Navy^HL70140^2.5.1^8.44.235.1.113883.3.3|E1... E9^Enlisted^HL70141^O1 ... O9^Officers^HL70141^2.5.1^4^TEST^W1 ... W4^Warrent Officers^HL70141^2.5.1^8.44.235.1.113883.3.3|ACT^Active duty^HL70142^DEC^Deceased^HL70142^2.5.1^4^TEST^RET^Retired^HL70142^2.5.1^8.44.235.1.113883.3.3|20230501102531-0400 OBR|1|||TEST|||||||||||||||||||||F \ No newline at end of file diff --git a/prime-router/src/testIntegration/resources/datatests/translation-test-config.csv b/prime-router/src/testIntegration/resources/datatests/translation-test-config.csv index a233d0f80c6..326656de349 100644 --- a/prime-router/src/testIntegration/resources/datatests/translation-test-config.csv +++ b/prime-router/src/testIntegration/resources/datatests/translation-test-config.csv @@ -67,7 +67,9 @@ FHIR_to_HL7/sample_MN_20240816-0001.fhir,,FHIR_to_HL7/sample_MN_20240816-0001.hl FHIR_to_HL7/sample_MA_20240805-0001.fhir,,FHIR_to_HL7/sample_MA_20240805-0001.hl7,classpath:/metadata/hl7_mapping/receivers/STLTs/MA/MA-receiver-transform.yml,HL7,PASS,"","","classpath:/metadata/fhir_transforms/senders/SimpleReport/simple-report-sender-transform.yml","","","" FHIR_to_HL7/sample_AR_20240805-0001.fhir,,FHIR_to_HL7/sample_AR_20240805-0001.hl7,classpath:/metadata/hl7_mapping/receivers/STLTs/AR/AR-receiver-transform.yml,HL7,PASS,"","","classpath:/metadata/fhir_transforms/senders/SimpleReport/simple-report-sender-transform.yml","","","" FHIR_to_HL7/sample_ME_20240806-0001.fhir,,FHIR_to_HL7/sample_ME_20240806-0001.hl7,classpath:/metadata/hl7_mapping/receivers/STLTs/ME/ME-receiver-transform.yml,HL7,PASS,"","","classpath:/metadata/fhir_transforms/senders/SimpleReport/simple-report-sender-transform.yml","","","" +FHIR_to_HL7/sample_MH_20241226-0001.fhir,,FHIR_to_HL7/sample_MH_20241226-0001.hl7,classpath:/metadata/hl7_mapping/receivers/STLTs/MH/MH-receiver-transform.yml,HL7,PASS,"","","classpath:/metadata/fhir_transforms/senders/SimpleReport/simple-report-sender-transform.yml","","","classpath:/metadata/fhir_transforms/common/datetime-to-local-majuro.yml" FHIR_to_HL7/sample_SR_CSVUPLOADER_20240819-0001.fhir,,FHIR_to_HL7/sample_SR_CSVUPLOADER_20240819-0001.hl7,classpath:/metadata/hl7_mapping/receivers/STLTs/MA/MA-receiver-transform.yml,HL7,PASS,"","","classpath:/metadata/fhir_transforms/senders/SimpleReport/simple-report-sender-transform.yml","","","" FHIR_to_HL7/mars_unwanted_condition_to_notes.fhir,,FHIR_to_HL7/mars_unwanted_condition_to_notes.hl7,classpath:/metadata/hl7_mapping/receivers/STLTs/Test/test-receiver-transform.yml,HL7,PASS,,,classpath:/metadata/fhir_transforms/senders/SimpleReport/simple-report-sender-transform.yml,,, FHIR_to_HL7/sample_SR_ENTEREDINERROR_20240904-0001.fhir,,FHIR_to_HL7/sample_SR_ENTEREDINERROR_20240904-0001.hl7,classpath:/metadata/hl7_mapping/receivers/STLTs/CA/CA-receiver-transform.yml,HL7,PASS,"","","classpath:/metadata/fhir_transforms/senders/SimpleReport/simple-report-sender-transform.yml","","","" -HL7_to_FHIR/sample_oru_20241015-001.hl7,,HL7_to_FHIR/sample_oru_20241015-001.fhir,,FHIR,PASS,"","","","","","" \ No newline at end of file +HL7_to_FHIR/sample_oru_20241015-001.hl7,,HL7_to_FHIR/sample_oru_20241015-001.fhir,,FHIR,PASS,"","","","","","" +HL7_to_FHIR_to_HL7/mmtc-msh5-msh6-sender-override.hl7,,HL7_to_FHIR_to_HL7/mmtc-msh5-msh6-sender-override-expected.hl7,classpath:/metadata/hl7_mapping/ORU_R01/ORU_R01-base.yml,HL7,PASS,"","","classpath:/metadata/fhir_transforms/senders/MMTC/mmtc-sender-transform.yml","","","" \ No newline at end of file diff --git a/submissions/build.gradle.kts b/submissions/build.gradle.kts index 5138b4bcee5..39a3c477996 100644 --- a/submissions/build.gradle.kts +++ b/submissions/build.gradle.kts @@ -1,10 +1,10 @@ apply(from = rootProject.file("buildSrc/shared.gradle.kts")) plugins { - id("org.springframework.boot") version "3.4.0" - id("io.spring.dependency-management") version "1.1.6" + id("org.springframework.boot") version "3.4.1" + id("io.spring.dependency-management") version "1.1.7" id("reportstream.project-conventions") - kotlin("plugin.spring") version "2.0.21" + kotlin("plugin.spring") version "2.1.0" } group = "gov.cdc.prime" @@ -15,7 +15,7 @@ dependencies { implementation("org.springframework.boot:spring-boot-starter-web") implementation("org.springframework.boot:spring-boot-starter-security") implementation("org.springframework.boot:spring-boot-starter-oauth2-resource-server") - implementation("org.springframework.security:spring-security-oauth2-jose:6.3.4") + implementation("org.springframework.security:spring-security-oauth2-jose:6.4.2") implementation("com.azure.spring:spring-cloud-azure-starter-storage") implementation("com.microsoft.azure:applicationinsights-runtime-attach:3.6.2") @@ -40,7 +40,7 @@ configurations.all { dependencyManagement { imports { - mavenBom("com.azure.spring:spring-cloud-azure-dependencies:5.18.0") + mavenBom("com.azure.spring:spring-cloud-azure-dependencies:5.19.0") } }