From 70ed00b66da1afc37d7b4e503acf3b574dff79ac Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Sun, 6 Oct 2024 07:47:06 +0000
Subject: [PATCH 01/61] Bump com.azure:azure-identity from 1.13.3 to 1.14.0 in
/prime-router
Bumps [com.azure:azure-identity](https://github.com/Azure/azure-sdk-for-java) from 1.13.3 to 1.14.0.
- [Release notes](https://github.com/Azure/azure-sdk-for-java/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-java/compare/azure-identity_1.13.3...azure-core_1.14.0)
---
updated-dependencies:
- dependency-name: com.azure:azure-identity
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
---
prime-router/build.gradle.kts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/prime-router/build.gradle.kts b/prime-router/build.gradle.kts
index 5705ce5bd18..aca7fdfabb8 100644
--- a/prime-router/build.gradle.kts
+++ b/prime-router/build.gradle.kts
@@ -871,7 +871,7 @@ dependencies {
exclude(group = "com.azure", module = "azure-core")
exclude(group = "com.azure", module = "azure-core-http-netty")
}
- implementation("com.azure:azure-identity:1.13.3") {
+ implementation("com.azure:azure-identity:1.14.0") {
exclude(group = "com.azure", module = "azure-core")
exclude(group = "com.azure", module = "azure-core-http-netty")
}
From df0bcf53ca4630c43f70f36ba488cf5ca122f25b Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Sun, 13 Oct 2024 08:01:05 +0000
Subject: [PATCH 02/61] Bump io.mockk:mockk from 1.13.12 to 1.13.13 in
/prime-router
Bumps [io.mockk:mockk](https://github.com/mockk/mockk) from 1.13.12 to 1.13.13.
- [Release notes](https://github.com/mockk/mockk/releases)
- [Commits](https://github.com/mockk/mockk/compare/1.13.12...1.13.13)
---
updated-dependencies:
- dependency-name: io.mockk:mockk
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
---
prime-router/build.gradle.kts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/prime-router/build.gradle.kts b/prime-router/build.gradle.kts
index c8dcd983c41..715deed6035 100644
--- a/prime-router/build.gradle.kts
+++ b/prime-router/build.gradle.kts
@@ -987,7 +987,7 @@ dependencies {
runtimeOnly("io.jsonwebtoken:jjwt-jackson:0.11.5")
testImplementation(kotlin("test-junit5"))
- testImplementation("io.mockk:mockk:1.13.12")
+ testImplementation("io.mockk:mockk:1.13.13")
testImplementation("io.ktor:ktor-client-mock:$ktorVersion")
implementation(project(":shared"))
From cf311bb86e477d9077285bc09c8cd79eae082171 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Sun, 13 Oct 2024 08:43:04 +0000
Subject: [PATCH 03/61] Bump com.nimbusds:oauth2-oidc-sdk from 11.19.1 to
11.20.1 in /auth
Bumps [com.nimbusds:oauth2-oidc-sdk](https://bitbucket.org/connect2id/oauth-2.0-sdk-with-openid-connect-extensions) from 11.19.1 to 11.20.1.
- [Changelog](https://bitbucket.org/connect2id/oauth-2.0-sdk-with-openid-connect-extensions/src/master/CHANGELOG.txt)
- [Commits](https://bitbucket.org/connect2id/oauth-2.0-sdk-with-openid-connect-extensions/branches/compare/11.20.1..11.19.1)
---
updated-dependencies:
- dependency-name: com.nimbusds:oauth2-oidc-sdk
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
---
auth/build.gradle.kts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/auth/build.gradle.kts b/auth/build.gradle.kts
index 9a8b9d8a923..4c7f86fae99 100644
--- a/auth/build.gradle.kts
+++ b/auth/build.gradle.kts
@@ -24,7 +24,7 @@ dependencies {
implementation("org.springframework.cloud:spring-cloud-gateway-webflux")
implementation("org.springframework.boot:spring-boot-starter-oauth2-resource-server")
- runtimeOnly("com.nimbusds:oauth2-oidc-sdk:11.19.1")
+ runtimeOnly("com.nimbusds:oauth2-oidc-sdk:11.20.1")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("org.springframework.security:spring-security-test")
From 93a263c3655b5d3da65c168b90cdc36bc2dae7c1 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Sun, 13 Oct 2024 08:43:57 +0000
Subject: [PATCH 04/61] Bump plugin.spring from 2.0.0 to 2.0.21 in /auth
Bumps [plugin.spring](https://github.com/JetBrains/kotlin) from 2.0.0 to 2.0.21.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v2.0.21/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v2.0.0...v2.0.21)
---
updated-dependencies:
- dependency-name: plugin.spring
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
---
auth/build.gradle.kts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/auth/build.gradle.kts b/auth/build.gradle.kts
index 9a8b9d8a923..174d2e3b0e2 100644
--- a/auth/build.gradle.kts
+++ b/auth/build.gradle.kts
@@ -4,7 +4,7 @@ plugins {
id("org.springframework.boot") version "3.3.4"
id("io.spring.dependency-management") version "1.1.6"
id("reportstream.project-conventions")
- kotlin("plugin.spring") version "2.0.0"
+ kotlin("plugin.spring") version "2.0.21"
}
group = "gov.cdc.prime"
From 403ae3895ad02825e5a187ccb68218403fd55e50 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Sun, 13 Oct 2024 08:44:13 +0000
Subject: [PATCH 05/61] Bump com.azure.spring:spring-cloud-azure-dependencies
in /auth
Bumps [com.azure.spring:spring-cloud-azure-dependencies](https://github.com/Azure/azure-sdk-for-java) from 5.16.0 to 5.17.1.
- [Release notes](https://github.com/Azure/azure-sdk-for-java/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-java/compare/spring-cloud-azure_5.16.0...spring-cloud-azure_5.17.1)
---
updated-dependencies:
- dependency-name: com.azure.spring:spring-cloud-azure-dependencies
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
---
auth/build.gradle.kts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/auth/build.gradle.kts b/auth/build.gradle.kts
index 9a8b9d8a923..54572381d8a 100644
--- a/auth/build.gradle.kts
+++ b/auth/build.gradle.kts
@@ -45,7 +45,7 @@ configurations.all {
dependencyManagement {
imports {
- mavenBom("com.azure.spring:spring-cloud-azure-dependencies:5.16.0")
+ mavenBom("com.azure.spring:spring-cloud-azure-dependencies:5.17.1")
mavenBom("org.springframework.cloud:spring-cloud-dependencies:2023.0.3")
}
}
From 905b9044fbd59f76572c4503ffb7a8a4932e4482 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Sun, 13 Oct 2024 08:47:13 +0000
Subject: [PATCH 06/61] Bump plugin.spring from 2.0.20 to 2.0.21 in
/submissions
Bumps [plugin.spring](https://github.com/JetBrains/kotlin) from 2.0.20 to 2.0.21.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v2.0.21/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v2.0.20...v2.0.21)
---
updated-dependencies:
- dependency-name: plugin.spring
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
---
submissions/build.gradle.kts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/submissions/build.gradle.kts b/submissions/build.gradle.kts
index 8c96e222de5..f31054a0d09 100644
--- a/submissions/build.gradle.kts
+++ b/submissions/build.gradle.kts
@@ -4,7 +4,7 @@ plugins {
id("org.springframework.boot") version "3.3.4"
id("io.spring.dependency-management") version "1.1.6"
id("reportstream.project-conventions")
- kotlin("plugin.spring") version "2.0.20"
+ kotlin("plugin.spring") version "2.0.21"
}
group = "gov.cdc.prime"
From d2b3376dd5b412a196eadb073482fd9b806e963a Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Sun, 20 Oct 2024 07:53:48 +0000
Subject: [PATCH 07/61] Bump com.avast.gradle.docker-compose in /prime-router
Bumps [com.avast.gradle.docker-compose](https://github.com/avast/gradle-docker-compose-plugin) from 0.17.8 to 0.17.10.
- [Release notes](https://github.com/avast/gradle-docker-compose-plugin/releases)
- [Commits](https://github.com/avast/gradle-docker-compose-plugin/compare/0.17.8...0.17.10)
---
updated-dependencies:
- dependency-name: com.avast.gradle.docker-compose
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
---
prime-router/build.gradle.kts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/prime-router/build.gradle.kts b/prime-router/build.gradle.kts
index c8dcd983c41..81c269e3323 100644
--- a/prime-router/build.gradle.kts
+++ b/prime-router/build.gradle.kts
@@ -42,7 +42,7 @@ plugins {
id("com.adarshr.test-logger") version "4.0.0"
id("jacoco")
id("org.jetbrains.dokka") version "1.8.20"
- id("com.avast.gradle.docker-compose") version "0.17.8"
+ id("com.avast.gradle.docker-compose") version "0.17.10"
id("org.jetbrains.kotlin.plugin.serialization") version "$kotlinVersion"
id("com.nocwriter.runsql") version ("1.0.3")
id("io.swagger.core.v3.swagger-gradle-plugin") version "2.2.23"
From 6f3afbe543bc73a8004f6d049c1e33b69207e4be Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Sun, 20 Oct 2024 07:54:11 +0000
Subject: [PATCH 08/61] Bump com.azure:azure-security-keyvault-secrets in
/prime-router
Bumps [com.azure:azure-security-keyvault-secrets](https://github.com/Azure/azure-sdk-for-java) from 4.8.7 to 4.9.0.
- [Release notes](https://github.com/Azure/azure-sdk-for-java/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-java/compare/azure-security-keyvault-keys_4.8.7...azure-cosmos_4.9.0)
---
updated-dependencies:
- dependency-name: com.azure:azure-security-keyvault-secrets
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
---
prime-router/build.gradle.kts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/prime-router/build.gradle.kts b/prime-router/build.gradle.kts
index c8dcd983c41..aeb2bd8119f 100644
--- a/prime-router/build.gradle.kts
+++ b/prime-router/build.gradle.kts
@@ -867,7 +867,7 @@ dependencies {
implementation("com.azure:azure-storage-queue:12.22.0") {
exclude(group = "com.azure", module = "azure-core")
}
- implementation("com.azure:azure-security-keyvault-secrets:4.8.7") {
+ implementation("com.azure:azure-security-keyvault-secrets:4.9.0") {
exclude(group = "com.azure", module = "azure-core")
exclude(group = "com.azure", module = "azure-core-http-netty")
}
From 5aa3bab8f3682b943e8a865cda215944af16efe7 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 23 Oct 2024 14:50:29 +0000
Subject: [PATCH 09/61] Bump org.commonmark:commonmark from 0.23.0 to 0.24.0 in
/prime-router
Bumps [org.commonmark:commonmark](https://github.com/commonmark/commonmark-java) from 0.23.0 to 0.24.0.
- [Release notes](https://github.com/commonmark/commonmark-java/releases)
- [Changelog](https://github.com/commonmark/commonmark-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/commonmark/commonmark-java/compare/commonmark-parent-0.23.0...commonmark-parent-0.24.0)
---
updated-dependencies:
- dependency-name: org.commonmark:commonmark
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
---
prime-router/build.gradle.kts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/prime-router/build.gradle.kts b/prime-router/build.gradle.kts
index 267caf5989d..cc1d3fc8dd3 100644
--- a/prime-router/build.gradle.kts
+++ b/prime-router/build.gradle.kts
@@ -926,7 +926,7 @@ dependencies {
implementation("com.zaxxer:HikariCP:6.0.0")
implementation("org.flywaydb:flyway-core:10.18.2")
implementation("org.flywaydb:flyway-database-postgresql:10.18.2")
- implementation("org.commonmark:commonmark:0.23.0")
+ implementation("org.commonmark:commonmark:0.24.0")
implementation("com.google.guava:guava:33.3.1-jre")
implementation("com.helger.as2:as2-lib:5.1.2")
implementation("org.bouncycastle:bcprov-jdk15to18:1.78.1")
From c74b7a871c09e3f1a771eee22a8a46ee0d1adac2 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 23 Oct 2024 14:50:35 +0000
Subject: [PATCH 10/61] Bump
org.springframework.security:spring-security-oauth2-jose
Bumps [org.springframework.security:spring-security-oauth2-jose](https://github.com/spring-projects/spring-security) from 6.3.3 to 6.3.4.
- [Release notes](https://github.com/spring-projects/spring-security/releases)
- [Changelog](https://github.com/spring-projects/spring-security/blob/main/RELEASE.adoc)
- [Commits](https://github.com/spring-projects/spring-security/compare/6.3.3...6.3.4)
---
updated-dependencies:
- dependency-name: org.springframework.security:spring-security-oauth2-jose
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
---
submissions/build.gradle.kts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/submissions/build.gradle.kts b/submissions/build.gradle.kts
index 8c96e222de5..b246c65b133 100644
--- a/submissions/build.gradle.kts
+++ b/submissions/build.gradle.kts
@@ -16,7 +16,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.3")
+ implementation("org.springframework.security:spring-security-oauth2-jose:6.3.4")
implementation("com.azure.spring:spring-cloud-azure-starter-storage")
implementation("com.microsoft.azure:applicationinsights-runtime-attach:3.5.4")
From e560ca898bbb29d7cb3929bd214c6bcfaf5923a3 Mon Sep 17 00:00:00 2001
From: Josh Fisk
Date: Mon, 7 Oct 2024 17:54:48 -0700
Subject: [PATCH 11/61] Update OML mappings (#15910)
* Update OML FHIR -> HL7 Mappings
* Update OML HL7 -> FHIR mappings
* Add OML mapping integration tests
* Removing unused FHIR -> HL7 mappings
* Adding OML to CWE/CE override
* Adjusting existing tests
* Adding tests for new misc mappings
* Update existing OML integration tests
* Fixing integration tests after rebase
* expected oru changes
* Specimen.collection conditional update
* Updating formatting for cleaner diff
* Missed e2e test updates
* PRT <-> Device mappings will be taken care of in the next PR
* Changed line endings from CRLF to LF
* Removing OML use of HL7v2Name url
---
.../HL7/catchall/hl7/message/OML_O21.yml | 68 +-
.../HL7/catchall/hl7/message/ORU_R01.yml | 4 +-
.../hl7/segments/ORC/ServiceRequest.yml | 21 +
.../catchall/hl7/segments/ORC/Specimen.yml | 30 +-
.../HL7/catchall/hl7/segments/PID/Patient.yml | 12 +-
.../main/kotlin/fhirengine/utils/HL7Reader.kt | 8 +
.../hl7_mapping/OML_O21/OML_O21-base.yml | 72 +-
.../hl7_mapping/OML_O21/OML_O21-test.yml | 8 +
.../observation-request-base.yml | 15 +
.../observation-request.yml | 14 +
.../observation/observation.yml | 22 +
.../observation-request/specimen/specimen.yml | 15 +
.../OML_O21/base/order/order-base.yml | 12 +
.../OML_O21/base/patient/patient-base.yml | 12 +
.../OML_O21/base/patient/patient-visit.yml | 16 +
.../OML_O21/base/patient/patient.yml | 28 +
.../service-request-order-observation.yml | 12 -
.../OML_O21/base/service-request-order.yml | 42 -
.../hl7_mapping/OML_O21/deprecated.md | 6 -
.../hl7_mapping/ORU_R01/ORU_R01-base.yml | 7 +-
.../order-observation/order-observation.yml | 10 +-
.../hl7_mapping/ORU_R01/deprecated.md | 6 -
.../common/datatype/ei-entity-identifier.yml | 22 -
.../common/datatype/sn-structured-numeric.yml | 25 -
.../common/datatype/xad-extended-address.yml | 2 +-
.../common/datatype/xon-organization.yml | 42 -
.../common/observation-request.yml | 51 -
.../hl7_mapping/common/observation-result.yml | 259 --
.../metadata/hl7_mapping/common/specimen.yml | 147 -
.../resources/DiagnosticReport/OBR.yml | 3 -
.../resources/Observation/OBXValue.yml | 2 -
.../resources/ServiceRequest/OBR.yml | 18 +-
.../resources/ServiceRequest/ORC.yml | 3 -
.../common/UniversalPipelineTestUtils.kt | 10 +-
.../Expected_HL7_to_FHIR_FULLELR.fhir | 240 +-
.../Expected_HL7_to_FHIR_MARSOTC.fhir | 13 +-
.../catchall/omlo21/OMLO21Full.kt | 17 +
...BRToServiceRequestDiagnosticReportTests.kt | 19 +-
.../FHIR_to_HL7/sample_OML_20230831-0001.fhir | 2336 +++++++-------
.../HL7_to_FHIR/sample_oml_20240319-001.fhir | 2476 ++++++++++-----
.../HL7_to_FHIR/sample_oml_20240319-001.hl7 | 2 +-
.../ei/EI-to-Identifier-Extension.fhir | 11 +-
.../NK1-to-RelatedPerson-with-repeats.fhir | 23 +
.../catchall/nk1/NK1-to-RelatedPerson.fhir | 23 +
.../catchall/omlo21/oml_o21-full.fhir | 2735 +++++++++++++++++
.../catchall/omlo21/oml_o21-full.hl7 | 11 +
...erequest_diagnosticreport-OML-message.fhir | 228 ++
...cerequest_diagnosticreport-OML-message.hl7 | 6 +
...equest_diagnosticreport-obr-populated.fhir | 236 +-
...est_diagnosticreport-obr25-not-mapped.fhir | 11 +-
...sticreport-obr25-obrext-not-populated.fhir | 11 +-
...servicerequest_diagnosticreport-obr25.fhir | 11 +-
...t_diagnosticreport-obr8-not-populated.fhir | 15 +-
...st_diagnosticreport-obr8-not-populated.hl7 | 2 +-
...quest_diagnosticreport-obr8-populated.fhir | 192 ++
...equest_diagnosticreport-obr8-populated.hl7 | 3 +
...st_diagnosticreport-orc-obr-populated.fhir | 236 +-
.../catchall/orur01/oru_r01-full.fhir | 46 +-
...-practitioner-dns-assigning-authority.fhir | 175 ++
...-iso-assigning-authority-no-namespace.fhir | 147 +
...uuid-assigning-authority-no-namespace.fhir | 147 +
...practitioner-uuid-assigning-authority.fhir | 148 +
...tioner-xcn17-populated-xcn19-20-empty.fhir | 176 ++
...tioner-xcn19-20-populated-xcn17-empty.fhir | 175 ++
64 files changed, 8200 insertions(+), 2695 deletions(-)
create mode 100644 prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/OML_O21-test.yml
create mode 100644 prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/order/observation-request/observation-request-base.yml
create mode 100644 prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/order/observation-request/observation-request.yml
create mode 100644 prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/order/observation-request/observation/observation.yml
create mode 100644 prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/order/observation-request/specimen/specimen.yml
create mode 100644 prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/order/order-base.yml
create mode 100644 prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/patient/patient-base.yml
create mode 100644 prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/patient/patient-visit.yml
create mode 100644 prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/patient/patient.yml
delete mode 100644 prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/service-request-order-observation.yml
delete mode 100644 prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/service-request-order.yml
delete mode 100644 prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/deprecated.md
delete mode 100644 prime-router/src/main/resources/metadata/hl7_mapping/ORU_R01/deprecated.md
delete mode 100644 prime-router/src/main/resources/metadata/hl7_mapping/common/datatype/ei-entity-identifier.yml
delete mode 100644 prime-router/src/main/resources/metadata/hl7_mapping/common/datatype/sn-structured-numeric.yml
delete mode 100644 prime-router/src/main/resources/metadata/hl7_mapping/common/datatype/xon-organization.yml
delete mode 100644 prime-router/src/main/resources/metadata/hl7_mapping/common/observation-request.yml
delete mode 100644 prime-router/src/main/resources/metadata/hl7_mapping/common/observation-result.yml
delete mode 100644 prime-router/src/main/resources/metadata/hl7_mapping/common/specimen.yml
create mode 100644 prime-router/src/testIntegration/kotlin/datatests/mappinginventory/catchall/omlo21/OMLO21Full.kt
create mode 100644 prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/omlo21/oml_o21-full.fhir
create mode 100644 prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/omlo21/oml_o21-full.hl7
create mode 100644 prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-OML-message.fhir
create mode 100644 prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-OML-message.hl7
create mode 100644 prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr8-populated.fhir
create mode 100644 prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr8-populated.hl7
diff --git a/prime-router/metadata/HL7/catchall/hl7/message/OML_O21.yml b/prime-router/metadata/HL7/catchall/hl7/message/OML_O21.yml
index 7e5b303b697..367e43669a8 100644
--- a/prime-router/metadata/HL7/catchall/hl7/message/OML_O21.yml
+++ b/prime-router/metadata/HL7/catchall/hl7/message/OML_O21.yml
@@ -8,27 +8,48 @@ resources:
repeats: false
isReferenced: false
+ - resourceName: Provenance
+ segment: MSH
+ resourcePath: segments/MSH/Provenance-Source
+
+ - resourceName: Provenance
+ segment: MSH
+ resourcePath: segments/MSH/Provenance-Transformation
+
- resourceName: Patient
segment: .PID
group: PATIENT
resourcePath: segments/PID/Patient
isReferenced: true
repeats: false
+ additionalSegments:
+ - .PD1
+ - MSH
+ - .NTE
+ - .NK1
- - resourceName: ServiceRequest
- segment: .ORC
- group: ORDER
- resourcePath: segments/ORC/ServiceRequest
+ - resourceName: Provenance
+ segment: .PID
+ group: PATIENT
+ resourcePath: segments/PID/Provenance-Patient
+
+ - resourceName: RelatedPerson
+ segment: .NK1
+ group: PATIENT
+ resourcePath: segments/NK1/RelatedPerson
+ isReferenced: false
repeats: true
+
+ - resourceName: Encounter
+ segment: .PV1
+ group: PATIENT.PATIENT_VISIT
+ resourcePath: segments/PV1/Encounter
isReferenced: true
additionalSegments:
- - .OBSERVATION_REQUEST.OBR
- - .OBSERVATION_REQUEST.NTE
- - PATIENT.PATIENT_VISIT.PV1
+ - .PV2
- MSH
- - PATIENT.PID
- - resourceName: Observation
+ - resourceName: OMLObservation
segment: .OBSERVATION_REQUEST.OBSERVATION.OBX
group: ORDER
resourcePath: segments/OBX/Observation
@@ -40,11 +61,32 @@ resources:
- .OBSERVATION_REQUEST.OBSERVATION.NTE
- MSH
- - resourceName: Specimen
- segment: SPECIMEN.SPM
- group: ORDER.OBSERVATION_REQUEST
+ - resourceName: OMLSpecimenSource
+ segment: .OBSERVATION_REQUEST.OBR
+ group: ORDER
+ resourcePath: segments/ORC/Specimen
+ isReferenced: true
+ repeats: true
+
+ - resourceName: OMLSpecimen
+ segment: .OBSERVATION_REQUEST.SPECIMEN.SPM
+ group: ORDER
resourcePath: segments/SPM/Specimen
repeats: true
isReferenced: true
additionalSegments:
- - MSH
\ No newline at end of file
+ - MSH
+
+ - resourceName: ServiceRequest
+ segment: .ORC
+ group: ORDER
+ resourcePath: segments/ORC/ServiceRequest
+ repeats: true
+ isReferenced: true
+ additionalSegments:
+ - .OBSERVATION_REQUEST.OBR
+ - .OBSERVATION_REQUEST.NTE
+ - PATIENT.PATIENT_VISIT.PV1
+ - MSH
+ - PATIENT.PID
+ - .OBSERVATION_REQUEST.OBSERVATION.OBX
\ No newline at end of file
diff --git a/prime-router/metadata/HL7/catchall/hl7/message/ORU_R01.yml b/prime-router/metadata/HL7/catchall/hl7/message/ORU_R01.yml
index 8fefc94aec4..70d1b4b86d1 100644
--- a/prime-router/metadata/HL7/catchall/hl7/message/ORU_R01.yml
+++ b/prime-router/metadata/HL7/catchall/hl7/message/ORU_R01.yml
@@ -28,8 +28,8 @@ resources:
- .NK1
- resourceName: Provenance
- group: PATIENT_RESULT.PATIENT
segment: .PID
+ group: PATIENT_RESULT.PATIENT
resourcePath: segments/PID/Provenance-Patient
- resourceName: RelatedPerson
@@ -45,7 +45,7 @@ resources:
resourcePath: segments/PV1/Encounter
isReferenced: true
additionalSegments:
- - .PATIENT.VISIT.PV2
+ - .VISIT.PV2
- MSH
- resourceName: Observation
diff --git a/prime-router/metadata/HL7/catchall/hl7/segments/ORC/ServiceRequest.yml b/prime-router/metadata/HL7/catchall/hl7/segments/ORC/ServiceRequest.yml
index a914e822208..b117581e184 100644
--- a/prime-router/metadata/HL7/catchall/hl7/segments/ORC/ServiceRequest.yml
+++ b/prime-router/metadata/HL7/catchall/hl7/segments/ORC/ServiceRequest.yml
@@ -348,6 +348,27 @@ subject:
expressionType: resource
specs: $Patient
+specimen:
+ generateList: true
+ expressionType: nested
+ expressions:
+ - valueOf: datatype/Reference
+ generateList: true
+ expressionType: resource
+ specs: $OMLSpecimen
+ useGroup: true
+ - valueOf: datatype/Reference
+ expressionType: resource
+ specs: $OMLSpecimenSource
+ useGroup: true
+
+supportingInfo:
+ generateList: true
+ valueOf: datatype/Reference
+ expressionType: resource
+ specs: $OMLObservation
+ useGroup: true
+
note:
valueOf: segments/NTE/Annotation
expressionType: resource
diff --git a/prime-router/metadata/HL7/catchall/hl7/segments/ORC/Specimen.yml b/prime-router/metadata/HL7/catchall/hl7/segments/ORC/Specimen.yml
index b3135cde3a6..b43c8db1440 100644
--- a/prime-router/metadata/HL7/catchall/hl7/segments/ORC/Specimen.yml
+++ b/prime-router/metadata/HL7/catchall/hl7/segments/ORC/Specimen.yml
@@ -29,9 +29,15 @@ container:
expressionType: HL7Spec
collection:
- condition: $spm7 NOT_NULL
+ condition: $obr7 NOT_NULL || $obr8 NOT_NULL || $obr9 NOT_NULL || $obr10 NOT_NULL || $obr15 NOT_NULL
expressionType: nested
generateList: true
+ vars:
+ obr7: OBR.7
+ obr8: OBR.8
+ obr9: OBR.9
+ obr10: OBR.10
+ obr15: OBR.15
expressionsMap:
bodySite:
valueOf: datatypes/CWE/CodeableConcept
@@ -62,6 +68,24 @@ collection:
type: STRING
valueOf: "GeneralUtils.dateTimeWithZoneId(dateTimeIn,ZONEID)"
expressionType: JEXL
+ _collectedDateTime:
+ condition: $dateTimeIn NOT_NULL && $end NULL
+ expressionType: nested
+ vars:
+ dateTimeIn: OBR.7
+ end: OBR.8
+ expressionsMap:
+ extension_1:
+ generateList: true
+ expressionType: nested
+ expressionsMap:
+ url:
+ type: SYSTEM_URL
+ value: hl7v2-date-time
+ valueString:
+ type: STRING
+ valueOf: $dateTimeIn
+ expressionType: HL7Spec
collector:
condition: $obr10 NOT_NULL
vars:
@@ -87,10 +111,10 @@ note_specimen-source:
expressionsMap:
url:
type: SYSTEM_URL
- value: hl7v2Name
+ value: hl7v2Component
valueString:
type: STRING
- valueOf: specimen-source
+ valueOf: OBR.15.3
note_collectors-comment:
condition: $obr39 NOT_NULL
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 f11717e35c6..3dc555ef779 100644
--- a/prime-router/metadata/HL7/catchall/hl7/segments/PID/Patient.yml
+++ b/prime-router/metadata/HL7/catchall/hl7/segments/PID/Patient.yml
@@ -91,9 +91,15 @@ contact:
vars:
nk141: STRING, NK1.41
relationship:
- valueOf: datatypes/CWE/CodeableConcept
- expressionType: resource
- specs: NK1.7
+ generateList: true
+ expressionType: nested
+ expressions:
+ - valueOf: datatypes/CWE/CodeableConcept
+ expressionType: resource
+ specs: NK1.3
+ - valueOf: datatypes/CWE/CodeableConcept
+ expressionType: resource
+ specs: NK1.7
period:
vars:
startDate: NK1.8
diff --git a/prime-router/src/main/kotlin/fhirengine/utils/HL7Reader.kt b/prime-router/src/main/kotlin/fhirengine/utils/HL7Reader.kt
index 95a9244fa21..bc4b8c4fea2 100644
--- a/prime-router/src/main/kotlin/fhirengine/utils/HL7Reader.kt
+++ b/prime-router/src/main/kotlin/fhirengine/utils/HL7Reader.kt
@@ -24,6 +24,7 @@ import java.util.Date
import ca.uhn.hl7v2.model.v251.message.OML_O21 as v251_OML_O21
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.OML_O21 as v27_OML_O21
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
@@ -141,6 +142,7 @@ class HL7Reader(private val actionLogger: ActionLogger) : Logging {
}
"OML" -> {
return listOf(
+ v27_OML_O21::class.java,
v251_OML_O21::class.java
)
}
@@ -301,6 +303,12 @@ class HL7Reader(private val actionLogger: ActionLogger) : Logging {
ValidationContextFactory.noValidation(),
ReportStreamCanonicalModelClassFactory(ORU_R01::class.java),
)
+ } else if (hl7MessageType?.msh93 == "OML_O21") {
+ DefaultHapiContext(
+ ParserConfiguration(),
+ ValidationContextFactory.noValidation(),
+ ReportStreamCanonicalModelClassFactory(v27_OML_O21::class.java),
+ )
} else {
DefaultHapiContext(ValidationContextFactory.noValidation())
}
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 d59be416ead..408334e10f3 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
@@ -1,9 +1,11 @@
# $schema: ./../../../../../../metadata/json_schema/fhir/fhir-to-hl7-mapping.json
-hl7Class: ca.uhn.hl7v2.model.v251.message.OML_O21
+hl7Class: ca.uhn.hl7v2.model.v27.message.OML_O21
+
constants:
# Prefix for RS custom extension URLs
rsext: '"https://reportstream.cdc.gov/fhir/StructureDefinition/"'
+
elements:
- name: message-headers
condition: >
@@ -15,63 +17,25 @@ elements:
schema: classpath:/metadata/hl7_mapping/resources/MessageHeader/MSH.yml
- name: software-segment
- condition: 'Bundle.entry.resource.ofType(MessageHeader).exists()'
+ resource: 'Bundle.entry.resource.ofType(Provenance).where(entity.exists()).entity.what.resolve()'
+ schema: classpath:/metadata/hl7_mapping/resources/Device/SFT.yml
+
+ - name: software-segment-legacy
+ condition: >
+ Bundle.entry.resource.ofType(MessageHeader).exists() and
+ (Bundle.entry.resource.ofType(MessageHeader).source.extension(%`rsext-software-vendor-org`).exists() or
+ Bundle.entry.resource.ofType(Provenance).exists().not())
resource: 'Bundle.entry.resource.ofType(MessageHeader)'
schema: classpath:/metadata/hl7_mapping/resources/MessageHeader/SFT.yml
- - name: patient-information
- resource: 'Bundle.entry.resource.ofType(Patient)'
- condition: '%resource.count() = 1'
- required: true
- constants:
- hl7SegmentGroup: '/PATIENT'
- schema: classpath:/metadata/hl7_mapping/common/patient.yml
-
- - name: patient-contact
- resource: 'Bundle.entry.resource.ofType(Patient).contact'
- condition: '%resource.exists()'
- constants:
- hl7SegmentGroup: '/PATIENT'
- schema: classpath:/metadata/hl7_mapping/common/patient-contact.yml
-
- - name: patient-visit
- resource: 'Bundle.entry.resource.ofType(Encounter)'
+ - name: patient-base
condition: '%resource.count() = 1'
- constants:
- hl7SegmentGroup: '/PATIENT/PATIENT_VISIT'
- schema: classpath:/metadata/hl7_mapping/common/patient-visit.yml
-
- - name: order
- resource: Bundle.entry.resource.ofType(ServiceRequest)
- condition: '%resource.count() > 0'
- required: true
- schema: classpath:/metadata/hl7_mapping/OML_O21/base/service-request-order.yml
- constants:
- hl7SegmentGroup: '/ORDER'
+ resource: 'Bundle.entry.resource.ofType(Patient)'
+ resourceIndex: patientIndex
+ schema: classpath:/metadata/hl7_mapping/OML_O21/base/patient/patient-base.yml
- - name: order-observation-request
- resource: Bundle.entry.resource.ofType(ServiceRequest)
- condition: '%resource.count() > 0'
- required: true
- constants:
- hl7SegmentGroup: '/ORDER/OBSERVATION_REQUEST'
- schema: classpath:/metadata/hl7_mapping/OML_O21/base/service-request-order-observation.yml
+ - name: order-base
+ resource: 'Bundle.entry.resource.ofType(ServiceRequest).where(subject.resolve().id = %resource.entry.resource.ofType(Patient).id)'
resourceIndex: orderIndex
-
- - name: order-observation-result
- resource: Bundle.entry.resource.ofType(Observation)
- condition: '%resource.count() > 0'
- required: true
- schema: classpath:/metadata/hl7_mapping/common/observation-result.yml
- constants:
- hl7SegmentGroup: '/ORDER/OBSERVATION_REQUEST/OBSERVATION(%{resultIndex})'
- hl7OBXField: '%{hl7SegmentGroup}/OBX'
- resourceIndex: resultIndex
-
- - name: order-specimen
- resource: Bundle.entry.resource.ofType(Specimen)
- condition: '%resource.count() = 1'
required: true
- schema: classpath:/metadata/hl7_mapping/common/specimen.yml
- constants:
- hl7SpecimenFieldPath: /ORDER/OBSERVATION_REQUEST/SPECIMEN/SPM
\ No newline at end of file
+ schema: classpath:/metadata/hl7_mapping/OML_O21/base/order/order-base.yml
\ No newline at end of file
diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/OML_O21-test.yml b/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/OML_O21-test.yml
new file mode 100644
index 00000000000..d9c02000ec8
--- /dev/null
+++ b/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/OML_O21-test.yml
@@ -0,0 +1,8 @@
+# $schema: ./../../../../../../metadata/json_schema/fhir/fhir-to-hl7-mapping.json
+
+hl7Class: ca.uhn.hl7v2.model.v27.message.OML_O21
+
+extends: classpath:/metadata/hl7_mapping/OML_O21/OML_O21-base.yml
+elements:
+ - name: message-headers
+ condition: 'true'
\ No newline at end of file
diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/order/observation-request/observation-request-base.yml b/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/order/observation-request/observation-request-base.yml
new file mode 100644
index 00000000000..8a6f0c4db02
--- /dev/null
+++ b/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/order/observation-request/observation-request-base.yml
@@ -0,0 +1,15 @@
+# $schema: ./../../../../../../../../../metadata/json_schema/fhir/fhir-to-hl7-mapping.json
+
+elements:
+
+ - name: observation-request
+ required: true
+ schema: classpath:/metadata/hl7_mapping/OML_O21/base/order/observation-request/observation-request.yml
+
+ - name: observation-request-observation
+ schema: classpath:/metadata/hl7_mapping/OML_O21/base/order/observation-request/observation/observation.yml
+
+ - name: observation-request-specimen
+ resource: '%resource.specimen.resolve().where(extension(%`rsext-hl7v2Segment`).value = "SPM") | %resource.specimen.resolve().where(extension(%`rsext-hl7v2Segment`).exists().not())'
+ resourceIndex: specimenIndex
+ schema: classpath:/metadata/hl7_mapping/OML_O21/base/order/observation-request/specimen/specimen.yml
\ No newline at end of file
diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/order/observation-request/observation-request.yml b/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/order/observation-request/observation-request.yml
new file mode 100644
index 00000000000..73879a89232
--- /dev/null
+++ b/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/order/observation-request/observation-request.yml
@@ -0,0 +1,14 @@
+# $schema: ./../../../../../../../../../metadata/json_schema/fhir/fhir-to-hl7-mapping.json
+
+elements:
+
+ - name: observation-request-service-request
+ required: true
+ schema: classpath:/metadata/hl7_mapping/resources/ServiceRequest/OBR.yml
+ constants:
+ obrFieldPath: '/ORDER(%{orderIndex})/OBSERVATION_REQUEST/OBR'
+
+# - name: observation-request-note
+# todo in second pass, for ORU this is mapped through Observation.note; OML maps through ServiceRequest.note
+# this is already mapped into fhir via ORC/ServiceRequest... where is fhir -> hl7?
+# todo add scearnio in full oml test for an OBSERVATION_REQUEST.NTE
\ No newline at end of file
diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/order/observation-request/observation/observation.yml b/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/order/observation-request/observation/observation.yml
new file mode 100644
index 00000000000..c30cc39c86e
--- /dev/null
+++ b/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/order/observation-request/observation/observation.yml
@@ -0,0 +1,22 @@
+# $schema: ./../../../../../../../../../metadata/json_schema/fhir/fhir-to-hl7-mapping.json
+
+constants:
+ observationPath: '%resource.supportingInfo.resolve().ofType(Observation).where(subject.resolve().id = %resource.subject.resolve().id)'
+
+elements:
+
+ - name: observation-result
+ resource: '%observationPath'
+ resourceIndex: resultIndex
+ required: false
+ schema: classpath:/metadata/hl7_mapping/resources/Observation/OBX.yml
+ constants:
+ hl7OBXField: '/ORDER(%{orderIndex})/OBSERVATION_REQUEST/OBSERVATION(%{resultIndex})/OBX'
+ hl7ObservationPath: '/ORDER(%{orderIndex})/OBSERVATION_REQUEST/OBSERVATION(%{resultIndex})'
+
+# todo
+# - name: observation-participation-information
+# resource: '%observationPath.device.resolve().where(udiCarrier.exists())'
+# schema: classpath:/metadata/hl7_mapping/resources/Device/PRT.yml
+# constants:
+# hl7SegmentGroup: '/ORDER(%{orderIndex})/OBSERVATION_REQUEST/OBSERVATION(%{resultIndex})'
\ No newline at end of file
diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/order/observation-request/specimen/specimen.yml b/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/order/observation-request/specimen/specimen.yml
new file mode 100644
index 00000000000..a77522f12f5
--- /dev/null
+++ b/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/order/observation-request/specimen/specimen.yml
@@ -0,0 +1,15 @@
+# $schema: ./../../../../../../../../../metadata/json_schema/fhir/fhir-to-hl7-mapping.json
+
+elements:
+
+ - name: specimen
+ required: true
+ schema: classpath:/metadata/hl7_mapping/resources/Specimen/SPM.yml
+ constants:
+ hl7SpecimenFieldPath: '/ORDER(%{orderIndex})/OBSERVATION_REQUEST/SPECIMEN(%{specimenIndex})/SPM'
+
+ - name: specimen-extension
+ resource: '%resource.extension(%`rsext-spm-specimen`)'
+ schema: classpath:/metadata/hl7_mapping/resources/Specimen/SPMExtension.yml
+ constants:
+ hl7SpecimenFieldPath: '/ORDER(%{orderIndex})/OBSERVATION_REQUEST/SPECIMEN(%{specimenIndex})/SPM'
\ No newline at end of file
diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/order/order-base.yml b/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/order/order-base.yml
new file mode 100644
index 00000000000..9a1d8a742a7
--- /dev/null
+++ b/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/order/order-base.yml
@@ -0,0 +1,12 @@
+# $schema: ./../../../../../../../../../metadata/json_schema/fhir/fhir-to-hl7-mapping.json
+
+elements:
+
+ - name: common-order
+ required: true
+ schema: classpath:/metadata/hl7_mapping/resources/ServiceRequest/ORC.yml
+ constants:
+ hl7Order: '/ORDER(%{orderIndex})/ORC'
+
+ - name: observation-request-observation
+ schema: classpath:/metadata/hl7_mapping/OML_O21/base/order/observation-request/observation-request-base.yml
\ No newline at end of file
diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/patient/patient-base.yml b/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/patient/patient-base.yml
new file mode 100644
index 00000000000..24512264df5
--- /dev/null
+++ b/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/patient/patient-base.yml
@@ -0,0 +1,12 @@
+# $schema: ./../../../../../../../../../metadata/json_schema/fhir/fhir-to-hl7-mapping.json
+
+elements:
+
+ - name: patient
+ required: true
+ schema: classpath:/metadata/hl7_mapping/OML_O21/base/patient/patient.yml
+
+ - name: patient-visit
+ condition: '%resource.count() = 1'
+ resource: 'Bundle.entry.resource.ofType(Encounter)'
+ schema: classpath:/metadata/hl7_mapping/OML_O21/base/patient/patient-visit.yml
\ No newline at end of file
diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/patient/patient-visit.yml b/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/patient/patient-visit.yml
new file mode 100644
index 00000000000..ac3742c8b38
--- /dev/null
+++ b/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/patient/patient-visit.yml
@@ -0,0 +1,16 @@
+# $schema: ./../../../../../../../../../metadata/json_schema/fhir/fhir-to-hl7-mapping.json
+
+elements:
+
+ - name: encounter-pv1
+ condition: '%resource.count() = 1'
+ required: true
+ schema: classpath:/metadata/hl7_mapping/resources/Encounter/PV1.yml
+ constants:
+ hl7PV1Field: '/PATIENT/PATIENT_VISIT/PV1'
+
+ - name: encounter-pv2
+ condition: '%resource.count() = 1'
+ schema: classpath:/metadata/hl7_mapping/resources/Encounter/PV2.yml
+ constants:
+ hl7PV2Field: '/PATIENT/PATIENT_VISIT/PV2'
\ No newline at end of file
diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/patient/patient.yml b/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/patient/patient.yml
new file mode 100644
index 00000000000..6923b49a993
--- /dev/null
+++ b/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/patient/patient.yml
@@ -0,0 +1,28 @@
+# $schema: ./../../../../../../../../../metadata/json_schema/fhir/fhir-to-hl7-mapping.json
+
+constants:
+ hl7SegmentGroup: '/PATIENT'
+
+elements:
+
+ - name: patient-identification
+ condition: '%resource.count() = 1'
+ required: true
+ schema: classpath:/metadata/hl7_mapping/resources/Patient/PID.yml
+
+ - name: patient-identification-extensions
+ resource: '%resource.extension(%`rsext-pid-patient`)'
+ schema: classpath:/metadata/hl7_mapping/resources/Patient/PIDExtension.yml
+
+ - name: additional-demographics
+ condition: '%resource.count() = 1'
+ schema: classpath:/metadata/hl7_mapping/resources/Patient/PD1.yml
+
+ - name: additional-demographics-extensions
+ resource: '%resource.extension(%`rsext-pd1-patient-additional-demographic`)'
+ schema: classpath:/metadata/hl7_mapping/resources/Patient/PD1Extension.yml
+
+ - name: related-person-nk1
+ resource: 'Bundle.entry.resource.ofType(RelatedPerson).where(extension(%`rsext-hl7v2Segment`).value = "NK1" and patient.resolve().id = %resource.id)'
+ resourceIndex: relatedPersonIndex
+ schema: classpath:/metadata/hl7_mapping/resources/RelatedPerson/NK1.yml
\ No newline at end of file
diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/service-request-order-observation.yml b/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/service-request-order-observation.yml
deleted file mode 100644
index ed3027c53c3..00000000000
--- a/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/service-request-order-observation.yml
+++ /dev/null
@@ -1,12 +0,0 @@
-# $schema: ./../../../../../../../metadata/json_schema/fhir/fhir-to-hl7-mapping.json
-
-constants:
- fieldPath: '%{hl7SegmentGroup}/OBR'
-elements:
- - name: observation-request
- schema: classpath:/metadata/hl7_mapping/common/observation-request.yml
-
- - name: order-observation-date-time-start
- condition: '%rootResource.entry.resource.ofType(Specimen).collection.collected.exists()'
- value: [ '%rootResource.entry.resource.ofType(Specimen).collection.collected' ]
- hl7Spec: [ '%{fieldPath}-7' ]
diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/service-request-order.yml b/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/service-request-order.yml
deleted file mode 100644
index 24c6f82d521..00000000000
--- a/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/service-request-order.yml
+++ /dev/null
@@ -1,42 +0,0 @@
-# $schema: ./../../../../../../../metadata/json_schema/fhir/fhir-to-hl7-mapping.json
-
-constants:
- hl7ORCField: '%{hl7SegmentGroup}/ORC'
-elements:
- - name: order-control
- value: [ '"NW"' ]
- required: true
- hl7Spec: [ '%{hl7ORCField}-1' ]
-
- - name: order-placer-order-number
- resource: >
- %resource.identifier.where(type.coding.system = 'http://terminology.hl7.org/CodeSystem/v2-0203')
- .where(type.coding.code = 'PLAC')
- condition: '%resource.count() > 0'
- constants:
- entityIdFieldPath: '%{hl7ORCField}(%{entityIdIndex})-2'
- resourceIndex: entityIdIndex
- schema: classpath:/metadata/hl7_mapping/common/datatype/ei-entity-identifier.yml
-
- - name: order-status
- value: [ '%resource.status' ]
- valueSet:
- values:
- revoked: CA
- completed: CM
- entered-in-error: ER
- on-hold: HD
- active: IP
- hl7Spec: [ '%{hl7ORCField}-5' ]
-
- - name: order-date-time-of-transaction
- resource: '%resource.authoredOn'
- constants:
- dtmFieldPath: '%{hl7ORCField}-9'
- schema: classpath:/metadata/hl7_mapping/datatypes/dateTime/DTMorDT.yml
-
- - name: ordering-facility-name
- resource: '%resource.requester.resolve().organization.resolve()'
- schema: classpath:/metadata/hl7_mapping/common/datatype/xon-organization.yml
- constants:
- hl7OrgField: '%{hl7ORCField}-21'
diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/deprecated.md b/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/deprecated.md
deleted file mode 100644
index 9c27ced798d..00000000000
--- a/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/deprecated.md
+++ /dev/null
@@ -1,6 +0,0 @@
-## Deprecated location
-
-Use of this location for mapping schema is deprecated. Please see
-the [Mapping schema file structure](../../../docs/design/design/mapping-schemas.md) design document to review current
-mapping schema structure guidelines. New work should follow the new design as much as possible. When mapping work is
-completed, this directory should be removed.
\ No newline at end of file
diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/ORU_R01/ORU_R01-base.yml b/prime-router/src/main/resources/metadata/hl7_mapping/ORU_R01/ORU_R01-base.yml
index d30c96c3e37..1b4e0adf9c4 100644
--- a/prime-router/src/main/resources/metadata/hl7_mapping/ORU_R01/ORU_R01-base.yml
+++ b/prime-router/src/main/resources/metadata/hl7_mapping/ORU_R01/ORU_R01-base.yml
@@ -4,7 +4,9 @@ hl7Class: ca.uhn.hl7v2.model.v27.message.ORU_R01
constants:
# Prefix for RS custom extension URLs
rsext: '"https://reportstream.cdc.gov/fhir/StructureDefinition/"'
+
elements:
+
- name: message-header
condition: >
Bundle.entry.resource.ofType(MessageHeader).exists() and
@@ -20,12 +22,11 @@ elements:
- name: software-segment-legacy
condition: >
- Bundle.entry.resource.ofType(MessageHeader).exists()
- and Bundle.entry.resource.ofType(MessageHeader).source.extension(%`rsext-software-vendor-org`).exists()
+ Bundle.entry.resource.ofType(MessageHeader).exists() and
+ Bundle.entry.resource.ofType(MessageHeader).source.extension(%`rsext-software-vendor-org`).exists()
resource: 'Bundle.entry.resource.ofType(MessageHeader)'
schema: classpath:/metadata/hl7_mapping/resources/MessageHeader/SFT.yml
-
- name: patient-result
resource: 'Bundle.entry.resource.ofType(Patient)'
resourceIndex: patientIndex
diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/ORU_R01/base/patient-result/order-observation/order-observation.yml b/prime-router/src/main/resources/metadata/hl7_mapping/ORU_R01/base/patient-result/order-observation/order-observation.yml
index a444932e335..3aacd09688c 100644
--- a/prime-router/src/main/resources/metadata/hl7_mapping/ORU_R01/base/patient-result/order-observation/order-observation.yml
+++ b/prime-router/src/main/resources/metadata/hl7_mapping/ORU_R01/base/patient-result/order-observation/order-observation.yml
@@ -5,15 +5,23 @@ elements:
- name: common-order-service-request
resource: '%resource.basedOn.resolve()'
schema: classpath:/metadata/hl7_mapping/resources/ServiceRequest/ORC.yml
+ constants:
+ hl7Order: /PATIENT_RESULT(%{patientIndex})/ORDER_OBSERVATION(%{orderIndex})/ORC
- name: common-order-diagnostic-report
resource: '%resource'
schema: classpath:/metadata/hl7_mapping/resources/DiagnosticReport/ORC.yml
+ constants:
+ hl7Order: /PATIENT_RESULT(%{patientIndex})/ORDER_OBSERVATION(%{orderIndex})/ORC
- name: observation-request-service-request
resource: '%resource.basedOn.resolve()'
schema: classpath:/metadata/hl7_mapping/resources/ServiceRequest/OBR.yml
+ constants:
+ obrFieldPath: '/PATIENT_RESULT(%{patientIndex})/ORDER_OBSERVATION(%{orderIndex})/OBR'
- name: observation-request-diagnostic-report
resource: '%resource'
- schema: classpath:/metadata/hl7_mapping/resources/DiagnosticReport/OBR.yml
\ No newline at end of file
+ schema: classpath:/metadata/hl7_mapping/resources/DiagnosticReport/OBR.yml
+ constants:
+ obrFieldPath: '/PATIENT_RESULT(%{patientIndex})/ORDER_OBSERVATION(%{orderIndex})/OBR'
\ No newline at end of file
diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/ORU_R01/deprecated.md b/prime-router/src/main/resources/metadata/hl7_mapping/ORU_R01/deprecated.md
deleted file mode 100644
index 9c27ced798d..00000000000
--- a/prime-router/src/main/resources/metadata/hl7_mapping/ORU_R01/deprecated.md
+++ /dev/null
@@ -1,6 +0,0 @@
-## Deprecated location
-
-Use of this location for mapping schema is deprecated. Please see
-the [Mapping schema file structure](../../../docs/design/design/mapping-schemas.md) design document to review current
-mapping schema structure guidelines. New work should follow the new design as much as possible. When mapping work is
-completed, this directory should be removed.
\ No newline at end of file
diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/common/datatype/ei-entity-identifier.yml b/prime-router/src/main/resources/metadata/hl7_mapping/common/datatype/ei-entity-identifier.yml
deleted file mode 100644
index 7d3a478a09c..00000000000
--- a/prime-router/src/main/resources/metadata/hl7_mapping/common/datatype/ei-entity-identifier.yml
+++ /dev/null
@@ -1,22 +0,0 @@
-# $schema: ./../../../../../../../metadata/json_schema/fhir/fhir-to-hl7-mapping.json
-
-# Identifier to EI mapping
-elements:
- - name: entity-identifier
- value: [ '%deidentifiedValue', '%resource.value' ]
- hl7Spec: [ '%{entityIdFieldPath}-1' ]
-
- - name: entity-namespace-id
- value:
- - '%resource.extension(%`rsext-namespace-id`).value'
- - '%resource.system.getId()'
- - '%resource.system'
- hl7Spec: [ '%{entityIdFieldPath}-2' ]
-
- - name: entity-universal-id
- value: [ '%resource.extension(%`rsext-universal-id`).value.getId()' ]
- hl7Spec: [ '%{entityIdFieldPath}-3' ]
-
- - name: entity-id-type
- value: [ '%resource.extension(%`rsext-universal-id`).value.getIdType()' ]
- hl7Spec: [ '%{entityIdFieldPath}-4' ]
\ No newline at end of file
diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/common/datatype/sn-structured-numeric.yml b/prime-router/src/main/resources/metadata/hl7_mapping/common/datatype/sn-structured-numeric.yml
deleted file mode 100644
index 78af906ba4b..00000000000
--- a/prime-router/src/main/resources/metadata/hl7_mapping/common/datatype/sn-structured-numeric.yml
+++ /dev/null
@@ -1,25 +0,0 @@
-# $schema: ./../../../../../../../metadata/json_schema/fhir/fhir-to-hl7-mapping.json
-
-elements:
- # FHIR Spec does not support "=" and "<>" comparators, so those are in an extension
- - name: observation-value-sn-comparator-1
- condition: '%resource.numerator.comparator.exists().not()'
- value: [ '%resource.numerator.extension(%`rsext-comparator`).value' ]
- hl7Spec: [ '%{hl7OBXField}-5-1' ]
-
- - name: observation-value-sn-comparator-2
- condition: '%resource.numerator.comparator.exists()'
- value: [ '%resource.numerator.comparator' ]
- hl7Spec: [ '%{hl7OBXField}-5-1' ]
-
- - name: observation-value-sn-value
- value: [ '%resource.numerator.value' ]
- hl7Spec: [ '%{hl7OBXField}-5-2' ]
-
- - name: observation-value-sn-separator
- value: [ '%resource.numerator.extension(%`rsext-separator`).value' ]
- hl7Spec: [ '%{hl7OBXField}-5-3' ]
-
- - name: observation-value-sn-denominator
- value: [ '%resource.denominator.value' ]
- hl7Spec: [ '%{hl7OBXField}-5-4' ]
\ No newline at end of file
diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/common/datatype/xad-extended-address.yml b/prime-router/src/main/resources/metadata/hl7_mapping/common/datatype/xad-extended-address.yml
index 73d244c0ebd..9b57e009243 100644
--- a/prime-router/src/main/resources/metadata/hl7_mapping/common/datatype/xad-extended-address.yml
+++ b/prime-router/src/main/resources/metadata/hl7_mapping/common/datatype/xad-extended-address.yml
@@ -53,4 +53,4 @@ elements:
condition: '%resource.exists()'
schema: classpath:/metadata/hl7_mapping/resources/Patient/DR.yml
constants:
- hl7DRField: '%{hl7XADField}-10'
\ No newline at end of file
+ hl7DRField: '%{hl7XADField}-12'
\ No newline at end of file
diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/common/datatype/xon-organization.yml b/prime-router/src/main/resources/metadata/hl7_mapping/common/datatype/xon-organization.yml
deleted file mode 100644
index 011cf65f009..00000000000
--- a/prime-router/src/main/resources/metadata/hl7_mapping/common/datatype/xon-organization.yml
+++ /dev/null
@@ -1,42 +0,0 @@
-# $schema: ./../../../../../../../metadata/json_schema/fhir/fhir-to-hl7-mapping.json
-
-elements:
- - name: xon-organization-name
- value: [ '%resource.name' ]
- hl7Spec: [ '%{hl7OrgField}-1' ]
-
- - name: xon-organization-name-type
- resource: '%resource.extension(%`rsext-organization-name-type`)'
- condition: '%resource.exists()'
- value: [ '%resource.value.code' ]
- hl7Spec: [ '%{hl7OrgField}-2' ]
-
- - name: xon-assigning-authority
- resource: '%resource.identifier.extension(%`rsext-assigning-authority`)'
- constants:
- hl7HDField: '%{hl7OrgField}-6'
- # cannot use %`rext due to mix of constant and fhirpath substitution syntax
- namespaceExtName: '"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id"'
- universalIdExtName: '"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id"'
- universalIdTypeExtName: '"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"'
- schema: classpath:/metadata/hl7_mapping/common/datatype/hd-hierarchic-designator.yml
-
- - name: xon-organization-id-type
- resource: '%resource.identifier.type.where(coding.system = ''http://terminology.hl7.org/CodeSystem/v2-0203'')'
- condition: '%resource.exists()'
- value: [ '%resource.coding[0].code' ]
- hl7Spec: [ '%{hl7OrgField}-7' ]
-
- - name: xon-assigning-facility
- resource: '%resource.identifier.extension(%`rsext-assigning-facility`).value.resolve()'
- constants:
- hl7HDField: '%{hl7OrgField}-8'
- schema: classpath:/metadata/hl7_mapping/resources/Location/HD.yml
-
- - name: xon-name-representation-code
- value: [ '%resource.identifier.extension(%`rsext-name-representation-code`).value' ]
- hl7Spec: [ '%{hl7OrgField}-9' ]
-
- - name: xon-organization-id
- value: [ '%resource.identifier[0].value' ]
- hl7Spec: [ '%{hl7OrgField}-10' ]
\ No newline at end of file
diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/common/observation-request.yml b/prime-router/src/main/resources/metadata/hl7_mapping/common/observation-request.yml
deleted file mode 100644
index 6152def7b86..00000000000
--- a/prime-router/src/main/resources/metadata/hl7_mapping/common/observation-request.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-# $schema: ./../../../../../../metadata/json_schema/fhir/fhir-to-hl7-mapping.json
-
-elements:
- - name: set-id
- value: [ '%orderIndex + 1' ]
- hl7Spec: [ '%{fieldPath}-1' ]
-
- - name: placer-order-number
- resource: '%resource.identifier.where(extension(%`rsext-hl7-use`).value = "placer-order-number")'
- constants:
- eiFieldPath: '%{fieldPath}(%{entityIdIndex})-2'
- schema: classpath:/metadata/hl7_mapping/datatypes/identifier-extension/EI.yml
- resourceIndex: entityIdIndex
-
- - name: filler-order
- resource: '%resource.identifier.where(type.coding.code = "FILL")'
- condition: '%resource.exists()'
- constants:
- entityIdFieldPath: '%{fieldPath}(%{entityIdIndex})-3'
- schema: classpath:/metadata/hl7_mapping/common/datatype/ei-entity-identifier.yml
- resourceIndex: entityIdIndex
-
- - name: universal-service
- resource: '%resource.code'
- constants:
- cweFieldPath: '%{fieldPath}-4'
- schema: classpath:/metadata/hl7_mapping/common/datatype/ce-coded-with-exceptions.yml
-
- - name: result-interpreter
- resource: '%resource.resultsInterpreter.resolve()'
- constants:
- hl7NDLField: '%{fieldPath}-32'
- schema: classpath:/metadata/hl7_mapping/resources/PractitionerRole/NDL.yml
-
- - name: technician
- resource: '%resource.performer.resolve().where(extension("http://hl7.org/fhir/StructureDefinition/event-performerFunction").value.coding.code = "SPRF")'
- constants:
- hl7NDLField: '%{fieldPath}-34'
- schema: classpath:/metadata/hl7_mapping/resources/PractitionerRole/NDL.yml
-
- - name: transcriptionist
- resource: '%resource.performer.resolve().where(extension("http://hl7.org/fhir/StructureDefinition/event-performerFunction").value.coding.code = "TRANS")'
- constants:
- hl7NDLField: '%{fieldPath}-35'
- schema: classpath:/metadata/hl7_mapping/resources/PractitionerRole/NDL.yml
-
- - name: alternate-placer-order-number
- resource: '%service.identifier.where(extension(%`rsext-hl7-use`).value = "alternate-placer-identifier" )'
- constants:
- cxField: '%{fieldPath}-53'
- schema: classpath:/metadata/hl7_mapping/datatypes/identifier/CX.yml
\ No newline at end of file
diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/common/observation-result.yml b/prime-router/src/main/resources/metadata/hl7_mapping/common/observation-result.yml
deleted file mode 100644
index 5808edbc66d..00000000000
--- a/prime-router/src/main/resources/metadata/hl7_mapping/common/observation-result.yml
+++ /dev/null
@@ -1,259 +0,0 @@
-# $schema: ./../../../../../../metadata/json_schema/fhir/fhir-to-hl7-mapping.json
-
-elements:
- - name: result-set-id
- value: [ '%resultIndex + 1' ]
- hl7Spec: [ '%{hl7OBXField}-1' ]
-
- - name: result-value-type-st
- condition: '%resource.value.exists() and %resource.value.is(string)'
- value: [ '"ST"' ]
- hl7Spec: [ '%{hl7OBXField}-2' ]
-
- - name: result-value-type-dt
- condition: '%resource.value.exists() and %resource.value.is(dateTime)'
- value: [ '"DT"' ]
- hl7Spec: [ '%{hl7OBXField}-2' ]
-
- - name: result-value-type-ce
- resource: '%resource.value'
- condition: 'false'
- # This element remains here for usage in receiver-transforms
- value: [ '"CE"' ]
- hl7Spec: [ '%{hl7OBXField}-2' ]
-
- - name: result-value-type-cwe
- resource: '%resource.value'
- condition: '%resource.exists() and %resource.is(CodeableConcept)'
- # Note that for v.2.5 and earlier, CWE is not officially in-spec, but is widely used. If a receiver requires
- # CE, that should be handled via receiver transform
- value: [ '"CWE"' ]
- hl7Spec: [ '%{hl7OBXField}-2' ]
-
- - name: result-value-type-sn
- condition: '%resource.value.exists() and %resource.value.is(Ratio)'
- value: [ '"SN"' ]
- hl7Spec: [ '%{hl7OBXField}-2' ]
-
- - name: result-value-type-nm
- condition: >
- %resource.value.exists() and
- %resource.value.is(Quantity) and
- %resource.value.where(extension(%`rsext-cwe-quantity`)).exists().not()
- value: [ '"NM"' ]
- hl7Spec: [ '%{hl7OBXField}-2' ]
-
- - name: result-value-type-na
- condition: >
- %resource.value.exists() and
- %resource.value.is(Quantity) and
- %resource.value.where(extension(%`rsext-cwe-quantity`)).exists()
- value: [ '"NA"' ]
- hl7Spec: [ '%{hl7OBXField}-2' ]
-
- - name: observation-identifier-code
- resource: '%resource.code'
- constants:
- cweFieldPath: '%{hl7OBXField}-3'
- schema: classpath:/metadata/hl7_mapping/common/datatype/ce-coded-with-exceptions.yml
-
- - name: observation-value-sub-id
- value: [ '%resource.extension(%`rsext-sub-id`).value' ]
- hl7Spec: [ '%{hl7OBXField}-4' ]
-
- - name: observation-value-st
- condition: '%resource.value.exists() and %resource.value is string'
- value: [ '%resource.value' ]
- hl7Spec: [ '%{hl7OBXField}-5' ]
-
- - name: observation-value-dateTime
- condition: '%context.value.exists() and %context.value is dateTime'
- resource: '%resource.value'
- constants:
- dtmFieldPath: '%{hl7OBXField}-5'
- schema: classpath:/metadata/hl7_mapping/datatypes/dateTime/DTMorDT.yml
-
- - name: observation-value-cwe
- resource: '%resource.value'
- condition: '%resource.exists() and %resource is CodeableConcept'
- constants:
- cweFieldPath: '%{hl7OBXField}-5'
- schema: classpath:/metadata/hl7_mapping/common/datatype/ce-coded-with-exceptions.yml
-
- - name: observation-value-quantity
- condition: '%resource.value.exists() and %resource.value is Quantity'
- value: [ '%resource.value.value' ]
- hl7Spec: [ '%{hl7OBXField}-5' ]
-
- - name: observation-value-numeric
- resource: '%resource.value'
- condition: '%resource.exists() and %resource is Ratio'
- schema: classpath:/metadata/hl7_mapping/common/datatype/sn-structured-numeric.yml
-
- - name: observation-units-identifier
- condition: >
- %context.where(extension(%`rsext-units`)).exists() and
- %context.value.where(extension(%`rsext-cwe-quantity`)).exists().not()
- resource: '%resource.extension(%`rsext-units`).value'
- constants:
- cweFieldPath: '%{hl7OBXField}-6'
- schema: classpath:/metadata/hl7_mapping/common/datatype/ce-coded-with-exceptions.yml
-
- - name: observation-units-identifier
- condition: >
- %context.value.exists() and
- %context.value.is(Quantity) and
- %context.value.where(extension(%`rsext-cwe-quantity`)).exists() and
- %context.value.extension(%`rsext-cwe-quantity`).value.where(extension(%`rsext-hl7v2Name`).value = "units").exists()
- resource: '%resource.value.extension(%`rsext-cwe-quantity`).value'
- constants:
- cweField: '%{hl7OBXField}-6'
- schema: classpath:/metadata/hl7_mapping/datatypes/codeableConcept/CWE.yml
-
- - name: observation-reference-range
- value: [ '%resource.referenceRange.text' ]
- hl7Spec: [ '%{hl7OBXField}-7' ]
-
- - name: observation-abnormal-flag
- resource: '%resource.interpretation'
- constants:
- cweFieldPath: '%{hl7OBXField}-8'
- schema: classpath:/metadata/hl7_mapping/common/datatype/ce-coded-with-exceptions.yml
-
- - name: observation-result-status
- value: [ '%resource.status' ]
- condition: '%resource.dataAbsentReason.exists().not() or %resource.dataAbsentReason.coding.where(extension(%`rsext-code-index-name`).value = "identifier").code = "unknown"'
- hl7Spec: [ '%{hl7OBXField}-11' ]
- valueSet:
- values:
- registered: I
- preliminary: P
- final: F
- corrected: C
- amended: C
- entered-in-error: W
-
- - name: observation-result-status-cancelled
- value: [ "'X'" ]
- condition: '%resource.dataAbsentReason.coding.where(extension(%`rsext-code-index-name`).value = "identifier").exists() and %resource.dataAbsentReason.coding.where(extension(%`rsext-code-index-name`).value = "identifier").code = "cannot-be-obtained"'
- hl7Spec: [ '%{hl7OBXField}-11' ]
-
- - name: observation-result-status-not-asked
- value: [ "'N'" ]
- condition: '%resource.dataAbsentReason.coding.where(extension(%`rsext-code-index-name`).value = "alternate identifier").exists() and %resource.dataAbsentReason.coding.where(extension(%`rsext-code-index-name`).value = "alternate identifier").code = "not-asked"'
- hl7Spec: [ '%{hl7OBXField}-11' ]
-
-
- - name: observation-date-time
- resource: '%resource.effective'
- constants:
- dtmFieldPath: '%{hl7OBXField}-14'
- schema: classpath:/metadata/hl7_mapping/datatypes/dateTime/DTMorDT.yml
-
- - name: observation-producer-id
- resource: '%resource.extension(%`rsext-producer-id`).value'
- constants:
- ceFieldPath: '%{hl7OBXField}-15'
- schema: classpath:/metadata/hl7_mapping/common/datatype/ce-coded-element.yml
-
- - name: observation-producer-id-identifier
- resource: '%resource.extension(%`rsext-producer-id`).value.resolve()'
- value: [ '%resource.identifier[0].value' ]
- hl7Spec: [ '%{hl7OBXField}-15-1' ]
-
- - name: observation-producer-id-text
- resource: '%resource.extension(%`rsext-producer-id`).value.resolve()'
- value: [ '%resource.name' ]
- hl7Spec: [ '%{hl7OBXField}-15-2' ]
-
- - name: observation-producer-id-system
- resource: '%resource.extension(%`rsext-producer-id`).value.resolve().identifier.extension(%`rsext-coding-system`).value'
- value: [ '%resource.coding.code' ]
- hl7Spec: [ '%{hl7OBXField}-15-3' ]
-
- - name: responsible-observer
- resource: '%resource.performer.resolve().practitioner.resolve()'
- condition: '%resource.identifier.type.coding.code="responsibleObserver"'
- constants:
- hl7XCNField: '%{hl7OBXField}-16'
- schema: classpath:/metadata/hl7_mapping/common/datatype/xcn-contact.yml
- resourceIndex: contactIndex
-
- - name: observation-method
- resource: '%resource.method'
- schema: classpath:/metadata/hl7_mapping/common/datatype/ce-coded-with-exceptions.yml
- constants:
- cweFieldPath: '%{hl7OBXField}-17'
-
- - name: equipment-instance-identifier
- resource: '%resource.device.resolve().identifier'
- schema: classpath:/metadata/hl7_mapping/common/datatype/ei-entity-identifier.yml
- constants:
- entityIdFieldPath: '%{hl7OBXField}-18'
-
- - name: analysis-date-time
- resource: '%resource.issued'
- constants:
- dtmFieldPath: '%{hl7OBXField}-19'
- schema: classpath:/metadata/hl7_mapping/datatypes/dateTime/DTMorDT.yml
-
- - name: performing-organization-name-pracrole
- condition: >
- Bundle.entry.resource.ofType(Observation).performer.resolve().ofType(PractitionerRole).exists() and
- (Bundle.entry.resource.ofType(Observation).performer.resolve().ofType(PractitionerRole).practitioner.exists() or
- Bundle.entry.resource.ofType(Observation).performer.resolve().ofType(PractitionerRole).practitioner.identifier.type.coding.code="MDIR")
- resource: '%resource.performer.resolve().ofType(PractitionerRole).organization.resolve()'
- schema: classpath:/metadata/hl7_mapping/common/datatype/xon-organization.yml
- constants:
- hl7OrgField: '%{hl7OBXField}-23'
-
- - name: performing-organization-name-non-pracrole
- condition: 'Bundle.entry.resource.ofType(Observation).performer.resolve().ofType(Organization).exists()'
- resource: '%resource.performer.resolve().ofType(Organization)'
- schema: classpath:/metadata/hl7_mapping/common/datatype/xon-organization.yml
- constants:
- hl7OrgField: '%{hl7OBXField}-23'
-
- - name: performing-organization-address-pracrole
- condition: >
- Bundle.entry.resource.ofType(Observation).performer.resolve().ofType(PractitionerRole).exists() and
- (Bundle.entry.resource.ofType(Observation).performer.resolve().ofType(PractitionerRole).practitioner.exists() or
- Bundle.entry.resource.ofType(Observation).performer.resolve().ofType(PractitionerRole).practitioner.identifier.type.coding.code="MDIR")
- resource: '%resource.performer.resolve().ofType(PractitionerRole).organization.resolve().address'
- constants:
- hl7AddressField: '%{hl7OBXField}-24'
- schema: classpath:/metadata/hl7_mapping/common/datatype/xad-extended-address.yml
- resourceIndex: contactIndex
-
- - name: performing-organization-address-non-pracrole
- condition: 'Bundle.entry.resource.ofType(Observation).performer.resolve().ofType(Organization).exists()'
- resource: '%resource.performer.resolve().ofType(Organization).address'
- constants:
- hl7AddressField: '%{hl7OBXField}-24'
- schema: classpath:/metadata/hl7_mapping/common/datatype/xad-extended-address.yml
- resourceIndex: contactIndex
-
- # This is technically incorrect as this should be using the PractitionerRole instead
- # It works because the HL7 -> FHIR mapping sets the same value on the practitioner
- # It cannot be changed at this time because this is the shape of the FHIR that SR sends in
- - name: performing-organization-director
- resource: '%resource.performer.resolve().practitioner.resolve()'
- condition: '%resource.identifier.type.coding.code="MDIR"'
- constants:
- hl7XCNField: '%{hl7OBXField}-25'
- schema: classpath:/metadata/hl7_mapping/common/datatype/xcn-contact.yml
- resourceIndex: contactIndex
-
- - name: observation-aoe-identifier
- condition: '%resource.meta.tag.code="AOE"'
- value: [ '"QST"' ]
- hl7Spec: [ '%{hl7OBXField}-29' ]
-
-
- - name: observation-note
- condition: '%context.note.exists()'
- resource: '%resource.note'
- schema: classpath:/metadata/hl7_mapping/datatypes/annotation/NTE.yml
- resourceIndex: noteIndex
- constants:
- hl7NotePath: '%{hl7SegmentGroup}'
\ No newline at end of file
diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/common/specimen.yml b/prime-router/src/main/resources/metadata/hl7_mapping/common/specimen.yml
deleted file mode 100644
index eca87775b5d..00000000000
--- a/prime-router/src/main/resources/metadata/hl7_mapping/common/specimen.yml
+++ /dev/null
@@ -1,147 +0,0 @@
-# $schema: ./../../../../../../metadata/json_schema/fhir/fhir-to-hl7-mapping.json
-
-elements:
- - name: specimen-set-id
- value: [ '"1"' ]
- hl7Spec: [ '%{hl7SpecimenFieldPath}-1' ]
-
- - name: specimen-identifier
- resource: '%resource.identifier.where(extension(%`rsext-hl7-use`).value = "specimen-id-placer")'
- condition: '%resource.exists()'
- constants:
- eipFieldPath: '%{hl7SpecimenFieldPath}-2'
- schema: classpath:/metadata/hl7_mapping/datatypes/identifier-placerAssignedIdentifier/EIP.yml
-
- - name: specimen-identifier-backup
- resource: '%resource.identifier.where(extension(%`rsext-hl7-use`).value = "specimen-id-filler")'
- condition: >
- %resource.identifier.where(extension(%`rsext-hl7-use`).value = "specimen-id-placer").exists().not() and
- %resource.exists()
- constants:
- eipFieldPath: '%{hl7SpecimenFieldPath}-2'
- schema: classpath:/metadata/hl7_mapping/datatypes/identifier-fillerAssignedIdentifier/EIP.yml
-
- - name: specimen-type
- resource: '%resource.type'
- constants:
- cweFieldPath: '%{hl7SpecimenFieldPath}-4'
- schema: classpath:/metadata/hl7_mapping/common/datatype/ce-coded-with-exceptions.yml
-
- - name: specimen-type-modifier
- resource: '%resource.extension(%`rsext-specimen-type-modifier`).value'
- condition: '%resource.exists()'
- constants:
- cweFieldPath: '%{hl7SpecimenFieldPath}-5'
- schema: classpath:/metadata/hl7_mapping/common/datatype/ce-coded-with-exceptions.yml
-
- - name: specimen-additives
- resource: '%resource.container.additive[0]'
- condition: '%resource.exists()'
- constants:
- cweFieldPath: '%{hl7SpecimenFieldPath}-6'
- schema: classpath:/metadata/hl7_mapping/common/datatype/ce-coded-with-exceptions.yml
-
- - name: specimen-collection-method
- resource: '%resource.collection.method'
- condition: '%resource.exists()'
- constants:
- cweFieldPath: '%{hl7SpecimenFieldPath}-7'
- schema: classpath:/metadata/hl7_mapping/common/datatype/ce-coded-with-exceptions.yml
-
- - name: specimen-source-site
- resource: '%resource.collection.bodySite'
- condition: '%resource.exists()'
- constants:
- cweFieldPath: '%{hl7SpecimenFieldPath}-8'
- schema: classpath:/metadata/hl7_mapping/common/datatype/ce-coded-with-exceptions.yml
-
- - name: specimen-source-site-modifier
- resource: '%resource.collection.extension(%`rsext-specimen-source-site-modifier`).value'
- condition: '%resource.exists()'
- constants:
- cweFieldPath: '%{hl7SpecimenFieldPath}-9'
- schema: classpath:/metadata/hl7_mapping/common/datatype/ce-coded-with-exceptions.yml
-
- - name: specimen-role
- value: [ '""' ]
- hl7Spec: [ '%{hl7SpecimenFieldPath}-11' ]
-
- - name: specimen-collection-amount
- resource: '%resource.collection.quantity'
- constants:
- cqFieldPath: '%{hl7SpecimenFieldPath}-12'
- schema: classpath:/metadata/hl7_mapping/datatypes/Quantity/CQ.yml
-
- - name: specimen-description
- resource: '%resource.note.where(extension(%`rsext-hl7v2Name`).exists().not())'
- value: [ '%resource.text' ]
- hl7Spec: [ '%{hl7SpecimenFieldPath}-14' ]
-
- - name: specimen-collection-time
- condition: '%context.collection.collected.exists() and %context.collection.collected is dateTime'
- resource: '%resource.collection.collected'
- constants:
- dtmFieldPath: '%{hl7SpecimenFieldPath}-17-1'
- schema: classpath:/metadata/hl7_mapping/datatypes/dateTime/DTMorDT.yml
-
- - name: specimen-observation-date-time-start
- condition: '%context.collection.collected.exists() and %context.collection.collected is Period'
- resource: '%resource.collection.collected.start'
- constants:
- dtmFieldPath: '%{hl7SpecimenFieldPath}-17-1'
- schema: classpath:/metadata/hl7_mapping/datatypes/dateTime/DTMorDT.yml
-
- # Alternative to getting specimen collection time from DiagnosticReport instead
- - name: specimen-collection-time-diagnostic
- condition: '%context.collection.collected.exists().not()'
- resource: '%diagnostic.effective'
- constants:
- dtmFieldPath: '%{hl7SpecimenFieldPath}-17-1'
- schema: classpath:/metadata/hl7_mapping/datatypes/dateTime/DTMorDT.yml
-
- - name: specimen-observation-date-time-end
- condition: '%context.collection.collected.exists() and %context.collection.collected is Period'
- resource: '%resource.collection.collected.end'
- constants:
- dtmFieldPath: '%{hl7SpecimenFieldPath}-17-2'
- schema: classpath:/metadata/hl7_mapping/datatypes/dateTime/DTMorDT.yml
-
- - name: specimen-received-time
- condition: '%context.receivedTime.exists() and %context.receivedTime is dateTime'
- resource: '%resource.receivedTime'
- constants:
- dtmFieldPath: '%{hl7SpecimenFieldPath}-18'
- schema: classpath:/metadata/hl7_mapping/datatypes/dateTime/DTMorDT.yml
-
- - name: specimen-reject-reason
- value: [ '""' ]
- hl7Spec: [ '%{hl7SpecimenFieldPath}-21' ]
-
- - name: specimen-condition
- resource: '%resource.condition'
- condition: '%resource.exists()'
- constants:
- cweFieldPath: '%{hl7SpecimenFieldPath}-24'
- schema: classpath:/metadata/hl7_mapping/common/datatype/ce-coded-with-exceptions.yml
-
- - name: specimen-number-of-containers
- resource: '%resource.container.specimenQuantity'
- condition: '%resource.exists()'
- value: [ '%resource.value' ]
- hl7Spec: [ '%{hl7SpecimenFieldPath}-26' ]
-
- - name: specimen-container-type
- resource: '%resource.container.type'
- constants:
- cweFieldPath: '%{hl7SpecimenFieldPath}-27'
- schema: classpath:/metadata/hl7_mapping/common/datatype/ce-coded-with-exceptions.yml
-
- - name: specimen-observation-result-with-aoe
- resource: '%service.supportingInfo.resolve().where(specimen.id = Bundle.entry.resource.ofType(Specimen).id and (meta.exists().not() or meta.tag.code != "AOE"))'
- schema: classpath:/metadata/hl7_mapping/resources/Observation/OBX.yml
- resourceIndex: specimenObservationIndex
- constants:
- hl7ObservationPath: '/PATIENT_RESULT/ORDER_OBSERVATION(%{orderIndex})/SPECIMEN(%{specimenIndex})/SPECIMEN_OBSERVATION'
- hl7OBXField: '/PATIENT_RESULT/ORDER_OBSERVATION(%{orderIndex})/SPECIMEN(%{specimenIndex})/SPECIMEN_OBSERVATION(%{specimenObservationIndex})/OBX'
- observation: '%service.supportingInfo.resolve().where(specimen.id = Bundle.entry.resource.ofType(Specimen).id)[%specimenObservationIndex]'
- resultIndex: '%specimenObservationIndex'
\ No newline at end of file
diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/resources/DiagnosticReport/OBR.yml b/prime-router/src/main/resources/metadata/hl7_mapping/resources/DiagnosticReport/OBR.yml
index 796415372f4..ab59f1508f9 100644
--- a/prime-router/src/main/resources/metadata/hl7_mapping/resources/DiagnosticReport/OBR.yml
+++ b/prime-router/src/main/resources/metadata/hl7_mapping/resources/DiagnosticReport/OBR.yml
@@ -1,8 +1,5 @@
# $schema: ./../../../../../../../metadata/json_schema/fhir/fhir-to-hl7-mapping.json
-constants:
- obrFieldPath: /PATIENT_RESULT(%{patientIndex})/ORDER_OBSERVATION(%{orderIndex})/OBR
-
elements:
- name: observation-datetime
diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/resources/Observation/OBXValue.yml b/prime-router/src/main/resources/metadata/hl7_mapping/resources/Observation/OBXValue.yml
index b00993240e2..7ef010ffcab 100644
--- a/prime-router/src/main/resources/metadata/hl7_mapping/resources/Observation/OBXValue.yml
+++ b/prime-router/src/main/resources/metadata/hl7_mapping/resources/Observation/OBXValue.yml
@@ -22,7 +22,6 @@ elements:
value: [ '%resource.value.extension(%`rsext-hl7v2-date-time`).value' ]
hl7Spec: [ '%{hl7OBXField}-5' ]
-
- name: obx-value-vr-1
condition: '%context.extension(%`rsext-obx-observation`).extension.where(url = "OBX.2").value = "VR"'
value: [ '%resource.value.split("-").first()' ]
@@ -98,7 +97,6 @@ elements:
constants:
hl7NRField: '%{hl7OBXField}-5'
-
- name: obx-value-nm
condition: '%context.extension(%`rsext-obx-observation`).extension.where(url = "OBX.2").value = "NM"'
value: [ '%resource.value.value' ]
diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/resources/ServiceRequest/OBR.yml b/prime-router/src/main/resources/metadata/hl7_mapping/resources/ServiceRequest/OBR.yml
index 9e560a5a30a..8fdab94f0db 100644
--- a/prime-router/src/main/resources/metadata/hl7_mapping/resources/ServiceRequest/OBR.yml
+++ b/prime-router/src/main/resources/metadata/hl7_mapping/resources/ServiceRequest/OBR.yml
@@ -1,8 +1,5 @@
# $schema: ./../../../../../../../metadata/json_schema/fhir/fhir-to-hl7-mapping.json
-constants:
- obrFieldPath: /PATIENT_RESULT(%{patientIndex})/ORDER_OBSERVATION(%{orderIndex})/OBR
-
elements:
- name: set-id
@@ -32,6 +29,21 @@ elements:
value: [ '%resource.occurrence.extension(%`rsext-hl7v2-date-time`).value' ]
hl7Spec: [ '%{obrFieldPath}-6' ]
+ - name: observation-collected-datetime
+ condition: '%resource.specimen.resolve().where(extension(%`rsext-hl7v2Segment`).value = "OBR").collection.collected.is(dateTime)'
+ value: [ '%resource.specimen.resolve().where(extension(%`rsext-hl7v2Segment`).value = "OBR").collection.collected.extension(%`rsext-hl7v2-date-time`).value' ]
+ hl7Spec: [ '%{obrFieldPath}-7' ]
+
+ - name: observation-collected-datetime-start
+ condition: '%resource.specimen.resolve().where(extension(%`rsext-hl7v2Segment`).value = "OBR").collection.collected.is(Period)'
+ value: [ '%resource.specimen.resolve().where(extension(%`rsext-hl7v2Segment`).value = "OBR").collection.collected.start.extension(%`rsext-hl7v2-date-time`).value' ]
+ hl7Spec: [ '%{obrFieldPath}-7' ]
+
+ - name: observation-collected-end-datetime
+ condition: '%resource.specimen.resolve().where(extension(%`rsext-hl7v2Segment`).value = "OBR").collection.collected.is(Period)'
+ value: [ '%resource.specimen.resolve().where(extension(%`rsext-hl7v2Segment`).value = "OBR").collection.collected.end.extension(%`rsext-hl7v2-date-time`).value' ]
+ hl7Spec: [ '%{obrFieldPath}-8' ]
+
- name: ordering-provider-from-practitioner
condition: '%context.requester.resolve().is(Practitioner) and %context.requester.resolve().extension(%`rsext-hl7v2Field`).value = "OBR.16"'
schema: classpath:/metadata/hl7_mapping/resources/Practitioner/XCN.yml
diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/resources/ServiceRequest/ORC.yml b/prime-router/src/main/resources/metadata/hl7_mapping/resources/ServiceRequest/ORC.yml
index 4c8879dbe65..f815c352171 100644
--- a/prime-router/src/main/resources/metadata/hl7_mapping/resources/ServiceRequest/ORC.yml
+++ b/prime-router/src/main/resources/metadata/hl7_mapping/resources/ServiceRequest/ORC.yml
@@ -1,8 +1,5 @@
# $schema: ./../../../../../../../metadata/json_schema/fhir/fhir-to-hl7-mapping.json
-constants:
- hl7Order: /PATIENT_RESULT(%{patientIndex})/ORDER_OBSERVATION(%{orderIndex})/ORC
-
elements:
- name: order-control
hl7Spec: [ '%{hl7Order}-1' ]
diff --git a/prime-router/src/test/kotlin/common/UniversalPipelineTestUtils.kt b/prime-router/src/test/kotlin/common/UniversalPipelineTestUtils.kt
index f158a08993b..d6c338c0d0b 100644
--- a/prime-router/src/test/kotlin/common/UniversalPipelineTestUtils.kt
+++ b/prime-router/src/test/kotlin/common/UniversalPipelineTestUtils.kt
@@ -67,11 +67,11 @@ SPM|1|0cba76f5-35e0-4a28-803a-2f31308aae9b||258500001^Nasopharyngeal swab^SCT|||
@Suppress("ktlint:standard:max-line-length")
const val cleanHL7RecordConverted =
- """{"resourceType":"Bundle","id":"1721779095041066000.8124ea86-afeb-4eb2-8971-312b9fb7acb8","meta":{"lastUpdated":"2024-07-23T16:58:15.045-07:00"},"identifier":{"system":"https://reportstream.cdc.gov/prime-router","value":"371784"},"type":"message","timestamp":"2021-02-10T17:07:37.000-08:00","entry":[{"fullUrl":"MessageHeader/4aeed951-99a9-3152-8885-6b0acc6dd35e","resource":{"resourceType":"MessageHeader","id":"4aeed951-99a9-3152-8885-6b0acc6dd35e","meta":{"tag":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0103","code":"P"}]},"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/msh-message-header","extension":[{"url":"MSH.7","valueString":"20210210170737"},{"url":"MSH.15","valueString":"NE"},{"url":"MSH.16","valueString":"NE"},{"url":"MSH.21","valueIdentifier":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"ELR_Receiver"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.9.99"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueCode":"ISO"}]}],"value":"PHLabReportNoAck"}}]}],"eventCoding":{"system":"http://terminology.hl7.org/CodeSystem/v2-0003","code":"R01","display":"ORU^R01^ORU_R01"},"destination":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"MSH.5"}],"name":"PRIME_DOH","_endpoint":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]},"receiver":{"reference":"Organization/1721779095101182000.6e9c378b-5357-4439-94fd-b578715648a6"}}],"sender":{"reference":"Organization/1721779095075059000.2189c9cf-ee89-4de1-8af1-01eeb203cdd7"},"source":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CDC PRIME - Atlanta, Georgia (Dekalb)"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.114222.4.1.237821"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueString":"ISO"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"MSH.3"}],"software":"PRIME ReportStream","version":"0.1-SNAPSHOT","endpoint":"urn:oid:2.16.840.1.114222.4.1.237821"}}},{"fullUrl":"Organization/1721779095075059000.2189c9cf-ee89-4de1-8af1-01eeb203cdd7","resource":{"resourceType":"Organization","id":"1721779095075059000.2189c9cf-ee89-4de1-8af1-01eeb203cdd7","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Avante at Ormond Beach"},{"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":"CLIA"}]},"value":"10D0876999"}],"address":[{"country":"USA"}]}},{"fullUrl":"Organization/1721779095101182000.6e9c378b-5357-4439-94fd-b578715648a6","resource":{"resourceType":"Organization","id":"1721779095101182000.6e9c378b-5357-4439-94fd-b578715648a6","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"MSH.6"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Prime ReportStream"}]}},{"fullUrl":"Provenance/1721779095325537000.37c25033-9e7b-483a-9ca2-8b553244c297","resource":{"resourceType":"Provenance","id":"1721779095325537000.37c25033-9e7b-483a-9ca2-8b553244c297","target":[{"reference":"MessageHeader/4aeed951-99a9-3152-8885-6b0acc6dd35e"},{"reference":"DiagnosticReport/1721779095495254000.5cb1dfe6-8ed3-49c3-8a98-021226380faf"}],"recorded":"2021-02-10T17:07:37Z","activity":{"coding":[{"display":"ORU^R01^ORU_R01"}]},"agent":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/provenance-participant-type","code":"author"}]},"who":{"reference":"Organization/1721779095324867000.5b5c3704-8a2b-439b-a8a6-06e32fb78478"}}],"entity":[{"role":"source","what":{"reference":"Device/1721779095327982000.a98928b3-e99b-4463-bada-b6a596c9cc10"}}]}},{"fullUrl":"Organization/1721779095324867000.5b5c3704-8a2b-439b-a8a6-06e32fb78478","resource":{"resourceType":"Organization","id":"1721779095324867000.5b5c3704-8a2b-439b-a8a6-06e32fb78478","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Avante at Ormond Beach"},{"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":"CLIA"}]},"value":"10D0876999"}]}},{"fullUrl":"Organization/1721779095327814000.ff76d2f4-c7e3-45ba-82e1-d1778702925f","resource":{"resourceType":"Organization","id":"1721779095327814000.ff76d2f4-c7e3-45ba-82e1-d1778702925f","name":"Centers for Disease Control and Prevention"}},{"fullUrl":"Device/1721779095327982000.a98928b3-e99b-4463-bada-b6a596c9cc10","resource":{"resourceType":"Device","id":"1721779095327982000.a98928b3-e99b-4463-bada-b6a596c9cc10","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/software-vendor-org","valueReference":{"reference":"Organization/1721779095327814000.ff76d2f4-c7e3-45ba-82e1-d1778702925f"}}],"manufacturer":"Centers for Disease Control and Prevention","deviceName":[{"name":"PRIME ReportStream","type":"manufacturer-name"}],"modelNumber":"0.1-SNAPSHOT","version":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/software-install-date","valueDateTime":"2021-02-10","_valueDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"20210210"}]}}],"value":"0.1-SNAPSHOT"}]}},{"fullUrl":"Provenance/1721779095333009000.bd411d6d-f4cf-4c49-9cae-25b4358d5611","resource":{"resourceType":"Provenance","id":"1721779095333009000.bd411d6d-f4cf-4c49-9cae-25b4358d5611","recorded":"2024-07-23T16:58:15Z","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/1721779095332702000.dfbfd358-15e6-4037-8ef7-77545accb117"}}]}},{"fullUrl":"Organization/1721779095332702000.dfbfd358-15e6-4037-8ef7-77545accb117","resource":{"resourceType":"Organization","id":"1721779095332702000.dfbfd358-15e6-4037-8ef7-77545accb117","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/1721779095352871000.43ab1a5e-ddca-4454-baea-5a67fc67b3f1","resource":{"resourceType":"Patient","id":"1721779095352871000.43ab1a5e-ddca-4454-baea-5a67fc67b3f1","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/pid-patient","extension":[{"url":"PID.8","valueCodeableConcept":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"}],"code":"F"}]}},{"url":"PID.30","valueString":"N"}]},{"url":"http://ibm.com/fhir/cdm/StructureDefinition/local-race-cd","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":"HL70005"}],"system":"http://terminology.hl7.org/CodeSystem/v3-Race","version":"2.5.1","code":"2106-3","display":"White"}]}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/ethnic-group","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":"HL70189"}],"system":"http://terminology.hl7.org/CodeSystem/v2-0189","code":"U","display":"Unknown"}]}}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier","extension":[{"url":"CX.5","valueString":"PI"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"PID.3"}],"type":{"coding":[{"code":"PI"}]},"value":"2a14112c-ece1-4f82-915c-7b3a8d152eda","assigner":{"reference":"Organization/1721779095337788000.9966802f-37aa-4c6c-9461-a485310d483b"}}],"name":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name","extension":[{"url":"XPN.2","valueString":"Kareem"},{"url":"XPN.3","valueString":"Millie"},{"url":"XPN.7","valueString":"L"}]}],"use":"official","family":"Buckridge","given":[ "Kareem", "Millie" ]}],"telecom":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"211"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"2240784"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.1","valueString":"7275555555:1:"},{"url":"XTN.2","valueString":"PRN"},{"url":"XTN.4","valueString":"roscoe.wilkinson@email.com"},{"url":"XTN.7","valueString":"2240784"}]}],"system":"email","use":"home"}],"gender":"female","birthDate":"1958-08-10","_birthDate":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"19580810"}]},"deceasedBoolean": false,"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":"688 Leighann Inlet"}]}]}],"line":[ "688 Leighann Inlet" ],"city":"South Rodneychester","district":"48077","state":"TX","postalCode":"67071"}]}},{"fullUrl":"Organization/1721779095337788000.9966802f-37aa-4c6c-9461-a485310d483b","resource":{"resourceType":"Organization","id":"1721779095337788000.9966802f-37aa-4c6c-9461-a485310d483b","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Avante at Ormond Beach"}]}},{"fullUrl":"Provenance/1721779095355228000.9beb413b-8721-4221-8c79-499e20f2fd92","resource":{"resourceType":"Provenance","id":"1721779095355228000.9beb413b-8721-4221-8c79-499e20f2fd92","target":[{"reference":"Patient/1721779095352871000.43ab1a5e-ddca-4454-baea-5a67fc67b3f1"}],"recorded":"2024-07-23T16:58:15Z","activity":{"coding":[{"system":"https://terminology.hl7.org/CodeSystem/v3-DataOperation","code":"UPDATE"}]}}},{"fullUrl":"Observation/1721779095357939000.85aa77e7-a8a3-41a0-bb83-3a8c7d94e52c","resource":{"resourceType":"Observation","id":"1721779095357939000.85aa77e7-a8a3-41a0-bb83-3a8c7d94e52c","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/analysis-date-time","valueDateTime":"2021-02-09T00:00:00-06:00","_valueDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.11","valueString":"F"},{"url":"OBX.17","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":"99ELR"}],"code":"CareStart COVID-19 Antigen test_Access Bio, Inc._EUA"}]}}]}],"status":"final","code":{"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","code":"94558-4","display":"SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"}]},"subject":{"reference":"Patient/1721779095352871000.43ab1a5e-ddca-4454-baea-5a67fc67b3f1"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"performer":[{"reference":"Organization/1721779095358794000.776ae6de-798b-4a27-89af-8771c788f848"}],"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":"SCT"}],"system":"http://snomed.info/sct","code":"260415000","display":"Not detected"}]},"interpretation":[{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"HL70078"}],"code":"N","display":"Normal (applies to non-numeric results)"}]}],"method":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"99ELR"}],"code":"CareStart COVID-19 Antigen test_Access Bio, Inc._EUA"}]}}},{"fullUrl":"Organization/1721779095358794000.776ae6de-798b-4a27-89af-8771c788f848","resource":{"resourceType":"Organization","id":"1721779095358794000.776ae6de-798b-4a27-89af-8771c788f848","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization","extension":[{"url":"XON.10","valueString":"10D0876999"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"OBX.25"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CLIA"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.4.7"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueCode":"ISO"}]}],"value":"10D0876999"}],"name":"Avante at Ormond Beach","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":"170 North King Road"}]}]}],"line":[ "170 North King Road" ],"city":"Ormond Beach","district":"12127","state":"FL","postalCode":"32174"}]}},{"fullUrl":"Observation/1721779095361252000.86286d65-9e75-4f1b-9712-350c93666cfc","resource":{"resourceType":"Observation","id":"1721779095361252000.86286d65-9e75-4f1b-9712-350c93666cfc","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.29","valueId":"QST"},{"url":"OBX.11","valueString":"F"}]}],"status":"final","code":{"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","code":"95418-0","display":"Whether patient is employed in a healthcare setting"}]},"subject":{"reference":"Patient/1721779095352871000.43ab1a5e-ddca-4454-baea-5a67fc67b3f1"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"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":"HL70136"}],"code":"Y","display":"Yes"}]}}},{"fullUrl":"Observation/1721779095363292000.adbb0dcd-2367-475c-af73-95f96044ec62","resource":{"resourceType":"Observation","id":"1721779095363292000.adbb0dcd-2367-475c-af73-95f96044ec62","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.29","valueId":"QST"},{"url":"OBX.11","valueString":"F"}]}],"status":"final","code":{"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","code":"95417-2","display":"First test for condition of interest"}]},"subject":{"reference":"Patient/1721779095352871000.43ab1a5e-ddca-4454-baea-5a67fc67b3f1"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"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":"HL70136"}],"code":"Y","display":"Yes"}]}}},{"fullUrl":"Observation/1721779095365380000.f1fb38e0-5df0-4aca-9854-423bbf2bf6ae","resource":{"resourceType":"Observation","id":"1721779095365380000.f1fb38e0-5df0-4aca-9854-423bbf2bf6ae","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.29","valueId":"QST"},{"url":"OBX.11","valueString":"F"}]}],"status":"final","code":{"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","code":"95421-4","display":"Resides in a congregate care setting"}]},"subject":{"reference":"Patient/1721779095352871000.43ab1a5e-ddca-4454-baea-5a67fc67b3f1"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"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":"HL70136"}],"code":"N","display":"No"}]}}},{"fullUrl":"Observation/1721779095367165000.2ec02035-fd7f-4224-8fb4-416456c43445","resource":{"resourceType":"Observation","id":"1721779095367165000.2ec02035-fd7f-4224-8fb4-416456c43445","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.29","valueId":"QST"},{"url":"OBX.11","valueString":"F"}]}],"status":"final","code":{"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","code":"95419-8","display":"Has symptoms related to condition of interest"}]},"subject":{"reference":"Patient/1721779095352871000.43ab1a5e-ddca-4454-baea-5a67fc67b3f1"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"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":"HL70136"}],"code":"N","display":"No"}]}}},{"fullUrl":"Specimen/1721779095482081000.c3758a54-eb20-4694-b925-cc7d24bfbbba","resource":{"resourceType":"Specimen","id":"1721779095482081000.c3758a54-eb20-4694-b925-cc7d24bfbbba","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment","valueString":"OBR"}]}},{"fullUrl":"Specimen/1721779095483785000.68cef163-56b4-4da6-8e30-b61983c02e6b","resource":{"resourceType":"Specimen","id":"1721779095483785000.68cef163-56b4-4da6-8e30-b61983c02e6b","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment","valueString":"SPM"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Component","valueString":"SPM.2.1"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"PGN"}]},"value":"0cba76f5-35e0-4a28-803a-2f31308aae9b"}],"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"SCT"}],"system":"http://snomed.info/sct","code":"258500001","display":"Nasopharyngeal swab"}]},"receivedTime":"2021-02-09T00:00:00-06:00","_receivedTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"collection":{"collectedDateTime":"2021-02-09T00:00:00-06:00","_collectedDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"bodySite":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"SCT"}],"system":"http://snomed.info/sct","version":"2020-09-01","code":"71836000","display":"Nasopharyngeal structure (body structure)"}]}}}},{"fullUrl":"ServiceRequest/1721779095491622000.c8739469-89a0-4296-8bbb-1a8f4dca313f","resource":{"resourceType":"ServiceRequest","id":"1721779095491622000.c8739469-89a0-4296-8bbb-1a8f4dca313f","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/business-event","valueCode":"RE"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/orc-common-order","extension":[{"url":"orc-21-ordering-facility-name","valueReference":{"reference":"Organization/1721779095488185000.0eaf9feb-254d-4235-9dff-638105263d37"}},{"url":"orc-22-ordering-facility-address","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":"170 North King Road"}]}]}],"line":[ "170 North King Road" ],"city":"Ormond Beach","district":"12127","state":"FL","postalCode":"32174"}},{"url":"orc-24-ordering-provider-address","valueAddress":{"postalCode":"32174"}},{"url":"orc-12-ordering-provider","valueReference":{"reference":"Practitioner/1721779095489764000.87471747-2300-4260-9bc7-805b7451df4b"}},{"url":"ORC.15","valueString":"20210209"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obr-observation-request","extension":[{"url":"OBR.2","valueIdentifier":{"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"}},{"url":"OBR.3","valueIdentifier":{"value":"0cba76f5-35e0-4a28-803a-2f31308aae9b"}},{"url":"OBR.22","valueString":"202102090000-0600"},{"url":"OBR.25","valueId":"F"},{"url":"OBR.16","valueReference":{"reference":"Practitioner/1721779095490784000.d8a5e4d6-6caf-408d-901a-a862fbf57a18"}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/callback-number","valueContactPoint":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"386"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"6825220"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.2","valueString":"WPN"},{"url":"XTN.7","valueString":"6825220"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"OBR.17"}],"_system":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]},"use":"work"}}]}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.2"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"PLAC"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"},{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.3"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"FILL"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"}],"status":"unknown","code":{"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","code":"94558-4","display":"SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"}]},"subject":{"reference":"Patient/1721779095352871000.43ab1a5e-ddca-4454-baea-5a67fc67b3f1"},"requester":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/callback-number","valueContactPoint":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"386"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"6825220"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.2","valueString":"WPN"},{"url":"XTN.7","valueString":"6825220"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.14"}],"_system":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]},"use":"work"}}],"reference":"PractitionerRole/1721779095484855000.d07abc10-62fa-445b-81df-1af193f5ce19"}}},{"fullUrl":"Practitioner/1721779095485842000.c16c7a09-63f3-4753-bfd4-bb6e0f02ff83","resource":{"resourceType":"Practitioner","id":"1721779095485842000.c16c7a09-63f3-4753-bfd4-bb6e0f02ff83","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CMS"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.249"},{"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":"Husam"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.12"}],"identifier":[{"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id","valueBoolean": true}],"code":"NPI"}]},"system":"CMS","value":"1629082607"}],"name":[{"family":"Eddin","given":[ "Husam" ]}],"address":[{"postalCode":"32174"}]}},{"fullUrl":"Organization/1721779095486628000.7773205f-e9e1-49eb-bdf2-c4d80deb3306","resource":{"resourceType":"Organization","id":"1721779095486628000.7773205f-e9e1-49eb-bdf2-c4d80deb3306","name":"Avante at Ormond Beach","telecom":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"407"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"7397506"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.2","valueString":"WPN"},{"url":"XTN.4","valueString":"jbrush@avantecenters.com"},{"url":"XTN.7","valueString":"7397506"}]}],"system":"email","use":"work"}],"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":"170 North King Road"}]}]}],"line":[ "170 North King Road" ],"city":"Ormond Beach","district":"12127","state":"FL","postalCode":"32174"}]}},{"fullUrl":"PractitionerRole/1721779095484855000.d07abc10-62fa-445b-81df-1af193f5ce19","resource":{"resourceType":"PractitionerRole","id":"1721779095484855000.d07abc10-62fa-445b-81df-1af193f5ce19","practitioner":{"reference":"Practitioner/1721779095485842000.c16c7a09-63f3-4753-bfd4-bb6e0f02ff83"},"organization":{"reference":"Organization/1721779095486628000.7773205f-e9e1-49eb-bdf2-c4d80deb3306"}}},{"fullUrl":"Organization/1721779095488185000.0eaf9feb-254d-4235-9dff-638105263d37","resource":{"resourceType":"Organization","id":"1721779095488185000.0eaf9feb-254d-4235-9dff-638105263d37","name":"Avante at Ormond Beach"}},{"fullUrl":"Practitioner/1721779095489764000.87471747-2300-4260-9bc7-805b7451df4b","resource":{"resourceType":"Practitioner","id":"1721779095489764000.87471747-2300-4260-9bc7-805b7451df4b","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CMS"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.249"},{"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":"Husam"}]}],"identifier":[{"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id","valueBoolean": true}],"code":"NPI"}]},"system":"CMS","value":"1629082607"}],"name":[{"family":"Eddin","given":[ "Husam" ]}]}},{"fullUrl":"Practitioner/1721779095490784000.d8a5e4d6-6caf-408d-901a-a862fbf57a18","resource":{"resourceType":"Practitioner","id":"1721779095490784000.d8a5e4d6-6caf-408d-901a-a862fbf57a18","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CMS"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.249"},{"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":"Husam"}]}],"identifier":[{"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id","valueBoolean": true}],"code":"NPI"}]},"system":"CMS","value":"1629082607"}],"name":[{"family":"Eddin","given":[ "Husam" ]}]}},{"fullUrl":"DiagnosticReport/1721779095495254000.5cb1dfe6-8ed3-49c3-8a98-021226380faf","resource":{"resourceType":"DiagnosticReport","id":"1721779095495254000.5cb1dfe6-8ed3-49c3-8a98-021226380faf","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.2"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"PLAC"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"},{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"FILL"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"}],"basedOn":[{"reference":"ServiceRequest/1721779095491622000.c8739469-89a0-4296-8bbb-1a8f4dca313f"}],"status":"final","code":{"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","code":"94558-4","display":"SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"}]},"subject":{"reference":"Patient/1721779095352871000.43ab1a5e-ddca-4454-baea-5a67fc67b3f1"},"effectivePeriod":{"start":"2021-02-09T00:00:00-06:00","_start":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"end":"2021-02-09T00:00:00-06:00","_end":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]}},"issued":"2021-02-09T00:00:00-06:00","_issued":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"specimen":[{"reference":"Specimen/1721779095483785000.68cef163-56b4-4da6-8e30-b61983c02e6b"},{"reference":"Specimen/1721779095482081000.c3758a54-eb20-4694-b925-cc7d24bfbbba"}],"result":[{"reference":"Observation/1721779095357939000.85aa77e7-a8a3-41a0-bb83-3a8c7d94e52c"},{"reference":"Observation/1721779095361252000.86286d65-9e75-4f1b-9712-350c93666cfc"},{"reference":"Observation/1721779095363292000.adbb0dcd-2367-475c-af73-95f96044ec62"},{"reference":"Observation/1721779095365380000.f1fb38e0-5df0-4aca-9854-423bbf2bf6ae"},{"reference":"Observation/1721779095367165000.2ec02035-fd7f-4224-8fb4-416456c43445"}]}}]}"""
+ """{"resourceType":"Bundle","id":"1721779095041066000.8124ea86-afeb-4eb2-8971-312b9fb7acb8","meta":{"lastUpdated":"2024-07-23T16:58:15.045-07:00"},"identifier":{"system":"https://reportstream.cdc.gov/prime-router","value":"371784"},"type":"message","timestamp":"2021-02-10T17:07:37.000-08:00","entry":[{"fullUrl":"MessageHeader/4aeed951-99a9-3152-8885-6b0acc6dd35e","resource":{"resourceType":"MessageHeader","id":"4aeed951-99a9-3152-8885-6b0acc6dd35e","meta":{"tag":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0103","code":"P"}]},"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/msh-message-header","extension":[{"url":"MSH.7","valueString":"20210210170737"},{"url":"MSH.15","valueString":"NE"},{"url":"MSH.16","valueString":"NE"},{"url":"MSH.21","valueIdentifier":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"ELR_Receiver"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.9.99"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueCode":"ISO"}]}],"value":"PHLabReportNoAck"}}]}],"eventCoding":{"system":"http://terminology.hl7.org/CodeSystem/v2-0003","code":"R01","display":"ORU^R01^ORU_R01"},"destination":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"MSH.5"}],"name":"PRIME_DOH","_endpoint":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]},"receiver":{"reference":"Organization/1721779095101182000.6e9c378b-5357-4439-94fd-b578715648a6"}}],"sender":{"reference":"Organization/1721779095075059000.2189c9cf-ee89-4de1-8af1-01eeb203cdd7"},"source":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CDC PRIME - Atlanta, Georgia (Dekalb)"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.114222.4.1.237821"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueString":"ISO"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"MSH.3"}],"software":"PRIME ReportStream","version":"0.1-SNAPSHOT","endpoint":"urn:oid:2.16.840.1.114222.4.1.237821"}}},{"fullUrl":"Organization/1721779095075059000.2189c9cf-ee89-4de1-8af1-01eeb203cdd7","resource":{"resourceType":"Organization","id":"1721779095075059000.2189c9cf-ee89-4de1-8af1-01eeb203cdd7","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Avante at Ormond Beach"},{"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":"CLIA"}]},"value":"10D0876999"}],"address":[{"country":"USA"}]}},{"fullUrl":"Organization/1721779095101182000.6e9c378b-5357-4439-94fd-b578715648a6","resource":{"resourceType":"Organization","id":"1721779095101182000.6e9c378b-5357-4439-94fd-b578715648a6","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"MSH.6"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Prime ReportStream"}]}},{"fullUrl":"Provenance/1721779095325537000.37c25033-9e7b-483a-9ca2-8b553244c297","resource":{"resourceType":"Provenance","id":"1721779095325537000.37c25033-9e7b-483a-9ca2-8b553244c297","target":[{"reference":"MessageHeader/4aeed951-99a9-3152-8885-6b0acc6dd35e"},{"reference":"DiagnosticReport/1721779095495254000.5cb1dfe6-8ed3-49c3-8a98-021226380faf"}],"recorded":"2021-02-10T17:07:37Z","activity":{"coding":[{"display":"ORU^R01^ORU_R01"}]},"agent":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/provenance-participant-type","code":"author"}]},"who":{"reference":"Organization/1721779095324867000.5b5c3704-8a2b-439b-a8a6-06e32fb78478"}}],"entity":[{"role":"source","what":{"reference":"Device/1721779095327982000.a98928b3-e99b-4463-bada-b6a596c9cc10"}}]}},{"fullUrl":"Organization/1721779095324867000.5b5c3704-8a2b-439b-a8a6-06e32fb78478","resource":{"resourceType":"Organization","id":"1721779095324867000.5b5c3704-8a2b-439b-a8a6-06e32fb78478","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Avante at Ormond Beach"},{"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":"CLIA"}]},"value":"10D0876999"}]}},{"fullUrl":"Organization/1721779095327814000.ff76d2f4-c7e3-45ba-82e1-d1778702925f","resource":{"resourceType":"Organization","id":"1721779095327814000.ff76d2f4-c7e3-45ba-82e1-d1778702925f","name":"Centers for Disease Control and Prevention"}},{"fullUrl":"Device/1721779095327982000.a98928b3-e99b-4463-bada-b6a596c9cc10","resource":{"resourceType":"Device","id":"1721779095327982000.a98928b3-e99b-4463-bada-b6a596c9cc10","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/software-vendor-org","valueReference":{"reference":"Organization/1721779095327814000.ff76d2f4-c7e3-45ba-82e1-d1778702925f"}}],"manufacturer":"Centers for Disease Control and Prevention","deviceName":[{"name":"PRIME ReportStream","type":"manufacturer-name"}],"modelNumber":"0.1-SNAPSHOT","version":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/software-install-date","valueDateTime":"2021-02-10","_valueDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"20210210"}]}}],"value":"0.1-SNAPSHOT"}]}},{"fullUrl":"Provenance/1721779095333009000.bd411d6d-f4cf-4c49-9cae-25b4358d5611","resource":{"resourceType":"Provenance","id":"1721779095333009000.bd411d6d-f4cf-4c49-9cae-25b4358d5611","recorded":"2024-07-23T16:58:15Z","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/1721779095332702000.dfbfd358-15e6-4037-8ef7-77545accb117"}}]}},{"fullUrl":"Organization/1721779095332702000.dfbfd358-15e6-4037-8ef7-77545accb117","resource":{"resourceType":"Organization","id":"1721779095332702000.dfbfd358-15e6-4037-8ef7-77545accb117","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/1721779095352871000.43ab1a5e-ddca-4454-baea-5a67fc67b3f1","resource":{"resourceType":"Patient","id":"1721779095352871000.43ab1a5e-ddca-4454-baea-5a67fc67b3f1","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/pid-patient","extension":[{"url":"PID.8","valueCodeableConcept":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"}],"code":"F"}]}},{"url":"PID.30","valueString":"N"}]},{"url":"http://ibm.com/fhir/cdm/StructureDefinition/local-race-cd","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":"HL70005"}],"system":"http://terminology.hl7.org/CodeSystem/v3-Race","version":"2.5.1","code":"2106-3","display":"White"}]}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/ethnic-group","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":"HL70189"}],"system":"http://terminology.hl7.org/CodeSystem/v2-0189","code":"U","display":"Unknown"}]}}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier","extension":[{"url":"CX.5","valueString":"PI"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"PID.3"}],"type":{"coding":[{"code":"PI"}]},"value":"2a14112c-ece1-4f82-915c-7b3a8d152eda","assigner":{"reference":"Organization/1721779095337788000.9966802f-37aa-4c6c-9461-a485310d483b"}}],"name":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name","extension":[{"url":"XPN.2","valueString":"Kareem"},{"url":"XPN.3","valueString":"Millie"},{"url":"XPN.7","valueString":"L"}]}],"use":"official","family":"Buckridge","given":["Kareem","Millie"]}],"telecom":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"211"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"2240784"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.1","valueString":"7275555555:1:"},{"url":"XTN.2","valueString":"PRN"},{"url":"XTN.4","valueString":"roscoe.wilkinson@email.com"},{"url":"XTN.7","valueString":"2240784"}]}],"system":"email","use":"home"}],"gender":"female","birthDate":"1958-08-10","_birthDate":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"19580810"}]},"deceasedBoolean":false,"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":"688 Leighann Inlet"}]}]}],"line":["688 Leighann Inlet"],"city":"South Rodneychester","district":"48077","state":"TX","postalCode":"67071"}]}},{"fullUrl":"Organization/1721779095337788000.9966802f-37aa-4c6c-9461-a485310d483b","resource":{"resourceType":"Organization","id":"1721779095337788000.9966802f-37aa-4c6c-9461-a485310d483b","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Avante at Ormond Beach"}]}},{"fullUrl":"Provenance/1721779095355228000.9beb413b-8721-4221-8c79-499e20f2fd92","resource":{"resourceType":"Provenance","id":"1721779095355228000.9beb413b-8721-4221-8c79-499e20f2fd92","target":[{"reference":"Patient/1721779095352871000.43ab1a5e-ddca-4454-baea-5a67fc67b3f1"}],"recorded":"2024-07-23T16:58:15Z","activity":{"coding":[{"system":"https://terminology.hl7.org/CodeSystem/v3-DataOperation","code":"UPDATE"}]}}},{"fullUrl":"Observation/1721779095357939000.85aa77e7-a8a3-41a0-bb83-3a8c7d94e52c","resource":{"resourceType":"Observation","id":"1721779095357939000.85aa77e7-a8a3-41a0-bb83-3a8c7d94e52c","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/analysis-date-time","valueDateTime":"2021-02-09T00:00:00-06:00","_valueDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.11","valueString":"F"},{"url":"OBX.17","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":"99ELR"}],"code":"CareStart COVID-19 Antigen test_Access Bio, Inc._EUA"}]}}]}],"status":"final","code":{"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","code":"94558-4","display":"SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"}]},"subject":{"reference":"Patient/1721779095352871000.43ab1a5e-ddca-4454-baea-5a67fc67b3f1"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"performer":[{"reference":"Organization/1721779095358794000.776ae6de-798b-4a27-89af-8771c788f848"}],"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":"SCT"}],"system":"http://snomed.info/sct","code":"260415000","display":"Not detected"}]},"interpretation":[{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"HL70078"}],"code":"N","display":"Normal (applies to non-numeric results)"}]}],"method":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"99ELR"}],"code":"CareStart COVID-19 Antigen test_Access Bio, Inc._EUA"}]}}},{"fullUrl":"Organization/1721779095358794000.776ae6de-798b-4a27-89af-8771c788f848","resource":{"resourceType":"Organization","id":"1721779095358794000.776ae6de-798b-4a27-89af-8771c788f848","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization","extension":[{"url":"XON.10","valueString":"10D0876999"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"OBX.25"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CLIA"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.4.7"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueCode":"ISO"}]}],"value":"10D0876999"}],"name":"Avante at Ormond Beach","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":"170 North King Road"}]}]}],"line":["170 North King Road"],"city":"Ormond Beach","district":"12127","state":"FL","postalCode":"32174"}]}},{"fullUrl":"Observation/1721779095361252000.86286d65-9e75-4f1b-9712-350c93666cfc","resource":{"resourceType":"Observation","id":"1721779095361252000.86286d65-9e75-4f1b-9712-350c93666cfc","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.29","valueId":"QST"},{"url":"OBX.11","valueString":"F"}]}],"status":"final","code":{"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","code":"95418-0","display":"Whether patient is employed in a healthcare setting"}]},"subject":{"reference":"Patient/1721779095352871000.43ab1a5e-ddca-4454-baea-5a67fc67b3f1"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"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":"HL70136"}],"code":"Y","display":"Yes"}]}}},{"fullUrl":"Observation/1721779095363292000.adbb0dcd-2367-475c-af73-95f96044ec62","resource":{"resourceType":"Observation","id":"1721779095363292000.adbb0dcd-2367-475c-af73-95f96044ec62","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.29","valueId":"QST"},{"url":"OBX.11","valueString":"F"}]}],"status":"final","code":{"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","code":"95417-2","display":"First test for condition of interest"}]},"subject":{"reference":"Patient/1721779095352871000.43ab1a5e-ddca-4454-baea-5a67fc67b3f1"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"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":"HL70136"}],"code":"Y","display":"Yes"}]}}},{"fullUrl":"Observation/1721779095365380000.f1fb38e0-5df0-4aca-9854-423bbf2bf6ae","resource":{"resourceType":"Observation","id":"1721779095365380000.f1fb38e0-5df0-4aca-9854-423bbf2bf6ae","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.29","valueId":"QST"},{"url":"OBX.11","valueString":"F"}]}],"status":"final","code":{"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","code":"95421-4","display":"Resides in a congregate care setting"}]},"subject":{"reference":"Patient/1721779095352871000.43ab1a5e-ddca-4454-baea-5a67fc67b3f1"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"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":"HL70136"}],"code":"N","display":"No"}]}}},{"fullUrl":"Observation/1721779095367165000.2ec02035-fd7f-4224-8fb4-416456c43445","resource":{"resourceType":"Observation","id":"1721779095367165000.2ec02035-fd7f-4224-8fb4-416456c43445","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.29","valueId":"QST"},{"url":"OBX.11","valueString":"F"}]}],"status":"final","code":{"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","code":"95419-8","display":"Has symptoms related to condition of interest"}]},"subject":{"reference":"Patient/1721779095352871000.43ab1a5e-ddca-4454-baea-5a67fc67b3f1"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"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":"HL70136"}],"code":"N","display":"No"}]}}},{"fullUrl":"Specimen/1721779095482081000.c3758a54-eb20-4694-b925-cc7d24bfbbba","resource":{"resourceType":"Specimen","id":"1721779095482081000.c3758a54-eb20-4694-b925-cc7d24bfbbba","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment","valueString":"OBR"}],"collection":{"collectedPeriod":{"start":"2021-02-09T00:00:00-06:00","_start":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"end":"2021-02-09T00:00:00-06:00","_end":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]}}}}},{"fullUrl":"Specimen/1721779095483785000.68cef163-56b4-4da6-8e30-b61983c02e6b","resource":{"resourceType":"Specimen","id":"1721779095483785000.68cef163-56b4-4da6-8e30-b61983c02e6b","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment","valueString":"SPM"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Component","valueString":"SPM.2.1"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"PGN"}]},"value":"0cba76f5-35e0-4a28-803a-2f31308aae9b"}],"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"SCT"}],"system":"http://snomed.info/sct","code":"258500001","display":"Nasopharyngeal swab"}]},"receivedTime":"2021-02-09T00:00:00-06:00","_receivedTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"collection":{"collectedDateTime":"2021-02-09T00:00:00-06:00","_collectedDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"bodySite":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"SCT"}],"system":"http://snomed.info/sct","version":"2020-09-01","code":"71836000","display":"Nasopharyngeal structure (body structure)"}]}}}},{"fullUrl":"ServiceRequest/1721779095491622000.c8739469-89a0-4296-8bbb-1a8f4dca313f","resource":{"resourceType":"ServiceRequest","id":"1721779095491622000.c8739469-89a0-4296-8bbb-1a8f4dca313f","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/business-event","valueCode":"RE"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/orc-common-order","extension":[{"url":"orc-21-ordering-facility-name","valueReference":{"reference":"Organization/1721779095488185000.0eaf9feb-254d-4235-9dff-638105263d37"}},{"url":"orc-22-ordering-facility-address","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":"170 North King Road"}]}]}],"line":["170 North King Road"],"city":"Ormond Beach","district":"12127","state":"FL","postalCode":"32174"}},{"url":"orc-24-ordering-provider-address","valueAddress":{"postalCode":"32174"}},{"url":"orc-12-ordering-provider","valueReference":{"reference":"Practitioner/1721779095489764000.87471747-2300-4260-9bc7-805b7451df4b"}},{"url":"ORC.15","valueString":"20210209"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obr-observation-request","extension":[{"url":"OBR.2","valueIdentifier":{"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"}},{"url":"OBR.3","valueIdentifier":{"value":"0cba76f5-35e0-4a28-803a-2f31308aae9b"}},{"url":"OBR.22","valueString":"202102090000-0600"},{"url":"OBR.25","valueId":"F"},{"url":"OBR.16","valueReference":{"reference":"Practitioner/1721779095490784000.d8a5e4d6-6caf-408d-901a-a862fbf57a18"}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/callback-number","valueContactPoint":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"386"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"6825220"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.2","valueString":"WPN"},{"url":"XTN.7","valueString":"6825220"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"OBR.17"}],"_system":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]},"use":"work"}}]}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.2"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"PLAC"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"},{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.3"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"FILL"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"}],"status":"unknown","code":{"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","code":"94558-4","display":"SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"}]},"subject":{"reference":"Patient/1721779095352871000.43ab1a5e-ddca-4454-baea-5a67fc67b3f1"},"requester":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/callback-number","valueContactPoint":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"386"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"6825220"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.2","valueString":"WPN"},{"url":"XTN.7","valueString":"6825220"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.14"}],"_system":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]},"use":"work"}}],"reference":"PractitionerRole/1721779095484855000.d07abc10-62fa-445b-81df-1af193f5ce19"}}},{"fullUrl":"Practitioner/1721779095485842000.c16c7a09-63f3-4753-bfd4-bb6e0f02ff83","resource":{"resourceType":"Practitioner","id":"1721779095485842000.c16c7a09-63f3-4753-bfd4-bb6e0f02ff83","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CMS"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.249"},{"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":"Husam"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.12"}],"identifier":[{"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id","valueBoolean":true}],"code":"NPI"}]},"system":"CMS","value":"1629082607"}],"name":[{"family":"Eddin","given":["Husam"]}],"address":[{"postalCode":"32174"}]}},{"fullUrl":"Organization/1721779095486628000.7773205f-e9e1-49eb-bdf2-c4d80deb3306","resource":{"resourceType":"Organization","id":"1721779095486628000.7773205f-e9e1-49eb-bdf2-c4d80deb3306","name":"Avante at Ormond Beach","telecom":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"407"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"7397506"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.2","valueString":"WPN"},{"url":"XTN.4","valueString":"jbrush@avantecenters.com"},{"url":"XTN.7","valueString":"7397506"}]}],"system":"email","use":"work"}],"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":"170 North King Road"}]}]}],"line":["170 North King Road"],"city":"Ormond Beach","district":"12127","state":"FL","postalCode":"32174"}]}},{"fullUrl":"PractitionerRole/1721779095484855000.d07abc10-62fa-445b-81df-1af193f5ce19","resource":{"resourceType":"PractitionerRole","id":"1721779095484855000.d07abc10-62fa-445b-81df-1af193f5ce19","practitioner":{"reference":"Practitioner/1721779095485842000.c16c7a09-63f3-4753-bfd4-bb6e0f02ff83"},"organization":{"reference":"Organization/1721779095486628000.7773205f-e9e1-49eb-bdf2-c4d80deb3306"}}},{"fullUrl":"Organization/1721779095488185000.0eaf9feb-254d-4235-9dff-638105263d37","resource":{"resourceType":"Organization","id":"1721779095488185000.0eaf9feb-254d-4235-9dff-638105263d37","name":"Avante at Ormond Beach"}},{"fullUrl":"Practitioner/1721779095489764000.87471747-2300-4260-9bc7-805b7451df4b","resource":{"resourceType":"Practitioner","id":"1721779095489764000.87471747-2300-4260-9bc7-805b7451df4b","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CMS"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.249"},{"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":"Husam"}]}],"identifier":[{"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id","valueBoolean":true}],"code":"NPI"}]},"system":"CMS","value":"1629082607"}],"name":[{"family":"Eddin","given":["Husam"]}]}},{"fullUrl":"Practitioner/1721779095490784000.d8a5e4d6-6caf-408d-901a-a862fbf57a18","resource":{"resourceType":"Practitioner","id":"1721779095490784000.d8a5e4d6-6caf-408d-901a-a862fbf57a18","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CMS"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.249"},{"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":"Husam"}]}],"identifier":[{"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id","valueBoolean":true}],"code":"NPI"}]},"system":"CMS","value":"1629082607"}],"name":[{"family":"Eddin","given":["Husam"]}]}},{"fullUrl":"DiagnosticReport/1721779095495254000.5cb1dfe6-8ed3-49c3-8a98-021226380faf","resource":{"resourceType":"DiagnosticReport","id":"1721779095495254000.5cb1dfe6-8ed3-49c3-8a98-021226380faf","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.2"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"PLAC"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"},{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"FILL"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"}],"basedOn":[{"reference":"ServiceRequest/1721779095491622000.c8739469-89a0-4296-8bbb-1a8f4dca313f"}],"status":"final","code":{"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","code":"94558-4","display":"SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"}]},"subject":{"reference":"Patient/1721779095352871000.43ab1a5e-ddca-4454-baea-5a67fc67b3f1"},"effectivePeriod":{"start":"2021-02-09T00:00:00-06:00","_start":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"end":"2021-02-09T00:00:00-06:00","_end":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]}},"issued":"2021-02-09T00:00:00-06:00","_issued":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"specimen":[{"reference":"Specimen/1721779095483785000.68cef163-56b4-4da6-8e30-b61983c02e6b"},{"reference":"Specimen/1721779095482081000.c3758a54-eb20-4694-b925-cc7d24bfbbba"}],"result":[{"reference":"Observation/1721779095357939000.85aa77e7-a8a3-41a0-bb83-3a8c7d94e52c"},{"reference":"Observation/1721779095361252000.86286d65-9e75-4f1b-9712-350c93666cfc"},{"reference":"Observation/1721779095363292000.adbb0dcd-2367-475c-af73-95f96044ec62"},{"reference":"Observation/1721779095365380000.f1fb38e0-5df0-4aca-9854-423bbf2bf6ae"},{"reference":"Observation/1721779095367165000.2ec02035-fd7f-4224-8fb4-416456c43445"}]}}]}"""
@Suppress("ktlint:standard:max-line-length")
const val cleanHL7RecordConvertedAndTransformed =
- """{"resourceType":"Bundle","id":"1714075986350543000.8e8b0e71-a366-41cc-acca-041376e7b05e","meta":{"lastUpdated":"2024-04-25T16:13:06.357-04:00"},"identifier":{"system":"https://reportstream.cdc.gov/prime-router","value":"371784"},"type":"message","timestamp":"2021-02-10T17:07:37.000-05:00","entry":[{"fullUrl":"MessageHeader/4aeed951-99a9-3152-8885-6b0acc6dd35e","resource":{"resourceType":"MessageHeader","id":"4aeed951-99a9-3152-8885-6b0acc6dd35e","meta":{"tag":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0103","code":"P"}]},"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/msh-message-header","extension":[{"url":"MSH.7","valueString":"20210210170737"},{"url":"MSH.15","valueString":"NE"},{"url":"MSH.16","valueString":"NE"},{"url":"MSH.21","valueIdentifier":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"ELR_Receiver"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.9.99"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueCode":"ISO"}]}],"value":"PHLabReportNoAck"}},{"url":"MSH.19","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":"ISO"}],"code":"ENG","display":"English"}]}}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/character-set","valueString":"UNICODE UTF-8"}],"eventCoding":{"system":"http://terminology.hl7.org/CodeSystem/v2-0003","code":"R01","display":"ORU^R01^ORU_R01"},"destination":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"MSH.5"}],"name":"PRIME_DOH","_endpoint":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]},"receiver":{"reference":"Organization/1714075986425376000.cb936de7-9452-42d7-86c3-f57fd8ddfbe3"}}],"sender":{"reference":"Organization/1714075986401657000.30e02219-032e-47ce-894b-4fa29e81f6bd"},"source":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CDC PRIME - Atlanta, Georgia (Dekalb)"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.114222.4.1.237821"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueString":"ISO"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"MSH.3"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/software-binary-id","valueString":"0.2-SNAPSHOT"}],"name":"CDC PRIME - Atlanta: 2.16.840.1.114222.4.1.237821","software":"PRIME ReportStream","version":"0.2-SNAPSHOT","endpoint":"urn:oid:2.16.840.1.114222.4.1.237821"}}},{"fullUrl":"Organization/1714075986401657000.30e02219-032e-47ce-894b-4fa29e81f6bd","resource":{"resourceType":"Organization","id":"1714075986401657000.30e02219-032e-47ce-894b-4fa29e81f6bd","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Avante at Ormond Beach"},{"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":"CLIA"}]},"value":"10D0876999"}],"address":[{"country":"USA"}]}},{"fullUrl":"Organization/1714075986425376000.cb936de7-9452-42d7-86c3-f57fd8ddfbe3","resource":{"resourceType":"Organization","id":"1714075986425376000.cb936de7-9452-42d7-86c3-f57fd8ddfbe3","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"MSH.6"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Prime ReportStream"}]}},{"fullUrl":"Provenance/1714075986727087000.4e6970c6-01b3-4612-b376-35483edc9bbd","resource":{"resourceType":"Provenance","id":"1714075986727087000.4e6970c6-01b3-4612-b376-35483edc9bbd","target":[{"reference":"MessageHeader/4aeed951-99a9-3152-8885-6b0acc6dd35e"},{"reference":"DiagnosticReport/1714075986955034000.cc978b59-ca68-4ffd-acba-9572836be3a7"}],"recorded":"2021-02-10T17:07:37Z","activity":{"coding":[{"display":"ORU^R01^ORU_R01"}]},"agent":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/provenance-participant-type","code":"author"}]},"who":{"reference":"Organization/1714075986726387000.702ee15b-9579-4fc5-90ba-61687ccae7a2"}}],"entity":[{"role":"source","what":{"reference":"Device/1714075986730018000.6da6ceec-1bc0-4a02-9337-6d2004f489dc"}}]}},{"fullUrl":"Organization/1714075986726387000.702ee15b-9579-4fc5-90ba-61687ccae7a2","resource":{"resourceType":"Organization","id":"1714075986726387000.702ee15b-9579-4fc5-90ba-61687ccae7a2","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Avante at Ormond Beach"},{"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":"CLIA"}]},"value":"10D0876999"}]}},{"fullUrl":"Organization/1714075986729787000.6c913b49-e6ed-42ac-9394-0179bf943dac","resource":{"resourceType":"Organization","id":"1714075986729787000.6c913b49-e6ed-42ac-9394-0179bf943dac","name":"Centers for Disease Control and Prevention"}},{"fullUrl":"Device/1714075986730018000.6da6ceec-1bc0-4a02-9337-6d2004f489dc","resource":{"resourceType":"Device","id":"1714075986730018000.6da6ceec-1bc0-4a02-9337-6d2004f489dc","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/software-vendor-org","valueReference":{"reference":"Organization/1714075986729787000.6c913b49-e6ed-42ac-9394-0179bf943dac"}}],"manufacturer":"Centers for Disease Control and Prevention","deviceName":[{"name":"PRIME ReportStream","type":"manufacturer-name"}],"modelNumber":"0.1-SNAPSHOT","version":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/software-install-date","valueDateTime":"2021-02-10","_valueDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"20210210"}]}}],"value":"0.1-SNAPSHOT"}]}},{"fullUrl":"Provenance/1714075986736704000.6f33e8d5-9a09-420a-a62a-ea54cf980008","resource":{"resourceType":"Provenance","id":"1714075986736704000.6f33e8d5-9a09-420a-a62a-ea54cf980008","recorded":"2024-04-25T16:13:06Z","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/1714075986736409000.4cda0569-e1f1-491e-b91c-f547183ee8b6"}}]}},{"fullUrl":"Organization/1714075986736409000.4cda0569-e1f1-491e-b91c-f547183ee8b6","resource":{"resourceType":"Organization","id":"1714075986736409000.4cda0569-e1f1-491e-b91c-f547183ee8b6","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/1714075986759616000.78cfdc07-349a-479b-a099-dc1bc510f205","resource":{"resourceType":"Patient","id":"1714075986759616000.78cfdc07-349a-479b-a099-dc1bc510f205","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/pid-patient","extension":[{"url":"PID.8","valueCodeableConcept":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"}],"code":"F"}]}},{"url":"PID.30","valueString":"N"}]},{"url":"http://ibm.com/fhir/cdm/StructureDefinition/local-race-cd","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":"HL70005"}],"system":"http://terminology.hl7.org/CodeSystem/v3-Race","version":"2.5.1","code":"2106-3","display":"White"}]}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/ethnic-group","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":"HL70189"}],"system":"http://terminology.hl7.org/CodeSystem/v2-0189","code":"U","display":"Unknown"}]}}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier","extension":[{"url":"CX.5","valueString":"PI"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"PID.3"}],"type":{"coding":[{"code":"PI"}]},"value":"2a14112c-ece1-4f82-915c-7b3a8d152eda","assigner":{"reference":"Organization/1714075986743741000.61cd6b50-d1db-4f02-8ce3-d004958259f6"}}],"name":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name","extension":[{"url":"XPN.2","valueString":"Kareem"},{"url":"XPN.3","valueString":"Millie"},{"url":"XPN.7","valueString":"L"}]}],"use":"official","family":"Buckridge","given":["Kareem","Millie"]}],"telecom":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"211"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"2240784"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.1","valueString":"7275555555:1:"},{"url":"XTN.2","valueString":"PRN"},{"url":"XTN.4","valueString":"roscoe.wilkinson@email.com"},{"url":"XTN.7","valueString":"2240784"}]}],"system":"email","use":"home"}],"gender":"female","birthDate":"1958-08-10","_birthDate":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"19580810"}]},"deceasedBoolean": false,"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":"688 Leighann Inlet"}]}]}],"line":["688 Leighann Inlet"],"city":"South Rodneychester","district":"48077","state":"TX","postalCode":"67071"}]}},{"fullUrl":"Organization/1714075986743741000.61cd6b50-d1db-4f02-8ce3-d004958259f6","resource":{"resourceType":"Organization","id":"1714075986743741000.61cd6b50-d1db-4f02-8ce3-d004958259f6","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Avante at Ormond Beach"}]}},{"fullUrl":"Provenance/1714075986762376000.e7a4e0a5-097f-42c0-ad1f-79d538074ac4","resource":{"resourceType":"Provenance","id":"1714075986762376000.e7a4e0a5-097f-42c0-ad1f-79d538074ac4","target":[{"reference":"Patient/1714075986759616000.78cfdc07-349a-479b-a099-dc1bc510f205"}],"recorded":"2024-04-25T16:13:06Z","activity":{"coding":[{"system":"https://terminology.hl7.org/CodeSystem/v3-DataOperation","code":"UPDATE"}]}}},{"fullUrl":"Observation/1714075986765741000.f425e3cf-0ddf-4af5-8b16-df83e7a62f81","resource":{"resourceType":"Observation","id":"1714075986765741000.f425e3cf-0ddf-4af5-8b16-df83e7a62f81","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/analysis-date-time","valueDateTime":"2021-02-09T00:00:00-06:00","_valueDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.11","valueString":"F"},{"url":"OBX.17","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":"99ELR"}],"code":"CareStart COVID-19 Antigen test_Access Bio, Inc._EUA"}]}}]}],"status":"final","code":{"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","code":"94558-4","display":"SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"}]},"subject":{"reference":"Patient/1714075986759616000.78cfdc07-349a-479b-a099-dc1bc510f205"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"performer":[{"reference":"Organization/1714075986766962000.8235bb6e-92a0-4a54-ae1c-3db19770d69b"}],"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":"SCT"}],"system":"http://snomed.info/sct","code":"260415000","display":"Not detected"}]},"interpretation":[{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"HL70078"}],"code":"N","display":"Normal (applies to non-numeric results)"}]}],"method":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"99ELR"}],"code":"CareStart COVID-19 Antigen test_Access Bio, Inc._EUA"}]}}},{"fullUrl":"Organization/1714075986766962000.8235bb6e-92a0-4a54-ae1c-3db19770d69b","resource":{"resourceType":"Organization","id":"1714075986766962000.8235bb6e-92a0-4a54-ae1c-3db19770d69b","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization","extension":[{"url":"XON.10","valueString":"10D0876999"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"OBX.25"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CLIA"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.4.7"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueCode":"ISO"}]}],"value":"10D0876999"}],"name":"Avante at Ormond Beach","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":"170 North King Road"}]}]}],"line":["170 North King Road"],"city":"Ormond Beach","district":"12127","state":"FL","postalCode":"32174"}]}},{"fullUrl":"Observation/1714075986770033000.37d8a1d9-ae7d-46fd-803f-d78e6aa6c1d9","resource":{"resourceType":"Observation","id":"1714075986770033000.37d8a1d9-ae7d-46fd-803f-d78e6aa6c1d9","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.29","valueId":"QST"},{"url":"OBX.11","valueString":"F"}]}],"status":"final","code":{"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","code":"95418-0","display":"Whether patient is employed in a healthcare setting"}]},"subject":{"reference":"Patient/1714075986759616000.78cfdc07-349a-479b-a099-dc1bc510f205"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"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":"HL70136"}],"code":"Y","display":"Yes"}]}}},{"fullUrl":"Observation/1714075986772515000.a4be52f4-ae35-4a3d-b175-c3ab08914b01","resource":{"resourceType":"Observation","id":"1714075986772515000.a4be52f4-ae35-4a3d-b175-c3ab08914b01","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.29","valueId":"QST"},{"url":"OBX.11","valueString":"F"}]}],"status":"final","code":{"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","code":"95417-2","display":"First test for condition of interest"}]},"subject":{"reference":"Patient/1714075986759616000.78cfdc07-349a-479b-a099-dc1bc510f205"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"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":"HL70136"}],"code":"Y","display":"Yes"}]}}},{"fullUrl":"Observation/1714075986774643000.9484ea7b-9305-4c74-9935-34b3c8d5f789","resource":{"resourceType":"Observation","id":"1714075986774643000.9484ea7b-9305-4c74-9935-34b3c8d5f789","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.29","valueId":"QST"},{"url":"OBX.11","valueString":"F"}]}],"status":"final","code":{"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","code":"95421-4","display":"Resides in a congregate care setting"}]},"subject":{"reference":"Patient/1714075986759616000.78cfdc07-349a-479b-a099-dc1bc510f205"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"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":"HL70136"}],"code":"N","display":"No"}]}}},{"fullUrl":"Observation/1714075986776639000.f1662223-7730-4a3e-91a3-955f0f06064d","resource":{"resourceType":"Observation","id":"1714075986776639000.f1662223-7730-4a3e-91a3-955f0f06064d","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.29","valueId":"QST"},{"url":"OBX.11","valueString":"F"}]}],"status":"final","code":{"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","code":"95419-8","display":"Has symptoms related to condition of interest"}]},"subject":{"reference":"Patient/1714075986759616000.78cfdc07-349a-479b-a099-dc1bc510f205"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"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":"HL70136"}],"code":"N","display":"No"}]}}},{"fullUrl":"Specimen/1714075986937410000.9df806cb-634d-4184-bc40-0ec32517f9ed","resource":{"resourceType":"Specimen","id":"1714075986937410000.9df806cb-634d-4184-bc40-0ec32517f9ed","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment","valueString":"OBR"}]}},{"fullUrl":"Specimen/1714075986939510000.57ef79ed-b452-4e86-a649-4c210e024d4b","resource":{"resourceType":"Specimen","id":"1714075986939510000.57ef79ed-b452-4e86-a649-4c210e024d4b","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment","valueString":"SPM"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Component","valueString":"SPM.2.1"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"PGN"}]},"value":"0cba76f5-35e0-4a28-803a-2f31308aae9b"}],"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"SCT"}],"system":"http://snomed.info/sct","code":"258500001","display":"Nasopharyngeal swab"}]},"receivedTime":"2021-02-09T00:00:00-06:00","_receivedTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"collection":{"collectedDateTime":"2021-02-09T00:00:00-06:00","_collectedDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"bodySite":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"SCT"}],"system":"http://snomed.info/sct","version":"2020-09-01","code":"71836000","display":"Nasopharyngeal structure (body structure)"}]}}}},{"fullUrl":"ServiceRequest/1714075986950489000.bef2097d-0fae-4fac-a174-f808320d4b83","resource":{"resourceType":"ServiceRequest","id":"1714075986950489000.bef2097d-0fae-4fac-a174-f808320d4b83","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/business-event","valueCode":"RE"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/orc-common-order","extension":[{"url":"orc-21-ordering-facility-name","valueReference":{"reference":"Organization/1714075986945628000.5d9da1e6-8ef5-48d7-a5b8-8d9801d0b16e"}},{"url":"orc-22-ordering-facility-address","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":"170 North King Road"}]}]}],"line":["170 North King Road"],"city":"Ormond Beach","district":"12127","state":"FL","postalCode":"32174"}},{"url":"orc-24-ordering-provider-address","valueAddress":{"postalCode":"32174"}},{"url":"orc-12-ordering-provider","valueReference":{"reference":"Practitioner/1714075986946939000.8f0eaca3-2bc6-441f-849c-5a3c570c2ab8"}},{"url":"ORC.15","valueString":"20210209"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obr-observation-request","extension":[{"url":"OBR.2","valueIdentifier":{"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"}},{"url":"OBR.3","valueIdentifier":{"value":"0cba76f5-35e0-4a28-803a-2f31308aae9b"}},{"url":"OBR.22","valueString":"202102090000-0600"},{"url":"OBR.25","valueId":"F"},{"url":"OBR.16","valueReference":{"reference":"Practitioner/1714075986949131000.664c9746-73e3-4367-9e19-3de556bd607d"}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/callback-number","valueContactPoint":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"386"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"6825220"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.2","valueString":"WPN"},{"url":"XTN.7","valueString":"6825220"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"OBR.17"}],"_system":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]},"use":"work"}}]}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.2"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"PLAC"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"},{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.3"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"FILL"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"}],"status":"unknown","code":{"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","code":"94558-4","display":"SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"}]},"subject":{"reference":"Patient/1714075986759616000.78cfdc07-349a-479b-a099-dc1bc510f205"},"requester":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/callback-number","valueContactPoint":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"386"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"6825220"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.2","valueString":"WPN"},{"url":"XTN.7","valueString":"6825220"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.14"}],"_system":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]},"use":"work"}}],"reference":"PractitionerRole/1714075986940575000.7585ac63-66b1-4aac-b4c8-bb001c5b6a08"}}},{"fullUrl":"Practitioner/1714075986941882000.671361fe-8f80-4c43-9211-f9f9257fc9f7","resource":{"resourceType":"Practitioner","id":"1714075986941882000.671361fe-8f80-4c43-9211-f9f9257fc9f7","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CMS"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.249"},{"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":"Husam"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.12"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"NPI"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"urn:oid:2.16.840.1.113883.4.6"}],"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id","valueBoolean": true}],"code":"NPI"}]},"system":"CMS","value":"1629082607"}],"name":[{"family":"Eddin","given":["Husam"]}],"address":[{"postalCode":"32174"}]}},{"fullUrl":"Organization/1714075986942881000.080d0179-0c67-41cf-bff0-f2628dfbd21f","resource":{"resourceType":"Organization","id":"1714075986942881000.080d0179-0c67-41cf-bff0-f2628dfbd21f","name":"Avante at Ormond Beach","telecom":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"407"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"7397506"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.2","valueString":"WPN"},{"url":"XTN.4","valueString":"jbrush@avantecenters.com"},{"url":"XTN.7","valueString":"7397506"}]}],"system":"email","use":"work"}],"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":"170 North King Road"}]}]}],"line":["170 North King Road"],"city":"Ormond Beach","district":"12127","state":"FL","postalCode":"32174"}]}},{"fullUrl":"PractitionerRole/1714075986940575000.7585ac63-66b1-4aac-b4c8-bb001c5b6a08","resource":{"resourceType":"PractitionerRole","id":"1714075986940575000.7585ac63-66b1-4aac-b4c8-bb001c5b6a08","practitioner":{"reference":"Practitioner/1714075986941882000.671361fe-8f80-4c43-9211-f9f9257fc9f7"},"organization":{"reference":"Organization/1714075986942881000.080d0179-0c67-41cf-bff0-f2628dfbd21f"}}},{"fullUrl":"Organization/1714075986945628000.5d9da1e6-8ef5-48d7-a5b8-8d9801d0b16e","resource":{"resourceType":"Organization","id":"1714075986945628000.5d9da1e6-8ef5-48d7-a5b8-8d9801d0b16e","name":"Avante at Ormond Beach"}},{"fullUrl":"Practitioner/1714075986946939000.8f0eaca3-2bc6-441f-849c-5a3c570c2ab8","resource":{"resourceType":"Practitioner","id":"1714075986946939000.8f0eaca3-2bc6-441f-849c-5a3c570c2ab8","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CMS"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.249"},{"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":"Husam"}]}],"identifier":[{"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id","valueBoolean": true}],"code":"NPI"}]},"system":"CMS","value":"1629082607"}],"name":[{"family":"Eddin","given":["Husam"]}]}},{"fullUrl":"Practitioner/1714075986949131000.664c9746-73e3-4367-9e19-3de556bd607d","resource":{"resourceType":"Practitioner","id":"1714075986949131000.664c9746-73e3-4367-9e19-3de556bd607d","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CMS"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.249"},{"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":"Husam"}]}],"identifier":[{"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id","valueBoolean": true}],"code":"NPI"}]},"system":"CMS","value":"1629082607"}],"name":[{"family":"Eddin","given":["Husam"]}]}},{"fullUrl":"DiagnosticReport/1714075986955034000.cc978b59-ca68-4ffd-acba-9572836be3a7","resource":{"resourceType":"DiagnosticReport","id":"1714075986955034000.cc978b59-ca68-4ffd-acba-9572836be3a7","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.2"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"PLAC"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"},{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"FILL"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"}],"basedOn":[{"reference":"ServiceRequest/1714075986950489000.bef2097d-0fae-4fac-a174-f808320d4b83"}],"status":"final","code":{"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","code":"94558-4","display":"SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"}]},"subject":{"reference":"Patient/1714075986759616000.78cfdc07-349a-479b-a099-dc1bc510f205"},"effectivePeriod":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valuePeriod":{"start":"2021-02-09T00:00:00-06:00","_start":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"end":"2021-02-09T00:00:00-06:00","_end":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]}}}],"start":"2021-02-09T00:00:00-06:00","_start":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"end":"2021-02-09T00:00:00-06:00","_end":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]}},"issued":"2021-02-09T00:00:00-06:00","_issued":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"specimen":[{"reference":"Specimen/1714075986939510000.57ef79ed-b452-4e86-a649-4c210e024d4b"},{"reference":"Specimen/1714075986937410000.9df806cb-634d-4184-bc40-0ec32517f9ed"}],"result":[{"reference":"Observation/1714075986765741000.f425e3cf-0ddf-4af5-8b16-df83e7a62f81"},{"reference":"Observation/1714075986770033000.37d8a1d9-ae7d-46fd-803f-d78e6aa6c1d9"},{"reference":"Observation/1714075986772515000.a4be52f4-ae35-4a3d-b175-c3ab08914b01"},{"reference":"Observation/1714075986774643000.9484ea7b-9305-4c74-9935-34b3c8d5f789"},{"reference":"Observation/1714075986776639000.f1662223-7730-4a3e-91a3-955f0f06064d"}]}}]}"""
+ """{"resourceType":"Bundle","id":"1714075986350543000.8e8b0e71-a366-41cc-acca-041376e7b05e","meta":{"lastUpdated":"2024-04-25T16:13:06.357-04:00"},"identifier":{"system":"https://reportstream.cdc.gov/prime-router","value":"371784"},"type":"message","timestamp":"2021-02-10T17:07:37.000-05:00","entry":[{"fullUrl":"MessageHeader/4aeed951-99a9-3152-8885-6b0acc6dd35e","resource":{"resourceType":"MessageHeader","id":"4aeed951-99a9-3152-8885-6b0acc6dd35e","meta":{"tag":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0103","code":"P"}]},"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/msh-message-header","extension":[{"url":"MSH.7","valueString":"20210210170737"},{"url":"MSH.15","valueString":"NE"},{"url":"MSH.16","valueString":"NE"},{"url":"MSH.21","valueIdentifier":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"ELR_Receiver"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.9.99"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueCode":"ISO"}]}],"value":"PHLabReportNoAck"}},{"url":"MSH.19","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":"ISO"}],"code":"ENG","display":"English"}]}}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/character-set","valueString":"UNICODE UTF-8"}],"eventCoding":{"system":"http://terminology.hl7.org/CodeSystem/v2-0003","code":"R01","display":"ORU^R01^ORU_R01"},"destination":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"MSH.5"}],"name":"PRIME_DOH","_endpoint":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]},"receiver":{"reference":"Organization/1714075986425376000.cb936de7-9452-42d7-86c3-f57fd8ddfbe3"}}],"sender":{"reference":"Organization/1714075986401657000.30e02219-032e-47ce-894b-4fa29e81f6bd"},"source":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CDC PRIME - Atlanta, Georgia (Dekalb)"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.114222.4.1.237821"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueString":"ISO"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"MSH.3"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/software-binary-id","valueString":"0.2-SNAPSHOT"}],"name":"CDC PRIME - Atlanta: 2.16.840.1.114222.4.1.237821","software":"PRIME ReportStream","version":"0.2-SNAPSHOT","endpoint":"urn:oid:2.16.840.1.114222.4.1.237821"}}},{"fullUrl":"Organization/1714075986401657000.30e02219-032e-47ce-894b-4fa29e81f6bd","resource":{"resourceType":"Organization","id":"1714075986401657000.30e02219-032e-47ce-894b-4fa29e81f6bd","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Avante at Ormond Beach"},{"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":"CLIA"}]},"value":"10D0876999"}],"address":[{"country":"USA"}]}},{"fullUrl":"Organization/1714075986425376000.cb936de7-9452-42d7-86c3-f57fd8ddfbe3","resource":{"resourceType":"Organization","id":"1714075986425376000.cb936de7-9452-42d7-86c3-f57fd8ddfbe3","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"MSH.6"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Prime ReportStream"}]}},{"fullUrl":"Provenance/1714075986727087000.4e6970c6-01b3-4612-b376-35483edc9bbd","resource":{"resourceType":"Provenance","id":"1714075986727087000.4e6970c6-01b3-4612-b376-35483edc9bbd","target":[{"reference":"MessageHeader/4aeed951-99a9-3152-8885-6b0acc6dd35e"},{"reference":"DiagnosticReport/1714075986955034000.cc978b59-ca68-4ffd-acba-9572836be3a7"}],"recorded":"2021-02-10T17:07:37Z","activity":{"coding":[{"display":"ORU^R01^ORU_R01"}]},"agent":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/provenance-participant-type","code":"author"}]},"who":{"reference":"Organization/1714075986726387000.702ee15b-9579-4fc5-90ba-61687ccae7a2"}}],"entity":[{"role":"source","what":{"reference":"Device/1714075986730018000.6da6ceec-1bc0-4a02-9337-6d2004f489dc"}}]}},{"fullUrl":"Organization/1714075986726387000.702ee15b-9579-4fc5-90ba-61687ccae7a2","resource":{"resourceType":"Organization","id":"1714075986726387000.702ee15b-9579-4fc5-90ba-61687ccae7a2","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Avante at Ormond Beach"},{"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":"CLIA"}]},"value":"10D0876999"}]}},{"fullUrl":"Organization/1714075986729787000.6c913b49-e6ed-42ac-9394-0179bf943dac","resource":{"resourceType":"Organization","id":"1714075986729787000.6c913b49-e6ed-42ac-9394-0179bf943dac","name":"Centers for Disease Control and Prevention"}},{"fullUrl":"Device/1714075986730018000.6da6ceec-1bc0-4a02-9337-6d2004f489dc","resource":{"resourceType":"Device","id":"1714075986730018000.6da6ceec-1bc0-4a02-9337-6d2004f489dc","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/software-vendor-org","valueReference":{"reference":"Organization/1714075986729787000.6c913b49-e6ed-42ac-9394-0179bf943dac"}}],"manufacturer":"Centers for Disease Control and Prevention","deviceName":[{"name":"PRIME ReportStream","type":"manufacturer-name"}],"modelNumber":"0.1-SNAPSHOT","version":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/software-install-date","valueDateTime":"2021-02-10","_valueDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"20210210"}]}}],"value":"0.1-SNAPSHOT"}]}},{"fullUrl":"Provenance/1714075986736704000.6f33e8d5-9a09-420a-a62a-ea54cf980008","resource":{"resourceType":"Provenance","id":"1714075986736704000.6f33e8d5-9a09-420a-a62a-ea54cf980008","recorded":"2024-04-25T16:13:06Z","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/1714075986736409000.4cda0569-e1f1-491e-b91c-f547183ee8b6"}}]}},{"fullUrl":"Organization/1714075986736409000.4cda0569-e1f1-491e-b91c-f547183ee8b6","resource":{"resourceType":"Organization","id":"1714075986736409000.4cda0569-e1f1-491e-b91c-f547183ee8b6","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/1714075986759616000.78cfdc07-349a-479b-a099-dc1bc510f205","resource":{"resourceType":"Patient","id":"1714075986759616000.78cfdc07-349a-479b-a099-dc1bc510f205","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/pid-patient","extension":[{"url":"PID.8","valueCodeableConcept":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"}],"code":"F"}]}},{"url":"PID.30","valueString":"N"}]},{"url":"http://ibm.com/fhir/cdm/StructureDefinition/local-race-cd","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":"HL70005"}],"system":"http://terminology.hl7.org/CodeSystem/v3-Race","version":"2.5.1","code":"2106-3","display":"White"}]}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/ethnic-group","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":"HL70189"}],"system":"http://terminology.hl7.org/CodeSystem/v2-0189","code":"U","display":"Unknown"}]}}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier","extension":[{"url":"CX.5","valueString":"PI"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"PID.3"}],"type":{"coding":[{"code":"PI"}]},"value":"2a14112c-ece1-4f82-915c-7b3a8d152eda","assigner":{"reference":"Organization/1714075986743741000.61cd6b50-d1db-4f02-8ce3-d004958259f6"}}],"name":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name","extension":[{"url":"XPN.2","valueString":"Kareem"},{"url":"XPN.3","valueString":"Millie"},{"url":"XPN.7","valueString":"L"}]}],"use":"official","family":"Buckridge","given":["Kareem","Millie"]}],"telecom":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"211"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"2240784"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.1","valueString":"7275555555:1:"},{"url":"XTN.2","valueString":"PRN"},{"url":"XTN.4","valueString":"roscoe.wilkinson@email.com"},{"url":"XTN.7","valueString":"2240784"}]}],"system":"email","use":"home"}],"gender":"female","birthDate":"1958-08-10","_birthDate":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"19580810"}]},"deceasedBoolean":false,"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":"688 Leighann Inlet"}]}]}],"line":["688 Leighann Inlet"],"city":"South Rodneychester","district":"48077","state":"TX","postalCode":"67071"}]}},{"fullUrl":"Organization/1714075986743741000.61cd6b50-d1db-4f02-8ce3-d004958259f6","resource":{"resourceType":"Organization","id":"1714075986743741000.61cd6b50-d1db-4f02-8ce3-d004958259f6","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Avante at Ormond Beach"}]}},{"fullUrl":"Provenance/1714075986762376000.e7a4e0a5-097f-42c0-ad1f-79d538074ac4","resource":{"resourceType":"Provenance","id":"1714075986762376000.e7a4e0a5-097f-42c0-ad1f-79d538074ac4","target":[{"reference":"Patient/1714075986759616000.78cfdc07-349a-479b-a099-dc1bc510f205"}],"recorded":"2024-04-25T16:13:06Z","activity":{"coding":[{"system":"https://terminology.hl7.org/CodeSystem/v3-DataOperation","code":"UPDATE"}]}}},{"fullUrl":"Observation/1714075986765741000.f425e3cf-0ddf-4af5-8b16-df83e7a62f81","resource":{"resourceType":"Observation","id":"1714075986765741000.f425e3cf-0ddf-4af5-8b16-df83e7a62f81","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/analysis-date-time","valueDateTime":"2021-02-09T00:00:00-06:00","_valueDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.11","valueString":"F"},{"url":"OBX.17","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":"99ELR"}],"code":"CareStart COVID-19 Antigen test_Access Bio, Inc._EUA"}]}}]}],"status":"final","code":{"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","code":"94558-4","display":"SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"}]},"subject":{"reference":"Patient/1714075986759616000.78cfdc07-349a-479b-a099-dc1bc510f205"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"performer":[{"reference":"Organization/1714075986766962000.8235bb6e-92a0-4a54-ae1c-3db19770d69b"}],"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":"SCT"}],"system":"http://snomed.info/sct","code":"260415000","display":"Not detected"}]},"interpretation":[{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"HL70078"}],"code":"N","display":"Normal (applies to non-numeric results)"}]}],"method":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"99ELR"}],"code":"CareStart COVID-19 Antigen test_Access Bio, Inc._EUA"}]}}},{"fullUrl":"Organization/1714075986766962000.8235bb6e-92a0-4a54-ae1c-3db19770d69b","resource":{"resourceType":"Organization","id":"1714075986766962000.8235bb6e-92a0-4a54-ae1c-3db19770d69b","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization","extension":[{"url":"XON.10","valueString":"10D0876999"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"OBX.25"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CLIA"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.4.7"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueCode":"ISO"}]}],"value":"10D0876999"}],"name":"Avante at Ormond Beach","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":"170 North King Road"}]}]}],"line":["170 North King Road"],"city":"Ormond Beach","district":"12127","state":"FL","postalCode":"32174"}]}},{"fullUrl":"Observation/1714075986770033000.37d8a1d9-ae7d-46fd-803f-d78e6aa6c1d9","resource":{"resourceType":"Observation","id":"1714075986770033000.37d8a1d9-ae7d-46fd-803f-d78e6aa6c1d9","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.29","valueId":"QST"},{"url":"OBX.11","valueString":"F"}]}],"status":"final","code":{"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","code":"95418-0","display":"Whether patient is employed in a healthcare setting"}]},"subject":{"reference":"Patient/1714075986759616000.78cfdc07-349a-479b-a099-dc1bc510f205"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"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":"HL70136"}],"code":"Y","display":"Yes"}]}}},{"fullUrl":"Observation/1714075986772515000.a4be52f4-ae35-4a3d-b175-c3ab08914b01","resource":{"resourceType":"Observation","id":"1714075986772515000.a4be52f4-ae35-4a3d-b175-c3ab08914b01","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.29","valueId":"QST"},{"url":"OBX.11","valueString":"F"}]}],"status":"final","code":{"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","code":"95417-2","display":"First test for condition of interest"}]},"subject":{"reference":"Patient/1714075986759616000.78cfdc07-349a-479b-a099-dc1bc510f205"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"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":"HL70136"}],"code":"Y","display":"Yes"}]}}},{"fullUrl":"Observation/1714075986774643000.9484ea7b-9305-4c74-9935-34b3c8d5f789","resource":{"resourceType":"Observation","id":"1714075986774643000.9484ea7b-9305-4c74-9935-34b3c8d5f789","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.29","valueId":"QST"},{"url":"OBX.11","valueString":"F"}]}],"status":"final","code":{"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","code":"95421-4","display":"Resides in a congregate care setting"}]},"subject":{"reference":"Patient/1714075986759616000.78cfdc07-349a-479b-a099-dc1bc510f205"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"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":"HL70136"}],"code":"N","display":"No"}]}}},{"fullUrl":"Observation/1714075986776639000.f1662223-7730-4a3e-91a3-955f0f06064d","resource":{"resourceType":"Observation","id":"1714075986776639000.f1662223-7730-4a3e-91a3-955f0f06064d","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.29","valueId":"QST"},{"url":"OBX.11","valueString":"F"}]}],"status":"final","code":{"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","code":"95419-8","display":"Has symptoms related to condition of interest"}]},"subject":{"reference":"Patient/1714075986759616000.78cfdc07-349a-479b-a099-dc1bc510f205"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"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":"HL70136"}],"code":"N","display":"No"}]}}},{"fullUrl":"Specimen/1714075986937410000.9df806cb-634d-4184-bc40-0ec32517f9ed","resource":{"resourceType":"Specimen","id":"1714075986937410000.9df806cb-634d-4184-bc40-0ec32517f9ed","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment","valueString":"OBR"}],"collection":{"collectedPeriod":{"start":"2021-02-09T00:00:00-06:00","_start":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"end":"2021-02-09T00:00:00-06:00","_end":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]}}}}},{"fullUrl":"Specimen/1714075986939510000.57ef79ed-b452-4e86-a649-4c210e024d4b","resource":{"resourceType":"Specimen","id":"1714075986939510000.57ef79ed-b452-4e86-a649-4c210e024d4b","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment","valueString":"SPM"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Component","valueString":"SPM.2.1"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"PGN"}]},"value":"0cba76f5-35e0-4a28-803a-2f31308aae9b"}],"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"SCT"}],"system":"http://snomed.info/sct","code":"258500001","display":"Nasopharyngeal swab"}]},"receivedTime":"2021-02-09T00:00:00-06:00","_receivedTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"collection":{"collectedDateTime":"2021-02-09T00:00:00-06:00","_collectedDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"bodySite":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"SCT"}],"system":"http://snomed.info/sct","version":"2020-09-01","code":"71836000","display":"Nasopharyngeal structure (body structure)"}]}}}},{"fullUrl":"ServiceRequest/1714075986950489000.bef2097d-0fae-4fac-a174-f808320d4b83","resource":{"resourceType":"ServiceRequest","id":"1714075986950489000.bef2097d-0fae-4fac-a174-f808320d4b83","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/business-event","valueCode":"RE"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/orc-common-order","extension":[{"url":"orc-21-ordering-facility-name","valueReference":{"reference":"Organization/1714075986945628000.5d9da1e6-8ef5-48d7-a5b8-8d9801d0b16e"}},{"url":"orc-22-ordering-facility-address","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":"170 North King Road"}]}]}],"line":["170 North King Road"],"city":"Ormond Beach","district":"12127","state":"FL","postalCode":"32174"}},{"url":"orc-24-ordering-provider-address","valueAddress":{"postalCode":"32174"}},{"url":"orc-12-ordering-provider","valueReference":{"reference":"Practitioner/1714075986946939000.8f0eaca3-2bc6-441f-849c-5a3c570c2ab8"}},{"url":"ORC.15","valueString":"20210209"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obr-observation-request","extension":[{"url":"OBR.2","valueIdentifier":{"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"}},{"url":"OBR.3","valueIdentifier":{"value":"0cba76f5-35e0-4a28-803a-2f31308aae9b"}},{"url":"OBR.22","valueString":"202102090000-0600"},{"url":"OBR.25","valueId":"F"},{"url":"OBR.16","valueReference":{"reference":"Practitioner/1714075986949131000.664c9746-73e3-4367-9e19-3de556bd607d"}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/callback-number","valueContactPoint":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"386"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"6825220"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.2","valueString":"WPN"},{"url":"XTN.7","valueString":"6825220"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"OBR.17"}],"_system":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]},"use":"work"}}]}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.2"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"PLAC"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"},{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.3"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"FILL"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"}],"status":"unknown","code":{"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","code":"94558-4","display":"SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"}]},"subject":{"reference":"Patient/1714075986759616000.78cfdc07-349a-479b-a099-dc1bc510f205"},"requester":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/callback-number","valueContactPoint":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"386"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"6825220"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.2","valueString":"WPN"},{"url":"XTN.7","valueString":"6825220"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.14"}],"_system":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]},"use":"work"}}],"reference":"PractitionerRole/1714075986940575000.7585ac63-66b1-4aac-b4c8-bb001c5b6a08"}}},{"fullUrl":"Practitioner/1714075986941882000.671361fe-8f80-4c43-9211-f9f9257fc9f7","resource":{"resourceType":"Practitioner","id":"1714075986941882000.671361fe-8f80-4c43-9211-f9f9257fc9f7","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CMS"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.249"},{"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":"Husam"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.12"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"NPI"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"urn:oid:2.16.840.1.113883.4.6"}],"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id","valueBoolean":true}],"code":"NPI"}]},"system":"CMS","value":"1629082607"}],"name":[{"family":"Eddin","given":["Husam"]}],"address":[{"postalCode":"32174"}]}},{"fullUrl":"Organization/1714075986942881000.080d0179-0c67-41cf-bff0-f2628dfbd21f","resource":{"resourceType":"Organization","id":"1714075986942881000.080d0179-0c67-41cf-bff0-f2628dfbd21f","name":"Avante at Ormond Beach","telecom":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"407"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"7397506"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.2","valueString":"WPN"},{"url":"XTN.4","valueString":"jbrush@avantecenters.com"},{"url":"XTN.7","valueString":"7397506"}]}],"system":"email","use":"work"}],"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":"170 North King Road"}]}]}],"line":["170 North King Road"],"city":"Ormond Beach","district":"12127","state":"FL","postalCode":"32174"}]}},{"fullUrl":"PractitionerRole/1714075986940575000.7585ac63-66b1-4aac-b4c8-bb001c5b6a08","resource":{"resourceType":"PractitionerRole","id":"1714075986940575000.7585ac63-66b1-4aac-b4c8-bb001c5b6a08","practitioner":{"reference":"Practitioner/1714075986941882000.671361fe-8f80-4c43-9211-f9f9257fc9f7"},"organization":{"reference":"Organization/1714075986942881000.080d0179-0c67-41cf-bff0-f2628dfbd21f"}}},{"fullUrl":"Organization/1714075986945628000.5d9da1e6-8ef5-48d7-a5b8-8d9801d0b16e","resource":{"resourceType":"Organization","id":"1714075986945628000.5d9da1e6-8ef5-48d7-a5b8-8d9801d0b16e","name":"Avante at Ormond Beach"}},{"fullUrl":"Practitioner/1714075986946939000.8f0eaca3-2bc6-441f-849c-5a3c570c2ab8","resource":{"resourceType":"Practitioner","id":"1714075986946939000.8f0eaca3-2bc6-441f-849c-5a3c570c2ab8","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CMS"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.249"},{"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":"Husam"}]}],"identifier":[{"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id","valueBoolean":true}],"code":"NPI"}]},"system":"CMS","value":"1629082607"}],"name":[{"family":"Eddin","given":["Husam"]}]}},{"fullUrl":"Practitioner/1714075986949131000.664c9746-73e3-4367-9e19-3de556bd607d","resource":{"resourceType":"Practitioner","id":"1714075986949131000.664c9746-73e3-4367-9e19-3de556bd607d","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CMS"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.249"},{"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":"Husam"}]}],"identifier":[{"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id","valueBoolean":true}],"code":"NPI"}]},"system":"CMS","value":"1629082607"}],"name":[{"family":"Eddin","given":["Husam"]}]}},{"fullUrl":"DiagnosticReport/1714075986955034000.cc978b59-ca68-4ffd-acba-9572836be3a7","resource":{"resourceType":"DiagnosticReport","id":"1714075986955034000.cc978b59-ca68-4ffd-acba-9572836be3a7","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.2"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"PLAC"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"},{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"FILL"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"}],"basedOn":[{"reference":"ServiceRequest/1714075986950489000.bef2097d-0fae-4fac-a174-f808320d4b83"}],"status":"final","code":{"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","code":"94558-4","display":"SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"}]},"subject":{"reference":"Patient/1714075986759616000.78cfdc07-349a-479b-a099-dc1bc510f205"},"effectivePeriod":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valuePeriod":{"start":"2021-02-09T00:00:00-06:00","_start":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"end":"2021-02-09T00:00:00-06:00","_end":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]}}}],"start":"2021-02-09T00:00:00-06:00","_start":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"end":"2021-02-09T00:00:00-06:00","_end":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]}},"issued":"2021-02-09T00:00:00-06:00","_issued":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"specimen":[{"reference":"Specimen/1714075986939510000.57ef79ed-b452-4e86-a649-4c210e024d4b"},{"reference":"Specimen/1714075986937410000.9df806cb-634d-4184-bc40-0ec32517f9ed"}],"result":[{"reference":"Observation/1714075986765741000.f425e3cf-0ddf-4af5-8b16-df83e7a62f81"},{"reference":"Observation/1714075986770033000.37d8a1d9-ae7d-46fd-803f-d78e6aa6c1d9"},{"reference":"Observation/1714075986772515000.a4be52f4-ae35-4a3d-b175-c3ab08914b01"},{"reference":"Observation/1714075986774643000.9484ea7b-9305-4c74-9935-34b3c8d5f789"},{"reference":"Observation/1714075986776639000.f1662223-7730-4a3e-91a3-955f0f06064d"}]}}]}"""
// This message will be parsed and successfully passed through the convert step
// despite having a nonexistent NNN segement and an SFT.2 that is not an ST
@@ -91,11 +91,11 @@ SPM|1|0cba76f5-35e0-4a28-803a-2f31308aae9b||258500001^Nasopharyngeal swab^SCT|||
@Suppress("ktlint:standard:max-line-length")
const val invalidHL7RecordConverted =
- """{"resourceType":"Bundle","id":"1721777846019696000.250a7183-cf4a-4b93-bc5d-7d584e7f1491","meta":{"lastUpdated":"2024-07-23T16:37:26.024-07:00"},"identifier":{"system":"https://reportstream.cdc.gov/prime-router","value":"371784"},"type":"message","timestamp":"2021-02-10T17:07:37.000-08:00","entry":[{"fullUrl":"MessageHeader/4aeed951-99a9-3152-8885-6b0acc6dd35e","resource":{"resourceType":"MessageHeader","id":"4aeed951-99a9-3152-8885-6b0acc6dd35e","meta":{"tag":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0103","code":"P"}]},"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/msh-message-header","extension":[{"url":"MSH.7","valueString":"20210210170737"},{"url":"MSH.15","valueString":"NE"},{"url":"MSH.16","valueString":"NE"},{"url":"MSH.21","valueIdentifier":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"ELR_Receiver"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.9.99"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueCode":"ISO"}]}],"value":"PHLabReportNoAck"}}]}],"eventCoding":{"system":"http://terminology.hl7.org/CodeSystem/v2-0003","code":"R01","display":"ORU^R01^ORU_R01"},"destination":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"MSH.5"}],"name":"PRIME_DOH","_endpoint":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]},"receiver":{"reference":"Organization/1721777846072235000.3490dd90-2924-4c6b-b9b5-7e505a8cdef2"}}],"sender":{"reference":"Organization/1721777846053685000.668fc3c3-59d1-41f2-a5a3-fdb9c6e1af67"},"source":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CDC PRIME - Atlanta, Georgia (Dekalb)"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.114222.4.1.237821"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueString":"ISO"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"MSH.3"}],"software":"PRIME ReportStream","version":"0.1-SNAPSHOT","endpoint":"urn:oid:2.16.840.1.114222.4.1.237821"}}},{"fullUrl":"Organization/1721777846053685000.668fc3c3-59d1-41f2-a5a3-fdb9c6e1af67","resource":{"resourceType":"Organization","id":"1721777846053685000.668fc3c3-59d1-41f2-a5a3-fdb9c6e1af67","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Avante at Ormond Beach"},{"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":"CLIA"}]},"value":"10D0876999"}],"address":[{"country":"USA"}]}},{"fullUrl":"Organization/1721777846072235000.3490dd90-2924-4c6b-b9b5-7e505a8cdef2","resource":{"resourceType":"Organization","id":"1721777846072235000.3490dd90-2924-4c6b-b9b5-7e505a8cdef2","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"MSH.6"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Prime ReportStream"}]}},{"fullUrl":"Provenance/1721777846291501000.4e6fef75-50f5-4a90-8700-e4c5863d9ba5","resource":{"resourceType":"Provenance","id":"1721777846291501000.4e6fef75-50f5-4a90-8700-e4c5863d9ba5","target":[{"reference":"MessageHeader/4aeed951-99a9-3152-8885-6b0acc6dd35e"},{"reference":"DiagnosticReport/1721777846454629000.e0f99313-4515-433a-a96a-c7a9e025547d"}],"recorded":"2021-02-10T17:07:37Z","activity":{"coding":[{"display":"ORU^R01^ORU_R01"}]},"agent":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/provenance-participant-type","code":"author"}]},"who":{"reference":"Organization/1721777846290825000.cc59d4ff-c553-43ff-bc6b-ff9d6bc85aa4"}}],"entity":[{"role":"source","what":{"reference":"Device/1721777846294084000.e4d7debd-26dd-454a-8c45-418865340073"}}]}},{"fullUrl":"Organization/1721777846290825000.cc59d4ff-c553-43ff-bc6b-ff9d6bc85aa4","resource":{"resourceType":"Organization","id":"1721777846290825000.cc59d4ff-c553-43ff-bc6b-ff9d6bc85aa4","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Avante at Ormond Beach"},{"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":"CLIA"}]},"value":"10D0876999"}]}},{"fullUrl":"Organization/1721777846293869000.b3be0f02-3001-4b5f-9837-58e10ffecb36","resource":{"resourceType":"Organization","id":"1721777846293869000.b3be0f02-3001-4b5f-9837-58e10ffecb36","name":"Centers for Disease Control and Prevention"}},{"fullUrl":"Device/1721777846294084000.e4d7debd-26dd-454a-8c45-418865340073","resource":{"resourceType":"Device","id":"1721777846294084000.e4d7debd-26dd-454a-8c45-418865340073","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/software-vendor-org","valueReference":{"reference":"Organization/1721777846293869000.b3be0f02-3001-4b5f-9837-58e10ffecb36"}}],"manufacturer":"Centers for Disease Control and Prevention","deviceName":[{"name":"PRIME ReportStream","type":"manufacturer-name"}],"modelNumber":"0.1-SNAPSHOT","version":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/software-install-date","valueDateTime":"2021-02-10","_valueDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"20210210"}]}}],"value":"0.1-SNAPSHOT"}]}},{"fullUrl":"Provenance/1721777846299096000.a563e83f-a551-4782-9f79-0717a607df25","resource":{"resourceType":"Provenance","id":"1721777846299096000.a563e83f-a551-4782-9f79-0717a607df25","recorded":"2024-07-23T16:37:26Z","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/1721777846298871000.5d0e8fcc-9f9e-4e8c-9c2b-f0d21a49334e"}}]}},{"fullUrl":"Organization/1721777846298871000.5d0e8fcc-9f9e-4e8c-9c2b-f0d21a49334e","resource":{"resourceType":"Organization","id":"1721777846298871000.5d0e8fcc-9f9e-4e8c-9c2b-f0d21a49334e","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/1721777846317280000.1c250c98-8398-44df-95f9-638d32537d63","resource":{"resourceType":"Patient","id":"1721777846317280000.1c250c98-8398-44df-95f9-638d32537d63","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/pid-patient","extension":[{"url":"PID.8","valueCodeableConcept":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"}],"code":"F"}]}},{"url":"PID.30","valueString":"N"}]},{"url":"http://ibm.com/fhir/cdm/StructureDefinition/local-race-cd","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":"HL70005"}],"system":"http://terminology.hl7.org/CodeSystem/v3-Race","version":"2.5.1","code":"2106-3","display":"White"}]}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/ethnic-group","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":"HL70189"}],"system":"http://terminology.hl7.org/CodeSystem/v2-0189","code":"U","display":"Unknown"}]}}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier","extension":[{"url":"CX.5","valueString":"PI"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"PID.3"}],"type":{"coding":[{"code":"PI"}]},"value":"2a14112c-ece1-4f82-915c-7b3a8d152eda","assigner":{"reference":"Organization/1721777846304215000.9d234a70-1277-47c6-80a0-5819fbfe6547"}}],"name":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name","extension":[{"url":"XPN.2","valueString":"Kareem"},{"url":"XPN.3","valueString":"Millie"},{"url":"XPN.7","valueString":"L"}]}],"use":"official","family":"Buckridge","given":[ "Kareem","Millie" ]}],"telecom":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"211"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"2240784"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.1","valueString":"7275555555:1:"},{"url":"XTN.2","valueString":"PRN"},{"url":"XTN.4","valueString":"roscoe.wilkinson@email.com"},{"url":"XTN.7","valueString":"2240784"}]}],"system":"email","use":"home"}],"gender":"female","birthDate":"1958-08-10","_birthDate":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"19580810"}]},"deceasedBoolean":false,"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":"688 Leighann Inlet"}]}]}],"line":[ "688 Leighann Inlet" ],"city":"South Rodneychester","district":"48077","state":"TX","postalCode":"67071"}]}},{"fullUrl":"Organization/1721777846304215000.9d234a70-1277-47c6-80a0-5819fbfe6547","resource":{"resourceType":"Organization","id":"1721777846304215000.9d234a70-1277-47c6-80a0-5819fbfe6547","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Avante at Ormond Beach"}]}},{"fullUrl":"Provenance/1721777846319409000.99a988d3-2061-464e-8f1f-45b2343be6c2","resource":{"resourceType":"Provenance","id":"1721777846319409000.99a988d3-2061-464e-8f1f-45b2343be6c2","target":[{"reference":"Patient/1721777846317280000.1c250c98-8398-44df-95f9-638d32537d63"}],"recorded":"2024-07-23T16:37:26Z","activity":{"coding":[{"system":"https://terminology.hl7.org/CodeSystem/v3-DataOperation","code":"UPDATE"}]}}},{"fullUrl":"Observation/1721777846321890000.435ad504-5064-4d96-ac38-4b8c93d6a48b","resource":{"resourceType":"Observation","id":"1721777846321890000.435ad504-5064-4d96-ac38-4b8c93d6a48b","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/analysis-date-time","valueDateTime":"2021-02-09T00:00:00-06:00","_valueDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.11","valueString":"F"},{"url":"OBX.17","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":"99ELR"}],"code":"CareStart COVID-19 Antigen test_Access Bio, Inc._EUA"}]}}]}],"status":"final","code":{"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","code":"94558-4","display":"SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"}]},"subject":{"reference":"Patient/1721777846317280000.1c250c98-8398-44df-95f9-638d32537d63"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"performer":[{"reference":"Organization/1721777846322748000.49e6d847-c843-44e4-b364-8dcc8f18a9ac"}],"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":"SCT"}],"system":"http://snomed.info/sct","code":"260415000","display":"Not detected"}]},"interpretation":[{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"HL70078"}],"code":"N","display":"Normal (applies to non-numeric results)"}]}],"method":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"99ELR"}],"code":"CareStart COVID-19 Antigen test_Access Bio, Inc._EUA"}]}}},{"fullUrl":"Organization/1721777846322748000.49e6d847-c843-44e4-b364-8dcc8f18a9ac","resource":{"resourceType":"Organization","id":"1721777846322748000.49e6d847-c843-44e4-b364-8dcc8f18a9ac","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization","extension":[{"url":"XON.10","valueString":"10D0876999"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"OBX.25"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CLIA"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.4.7"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueCode":"ISO"}]}],"value":"10D0876999"}],"name":"Avante at Ormond Beach","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":"170 North King Road"}]}]}],"line":[ "170 North King Road" ],"city":"Ormond Beach","district":"12127","state":"FL","postalCode":"32174"}]}},{"fullUrl":"Observation/1721777846325442000.c20a8ed1-4026-4c3d-a088-ff62a9eb145a","resource":{"resourceType":"Observation","id":"1721777846325442000.c20a8ed1-4026-4c3d-a088-ff62a9eb145a","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.29","valueId":"QST"},{"url":"OBX.11","valueString":"F"}]}],"status":"final","code":{"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","code":"95418-0","display":"Whether patient is employed in a healthcare setting"}]},"subject":{"reference":"Patient/1721777846317280000.1c250c98-8398-44df-95f9-638d32537d63"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"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":"HL70136"}],"code":"Y","display":"Yes"}]}}},{"fullUrl":"Observation/1721777846327269000.6b1fbddd-4ab2-4118-9deb-4ad8026e81ba","resource":{"resourceType":"Observation","id":"1721777846327269000.6b1fbddd-4ab2-4118-9deb-4ad8026e81ba","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.29","valueId":"QST"},{"url":"OBX.11","valueString":"F"}]}],"status":"final","code":{"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","code":"95417-2","display":"First test for condition of interest"}]},"subject":{"reference":"Patient/1721777846317280000.1c250c98-8398-44df-95f9-638d32537d63"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"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":"HL70136"}],"code":"Y","display":"Yes"}]}}},{"fullUrl":"Observation/1721777846329135000.65c69636-0d27-42fb-8198-25835ad05c9d","resource":{"resourceType":"Observation","id":"1721777846329135000.65c69636-0d27-42fb-8198-25835ad05c9d","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.29","valueId":"QST"},{"url":"OBX.11","valueString":"F"}]}],"status":"final","code":{"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","code":"95421-4","display":"Resides in a congregate care setting"}]},"subject":{"reference":"Patient/1721777846317280000.1c250c98-8398-44df-95f9-638d32537d63"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"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":"HL70136"}],"code":"N","display":"No"}]}}},{"fullUrl":"Specimen/1721777846440349000.b8ca24c2-1277-4715-ac66-f69340fd9af8","resource":{"resourceType":"Specimen","id":"1721777846440349000.b8ca24c2-1277-4715-ac66-f69340fd9af8","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment","valueString":"OBR"}]}},{"fullUrl":"Specimen/1721777846442113000.9d2a2294-135f-461b-9205-6ad134663376","resource":{"resourceType":"Specimen","id":"1721777846442113000.9d2a2294-135f-461b-9205-6ad134663376","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment","valueString":"SPM"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Component","valueString":"SPM.2.1"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"PGN"}]},"value":"0cba76f5-35e0-4a28-803a-2f31308aae9b"}],"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"SCT"}],"system":"http://snomed.info/sct","code":"258500001","display":"Nasopharyngeal swab"}]},"receivedTime":"2021-02-09T00:00:00-06:00","_receivedTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"collection":{"collectedDateTime":"2021-02-09T00:00:00-06:00","_collectedDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"bodySite":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"SCT"}],"system":"http://snomed.info/sct","version":"2020-09-01","code":"71836000","display":"Nasopharyngeal structure (body structure)"}]}}}},{"fullUrl":"ServiceRequest/1721777846450879000.06a8b14f-65e8-4914-94cc-d25f4b1d88b3","resource":{"resourceType":"ServiceRequest","id":"1721777846450879000.06a8b14f-65e8-4914-94cc-d25f4b1d88b3","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/business-event","valueCode":"RE"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/orc-common-order","extension":[{"url":"orc-21-ordering-facility-name","valueReference":{"reference":"Organization/1721777846447164000.828dd71b-57e2-4acf-b9ad-f2276ee34bdd"}},{"url":"orc-22-ordering-facility-address","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":"170 North King Road"}]}]}],"line":[ "170 North King Road" ],"city":"Ormond Beach","district":"12127","state":"FL","postalCode":"32174"}},{"url":"orc-24-ordering-provider-address","valueAddress":{"postalCode":"32174"}},{"url":"orc-12-ordering-provider","valueReference":{"reference":"Practitioner/1721777846448258000.28ec7274-61e6-4f8a-a29e-8d9b73f82bdc"}},{"url":"ORC.15","valueString":"20210209"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obr-observation-request","extension":[{"url":"OBR.2","valueIdentifier":{"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"}},{"url":"OBR.3","valueIdentifier":{"value":"0cba76f5-35e0-4a28-803a-2f31308aae9b"}},{"url":"OBR.22","valueString":"202102090000-0600"},{"url":"OBR.25","valueId":"F"},{"url":"OBR.16","valueReference":{"reference":"Practitioner/1721777846449836000.75ceb4a7-c11d-4591-8e3c-f6a617b60c19"}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/callback-number","valueContactPoint":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"386"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"6825220"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.2","valueString":"WPN"},{"url":"XTN.7","valueString":"6825220"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"OBR.17"}],"_system":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]},"use":"work"}}]}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.2"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"PLAC"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"},{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.3"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"FILL"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"}],"status":"unknown","code":{"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","code":"94558-4","display":"SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"}]},"subject":{"reference":"Patient/1721777846317280000.1c250c98-8398-44df-95f9-638d32537d63"},"requester":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/callback-number","valueContactPoint":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"386"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"6825220"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.2","valueString":"WPN"},{"url":"XTN.7","valueString":"6825220"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.14"}],"_system":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]},"use":"work"}}],"reference":"PractitionerRole/1721777846443378000.f9c5da9f-cd29-4c9a-a194-c41a12ea582f"}}},{"fullUrl":"Practitioner/1721777846444409000.cfd26ff0-4386-4d4f-9736-1355d7a7fa02","resource":{"resourceType":"Practitioner","id":"1721777846444409000.cfd26ff0-4386-4d4f-9736-1355d7a7fa02","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CMS"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.249"},{"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":"Husam"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.12"}],"identifier":[{"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id","valueBoolean":true}],"code":"NPI"}]},"system":"CMS","value":"1629082607"}],"name":[{"family":"Eddin","given":[ "Husam" ]}],"address":[{"postalCode":"32174"}]}},{"fullUrl":"Organization/1721777846445269000.99ffa4f1-3f06-4ae5-b0d6-7f7618ba4c9d","resource":{"resourceType":"Organization","id":"1721777846445269000.99ffa4f1-3f06-4ae5-b0d6-7f7618ba4c9d","name":"Avante at Ormond Beach","telecom":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"407"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"7397506"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.2","valueString":"WPN"},{"url":"XTN.4","valueString":"jbrush@avantecenters.com"},{"url":"XTN.7","valueString":"7397506"}]}],"system":"email","use":"work"}],"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":"170 North King Road"}]}]}],"line":[ "170 North King Road" ],"city":"Ormond Beach","district":"12127","state":"FL","postalCode":"32174"}]}},{"fullUrl":"PractitionerRole/1721777846443378000.f9c5da9f-cd29-4c9a-a194-c41a12ea582f","resource":{"resourceType":"PractitionerRole","id":"1721777846443378000.f9c5da9f-cd29-4c9a-a194-c41a12ea582f","practitioner":{"reference":"Practitioner/1721777846444409000.cfd26ff0-4386-4d4f-9736-1355d7a7fa02"},"organization":{"reference":"Organization/1721777846445269000.99ffa4f1-3f06-4ae5-b0d6-7f7618ba4c9d"}}},{"fullUrl":"Organization/1721777846447164000.828dd71b-57e2-4acf-b9ad-f2276ee34bdd","resource":{"resourceType":"Organization","id":"1721777846447164000.828dd71b-57e2-4acf-b9ad-f2276ee34bdd","name":"Avante at Ormond Beach"}},{"fullUrl":"Practitioner/1721777846448258000.28ec7274-61e6-4f8a-a29e-8d9b73f82bdc","resource":{"resourceType":"Practitioner","id":"1721777846448258000.28ec7274-61e6-4f8a-a29e-8d9b73f82bdc","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CMS"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.249"},{"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":"Husam"}]}],"identifier":[{"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id","valueBoolean":true}],"code":"NPI"}]},"system":"CMS","value":"1629082607"}],"name":[{"family":"Eddin","given":[ "Husam" ]}]}},{"fullUrl":"Practitioner/1721777846449836000.75ceb4a7-c11d-4591-8e3c-f6a617b60c19","resource":{"resourceType":"Practitioner","id":"1721777846449836000.75ceb4a7-c11d-4591-8e3c-f6a617b60c19","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CMS"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.249"},{"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":"Husam"}]}],"identifier":[{"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id","valueBoolean":true}],"code":"NPI"}]},"system":"CMS","value":"1629082607"}],"name":[{"family":"Eddin","given":[ "Husam" ]}]}},{"fullUrl":"DiagnosticReport/1721777846454629000.e0f99313-4515-433a-a96a-c7a9e025547d","resource":{"resourceType":"DiagnosticReport","id":"1721777846454629000.e0f99313-4515-433a-a96a-c7a9e025547d","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.2"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"PLAC"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"},{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"FILL"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"}],"basedOn":[{"reference":"ServiceRequest/1721777846450879000.06a8b14f-65e8-4914-94cc-d25f4b1d88b3"}],"status":"final","code":{"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","code":"94558-4","display":"SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"}]},"subject":{"reference":"Patient/1721777846317280000.1c250c98-8398-44df-95f9-638d32537d63"},"effectivePeriod":{"start":"2021-02-09T00:00:00-06:00","_start":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"end":"2021-02-09T00:00:00-06:00","_end":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]}},"issued":"2021-02-09T00:00:00-06:00","_issued":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"specimen":[{"reference":"Specimen/1721777846442113000.9d2a2294-135f-461b-9205-6ad134663376"},{"reference":"Specimen/1721777846440349000.b8ca24c2-1277-4715-ac66-f69340fd9af8"}],"result":[{"reference":"Observation/1721777846321890000.435ad504-5064-4d96-ac38-4b8c93d6a48b"},{"reference":"Observation/1721777846325442000.c20a8ed1-4026-4c3d-a088-ff62a9eb145a"},{"reference":"Observation/1721777846327269000.6b1fbddd-4ab2-4118-9deb-4ad8026e81ba"},{"reference":"Observation/1721777846329135000.65c69636-0d27-42fb-8198-25835ad05c9d"}]}}]}"""
+ """{"resourceType":"Bundle","id":"1721777846019696000.250a7183-cf4a-4b93-bc5d-7d584e7f1491","meta":{"lastUpdated":"2024-07-23T16:37:26.024-07:00"},"identifier":{"system":"https://reportstream.cdc.gov/prime-router","value":"371784"},"type":"message","timestamp":"2021-02-10T17:07:37.000-08:00","entry":[{"fullUrl":"MessageHeader/4aeed951-99a9-3152-8885-6b0acc6dd35e","resource":{"resourceType":"MessageHeader","id":"4aeed951-99a9-3152-8885-6b0acc6dd35e","meta":{"tag":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0103","code":"P"}]},"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/msh-message-header","extension":[{"url":"MSH.7","valueString":"20210210170737"},{"url":"MSH.15","valueString":"NE"},{"url":"MSH.16","valueString":"NE"},{"url":"MSH.21","valueIdentifier":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"ELR_Receiver"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.9.99"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueCode":"ISO"}]}],"value":"PHLabReportNoAck"}}]}],"eventCoding":{"system":"http://terminology.hl7.org/CodeSystem/v2-0003","code":"R01","display":"ORU^R01^ORU_R01"},"destination":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"MSH.5"}],"name":"PRIME_DOH","_endpoint":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]},"receiver":{"reference":"Organization/1721777846072235000.3490dd90-2924-4c6b-b9b5-7e505a8cdef2"}}],"sender":{"reference":"Organization/1721777846053685000.668fc3c3-59d1-41f2-a5a3-fdb9c6e1af67"},"source":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CDC PRIME - Atlanta, Georgia (Dekalb)"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.114222.4.1.237821"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueString":"ISO"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"MSH.3"}],"software":"PRIME ReportStream","version":"0.1-SNAPSHOT","endpoint":"urn:oid:2.16.840.1.114222.4.1.237821"}}},{"fullUrl":"Organization/1721777846053685000.668fc3c3-59d1-41f2-a5a3-fdb9c6e1af67","resource":{"resourceType":"Organization","id":"1721777846053685000.668fc3c3-59d1-41f2-a5a3-fdb9c6e1af67","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Avante at Ormond Beach"},{"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":"CLIA"}]},"value":"10D0876999"}],"address":[{"country":"USA"}]}},{"fullUrl":"Organization/1721777846072235000.3490dd90-2924-4c6b-b9b5-7e505a8cdef2","resource":{"resourceType":"Organization","id":"1721777846072235000.3490dd90-2924-4c6b-b9b5-7e505a8cdef2","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"MSH.6"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Prime ReportStream"}]}},{"fullUrl":"Provenance/1721777846291501000.4e6fef75-50f5-4a90-8700-e4c5863d9ba5","resource":{"resourceType":"Provenance","id":"1721777846291501000.4e6fef75-50f5-4a90-8700-e4c5863d9ba5","target":[{"reference":"MessageHeader/4aeed951-99a9-3152-8885-6b0acc6dd35e"},{"reference":"DiagnosticReport/1721777846454629000.e0f99313-4515-433a-a96a-c7a9e025547d"}],"recorded":"2021-02-10T17:07:37Z","activity":{"coding":[{"display":"ORU^R01^ORU_R01"}]},"agent":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/provenance-participant-type","code":"author"}]},"who":{"reference":"Organization/1721777846290825000.cc59d4ff-c553-43ff-bc6b-ff9d6bc85aa4"}}],"entity":[{"role":"source","what":{"reference":"Device/1721777846294084000.e4d7debd-26dd-454a-8c45-418865340073"}}]}},{"fullUrl":"Organization/1721777846290825000.cc59d4ff-c553-43ff-bc6b-ff9d6bc85aa4","resource":{"resourceType":"Organization","id":"1721777846290825000.cc59d4ff-c553-43ff-bc6b-ff9d6bc85aa4","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Avante at Ormond Beach"},{"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":"CLIA"}]},"value":"10D0876999"}]}},{"fullUrl":"Organization/1721777846293869000.b3be0f02-3001-4b5f-9837-58e10ffecb36","resource":{"resourceType":"Organization","id":"1721777846293869000.b3be0f02-3001-4b5f-9837-58e10ffecb36","name":"Centers for Disease Control and Prevention"}},{"fullUrl":"Device/1721777846294084000.e4d7debd-26dd-454a-8c45-418865340073","resource":{"resourceType":"Device","id":"1721777846294084000.e4d7debd-26dd-454a-8c45-418865340073","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/software-vendor-org","valueReference":{"reference":"Organization/1721777846293869000.b3be0f02-3001-4b5f-9837-58e10ffecb36"}}],"manufacturer":"Centers for Disease Control and Prevention","deviceName":[{"name":"PRIME ReportStream","type":"manufacturer-name"}],"modelNumber":"0.1-SNAPSHOT","version":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/software-install-date","valueDateTime":"2021-02-10","_valueDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"20210210"}]}}],"value":"0.1-SNAPSHOT"}]}},{"fullUrl":"Provenance/1721777846299096000.a563e83f-a551-4782-9f79-0717a607df25","resource":{"resourceType":"Provenance","id":"1721777846299096000.a563e83f-a551-4782-9f79-0717a607df25","recorded":"2024-07-23T16:37:26Z","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/1721777846298871000.5d0e8fcc-9f9e-4e8c-9c2b-f0d21a49334e"}}]}},{"fullUrl":"Organization/1721777846298871000.5d0e8fcc-9f9e-4e8c-9c2b-f0d21a49334e","resource":{"resourceType":"Organization","id":"1721777846298871000.5d0e8fcc-9f9e-4e8c-9c2b-f0d21a49334e","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/1721777846317280000.1c250c98-8398-44df-95f9-638d32537d63","resource":{"resourceType":"Patient","id":"1721777846317280000.1c250c98-8398-44df-95f9-638d32537d63","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/pid-patient","extension":[{"url":"PID.8","valueCodeableConcept":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"}],"code":"F"}]}},{"url":"PID.30","valueString":"N"}]},{"url":"http://ibm.com/fhir/cdm/StructureDefinition/local-race-cd","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":"HL70005"}],"system":"http://terminology.hl7.org/CodeSystem/v3-Race","version":"2.5.1","code":"2106-3","display":"White"}]}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/ethnic-group","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":"HL70189"}],"system":"http://terminology.hl7.org/CodeSystem/v2-0189","code":"U","display":"Unknown"}]}}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier","extension":[{"url":"CX.5","valueString":"PI"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"PID.3"}],"type":{"coding":[{"code":"PI"}]},"value":"2a14112c-ece1-4f82-915c-7b3a8d152eda","assigner":{"reference":"Organization/1721777846304215000.9d234a70-1277-47c6-80a0-5819fbfe6547"}}],"name":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name","extension":[{"url":"XPN.2","valueString":"Kareem"},{"url":"XPN.3","valueString":"Millie"},{"url":"XPN.7","valueString":"L"}]}],"use":"official","family":"Buckridge","given":["Kareem","Millie"]}],"telecom":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"211"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"2240784"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.1","valueString":"7275555555:1:"},{"url":"XTN.2","valueString":"PRN"},{"url":"XTN.4","valueString":"roscoe.wilkinson@email.com"},{"url":"XTN.7","valueString":"2240784"}]}],"system":"email","use":"home"}],"gender":"female","birthDate":"1958-08-10","_birthDate":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"19580810"}]},"deceasedBoolean":false,"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":"688 Leighann Inlet"}]}]}],"line":["688 Leighann Inlet"],"city":"South Rodneychester","district":"48077","state":"TX","postalCode":"67071"}]}},{"fullUrl":"Organization/1721777846304215000.9d234a70-1277-47c6-80a0-5819fbfe6547","resource":{"resourceType":"Organization","id":"1721777846304215000.9d234a70-1277-47c6-80a0-5819fbfe6547","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Avante at Ormond Beach"}]}},{"fullUrl":"Provenance/1721777846319409000.99a988d3-2061-464e-8f1f-45b2343be6c2","resource":{"resourceType":"Provenance","id":"1721777846319409000.99a988d3-2061-464e-8f1f-45b2343be6c2","target":[{"reference":"Patient/1721777846317280000.1c250c98-8398-44df-95f9-638d32537d63"}],"recorded":"2024-07-23T16:37:26Z","activity":{"coding":[{"system":"https://terminology.hl7.org/CodeSystem/v3-DataOperation","code":"UPDATE"}]}}},{"fullUrl":"Observation/1721777846321890000.435ad504-5064-4d96-ac38-4b8c93d6a48b","resource":{"resourceType":"Observation","id":"1721777846321890000.435ad504-5064-4d96-ac38-4b8c93d6a48b","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/analysis-date-time","valueDateTime":"2021-02-09T00:00:00-06:00","_valueDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.11","valueString":"F"},{"url":"OBX.17","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":"99ELR"}],"code":"CareStart COVID-19 Antigen test_Access Bio, Inc._EUA"}]}}]}],"status":"final","code":{"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","code":"94558-4","display":"SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"}]},"subject":{"reference":"Patient/1721777846317280000.1c250c98-8398-44df-95f9-638d32537d63"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"performer":[{"reference":"Organization/1721777846322748000.49e6d847-c843-44e4-b364-8dcc8f18a9ac"}],"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":"SCT"}],"system":"http://snomed.info/sct","code":"260415000","display":"Not detected"}]},"interpretation":[{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"HL70078"}],"code":"N","display":"Normal (applies to non-numeric results)"}]}],"method":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"99ELR"}],"code":"CareStart COVID-19 Antigen test_Access Bio, Inc._EUA"}]}}},{"fullUrl":"Organization/1721777846322748000.49e6d847-c843-44e4-b364-8dcc8f18a9ac","resource":{"resourceType":"Organization","id":"1721777846322748000.49e6d847-c843-44e4-b364-8dcc8f18a9ac","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization","extension":[{"url":"XON.10","valueString":"10D0876999"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"OBX.25"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CLIA"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.4.7"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueCode":"ISO"}]}],"value":"10D0876999"}],"name":"Avante at Ormond Beach","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":"170 North King Road"}]}]}],"line":["170 North King Road"],"city":"Ormond Beach","district":"12127","state":"FL","postalCode":"32174"}]}},{"fullUrl":"Observation/1721777846325442000.c20a8ed1-4026-4c3d-a088-ff62a9eb145a","resource":{"resourceType":"Observation","id":"1721777846325442000.c20a8ed1-4026-4c3d-a088-ff62a9eb145a","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.29","valueId":"QST"},{"url":"OBX.11","valueString":"F"}]}],"status":"final","code":{"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","code":"95418-0","display":"Whether patient is employed in a healthcare setting"}]},"subject":{"reference":"Patient/1721777846317280000.1c250c98-8398-44df-95f9-638d32537d63"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"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":"HL70136"}],"code":"Y","display":"Yes"}]}}},{"fullUrl":"Observation/1721777846327269000.6b1fbddd-4ab2-4118-9deb-4ad8026e81ba","resource":{"resourceType":"Observation","id":"1721777846327269000.6b1fbddd-4ab2-4118-9deb-4ad8026e81ba","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.29","valueId":"QST"},{"url":"OBX.11","valueString":"F"}]}],"status":"final","code":{"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","code":"95417-2","display":"First test for condition of interest"}]},"subject":{"reference":"Patient/1721777846317280000.1c250c98-8398-44df-95f9-638d32537d63"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"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":"HL70136"}],"code":"Y","display":"Yes"}]}}},{"fullUrl":"Observation/1721777846329135000.65c69636-0d27-42fb-8198-25835ad05c9d","resource":{"resourceType":"Observation","id":"1721777846329135000.65c69636-0d27-42fb-8198-25835ad05c9d","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.29","valueId":"QST"},{"url":"OBX.11","valueString":"F"}]}],"status":"final","code":{"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","code":"95421-4","display":"Resides in a congregate care setting"}]},"subject":{"reference":"Patient/1721777846317280000.1c250c98-8398-44df-95f9-638d32537d63"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"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":"HL70136"}],"code":"N","display":"No"}]}}},{"fullUrl":"Specimen/1721777846440349000.b8ca24c2-1277-4715-ac66-f69340fd9af8","resource":{"resourceType":"Specimen","id":"1721777846440349000.b8ca24c2-1277-4715-ac66-f69340fd9af8","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment","valueString":"OBR"}],"collection":{"collectedPeriod":{"start":"2021-02-09T00:00:00-06:00","_start":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"end":"2021-02-09T00:00:00-06:00","_end":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]}}}}},{"fullUrl":"Specimen/1721777846442113000.9d2a2294-135f-461b-9205-6ad134663376","resource":{"resourceType":"Specimen","id":"1721777846442113000.9d2a2294-135f-461b-9205-6ad134663376","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment","valueString":"SPM"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Component","valueString":"SPM.2.1"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"PGN"}]},"value":"0cba76f5-35e0-4a28-803a-2f31308aae9b"}],"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"SCT"}],"system":"http://snomed.info/sct","code":"258500001","display":"Nasopharyngeal swab"}]},"receivedTime":"2021-02-09T00:00:00-06:00","_receivedTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"collection":{"collectedDateTime":"2021-02-09T00:00:00-06:00","_collectedDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"bodySite":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"SCT"}],"system":"http://snomed.info/sct","version":"2020-09-01","code":"71836000","display":"Nasopharyngeal structure (body structure)"}]}}}},{"fullUrl":"ServiceRequest/1721777846450879000.06a8b14f-65e8-4914-94cc-d25f4b1d88b3","resource":{"resourceType":"ServiceRequest","id":"1721777846450879000.06a8b14f-65e8-4914-94cc-d25f4b1d88b3","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/business-event","valueCode":"RE"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/orc-common-order","extension":[{"url":"orc-21-ordering-facility-name","valueReference":{"reference":"Organization/1721777846447164000.828dd71b-57e2-4acf-b9ad-f2276ee34bdd"}},{"url":"orc-22-ordering-facility-address","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":"170 North King Road"}]}]}],"line":["170 North King Road"],"city":"Ormond Beach","district":"12127","state":"FL","postalCode":"32174"}},{"url":"orc-24-ordering-provider-address","valueAddress":{"postalCode":"32174"}},{"url":"orc-12-ordering-provider","valueReference":{"reference":"Practitioner/1721777846448258000.28ec7274-61e6-4f8a-a29e-8d9b73f82bdc"}},{"url":"ORC.15","valueString":"20210209"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obr-observation-request","extension":[{"url":"OBR.2","valueIdentifier":{"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"}},{"url":"OBR.3","valueIdentifier":{"value":"0cba76f5-35e0-4a28-803a-2f31308aae9b"}},{"url":"OBR.22","valueString":"202102090000-0600"},{"url":"OBR.25","valueId":"F"},{"url":"OBR.16","valueReference":{"reference":"Practitioner/1721777846449836000.75ceb4a7-c11d-4591-8e3c-f6a617b60c19"}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/callback-number","valueContactPoint":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"386"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"6825220"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.2","valueString":"WPN"},{"url":"XTN.7","valueString":"6825220"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"OBR.17"}],"_system":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]},"use":"work"}}]}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.2"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"PLAC"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"},{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.3"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"FILL"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"}],"status":"unknown","code":{"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","code":"94558-4","display":"SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"}]},"subject":{"reference":"Patient/1721777846317280000.1c250c98-8398-44df-95f9-638d32537d63"},"requester":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/callback-number","valueContactPoint":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"386"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"6825220"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.2","valueString":"WPN"},{"url":"XTN.7","valueString":"6825220"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.14"}],"_system":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]},"use":"work"}}],"reference":"PractitionerRole/1721777846443378000.f9c5da9f-cd29-4c9a-a194-c41a12ea582f"}}},{"fullUrl":"Practitioner/1721777846444409000.cfd26ff0-4386-4d4f-9736-1355d7a7fa02","resource":{"resourceType":"Practitioner","id":"1721777846444409000.cfd26ff0-4386-4d4f-9736-1355d7a7fa02","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CMS"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.249"},{"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":"Husam"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.12"}],"identifier":[{"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id","valueBoolean":true}],"code":"NPI"}]},"system":"CMS","value":"1629082607"}],"name":[{"family":"Eddin","given":["Husam"]}],"address":[{"postalCode":"32174"}]}},{"fullUrl":"Organization/1721777846445269000.99ffa4f1-3f06-4ae5-b0d6-7f7618ba4c9d","resource":{"resourceType":"Organization","id":"1721777846445269000.99ffa4f1-3f06-4ae5-b0d6-7f7618ba4c9d","name":"Avante at Ormond Beach","telecom":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"407"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"7397506"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.2","valueString":"WPN"},{"url":"XTN.4","valueString":"jbrush@avantecenters.com"},{"url":"XTN.7","valueString":"7397506"}]}],"system":"email","use":"work"}],"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":"170 North King Road"}]}]}],"line":["170 North King Road"],"city":"Ormond Beach","district":"12127","state":"FL","postalCode":"32174"}]}},{"fullUrl":"PractitionerRole/1721777846443378000.f9c5da9f-cd29-4c9a-a194-c41a12ea582f","resource":{"resourceType":"PractitionerRole","id":"1721777846443378000.f9c5da9f-cd29-4c9a-a194-c41a12ea582f","practitioner":{"reference":"Practitioner/1721777846444409000.cfd26ff0-4386-4d4f-9736-1355d7a7fa02"},"organization":{"reference":"Organization/1721777846445269000.99ffa4f1-3f06-4ae5-b0d6-7f7618ba4c9d"}}},{"fullUrl":"Organization/1721777846447164000.828dd71b-57e2-4acf-b9ad-f2276ee34bdd","resource":{"resourceType":"Organization","id":"1721777846447164000.828dd71b-57e2-4acf-b9ad-f2276ee34bdd","name":"Avante at Ormond Beach"}},{"fullUrl":"Practitioner/1721777846448258000.28ec7274-61e6-4f8a-a29e-8d9b73f82bdc","resource":{"resourceType":"Practitioner","id":"1721777846448258000.28ec7274-61e6-4f8a-a29e-8d9b73f82bdc","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CMS"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.249"},{"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":"Husam"}]}],"identifier":[{"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id","valueBoolean":true}],"code":"NPI"}]},"system":"CMS","value":"1629082607"}],"name":[{"family":"Eddin","given":["Husam"]}]}},{"fullUrl":"Practitioner/1721777846449836000.75ceb4a7-c11d-4591-8e3c-f6a617b60c19","resource":{"resourceType":"Practitioner","id":"1721777846449836000.75ceb4a7-c11d-4591-8e3c-f6a617b60c19","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CMS"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.249"},{"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":"Husam"}]}],"identifier":[{"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id","valueBoolean":true}],"code":"NPI"}]},"system":"CMS","value":"1629082607"}],"name":[{"family":"Eddin","given":["Husam"]}]}},{"fullUrl":"DiagnosticReport/1721777846454629000.e0f99313-4515-433a-a96a-c7a9e025547d","resource":{"resourceType":"DiagnosticReport","id":"1721777846454629000.e0f99313-4515-433a-a96a-c7a9e025547d","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.2"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"PLAC"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"},{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"FILL"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"}],"basedOn":[{"reference":"ServiceRequest/1721777846450879000.06a8b14f-65e8-4914-94cc-d25f4b1d88b3"}],"status":"final","code":{"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","code":"94558-4","display":"SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"}]},"subject":{"reference":"Patient/1721777846317280000.1c250c98-8398-44df-95f9-638d32537d63"},"effectivePeriod":{"start":"2021-02-09T00:00:00-06:00","_start":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"end":"2021-02-09T00:00:00-06:00","_end":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]}},"issued":"2021-02-09T00:00:00-06:00","_issued":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"specimen":[{"reference":"Specimen/1721777846442113000.9d2a2294-135f-461b-9205-6ad134663376"},{"reference":"Specimen/1721777846440349000.b8ca24c2-1277-4715-ac66-f69340fd9af8"}],"result":[{"reference":"Observation/1721777846321890000.435ad504-5064-4d96-ac38-4b8c93d6a48b"},{"reference":"Observation/1721777846325442000.c20a8ed1-4026-4c3d-a088-ff62a9eb145a"},{"reference":"Observation/1721777846327269000.6b1fbddd-4ab2-4118-9deb-4ad8026e81ba"},{"reference":"Observation/1721777846329135000.65c69636-0d27-42fb-8198-25835ad05c9d"}]}}]}"""
@Suppress("ktlint:standard:max-line-length")
const val invalidHL7RecordConvertedAndTransformed =
- """{"resourceType":"Bundle","id":"1714076050088111000.a4c2ec65-b182-45da-9f14-80db72ebdd42","meta":{"lastUpdated":"2024-04-25T16:14:10.094-04:00"},"identifier":{"system":"https://reportstream.cdc.gov/prime-router","value":"371784"},"type":"message","timestamp":"2021-02-10T17:07:37.000-05:00","entry":[{"fullUrl":"MessageHeader/4aeed951-99a9-3152-8885-6b0acc6dd35e","resource":{"resourceType":"MessageHeader","id":"4aeed951-99a9-3152-8885-6b0acc6dd35e","meta":{"tag":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0103","code":"P"}]},"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/msh-message-header","extension":[{"url":"MSH.7","valueString":"20210210170737"},{"url":"MSH.15","valueString":"NE"},{"url":"MSH.16","valueString":"NE"},{"url":"MSH.21","valueIdentifier":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"ELR_Receiver"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.9.99"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueCode":"ISO"}]}],"value":"PHLabReportNoAck"}},{"url":"MSH.19","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":"ISO"}],"code":"ENG","display":"English"}]}}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/character-set","valueString":"UNICODE UTF-8"}],"eventCoding":{"system":"http://terminology.hl7.org/CodeSystem/v2-0003","code":"R01","display":"ORU^R01^ORU_R01"},"destination":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"MSH.5"}],"name":"PRIME_DOH","_endpoint":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]},"receiver":{"reference":"Organization/1714076050159757000.4a754008-3c87-4a33-b464-b200e5209d58"}}],"sender":{"reference":"Organization/1714076050134101000.e2dfbcec-e00a-4145-9a1d-3f237f7d9c88"},"source":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CDC PRIME - Atlanta, Georgia (Dekalb)"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.114222.4.1.237821"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueString":"ISO"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"MSH.3"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/software-binary-id","valueString":"0.2-SNAPSHOT"}],"name":"CDC PRIME - Atlanta: 2.16.840.1.114222.4.1.237821","software":"PRIME ReportStream","version":"0.2-SNAPSHOT","endpoint":"urn:oid:2.16.840.1.114222.4.1.237821"}}},{"fullUrl":"Organization/1714076050134101000.e2dfbcec-e00a-4145-9a1d-3f237f7d9c88","resource":{"resourceType":"Organization","id":"1714076050134101000.e2dfbcec-e00a-4145-9a1d-3f237f7d9c88","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Avante at Ormond Beach"},{"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":"CLIA"}]},"value":"10D0876999"}],"address":[{"country":"USA"}]}},{"fullUrl":"Organization/1714076050159757000.4a754008-3c87-4a33-b464-b200e5209d58","resource":{"resourceType":"Organization","id":"1714076050159757000.4a754008-3c87-4a33-b464-b200e5209d58","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"MSH.6"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Prime ReportStream"}]}},{"fullUrl":"Provenance/1714076050445737000.c6aaf334-0a47-431f-9683-d684b448e75d","resource":{"resourceType":"Provenance","id":"1714076050445737000.c6aaf334-0a47-431f-9683-d684b448e75d","target":[{"reference":"MessageHeader/4aeed951-99a9-3152-8885-6b0acc6dd35e"},{"reference":"DiagnosticReport/1714076050653185000.919d3a83-8196-4559-9b09-82223811a264"}],"recorded":"2021-02-10T17:07:37Z","activity":{"coding":[{"display":"ORU^R01^ORU_R01"}]},"agent":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/provenance-participant-type","code":"author"}]},"who":{"reference":"Organization/1714076050445166000.fe8affd3-6047-4d29-9946-48aa378eb7a8"}}],"entity":[{"role":"source","what":{"reference":"Device/1714076050448504000.64bd61ad-a6ba-46ea-8c67-7925902c7ccb"}}]}},{"fullUrl":"Organization/1714076050445166000.fe8affd3-6047-4d29-9946-48aa378eb7a8","resource":{"resourceType":"Organization","id":"1714076050445166000.fe8affd3-6047-4d29-9946-48aa378eb7a8","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Avante at Ormond Beach"},{"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":"CLIA"}]},"value":"10D0876999"}]}},{"fullUrl":"Organization/1714076050448325000.62322707-039b-4e4d-b8bb-b98585947a1c","resource":{"resourceType":"Organization","id":"1714076050448325000.62322707-039b-4e4d-b8bb-b98585947a1c","name":"Centers for Disease Control and Prevention"}},{"fullUrl":"Device/1714076050448504000.64bd61ad-a6ba-46ea-8c67-7925902c7ccb","resource":{"resourceType":"Device","id":"1714076050448504000.64bd61ad-a6ba-46ea-8c67-7925902c7ccb","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/software-vendor-org","valueReference":{"reference":"Organization/1714076050448325000.62322707-039b-4e4d-b8bb-b98585947a1c"}}],"manufacturer":"Centers for Disease Control and Prevention","deviceName":[{"name":"PRIME ReportStream","type":"manufacturer-name"}],"modelNumber":"0.1-SNAPSHOT","version":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/software-install-date","valueDateTime":"2021-02-10","_valueDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"20210210"}]}}],"value":"0.1-SNAPSHOT"}]}},{"fullUrl":"Provenance/1714076050454424000.121a6dc9-c486-4455-9720-3b3f1a3fe655","resource":{"resourceType":"Provenance","id":"1714076050454424000.121a6dc9-c486-4455-9720-3b3f1a3fe655","recorded":"2024-04-25T16:14:10Z","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/1714076050454162000.ef2f189e-335e-4716-bfff-2c77c696b9f6"}}]}},{"fullUrl":"Organization/1714076050454162000.ef2f189e-335e-4716-bfff-2c77c696b9f6","resource":{"resourceType":"Organization","id":"1714076050454162000.ef2f189e-335e-4716-bfff-2c77c696b9f6","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/1714076050474891000.93554b06-037d-423d-a6d9-acff906d8d4a","resource":{"resourceType":"Patient","id":"1714076050474891000.93554b06-037d-423d-a6d9-acff906d8d4a","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/pid-patient","extension":[{"url":"PID.8","valueCodeableConcept":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"}],"code":"F"}]}},{"url":"PID.30","valueString":"N"}]},{"url":"http://ibm.com/fhir/cdm/StructureDefinition/local-race-cd","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":"HL70005"}],"system":"http://terminology.hl7.org/CodeSystem/v3-Race","version":"2.5.1","code":"2106-3","display":"White"}]}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/ethnic-group","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":"HL70189"}],"system":"http://terminology.hl7.org/CodeSystem/v2-0189","code":"U","display":"Unknown"}]}}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier","extension":[{"url":"CX.5","valueString":"PI"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"PID.3"}],"type":{"coding":[{"code":"PI"}]},"value":"2a14112c-ece1-4f82-915c-7b3a8d152eda","assigner":{"reference":"Organization/1714076050460441000.2cea5a01-6238-42db-974a-d3dd4ccadf06"}}],"name":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name","extension":[{"url":"XPN.2","valueString":"Kareem"},{"url":"XPN.3","valueString":"Millie"},{"url":"XPN.7","valueString":"L"}]}],"use":"official","family":"Buckridge","given":["Kareem","Millie"]}],"telecom":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"211"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"2240784"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.1","valueString":"7275555555:1:"},{"url":"XTN.2","valueString":"PRN"},{"url":"XTN.4","valueString":"roscoe.wilkinson@email.com"},{"url":"XTN.7","valueString":"2240784"}]}],"system":"email","use":"home"}],"gender":"female","birthDate":"1958-08-10","_birthDate":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"19580810"}]},"deceasedBoolean": false,"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":"688 Leighann Inlet"}]}]}],"line":["688 Leighann Inlet"],"city":"South Rodneychester","district":"48077","state":"TX","postalCode":"67071"}]}},{"fullUrl":"Organization/1714076050460441000.2cea5a01-6238-42db-974a-d3dd4ccadf06","resource":{"resourceType":"Organization","id":"1714076050460441000.2cea5a01-6238-42db-974a-d3dd4ccadf06","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Avante at Ormond Beach"}]}},{"fullUrl":"Provenance/1714076050477224000.1628017b-94e5-4e4c-bb2e-251383476529","resource":{"resourceType":"Provenance","id":"1714076050477224000.1628017b-94e5-4e4c-bb2e-251383476529","target":[{"reference":"Patient/1714076050474891000.93554b06-037d-423d-a6d9-acff906d8d4a"}],"recorded":"2024-04-25T16:14:10Z","activity":{"coding":[{"system":"https://terminology.hl7.org/CodeSystem/v3-DataOperation","code":"UPDATE"}]}}},{"fullUrl":"Observation/1714076050479965000.91c31627-78bd-4f0e-83fc-b7749d09d05d","resource":{"resourceType":"Observation","id":"1714076050479965000.91c31627-78bd-4f0e-83fc-b7749d09d05d","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/analysis-date-time","valueDateTime":"2021-02-09T00:00:00-06:00","_valueDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.11","valueString":"F"},{"url":"OBX.17","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":"99ELR"}],"code":"CareStart COVID-19 Antigen test_Access Bio, Inc._EUA"}]}}]}],"status":"final","code":{"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","code":"94558-4","display":"SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"}]},"subject":{"reference":"Patient/1714076050474891000.93554b06-037d-423d-a6d9-acff906d8d4a"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"performer":[{"reference":"Organization/1714076050480881000.76426968-0f15-47ed-9cec-f54aacf336dc"}],"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":"SCT"}],"system":"http://snomed.info/sct","code":"260415000","display":"Not detected"}]},"interpretation":[{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"HL70078"}],"code":"N","display":"Normal (applies to non-numeric results)"}]}],"method":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"99ELR"}],"code":"CareStart COVID-19 Antigen test_Access Bio, Inc._EUA"}]}}},{"fullUrl":"Organization/1714076050480881000.76426968-0f15-47ed-9cec-f54aacf336dc","resource":{"resourceType":"Organization","id":"1714076050480881000.76426968-0f15-47ed-9cec-f54aacf336dc","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization","extension":[{"url":"XON.10","valueString":"10D0876999"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"OBX.25"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CLIA"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.4.7"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueCode":"ISO"}]}],"value":"10D0876999"}],"name":"Avante at Ormond Beach","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":"170 North King Road"}]}]}],"line":["170 North King Road"],"city":"Ormond Beach","district":"12127","state":"FL","postalCode":"32174"}]}},{"fullUrl":"Observation/1714076050483565000.c539a463-c7a5-41c8-ae9c-9841735124f3","resource":{"resourceType":"Observation","id":"1714076050483565000.c539a463-c7a5-41c8-ae9c-9841735124f3","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.29","valueId":"QST"},{"url":"OBX.11","valueString":"F"}]}],"status":"final","code":{"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","code":"95418-0","display":"Whether patient is employed in a healthcare setting"}]},"subject":{"reference":"Patient/1714076050474891000.93554b06-037d-423d-a6d9-acff906d8d4a"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"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":"HL70136"}],"code":"Y","display":"Yes"}]}}},{"fullUrl":"Observation/1714076050486065000.616b4d6e-faf1-4e12-a255-d8972c32b1d9","resource":{"resourceType":"Observation","id":"1714076050486065000.616b4d6e-faf1-4e12-a255-d8972c32b1d9","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.29","valueId":"QST"},{"url":"OBX.11","valueString":"F"}]}],"status":"final","code":{"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","code":"95417-2","display":"First test for condition of interest"}]},"subject":{"reference":"Patient/1714076050474891000.93554b06-037d-423d-a6d9-acff906d8d4a"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"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":"HL70136"}],"code":"Y","display":"Yes"}]}}},{"fullUrl":"Observation/1714076050487946000.e957be9d-b4fd-4c17-8b44-dde8bf20df85","resource":{"resourceType":"Observation","id":"1714076050487946000.e957be9d-b4fd-4c17-8b44-dde8bf20df85","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.29","valueId":"QST"},{"url":"OBX.11","valueString":"F"}]}],"status":"final","code":{"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","code":"95421-4","display":"Resides in a congregate care setting"}]},"subject":{"reference":"Patient/1714076050474891000.93554b06-037d-423d-a6d9-acff906d8d4a"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"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":"HL70136"}],"code":"N","display":"No"}]}}},{"fullUrl":"Specimen/1714076050635518000.e5c47b4d-4404-4edd-bc07-142bfc0e90c5","resource":{"resourceType":"Specimen","id":"1714076050635518000.e5c47b4d-4404-4edd-bc07-142bfc0e90c5","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment","valueString":"OBR"}]}},{"fullUrl":"Specimen/1714076050637369000.7c579064-c691-42a7-89d4-02a2fa00d924","resource":{"resourceType":"Specimen","id":"1714076050637369000.7c579064-c691-42a7-89d4-02a2fa00d924","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment","valueString":"SPM"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Component","valueString":"SPM.2.1"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"PGN"}]},"value":"0cba76f5-35e0-4a28-803a-2f31308aae9b"}],"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"SCT"}],"system":"http://snomed.info/sct","code":"258500001","display":"Nasopharyngeal swab"}]},"receivedTime":"2021-02-09T00:00:00-06:00","_receivedTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"collection":{"collectedDateTime":"2021-02-09T00:00:00-06:00","_collectedDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"bodySite":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"SCT"}],"system":"http://snomed.info/sct","version":"2020-09-01","code":"71836000","display":"Nasopharyngeal structure (body structure)"}]}}}},{"fullUrl":"ServiceRequest/1714076050647840000.cb7f08b5-f042-4af2-99ef-93df2701ae8c","resource":{"resourceType":"ServiceRequest","id":"1714076050647840000.cb7f08b5-f042-4af2-99ef-93df2701ae8c","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/business-event","valueCode":"RE"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/orc-common-order","extension":[{"url":"orc-21-ordering-facility-name","valueReference":{"reference":"Organization/1714076050642630000.15f993ed-02f8-473f-8b77-95bca4c97f3a"}},{"url":"orc-22-ordering-facility-address","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":"170 North King Road"}]}]}],"line":["170 North King Road"],"city":"Ormond Beach","district":"12127","state":"FL","postalCode":"32174"}},{"url":"orc-24-ordering-provider-address","valueAddress":{"postalCode":"32174"}},{"url":"orc-12-ordering-provider","valueReference":{"reference":"Practitioner/1714076050643844000.3dad2a39-2e39-4120-9991-919e24397bb8"}},{"url":"ORC.15","valueString":"20210209"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obr-observation-request","extension":[{"url":"OBR.2","valueIdentifier":{"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"}},{"url":"OBR.3","valueIdentifier":{"value":"0cba76f5-35e0-4a28-803a-2f31308aae9b"}},{"url":"OBR.22","valueString":"202102090000-0600"},{"url":"OBR.25","valueId":"F"},{"url":"OBR.16","valueReference":{"reference":"Practitioner/1714076050645896000.f58ffd44-b08f-4d07-9273-d8441c8130ec"}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/callback-number","valueContactPoint":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"386"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"6825220"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.2","valueString":"WPN"},{"url":"XTN.7","valueString":"6825220"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"OBR.17"}],"_system":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]},"use":"work"}}]}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.2"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"PLAC"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"},{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.3"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"FILL"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"}],"status":"unknown","code":{"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","code":"94558-4","display":"SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"}]},"subject":{"reference":"Patient/1714076050474891000.93554b06-037d-423d-a6d9-acff906d8d4a"},"requester":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/callback-number","valueContactPoint":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"386"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"6825220"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.2","valueString":"WPN"},{"url":"XTN.7","valueString":"6825220"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.14"}],"_system":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]},"use":"work"}}],"reference":"PractitionerRole/1714076050638584000.7d2a4493-16cf-4f9d-896f-731d2aea7624"}}},{"fullUrl":"Practitioner/1714076050639750000.554bf0ef-b2be-4fbc-bc37-c67a216c1f14","resource":{"resourceType":"Practitioner","id":"1714076050639750000.554bf0ef-b2be-4fbc-bc37-c67a216c1f14","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CMS"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.249"},{"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":"Husam"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.12"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"NPI"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"urn:oid:2.16.840.1.113883.4.6"}],"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id","valueBoolean": true}],"code":"NPI"}]},"system":"CMS","value":"1629082607"}],"name":[{"family":"Eddin","given":["Husam"]}],"address":[{"postalCode":"32174"}]}},{"fullUrl":"Organization/1714076050640767000.dc66770b-e134-4d0e-8989-70c12c60fc7a","resource":{"resourceType":"Organization","id":"1714076050640767000.dc66770b-e134-4d0e-8989-70c12c60fc7a","name":"Avante at Ormond Beach","telecom":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"407"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"7397506"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.2","valueString":"WPN"},{"url":"XTN.4","valueString":"jbrush@avantecenters.com"},{"url":"XTN.7","valueString":"7397506"}]}],"system":"email","use":"work"}],"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":"170 North King Road"}]}]}],"line":["170 North King Road"],"city":"Ormond Beach","district":"12127","state":"FL","postalCode":"32174"}]}},{"fullUrl":"PractitionerRole/1714076050638584000.7d2a4493-16cf-4f9d-896f-731d2aea7624","resource":{"resourceType":"PractitionerRole","id":"1714076050638584000.7d2a4493-16cf-4f9d-896f-731d2aea7624","practitioner":{"reference":"Practitioner/1714076050639750000.554bf0ef-b2be-4fbc-bc37-c67a216c1f14"},"organization":{"reference":"Organization/1714076050640767000.dc66770b-e134-4d0e-8989-70c12c60fc7a"}}},{"fullUrl":"Organization/1714076050642630000.15f993ed-02f8-473f-8b77-95bca4c97f3a","resource":{"resourceType":"Organization","id":"1714076050642630000.15f993ed-02f8-473f-8b77-95bca4c97f3a","name":"Avante at Ormond Beach"}},{"fullUrl":"Practitioner/1714076050643844000.3dad2a39-2e39-4120-9991-919e24397bb8","resource":{"resourceType":"Practitioner","id":"1714076050643844000.3dad2a39-2e39-4120-9991-919e24397bb8","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CMS"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.249"},{"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":"Husam"}]}],"identifier":[{"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id","valueBoolean": true}],"code":"NPI"}]},"system":"CMS","value":"1629082607"}],"name":[{"family":"Eddin","given":["Husam"]}]}},{"fullUrl":"Practitioner/1714076050645896000.f58ffd44-b08f-4d07-9273-d8441c8130ec","resource":{"resourceType":"Practitioner","id":"1714076050645896000.f58ffd44-b08f-4d07-9273-d8441c8130ec","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CMS"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.249"},{"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":"Husam"}]}],"identifier":[{"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id","valueBoolean": true}],"code":"NPI"}]},"system":"CMS","value":"1629082607"}],"name":[{"family":"Eddin","given":["Husam"]}]}},{"fullUrl":"DiagnosticReport/1714076050653185000.919d3a83-8196-4559-9b09-82223811a264","resource":{"resourceType":"DiagnosticReport","id":"1714076050653185000.919d3a83-8196-4559-9b09-82223811a264","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.2"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"PLAC"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"},{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"FILL"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"}],"basedOn":[{"reference":"ServiceRequest/1714076050647840000.cb7f08b5-f042-4af2-99ef-93df2701ae8c"}],"status":"final","code":{"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","code":"94558-4","display":"SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"}]},"subject":{"reference":"Patient/1714076050474891000.93554b06-037d-423d-a6d9-acff906d8d4a"},"effectivePeriod":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valuePeriod":{"start":"2021-02-09T00:00:00-06:00","_start":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"end":"2021-02-09T00:00:00-06:00","_end":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]}}}],"start":"2021-02-09T00:00:00-06:00","_start":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"end":"2021-02-09T00:00:00-06:00","_end":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]}},"issued":"2021-02-09T00:00:00-06:00","_issued":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"specimen":[{"reference":"Specimen/1714076050637369000.7c579064-c691-42a7-89d4-02a2fa00d924"},{"reference":"Specimen/1714076050635518000.e5c47b4d-4404-4edd-bc07-142bfc0e90c5"}],"result":[{"reference":"Observation/1714076050479965000.91c31627-78bd-4f0e-83fc-b7749d09d05d"},{"reference":"Observation/1714076050483565000.c539a463-c7a5-41c8-ae9c-9841735124f3"},{"reference":"Observation/1714076050486065000.616b4d6e-faf1-4e12-a255-d8972c32b1d9"},{"reference":"Observation/1714076050487946000.e957be9d-b4fd-4c17-8b44-dde8bf20df85"}]}}]}"""
+ """{"resourceType":"Bundle","id":"1714076050088111000.a4c2ec65-b182-45da-9f14-80db72ebdd42","meta":{"lastUpdated":"2024-04-25T16:14:10.094-04:00"},"identifier":{"system":"https://reportstream.cdc.gov/prime-router","value":"371784"},"type":"message","timestamp":"2021-02-10T17:07:37.000-05:00","entry":[{"fullUrl":"MessageHeader/4aeed951-99a9-3152-8885-6b0acc6dd35e","resource":{"resourceType":"MessageHeader","id":"4aeed951-99a9-3152-8885-6b0acc6dd35e","meta":{"tag":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0103","code":"P"}]},"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/msh-message-header","extension":[{"url":"MSH.7","valueString":"20210210170737"},{"url":"MSH.15","valueString":"NE"},{"url":"MSH.16","valueString":"NE"},{"url":"MSH.21","valueIdentifier":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"ELR_Receiver"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.9.99"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueCode":"ISO"}]}],"value":"PHLabReportNoAck"}},{"url":"MSH.19","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":"ISO"}],"code":"ENG","display":"English"}]}}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/character-set","valueString":"UNICODE UTF-8"}],"eventCoding":{"system":"http://terminology.hl7.org/CodeSystem/v2-0003","code":"R01","display":"ORU^R01^ORU_R01"},"destination":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"MSH.5"}],"name":"PRIME_DOH","_endpoint":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]},"receiver":{"reference":"Organization/1714076050159757000.4a754008-3c87-4a33-b464-b200e5209d58"}}],"sender":{"reference":"Organization/1714076050134101000.e2dfbcec-e00a-4145-9a1d-3f237f7d9c88"},"source":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CDC PRIME - Atlanta, Georgia (Dekalb)"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.114222.4.1.237821"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueString":"ISO"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"MSH.3"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/software-binary-id","valueString":"0.2-SNAPSHOT"}],"name":"CDC PRIME - Atlanta: 2.16.840.1.114222.4.1.237821","software":"PRIME ReportStream","version":"0.2-SNAPSHOT","endpoint":"urn:oid:2.16.840.1.114222.4.1.237821"}}},{"fullUrl":"Organization/1714076050134101000.e2dfbcec-e00a-4145-9a1d-3f237f7d9c88","resource":{"resourceType":"Organization","id":"1714076050134101000.e2dfbcec-e00a-4145-9a1d-3f237f7d9c88","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Avante at Ormond Beach"},{"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":"CLIA"}]},"value":"10D0876999"}],"address":[{"country":"USA"}]}},{"fullUrl":"Organization/1714076050159757000.4a754008-3c87-4a33-b464-b200e5209d58","resource":{"resourceType":"Organization","id":"1714076050159757000.4a754008-3c87-4a33-b464-b200e5209d58","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"MSH.6"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Prime ReportStream"}]}},{"fullUrl":"Provenance/1714076050445737000.c6aaf334-0a47-431f-9683-d684b448e75d","resource":{"resourceType":"Provenance","id":"1714076050445737000.c6aaf334-0a47-431f-9683-d684b448e75d","target":[{"reference":"MessageHeader/4aeed951-99a9-3152-8885-6b0acc6dd35e"},{"reference":"DiagnosticReport/1714076050653185000.919d3a83-8196-4559-9b09-82223811a264"}],"recorded":"2021-02-10T17:07:37Z","activity":{"coding":[{"display":"ORU^R01^ORU_R01"}]},"agent":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/provenance-participant-type","code":"author"}]},"who":{"reference":"Organization/1714076050445166000.fe8affd3-6047-4d29-9946-48aa378eb7a8"}}],"entity":[{"role":"source","what":{"reference":"Device/1714076050448504000.64bd61ad-a6ba-46ea-8c67-7925902c7ccb"}}]}},{"fullUrl":"Organization/1714076050445166000.fe8affd3-6047-4d29-9946-48aa378eb7a8","resource":{"resourceType":"Organization","id":"1714076050445166000.fe8affd3-6047-4d29-9946-48aa378eb7a8","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Avante at Ormond Beach"},{"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":"CLIA"}]},"value":"10D0876999"}]}},{"fullUrl":"Organization/1714076050448325000.62322707-039b-4e4d-b8bb-b98585947a1c","resource":{"resourceType":"Organization","id":"1714076050448325000.62322707-039b-4e4d-b8bb-b98585947a1c","name":"Centers for Disease Control and Prevention"}},{"fullUrl":"Device/1714076050448504000.64bd61ad-a6ba-46ea-8c67-7925902c7ccb","resource":{"resourceType":"Device","id":"1714076050448504000.64bd61ad-a6ba-46ea-8c67-7925902c7ccb","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/software-vendor-org","valueReference":{"reference":"Organization/1714076050448325000.62322707-039b-4e4d-b8bb-b98585947a1c"}}],"manufacturer":"Centers for Disease Control and Prevention","deviceName":[{"name":"PRIME ReportStream","type":"manufacturer-name"}],"modelNumber":"0.1-SNAPSHOT","version":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/software-install-date","valueDateTime":"2021-02-10","_valueDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"20210210"}]}}],"value":"0.1-SNAPSHOT"}]}},{"fullUrl":"Provenance/1714076050454424000.121a6dc9-c486-4455-9720-3b3f1a3fe655","resource":{"resourceType":"Provenance","id":"1714076050454424000.121a6dc9-c486-4455-9720-3b3f1a3fe655","recorded":"2024-04-25T16:14:10Z","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/1714076050454162000.ef2f189e-335e-4716-bfff-2c77c696b9f6"}}]}},{"fullUrl":"Organization/1714076050454162000.ef2f189e-335e-4716-bfff-2c77c696b9f6","resource":{"resourceType":"Organization","id":"1714076050454162000.ef2f189e-335e-4716-bfff-2c77c696b9f6","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/1714076050474891000.93554b06-037d-423d-a6d9-acff906d8d4a","resource":{"resourceType":"Patient","id":"1714076050474891000.93554b06-037d-423d-a6d9-acff906d8d4a","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/pid-patient","extension":[{"url":"PID.8","valueCodeableConcept":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"}],"code":"F"}]}},{"url":"PID.30","valueString":"N"}]},{"url":"http://ibm.com/fhir/cdm/StructureDefinition/local-race-cd","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":"HL70005"}],"system":"http://terminology.hl7.org/CodeSystem/v3-Race","version":"2.5.1","code":"2106-3","display":"White"}]}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/ethnic-group","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":"HL70189"}],"system":"http://terminology.hl7.org/CodeSystem/v2-0189","code":"U","display":"Unknown"}]}}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier","extension":[{"url":"CX.5","valueString":"PI"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"PID.3"}],"type":{"coding":[{"code":"PI"}]},"value":"2a14112c-ece1-4f82-915c-7b3a8d152eda","assigner":{"reference":"Organization/1714076050460441000.2cea5a01-6238-42db-974a-d3dd4ccadf06"}}],"name":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name","extension":[{"url":"XPN.2","valueString":"Kareem"},{"url":"XPN.3","valueString":"Millie"},{"url":"XPN.7","valueString":"L"}]}],"use":"official","family":"Buckridge","given":["Kareem","Millie"]}],"telecom":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"211"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"2240784"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.1","valueString":"7275555555:1:"},{"url":"XTN.2","valueString":"PRN"},{"url":"XTN.4","valueString":"roscoe.wilkinson@email.com"},{"url":"XTN.7","valueString":"2240784"}]}],"system":"email","use":"home"}],"gender":"female","birthDate":"1958-08-10","_birthDate":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"19580810"}]},"deceasedBoolean":false,"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":"688 Leighann Inlet"}]}]}],"line":["688 Leighann Inlet"],"city":"South Rodneychester","district":"48077","state":"TX","postalCode":"67071"}]}},{"fullUrl":"Organization/1714076050460441000.2cea5a01-6238-42db-974a-d3dd4ccadf06","resource":{"resourceType":"Organization","id":"1714076050460441000.2cea5a01-6238-42db-974a-d3dd4ccadf06","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"Avante at Ormond Beach"}]}},{"fullUrl":"Provenance/1714076050477224000.1628017b-94e5-4e4c-bb2e-251383476529","resource":{"resourceType":"Provenance","id":"1714076050477224000.1628017b-94e5-4e4c-bb2e-251383476529","target":[{"reference":"Patient/1714076050474891000.93554b06-037d-423d-a6d9-acff906d8d4a"}],"recorded":"2024-04-25T16:14:10Z","activity":{"coding":[{"system":"https://terminology.hl7.org/CodeSystem/v3-DataOperation","code":"UPDATE"}]}}},{"fullUrl":"Observation/1714076050479965000.91c31627-78bd-4f0e-83fc-b7749d09d05d","resource":{"resourceType":"Observation","id":"1714076050479965000.91c31627-78bd-4f0e-83fc-b7749d09d05d","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/analysis-date-time","valueDateTime":"2021-02-09T00:00:00-06:00","_valueDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.11","valueString":"F"},{"url":"OBX.17","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":"99ELR"}],"code":"CareStart COVID-19 Antigen test_Access Bio, Inc._EUA"}]}}]}],"status":"final","code":{"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","code":"94558-4","display":"SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"}]},"subject":{"reference":"Patient/1714076050474891000.93554b06-037d-423d-a6d9-acff906d8d4a"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"performer":[{"reference":"Organization/1714076050480881000.76426968-0f15-47ed-9cec-f54aacf336dc"}],"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":"SCT"}],"system":"http://snomed.info/sct","code":"260415000","display":"Not detected"}]},"interpretation":[{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"HL70078"}],"code":"N","display":"Normal (applies to non-numeric results)"}]}],"method":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"99ELR"}],"code":"CareStart COVID-19 Antigen test_Access Bio, Inc._EUA"}]}}},{"fullUrl":"Organization/1714076050480881000.76426968-0f15-47ed-9cec-f54aacf336dc","resource":{"resourceType":"Organization","id":"1714076050480881000.76426968-0f15-47ed-9cec-f54aacf336dc","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization","extension":[{"url":"XON.10","valueString":"10D0876999"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"OBX.25"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CLIA"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.4.7"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueCode":"ISO"}]}],"value":"10D0876999"}],"name":"Avante at Ormond Beach","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":"170 North King Road"}]}]}],"line":["170 North King Road"],"city":"Ormond Beach","district":"12127","state":"FL","postalCode":"32174"}]}},{"fullUrl":"Observation/1714076050483565000.c539a463-c7a5-41c8-ae9c-9841735124f3","resource":{"resourceType":"Observation","id":"1714076050483565000.c539a463-c7a5-41c8-ae9c-9841735124f3","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.29","valueId":"QST"},{"url":"OBX.11","valueString":"F"}]}],"status":"final","code":{"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","code":"95418-0","display":"Whether patient is employed in a healthcare setting"}]},"subject":{"reference":"Patient/1714076050474891000.93554b06-037d-423d-a6d9-acff906d8d4a"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"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":"HL70136"}],"code":"Y","display":"Yes"}]}}},{"fullUrl":"Observation/1714076050486065000.616b4d6e-faf1-4e12-a255-d8972c32b1d9","resource":{"resourceType":"Observation","id":"1714076050486065000.616b4d6e-faf1-4e12-a255-d8972c32b1d9","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.29","valueId":"QST"},{"url":"OBX.11","valueString":"F"}]}],"status":"final","code":{"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","code":"95417-2","display":"First test for condition of interest"}]},"subject":{"reference":"Patient/1714076050474891000.93554b06-037d-423d-a6d9-acff906d8d4a"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"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":"HL70136"}],"code":"Y","display":"Yes"}]}}},{"fullUrl":"Observation/1714076050487946000.e957be9d-b4fd-4c17-8b44-dde8bf20df85","resource":{"resourceType":"Observation","id":"1714076050487946000.e957be9d-b4fd-4c17-8b44-dde8bf20df85","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.29","valueId":"QST"},{"url":"OBX.11","valueString":"F"}]}],"status":"final","code":{"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","code":"95421-4","display":"Resides in a congregate care setting"}]},"subject":{"reference":"Patient/1714076050474891000.93554b06-037d-423d-a6d9-acff906d8d4a"},"effectiveDateTime":"2021-02-09T00:00:00-06:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"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":"HL70136"}],"code":"N","display":"No"}]}}},{"fullUrl":"Specimen/1714076050635518000.e5c47b4d-4404-4edd-bc07-142bfc0e90c5","resource":{"resourceType":"Specimen","id":"1714076050635518000.e5c47b4d-4404-4edd-bc07-142bfc0e90c5","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment","valueString":"OBR"}],"collection":{"collectedPeriod":{"start":"2021-02-09T00:00:00-06:00","_start":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"end":"2021-02-09T00:00:00-06:00","_end":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]}}}}},{"fullUrl":"Specimen/1714076050637369000.7c579064-c691-42a7-89d4-02a2fa00d924","resource":{"resourceType":"Specimen","id":"1714076050637369000.7c579064-c691-42a7-89d4-02a2fa00d924","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment","valueString":"SPM"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Component","valueString":"SPM.2.1"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"PGN"}]},"value":"0cba76f5-35e0-4a28-803a-2f31308aae9b"}],"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"SCT"}],"system":"http://snomed.info/sct","code":"258500001","display":"Nasopharyngeal swab"}]},"receivedTime":"2021-02-09T00:00:00-06:00","_receivedTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"collection":{"collectedDateTime":"2021-02-09T00:00:00-06:00","_collectedDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"bodySite":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"SCT"}],"system":"http://snomed.info/sct","version":"2020-09-01","code":"71836000","display":"Nasopharyngeal structure (body structure)"}]}}}},{"fullUrl":"ServiceRequest/1714076050647840000.cb7f08b5-f042-4af2-99ef-93df2701ae8c","resource":{"resourceType":"ServiceRequest","id":"1714076050647840000.cb7f08b5-f042-4af2-99ef-93df2701ae8c","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/business-event","valueCode":"RE"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/orc-common-order","extension":[{"url":"orc-21-ordering-facility-name","valueReference":{"reference":"Organization/1714076050642630000.15f993ed-02f8-473f-8b77-95bca4c97f3a"}},{"url":"orc-22-ordering-facility-address","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":"170 North King Road"}]}]}],"line":["170 North King Road"],"city":"Ormond Beach","district":"12127","state":"FL","postalCode":"32174"}},{"url":"orc-24-ordering-provider-address","valueAddress":{"postalCode":"32174"}},{"url":"orc-12-ordering-provider","valueReference":{"reference":"Practitioner/1714076050643844000.3dad2a39-2e39-4120-9991-919e24397bb8"}},{"url":"ORC.15","valueString":"20210209"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obr-observation-request","extension":[{"url":"OBR.2","valueIdentifier":{"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"}},{"url":"OBR.3","valueIdentifier":{"value":"0cba76f5-35e0-4a28-803a-2f31308aae9b"}},{"url":"OBR.22","valueString":"202102090000-0600"},{"url":"OBR.25","valueId":"F"},{"url":"OBR.16","valueReference":{"reference":"Practitioner/1714076050645896000.f58ffd44-b08f-4d07-9273-d8441c8130ec"}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/callback-number","valueContactPoint":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"386"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"6825220"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.2","valueString":"WPN"},{"url":"XTN.7","valueString":"6825220"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"OBR.17"}],"_system":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]},"use":"work"}}]}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.2"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"PLAC"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"},{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.3"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"FILL"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"}],"status":"unknown","code":{"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","code":"94558-4","display":"SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"}]},"subject":{"reference":"Patient/1714076050474891000.93554b06-037d-423d-a6d9-acff906d8d4a"},"requester":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/callback-number","valueContactPoint":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"386"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"6825220"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.2","valueString":"WPN"},{"url":"XTN.7","valueString":"6825220"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.14"}],"_system":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]},"use":"work"}}],"reference":"PractitionerRole/1714076050638584000.7d2a4493-16cf-4f9d-896f-731d2aea7624"}}},{"fullUrl":"Practitioner/1714076050639750000.554bf0ef-b2be-4fbc-bc37-c67a216c1f14","resource":{"resourceType":"Practitioner","id":"1714076050639750000.554bf0ef-b2be-4fbc-bc37-c67a216c1f14","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CMS"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.249"},{"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":"Husam"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.12"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"NPI"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"urn:oid:2.16.840.1.113883.4.6"}],"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id","valueBoolean":true}],"code":"NPI"}]},"system":"CMS","value":"1629082607"}],"name":[{"family":"Eddin","given":["Husam"]}],"address":[{"postalCode":"32174"}]}},{"fullUrl":"Organization/1714076050640767000.dc66770b-e134-4d0e-8989-70c12c60fc7a","resource":{"resourceType":"Organization","id":"1714076050640767000.dc66770b-e134-4d0e-8989-70c12c60fc7a","name":"Avante at Ormond Beach","telecom":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","valueString":"1"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"407"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"7397506"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.2","valueString":"WPN"},{"url":"XTN.4","valueString":"jbrush@avantecenters.com"},{"url":"XTN.7","valueString":"7397506"}]}],"system":"email","use":"work"}],"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":"170 North King Road"}]}]}],"line":["170 North King Road"],"city":"Ormond Beach","district":"12127","state":"FL","postalCode":"32174"}]}},{"fullUrl":"PractitionerRole/1714076050638584000.7d2a4493-16cf-4f9d-896f-731d2aea7624","resource":{"resourceType":"PractitionerRole","id":"1714076050638584000.7d2a4493-16cf-4f9d-896f-731d2aea7624","practitioner":{"reference":"Practitioner/1714076050639750000.554bf0ef-b2be-4fbc-bc37-c67a216c1f14"},"organization":{"reference":"Organization/1714076050640767000.dc66770b-e134-4d0e-8989-70c12c60fc7a"}}},{"fullUrl":"Organization/1714076050642630000.15f993ed-02f8-473f-8b77-95bca4c97f3a","resource":{"resourceType":"Organization","id":"1714076050642630000.15f993ed-02f8-473f-8b77-95bca4c97f3a","name":"Avante at Ormond Beach"}},{"fullUrl":"Practitioner/1714076050643844000.3dad2a39-2e39-4120-9991-919e24397bb8","resource":{"resourceType":"Practitioner","id":"1714076050643844000.3dad2a39-2e39-4120-9991-919e24397bb8","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CMS"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.249"},{"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":"Husam"}]}],"identifier":[{"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id","valueBoolean":true}],"code":"NPI"}]},"system":"CMS","value":"1629082607"}],"name":[{"family":"Eddin","given":["Husam"]}]}},{"fullUrl":"Practitioner/1714076050645896000.f58ffd44-b08f-4d07-9273-d8441c8130ec","resource":{"resourceType":"Practitioner","id":"1714076050645896000.f58ffd44-b08f-4d07-9273-d8441c8130ec","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"CMS"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.249"},{"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":"Husam"}]}],"identifier":[{"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id","valueBoolean":true}],"code":"NPI"}]},"system":"CMS","value":"1629082607"}],"name":[{"family":"Eddin","given":["Husam"]}]}},{"fullUrl":"DiagnosticReport/1714076050653185000.919d3a83-8196-4559-9b09-82223811a264","resource":{"resourceType":"DiagnosticReport","id":"1714076050653185000.919d3a83-8196-4559-9b09-82223811a264","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.2"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"PLAC"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"},{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"FILL"}]},"value":"73a6e9bd-aaec-418e-813a-0ad33366ca85"}],"basedOn":[{"reference":"ServiceRequest/1714076050647840000.cb7f08b5-f042-4af2-99ef-93df2701ae8c"}],"status":"final","code":{"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","code":"94558-4","display":"SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"}]},"subject":{"reference":"Patient/1714076050474891000.93554b06-037d-423d-a6d9-acff906d8d4a"},"effectivePeriod":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valuePeriod":{"start":"2021-02-09T00:00:00-06:00","_start":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"end":"2021-02-09T00:00:00-06:00","_end":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]}}}],"start":"2021-02-09T00:00:00-06:00","_start":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"end":"2021-02-09T00:00:00-06:00","_end":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]}},"issued":"2021-02-09T00:00:00-06:00","_issued":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"202102090000-0600"}]},"specimen":[{"reference":"Specimen/1714076050637369000.7c579064-c691-42a7-89d4-02a2fa00d924"},{"reference":"Specimen/1714076050635518000.e5c47b4d-4404-4edd-bc07-142bfc0e90c5"}],"result":[{"reference":"Observation/1714076050479965000.91c31627-78bd-4f0e-83fc-b7749d09d05d"},{"reference":"Observation/1714076050483565000.c539a463-c7a5-41c8-ae9c-9841735124f3"},{"reference":"Observation/1714076050486065000.616b4d6e-faf1-4e12-a255-d8972c32b1d9"},{"reference":"Observation/1714076050487946000.e957be9d-b4fd-4c17-8b44-dde8bf20df85"}]}}]}"""
// The encoding ^~\! make this message not parseable
@Suppress("ktlint:standard:max-line-length")
@@ -159,7 +159,7 @@ SPM|1|^dba7572cc6334f1ea0744c5f235c823e&MMTC.PROD&2.16.840.1.113883.3.8589.4.2.1
@Suppress("ktlint:standard:max-line-length")
const val validRadxMarsHL7MessageConverted =
- """{"resourceType":"Bundle","id":"1721777538349722000.36548b19-d5d0-49bf-ad94-aad0220b4d57","meta":{"lastUpdated":"2024-07-23T16:32:18.355-07:00"},"identifier":{"system":"https://reportstream.cdc.gov/prime-router","value":"20240403205305_dba7572cc6334f1ea0744c5f235c823e"},"type":"message","timestamp":"2024-04-03T13:53:05.000-07:00","entry":[{"fullUrl":"MessageHeader/df373c48-bfb2-36b0-b63c-5be13bc5d051","resource":{"resourceType":"MessageHeader","id":"df373c48-bfb2-36b0-b63c-5be13bc5d051","meta":{"tag":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0103","code":"P"}]},"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/msh-message-header","extension":[{"url":"MSH.7","valueString":"20240403205305+0000"},{"url":"MSH.15","valueString":"NE"},{"url":"MSH.16","valueString":"NE"},{"url":"MSH.21","valueIdentifier":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"ELR251R1_Rcvr_Prof"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.9.11"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueCode":"ISO"}]}],"value":"PHLabReport-NoAck"}}]}],"eventCoding":{"system":"http://terminology.hl7.org/CodeSystem/v2-0003","code":"R01","display":"ORU^R01^ORU_R01"},"destination":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.114222.4.3.15.1"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueString":"ISO"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"MSH.5"}],"name":"AIMS.INTEGRATION.PRD","endpoint":"urn:oid:2.16.840.1.114222.4.3.15.1","receiver":{"reference":"Organization/1721777538401451000.9e62ff00-fd0d-45c6-8f0a-0e66837274e6"}}],"sender":{"reference":"Organization/1721777538383046000.6716227e-0a80-4288-9174-d85df9dc0c73"},"source":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"MMTC.PROD"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.8589.4.2.106.1"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueString":"ISO"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"MSH.3"}],"software":"MMTC.PROD","version":"2022","endpoint":"urn:oid:2.16.840.1.113883.3.8589.4.2.106.1"}}},{"fullUrl":"Organization/1721777538383046000.6716227e-0a80-4288-9174-d85df9dc0c73","resource":{"resourceType":"Organization","id":"1721777538383046000.6716227e-0a80-4288-9174-d85df9dc0c73","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"CAREEVOLUTION"},{"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":"CLIA"}]},"value":"00Z0000024"}]}},{"fullUrl":"Organization/1721777538401451000.9e62ff00-fd0d-45c6-8f0a-0e66837274e6","resource":{"resourceType":"Organization","id":"1721777538401451000.9e62ff00-fd0d-45c6-8f0a-0e66837274e6","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"MSH.6"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"AIMS.PLATFORM"},{"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.114222.4.1.217446"}]}},{"fullUrl":"Provenance/1721777538618773000.9aa057e0-c5d8-42e1-a036-5ad2fc58b81d","resource":{"resourceType":"Provenance","id":"1721777538618773000.9aa057e0-c5d8-42e1-a036-5ad2fc58b81d","target":[{"reference":"MessageHeader/df373c48-bfb2-36b0-b63c-5be13bc5d051"},{"reference":"DiagnosticReport/1721777538769739000.c07a251c-772a-490e-86eb-eaa4da1c7765"}],"recorded":"2024-04-03T20:53:05Z","activity":{"coding":[{"display":"ORU^R01^ORU_R01"}]},"agent":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/provenance-participant-type","code":"author"}]},"who":{"reference":"Organization/1721777538618089000.fc42e742-9b78-4f07-b2e2-e4fff4d7d072"}}],"entity":[{"role":"source","what":{"reference":"Device/1721777538621171000.7fd0d9cf-dcd1-48be-821c-2541e02846c3"}}]}},{"fullUrl":"Organization/1721777538618089000.fc42e742-9b78-4f07-b2e2-e4fff4d7d072","resource":{"resourceType":"Organization","id":"1721777538618089000.fc42e742-9b78-4f07-b2e2-e4fff4d7d072","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"CAREEVOLUTION"},{"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":"CLIA"}]},"value":"00Z0000024"}]}},{"fullUrl":"Organization/1721777538621020000.28daf3a1-e092-49d7-9eed-c0c65273bbe7","resource":{"resourceType":"Organization","id":"1721777538621020000.28daf3a1-e092-49d7-9eed-c0c65273bbe7","name":"CAREEVOLUTION"}},{"fullUrl":"Device/1721777538621171000.7fd0d9cf-dcd1-48be-821c-2541e02846c3","resource":{"resourceType":"Device","id":"1721777538621171000.7fd0d9cf-dcd1-48be-821c-2541e02846c3","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/software-vendor-org","valueReference":{"reference":"Organization/1721777538621020000.28daf3a1-e092-49d7-9eed-c0c65273bbe7"}}],"manufacturer":"CAREEVOLUTION","deviceName":[{"name":"MMTC.PROD","type":"manufacturer-name"}],"modelNumber":"16498","version":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/software-install-date","valueDateTime":"2024-04-02","_valueDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"20240402"}]}}],"value":"2022"}]}},{"fullUrl":"Provenance/1721777538626120000.12c5c4a0-02fd-461a-947a-07205545d44e","resource":{"resourceType":"Provenance","id":"1721777538626120000.12c5c4a0-02fd-461a-947a-07205545d44e","recorded":"2024-07-23T16:32:18Z","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/1721777538625896000.32610f33-26e9-464b-a07a-8bae14184539"}}]}},{"fullUrl":"Organization/1721777538625896000.32610f33-26e9-464b-a07a-8bae14184539","resource":{"resourceType":"Organization","id":"1721777538625896000.32610f33-26e9-464b-a07a-8bae14184539","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/1721777538639185000.09cc50e9-5147-4f54-bcab-99804188e19e","resource":{"resourceType":"Patient","id":"1721777538639185000.09cc50e9-5147-4f54-bcab-99804188e19e","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier","extension":[{"url":"CX.5","valueString":"PI"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"PID.3"}],"type":{"coding":[{"code":"PI"}]},"system":"MMTC.PROD","_system":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"MMTC.PROD"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.8589.4.2.106.1"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueString":"ISO"}]},"value":"8be6fa3710374dcebe0174e0fd5a1a7c"}],"name":[{ },{ }],"telecom":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"111"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"1111111"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.7","valueString":"1111111"}]}],"_system":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]},"use":"home"}],"address":[{"postalCode":"02139","country":"USA"}]}},{"fullUrl":"Provenance/1721777538640288000.b62e5812-4284-4220-bf36-f14a3529244f","resource":{"resourceType":"Provenance","id":"1721777538640288000.b62e5812-4284-4220-bf36-f14a3529244f","target":[{"reference":"Patient/1721777538639185000.09cc50e9-5147-4f54-bcab-99804188e19e"}],"recorded":"2024-07-23T16:32:18Z","activity":{"coding":[{"system":"https://terminology.hl7.org/CodeSystem/v3-DataOperation","code":"UPDATE"}]}}},{"fullUrl":"Observation/1721777538642873000.d0f720df-d3cf-4d6e-94ff-225dee52f81d","resource":{"resourceType":"Observation","id":"1721777538642873000.d0f720df-d3cf-4d6e-94ff-225dee52f81d","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/analysis-date-time","valueDateTime":"2024-04-03T12:00:00-04:00","_valueDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"20240403120000-0400"}]}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.11","valueString":"F"},{"url":"OBX.17","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":"99ELR"}],"version":"Vunknown","code":"BinaxNOW COVID-19 Antigen Self Test_Abbott Diagnostics Scarborough, Inc._EUA"}]}}]}],"status":"final","code":{"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":"2.71","code":"94558-4","display":"SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"}]},"subject":{"reference":"Patient/1721777538639185000.09cc50e9-5147-4f54-bcab-99804188e19e"},"performer":[{"reference":"Organization/1721777538643252000.4acb5bbf-266e-4ec7-bb08-3ea096df316a"},{"reference":"Organization/1721777538643966000.3a142429-e9b4-4094-9dd9-80b0f300baba"}],"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":"SCT"}],"system":"http://snomed.info/sct","version":"20200901","code":"260373001","display":"Detected"}]},"note":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/nte-annotation","extension":[{"url":"NTE.2","valueId":"L"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/note-comment","valueId":"Note"}],"text":"Note"}],"method":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"99ELR"}],"version":"Vunknown","code":"BinaxNOW COVID-19 Antigen Self Test_Abbott Diagnostics Scarborough, Inc._EUA"}]}}},{"fullUrl":"Organization/1721777538643252000.4acb5bbf-266e-4ec7-bb08-3ea096df316a","resource":{"resourceType":"Organization","id":"1721777538643252000.4acb5bbf-266e-4ec7-bb08-3ea096df316a","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-organization","valueCodeableConcept":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"}],"code":"00Z0000042"}]}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"OBX.15"}],"identifier":[{"value":"00Z0000042"}]}},{"fullUrl":"Organization/1721777538643966000.3a142429-e9b4-4094-9dd9-80b0f300baba","resource":{"resourceType":"Organization","id":"1721777538643966000.3a142429-e9b4-4094-9dd9-80b0f300baba","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization","extension":[{"url":"XON.10","valueString":"00Z0000042"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"OBX.25"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.8589.4.1.152"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueCode":"ISO"}]}],"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/code-index-name","valueString":"identifier"}],"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"XX"}]},"value":"00Z0000042"}],"name":"SA.OTCSelfReport"}},{"fullUrl":"Observation/1721777538647578000.c2004093-e546-4860-8033-58cba343f133","resource":{"resourceType":"Observation","id":"1721777538647578000.c2004093-e546-4860-8033-58cba343f133","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"NM"},{"url":"OBX.6","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":"UCUM"}],"system":"http://unitsofmeasure.org","version":"2.1","code":"a","display":"year"}]}},{"url":"OBX.29","valueId":"QST"},{"url":"OBX.11","valueString":"F"}]}],"status":"final","code":{"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":"2.71","code":"35659-2","display":"Age at specimen collection"}]},"subject":{"reference":"Patient/1721777538639185000.09cc50e9-5147-4f54-bcab-99804188e19e"},"performer":[{"reference":"Organization/1721777538648041000.5fd91347-5fb6-473e-a029-e8ae78fd1b92"},{"reference":"Organization/1721777538648734000.fd1f1251-3bbe-4721-847e-8660632f2449"}],"valueQuantity":{"value":24,"unit":"year","system":"UCUM","code":"a"}}},{"fullUrl":"Organization/1721777538648041000.5fd91347-5fb6-473e-a029-e8ae78fd1b92","resource":{"resourceType":"Organization","id":"1721777538648041000.5fd91347-5fb6-473e-a029-e8ae78fd1b92","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-organization","valueCodeableConcept":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"}],"code":"00Z0000042"}]}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"OBX.15"}],"identifier":[{"value":"00Z0000042"}]}},{"fullUrl":"Organization/1721777538648734000.fd1f1251-3bbe-4721-847e-8660632f2449","resource":{"resourceType":"Organization","id":"1721777538648734000.fd1f1251-3bbe-4721-847e-8660632f2449","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization","extension":[{"url":"XON.10","valueString":"00Z0000042"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"OBX.25"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.8589.4.1.152"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueCode":"ISO"}]}],"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/code-index-name","valueString":"identifier"}],"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"XX"}]},"value":"00Z0000042"}],"name":"SA.OTCSelfReport"}},{"fullUrl":"Specimen/1721777538758931000.01b3d3a6-3c7b-4857-8bf9-8f134b096b5b","resource":{"resourceType":"Specimen","id":"1721777538758931000.01b3d3a6-3c7b-4857-8bf9-8f134b096b5b","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment","valueString":"OBR"}]}},{"fullUrl":"Specimen/1721777538760528000.bc0d5494-ded7-4f59-ae98-0fa99c6f1f08","resource":{"resourceType":"Specimen","id":"1721777538760528000.bc0d5494-ded7-4f59-ae98-0fa99c6f1f08","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment","valueString":"SPM"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"MMTC.PROD"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.8589.4.2.106.1"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueString":"ISO"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Component","valueString":"SPM.2.2"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"FGN"}]},"value":"dba7572cc6334f1ea0744c5f235c823e"}],"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"SCT"}],"system":"http://snomed.info/sct","version":"20200901","code":"697989009","display":"Anterior nares swab"}]},"receivedTime":"2024-04-03T12:00:00-04:00","_receivedTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"20240403120000-0400"}]},"collection":{"collectedDateTime":"2024-04-03T12:00:00-04:00","_collectedDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"20240403120000-0400"}]}}}},{"fullUrl":"ServiceRequest/1721777538766651000.67fb7925-4477-463f-ace7-6a4ccde323e3","resource":{"resourceType":"ServiceRequest","id":"1721777538766651000.67fb7925-4477-463f-ace7-6a4ccde323e3","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/business-event","valueCode":"RE"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/orc-common-order","extension":[{"url":"orc-21-ordering-facility-name","valueReference":{"reference":"Organization/1721777538764342000.7d31256c-b68f-424e-ae46-3f11938e254f"}},{"url":"orc-22-ordering-facility-address","valueAddress":{"postalCode":"02139"}},{"url":"orc-12-ordering-provider","valueReference":{"reference":"Practitioner/1721777538764987000.cddc93f3-5715-4a2c-b6b1-9757f69bfea8"}}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obr-observation-request","extension":[{"url":"OBR.3","valueIdentifier":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"MMTC.PROD"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.8589.4.2.106.1"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueCode":"ISO"}]}]}},{"url":"OBR.22","valueString":"20240403120000-0400"},{"url":"OBR.25","valueId":"F"},{"url":"OBR.16","valueReference":{"reference":"Practitioner/1721777538765681000.ff566bb1-26c4-4a05-b451-30e36091cbb7"}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/callback-number","valueContactPoint":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"OBR.17"}],"_system":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]}}}]}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.3"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"MMTC.PROD"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.8589.4.2.106.1"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueCode":"ISO"}]}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"FILL"}]}}],"status":"unknown","code":{"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":"2.71","code":"94558-4","display":"SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"}]},"subject":{"reference":"Patient/1721777538639185000.09cc50e9-5147-4f54-bcab-99804188e19e"},"requester":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/callback-number","valueContactPoint":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.14"}],"_system":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]}}}],"reference":"PractitionerRole/1721777538761373000.d8a566a3-3add-443e-b4a9-ff86df482bc1"}}},{"fullUrl":"Practitioner/1721777538761935000.825f57d6-5ffe-47e8-8a88-d35f9479e6ab","resource":{"resourceType":"Practitioner","id":"1721777538761935000.825f57d6-5ffe-47e8-8a88-d35f9479e6ab","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.12"}]}},{"fullUrl":"Organization/1721777538762774000.14789ed4-aeaf-489d-b55d-bc9ba4020091","resource":{"resourceType":"Organization","id":"1721777538762774000.14789ed4-aeaf-489d-b55d-bc9ba4020091","name":"SA.OTCSelfReport","telecom":[{"_system":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]}}],"address":[{"postalCode":"02139"}]}},{"fullUrl":"PractitionerRole/1721777538761373000.d8a566a3-3add-443e-b4a9-ff86df482bc1","resource":{"resourceType":"PractitionerRole","id":"1721777538761373000.d8a566a3-3add-443e-b4a9-ff86df482bc1","practitioner":{"reference":"Practitioner/1721777538761935000.825f57d6-5ffe-47e8-8a88-d35f9479e6ab"},"organization":{"reference":"Organization/1721777538762774000.14789ed4-aeaf-489d-b55d-bc9ba4020091"}}},{"fullUrl":"Organization/1721777538764342000.7d31256c-b68f-424e-ae46-3f11938e254f","resource":{"resourceType":"Organization","id":"1721777538764342000.7d31256c-b68f-424e-ae46-3f11938e254f","name":"SA.OTCSelfReport"}},{"fullUrl":"Practitioner/1721777538764987000.cddc93f3-5715-4a2c-b6b1-9757f69bfea8","resource":{"resourceType":"Practitioner","id":"1721777538764987000.cddc93f3-5715-4a2c-b6b1-9757f69bfea8"}},{"fullUrl":"Practitioner/1721777538765681000.ff566bb1-26c4-4a05-b451-30e36091cbb7","resource":{"resourceType":"Practitioner","id":"1721777538765681000.ff566bb1-26c4-4a05-b451-30e36091cbb7"}},{"fullUrl":"DiagnosticReport/1721777538769739000.c07a251c-772a-490e-86eb-eaa4da1c7765","resource":{"resourceType":"DiagnosticReport","id":"1721777538769739000.c07a251c-772a-490e-86eb-eaa4da1c7765","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"MMTC.PROD"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.8589.4.2.106.1"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueCode":"ISO"}]}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"FILL"}]}}],"basedOn":[{"reference":"ServiceRequest/1721777538766651000.67fb7925-4477-463f-ace7-6a4ccde323e3"}],"status":"final","code":{"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":"2.71","code":"94558-4","display":"SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"}]},"subject":{"reference":"Patient/1721777538639185000.09cc50e9-5147-4f54-bcab-99804188e19e"},"effectiveDateTime":"2024-04-03T12:00:00-04:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"20240403120000-0400"}]},"issued":"2024-04-03T12:00:00-04:00","_issued":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"20240403120000-0400"}]},"specimen":[{"reference":"Specimen/1721777538760528000.bc0d5494-ded7-4f59-ae98-0fa99c6f1f08"},{"reference":"Specimen/1721777538758931000.01b3d3a6-3c7b-4857-8bf9-8f134b096b5b"}],"result":[{"reference":"Observation/1721777538642873000.d0f720df-d3cf-4d6e-94ff-225dee52f81d"},{"reference":"Observation/1721777538647578000.c2004093-e546-4860-8033-58cba343f133"}]}}]}"""
+ """{"resourceType":"Bundle","id":"1721777538349722000.36548b19-d5d0-49bf-ad94-aad0220b4d57","meta":{"lastUpdated":"2024-07-23T16:32:18.355-07:00"},"identifier":{"system":"https://reportstream.cdc.gov/prime-router","value":"20240403205305_dba7572cc6334f1ea0744c5f235c823e"},"type":"message","timestamp":"2024-04-03T13:53:05.000-07:00","entry":[{"fullUrl":"MessageHeader/df373c48-bfb2-36b0-b63c-5be13bc5d051","resource":{"resourceType":"MessageHeader","id":"df373c48-bfb2-36b0-b63c-5be13bc5d051","meta":{"tag":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0103","code":"P"}]},"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/msh-message-header","extension":[{"url":"MSH.7","valueString":"20240403205305+0000"},{"url":"MSH.15","valueString":"NE"},{"url":"MSH.16","valueString":"NE"},{"url":"MSH.21","valueIdentifier":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"ELR251R1_Rcvr_Prof"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.9.11"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueCode":"ISO"}]}],"value":"PHLabReport-NoAck"}}]}],"eventCoding":{"system":"http://terminology.hl7.org/CodeSystem/v2-0003","code":"R01","display":"ORU^R01^ORU_R01"},"destination":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.114222.4.3.15.1"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueString":"ISO"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"MSH.5"}],"name":"AIMS.INTEGRATION.PRD","endpoint":"urn:oid:2.16.840.1.114222.4.3.15.1","receiver":{"reference":"Organization/1721777538401451000.9e62ff00-fd0d-45c6-8f0a-0e66837274e6"}}],"sender":{"reference":"Organization/1721777538383046000.6716227e-0a80-4288-9174-d85df9dc0c73"},"source":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"MMTC.PROD"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.8589.4.2.106.1"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueString":"ISO"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"MSH.3"}],"software":"MMTC.PROD","version":"2022","endpoint":"urn:oid:2.16.840.1.113883.3.8589.4.2.106.1"}}},{"fullUrl":"Organization/1721777538383046000.6716227e-0a80-4288-9174-d85df9dc0c73","resource":{"resourceType":"Organization","id":"1721777538383046000.6716227e-0a80-4288-9174-d85df9dc0c73","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"CAREEVOLUTION"},{"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":"CLIA"}]},"value":"00Z0000024"}]}},{"fullUrl":"Organization/1721777538401451000.9e62ff00-fd0d-45c6-8f0a-0e66837274e6","resource":{"resourceType":"Organization","id":"1721777538401451000.9e62ff00-fd0d-45c6-8f0a-0e66837274e6","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"MSH.6"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"AIMS.PLATFORM"},{"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.114222.4.1.217446"}]}},{"fullUrl":"Provenance/1721777538618773000.9aa057e0-c5d8-42e1-a036-5ad2fc58b81d","resource":{"resourceType":"Provenance","id":"1721777538618773000.9aa057e0-c5d8-42e1-a036-5ad2fc58b81d","target":[{"reference":"MessageHeader/df373c48-bfb2-36b0-b63c-5be13bc5d051"},{"reference":"DiagnosticReport/1721777538769739000.c07a251c-772a-490e-86eb-eaa4da1c7765"}],"recorded":"2024-04-03T20:53:05Z","activity":{"coding":[{"display":"ORU^R01^ORU_R01"}]},"agent":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/provenance-participant-type","code":"author"}]},"who":{"reference":"Organization/1721777538618089000.fc42e742-9b78-4f07-b2e2-e4fff4d7d072"}}],"entity":[{"role":"source","what":{"reference":"Device/1721777538621171000.7fd0d9cf-dcd1-48be-821c-2541e02846c3"}}]}},{"fullUrl":"Organization/1721777538618089000.fc42e742-9b78-4f07-b2e2-e4fff4d7d072","resource":{"resourceType":"Organization","id":"1721777538618089000.fc42e742-9b78-4f07-b2e2-e4fff4d7d072","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"HD.1"}],"value":"CAREEVOLUTION"},{"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":"CLIA"}]},"value":"00Z0000024"}]}},{"fullUrl":"Organization/1721777538621020000.28daf3a1-e092-49d7-9eed-c0c65273bbe7","resource":{"resourceType":"Organization","id":"1721777538621020000.28daf3a1-e092-49d7-9eed-c0c65273bbe7","name":"CAREEVOLUTION"}},{"fullUrl":"Device/1721777538621171000.7fd0d9cf-dcd1-48be-821c-2541e02846c3","resource":{"resourceType":"Device","id":"1721777538621171000.7fd0d9cf-dcd1-48be-821c-2541e02846c3","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/software-vendor-org","valueReference":{"reference":"Organization/1721777538621020000.28daf3a1-e092-49d7-9eed-c0c65273bbe7"}}],"manufacturer":"CAREEVOLUTION","deviceName":[{"name":"MMTC.PROD","type":"manufacturer-name"}],"modelNumber":"16498","version":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/software-install-date","valueDateTime":"2024-04-02","_valueDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"20240402"}]}}],"value":"2022"}]}},{"fullUrl":"Provenance/1721777538626120000.12c5c4a0-02fd-461a-947a-07205545d44e","resource":{"resourceType":"Provenance","id":"1721777538626120000.12c5c4a0-02fd-461a-947a-07205545d44e","recorded":"2024-07-23T16:32:18Z","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/1721777538625896000.32610f33-26e9-464b-a07a-8bae14184539"}}]}},{"fullUrl":"Organization/1721777538625896000.32610f33-26e9-464b-a07a-8bae14184539","resource":{"resourceType":"Organization","id":"1721777538625896000.32610f33-26e9-464b-a07a-8bae14184539","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/1721777538639185000.09cc50e9-5147-4f54-bcab-99804188e19e","resource":{"resourceType":"Patient","id":"1721777538639185000.09cc50e9-5147-4f54-bcab-99804188e19e","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier","extension":[{"url":"CX.5","valueString":"PI"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"PID.3"}],"type":{"coding":[{"code":"PI"}]},"system":"MMTC.PROD","_system":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"MMTC.PROD"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.8589.4.2.106.1"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueString":"ISO"}]},"value":"8be6fa3710374dcebe0174e0fd5a1a7c"}],"name":[{},{}],"telecom":[{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","valueString":"111"},{"url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","valueString":"1111111"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point","extension":[{"url":"XTN.7","valueString":"1111111"}]}],"_system":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]},"use":"home"}],"address":[{"postalCode":"02139","country":"USA"}]}},{"fullUrl":"Provenance/1721777538640288000.b62e5812-4284-4220-bf36-f14a3529244f","resource":{"resourceType":"Provenance","id":"1721777538640288000.b62e5812-4284-4220-bf36-f14a3529244f","target":[{"reference":"Patient/1721777538639185000.09cc50e9-5147-4f54-bcab-99804188e19e"}],"recorded":"2024-07-23T16:32:18Z","activity":{"coding":[{"system":"https://terminology.hl7.org/CodeSystem/v3-DataOperation","code":"UPDATE"}]}}},{"fullUrl":"Observation/1721777538642873000.d0f720df-d3cf-4d6e-94ff-225dee52f81d","resource":{"resourceType":"Observation","id":"1721777538642873000.d0f720df-d3cf-4d6e-94ff-225dee52f81d","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/analysis-date-time","valueDateTime":"2024-04-03T12:00:00-04:00","_valueDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"20240403120000-0400"}]}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"CWE"},{"url":"OBX.11","valueString":"F"},{"url":"OBX.17","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":"99ELR"}],"version":"Vunknown","code":"BinaxNOW COVID-19 Antigen Self Test_Abbott Diagnostics Scarborough, Inc._EUA"}]}}]}],"status":"final","code":{"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":"2.71","code":"94558-4","display":"SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"}]},"subject":{"reference":"Patient/1721777538639185000.09cc50e9-5147-4f54-bcab-99804188e19e"},"performer":[{"reference":"Organization/1721777538643252000.4acb5bbf-266e-4ec7-bb08-3ea096df316a"},{"reference":"Organization/1721777538643966000.3a142429-e9b4-4094-9dd9-80b0f300baba"}],"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":"SCT"}],"system":"http://snomed.info/sct","version":"20200901","code":"260373001","display":"Detected"}]},"note":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/nte-annotation","extension":[{"url":"NTE.2","valueId":"L"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/note-comment","valueId":"Note"}],"text":"Note"}],"method":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"99ELR"}],"version":"Vunknown","code":"BinaxNOW COVID-19 Antigen Self Test_Abbott Diagnostics Scarborough, Inc._EUA"}]}}},{"fullUrl":"Organization/1721777538643252000.4acb5bbf-266e-4ec7-bb08-3ea096df316a","resource":{"resourceType":"Organization","id":"1721777538643252000.4acb5bbf-266e-4ec7-bb08-3ea096df316a","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-organization","valueCodeableConcept":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"}],"code":"00Z0000042"}]}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"OBX.15"}],"identifier":[{"value":"00Z0000042"}]}},{"fullUrl":"Organization/1721777538643966000.3a142429-e9b4-4094-9dd9-80b0f300baba","resource":{"resourceType":"Organization","id":"1721777538643966000.3a142429-e9b4-4094-9dd9-80b0f300baba","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization","extension":[{"url":"XON.10","valueString":"00Z0000042"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"OBX.25"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.8589.4.1.152"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueCode":"ISO"}]}],"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/code-index-name","valueString":"identifier"}],"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"XX"}]},"value":"00Z0000042"}],"name":"SA.OTCSelfReport"}},{"fullUrl":"Observation/1721777538647578000.c2004093-e546-4860-8033-58cba343f133","resource":{"resourceType":"Observation","id":"1721777538647578000.c2004093-e546-4860-8033-58cba343f133","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation","extension":[{"url":"OBX.2","valueId":"NM"},{"url":"OBX.6","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":"UCUM"}],"system":"http://unitsofmeasure.org","version":"2.1","code":"a","display":"year"}]}},{"url":"OBX.29","valueId":"QST"},{"url":"OBX.11","valueString":"F"}]}],"status":"final","code":{"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":"2.71","code":"35659-2","display":"Age at specimen collection"}]},"subject":{"reference":"Patient/1721777538639185000.09cc50e9-5147-4f54-bcab-99804188e19e"},"performer":[{"reference":"Organization/1721777538648041000.5fd91347-5fb6-473e-a029-e8ae78fd1b92"},{"reference":"Organization/1721777538648734000.fd1f1251-3bbe-4721-847e-8660632f2449"}],"valueQuantity":{"value":24,"unit":"year","system":"UCUM","code":"a"}}},{"fullUrl":"Organization/1721777538648041000.5fd91347-5fb6-473e-a029-e8ae78fd1b92","resource":{"resourceType":"Organization","id":"1721777538648041000.5fd91347-5fb6-473e-a029-e8ae78fd1b92","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-organization","valueCodeableConcept":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"}],"code":"00Z0000042"}]}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"OBX.15"}],"identifier":[{"value":"00Z0000042"}]}},{"fullUrl":"Organization/1721777538648734000.fd1f1251-3bbe-4721-847e-8660632f2449","resource":{"resourceType":"Organization","id":"1721777538648734000.fd1f1251-3bbe-4721-847e-8660632f2449","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization","extension":[{"url":"XON.10","valueString":"00Z0000042"}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"OBX.25"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.8589.4.1.152"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueCode":"ISO"}]}],"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/code-index-name","valueString":"identifier"}],"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"XX"}]},"value":"00Z0000042"}],"name":"SA.OTCSelfReport"}},{"fullUrl":"Specimen/1721777538758931000.01b3d3a6-3c7b-4857-8bf9-8f134b096b5b","resource":{"resourceType":"Specimen","id":"1721777538758931000.01b3d3a6-3c7b-4857-8bf9-8f134b096b5b","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment","valueString":"OBR"}],"collection":{"collectedDateTime":"2024-04-03T12:00:00-04:00","_collectedDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"20240403120000-0400"}]}}}},{"fullUrl":"Specimen/1721777538760528000.bc0d5494-ded7-4f59-ae98-0fa99c6f1f08","resource":{"resourceType":"Specimen","id":"1721777538760528000.bc0d5494-ded7-4f59-ae98-0fa99c6f1f08","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment","valueString":"SPM"}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"MMTC.PROD"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.8589.4.2.106.1"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueString":"ISO"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Component","valueString":"SPM.2.2"}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"FGN"}]},"value":"dba7572cc6334f1ea0744c5f235c823e"}],"type":{"coding":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding","valueString":"coding"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system","valueString":"SCT"}],"system":"http://snomed.info/sct","version":"20200901","code":"697989009","display":"Anterior nares swab"}]},"receivedTime":"2024-04-03T12:00:00-04:00","_receivedTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"20240403120000-0400"}]},"collection":{"collectedDateTime":"2024-04-03T12:00:00-04:00","_collectedDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"20240403120000-0400"}]}}}},{"fullUrl":"ServiceRequest/1721777538766651000.67fb7925-4477-463f-ace7-6a4ccde323e3","resource":{"resourceType":"ServiceRequest","id":"1721777538766651000.67fb7925-4477-463f-ace7-6a4ccde323e3","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/business-event","valueCode":"RE"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/orc-common-order","extension":[{"url":"orc-21-ordering-facility-name","valueReference":{"reference":"Organization/1721777538764342000.7d31256c-b68f-424e-ae46-3f11938e254f"}},{"url":"orc-22-ordering-facility-address","valueAddress":{"postalCode":"02139"}},{"url":"orc-12-ordering-provider","valueReference":{"reference":"Practitioner/1721777538764987000.cddc93f3-5715-4a2c-b6b1-9757f69bfea8"}}]},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/obr-observation-request","extension":[{"url":"OBR.3","valueIdentifier":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"MMTC.PROD"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.8589.4.2.106.1"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueCode":"ISO"}]}]}},{"url":"OBR.22","valueString":"20240403120000-0400"},{"url":"OBR.25","valueId":"F"},{"url":"OBR.16","valueReference":{"reference":"Practitioner/1721777538765681000.ff566bb1-26c4-4a05-b451-30e36091cbb7"}},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/callback-number","valueContactPoint":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"OBR.17"}],"_system":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]}}}]}],"identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.3"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"MMTC.PROD"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.8589.4.2.106.1"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueCode":"ISO"}]}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"FILL"}]}}],"status":"unknown","code":{"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":"2.71","code":"94558-4","display":"SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"}]},"subject":{"reference":"Patient/1721777538639185000.09cc50e9-5147-4f54-bcab-99804188e19e"},"requester":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/callback-number","valueContactPoint":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.14"}],"_system":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]}}}],"reference":"PractitionerRole/1721777538761373000.d8a566a3-3add-443e-b4a9-ff86df482bc1"}}},{"fullUrl":"Practitioner/1721777538761935000.825f57d6-5ffe-47e8-8a88-d35f9479e6ab","resource":{"resourceType":"Practitioner","id":"1721777538761935000.825f57d6-5ffe-47e8-8a88-d35f9479e6ab","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field","valueString":"ORC.12"}]}},{"fullUrl":"Organization/1721777538762774000.14789ed4-aeaf-489d-b55d-bc9ba4020091","resource":{"resourceType":"Organization","id":"1721777538762774000.14789ed4-aeaf-489d-b55d-bc9ba4020091","name":"SA.OTCSelfReport","telecom":[{"_system":{"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","valueCode":"unknown"}]}}],"address":[{"postalCode":"02139"}]}},{"fullUrl":"PractitionerRole/1721777538761373000.d8a566a3-3add-443e-b4a9-ff86df482bc1","resource":{"resourceType":"PractitionerRole","id":"1721777538761373000.d8a566a3-3add-443e-b4a9-ff86df482bc1","practitioner":{"reference":"Practitioner/1721777538761935000.825f57d6-5ffe-47e8-8a88-d35f9479e6ab"},"organization":{"reference":"Organization/1721777538762774000.14789ed4-aeaf-489d-b55d-bc9ba4020091"}}},{"fullUrl":"Organization/1721777538764342000.7d31256c-b68f-424e-ae46-3f11938e254f","resource":{"resourceType":"Organization","id":"1721777538764342000.7d31256c-b68f-424e-ae46-3f11938e254f","name":"SA.OTCSelfReport"}},{"fullUrl":"Practitioner/1721777538764987000.cddc93f3-5715-4a2c-b6b1-9757f69bfea8","resource":{"resourceType":"Practitioner","id":"1721777538764987000.cddc93f3-5715-4a2c-b6b1-9757f69bfea8"}},{"fullUrl":"Practitioner/1721777538765681000.ff566bb1-26c4-4a05-b451-30e36091cbb7","resource":{"resourceType":"Practitioner","id":"1721777538765681000.ff566bb1-26c4-4a05-b451-30e36091cbb7"}},{"fullUrl":"DiagnosticReport/1721777538769739000.c07a251c-772a-490e-86eb-eaa4da1c7765","resource":{"resourceType":"DiagnosticReport","id":"1721777538769739000.c07a251c-772a-490e-86eb-eaa4da1c7765","identifier":[{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority","extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id","valueString":"MMTC.PROD"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id","valueString":"2.16.840.1.113883.3.8589.4.2.106.1"},{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type","valueCode":"ISO"}]}],"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"FILL"}]}}],"basedOn":[{"reference":"ServiceRequest/1721777538766651000.67fb7925-4477-463f-ace7-6a4ccde323e3"}],"status":"final","code":{"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":"2.71","code":"94558-4","display":"SARS-CoV-2 (COVID-19) Ag [Presence] in Respiratory specimen by Rapid immunoassay"}]},"subject":{"reference":"Patient/1721777538639185000.09cc50e9-5147-4f54-bcab-99804188e19e"},"effectiveDateTime":"2024-04-03T12:00:00-04:00","_effectiveDateTime":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"20240403120000-0400"}]},"issued":"2024-04-03T12:00:00-04:00","_issued":{"extension":[{"url":"https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time","valueString":"20240403120000-0400"}]},"specimen":[{"reference":"Specimen/1721777538760528000.bc0d5494-ded7-4f59-ae98-0fa99c6f1f08"},{"reference":"Specimen/1721777538758931000.01b3d3a6-3c7b-4857-8bf9-8f134b096b5b"}],"result":[{"reference":"Observation/1721777538642873000.d0f720df-d3cf-4d6e-94ff-225dee52f81d"},{"reference":"Observation/1721777538647578000.c2004093-e546-4860-8033-58cba343f133"}]}}]}"""
@Suppress("ktlint:standard:max-line-length")
const val invalidRadxMarsHL7Message =
diff --git a/prime-router/src/test/resources/fhirengine/smoketest/Expected_HL7_to_FHIR_FULLELR.fhir b/prime-router/src/test/resources/fhirengine/smoketest/Expected_HL7_to_FHIR_FULLELR.fhir
index 9ccf36c7252..d9e98bfe84f 100644
--- a/prime-router/src/test/resources/fhirengine/smoketest/Expected_HL7_to_FHIR_FULLELR.fhir
+++ b/prime-router/src/test/resources/fhirengine/smoketest/Expected_HL7_to_FHIR_FULLELR.fhir
@@ -1091,6 +1091,43 @@
}
}
],
+ "relationship" : [
+ {
+ "coding" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "HL70063"
+ }
+ ],
+ "version" : "2.5.1",
+ "code" : "OTH",
+ "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" : "L"
+ }
+ ],
+ "system" : "https://terminology.hl7.org/CodeSystem-v2-0396.html#v2-0396-99zzzorL",
+ "version" : "5.67",
+ "code" : "OT",
+ "display" : "OTHER RELATIONSHIP"
+ }
+ ]
+ }
+ ],
"name" : {
"extension" : [
{
@@ -8011,21 +8048,21 @@
"reference" : "PractitionerRole/1716965606277846000.0f708c16-acaa-4120-914e-deb0ab03c36d"
}
],
- "valueCodeableConcept": {
- "coding": [
+ "valueCodeableConcept" : {
+ "coding" : [
{
- "extension": [
+ "extension" : [
{
- "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
- "valueString": "coding"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
},
{
- "url": "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
- "valueString": "L"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "L"
}
],
- "system": "https://terminology.hl7.org/CodeSystem-v2-0396.html#v2-0396-99zzzorL",
- "code": "COM"
+ "system" : "https://terminology.hl7.org/CodeSystem-v2-0396.html#v2-0396-99zzzorL",
+ "code" : "COM"
}
]
}
@@ -13824,6 +13861,43 @@
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
"valueString" : "OBR"
}
+ ],
+ "collection" : {
+ "collector" : {
+ "reference" : "Practitioner/1727474667987404000.47d8c87d-22f6-4c2e-b128-c7581a9dcb37"
+ },
+ "collectedPeriod" : {
+ "start" : "2028-08-02T02:52:01-06:00",
+ "_start" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20280802025201-0600"
+ }
+ ]
+ },
+ "end" : "2028-08-02T02:52:01-06:00",
+ "_end" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20280802025201-0600"
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "fullUrl" : "Practitioner/1727474667987404000.47d8c87d-22f6-4c2e-b128-c7581a9dcb37",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1727474667987404000.47d8c87d-22f6-4c2e-b128-c7581a9dcb37",
+ "identifier" : [
+ {
+ "value" : "ER"
+ }
]
}
},
@@ -13837,6 +13911,43 @@
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
"valueString" : "OBR"
}
+ ],
+ "collection" : {
+ "collector" : {
+ "reference" : "Practitioner/1727474667989088000.ec94c45e-f6be-4bdb-83b4-4655198ff7a0"
+ },
+ "collectedPeriod" : {
+ "start" : "2028-08-02T02:52:01-06:00",
+ "_start" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20280802025201-0600"
+ }
+ ]
+ },
+ "end" : "2028-08-02T02:52:01-06:00",
+ "_end" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20280802025201-0600"
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "fullUrl" : "Practitioner/1727474667989088000.ec94c45e-f6be-4bdb-83b4-4655198ff7a0",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1727474667989088000.ec94c45e-f6be-4bdb-83b4-4655198ff7a0",
+ "identifier" : [
+ {
+ "value" : "ER"
+ }
]
}
},
@@ -13850,6 +13961,43 @@
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
"valueString" : "OBR"
}
+ ],
+ "collection" : {
+ "collector" : {
+ "reference" : "Practitioner/1727474667990026000.862f5c24-268b-4fe0-b856-483da2916bbe"
+ },
+ "collectedPeriod" : {
+ "start" : "2028-08-02T02:52:01-06:00",
+ "_start" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20280802025201-0600"
+ }
+ ]
+ },
+ "end" : "2028-08-02T02:52:01-06:00",
+ "_end" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20280802025201-0600"
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "fullUrl" : "Practitioner/1727474667990026000.862f5c24-268b-4fe0-b856-483da2916bbe",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1727474667990026000.862f5c24-268b-4fe0-b856-483da2916bbe",
+ "identifier" : [
+ {
+ "value" : "ER"
+ }
]
}
},
@@ -13863,6 +14011,43 @@
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
"valueString" : "OBR"
}
+ ],
+ "collection" : {
+ "collector" : {
+ "reference" : "Practitioner/1727474667990903000.8194b15d-a1f0-4516-ad43-4f42d819e4ea"
+ },
+ "collectedPeriod" : {
+ "start" : "2028-08-07T16:36:01-06:00",
+ "_start" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20280807163601-0600"
+ }
+ ]
+ },
+ "end" : "2028-08-07T16:36:01-06:00",
+ "_end" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20280807163601-0600"
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "fullUrl" : "Practitioner/1727474667990903000.8194b15d-a1f0-4516-ad43-4f42d819e4ea",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1727474667990903000.8194b15d-a1f0-4516-ad43-4f42d819e4ea",
+ "identifier" : [
+ {
+ "value" : "ER"
+ }
]
}
},
@@ -13876,6 +14061,43 @@
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
"valueString" : "OBR"
}
+ ],
+ "collection" : {
+ "collector" : {
+ "reference" : "Practitioner/1727474667991784000.0ebbce89-11bf-4a99-ae60-e0079aa53226"
+ },
+ "collectedPeriod" : {
+ "start" : "2028-08-07T16:36:01-06:00",
+ "_start" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20280807163601-0600"
+ }
+ ]
+ },
+ "end" : "2028-08-07T16:36:01-06:00",
+ "_end" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20280807163601-0600"
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "fullUrl" : "Practitioner/1727474667991784000.0ebbce89-11bf-4a99-ae60-e0079aa53226",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1727474667991784000.0ebbce89-11bf-4a99-ae60-e0079aa53226",
+ "identifier" : [
+ {
+ "value" : "ER"
+ }
]
}
},
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 097f4e1f6d6..8c265ff96f4 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
@@ -926,7 +926,18 @@
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
"valueString" : "OBR"
}
- ]
+ ],
+ "collection" : {
+ "collectedDateTime" : "2024-04-03T12:00:00-04:00",
+ "_collectedDateTime" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20240403120000-0400"
+ }
+ ]
+ }
+ }
}
},
{
diff --git a/prime-router/src/testIntegration/kotlin/datatests/mappinginventory/catchall/omlo21/OMLO21Full.kt b/prime-router/src/testIntegration/kotlin/datatests/mappinginventory/catchall/omlo21/OMLO21Full.kt
new file mode 100644
index 00000000000..338e9d73f3a
--- /dev/null
+++ b/prime-router/src/testIntegration/kotlin/datatests/mappinginventory/catchall/omlo21/OMLO21Full.kt
@@ -0,0 +1,17 @@
+package gov.cdc.prime.router.datatests.mappinginventory.omlo21
+
+import gov.cdc.prime.router.datatests.mappinginventory.verifyHL7ToFHIRToHL7Mapping
+import org.junit.jupiter.api.Test
+
+class OMLO21Full {
+
+ @Test
+ fun `test OML_O21 all segments`() {
+ assert(
+ verifyHL7ToFHIRToHL7Mapping(
+ "catchall/omlo21/oml_o21-full",
+ 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/datatests/mappinginventory/catchall/orcobr/ORCOBRToServiceRequestDiagnosticReportTests.kt b/prime-router/src/testIntegration/kotlin/datatests/mappinginventory/catchall/orcobr/ORCOBRToServiceRequestDiagnosticReportTests.kt
index f69513f6a5c..a0a2d7c2747 100644
--- a/prime-router/src/testIntegration/kotlin/datatests/mappinginventory/catchall/orcobr/ORCOBRToServiceRequestDiagnosticReportTests.kt
+++ b/prime-router/src/testIntegration/kotlin/datatests/mappinginventory/catchall/orcobr/ORCOBRToServiceRequestDiagnosticReportTests.kt
@@ -68,11 +68,17 @@ class ORCOBRToServiceRequestDiagnosticReportTests {
}
@Test
- fun `test correctly handles the effective when OBR8 is not populated`() {
+ fun `test correctly handles the effectiveDateTime when OBR8 is not populated`() {
val testFileName = "catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr8-not-populated"
assert(verifyHL7ToFHIRToHL7Mapping(testFileName).passed)
}
+ @Test
+ fun `test correctly handles the effectivePeriod when OBR8 is populated`() {
+ val testFileName = "catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr8-populated"
+ assert(verifyHL7ToFHIRToHL7Mapping(testFileName).passed)
+ }
+
@Test
fun `test handles mapped HL7 values to OBRExtension from OBR25`() {
val testFileName = "catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr25"
@@ -90,4 +96,15 @@ class ORCOBRToServiceRequestDiagnosticReportTests {
val testFileName = "catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr25-obrext-not-populated"
assert(verifyHL7ToFHIRToHL7Mapping(testFileName, true, false, true).passed)
}
+
+ @Test
+ fun `test populates OML specific fields for OML messages`() {
+ val testFileName = "catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-OML-message"
+ assert(
+ verifyHL7ToFHIRToHL7Mapping(
+ testFileName,
+ 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/resources/datatests/FHIR_to_HL7/sample_OML_20230831-0001.fhir b/prime-router/src/testIntegration/resources/datatests/FHIR_to_HL7/sample_OML_20230831-0001.fhir
index 17e218b8700..e09c6717d59 100644
--- a/prime-router/src/testIntegration/resources/datatests/FHIR_to_HL7/sample_OML_20230831-0001.fhir
+++ b/prime-router/src/testIntegration/resources/datatests/FHIR_to_HL7/sample_OML_20230831-0001.fhir
@@ -1,8 +1,8 @@
{
"resourceType" : "Bundle",
- "id" : "1695669259031463000.f0525223-538b-4b70-9fce-3120011fb551",
+ "id" : "1727133200498293000.0551381e-87bb-4eed-9c3c-2a34fb70ef51",
"meta" : {
- "lastUpdated" : "2023-09-25T12:14:19.058-07:00"
+ "lastUpdated" : "2024-09-23T16:13:20.502-07:00"
},
"identifier" : {
"system" : "https://reportstream.cdc.gov/prime-router",
@@ -12,17 +12,11 @@
"timestamp" : "2023-05-06T03:29:16.000-07:00",
"entry" : [
{
- "fullUrl" : "MessageHeader/87c2d0db-6f31-3666-b9e2-7152e039c11f",
+ "fullUrl" : "MessageHeader/1727133200547009000.51500f0c-c723-46b9-b64a-d2ec3a519da7",
"resource" : {
"resourceType" : "MessageHeader",
- "id" : "87c2d0db-6f31-3666-b9e2-7152e039c11f",
+ "id" : "1727133200547009000.51500f0c-c723-46b9-b64a-d2ec3a519da7",
"meta" : {
- "extension" : [
- {
- "url" : "http://ibm.com/fhir/cdm/StructureDefinition/source-data-model-version",
- "valueString" : "2.5.1"
- }
- ],
"tag" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/v2-0103",
@@ -35,13 +29,17 @@
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/msh-message-header",
"extension" : [
{
- "url" : "MSH.16",
- "valueString" : "AL"
+ "url" : "MSH.7",
+ "valueString" : "20230506052916-0500"
},
{
"url" : "MSH.15",
"valueString" : "AL"
},
+ {
+ "url" : "MSH.16",
+ "valueString" : "AL"
+ },
{
"url" : "MSH.21",
"valueIdentifier" : {
@@ -109,23 +107,16 @@
}
],
"name" : "NATUS",
- "endpoint" : "urn:dns:natus.health.state.mn.us",
"receiver" : {
- "reference" : "Organization/urn-oid-2.16.840.1.114222.4.1.10080"
+ "reference" : "Organization/1727133200546249000.da25de11-15e0-47cd-9605-451628d137c7"
}
}
],
"sender" : {
- "reference" : "Organization/1695669260998438000.c605a46a-9711-4fbb-b14e-fc6814ed8311"
+ "reference" : "Organization/1727133200528316000.74e31b18-88b7-4038-b55e-9e83473516ad"
},
"source" : {
"extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/software-vendor-org",
- "valueReference" : {
- "reference" : "Organization/1695669259213507000.4b999e35-7d47-48a1-ac6e-88f144e21093"
- }
- },
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
"valueString" : "Epic"
@@ -143,16 +134,50 @@
"valueString" : "MSH.3"
}
],
- "name" : "Epic",
"endpoint" : "urn:oid:1.2.840.114350.1.13.145.2.7.2.695071"
}
}
},
{
- "fullUrl" : "Organization/urn-oid-2.16.840.1.114222.4.1.10080",
+ "fullUrl" : "Organization/1727133200528316000.74e31b18-88b7-4038-b55e-9e83473516ad",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1727133200528316000.74e31b18-88b7-4038-b55e-9e83473516ad",
+ "identifier" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ }
+ ],
+ "value" : "Centracare"
+ },
+ {
+ "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" : "DNS"
+ }
+ ]
+ },
+ "value" : "centracare.com"
+ }
+ ]
+ }
+ },
+ {
+ "fullUrl" : "Organization/1727133200546249000.da25de11-15e0-47cd-9605-451628d137c7",
"resource" : {
"resourceType" : "Organization",
- "id" : "urn-oid-2.16.840.1.114222.4.1.10080",
+ "id" : "1727133200546249000.da25de11-15e0-47cd-9605-451628d137c7",
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
@@ -187,50 +212,44 @@
"system" : "urn:ietf:rfc:3986",
"value" : "2.16.840.1.114222.4.1.10080"
}
- ],
- "name" : "MN Public Health Lab"
+ ]
}
},
{
- "fullUrl" : "Organization/1695669259213507000.4b999e35-7d47-48a1-ac6e-88f144e21093",
+ "fullUrl" : "Provenance/1727133200761072000.6508f066-08f5-49cb-87c4-6305cabd20f6",
"resource" : {
- "resourceType" : "Organization",
- "id" : "1695669259213507000.4b999e35-7d47-48a1-ac6e-88f144e21093",
- "meta" : {
- "extension" : [
- {
- "url" : "http://ibm.com/fhir/cdm/StructureDefinition/source-data-model-version",
- "valueString" : "2.5.1"
- }
- ],
- "tag" : [
+ "resourceType" : "Provenance",
+ "id" : "1727133200761072000.6508f066-08f5-49cb-87c4-6305cabd20f6",
+ "recorded" : "2023-05-06T05:29:16-05:00",
+ "activity" : {
+ "coding" : [
{
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0103",
- "code" : "P"
+ "display" : "OML^O21^OML_O21"
}
]
- }
+ },
+ "agent" : [
+ {
+ "type" : {
+ "coding" : [
+ {
+ "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
+ "code" : "author"
+ }
+ ]
+ },
+ "who" : {
+ "reference" : "Organization/1727133200760575000.e1170a0a-e2a5-48cd-99b7-86c9298368ef"
+ }
+ }
+ ]
}
},
{
- "fullUrl" : "Organization/1695669260998438000.c605a46a-9711-4fbb-b14e-fc6814ed8311",
+ "fullUrl" : "Organization/1727133200760575000.e1170a0a-e2a5-48cd-99b7-86c9298368ef",
"resource" : {
"resourceType" : "Organization",
- "id" : "1695669260998438000.c605a46a-9711-4fbb-b14e-fc6814ed8311",
- "meta" : {
- "extension" : [
- {
- "url" : "http://ibm.com/fhir/cdm/StructureDefinition/source-data-model-version",
- "valueString" : "2.5.1"
- }
- ],
- "tag" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0103",
- "code" : "P"
- }
- ]
- },
+ "id" : "1727133200760575000.e1170a0a-e2a5-48cd-99b7-86c9298368ef",
"identifier" : [
{
"extension" : [
@@ -262,467 +281,542 @@
}
},
{
- "fullUrl" : "ServiceRequest/1695669261555831000.5ad804c8-3508-4a62-8ced-23eb4351c2f6",
+ "fullUrl" : "Provenance/1727133200768658000.8264ccb6-32c2-45be-a64d-e983aabee81a",
"resource" : {
- "resourceType" : "ServiceRequest",
- "id" : "1695669261555831000.5ad804c8-3508-4a62-8ced-23eb4351c2f6",
- "meta" : {
- "extension" : [
- {
- "url" : "http://ibm.com/fhir/cdm/StructureDefinition/source-data-model-version",
- "valueString" : "2.5.1"
- }
- ],
- "tag" : [
+ "resourceType" : "Provenance",
+ "id" : "1727133200768658000.8264ccb6-32c2-45be-a64d-e983aabee81a",
+ "recorded" : "2024-09-23T16:13:20Z",
+ "policy" : [
+ "http://hl7.org/fhir/uv/v2mappings/message-oru-r01-to-bundle"
+ ],
+ "activity" : {
+ "coding" : [
{
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0103",
- "code" : "P"
+ "code" : "v2-FHIR transformation"
}
]
},
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/entered-by",
- "valueReference" : {
- "reference" : "Practitioner/1695669261548614000.8d8ad999-27fa-4f35-9231-6e571f7bc87a"
- }
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/collector-identifier",
- "valueReference" : {
- "reference" : "Practitioner/1695669261552537000.d98fe0f9-f125-4509-a0ae-49239ddb7b7f"
- }
- },
+ "agent" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/order-control",
- "valueCodeableConcept" : {
+ "type" : {
"coding" : [
{
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0119",
- "code" : "NW"
+ "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
+ "code" : "assembler"
}
]
- }
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/enterers-location",
- "valueReference" : {
- "reference" : "Location/1695669261570648000.f8e4036c-2730-4423-918c-c694f1b902e3"
+ },
+ "who" : {
+ "reference" : "Organization/1727133200768394000.754699fa-4751-435b-b31f-46dfbfe99753"
}
}
- ],
+ ]
+ }
+ },
+ {
+ "fullUrl" : "Organization/1727133200768394000.754699fa-4751-435b-b31f-46dfbfe99753",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1727133200768394000.754699fa-4751-435b-b31f-46dfbfe99753",
"identifier" : [
{
- "type" : {
- "coding" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
- "code" : "VN",
- "display" : "Visit number"
- }
- ]
- },
- "value" : "20230506052916-0500"
+ "value" : "CDC PRIME - Atlanta"
},
{
"type" : {
"coding" : [
{
- "code" : "CMS"
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0301"
}
]
},
- "value" : "1043269798"
+ "system" : "urn:ietf:rfc:3986",
+ "value" : "2.16.840.1.114222.4.1.237821"
+ }
+ ]
+ }
+ },
+ {
+ "fullUrl" : "Patient/1727133200785961000.81f0a0fd-2500-4d13-aace-6c921cff814e",
+ "resource" : {
+ "resourceType" : "Patient",
+ "id" : "1727133200785961000.81f0a0fd-2500-4d13-aace-6c921cff814e",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/pid-patient",
+ "extension" : [
+ {
+ "url" : "PID.8",
+ "valueCodeableConcept" : {
+ "coding" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }
+ ],
+ "code" : "M"
+ }
+ ]
+ }
+ },
+ {
+ "url" : "PID.24",
+ "valueString" : "N"
+ },
+ {
+ "url" : "PID.30",
+ "valueString" : "N"
+ }
+ ]
},
{
- "type" : {
- "coding" : [
+ "url" : "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueHumanName" : {
+ "extension" : [
{
- "code" : "MN Public Health Lab"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name",
+ "extension" : [
+ {
+ "url" : "XPN.2",
+ "valueString" : "SADIE"
+ },
+ {
+ "url" : "XPN.3",
+ "valueString" : "S"
+ }
+ ]
}
+ ],
+ "family" : "SMITH",
+ "given" : [
+ "SADIE",
+ "S"
]
- },
- "value" : "739"
- },
+ }
+ }
+ ],
+ "identifier" : [
{
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
- "valueOid" : "urn:oid:1.2.840.114350.1.13.145.2.7.2.695071"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier",
+ "extension" : [
+ {
+ "url" : "CX.5",
+ "valueString" : "MR"
+ }
+ ]
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PID.3"
}
],
"type" : {
"coding" : [
{
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
- "code" : "PLAC",
- "display" : "Placer Identifier"
+ "code" : "MR"
}
]
},
- "system" : "urn:id:EPIC",
- "value" : "421832901"
- },
+ "value" : "11102779"
+ }
+ ],
+ "name" : [
{
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7-use",
- "valueString" : "placer-order-number"
- },
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name",
+ "extension" : [
+ {
+ "url" : "XPN.2",
+ "valueString" : "BB SARAH"
+ },
+ {
+ "url" : "XPN.7",
+ "valueString" : "L"
+ }
+ ]
+ }
+ ],
+ "use" : "official",
+ "family" : "SMITH",
+ "given" : [
+ "BB SARAH"
+ ]
+ }
+ ],
+ "telecom" : [
+ {
+ "extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point",
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
- "valueString" : "EPIC"
+ "url" : "XTN.2",
+ "valueString" : "PRN"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
- "valueString" : "1.2.840.114350.1.13.145.2.7.2.695071"
+ "url" : "XTN.3",
+ "valueString" : "PH"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
- "valueCode" : "ISO"
+ "url" : "XTN.9",
+ "valueString" : "(763)555-5555"
+ },
+ {
+ "url" : "XTN.12",
+ "valueString" : "(763)555-5555"
}
]
}
],
- "type" : {
- "coding" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
- "code" : "PLAC"
- }
- ]
- },
- "value" : "421832901"
+ "system" : "phone",
+ "value" : "(763)555-5555",
+ "use" : "home"
}
],
- "status" : "unknown",
- "intent" : "order",
- "code" : {
- "coding" : [
- {
- "system" : "http://loinc.org",
- "code" : "54089-8",
- "display" : "Newborn screening panel American Health Information Community (AHIC)"
- }
- ]
- },
- "subject" : {
- "reference" : "Patient/1695669261532305000.bb1b87fc-3c3d-4e3e-ba3e-ba612f880655"
- },
- "authoredOn" : "2023-05-06T05:29:13-05:00",
- "_authoredOn" : {
- "extension" : [
+ "gender" : "male",
+ "birthDate" : "2023-05-04",
+ "_birthDate" : {
+ "extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230506052913-0500"
- }
- ]
- },
- "requester" : {
- "reference" : "PractitionerRole/1695669261568047000.72f08cf4-2bc0-4be2-bc26-ad36f1f0da5b"
- }
- }
- },
- {
- "fullUrl" : "Practitioner/1695669261548614000.8d8ad999-27fa-4f35-9231-6e571f7bc87a",
- "resource" : {
- "resourceType" : "Practitioner",
- "id" : "1695669261548614000.8d8ad999-27fa-4f35-9231-6e571f7bc87a",
- "meta" : {
- "extension" : [
- {
- "url" : "http://ibm.com/fhir/cdm/StructureDefinition/source-data-model-version",
- "valueString" : "2.5.1"
- }
- ],
- "tag" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0103",
- "code" : "P"
- }
- ]
- }
- }
- },
- {
- "fullUrl" : "Practitioner/1695669261552537000.d98fe0f9-f125-4509-a0ae-49239ddb7b7f",
- "resource" : {
- "resourceType" : "Practitioner",
- "id" : "1695669261552537000.d98fe0f9-f125-4509-a0ae-49239ddb7b7f",
- "meta" : {
- "extension" : [
- {
- "url" : "http://ibm.com/fhir/cdm/StructureDefinition/source-data-model-version",
- "valueString" : "2.5.1"
- }
- ],
- "tag" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0103",
- "code" : "P"
- }
- ]
- }
- }
- },
- {
- "fullUrl" : "Practitioner/1695669261560416000.a8835be5-eee4-4709-ba55-d4d997aaf896",
- "resource" : {
- "resourceType" : "Practitioner",
- "id" : "1695669261560416000.a8835be5-eee4-4709-ba55-d4d997aaf896",
- "meta" : {
- "extension" : [
- {
- "url" : "http://ibm.com/fhir/cdm/StructureDefinition/source-data-model-version",
- "valueString" : "2.5.1"
- }
- ],
- "tag" : [
+ "valueString" : "20230504131023-0500"
+ },
{
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0103",
- "code" : "P"
+ "url" : "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
+ "valueDateTime" : "2023-05-04T13:10:23-05:00"
}
]
},
- "extension" : [
+ "deceasedBoolean" : false,
+ "address" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-type",
- "valueCodeableConcept" : {
- "coding" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
- "code" : "NPI"
- }
- ]
- }
+ "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" : "555 STATE HIGHWAY 13"
+ }
+ ]
+ },
+ {
+ "url" : "XAD.7",
+ "valueCode" : "H"
+ }
+ ]
+ }
+ ],
+ "use" : "home",
+ "line" : [
+ "555 STATE HIGHWAY 13"
+ ],
+ "city" : "DEER CREEK",
+ "district" : "OTTER TAIL",
+ "state" : "IG",
+ "postalCode" : "56527-9657",
+ "country" : "USA"
}
],
- "identifier" : [
+ "multipleBirthBoolean" : false,
+ "contact" : [
{
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
- "valueString" : "NPI"
+ "url" : "https://hl7.org/fhir/StructureDefinition/relationship",
+ "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" : "HL70131"
+ }
+ ],
+ "code" : "N",
+ "display" : "Next-of-Kin"
+ }
+ ]
+ }
}
],
- "type" : {
- "coding" : [
+ "relationship" : [
+ {
+ "coding" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "HL70131"
+ }
+ ],
+ "code" : "N",
+ "display" : "Next-of-Kin"
+ }
+ ]
+ }
+ ],
+ "name" : {
+ "extension" : [
{
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
- "code" : "NPI",
- "display" : "National provider identifier"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name",
+ "extension" : [
+ {
+ "url" : "XPN.2",
+ "valueString" : "Leia"
+ }
+ ]
}
+ ],
+ "family" : "Organa",
+ "given" : [
+ "Leia"
]
},
- "system" : "http://hl7.org/fhir/sid/us-npi",
- "value" : "1265136360"
- }
- ],
- "name" : [
- {
- "use" : "official",
- "text" : "JANE JONES",
- "family" : "JONES",
- "given" : [
- "JANE"
+ "telecom" : [
+ {
+ "extension" : [
+ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-country",
+ "valueString" : "31"
+ },
+ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-area",
+ "valueString" : "201"
+ },
+ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-local",
+ "valueString" : "234567"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point",
+ "extension" : [
+ {
+ "url" : "XTN.3",
+ "valueString" : "PH"
+ },
+ {
+ "url" : "XTN.7",
+ "valueString" : "234567"
+ },
+ {
+ "url" : "XTN.12",
+ "valueString" : "+31201234567"
+ }
+ ]
+ }
+ ],
+ "system" : "phone",
+ "value" : "+31201234567"
+ }
]
}
]
}
},
{
- "fullUrl" : "Location/1695669261565432000.384cef22-33c2-45d7-bf14-fe1b2e82855d",
+ "fullUrl" : "Provenance/1727133200788450000.13955a83-ca9d-4215-a89b-44e626579bba",
"resource" : {
- "resourceType" : "Location",
- "id" : "1695669261565432000.384cef22-33c2-45d7-bf14-fe1b2e82855d",
- "meta" : {
- "extension" : [
+ "resourceType" : "Provenance",
+ "id" : "1727133200788450000.13955a83-ca9d-4215-a89b-44e626579bba",
+ "target" : [
+ {
+ "reference" : "Patient/1727133200785961000.81f0a0fd-2500-4d13-aace-6c921cff814e"
+ }
+ ],
+ "recorded" : "2024-09-23T16:13:20Z",
+ "activity" : {
+ "coding" : [
{
- "url" : "http://ibm.com/fhir/cdm/StructureDefinition/source-data-model-version",
- "valueString" : "2.5.1"
- }
- ],
- "tag" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0103",
- "code" : "P"
+ "system" : "https://terminology.hl7.org/CodeSystem/v3-DataOperation",
+ "code" : "UPDATE"
}
]
}
}
},
{
- "fullUrl" : "Organization/1695669261567733000.3bdd12c2-f56f-400b-aecc-9883e5685362",
+ "fullUrl" : "RelatedPerson/1727133200790203000.00aa30cf-f5b2-4b0d-a294-4bf348c11b02",
"resource" : {
- "resourceType" : "Organization",
- "id" : "1695669261567733000.3bdd12c2-f56f-400b-aecc-9883e5685362",
- "meta" : {
- "extension" : [
- {
- "url" : "http://ibm.com/fhir/cdm/StructureDefinition/source-data-model-version",
- "valueString" : "2.5.1"
- }
- ],
- "tag" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0103",
- "code" : "P"
- }
- ]
- },
+ "resourceType" : "RelatedPerson",
+ "id" : "1727133200790203000.00aa30cf-f5b2-4b0d-a294-4bf348c11b02",
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type",
- "valueCoding" : {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0204",
- "code" : "L",
- "display" : "Legal name"
- }
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
+ "valueString" : "NK1"
}
],
- "identifier" : [
+ "patient" : {
+ "reference" : "Patient/1727133200785961000.81f0a0fd-2500-4d13-aace-6c921cff814e"
+ },
+ "relationship" : [
{
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "NK1.3"
+ }
+ ],
+ "coding" : [
+ {
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
- "valueString" : "CMS"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "HL70131"
}
- ]
+ ],
+ "code" : "N",
+ "display" : "Next-of-Kin"
+ }
+ ]
+ }
+ ],
+ "name" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "NK1.2"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-facility",
- "valueReference" : {
- "reference" : "Location/1695669261565432000.384cef22-33c2-45d7-bf14-fe1b2e82855d"
- }
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name",
+ "extension" : [
+ {
+ "url" : "XPN.2",
+ "valueString" : "Leia"
+ }
+ ]
}
],
- "type" : {
- "coding" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
- "code" : "NPI"
- }
- ]
- },
- "value" : "1043269798"
+ "family" : "Organa",
+ "given" : [
+ "Leia"
+ ]
}
],
- "name" : "ST. CLOUD HOSPITAL"
- }
- },
- {
- "fullUrl" : "PractitionerRole/1695669261568047000.72f08cf4-2bc0-4be2-bc26-ad36f1f0da5b",
- "resource" : {
- "resourceType" : "PractitionerRole",
- "id" : "1695669261568047000.72f08cf4-2bc0-4be2-bc26-ad36f1f0da5b",
- "meta" : {
- "extension" : [
- {
- "url" : "http://ibm.com/fhir/cdm/StructureDefinition/source-data-model-version",
- "valueString" : "2.5.1"
- }
- ],
- "tag" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0103",
- "code" : "P"
- }
- ]
- },
- "practitioner" : {
- "reference" : "Practitioner/1695669261560416000.a8835be5-eee4-4709-ba55-d4d997aaf896"
- },
- "organization" : {
- "reference" : "Organization/1695669261567733000.3bdd12c2-f56f-400b-aecc-9883e5685362"
- }
- }
- },
- {
- "fullUrl" : "Location/1695669261570648000.f8e4036c-2730-4423-918c-c694f1b902e3",
- "resource" : {
- "resourceType" : "Location",
- "id" : "1695669261570648000.f8e4036c-2730-4423-918c-c694f1b902e3",
- "meta" : {
- "extension" : [
- {
- "url" : "http://ibm.com/fhir/cdm/StructureDefinition/source-data-model-version",
- "valueString" : "2.5.1"
- }
- ],
- "tag" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0103",
- "code" : "P"
- }
- ]
- }
+ "telecom" : [
+ {
+ "extension" : [
+ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-country",
+ "valueString" : "31"
+ },
+ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-area",
+ "valueString" : "201"
+ },
+ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-local",
+ "valueString" : "234567"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point",
+ "extension" : [
+ {
+ "url" : "XTN.3",
+ "valueString" : "PH"
+ },
+ {
+ "url" : "XTN.7",
+ "valueString" : "234567"
+ },
+ {
+ "url" : "XTN.12",
+ "valueString" : "+31201234567"
+ }
+ ]
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "NK1.5"
+ }
+ ],
+ "system" : "phone",
+ "value" : "+31201234567"
+ }
+ ]
}
},
{
- "fullUrl" : "Observation/1695669261775617000.d5df762f-03f4-4e6d-af35-446ec9df2c31",
+ "fullUrl" : "Observation/1727133200793272000.a7cc16be-b4a3-4f2e-82c9-e1d95a7149f5",
"resource" : {
"resourceType" : "Observation",
- "id" : "1695669261775617000.d5df762f-03f4-4e6d-af35-446ec9df2c31",
- "meta" : {
- "extension" : [
- {
- "url" : "http://ibm.com/fhir/cdm/StructureDefinition/source-data-model-version",
- "valueString" : "2.5.1"
- }
- ],
- "tag" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0103",
- "code" : "P"
- }
- ]
- },
+ "id" : "1727133200793272000.a7cc16be-b4a3-4f2e-82c9-e1d95a7149f5",
"extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
- "valueString" : "AOE"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-type",
- "valueString" : "QST"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-status-original-text",
- "valueString" : "O"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/units",
- "valueCodeableConcept" : {
- "coding" : [
- {
- "system" : "http://unitsofmeasure.org",
- "code" : "g",
- "display" : "gram"
- }
- ]
- }
- },
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
"valueString" : "1"
- }
- ],
- "identifier" : [
+ },
{
- "system" : "urn:id:extID",
- "value" : "421832901"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
+ "extension" : [
+ {
+ "url" : "OBX.2",
+ "valueId" : "NM"
+ },
+ {
+ "url" : "OBX.6",
+ "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" : "UCUM"
+ }
+ ],
+ "system" : "http://unitsofmeasure.org",
+ "code" : "g",
+ "display" : "gram"
+ }
+ ]
+ }
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "unknown"
+ }
+ ]
}
],
"status" : "unknown",
"code" : {
"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",
"code" : "8339-4",
"display" : "BIRTH WEIGHT MEASURED"
@@ -730,7 +824,7 @@
]
},
"subject" : {
- "reference" : "Patient/1695669261532305000.bb1b87fc-3c3d-4e3e-ba3e-ba612f880655"
+ "reference" : "Patient/1727133200785961000.81f0a0fd-2500-4d13-aace-6c921cff814e"
},
"effectiveDateTime" : "2023-05-06T05:00:00-05:00",
"_effectiveDateTime" : {
@@ -742,78 +836,73 @@
]
},
"valueQuantity" : {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/alternate-value",
- "valueString" : "1769.859285"
- }
- ],
"value" : 1769.8593,
- "unit" : "g",
- "system" : "http://unitsofmeasure.org",
+ "unit" : "gram",
+ "system" : "UCUM",
"code" : "g"
}
}
},
{
- "fullUrl" : "Observation/1695669261780337000.da275dfc-1950-472b-8a3c-f558c8e69333",
+ "fullUrl" : "Observation/1727133200795547000.8a17d6b0-ba46-4417-a7cd-dd15e7095eb7",
"resource" : {
"resourceType" : "Observation",
- "id" : "1695669261780337000.da275dfc-1950-472b-8a3c-f558c8e69333",
- "meta" : {
- "extension" : [
- {
- "url" : "http://ibm.com/fhir/cdm/StructureDefinition/source-data-model-version",
- "valueString" : "2.5.1"
- }
- ],
- "tag" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0103",
- "code" : "P"
- }
- ]
- },
+ "id" : "1727133200795547000.8a17d6b0-ba46-4417-a7cd-dd15e7095eb7",
"extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
- "valueString" : "AOE"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-type",
- "valueString" : "QST"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-status-original-text",
- "valueString" : "O"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/units",
- "valueCodeableConcept" : {
- "coding" : [
- {
- "system" : "http://unitsofmeasure.org",
- "code" : "wk",
- "display" : "week"
- }
- ]
- }
- },
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
"valueString" : "1"
- }
- ],
- "identifier" : [
+ },
{
- "system" : "urn:id:extID",
- "value" : "421832901"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
+ "extension" : [
+ {
+ "url" : "OBX.2",
+ "valueId" : "NM"
+ },
+ {
+ "url" : "OBX.6",
+ "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" : "UCUM"
+ }
+ ],
+ "system" : "http://unitsofmeasure.org",
+ "code" : "wk",
+ "display" : "week"
+ }
+ ]
+ }
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "unknown"
+ }
+ ]
}
],
"status" : "unknown",
"code" : {
"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",
"code" : "57714-8",
"display" : "OBSTETRIC ESTIMATION OF GESTATIONAL AGE"
@@ -821,7 +910,7 @@
]
},
"subject" : {
- "reference" : "Patient/1695669261532305000.bb1b87fc-3c3d-4e3e-ba3e-ba612f880655"
+ "reference" : "Patient/1727133200785961000.81f0a0fd-2500-4d13-aace-6c921cff814e"
},
"effectiveDateTime" : "2023-05-06T05:00:00-05:00",
"_effectiveDateTime" : {
@@ -833,66 +922,51 @@
]
},
"valueQuantity" : {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/alternate-value",
- "valueString" : "32"
- }
- ],
"value" : 32,
- "unit" : "wk",
- "system" : "http://unitsofmeasure.org",
+ "unit" : "week",
+ "system" : "UCUM",
"code" : "wk"
}
}
},
{
- "fullUrl" : "Observation/1695669261784168000.35a25dff-438e-4262-9397-939eaf5f024e",
+ "fullUrl" : "Observation/1727133200797365000.9b7d00cb-f2b8-4749-92c8-225cab5f259b",
"resource" : {
"resourceType" : "Observation",
- "id" : "1695669261784168000.35a25dff-438e-4262-9397-939eaf5f024e",
- "meta" : {
- "extension" : [
- {
- "url" : "http://ibm.com/fhir/cdm/StructureDefinition/source-data-model-version",
- "valueString" : "2.5.1"
- }
- ],
- "tag" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0103",
- "code" : "P"
- }
- ]
- },
+ "id" : "1727133200797365000.9b7d00cb-f2b8-4749-92c8-225cab5f259b",
"extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
- "valueString" : "AOE"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-type",
- "valueString" : "QST"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-status-original-text",
- "valueString" : "O"
- },
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
"valueString" : "1"
- }
- ],
- "identifier" : [
+ },
{
- "system" : "urn:id:extID",
- "value" : "421832901"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
+ "extension" : [
+ {
+ "url" : "OBX.2",
+ "valueId" : "CWE"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "unknown"
+ }
+ ]
}
],
"status" : "unknown",
"code" : {
"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",
"code" : "57713-0",
"display" : "INFANT FACTORS THAT AFFECT NEWBORN SCREENING INTERPRETATION"
@@ -900,7 +974,7 @@
]
},
"subject" : {
- "reference" : "Patient/1695669261532305000.bb1b87fc-3c3d-4e3e-ba3e-ba612f880655"
+ "reference" : "Patient/1727133200785961000.81f0a0fd-2500-4d13-aace-6c921cff814e"
},
"effectiveDateTime" : "2023-05-06T05:00:00-05:00",
"_effectiveDateTime" : {
@@ -914,6 +988,16 @@
"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" : "LN"
+ }
+ ],
"system" : "http://loinc.org",
"code" : "LA12419-0",
"display" : "INFANT IN NICU AT TIME OF SPECIMEN COLLECTION"
@@ -923,60 +1007,50 @@
}
},
{
- "fullUrl" : "Observation/1695669261787987000.904d10b9-c831-4d93-9751-edbec5b1f04d",
+ "fullUrl" : "Observation/1727133200799038000.534eab68-0842-4dfe-9d9c-c3cdd6828316",
"resource" : {
"resourceType" : "Observation",
- "id" : "1695669261787987000.904d10b9-c831-4d93-9751-edbec5b1f04d",
- "meta" : {
- "extension" : [
- {
- "url" : "http://ibm.com/fhir/cdm/StructureDefinition/source-data-model-version",
- "valueString" : "2.5.1"
- }
- ],
- "tag" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0103",
- "code" : "P"
- }
- ]
- },
+ "id" : "1727133200799038000.534eab68-0842-4dfe-9d9c-c3cdd6828316",
"extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
- "valueString" : "AOE"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-type",
- "valueString" : "QST"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-status-original-text",
- "valueString" : "O"
- },
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
"valueString" : "1"
- }
- ],
- "identifier" : [
+ },
{
- "system" : "urn:id:extID",
- "value" : "421832901"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
+ "extension" : [
+ {
+ "url" : "OBX.2",
+ "valueId" : "CWE"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "unknown"
+ }
+ ]
}
],
"status" : "unknown",
"code" : {
"coding" : [
{
- "system" : "99MDH",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "99MDH"
+ }
+ ],
"code" : "MNDSIB",
"display" : "DOES THE BABY HAVE A DECEASED SIBLING?"
}
]
},
"subject" : {
- "reference" : "Patient/1695669261532305000.bb1b87fc-3c3d-4e3e-ba3e-ba612f880655"
+ "reference" : "Patient/1727133200785961000.81f0a0fd-2500-4d13-aace-6c921cff814e"
},
"effectiveDateTime" : "2023-05-06T05:00:00-05:00",
"_effectiveDateTime" : {
@@ -990,7 +1064,16 @@
"valueCodeableConcept" : {
"coding" : [
{
- "system" : "99MDH",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "99MDH"
+ }
+ ],
"code" : "N",
"display" : "No"
}
@@ -999,60 +1082,50 @@
}
},
{
- "fullUrl" : "Observation/1695669261791552000.5eef397b-048b-46d1-99c6-48bceaa95ecd",
+ "fullUrl" : "Observation/1727133200800657000.5b01a1c4-e769-477d-88dd-8fac17a37ab4",
"resource" : {
"resourceType" : "Observation",
- "id" : "1695669261791552000.5eef397b-048b-46d1-99c6-48bceaa95ecd",
- "meta" : {
- "extension" : [
- {
- "url" : "http://ibm.com/fhir/cdm/StructureDefinition/source-data-model-version",
- "valueString" : "2.5.1"
- }
- ],
- "tag" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0103",
- "code" : "P"
- }
- ]
- },
+ "id" : "1727133200800657000.5b01a1c4-e769-477d-88dd-8fac17a37ab4",
"extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
- "valueString" : "AOE"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-type",
- "valueString" : "QST"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-status-original-text",
- "valueString" : "O"
- },
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
"valueString" : "1"
- }
- ],
- "identifier" : [
+ },
{
- "system" : "urn:id:extID",
- "value" : "421832901"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
+ "extension" : [
+ {
+ "url" : "OBX.2",
+ "valueId" : "CWE"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "unknown"
+ }
+ ]
}
],
"status" : "unknown",
"code" : {
"coding" : [
{
- "system" : "99MDH",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "99MDH"
+ }
+ ],
"code" : "MNDEFECT",
"display" : "DOES THE BABY HAVE BIRTH DEFECTS?"
}
]
},
"subject" : {
- "reference" : "Patient/1695669261532305000.bb1b87fc-3c3d-4e3e-ba3e-ba612f880655"
+ "reference" : "Patient/1727133200785961000.81f0a0fd-2500-4d13-aace-6c921cff814e"
},
"effectiveDateTime" : "2023-05-06T05:00:00-05:00",
"_effectiveDateTime" : {
@@ -1066,7 +1139,16 @@
"valueCodeableConcept" : {
"coding" : [
{
- "system" : "99MDH",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "99MDH"
+ }
+ ],
"code" : "N",
"display" : "No"
}
@@ -1075,60 +1157,50 @@
}
},
{
- "fullUrl" : "Observation/1695669261794640000.aebb6fa3-9574-4f83-af82-06b6d2df27ae",
+ "fullUrl" : "Observation/1727133200802546000.6215f7d5-6c47-4337-8b6a-503ac0bdb67f",
"resource" : {
"resourceType" : "Observation",
- "id" : "1695669261794640000.aebb6fa3-9574-4f83-af82-06b6d2df27ae",
- "meta" : {
- "extension" : [
- {
- "url" : "http://ibm.com/fhir/cdm/StructureDefinition/source-data-model-version",
- "valueString" : "2.5.1"
- }
- ],
- "tag" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0103",
- "code" : "P"
- }
- ]
- },
+ "id" : "1727133200802546000.6215f7d5-6c47-4337-8b6a-503ac0bdb67f",
"extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
- "valueString" : "AOE"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-type",
- "valueString" : "QST"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-status-original-text",
- "valueString" : "O"
- },
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
"valueString" : "1"
- }
- ],
- "identifier" : [
+ },
{
- "system" : "urn:id:extID",
- "value" : "421832901"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
+ "extension" : [
+ {
+ "url" : "OBX.2",
+ "valueId" : "CWE"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "unknown"
+ }
+ ]
}
],
"status" : "unknown",
"code" : {
"coding" : [
{
- "system" : "99MDH",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "99MDH"
+ }
+ ],
"code" : "MNFAM",
"display" : "FAMILY HISTORY OF DISORDER ON MN SCREENING PANEL"
}
]
},
"subject" : {
- "reference" : "Patient/1695669261532305000.bb1b87fc-3c3d-4e3e-ba3e-ba612f880655"
+ "reference" : "Patient/1727133200785961000.81f0a0fd-2500-4d13-aace-6c921cff814e"
},
"effectiveDateTime" : "2023-05-06T05:00:00-05:00",
"_effectiveDateTime" : {
@@ -1142,7 +1214,16 @@
"valueCodeableConcept" : {
"coding" : [
{
- "system" : "99MDH",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "99MDH"
+ }
+ ],
"code" : "N",
"display" : "No"
}
@@ -1151,52 +1232,43 @@
}
},
{
- "fullUrl" : "Observation/1695669261797898000.1f2a7080-6188-477b-8310-a7c82b28e81e",
+ "fullUrl" : "Observation/1727133200804303000.a749bc39-0714-4f69-87db-a634642d22d3",
"resource" : {
"resourceType" : "Observation",
- "id" : "1695669261797898000.1f2a7080-6188-477b-8310-a7c82b28e81e",
- "meta" : {
- "extension" : [
- {
- "url" : "http://ibm.com/fhir/cdm/StructureDefinition/source-data-model-version",
- "valueString" : "2.5.1"
- }
- ],
- "tag" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0103",
- "code" : "P"
- }
- ]
- },
+ "id" : "1727133200804303000.a749bc39-0714-4f69-87db-a634642d22d3",
"extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
- "valueString" : "AOE"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-type",
- "valueString" : "QST"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-status-original-text",
- "valueString" : "O"
- },
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
"valueString" : "1"
- }
- ],
- "identifier" : [
+ },
{
- "system" : "urn:id:extID",
- "value" : "421832901"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
+ "extension" : [
+ {
+ "url" : "OBX.2",
+ "valueId" : "CWE"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "unknown"
+ }
+ ]
}
],
"status" : "unknown",
"code" : {
"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",
"code" : "67704-7",
"display" : "FEEDING TYPES"
@@ -1204,7 +1276,7 @@
]
},
"subject" : {
- "reference" : "Patient/1695669261532305000.bb1b87fc-3c3d-4e3e-ba3e-ba612f880655"
+ "reference" : "Patient/1727133200785961000.81f0a0fd-2500-4d13-aace-6c921cff814e"
},
"effectiveDateTime" : "2023-05-06T05:00:00-05:00",
"_effectiveDateTime" : {
@@ -1218,6 +1290,16 @@
"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" : "LN"
+ }
+ ],
"system" : "http://loinc.org",
"code" : "LA12418-2",
"display" : "TPN"
@@ -1227,52 +1309,43 @@
}
},
{
- "fullUrl" : "Observation/1695669261801446000.ddbee45e-3169-46f5-bb3c-6fb9f8458cd8",
+ "fullUrl" : "Observation/1727133200805779000.834301e0-25fa-45d7-8ddc-3ad1b7561630",
"resource" : {
"resourceType" : "Observation",
- "id" : "1695669261801446000.ddbee45e-3169-46f5-bb3c-6fb9f8458cd8",
- "meta" : {
- "extension" : [
- {
- "url" : "http://ibm.com/fhir/cdm/StructureDefinition/source-data-model-version",
- "valueString" : "2.5.1"
- }
- ],
- "tag" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0103",
- "code" : "P"
- }
- ]
- },
+ "id" : "1727133200805779000.834301e0-25fa-45d7-8ddc-3ad1b7561630",
"extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
- "valueString" : "AOE"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-type",
- "valueString" : "QST"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-status-original-text",
- "valueString" : "O"
- },
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
"valueString" : "2"
- }
- ],
- "identifier" : [
+ },
{
- "system" : "urn:id:extID",
- "value" : "421832901"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
+ "extension" : [
+ {
+ "url" : "OBX.2",
+ "valueId" : "CWE"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "unknown"
+ }
+ ]
}
],
"status" : "unknown",
"code" : {
"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",
"code" : "67704-7",
"display" : "FEEDING TYPES"
@@ -1280,7 +1353,7 @@
]
},
"subject" : {
- "reference" : "Patient/1695669261532305000.bb1b87fc-3c3d-4e3e-ba3e-ba612f880655"
+ "reference" : "Patient/1727133200785961000.81f0a0fd-2500-4d13-aace-6c921cff814e"
},
"effectiveDateTime" : "2023-05-06T05:00:00-05:00",
"_effectiveDateTime" : {
@@ -1294,6 +1367,16 @@
"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" : "LN"
+ }
+ ],
"system" : "http://loinc.org",
"code" : "LA16914-6",
"display" : "BREAST MILK"
@@ -1303,52 +1386,43 @@
}
},
{
- "fullUrl" : "Observation/1695669261805167000.af8d435c-63ac-4874-a7ed-6f48797d1b1c",
+ "fullUrl" : "Observation/1727133200808186000.7fcebe37-0de0-45aa-9872-ec3723585bf2",
"resource" : {
"resourceType" : "Observation",
- "id" : "1695669261805167000.af8d435c-63ac-4874-a7ed-6f48797d1b1c",
- "meta" : {
- "extension" : [
- {
- "url" : "http://ibm.com/fhir/cdm/StructureDefinition/source-data-model-version",
- "valueString" : "2.5.1"
- }
- ],
- "tag" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0103",
- "code" : "P"
- }
- ]
- },
+ "id" : "1727133200808186000.7fcebe37-0de0-45aa-9872-ec3723585bf2",
"extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
- "valueString" : "AOE"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-type",
- "valueString" : "QST"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-status-original-text",
- "valueString" : "O"
- },
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
"valueString" : "1"
- }
- ],
- "identifier" : [
+ },
{
- "system" : "urn:id:extID",
- "value" : "421832901"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
+ "extension" : [
+ {
+ "url" : "OBX.2",
+ "valueId" : "CWE"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "unknown"
+ }
+ ]
}
],
"status" : "unknown",
"code" : {
"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",
"code" : "57723-9",
"display" : "UNIQUE BAR CODE NUMBER OF CURRENT SAMPLE"
@@ -1356,7 +1430,7 @@
]
},
"subject" : {
- "reference" : "Patient/1695669261532305000.bb1b87fc-3c3d-4e3e-ba3e-ba612f880655"
+ "reference" : "Patient/1727133200785961000.81f0a0fd-2500-4d13-aace-6c921cff814e"
},
"effectiveDateTime" : "2023-05-06T05:00:00-05:00",
"_effectiveDateTime" : {
@@ -1370,6 +1444,12 @@
"valueCodeableConcept" : {
"coding" : [
{
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }
+ ],
"code" : "0516199364"
}
]
@@ -1377,52 +1457,43 @@
}
},
{
- "fullUrl" : "Observation/1695669261807707000.4f04a3ff-10bc-4cdd-be13-54cd68f7067c",
+ "fullUrl" : "Observation/1727133200809672000.42257385-71c9-4c34-b285-2f01d06e8f82",
"resource" : {
"resourceType" : "Observation",
- "id" : "1695669261807707000.4f04a3ff-10bc-4cdd-be13-54cd68f7067c",
- "meta" : {
- "extension" : [
- {
- "url" : "http://ibm.com/fhir/cdm/StructureDefinition/source-data-model-version",
- "valueString" : "2.5.1"
- }
- ],
- "tag" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0103",
- "code" : "P"
- }
- ]
- },
+ "id" : "1727133200809672000.42257385-71c9-4c34-b285-2f01d06e8f82",
"extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
- "valueString" : "AOE"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-type",
- "valueString" : "QST"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-status-original-text",
- "valueString" : "O"
- },
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
"valueString" : "1"
- }
- ],
- "identifier" : [
+ },
{
- "system" : "urn:id:extID",
- "value" : "421832901"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
+ "extension" : [
+ {
+ "url" : "OBX.2",
+ "valueId" : "ST"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "unknown"
+ }
+ ]
}
],
"status" : "unknown",
"code" : {
"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",
"code" : "62328-0",
"display" : "DISCHARGE PROVIDER PRACTICE PHONE NUMBER"
@@ -1430,67 +1501,58 @@
]
},
"subject" : {
- "reference" : "Patient/1695669261532305000.bb1b87fc-3c3d-4e3e-ba3e-ba612f880655"
+ "reference" : "Patient/1727133200785961000.81f0a0fd-2500-4d13-aace-6c921cff814e"
},
"effectiveDateTime" : "2023-05-06T05:00:00-05:00",
"_effectiveDateTime" : {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230506050000-0500"
- }
- ]
- },
- "valueString" : "Daniel Davis/218-555-1000"
- }
- },
- {
- "fullUrl" : "Observation/1695669261810041000.e47d7a7f-b710-421f-b2fd-07337243454f",
- "resource" : {
- "resourceType" : "Observation",
- "id" : "1695669261810041000.e47d7a7f-b710-421f-b2fd-07337243454f",
- "meta" : {
- "extension" : [
- {
- "url" : "http://ibm.com/fhir/cdm/StructureDefinition/source-data-model-version",
- "valueString" : "2.5.1"
- }
- ],
- "tag" : [
+ "extension" : [
{
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0103",
- "code" : "P"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230506050000-0500"
}
]
},
+ "valueString" : "Daniel Davis/218-555-1000"
+ }
+ },
+ {
+ "fullUrl" : "Observation/1727133200811020000.2c39eec2-a445-4f80-8ef2-f3b8283dc0f9",
+ "resource" : {
+ "resourceType" : "Observation",
+ "id" : "1727133200811020000.2c39eec2-a445-4f80-8ef2-f3b8283dc0f9",
"extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
- "valueString" : "AOE"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-type",
- "valueString" : "QST"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-status-original-text",
- "valueString" : "O"
- },
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
"valueString" : "1"
- }
- ],
- "identifier" : [
+ },
{
- "system" : "urn:id:extID",
- "value" : "421832901"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
+ "extension" : [
+ {
+ "url" : "OBX.2",
+ "valueId" : "ST"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "unknown"
+ }
+ ]
}
],
"status" : "unknown",
"code" : {
"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",
"code" : "62324-9",
"display" : "POST-DISCHARGE PROVIDER NAME"
@@ -1498,7 +1560,7 @@
]
},
"subject" : {
- "reference" : "Patient/1695669261532305000.bb1b87fc-3c3d-4e3e-ba3e-ba612f880655"
+ "reference" : "Patient/1727133200785961000.81f0a0fd-2500-4d13-aace-6c921cff814e"
},
"effectiveDateTime" : "2023-05-06T05:00:00-05:00",
"_effectiveDateTime" : {
@@ -1513,52 +1575,43 @@
}
},
{
- "fullUrl" : "Observation/1695669261812411000.3a388f9f-a4d9-44da-80d5-c597bfec30e5",
+ "fullUrl" : "Observation/1727133200812409000.b17af112-d0f9-409b-ab63-6d3d3dbd4ff9",
"resource" : {
"resourceType" : "Observation",
- "id" : "1695669261812411000.3a388f9f-a4d9-44da-80d5-c597bfec30e5",
- "meta" : {
- "extension" : [
- {
- "url" : "http://ibm.com/fhir/cdm/StructureDefinition/source-data-model-version",
- "valueString" : "2.5.1"
- }
- ],
- "tag" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0103",
- "code" : "P"
- }
- ]
- },
+ "id" : "1727133200812409000.b17af112-d0f9-409b-ab63-6d3d3dbd4ff9",
"extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
- "valueString" : "AOE"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-type",
- "valueString" : "QST"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-status-original-text",
- "valueString" : "O"
- },
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
"valueString" : "1"
- }
- ],
- "identifier" : [
+ },
{
- "system" : "urn:id:extID",
- "value" : "421832901"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
+ "extension" : [
+ {
+ "url" : "OBX.2",
+ "valueId" : "ST"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "unknown"
+ }
+ ]
}
],
"status" : "unknown",
"code" : {
"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",
"code" : "62326-4",
"display" : "POST-DISCHARGE PROVIDER PRACTICE NAME"
@@ -1566,7 +1619,7 @@
]
},
"subject" : {
- "reference" : "Patient/1695669261532305000.bb1b87fc-3c3d-4e3e-ba3e-ba612f880655"
+ "reference" : "Patient/1727133200785961000.81f0a0fd-2500-4d13-aace-6c921cff814e"
},
"effectiveDateTime" : "2023-05-06T05:00:00-05:00",
"_effectiveDateTime" : {
@@ -1581,440 +1634,435 @@
}
},
{
- "fullUrl" : "Specimen/1695669261832353000.1ac58cbf-b88d-4758-842a-9bae875a9295",
+ "fullUrl" : "Specimen/1727133200930568000.b93de036-e291-4e43-86cd-87c54945e375",
"resource" : {
"resourceType" : "Specimen",
- "id" : "1695669261832353000.1ac58cbf-b88d-4758-842a-9bae875a9295",
- "meta" : {
- "extension" : [
- {
- "url" : "http://ibm.com/fhir/cdm/StructureDefinition/source-data-model-version",
- "valueString" : "2.5.1"
- }
- ],
- "tag" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0103",
- "code" : "P"
- }
- ]
- },
+ "id" : "1727133200930568000.b93de036-e291-4e43-86cd-87c54945e375",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
+ "valueString" : "OBR"
+ }
+ ],
+ "collection" : {
+ "collectedDateTime" : "2023-05-06T05:00:00Z",
+ "_collectedDateTime" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230506050000+0000"
+ }
+ ]
+ }
+ }
+ }
+ },
+ {
+ "fullUrl" : "Specimen/1727133200932421000.edb6d55e-9178-417f-8e7a-597f7e1e0901",
+ "resource" : {
+ "resourceType" : "Specimen",
+ "id" : "1727133200932421000.edb6d55e-9178-417f-8e7a-597f7e1e0901",
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/specimen-name-or-code",
- "valueString" : "440500007"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
+ "valueString" : "SPM"
}
],
"type" : {
"coding" : [
{
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "SCT"
+ }
+ ],
"system" : "http://snomed.info/sct",
"code" : "440500007",
"display" : "Blood spot specimen"
}
]
},
- "subject" : {
- "reference" : "Patient/1695669261532305000.bb1b87fc-3c3d-4e3e-ba3e-ba612f880655"
- },
"collection" : {
- "collectedDateTime" : "2023-05-06T05:00:00Z"
+ "collectedDateTime" : "2023-05-06T05:00:00Z",
+ "_collectedDateTime" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230506050000+0000"
+ }
+ ]
+ }
}
}
},
{
- "fullUrl" : "Provenance/1695669261841269000.fc89473e-7bea-4d6d-b251-f56adfad0d81",
+ "fullUrl" : "ServiceRequest/1727133200936686000.bc160026-49d9-449d-ae77-afa1ebbd9be6",
"resource" : {
- "resourceType" : "Provenance",
- "id" : "1695669261841269000.fc89473e-7bea-4d6d-b251-f56adfad0d81",
- "meta" : {
- "extension" : [
- {
- "url" : "http://ibm.com/fhir/cdm/StructureDefinition/source-data-model-version",
- "valueString" : "2.5.1"
- }
- ],
- "tag" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0103",
- "code" : "P"
+ "resourceType" : "ServiceRequest",
+ "id" : "1727133200936686000.bc160026-49d9-449d-ae77-afa1ebbd9be6",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/business-event",
+ "valueCode" : "NW"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/business-event",
+ "valueString" : "20230506052913-0500"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/orc-common-order",
+ "extension" : [
+ {
+ "url" : "ORC.5",
+ "valueString" : "unknown"
+ },
+ {
+ "url" : "orc-21-ordering-facility-name",
+ "valueReference" : {
+ "reference" : "Organization/1727133200935545000.77ac7a1a-0fe6-43ad-b4a2-1febff073af6"
+ }
+ }
+ ]
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obr-observation-request",
+ "extension" : [
+ {
+ "url" : "OBR.2",
+ "valueIdentifier" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "EPIC"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "1.2.840.114350.1.13.145.2.7.2.695071"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ }
+ ]
+ }
+ ],
+ "value" : "421832901"
+ }
+ },
+ {
+ "url" : "OBR.11",
+ "valueString" : "P"
+ }
+ ]
+ }
+ ],
+ "identifier" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "ORC.2"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "EPIC"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "1.2.840.114350.1.13.145.2.7.2.695071"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ }
+ ]
+ }
+ ],
+ "type" : {
+ "coding" : [
+ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "PLAC"
+ }
+ ]
},
+ "value" : "421832901"
+ }
+ ],
+ "status" : "unknown",
+ "intent" : "order",
+ "code" : {
+ "coding" : [
{
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0207",
- "code" : "P"
+ "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",
+ "code" : "54089-8",
+ "display" : "Newborn screening panel American Health Information Community (AHIC)"
}
]
},
- "recorded" : "2023-05-06T05:29:16-05:00",
- "_recorded" : {
+ "subject" : {
+ "reference" : "Patient/1727133200785961000.81f0a0fd-2500-4d13-aace-6c921cff814e"
+ },
+ "authoredOn" : "2023-05-06T05:29:13-05:00",
+ "_authoredOn" : {
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230506052916-0500"
+ "valueString" : "20230506052913-0500"
}
]
},
- "activity" : {
- "coding" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0003",
- "code" : "ORM",
- "display" : "ORM_ORM"
- }
- ]
+ "requester" : {
+ "reference" : "PractitionerRole/1727133200933005000.a8a10515-3bbf-42e6-b39f-9c1bcce88d73"
},
- "agent" : [
+ "supportingInfo" : [
{
- "type" : {
- "coding" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
- "code" : "author"
- }
- ]
- },
- "who" : {
- "reference" : "Organization/1695669261836791000.91b18428-3050-4162-9340-e69819fdd013"
- }
+ "reference" : "Observation/1727133200793272000.a7cc16be-b4a3-4f2e-82c9-e1d95a7149f5"
},
{
- "type" : {
- "coding" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
- "code" : "author"
- }
- ]
- },
- "who" : {
- "reference" : "Practitioner/1695669261839977000.c8459a68-e347-4263-8fa3-4c1142a85dd2"
- }
+ "reference" : "Observation/1727133200795547000.8a17d6b0-ba46-4417-a7cd-dd15e7095eb7"
+ },
+ {
+ "reference" : "Observation/1727133200797365000.9b7d00cb-f2b8-4749-92c8-225cab5f259b"
+ },
+ {
+ "reference" : "Observation/1727133200799038000.534eab68-0842-4dfe-9d9c-c3cdd6828316"
+ },
+ {
+ "reference" : "Observation/1727133200800657000.5b01a1c4-e769-477d-88dd-8fac17a37ab4"
+ },
+ {
+ "reference" : "Observation/1727133200802546000.6215f7d5-6c47-4337-8b6a-503ac0bdb67f"
+ },
+ {
+ "reference" : "Observation/1727133200804303000.a749bc39-0714-4f69-87db-a634642d22d3"
+ },
+ {
+ "reference" : "Observation/1727133200805779000.834301e0-25fa-45d7-8ddc-3ad1b7561630"
+ },
+ {
+ "reference" : "Observation/1727133200808186000.7fcebe37-0de0-45aa-9872-ec3723585bf2"
+ },
+ {
+ "reference" : "Observation/1727133200809672000.42257385-71c9-4c34-b285-2f01d06e8f82"
+ },
+ {
+ "reference" : "Observation/1727133200811020000.2c39eec2-a445-4f80-8ef2-f3b8283dc0f9"
+ },
+ {
+ "reference" : "Observation/1727133200812409000.b17af112-d0f9-409b-ab63-6d3d3dbd4ff9"
}
],
- "entity" : [
+ "specimen" : [
{
- "role" : "source",
- "what" : {
- "reference" : "Device/1695669261842644000.c2c89cf8-1f3b-49b3-af27-274fb99c332d"
- }
+ "reference" : "Specimen/1727133200932421000.edb6d55e-9178-417f-8e7a-597f7e1e0901"
+ },
+ {
+ "reference" : "Specimen/1727133200930568000.b93de036-e291-4e43-86cd-87c54945e375"
}
]
}
},
{
- "fullUrl" : "Organization/1695669261836791000.91b18428-3050-4162-9340-e69819fdd013",
+ "fullUrl" : "Organization/1727133200933847000.64f9079f-21e1-408e-86d3-0d21fc9f69f4",
"resource" : {
"resourceType" : "Organization",
- "id" : "1695669261836791000.91b18428-3050-4162-9340-e69819fdd013",
- "meta" : {
- "extension" : [
- {
- "url" : "http://ibm.com/fhir/cdm/StructureDefinition/source-data-model-version",
- "valueString" : "2.5.1"
- }
- ],
- "tag" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0103",
- "code" : "P"
- },
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0207",
- "code" : "P"
- }
- ]
- },
- "name" : "Centracare",
- "contact" : [
+ "id" : "1727133200933847000.64f9079f-21e1-408e-86d3-0d21fc9f69f4",
+ "extension" : [
{
- "purpose" : {
- "coding" : [
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type",
+ "valueCoding" : {
+ "extension" : [
{
- "system" : "http://terminology.hl7.org/CodeSystem/contactentity-type",
- "code" : "ADMIN",
- "display" : "Administrative"
+ "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"
+ }
+ ],
+ "code" : "L"
+ }
+ ]
+ }
}
],
- "text" : "Organization Medical Director"
- }
- }
- ]
- }
- },
- {
- "fullUrl" : "Practitioner/1695669261839977000.c8459a68-e347-4263-8fa3-4c1142a85dd2",
- "resource" : {
- "resourceType" : "Practitioner",
- "id" : "1695669261839977000.c8459a68-e347-4263-8fa3-4c1142a85dd2",
- "meta" : {
- "extension" : [
- {
- "url" : "http://ibm.com/fhir/cdm/StructureDefinition/source-data-model-version",
- "valueString" : "2.5.1"
- }
- ],
- "tag" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0103",
- "code" : "P"
- },
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0207",
- "code" : "P"
+ "code" : "L"
}
- ]
- },
- "extension" : [
+ },
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-type",
- "valueCodeableConcept" : {
- "coding" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
- "code" : "NPI"
- }
- ]
- }
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization",
+ "extension" : [
+ {
+ "url" : "XON.10",
+ "valueString" : "1043269798"
+ }
+ ]
}
],
"identifier" : [
{
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
- "valueString" : "NPI"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "CMS"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-unknown-type"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
+ }
+ ]
}
],
"type" : {
"coding" : [
{
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/code-index-name",
+ "valueString" : "identifier"
+ }
+ ],
"system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
- "code" : "NPI",
- "display" : "National provider identifier"
+ "code" : "NPI"
}
]
},
- "system" : "http://hl7.org/fhir/sid/us-npi",
- "value" : "1265136360"
+ "value" : "1043269798"
}
],
- "name" : [
- {
- "use" : "official",
- "text" : "JANE JONES",
- "family" : "JONES",
- "given" : [
- "JANE"
- ]
- }
- ]
+ "name" : "ST. CLOUD HOSPITAL"
}
},
{
- "fullUrl" : "Device/1695669261842644000.c2c89cf8-1f3b-49b3-af27-274fb99c332d",
+ "fullUrl" : "PractitionerRole/1727133200933005000.a8a10515-3bbf-42e6-b39f-9c1bcce88d73",
"resource" : {
- "resourceType" : "Device",
- "id" : "1695669261842644000.c2c89cf8-1f3b-49b3-af27-274fb99c332d",
- "meta" : {
- "extension" : [
- {
- "url" : "http://ibm.com/fhir/cdm/StructureDefinition/source-data-model-version",
- "valueString" : "2.5.1"
- }
- ],
- "tag" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0103",
- "code" : "P",
- "display" : "Epic"
- },
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0207",
- "code" : "P",
- "display" : "Epic"
- }
- ]
- },
- "identifier" : [
- {
- "type" : {
- "coding" : [
- {
- "system" : "http://terminology.hl7.org/NamingSystem/uri",
- "code" : "Epic",
- "display" : "Epic"
- }
- ]
- }
- }
- ],
- "deviceName" : [
- {
- "name" : "Epic",
- "type" : "user-friendly-name"
- }
- ]
+ "resourceType" : "PractitionerRole",
+ "id" : "1727133200933005000.a8a10515-3bbf-42e6-b39f-9c1bcce88d73",
+ "organization" : {
+ "reference" : "Organization/1727133200933847000.64f9079f-21e1-408e-86d3-0d21fc9f69f4"
+ }
}
},
{
- "fullUrl" : "Patient/1695669261532305000.bb1b87fc-3c3d-4e3e-ba3e-ba612f880655",
+ "fullUrl" : "Organization/1727133200935545000.77ac7a1a-0fe6-43ad-b4a2-1febff073af6",
"resource" : {
- "resourceType" : "Patient",
- "id" : "1695669261532305000.bb1b87fc-3c3d-4e3e-ba3e-ba612f880655",
- "meta" : {
- "extension" : [
- {
- "url" : "http://ibm.com/fhir/cdm/StructureDefinition/source-data-model-version",
- "valueString" : "2.5.1"
- }
- ],
- "tag" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0103",
- "code" : "P"
- },
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0207",
- "code" : "P"
- }
- ]
- },
+ "resourceType" : "Organization",
+ "id" : "1727133200935545000.77ac7a1a-0fe6-43ad-b4a2-1febff073af6",
"extension" : [
{
- "url" : "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
- "valueHumanName" : {
- "text" : "SADIE S SMITH",
- "family" : "SMITH",
- "given" : [
- "SADIE",
- "S"
- ]
- }
- }
- ],
- "identifier" : [
- {
- "type" : {
- "coding" : [
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type",
+ "valueCoding" : {
+ "extension" : [
{
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
- "code" : "MR",
- "display" : "Medical record number"
+ "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"
+ }
+ ],
+ "code" : "L"
+ }
+ ]
+ }
}
- ]
- },
- "system" : "CRPMRN",
- "value" : "11102779"
- }
- ],
- "name" : [
+ ],
+ "code" : "L"
+ }
+ },
{
- "use" : "official",
- "text" : "BB SARAH SMITH",
- "family" : "SMITH",
- "given" : [
- "BB SARAH"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization",
+ "extension" : [
+ {
+ "url" : "XON.10",
+ "valueString" : "1043269798"
+ }
]
}
],
- "telecom" : [
+ "identifier" : [
{
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point",
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
"extension" : [
{
- "url" : "XTN.9",
- "valueString" : "(763)555-5555"
- },
- {
- "url" : "XTN.12",
- "valueString" : "(763)555-5555"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "CMS"
},
{
- "url" : "XTN.3",
- "valueString" : "PH"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-unknown-type"
},
{
- "url" : "XTN.2",
- "valueString" : "PRN"
- }
- ]
- }
- ],
- "system" : "phone",
- "value" : "(763)555-5555",
- "use" : "home"
- }
- ],
- "gender" : "male",
- "birthDate" : "2023-05-04",
- "_birthDate" : {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230504131023-0500"
- },
- {
- "url" : "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
- "valueDateTime" : "2023-05-04T13:10:23-05:00"
- }
- ]
- },
- "deceasedBoolean" : false,
- "address" : [
- {
- "use" : "home",
- "line" : [
- "555 STATE HIGHWAY 13"
- ],
- "city" : "DEER CREEK",
- "district" : "OTTER TAIL",
- "state" : "IG",
- "postalCode" : "56527-9657",
- "country" : "USA"
- }
- ],
- "multipleBirthBoolean" : false,
- "contact" : [
- {
- "relationship" : [
- {
- "coding" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0131",
- "code" : "N",
- "display" : "Next-of-Kin"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
}
]
}
],
- "name" : {
- "extension" : [
+ "type" : {
+ "coding" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name",
"extension" : [
{
- "url" : "XPN.2",
- "valueString" : "Leia"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/code-index-name",
+ "valueString" : "identifier"
}
- ]
+ ],
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "NPI"
}
- ],
- "family" : "Organa",
- "given" : [
- "Leia"
]
},
- "telecom" : [
- {
- "system" : "phone",
- "value" : "+31201234567"
- }
- ]
+ "value" : "1043269798"
}
- ]
+ ],
+ "name" : "ST. CLOUD HOSPITAL"
}
}
]
-}
+}
\ No newline at end of file
diff --git a/prime-router/src/testIntegration/resources/datatests/HL7_to_FHIR/sample_oml_20240319-001.fhir b/prime-router/src/testIntegration/resources/datatests/HL7_to_FHIR/sample_oml_20240319-001.fhir
index 89311771508..f2b15d87ce9 100644
--- a/prime-router/src/testIntegration/resources/datatests/HL7_to_FHIR/sample_oml_20240319-001.fhir
+++ b/prime-router/src/testIntegration/resources/datatests/HL7_to_FHIR/sample_oml_20240319-001.fhir
@@ -1,21 +1,21 @@
{
"resourceType" : "Bundle",
- "id" : "1711057489333547000.de4ee6f2-3ae9-4041-9eae-66a49d883798",
+ "id" : "1726681492187301000.a875f234-ab35-4fae-afd9-5ae70b139c6f",
"meta" : {
- "lastUpdated" : "2024-03-21T17:44:49.340-04:00"
+ "lastUpdated" : "2024-09-18T10:44:52.191-07:00"
},
"identifier" : {
"system" : "https://reportstream.cdc.gov/prime-router",
"value" : "31808297"
},
"type" : "message",
- "timestamp" : "2023-05-06T06:29:16.000-04:00",
+ "timestamp" : "2023-05-06T03:29:16.000-07:00",
"entry" : [
{
- "fullUrl" : "MessageHeader/87c2d0db-6f31-3666-b9e2-7152e039c11f",
+ "fullUrl" : "MessageHeader/1726681492235526000.3872119a-ff86-4f47-afb6-951b5f38482e",
"resource" : {
"resourceType" : "MessageHeader",
- "id" : "87c2d0db-6f31-3666-b9e2-7152e039c11f",
+ "id" : "1726681492235526000.3872119a-ff86-4f47-afb6-951b5f38482e",
"meta" : {
"tag" : [
{
@@ -129,12 +129,12 @@
],
"name" : "NATUS",
"receiver" : {
- "reference" : "Organization/1711057489418382000.2634a831-fc30-4e3c-9ad1-38956816c7cb"
+ "reference" : "Organization/1726681492234640000.978cc409-b284-4272-94ad-90e384d3bc22"
}
}
],
"sender" : {
- "reference" : "Organization/1711057489388301000.230b2a54-9a57-42fe-8b05-76279ff73a84"
+ "reference" : "Organization/1726681492217092000.99e99c90-e066-41d0-a470-36b00030d11d"
},
"source" : {
"extension" : [
@@ -160,10 +160,10 @@
}
},
{
- "fullUrl" : "Organization/1711057489388301000.230b2a54-9a57-42fe-8b05-76279ff73a84",
+ "fullUrl" : "Organization/1726681492217092000.99e99c90-e066-41d0-a470-36b00030d11d",
"resource" : {
"resourceType" : "Organization",
- "id" : "1711057489388301000.230b2a54-9a57-42fe-8b05-76279ff73a84",
+ "id" : "1726681492217092000.99e99c90-e066-41d0-a470-36b00030d11d",
"identifier" : [
{
"extension" : [
@@ -195,10 +195,10 @@
}
},
{
- "fullUrl" : "Organization/1711057489418382000.2634a831-fc30-4e3c-9ad1-38956816c7cb",
+ "fullUrl" : "Organization/1726681492234640000.978cc409-b284-4272-94ad-90e384d3bc22",
"resource" : {
"resourceType" : "Organization",
- "id" : "1711057489418382000.2634a831-fc30-4e3c-9ad1-38956816c7cb",
+ "id" : "1726681492234640000.978cc409-b284-4272-94ad-90e384d3bc22",
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
@@ -237,16 +237,150 @@
}
},
{
- "fullUrl" : "Patient/1711057490036275000.5766f0bc-eeee-4f50-b9f3-40340efdbde8",
+ "fullUrl" : "Provenance/1726681492462211000.f88f909e-b256-4878-bb85-e8f12b57006d",
+ "resource" : {
+ "resourceType" : "Provenance",
+ "id" : "1726681492462211000.f88f909e-b256-4878-bb85-e8f12b57006d",
+ "recorded" : "2023-05-06T05:29:16-05:00",
+ "activity" : {
+ "coding" : [
+ {
+ "display" : "OML^O21^OML_O21"
+ }
+ ]
+ },
+ "agent" : [
+ {
+ "type" : {
+ "coding" : [
+ {
+ "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
+ "code" : "author"
+ }
+ ]
+ },
+ "who" : {
+ "reference" : "Organization/1726681492461714000.b6b09a47-7620-4bb8-9769-8bfc72ce8418"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "fullUrl" : "Organization/1726681492461714000.b6b09a47-7620-4bb8-9769-8bfc72ce8418",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1726681492461714000.b6b09a47-7620-4bb8-9769-8bfc72ce8418",
+ "identifier" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ }
+ ],
+ "value" : "Centracare"
+ },
+ {
+ "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" : "DNS"
+ }
+ ]
+ },
+ "value" : "centracare.com"
+ }
+ ]
+ }
+ },
+ {
+ "fullUrl" : "Provenance/1726681492472018000.8fe8eb07-0f82-42fd-b2c9-a1129152e100",
+ "resource" : {
+ "resourceType" : "Provenance",
+ "id" : "1726681492472018000.8fe8eb07-0f82-42fd-b2c9-a1129152e100",
+ "recorded" : "2024-09-18T10:44:52Z",
+ "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/1726681492471750000.f3f9a9c5-71c6-4458-901c-4ebe9bdddd0a"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "fullUrl" : "Organization/1726681492471750000.f3f9a9c5-71c6-4458-901c-4ebe9bdddd0a",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1726681492471750000.f3f9a9c5-71c6-4458-901c-4ebe9bdddd0a",
+ "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/1726681492493392000.82a9acae-6ab9-467e-b92b-735a808cde8c",
"resource" : {
"resourceType" : "Patient",
- "id" : "1711057490036275000.5766f0bc-eeee-4f50-b9f3-40340efdbde8",
+ "id" : "1726681492493392000.82a9acae-6ab9-467e-b92b-735a808cde8c",
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/pid-patient",
"extension" : [
{
- "url" : "PID.8"
+ "url" : "PID.8",
+ "valueCodeableConcept" : {
+ "coding" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }
+ ],
+ "code" : "M"
+ }
+ ]
+ }
},
{
"url" : "PID.24",
@@ -305,7 +439,7 @@
},
"value" : "11102779",
"assigner" : {
- "reference" : "Organization/1711057490004869000.f9fc321d-8e76-4dbd-8119-38e7070309ed"
+ "reference" : "Organization/1726681492476947000.cf295bf5-9766-4218-b9b0-5a70765c125e"
}
}
],
@@ -415,10 +549,149 @@
}
],
"multipleBirthInteger" : 2,
+ "contact" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://hl7.org/fhir/StructureDefinition/relationship",
+ "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" : "HL70063"
+ }
+ ],
+ "code" : "MTH",
+ "display" : "Mother"
+ }
+ ],
+ "text" : "Mother"
+ }
+ }
+ ],
+ "relationship" : [
+ {
+ "coding" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "HL70063"
+ }
+ ],
+ "code" : "MTH",
+ "display" : "Mother"
+ }
+ ],
+ "text" : "Mother"
+ }
+ ],
+ "name" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name",
+ "extension" : [
+ {
+ "url" : "XPN.2",
+ "valueString" : "SADIE"
+ },
+ {
+ "url" : "XPN.3",
+ "valueString" : "S"
+ },
+ {
+ "url" : "XPN.7",
+ "valueString" : "L"
+ }
+ ]
+ }
+ ],
+ "use" : "official",
+ "family" : "SMITH",
+ "given" : [
+ "SADIE",
+ "S"
+ ]
+ },
+ "telecom" : [
+ {
+ "extension" : [
+ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-area",
+ "valueString" : "763"
+ },
+ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-local",
+ "valueString" : "5555555"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point",
+ "extension" : [
+ {
+ "url" : "XTN.3",
+ "valueString" : "PH"
+ },
+ {
+ "url" : "XTN.7",
+ "valueString" : "5555555"
+ },
+ {
+ "url" : "XTN.9",
+ "valueString" : "(763)555-5555"
+ }
+ ]
+ }
+ ],
+ "system" : "phone"
+ }
+ ],
+ "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" : "555 STATE HIGHWAY 13"
+ }
+ ]
+ },
+ {
+ "url" : "XAD.7",
+ "valueCode" : "H"
+ }
+ ]
+ }
+ ],
+ "use" : "home",
+ "line" : [
+ "555 STATE HIGHWAY 13"
+ ],
+ "city" : "DEER CREEK",
+ "district" : "OTTER TAIL",
+ "state" : "MN",
+ "postalCode" : "56527-9657",
+ "country" : "USA"
+ }
+ }
+ ],
"link" : [
{
"other" : {
- "reference" : "RelatedPerson/1711057490022564000.99d677b9-359b-41c9-9669-5245fe62ff3d"
+ "reference" : "RelatedPerson/1726681492484536000.de59b5c4-28e4-4bdc-a9a5-8c8faa1ae0c2"
},
"type" : "seealso"
}
@@ -426,10 +699,10 @@
}
},
{
- "fullUrl" : "Organization/1711057490004869000.f9fc321d-8e76-4dbd-8119-38e7070309ed",
+ "fullUrl" : "Organization/1726681492476947000.cf295bf5-9766-4218-b9b0-5a70765c125e",
"resource" : {
"resourceType" : "Organization",
- "id" : "1711057490004869000.f9fc321d-8e76-4dbd-8119-38e7070309ed",
+ "id" : "1726681492476947000.cf295bf5-9766-4218-b9b0-5a70765c125e",
"identifier" : [
{
"extension" : [
@@ -444,10 +717,10 @@
}
},
{
- "fullUrl" : "RelatedPerson/1711057490022564000.99d677b9-359b-41c9-9669-5245fe62ff3d",
+ "fullUrl" : "RelatedPerson/1726681492484536000.de59b5c4-28e4-4bdc-a9a5-8c8faa1ae0c2",
"resource" : {
"resourceType" : "RelatedPerson",
- "id" : "1711057490022564000.99d677b9-359b-41c9-9669-5245fe62ff3d",
+ "id" : "1726681492484536000.de59b5c4-28e4-4bdc-a9a5-8c8faa1ae0c2",
"identifier" : [
{
"extension" : [
@@ -466,524 +739,791 @@
}
},
{
- "fullUrl" : "ServiceRequest/1711057490064383000.440f5be7-f1ae-48ec-bc18-b5c51f278dc9",
+ "fullUrl" : "Provenance/1726681492497877000.6eaec073-c8e7-40f3-87ae-930e78673ac5",
"resource" : {
- "resourceType" : "ServiceRequest",
- "id" : "1711057490064383000.440f5be7-f1ae-48ec-bc18-b5c51f278dc9",
- "extension" : [
+ "resourceType" : "Provenance",
+ "id" : "1726681492497877000.6eaec073-c8e7-40f3-87ae-930e78673ac5",
+ "target" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/business-event",
- "valueCode" : "NW"
- },
+ "reference" : "Patient/1726681492493392000.82a9acae-6ab9-467e-b92b-735a808cde8c"
+ }
+ ],
+ "recorded" : "2024-09-18T10:44:52Z",
+ "activity" : {
+ "coding" : [
+ {
+ "system" : "https://terminology.hl7.org/CodeSystem/v3-DataOperation",
+ "code" : "UPDATE"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "fullUrl" : "RelatedPerson/1726681492500140000.15180afe-202e-448f-b448-f8cd41fe8e99",
+ "resource" : {
+ "resourceType" : "RelatedPerson",
+ "id" : "1726681492500140000.15180afe-202e-448f-b448-f8cd41fe8e99",
+ "extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/business-event",
- "valueString" : "20230506052913-0500"
- },
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
+ "valueString" : "NK1"
+ }
+ ],
+ "patient" : {
+ "reference" : "Patient/1726681492493392000.82a9acae-6ab9-467e-b92b-735a808cde8c"
+ },
+ "relationship" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/orc-common-order",
"extension" : [
{
- "url" : "orc-21-ordering-facility-name",
- "valueReference" : {
- "reference" : "Organization/1711057490059315000.6242a24f-c085-4313-83ec-c057fc602200"
- }
- },
- {
- "url" : "orc-21-ordering-facility-name",
- "valueReference" : {
- "reference" : "Organization/1711057490061423000.f70f1019-e293-475c-be0c-b8bbc264beed"
- }
- },
- {
- "url" : "orc-12-ordering-provider",
- "valueReference" : {
- "reference" : "Practitioner/1711057490062970000.0e6e9314-bc38-4a3a-9563-5ceb148c07dc"
- }
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "NK1.3"
}
- ]
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obr-observation-request",
- "extension" : [
+ ],
+ "coding" : [
{
- "url" : "OBR.2",
- "valueIdentifier" : {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
- "valueString" : "EPIC"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
- "valueString" : "1.2.840.114350.1.13.145.2.7.2.695071"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
- "valueCode" : "ISO"
- }
- ]
- }
- ],
- "value" : "421832901"
- }
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "HL70063"
+ }
+ ],
+ "code" : "MTH",
+ "display" : "Mother"
}
- ]
+ ],
+ "text" : "Mother"
}
],
- "identifier" : [
+ "name" : [
{
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
- "valueString" : "ORC.2"
+ "valueString" : "NK1.2"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name",
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
- "valueString" : "EPIC"
+ "url" : "XPN.2",
+ "valueString" : "SADIE"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
- "valueString" : "1.2.840.114350.1.13.145.2.7.2.695071"
+ "url" : "XPN.3",
+ "valueString" : "S"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
- "valueCode" : "ISO"
+ "url" : "XPN.7",
+ "valueString" : "L"
}
]
}
],
- "type" : {
- "coding" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
- "code" : "PLAC"
- }
- ]
- },
- "value" : "421832901"
+ "use" : "official",
+ "family" : "SMITH",
+ "given" : [
+ "SADIE",
+ "S"
+ ]
}
],
- "status" : "unknown",
- "subject" : {
- "reference" : "Patient/1711057490036275000.5766f0bc-eeee-4f50-b9f3-40340efdbde8"
- },
- "authoredOn" : "2023-05-06T05:29:13-05:00",
- "_authoredOn" : {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230506052913-0500"
- }
- ]
- },
- "requester" : {
- "reference" : "PractitionerRole/1711057490050288000.49fc10fd-e410-4862-bac9-9dbda84a2798"
- }
- }
- },
- {
- "fullUrl" : "Organization/1711057490050705000.817ab24f-30a2-47b0-8b06-289cbe842702",
- "resource" : {
- "resourceType" : "Organization",
- "id" : "1711057490050705000.817ab24f-30a2-47b0-8b06-289cbe842702",
- "identifier" : [
+ "telecom" : [
{
"extension" : [
+ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-area",
+ "valueString" : "763"
+ },
+ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-local",
+ "valueString" : "5555555"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point",
+ "extension" : [
+ {
+ "url" : "XTN.3",
+ "valueString" : "PH"
+ },
+ {
+ "url" : "XTN.7",
+ "valueString" : "5555555"
+ },
+ {
+ "url" : "XTN.9",
+ "valueString" : "(763)555-5555"
+ }
+ ]
+ },
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
- "valueString" : "HD.1"
+ "valueString" : "NK1.5"
}
],
- "value" : "NPI"
+ "system" : "phone"
+ }
+ ],
+ "address" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "NK1.4"
+ },
+ {
+ "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" : "555 STATE HIGHWAY 13"
+ }
+ ]
+ },
+ {
+ "url" : "XAD.7",
+ "valueCode" : "H"
+ }
+ ]
+ }
+ ],
+ "use" : "home",
+ "line" : [
+ "555 STATE HIGHWAY 13"
+ ],
+ "city" : "DEER CREEK",
+ "district" : "OTTER TAIL",
+ "state" : "MN",
+ "postalCode" : "56527-9657",
+ "country" : "USA"
}
]
}
},
{
- "fullUrl" : "Practitioner/1711057490052021000.d196ef95-5b27-468c-ab41-3444bf76029a",
+ "fullUrl" : "Observation/1726681492502864000.c02d636a-6733-4db1-9a05-98f2dbff71fd",
"resource" : {
- "resourceType" : "Practitioner",
- "id" : "1711057490052021000.d196ef95-5b27-468c-ab41-3444bf76029a",
+ "resourceType" : "Observation",
+ "id" : "1726681492502864000.c02d636a-6733-4db1-9a05-98f2dbff71fd",
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
+ "valueString" : "1"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
+ "valueCode" : "AOE"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
- "valueString" : "NPI"
+ "url" : "OBX.2",
+ "valueId" : "NM"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-unknown-type"
+ "url" : "OBX.6",
+ "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" : "UCUM"
+ }
+ ],
+ "system" : "http://unitsofmeasure.org",
+ "code" : "g",
+ "display" : "gram"
+ }
+ ]
+ }
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
- }
- ]
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner",
- "extension" : [
- {
- "url" : "XCN.3",
- "valueString" : "JANE"
+ "url" : "OBX.29",
+ "valueId" : "QST"
},
{
- "url" : "XCN.10",
- "valueString" : "L"
+ "url" : "OBX.11",
+ "valueString" : "O"
}
]
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
- "valueString" : "ORC.12"
}
],
- "identifier" : [
- {
- "type" : {
- "coding" : [
+ "status" : "unknown",
+ "code" : {
+ "coding" : [
+ {
+ "extension" : [
{
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
- "valueBoolean" : true
- }
- ],
- "code" : "NPI"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "LN"
}
- ]
- },
- "value" : "1265136360",
- "assigner" : {
- "reference" : "Organization/1711057490050705000.817ab24f-30a2-47b0-8b06-289cbe842702"
+ ],
+ "system" : "http://loinc.org",
+ "code" : "8339-4",
+ "display" : "BIRTH WEIGHT MEASURED"
}
- }
- ],
- "name" : [
- {
- "use" : "official",
- "family" : "JONES",
- "given" : [
- "JANE"
- ]
- }
- ]
+ ]
+ },
+ "subject" : {
+ "reference" : "Patient/1726681492493392000.82a9acae-6ab9-467e-b92b-735a808cde8c"
+ },
+ "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
+ "_effectiveDateTime" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230506050000-0500"
+ }
+ ]
+ },
+ "valueQuantity" : {
+ "value" : 1769.859285,
+ "unit" : "gram",
+ "system" : "UCUM",
+ "code" : "g"
+ }
}
},
{
- "fullUrl" : "Organization/1711057490055996000.c11fedb1-26f0-4585-80fc-0342b257ec44",
+ "fullUrl" : "Observation/1726681492505294000.25e21bd9-8244-4398-8722-bfaac9a6e875",
"resource" : {
- "resourceType" : "Organization",
- "id" : "1711057490055996000.c11fedb1-26f0-4585-80fc-0342b257ec44",
+ "resourceType" : "Observation",
+ "id" : "1726681492505294000.25e21bd9-8244-4398-8722-bfaac9a6e875",
"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"
- }
- ]
- }
- }
- ]
- }
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
+ "valueString" : "1"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization",
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
+ "valueCode" : "AOE"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
"extension" : [
{
- "url" : "XON.10",
- "valueString" : "1043269798"
+ "url" : "OBX.2",
+ "valueId" : "NM"
+ },
+ {
+ "url" : "OBX.6",
+ "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" : "UCUM"
+ }
+ ],
+ "system" : "http://unitsofmeasure.org",
+ "code" : "wk",
+ "display" : "week"
+ }
+ ]
+ }
+ },
+ {
+ "url" : "OBX.29",
+ "valueId" : "QST"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "O"
}
]
}
],
- "identifier" : [
- {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
- "valueString" : "CMS"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-unknown-type"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
- }
- ]
- }
- ],
- "type" : {
- "coding" : [
+ "status" : "unknown",
+ "code" : {
+ "coding" : [
+ {
+ "extension" : [
{
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
- "code" : "NPI"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "LN"
}
- ]
- },
- "value" : "1043269798"
- }
- ],
- "name" : "ST. CLOUD HOSPITAL"
- }
- },
- {
- "fullUrl" : "PractitionerRole/1711057490050288000.49fc10fd-e410-4862-bac9-9dbda84a2798",
- "resource" : {
- "resourceType" : "PractitionerRole",
- "id" : "1711057490050288000.49fc10fd-e410-4862-bac9-9dbda84a2798",
- "practitioner" : {
- "reference" : "Practitioner/1711057490052021000.d196ef95-5b27-468c-ab41-3444bf76029a"
+ ],
+ "system" : "http://loinc.org",
+ "code" : "57714-8",
+ "display" : "OBSTETRIC ESTIMATION OF GESTATIONAL AGE"
+ }
+ ]
},
- "organization" : {
- "reference" : "Organization/1711057490055996000.c11fedb1-26f0-4585-80fc-0342b257ec44"
+ "subject" : {
+ "reference" : "Patient/1726681492493392000.82a9acae-6ab9-467e-b92b-735a808cde8c"
+ },
+ "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
+ "_effectiveDateTime" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230506050000-0500"
+ }
+ ]
+ },
+ "valueQuantity" : {
+ "value" : 32,
+ "unit" : "week",
+ "system" : "UCUM",
+ "code" : "wk"
}
}
},
{
- "fullUrl" : "Organization/1711057490059315000.6242a24f-c085-4313-83ec-c057fc602200",
+ "fullUrl" : "Observation/1726681492507390000.09f9b155-2775-4212-8670-f5b558ad6389",
"resource" : {
- "resourceType" : "Organization",
- "id" : "1711057490059315000.6242a24f-c085-4313-83ec-c057fc602200",
+ "resourceType" : "Observation",
+ "id" : "1726681492507390000.09f9b155-2775-4212-8670-f5b558ad6389",
"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"
- }
- ]
- }
- }
- ]
- }
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
+ "valueString" : "1"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization",
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
+ "valueCode" : "AOE"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
"extension" : [
{
- "url" : "XON.10",
- "valueString" : "1043269798"
+ "url" : "OBX.2",
+ "valueId" : "CWE"
+ },
+ {
+ "url" : "OBX.29",
+ "valueId" : "QST"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "O"
}
]
}
],
- "identifier" : [
- {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
- "valueString" : "CMS"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-unknown-type"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
- }
- ]
- }
- ],
- "type" : {
- "coding" : [
+ "status" : "unknown",
+ "code" : {
+ "coding" : [
+ {
+ "extension" : [
{
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
- "code" : "NPI"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "LN"
}
- ]
- },
- "value" : "1043269798"
- }
- ],
- "name" : "ST. CLOUD HOSPITAL"
+ ],
+ "system" : "http://loinc.org",
+ "code" : "57713-0",
+ "display" : "INFANT FACTORS THAT AFFECT NEWBORN SCREENING INTERPRETATION"
+ }
+ ]
+ },
+ "subject" : {
+ "reference" : "Patient/1726681492493392000.82a9acae-6ab9-467e-b92b-735a808cde8c"
+ },
+ "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
+ "_effectiveDateTime" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230506050000-0500"
+ }
+ ]
+ },
+ "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" : "LN"
+ }
+ ],
+ "system" : "http://loinc.org",
+ "code" : "LA12419-0",
+ "display" : "INFANT IN NICU AT TIME OF SPECIMEN COLLECTION"
+ }
+ ]
+ }
}
},
{
- "fullUrl" : "Organization/1711057490061423000.f70f1019-e293-475c-be0c-b8bbc264beed",
+ "fullUrl" : "Observation/1726681492509157000.c220f0f1-f17e-4dcc-b483-8384fb764c30",
"resource" : {
- "resourceType" : "Organization",
- "id" : "1711057490061423000.f70f1019-e293-475c-be0c-b8bbc264beed",
+ "resourceType" : "Observation",
+ "id" : "1726681492509157000.c220f0f1-f17e-4dcc-b483-8384fb764c30",
"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"
- }
- ]
- }
- }
- ]
- }
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
+ "valueString" : "1"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization",
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
+ "valueCode" : "AOE"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
"extension" : [
{
- "url" : "XON.10",
- "valueString" : "739"
+ "url" : "OBX.2",
+ "valueId" : "CWE"
+ },
+ {
+ "url" : "OBX.29",
+ "valueId" : "QST"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "O"
}
]
}
],
- "identifier" : [
- {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
- "valueString" : "MN Public Health Lab"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-unknown-type"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
- }
- ]
- }
- ],
- "type" : {
- "coding" : [
+ "status" : "unknown",
+ "code" : {
+ "coding" : [
+ {
+ "extension" : [
{
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
- "code" : "NPI"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "99MDH"
}
- ]
- },
- "value" : "739"
- }
- ],
- "name" : "ST. CLOUD HOSPITAL"
+ ],
+ "code" : "MNDSIB",
+ "display" : "DOES THE BABY HAVE A DECEASED SIBLING?"
+ }
+ ]
+ },
+ "subject" : {
+ "reference" : "Patient/1726681492493392000.82a9acae-6ab9-467e-b92b-735a808cde8c"
+ },
+ "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
+ "_effectiveDateTime" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230506050000-0500"
+ }
+ ]
+ },
+ "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" : "99MDH"
+ }
+ ],
+ "code" : "N",
+ "display" : "No"
+ }
+ ]
+ }
}
},
{
- "fullUrl" : "Organization/1711057490061890000.764a4034-fdb6-4b0b-a0c5-579f84644c1c",
+ "fullUrl" : "Observation/1726681492510785000.a0cc0b9a-52e3-4410-b1fd-d22aba3b06c0",
"resource" : {
- "resourceType" : "Organization",
- "id" : "1711057490061890000.764a4034-fdb6-4b0b-a0c5-579f84644c1c",
- "identifier" : [
+ "resourceType" : "Observation",
+ "id" : "1726681492510785000.a0cc0b9a-52e3-4410-b1fd-d22aba3b06c0",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
+ "valueString" : "1"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
+ "valueCode" : "AOE"
+ },
{
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
- "valueString" : "HD.1"
+ "url" : "OBX.2",
+ "valueId" : "CWE"
+ },
+ {
+ "url" : "OBX.29",
+ "valueId" : "QST"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "O"
}
- ],
- "value" : "NPI"
+ ]
}
- ]
+ ],
+ "status" : "unknown",
+ "code" : {
+ "coding" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "99MDH"
+ }
+ ],
+ "code" : "MNDEFECT",
+ "display" : "DOES THE BABY HAVE BIRTH DEFECTS?"
+ }
+ ]
+ },
+ "subject" : {
+ "reference" : "Patient/1726681492493392000.82a9acae-6ab9-467e-b92b-735a808cde8c"
+ },
+ "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
+ "_effectiveDateTime" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230506050000-0500"
+ }
+ ]
+ },
+ "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" : "99MDH"
+ }
+ ],
+ "code" : "N",
+ "display" : "No"
+ }
+ ]
+ }
}
},
{
- "fullUrl" : "Practitioner/1711057490062970000.0e6e9314-bc38-4a3a-9563-5ceb148c07dc",
+ "fullUrl" : "Observation/1726681492513068000.65109631-48cc-4490-b644-95e448d4e852",
"resource" : {
- "resourceType" : "Practitioner",
- "id" : "1711057490062970000.0e6e9314-bc38-4a3a-9563-5ceb148c07dc",
+ "resourceType" : "Observation",
+ "id" : "1726681492513068000.65109631-48cc-4490-b644-95e448d4e852",
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
+ "valueString" : "1"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
+ "valueCode" : "AOE"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
- "valueString" : "NPI"
+ "url" : "OBX.2",
+ "valueId" : "CWE"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-unknown-type"
+ "url" : "OBX.29",
+ "valueId" : "QST"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
+ "url" : "OBX.11",
+ "valueString" : "O"
}
]
+ }
+ ],
+ "status" : "unknown",
+ "code" : {
+ "coding" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "99MDH"
+ }
+ ],
+ "code" : "MNFAM",
+ "display" : "FAMILY HISTORY OF DISORDER ON MN SCREENING PANEL"
+ }
+ ]
+ },
+ "subject" : {
+ "reference" : "Patient/1726681492493392000.82a9acae-6ab9-467e-b92b-735a808cde8c"
+ },
+ "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
+ "_effectiveDateTime" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230506050000-0500"
+ }
+ ]
+ },
+ "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" : "99MDH"
+ }
+ ],
+ "code" : "N",
+ "display" : "No"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "fullUrl" : "Observation/1726681492514904000.a0b6424a-acc9-4ec8-bac1-eb4d84146150",
+ "resource" : {
+ "resourceType" : "Observation",
+ "id" : "1726681492514904000.a0b6424a-acc9-4ec8-bac1-eb4d84146150",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
+ "valueString" : "1"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner",
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
+ "valueCode" : "AOE"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
"extension" : [
{
- "url" : "XCN.3",
- "valueString" : "JANE"
+ "url" : "OBX.2",
+ "valueId" : "CWE"
},
{
- "url" : "XCN.10",
- "valueString" : "L"
+ "url" : "OBX.29",
+ "valueId" : "QST"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "O"
}
]
}
],
- "identifier" : [
- {
- "type" : {
- "coding" : [
+ "status" : "unknown",
+ "code" : {
+ "coding" : [
+ {
+ "extension" : [
{
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
- "valueBoolean" : true
- }
- ],
- "code" : "NPI"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "LN"
}
- ]
- },
- "value" : "1265136360",
- "assigner" : {
- "reference" : "Organization/1711057490061890000.764a4034-fdb6-4b0b-a0c5-579f84644c1c"
+ ],
+ "system" : "http://loinc.org",
+ "code" : "67704-7",
+ "display" : "FEEDING TYPES"
+ }
+ ]
+ },
+ "subject" : {
+ "reference" : "Patient/1726681492493392000.82a9acae-6ab9-467e-b92b-735a808cde8c"
+ },
+ "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
+ "_effectiveDateTime" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230506050000-0500"
+ }
+ ]
+ },
+ "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" : "LN"
+ }
+ ],
+ "system" : "http://loinc.org",
+ "code" : "LA12418-2",
+ "display" : "TPN"
}
- }
- ],
- "name" : [
- {
- "use" : "official",
- "family" : "JONES",
- "given" : [
- "JANE"
- ]
- }
- ]
+ ]
+ }
}
},
{
- "fullUrl" : "Observation/1711057490279999000.7d669a9b-5913-45e9-8bff-eb0c10f03a92",
+ "fullUrl" : "Observation/1726681492516655000.24e44cdd-01f6-495d-81c9-8ca178b20623",
"resource" : {
"resourceType" : "Observation",
- "id" : "1711057490279999000.7d669a9b-5913-45e9-8bff-eb0c10f03a92",
+ "id" : "1726681492516655000.24e44cdd-01f6-495d-81c9-8ca178b20623",
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
- "valueString" : "1"
+ "valueString" : "2"
},
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
@@ -994,25 +1534,41 @@
"extension" : [
{
"url" : "OBX.2",
- "valueId" : "NM"
+ "valueId" : "CWE"
},
{
- "url" : "OBX.6"
+ "url" : "OBX.29",
+ "valueId" : "QST"
},
{
"url" : "OBX.11",
"valueString" : "O"
- },
- {
- "url" : "OBX.29",
- "valueId" : "QST"
}
]
}
],
"status" : "unknown",
+ "code" : {
+ "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",
+ "code" : "67704-7",
+ "display" : "FEEDING TYPES"
+ }
+ ]
+ },
"subject" : {
- "reference" : "Patient/1711057490036275000.5766f0bc-eeee-4f50-b9f3-40340efdbde8"
+ "reference" : "Patient/1726681492493392000.82a9acae-6ab9-467e-b92b-735a808cde8c"
},
"effectiveDateTime" : "2023-05-06T05:00:00-05:00",
"_effectiveDateTime" : {
@@ -1023,19 +1579,32 @@
}
]
},
- "valueQuantity" : {
- "value" : 1769.859285,
- "unit" : "gram",
- "system" : "UCUM",
- "code" : "g"
+ "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" : "LN"
+ }
+ ],
+ "system" : "http://loinc.org",
+ "code" : "LA16914-6",
+ "display" : "BREAST MILK"
+ }
+ ]
}
}
},
{
- "fullUrl" : "Observation/1711057490283879000.6853f004-9e13-4497-8858-b1b0565b2d15",
+ "fullUrl" : "Observation/1726681492518122000.34be2e23-9fcb-4841-bb82-21ac92f5e88f",
"resource" : {
"resourceType" : "Observation",
- "id" : "1711057490283879000.6853f004-9e13-4497-8858-b1b0565b2d15",
+ "id" : "1726681492518122000.34be2e23-9fcb-4841-bb82-21ac92f5e88f",
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
@@ -1050,25 +1619,41 @@
"extension" : [
{
"url" : "OBX.2",
- "valueId" : "NM"
+ "valueId" : "CWE"
},
{
- "url" : "OBX.6"
+ "url" : "OBX.29",
+ "valueId" : "QST"
},
{
"url" : "OBX.11",
"valueString" : "O"
- },
- {
- "url" : "OBX.29",
- "valueId" : "QST"
}
]
}
],
"status" : "unknown",
+ "code" : {
+ "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",
+ "code" : "57723-9",
+ "display" : "UNIQUE BAR CODE NUMBER OF CURRENT SAMPLE"
+ }
+ ]
+ },
"subject" : {
- "reference" : "Patient/1711057490036275000.5766f0bc-eeee-4f50-b9f3-40340efdbde8"
+ "reference" : "Patient/1726681492493392000.82a9acae-6ab9-467e-b92b-735a808cde8c"
},
"effectiveDateTime" : "2023-05-06T05:00:00-05:00",
"_effectiveDateTime" : {
@@ -1079,19 +1664,26 @@
}
]
},
- "valueQuantity" : {
- "value" : 32,
- "unit" : "week",
- "system" : "UCUM",
- "code" : "wk"
+ "valueCodeableConcept" : {
+ "coding" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }
+ ],
+ "code" : "0516199364"
+ }
+ ]
}
}
},
{
- "fullUrl" : "Observation/1711057490288537000.61e8c41b-74b6-454f-8f88-47d034a9314c",
+ "fullUrl" : "Observation/1726681492519165000.07f0cdb5-071d-4699-9fe1-feeb50d18ee1",
"resource" : {
"resourceType" : "Observation",
- "id" : "1711057490288537000.61e8c41b-74b6-454f-8f88-47d034a9314c",
+ "id" : "1726681492519165000.07f0cdb5-071d-4699-9fe1-feeb50d18ee1",
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
@@ -1106,33 +1698,21 @@
"extension" : [
{
"url" : "OBX.2",
- "valueId" : "CWE"
- },
- {
- "url" : "OBX.11",
- "valueString" : "O"
+ "valueId" : "ST"
},
{
"url" : "OBX.29",
"valueId" : "QST"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "O"
}
]
}
],
"status" : "unknown",
- "subject" : {
- "reference" : "Patient/1711057490036275000.5766f0bc-eeee-4f50-b9f3-40340efdbde8"
- },
- "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
- "_effectiveDateTime" : {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230506050000-0500"
- }
- ]
- },
- "valueCodeableConcept" : {
+ "code" : {
"coding" : [
{
"extension" : [
@@ -1146,18 +1726,31 @@
}
],
"system" : "http://loinc.org",
- "code" : "LA12419-0",
- "display" : "INFANT IN NICU AT TIME OF SPECIMEN COLLECTION"
+ "code" : "62328-0",
+ "display" : "DISCHARGE PROVIDER PRACTICE PHONE NUMBER"
}
]
- }
+ },
+ "subject" : {
+ "reference" : "Patient/1726681492493392000.82a9acae-6ab9-467e-b92b-735a808cde8c"
+ },
+ "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
+ "_effectiveDateTime" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230506050000-0500"
+ }
+ ]
+ },
+ "valueString" : "Daniel Davis/218-555-1000"
}
},
{
- "fullUrl" : "Observation/1711057490290772000.0fa2cf5f-84b2-4327-b32f-ecca89de0476",
+ "fullUrl" : "Observation/1726681492521073000.e71f7a63-9494-4eb5-9f4c-17e3a584e380",
"resource" : {
"resourceType" : "Observation",
- "id" : "1711057490290772000.0fa2cf5f-84b2-4327-b32f-ecca89de0476",
+ "id" : "1726681492521073000.e71f7a63-9494-4eb5-9f4c-17e3a584e380",
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
@@ -1172,22 +1765,41 @@
"extension" : [
{
"url" : "OBX.2",
- "valueId" : "CWE"
- },
- {
- "url" : "OBX.11",
- "valueString" : "O"
+ "valueId" : "ST"
},
{
"url" : "OBX.29",
"valueId" : "QST"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "O"
}
]
}
],
"status" : "unknown",
+ "code" : {
+ "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",
+ "code" : "62324-9",
+ "display" : "POST-DISCHARGE PROVIDER NAME"
+ }
+ ]
+ },
"subject" : {
- "reference" : "Patient/1711057490036275000.5766f0bc-eeee-4f50-b9f3-40340efdbde8"
+ "reference" : "Patient/1726681492493392000.82a9acae-6ab9-467e-b92b-735a808cde8c"
},
"effectiveDateTime" : "2023-05-06T05:00:00-05:00",
"_effectiveDateTime" : {
@@ -1198,7 +1810,43 @@
}
]
},
- "valueCodeableConcept" : {
+ "valueString" : "DAVIS, DANIEL, MD"
+ }
+ },
+ {
+ "fullUrl" : "Observation/1726681492522150000.dffa99af-cf3f-4635-9979-abd7a1b1f4d5",
+ "resource" : {
+ "resourceType" : "Observation",
+ "id" : "1726681492522150000.dffa99af-cf3f-4635-9979-abd7a1b1f4d5",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
+ "valueString" : "1"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
+ "valueCode" : "AOE"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
+ "extension" : [
+ {
+ "url" : "OBX.2",
+ "valueId" : "ST"
+ },
+ {
+ "url" : "OBX.29",
+ "valueId" : "QST"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "O"
+ }
+ ]
+ }
+ ],
+ "status" : "unknown",
+ "code" : {
"coding" : [
{
"extension" : [
@@ -1208,62 +1856,108 @@
},
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
- "valueString" : "99MDH"
+ "valueString" : "LN"
}
],
- "code" : "N",
- "display" : "No"
+ "system" : "http://loinc.org",
+ "code" : "62326-4",
+ "display" : "POST-DISCHARGE PROVIDER PRACTICE NAME"
}
]
- }
+ },
+ "subject" : {
+ "reference" : "Patient/1726681492493392000.82a9acae-6ab9-467e-b92b-735a808cde8c"
+ },
+ "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
+ "_effectiveDateTime" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230506050000-0500"
+ }
+ ]
+ },
+ "valueString" : "Lakeridge Health Revere"
}
},
{
- "fullUrl" : "Observation/1711057490313175000.403b2603-7a71-4082-8a33-cc8f2490593f",
+ "fullUrl" : "Specimen/1727313792886618000.d45f77c7-ecb4-4a11-a10c-ae901a61957a",
"resource" : {
- "resourceType" : "Observation",
- "id" : "1711057490313175000.403b2603-7a71-4082-8a33-cc8f2490593f",
+ "resourceType" : "Specimen",
+ "id" : "1727313792886618000.d45f77c7-ecb4-4a11-a10c-ae901a61957a",
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
- "valueString" : "1"
- },
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
+ "valueString" : "OBR"
+ }
+ ],
+ "collection" : {
+ "collectedDateTime" : "2023-05-06T05:00:00Z",
+ "_collectedDateTime" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230506050000"
+ }
+ ]
+ }
+ },
+ "note" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
- "valueCode" : "AOE"
- },
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Component",
+ "valueString" : "OBR.15.3"
+ }
+ ],
+ "text" : "440500007"
+ }
+ ]
+ }
+ },
+ {
+ "fullUrl" : "Specimen/1727313792888577000.a67f4df4-1f53-4021-9d02-348da64f37b6",
+ "resource" : {
+ "resourceType" : "Specimen",
+ "id" : "1727313792888577000.a67f4df4-1f53-4021-9d02-348da64f37b6",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
+ "valueString" : "SPM"
+ }
+ ],
+ "identifier" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
"extension" : [
{
- "url" : "OBX.2",
- "valueId" : "CWE"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "EPIC"
},
{
- "url" : "OBX.11",
- "valueString" : "O"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "1.2.840.114350.1.13.145.2.7.2.695071"
},
{
- "url" : "OBX.29",
- "valueId" : "QST"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueString" : "ISO"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Component",
+ "valueString" : "SPM.2.1"
}
- ]
+ ],
+ "type" : {
+ "coding" : [
+ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "PGN"
+ }
+ ]
+ },
+ "value" : "421832901"
}
],
- "status" : "unknown",
- "subject" : {
- "reference" : "Patient/1711057490036275000.5766f0bc-eeee-4f50-b9f3-40340efdbde8"
- },
- "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
- "_effectiveDateTime" : {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230506050000-0500"
- }
- ]
- },
- "valueCodeableConcept" : {
+ "type" : {
"coding" : [
{
"extension" : [
@@ -1273,62 +1967,134 @@
},
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
- "valueString" : "99MDH"
+ "valueString" : "SCT"
}
],
- "code" : "N",
- "display" : "No"
+ "system" : "http://snomed.info/sct",
+ "code" : "440500042",
+ "display" : "Blood spatter specimen"
}
]
+ },
+ "collection" : {
+ "collectedDateTime" : "2023-05-06T06:00:00-05:00",
+ "_collectedDateTime" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230506060000-0500"
+ }
+ ]
+ }
}
}
},
{
- "fullUrl" : "Observation/1711057490315326000.77cd2a7d-1907-453c-8c6d-3212db6a5811",
+ "fullUrl" : "ServiceRequest/1726681492644006000.cba3ce33-4a32-4756-8991-cd4c93e667c9",
"resource" : {
- "resourceType" : "Observation",
- "id" : "1711057490315326000.77cd2a7d-1907-453c-8c6d-3212db6a5811",
+ "resourceType" : "ServiceRequest",
+ "id" : "1726681492644006000.cba3ce33-4a32-4756-8991-cd4c93e667c9",
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
- "valueString" : "1"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/business-event",
+ "valueCode" : "NW"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
- "valueCode" : "AOE"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/business-event",
+ "valueString" : "20230506052913-0500"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/orc-common-order",
"extension" : [
{
- "url" : "OBX.2",
- "valueId" : "CWE"
+ "url" : "orc-21-ordering-facility-name",
+ "valueReference" : {
+ "reference" : "Organization/1726681492641945000.9f5a3115-e1c7-4b81-acd0-5ee33ab3af95"
+ }
},
{
- "url" : "OBX.11",
- "valueString" : "O"
+ "url" : "orc-21-ordering-facility-name",
+ "valueReference" : {
+ "reference" : "Organization/1726681492642419000.74f305db-5a72-4d9f-b1b1-147bf46fe812"
+ }
},
{
- "url" : "OBX.29",
- "valueId" : "QST"
+ "url" : "orc-12-ordering-provider",
+ "valueReference" : {
+ "reference" : "Practitioner/1726681492643096000.0d4b4565-fa10-4992-b4a8-becf558b8dec"
+ }
+ }
+ ]
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obr-observation-request",
+ "extension" : [
+ {
+ "url" : "OBR.2",
+ "valueIdentifier" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "EPIC"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "1.2.840.114350.1.13.145.2.7.2.695071"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ }
+ ]
+ }
+ ],
+ "value" : "421832901"
+ }
}
]
}
],
+ "identifier" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "ORC.2"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "EPIC"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "1.2.840.114350.1.13.145.2.7.2.695071"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ }
+ ]
+ }
+ ],
+ "type" : {
+ "coding" : [
+ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "PLAC"
+ }
+ ]
+ },
+ "value" : "421832901"
+ }
+ ],
"status" : "unknown",
- "subject" : {
- "reference" : "Patient/1711057490036275000.5766f0bc-eeee-4f50-b9f3-40340efdbde8"
- },
- "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
- "_effectiveDateTime" : {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230506050000-0500"
- }
- ]
- },
- "valueCodeableConcept" : {
+ "code" : {
"coding" : [
{
"extension" : [
@@ -1338,424 +2104,500 @@
},
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
- "valueString" : "99MDH"
+ "valueString" : "LN"
}
],
- "code" : "N",
- "display" : "No"
+ "system" : "http://loinc.org",
+ "code" : "54089-8",
+ "display" : "Newborn screening panel American Health Information Community (AHIC)"
}
]
- }
+ },
+ "subject" : {
+ "reference" : "Patient/1726681492493392000.82a9acae-6ab9-467e-b92b-735a808cde8c"
+ },
+ "authoredOn" : "2023-05-06T05:29:13-05:00",
+ "_authoredOn" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230506052913-0500"
+ }
+ ]
+ },
+ "requester" : {
+ "reference" : "PractitionerRole/1726681492639136000.d4cb865c-1dbc-458a-aeee-4e353e11c314"
+ },
+ "supportingInfo" : [
+ {
+ "reference" : "Observation/1726681492502864000.c02d636a-6733-4db1-9a05-98f2dbff71fd"
+ },
+ {
+ "reference" : "Observation/1726681492505294000.25e21bd9-8244-4398-8722-bfaac9a6e875"
+ },
+ {
+ "reference" : "Observation/1726681492507390000.09f9b155-2775-4212-8670-f5b558ad6389"
+ },
+ {
+ "reference" : "Observation/1726681492509157000.c220f0f1-f17e-4dcc-b483-8384fb764c30"
+ },
+ {
+ "reference" : "Observation/1726681492510785000.a0cc0b9a-52e3-4410-b1fd-d22aba3b06c0"
+ },
+ {
+ "reference" : "Observation/1726681492513068000.65109631-48cc-4490-b644-95e448d4e852"
+ },
+ {
+ "reference" : "Observation/1726681492514904000.a0b6424a-acc9-4ec8-bac1-eb4d84146150"
+ },
+ {
+ "reference" : "Observation/1726681492516655000.24e44cdd-01f6-495d-81c9-8ca178b20623"
+ },
+ {
+ "reference" : "Observation/1726681492518122000.34be2e23-9fcb-4841-bb82-21ac92f5e88f"
+ },
+ {
+ "reference" : "Observation/1726681492519165000.07f0cdb5-071d-4699-9fe1-feeb50d18ee1"
+ },
+ {
+ "reference" : "Observation/1726681492521073000.e71f7a63-9494-4eb5-9f4c-17e3a584e380"
+ },
+ {
+ "reference" : "Observation/1726681492522150000.dffa99af-cf3f-4635-9979-abd7a1b1f4d5"
+ }
+ ],
+ "specimen" : [
+ {
+ "reference" : "Specimen/1727313792888577000.a67f4df4-1f53-4021-9d02-348da64f37b6"
+ },
+ {
+ "reference" : "Specimen/1727313792886618000.d45f77c7-ecb4-4a11-a10c-ae901a61957a"
+ }
+ ]
}
},
{
- "fullUrl" : "Observation/1711057490317098000.ac57ad8d-27d3-48d6-8686-6979ebb59693",
+ "fullUrl" : "Organization/1726681492639344000.e2d9306c-68d1-4791-960b-9178e657382d",
"resource" : {
- "resourceType" : "Observation",
- "id" : "1711057490317098000.ac57ad8d-27d3-48d6-8686-6979ebb59693",
- "extension" : [
+ "resourceType" : "Organization",
+ "id" : "1726681492639344000.e2d9306c-68d1-4791-960b-9178e657382d",
+ "identifier" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
- "valueString" : "1"
- },
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ }
+ ],
+ "value" : "NPI"
+ }
+ ]
+ }
+ },
+ {
+ "fullUrl" : "Practitioner/1726681492639901000.8cf23e0c-cbbe-439a-8314-ef797620db05",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1726681492639901000.8cf23e0c-cbbe-439a-8314-ef797620db05",
+ "extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
- "valueCode" : "AOE"
+ "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-unknown-type"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
+ }
+ ]
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner",
"extension" : [
{
- "url" : "OBX.2",
- "valueId" : "CWE"
- },
- {
- "url" : "OBX.11",
- "valueString" : "O"
+ "url" : "XCN.3",
+ "valueString" : "JANE"
},
{
- "url" : "OBX.29",
- "valueId" : "QST"
+ "url" : "XCN.10",
+ "valueString" : "L"
}
]
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "ORC.12"
}
],
- "status" : "unknown",
- "subject" : {
- "reference" : "Patient/1711057490036275000.5766f0bc-eeee-4f50-b9f3-40340efdbde8"
- },
- "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
- "_effectiveDateTime" : {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230506050000-0500"
- }
- ]
- },
- "valueCodeableConcept" : {
- "coding" : [
- {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
- "valueString" : "coding"
- },
+ "identifier" : [
+ {
+ "type" : {
+ "coding" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
- "valueString" : "LN"
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
+ "valueBoolean" : true
+ }
+ ],
+ "code" : "NPI"
}
- ],
- "system" : "http://loinc.org",
- "code" : "LA12418-2",
- "display" : "TPN"
+ ]
+ },
+ "value" : "1265136360",
+ "assigner" : {
+ "reference" : "Organization/1726681492639344000.e2d9306c-68d1-4791-960b-9178e657382d"
}
- ]
- }
+ }
+ ],
+ "name" : [
+ {
+ "use" : "official",
+ "family" : "JONES",
+ "given" : [
+ "JANE"
+ ]
+ }
+ ]
}
},
{
- "fullUrl" : "Observation/1711057490322446000.d5906865-982f-4b37-8866-77f168927838",
+ "fullUrl" : "Organization/1726681492640505000.d15bca18-6c50-4720-8e35-b67d67d378c0",
"resource" : {
- "resourceType" : "Observation",
- "id" : "1711057490322446000.d5906865-982f-4b37-8866-77f168927838",
+ "resourceType" : "Organization",
+ "id" : "1726681492640505000.d15bca18-6c50-4720-8e35-b67d67d378c0",
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
- "valueString" : "2"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
- "valueCode" : "AOE"
+ "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"
+ }
+ ],
+ "code" : "L"
+ }
+ ]
+ }
+ }
+ ],
+ "code" : "L"
+ }
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization",
"extension" : [
{
- "url" : "OBX.2",
- "valueId" : "CWE"
- },
- {
- "url" : "OBX.11",
- "valueString" : "O"
- },
- {
- "url" : "OBX.29",
- "valueId" : "QST"
+ "url" : "XON.10",
+ "valueString" : "1043269798"
}
]
}
],
- "status" : "unknown",
- "subject" : {
- "reference" : "Patient/1711057490036275000.5766f0bc-eeee-4f50-b9f3-40340efdbde8"
- },
- "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
- "_effectiveDateTime" : {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230506050000-0500"
- }
- ]
- },
- "valueCodeableConcept" : {
- "coding" : [
- {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
- "valueString" : "coding"
- },
+ "identifier" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "CMS"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-unknown-type"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
+ }
+ ]
+ }
+ ],
+ "type" : {
+ "coding" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
- "valueString" : "LN"
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "NPI"
}
- ],
- "system" : "http://loinc.org",
- "code" : "LA16914-6",
- "display" : "BREAST MILK"
- }
- ]
+ ]
+ },
+ "value" : "1043269798"
+ }
+ ],
+ "name" : "ST. CLOUD HOSPITAL"
+ }
+ },
+ {
+ "fullUrl" : "PractitionerRole/1726681492639136000.d4cb865c-1dbc-458a-aeee-4e353e11c314",
+ "resource" : {
+ "resourceType" : "PractitionerRole",
+ "id" : "1726681492639136000.d4cb865c-1dbc-458a-aeee-4e353e11c314",
+ "practitioner" : {
+ "reference" : "Practitioner/1726681492639901000.8cf23e0c-cbbe-439a-8314-ef797620db05"
+ },
+ "organization" : {
+ "reference" : "Organization/1726681492640505000.d15bca18-6c50-4720-8e35-b67d67d378c0"
}
}
},
{
- "fullUrl" : "Observation/1711057490325872000.8fe8e639-92a0-4881-a7f3-32a6e5983423",
+ "fullUrl" : "Organization/1726681492641945000.9f5a3115-e1c7-4b81-acd0-5ee33ab3af95",
"resource" : {
- "resourceType" : "Observation",
- "id" : "1711057490325872000.8fe8e639-92a0-4881-a7f3-32a6e5983423",
+ "resourceType" : "Organization",
+ "id" : "1726681492641945000.9f5a3115-e1c7-4b81-acd0-5ee33ab3af95",
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
- "valueString" : "1"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
- "valueCode" : "AOE"
+ "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"
+ }
+ ],
+ "code" : "L"
+ }
+ ]
+ }
+ }
+ ],
+ "code" : "L"
+ }
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization",
"extension" : [
{
- "url" : "OBX.2",
- "valueId" : "CWE"
- },
- {
- "url" : "OBX.11",
- "valueString" : "O"
- },
- {
- "url" : "OBX.29",
- "valueId" : "QST"
+ "url" : "XON.10",
+ "valueString" : "1043269798"
}
]
}
],
- "status" : "unknown",
- "subject" : {
- "reference" : "Patient/1711057490036275000.5766f0bc-eeee-4f50-b9f3-40340efdbde8"
- },
- "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
- "_effectiveDateTime" : {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230506050000-0500"
- }
- ]
- },
- "valueCodeableConcept" : {
- "coding" : [
- {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
- "valueString" : "coding"
+ "identifier" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "CMS"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-unknown-type"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
+ }
+ ]
+ }
+ ],
+ "type" : {
+ "coding" : [
+ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "NPI"
}
- ],
- "code" : "0516199364"
- }
- ]
- }
+ ]
+ },
+ "value" : "1043269798"
+ }
+ ],
+ "name" : "ST. CLOUD HOSPITAL"
}
},
{
- "fullUrl" : "Observation/1711057490327553000.7dd7a1b1-9503-418d-aa81-e720f23f7f69",
+ "fullUrl" : "Organization/1726681492642419000.74f305db-5a72-4d9f-b1b1-147bf46fe812",
"resource" : {
- "resourceType" : "Observation",
- "id" : "1711057490327553000.7dd7a1b1-9503-418d-aa81-e720f23f7f69",
+ "resourceType" : "Organization",
+ "id" : "1726681492642419000.74f305db-5a72-4d9f-b1b1-147bf46fe812",
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
- "valueString" : "1"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
- "valueCode" : "AOE"
+ "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"
+ }
+ ],
+ "code" : "L"
+ }
+ ]
+ }
+ }
+ ],
+ "code" : "L"
+ }
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization",
"extension" : [
{
- "url" : "OBX.2",
- "valueId" : "ST"
- },
- {
- "url" : "OBX.11",
- "valueString" : "O"
- },
- {
- "url" : "OBX.29",
- "valueId" : "QST"
+ "url" : "XON.10",
+ "valueString" : "739"
}
]
}
],
- "status" : "unknown",
- "subject" : {
- "reference" : "Patient/1711057490036275000.5766f0bc-eeee-4f50-b9f3-40340efdbde8"
- },
- "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
- "_effectiveDateTime" : {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230506050000-0500"
- }
- ]
- },
- "valueString" : "Daniel Davis/218-555-1000"
- }
- },
- {
- "fullUrl" : "Observation/1711057490329240000.9c6f7be8-191e-4e95-b58c-8961c72d4461",
- "resource" : {
- "resourceType" : "Observation",
- "id" : "1711057490329240000.9c6f7be8-191e-4e95-b58c-8961c72d4461",
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
- "valueString" : "1"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
- "valueCode" : "AOE"
- },
+ "identifier" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
"extension" : [
{
- "url" : "OBX.2",
- "valueId" : "ST"
- },
- {
- "url" : "OBX.11",
- "valueString" : "O"
- },
- {
- "url" : "OBX.29",
- "valueId" : "QST"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "MN Public Health Lab"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-unknown-type"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
+ }
+ ]
}
- ]
+ ],
+ "type" : {
+ "coding" : [
+ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "NPI"
+ }
+ ]
+ },
+ "value" : "739"
}
],
- "status" : "unknown",
- "subject" : {
- "reference" : "Patient/1711057490036275000.5766f0bc-eeee-4f50-b9f3-40340efdbde8"
- },
- "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
- "_effectiveDateTime" : {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230506050000-0500"
- }
- ]
- },
- "valueString" : "DAVIS, DANIEL, MD"
+ "name" : "ST. CLOUD HOSPITAL"
}
},
{
- "fullUrl" : "Observation/1711057490330670000.3c6c2a55-309d-4d85-a800-dac6d7a8cdf5",
+ "fullUrl" : "Organization/1726681492642638000.8e9bb0fe-241b-4847-9373-a1f70572c83b",
"resource" : {
- "resourceType" : "Observation",
- "id" : "1711057490330670000.3c6c2a55-309d-4d85-a800-dac6d7a8cdf5",
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
- "valueString" : "1"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
- "valueCode" : "AOE"
- },
+ "resourceType" : "Organization",
+ "id" : "1726681492642638000.8e9bb0fe-241b-4847-9373-a1f70572c83b",
+ "identifier" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
"extension" : [
{
- "url" : "OBX.2",
- "valueId" : "ST"
- },
- {
- "url" : "OBX.11",
- "valueString" : "O"
- },
- {
- "url" : "OBX.29",
- "valueId" : "QST"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
}
- ]
+ ],
+ "value" : "NPI"
}
- ],
- "status" : "unknown",
- "subject" : {
- "reference" : "Patient/1711057490036275000.5766f0bc-eeee-4f50-b9f3-40340efdbde8"
- },
- "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
- "_effectiveDateTime" : {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230506050000-0500"
- }
- ]
- },
- "valueString" : "Lakeridge Health Revere"
+ ]
}
},
{
- "fullUrl" : "Specimen/1711057490338923000.6c62a067-5366-4186-80c3-978e119eb028",
+ "fullUrl" : "Practitioner/1726681492643096000.0d4b4565-fa10-4992-b4a8-becf558b8dec",
"resource" : {
- "resourceType" : "Specimen",
- "id" : "1711057490338923000.6c62a067-5366-4186-80c3-978e119eb028",
+ "resourceType" : "Practitioner",
+ "id" : "1726681492643096000.0d4b4565-fa10-4992-b4a8-becf558b8dec",
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
- "valueString" : "SPM"
- }
- ],
- "identifier" : [
- {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
- "valueString" : "EPIC"
+ "valueString" : "NPI"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
- "valueString" : "1.2.840.114350.1.13.145.2.7.2.695071"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-unknown-type"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
- "valueString" : "ISO"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
+ }
+ ]
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner",
+ "extension" : [
+ {
+ "url" : "XCN.3",
+ "valueString" : "JANE"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Component",
- "valueString" : "SPM.2.1"
+ "url" : "XCN.10",
+ "valueString" : "L"
}
- ],
+ ]
+ }
+ ],
+ "identifier" : [
+ {
"type" : {
"coding" : [
{
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
- "code" : "PGN"
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
+ "valueBoolean" : true
+ }
+ ],
+ "code" : "NPI"
}
]
},
- "value" : "421832901"
+ "value" : "1265136360",
+ "assigner" : {
+ "reference" : "Organization/1726681492642638000.8e9bb0fe-241b-4847-9373-a1f70572c83b"
+ }
}
],
- "type" : {
- "coding" : [
- {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
- "valueString" : "coding"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
- "valueString" : "SCT"
- }
- ],
- "system" : "http://snomed.info/sct",
- "code" : "440500007",
- "display" : "Blood spot specimen"
- }
- ]
- },
- "collection" : {
- "collectedDateTime" : "2023-05-06T06:00:00-05:00",
- "_collectedDateTime" : {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230506060000-0500"
- }
+ "name" : [
+ {
+ "use" : "official",
+ "family" : "JONES",
+ "given" : [
+ "JANE"
]
}
- }
+ ]
}
}
]
diff --git a/prime-router/src/testIntegration/resources/datatests/HL7_to_FHIR/sample_oml_20240319-001.hl7 b/prime-router/src/testIntegration/resources/datatests/HL7_to_FHIR/sample_oml_20240319-001.hl7
index 9bfab324e91..9966c871892 100644
--- a/prime-router/src/testIntegration/resources/datatests/HL7_to_FHIR/sample_oml_20240319-001.hl7
+++ b/prime-router/src/testIntegration/resources/datatests/HL7_to_FHIR/sample_oml_20240319-001.hl7
@@ -15,4 +15,4 @@ OBX|9|CWE|57723-9^UNIQUE BAR CODE NUMBER OF CURRENT SAMPLE^LN|1|0516199364||||||
OBX|10|ST|62328-0^DISCHARGE PROVIDER PRACTICE PHONE NUMBER^LN|1|Daniel Davis/218-555-1000||||||O|||20230506050000-0500|||||||||||||||QST|AOE
OBX|11|ST|62324-9^POST-DISCHARGE PROVIDER NAME^LN|1|DAVIS, DANIEL, MD||||||O|||20230506050000-0500|||||||||||||||QST|AOE
OBX|12|ST|62326-4^POST-DISCHARGE PROVIDER PRACTICE NAME^LN|1|Lakeridge Health Revere||||||O|||20230506050000-0500|||||||||||||||QST|AOE
-SPM|1|421832901&EPIC&1.2.840.114350.1.13.145.2.7.2.695071&ISO||440500007^Blood spot specimen^SCT|||||||||||||20230506060000-0500
\ No newline at end of file
+SPM|1|421832901&EPIC&1.2.840.114350.1.13.145.2.7.2.695071&ISO||440500042^Blood spatter specimen^SCT|||||||||||||20230506060000-0500
\ No newline at end of file
diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/ei/EI-to-Identifier-Extension.fhir b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/ei/EI-to-Identifier-Extension.fhir
index df861fa9b0e..7ab709265ae 100644
--- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/ei/EI-to-Identifier-Extension.fhir
+++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/ei/EI-to-Identifier-Extension.fhir
@@ -119,7 +119,16 @@
"extension" : [ {
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
"valueString" : "OBR"
- } ]
+ } ],
+ "collection" : {
+ "collectedDateTime" : "2023-02-27",
+ "_collectedDateTime" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230227"
+ } ]
+ }
+ }
}
}, {
"fullUrl" : "ServiceRequest/1710882479463509000.8bf4d839-88e3-40b8-9d4e-6795636a4aff",
diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/nk1/NK1-to-RelatedPerson-with-repeats.fhir b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/nk1/NK1-to-RelatedPerson-with-repeats.fhir
index a97246c317f..cc7c34776c0 100644
--- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/nk1/NK1-to-RelatedPerson-with-repeats.fhir
+++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/nk1/NK1-to-RelatedPerson-with-repeats.fhir
@@ -147,6 +147,29 @@
}
} ],
"relationship" : [ {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "HL70063"
+ } ],
+ "code" : "OTH",
+ "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" : "L"
+ } ],
+ "system" : "https://terminology.hl7.org/CodeSystem-v2-0396.html#v2-0396-99zzzorL",
+ "code" : "OT",
+ "display" : "OTHER RELATIONSHIP"
+ } ]
+ }, {
"coding" : [ {
"extension" : [ {
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/nk1/NK1-to-RelatedPerson.fhir b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/nk1/NK1-to-RelatedPerson.fhir
index c64ca412bf4..d49f2105335 100644
--- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/nk1/NK1-to-RelatedPerson.fhir
+++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/nk1/NK1-to-RelatedPerson.fhir
@@ -147,6 +147,29 @@
}
} ],
"relationship" : [ {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "HL70063"
+ } ],
+ "code" : "OTH",
+ "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" : "L"
+ } ],
+ "system" : "https://terminology.hl7.org/CodeSystem-v2-0396.html#v2-0396-99zzzorL",
+ "code" : "OT",
+ "display" : "OTHER RELATIONSHIP"
+ } ]
+ }, {
"coding" : [ {
"extension" : [ {
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
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
new file mode 100644
index 00000000000..b7e5323de62
--- /dev/null
+++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/omlo21/oml_o21-full.fhir
@@ -0,0 +1,2735 @@
+{
+ "resourceType" : "Bundle",
+ "id" : "1727135930591193000.aedbf3aa-865a-4f68-9d9e-00f73bdbac4a",
+ "meta" : {
+ "lastUpdated" : "2024-09-23T16:58:50.595-07:00"
+ },
+ "identifier" : {
+ "system" : "https://reportstream.cdc.gov/prime-router",
+ "value" : "0123"
+ },
+ "type" : "message",
+ "timestamp" : "2019-07-20T09:12:29.000-07:00",
+ "entry" : [ {
+ "fullUrl" : "MessageHeader/1727135930639052000.f02e1c18-0688-4280-b49b-df24eee02cdf",
+ "resource" : {
+ "resourceType" : "MessageHeader",
+ "id" : "1727135930639052000.f02e1c18-0688-4280-b49b-df24eee02cdf",
+ "meta" : {
+ "security" : [ {
+ "code" : "msh8placeholder"
+ } ],
+ "tag" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0103",
+ "code" : "P"
+ }, {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0207",
+ "code" : "A"
+ } ]
+ },
+ "extension" : [ {
+ "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" : "20190720091229"
+ }, {
+ "url" : "MSH.13",
+ "valueString" : "42"
+ }, {
+ "url" : "MSH.14",
+ "valueString" : "msh14placeholder"
+ }, {
+ "url" : "MSH.15",
+ "valueString" : "AL"
+ }, {
+ "url" : "MSH.16",
+ "valueString" : "AL"
+ }, {
+ "url" : "MSH.20",
+ "valueString" : "UNICODE UTF-16"
+ }, {
+ "url" : "MSH.21",
+ "valueIdentifier" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "PHIN"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "2.16.840.1.113883.9.11"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ]
+ } ],
+ "value" : "PHLabReport-NoAck"
+ }
+ } ]
+ } ],
+ "eventCoding" : {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "code" : "O21",
+ "display" : "OML^O21^OML_O21"
+ },
+ "destination" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "2.16.840.1.114222.4.1.181960.2"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueString" : "ISO"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "MSH.5"
+ } ],
+ "name" : "txdshslabNBS",
+ "endpoint" : "urn:oid:2.16.840.1.114222.4.1.181960.2",
+ "receiver" : {
+ "reference" : "Organization/1727135930638288000.038501ce-626b-4f0d-8a9a-7a46cdb420ce"
+ }
+ } ],
+ "sender" : {
+ "reference" : "Organization/1727135930620601000.05235529-b10d-4f85-bbe9-06217bcf4426"
+ },
+ "source" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "OrderingFacilityApplicationName"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "2.16.840.1.114222.XXX"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueString" : "ISO"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "MSH.3"
+ } ],
+ "software" : "STARLIMS",
+ "version" : "ELIMS V11",
+ "endpoint" : "urn:oid:2.16.840.1.114222.XXX"
+ }
+ }
+ }, {
+ "fullUrl" : "Organization/1727135930620601000.05235529-b10d-4f85-bbe9-06217bcf4426",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1727135930620601000.05235529-b10d-4f85-bbe9-06217bcf4426",
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ } ],
+ "value" : "OrderingFacilityName"
+ }, {
+ "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.114222.XXX"
+ } ],
+ "address" : [ {
+ "country" : "FR"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Organization/1727135930638288000.038501ce-626b-4f0d-8a9a-7a46cdb420ce",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1727135930638288000.038501ce-626b-4f0d-8a9a-7a46cdb420ce",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "MSH.6"
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ } ],
+ "value" : "txdshslab"
+ }, {
+ "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.114222.4.1.181960"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Provenance/1727135930871635000.471524a6-276e-48aa-aa33-efe75f8a5f6d",
+ "resource" : {
+ "resourceType" : "Provenance",
+ "id" : "1727135930871635000.471524a6-276e-48aa-aa33-efe75f8a5f6d",
+ "recorded" : "2019-07-20T09:12:29Z",
+ "activity" : {
+ "coding" : [ {
+ "display" : "OML^O21^OML_O21"
+ } ]
+ },
+ "agent" : [ {
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
+ "code" : "author"
+ } ]
+ },
+ "who" : {
+ "reference" : "Organization/1727135930871009000.25aba881-d8f0-4f2b-8d12-9f1030b2534b"
+ }
+ } ],
+ "entity" : [ {
+ "role" : "source",
+ "what" : {
+ "reference" : "Device/1727135930875182000.363e2287-9747-47e9-85c9-0878a8db1129"
+ }
+ } ]
+ }
+ }, {
+ "fullUrl" : "Organization/1727135930871009000.25aba881-d8f0-4f2b-8d12-9f1030b2534b",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1727135930871009000.25aba881-d8f0-4f2b-8d12-9f1030b2534b",
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ } ],
+ "value" : "OrderingFacilityName"
+ }, {
+ "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.114222.XXX"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Location/1727135930874477000.36e5b40e-9225-40c5-bc29-9bce5a381526",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1727135930874477000.36e5b40e-9225-40c5-bc29-9bce5a381526",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ],
+ "identifier" : [ {
+ "value" : "2.16.8121.1.113883.9.11"
+ } ],
+ "name" : "Hospital C",
+ "physicalType" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code" : "si"
+ } ]
+ }
+ }
+ }, {
+ "fullUrl" : "Organization/1727135930875033000.81c92245-69f4-473c-9271-b7d7ce39d086",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1727135930875033000.81c92245-69f4-473c-9271-b7d7ce39d086",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code",
+ "valueString" : "A"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization",
+ "extension" : [ {
+ "url" : "XON.3",
+ "valueString" : "789"
+ }, {
+ "url" : "XON.10",
+ "valueString" : "CDC CLIA"
+ } ]
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit",
+ "valueString" : "Check Digit3"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "CDC OML SFT"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "2.1.9.1"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ]
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit",
+ "valueCode" : "C3"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location",
+ "valueReference" : {
+ "reference" : "Location/1727135930874477000.36e5b40e-9225-40c5-bc29-9bce5a381526"
+ }
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "MD"
+ } ]
+ },
+ "value" : "CDC CLIA"
+ } ],
+ "name" : "CDC"
+ }
+ }, {
+ "fullUrl" : "Device/1727135930875182000.363e2287-9747-47e9-85c9-0878a8db1129",
+ "resource" : {
+ "resourceType" : "Device",
+ "id" : "1727135930875182000.363e2287-9747-47e9-85c9-0878a8db1129",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/software-vendor-org",
+ "valueReference" : {
+ "reference" : "Organization/1727135930875033000.81c92245-69f4-473c-9271-b7d7ce39d086"
+ }
+ } ],
+ "manufacturer" : "CDC",
+ "deviceName" : [ {
+ "name" : "STARLIMS",
+ "type" : "manufacturer-name"
+ } ],
+ "modelNumber" : "Binary ID unknown",
+ "version" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/software-install-date",
+ "valueDateTime" : "2023-08-02T18:08:02-04:00",
+ "_valueDateTime" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230802180802-0400"
+ } ]
+ }
+ } ],
+ "value" : "ELIMS V11"
+ } ],
+ "note" : [ {
+ "text" : "testsft5data"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Provenance/1727135930883545000.b5bd1843-fccb-43b8-b879-694fa02475f5",
+ "resource" : {
+ "resourceType" : "Provenance",
+ "id" : "1727135930883545000.b5bd1843-fccb-43b8-b879-694fa02475f5",
+ "recorded" : "2024-09-23T16:58:50Z",
+ "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/1727135930883315000.6b7ca347-919a-470a-90b8-05f237f14e92"
+ }
+ } ]
+ }
+ }, {
+ "fullUrl" : "Organization/1727135930883315000.6b7ca347-919a-470a-90b8-05f237f14e92",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1727135930883315000.6b7ca347-919a-470a-90b8-05f237f14e92",
+ "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/1727135930906262000.ea76d474-07bc-4cb2-ae47-5636f0f98fc1",
+ "resource" : {
+ "resourceType" : "Patient",
+ "id" : "1727135930906262000.ea76d474-07bc-4cb2-ae47-5636f0f98fc1",
+ "meta" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/last-updated-facility-namespace-id",
+ "valueReference" : {
+ "reference" : "Organization/1727135930899193000.70e8c785-84fe-49a5-b282-dad0a7e9a77b"
+ }
+ } ],
+ "lastUpdated" : "2024-08-21T11:38:00Z",
+ "_lastUpdated" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "202408211138"
+ } ]
+ }
+ },
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/pid-patient",
+ "extension" : [ {
+ "url" : "PID.8",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "F"
+ } ]
+ }
+ }, {
+ "url" : "PID.24",
+ "valueString" : "Y"
+ }, {
+ "url" : "PID.30",
+ "valueString" : "Y"
+ } ]
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueHumanName" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name",
+ "extension" : [ {
+ "url" : "XPN.2",
+ "valueString" : "FHIR"
+ }, {
+ "url" : "XPN.3",
+ "valueString" : "WI"
+ }, {
+ "url" : "XPN.7",
+ "valueString" : "L"
+ } ]
+ } ],
+ "use" : "official",
+ "family" : "Mind",
+ "given" : [ "FHIR", "WI" ]
+ }
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-facility",
+ "valueReference" : {
+ "reference" : "Organization/1727135930888864000.e1e5bb89-81ad-4c17-9e52-232d5522088d"
+ }
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier",
+ "extension" : [ {
+ "url" : "CX.5",
+ "valueString" : "PI"
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PID.3"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "code" : "PI"
+ } ]
+ },
+ "system" : "STARLIMS.CDC.Stag",
+ "_system" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "STARLIMS.CDC.Stag"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "2.16.840.1.114222.4.3.3.2.1.2"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueString" : "ISO"
+ } ]
+ },
+ "value" : "test"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier",
+ "extension" : [ {
+ "url" : "CX.5",
+ "valueString" : "PI"
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PID.3"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "code" : "PI"
+ } ]
+ },
+ "system" : "SPHL-000048",
+ "_system" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "SPHL-000048"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "2.16.840.1.114222.4.1.10765"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueString" : "ISO"
+ } ]
+ },
+ "value" : "PID123"
+ } ],
+ "name" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name",
+ "extension" : [ {
+ "url" : "XPN.2",
+ "valueString" : "HL7"
+ }, {
+ "url" : "XPN.3",
+ "valueString" : "MI"
+ }, {
+ "url" : "XPN.7",
+ "valueString" : "L"
+ } ]
+ } ],
+ "use" : "official",
+ "family" : "Mega",
+ "given" : [ "HL7", "MI" ]
+ } ],
+ "telecom" : [ {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-country",
+ "valueString" : "1"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-area",
+ "valueString" : "713"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-local",
+ "valueString" : "5553861"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-extension",
+ "valueString" : "1"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point",
+ "extension" : [ {
+ "url" : "XTN.1",
+ "valueString" : "12345"
+ }, {
+ "url" : "XTN.2",
+ "valueString" : "PRS"
+ }, {
+ "url" : "XTN.3",
+ "valueString" : "CP"
+ }, {
+ "url" : "XTN.4",
+ "valueString" : "real@example.com"
+ }, {
+ "url" : "XTN.7",
+ "valueString" : "5553861"
+ }, {
+ "url" : "XTN.9",
+ "valueString" : "himom"
+ }, {
+ "url" : "XTN.11",
+ "valueString" : "4"
+ }, {
+ "url" : "XTN.12",
+ "valueString" : "17135553862"
+ } ]
+ } ],
+ "system" : "phone",
+ "value" : "17135553862",
+ "use" : "home"
+ }, {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-country",
+ "valueString" : "1"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-area",
+ "valueString" : "281"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-local",
+ "valueString" : "5553861"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point",
+ "extension" : [ {
+ "url" : "XTN.1",
+ "valueString" : "9865"
+ }, {
+ "url" : "XTN.2",
+ "valueString" : "EMR"
+ }, {
+ "url" : "XTN.3",
+ "valueString" : "SAT"
+ }, {
+ "url" : "XTN.4",
+ "valueString" : "alsoreal@exmaple.com"
+ }, {
+ "url" : "XTN.7",
+ "valueString" : "5553861"
+ } ]
+ } ],
+ "system" : "other",
+ "use" : "work"
+ } ],
+ "gender" : "female",
+ "birthDate" : "1640",
+ "_birthDate" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "1640"
+ } ]
+ },
+ "deceasedDateTime" : "2031",
+ "_deceasedDateTime" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "2031"
+ } ]
+ },
+ "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" : "123 Main St"
+ } ]
+ }, {
+ "url" : "XAD.2",
+ "valueString" : "Altxad"
+ }, {
+ "url" : "XAD.7",
+ "valueCode" : "H"
+ }, {
+ "url" : "XAD.12",
+ "extension" : [ {
+ "url" : "XAD.12.1",
+ "valueString" : "2020"
+ }, {
+ "url" : "XAD.12.2",
+ "valueString" : "2024"
+ } ]
+ } ]
+ } ],
+ "use" : "home",
+ "line" : [ "123 Main St", "Altxad" ],
+ "city" : "AnyTown",
+ "district" : "Thurston County",
+ "state" : "IG",
+ "postalCode" : "95802",
+ "country" : "USA",
+ "period" : {
+ "start" : "2020",
+ "end" : "2024"
+ }
+ } ],
+ "multipleBirthInteger" : 11,
+ "contact" : [ {
+ "extension" : [ {
+ "url" : "https://hl7.org/fhir/StructureDefinition/relationship",
+ "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" : "HL70063"
+ } ],
+ "code" : "OTH",
+ "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" : "L"
+ } ],
+ "system" : "https://terminology.hl7.org/CodeSystem-v2-0396.html#v2-0396-99zzzorL",
+ "code" : "OT",
+ "display" : "OTHER RELATIONSHIP"
+ } ]
+ }
+ } ],
+ "relationship" : [ {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "HL70063"
+ } ],
+ "code" : "OTH",
+ "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" : "L"
+ } ],
+ "system" : "https://terminology.hl7.org/CodeSystem-v2-0396.html#v2-0396-99zzzorL",
+ "code" : "OT",
+ "display" : "OTHER RELATIONSHIP"
+ } ]
+ } ],
+ "name" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name",
+ "extension" : [ {
+ "url" : "XPN.2",
+ "valueString" : "GENARO"
+ }, {
+ "url" : "XPN.3",
+ "valueString" : "GR"
+ }, {
+ "url" : "XPN.14",
+ "valueString" : "Dr"
+ }, {
+ "url" : "XPN.4",
+ "valueString" : "JR"
+ }, {
+ "url" : "XPN.6",
+ "valueString" : "Md"
+ }, {
+ "url" : "XPN.7",
+ "valueString" : "L"
+ }, {
+ "url" : "XPN.8",
+ "valueString" : "I"
+ }, {
+ "url" : "XPN.10",
+ "extension" : [ {
+ "url" : "XPN.10.2",
+ "valueString" : "2030"
+ }, {
+ "url" : "XPN.10.1",
+ "valueString" : "2000"
+ } ]
+ }, {
+ "url" : "XPN.12",
+ "valueString" : "20000501102531"
+ }, {
+ "url" : "XPN.13",
+ "valueString" : "2030501102531"
+ } ]
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order",
+ "valueCode" : "G"
+ } ],
+ "use" : "official",
+ "family" : "SURYAN",
+ "_family" : {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix",
+ "valueString" : "Prefix"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-name",
+ "valueString" : "Own"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix",
+ "valueString" : "SpousePrefix"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-name",
+ "valueString" : "Spouse"
+ } ]
+ },
+ "given" : [ "GENARO", "GR" ],
+ "prefix" : [ "Sir" ],
+ "suffix" : [ "JR", "Md", "Dr" ],
+ "period" : {
+ "start" : "2000-05-01T10:25:31Z"
+ }
+ },
+ "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" : "http://hl7.org/fhir/StructureDefinition/contactpoint-extension",
+ "valueString" : "2"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point",
+ "extension" : [ {
+ "url" : "XTN.2",
+ "valueString" : "PRN"
+ }, {
+ "url" : "XTN.3",
+ "valueString" : "PH"
+ }, {
+ "url" : "XTN.4",
+ "valueString" : "example@exmaple.com"
+ }, {
+ "url" : "XTN.7",
+ "valueString" : "5553954"
+ }, {
+ "url" : "XTN.9",
+ "valueString" : "any"
+ }, {
+ "url" : "XTN.12",
+ "valueString" : "+1 720 555 3954"
+ } ]
+ } ],
+ "system" : "phone",
+ "value" : "+1 720 555 3954",
+ "use" : "home"
+ }, {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-country",
+ "valueString" : "1"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-area",
+ "valueString" : "555"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-local",
+ "valueString" : "4672293"
+ }, {
+ "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" : "4672293"
+ }, {
+ "url" : "XTN.12",
+ "valueString" : "+1 555 467 2293"
+ } ]
+ } ],
+ "system" : "phone",
+ "value" : "+1 555 467 2293",
+ "use" : "work"
+ } ],
+ "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" : "4861 20TH AVE"
+ } ]
+ }, {
+ "url" : "XAD.7",
+ "valueCode" : "H"
+ } ]
+ } ],
+ "use" : "home",
+ "line" : [ "4861 20TH AVE" ],
+ "city" : "THUNDER MOUNTAIN",
+ "state" : "IG",
+ "postalCode" : "99999",
+ "country" : "USA"
+ },
+ "organization" : {
+ "reference" : "Organization/1727135930902326000.03c13a1f-072c-46a7-bb4b-370118853113"
+ },
+ "period" : {
+ "start" : "2022-05-01T10:25:31-04:00",
+ "_start" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20220501102531-0400"
+ } ]
+ },
+ "end" : "2023-05-01T10:25:31-04:00",
+ "_end" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230501102531-0400"
+ } ]
+ }
+ }
+ } ]
+ }
+ }, {
+ "fullUrl" : "Organization/1727135930888864000.e1e5bb89-81ad-4c17-9e52-232d5522088d",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1727135930888864000.e1e5bb89-81ad-4c17-9e52-232d5522088d",
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ } ],
+ "value" : "STARLINKED.CDC.Stag"
+ }, {
+ "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.114222.9.8.7.6.3.2"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Organization/1727135930899193000.70e8c785-84fe-49a5-b282-dad0a7e9a77b",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1727135930899193000.70e8c785-84fe-49a5-b282-dad0a7e9a77b",
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "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"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Organization/1727135930902326000.03c13a1f-072c-46a7-bb4b-370118853113",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1727135930902326000.03c13a1f-072c-46a7-bb4b-370118853113",
+ "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"
+ }, {
+ "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"
+ } ]
+ } ],
+ "use" : "home",
+ "line" : [ "4861 20TH AVE", "#B" ],
+ "city" : "AURORA",
+ "district" : "King",
+ "state" : "IG",
+ "postalCode" : "99999",
+ "country" : "USA",
+ "period" : {
+ "start" : "2020",
+ "end" : "2021"
+ }
+ }
+ } ]
+ }
+ }, {
+ "fullUrl" : "Provenance/1727135930912125000.5b3ce86f-9be7-4ffb-a9a3-d5bc8f6f3a7d",
+ "resource" : {
+ "resourceType" : "Provenance",
+ "id" : "1727135930912125000.5b3ce86f-9be7-4ffb-a9a3-d5bc8f6f3a7d",
+ "target" : [ {
+ "reference" : "Patient/1727135930906262000.ea76d474-07bc-4cb2-ae47-5636f0f98fc1"
+ } ],
+ "occurredDateTime" : "2024-08-21T11:38:00Z",
+ "recorded" : "2024-09-23T16:58:50Z",
+ "activity" : {
+ "coding" : [ {
+ "system" : "https://terminology.hl7.org/CodeSystem/v3-DataOperation",
+ "code" : "UPDATE"
+ } ]
+ },
+ "agent" : [ {
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
+ "code" : "performer"
+ } ]
+ },
+ "who" : {
+ "reference" : "Organization/1727135930911804000.418fb1c7-1c34-49d7-96b4-2dea9aaa2427"
+ }
+ } ]
+ }
+ }, {
+ "fullUrl" : "Organization/1727135930911804000.418fb1c7-1c34-49d7-96b4-2dea9aaa2427",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1727135930911804000.418fb1c7-1c34-49d7-96b4-2dea9aaa2427",
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "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"
+ } ]
+ }
+ }, {
+ "fullUrl" : "RelatedPerson/1727135930916650000.8ab0a6eb-7d2b-4af1-9be0-2e789cccb33b",
+ "resource" : {
+ "resourceType" : "RelatedPerson",
+ "id" : "1727135930916650000.8ab0a6eb-7d2b-4af1-9be0-2e789cccb33b",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
+ "valueString" : "NK1"
+ } ],
+ "patient" : {
+ "reference" : "Patient/1727135930906262000.ea76d474-07bc-4cb2-ae47-5636f0f98fc1"
+ },
+ "relationship" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "NK1.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" : "HL70063"
+ } ],
+ "code" : "OTH",
+ "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" : "L"
+ } ],
+ "system" : "https://terminology.hl7.org/CodeSystem-v2-0396.html#v2-0396-99zzzorL",
+ "code" : "OT",
+ "display" : "OTHER RELATIONSHIP"
+ } ]
+ } ],
+ "name" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "NK1.2"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name",
+ "extension" : [ {
+ "url" : "XPN.2",
+ "valueString" : "GENARO"
+ }, {
+ "url" : "XPN.3",
+ "valueString" : "GR"
+ }, {
+ "url" : "XPN.14",
+ "valueString" : "Dr"
+ }, {
+ "url" : "XPN.4",
+ "valueString" : "JR"
+ }, {
+ "url" : "XPN.6",
+ "valueString" : "Md"
+ }, {
+ "url" : "XPN.7",
+ "valueString" : "L"
+ }, {
+ "url" : "XPN.8",
+ "valueString" : "I"
+ }, {
+ "url" : "XPN.10",
+ "extension" : [ {
+ "url" : "XPN.10.2",
+ "valueString" : "2030"
+ }, {
+ "url" : "XPN.10.1",
+ "valueString" : "2000"
+ } ]
+ }, {
+ "url" : "XPN.12",
+ "valueString" : "20000501102531"
+ }, {
+ "url" : "XPN.13",
+ "valueString" : "2030501102531"
+ } ]
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order",
+ "valueCode" : "G"
+ } ],
+ "use" : "official",
+ "family" : "SURYAN",
+ "_family" : {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix",
+ "valueString" : "Prefix"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-name",
+ "valueString" : "Own"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix",
+ "valueString" : "SpousePrefix"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-name",
+ "valueString" : "Spouse"
+ } ]
+ },
+ "given" : [ "GENARO", "GR" ],
+ "prefix" : [ "Sir" ],
+ "suffix" : [ "JR", "Md", "Dr" ],
+ "period" : {
+ "start" : "2000-05-01T10:25:31Z"
+ }
+ } ],
+ "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" : "http://hl7.org/fhir/StructureDefinition/contactpoint-extension",
+ "valueString" : "2"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point",
+ "extension" : [ {
+ "url" : "XTN.2",
+ "valueString" : "PRN"
+ }, {
+ "url" : "XTN.3",
+ "valueString" : "PH"
+ }, {
+ "url" : "XTN.4",
+ "valueString" : "example@exmaple.com"
+ }, {
+ "url" : "XTN.7",
+ "valueString" : "5553954"
+ }, {
+ "url" : "XTN.9",
+ "valueString" : "any"
+ }, {
+ "url" : "XTN.12",
+ "valueString" : "+1 720 555 3954"
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "NK1.5"
+ } ],
+ "system" : "phone",
+ "value" : "+1 720 555 3954",
+ "use" : "home"
+ }, {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-country",
+ "valueString" : "1"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-area",
+ "valueString" : "555"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-local",
+ "valueString" : "4672293"
+ }, {
+ "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" : "4672293"
+ }, {
+ "url" : "XTN.12",
+ "valueString" : "+1 555 467 2293"
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "NK1.6"
+ } ],
+ "system" : "phone",
+ "value" : "+1 555 467 2293",
+ "use" : "work"
+ }, {
+ "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"
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "NK1.31"
+ } ],
+ "system" : "phone",
+ "value" : "+1 720 555 3954",
+ "use" : "work"
+ } ],
+ "address" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "NK1.4"
+ }, {
+ "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.7",
+ "valueCode" : "H"
+ } ]
+ } ],
+ "use" : "home",
+ "line" : [ "4861 20TH AVE" ],
+ "city" : "THUNDER MOUNTAIN",
+ "state" : "IG",
+ "postalCode" : "99999",
+ "country" : "USA"
+ }, {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract",
+ "valueCode" : "12"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "NK1.32"
+ }, {
+ "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"
+ } ]
+ } ],
+ "use" : "home",
+ "line" : [ "4861 20TH AVE", "#B" ],
+ "city" : "AURORA",
+ "district" : "King",
+ "state" : "IG",
+ "postalCode" : "99999",
+ "country" : "USA",
+ "period" : {
+ "start" : "2020",
+ "end" : "2021"
+ }
+ } ],
+ "period" : {
+ "start" : "2022-05-01T10:25:31-04:00",
+ "_start" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20220501102531-0400"
+ } ]
+ },
+ "end" : "2023-05-01T10:25:31-04:00",
+ "_end" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230501102531-0400"
+ } ]
+ }
+ }
+ }
+ }, {
+ "fullUrl" : "Encounter/1727135930924088000.a87dbe11-c1c3-4713-b55a-e42645a16af1",
+ "resource" : {
+ "resourceType" : "Encounter",
+ "id" : "1727135930924088000.a87dbe11-c1c3-4713-b55a-e42645a16af1",
+ "text" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/pv2-visit-description",
+ "valueString" : "Description"
+ } ],
+ "div" : "Description
"
+ },
+ "status" : "finished",
+ "subject" : {
+ "reference" : "Patient/1727135930906262000.ea76d474-07bc-4cb2-ae47-5636f0f98fc1"
+ },
+ "episodeOfCare" : [ {
+ "reference" : "EpisodeOfCare/1727135930924195000.a1e98160-c5f6-4737-bccd-408b05f2f8e4"
+ } ],
+ "participant" : [ {
+ "type" : [ {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "code" : "ATND",
+ "display" : "attender"
+ } ]
+ } ],
+ "individual" : {
+ "reference" : "Practitioner/1727135930919771000.9661e4fb-9d28-4282-99a8-38ea7fb1e372"
+ }
+ }, {
+ "type" : [ {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "code" : "REF"
+ } ],
+ "text" : "referrer"
+ } ],
+ "individual" : {
+ "reference" : "Practitioner/1727135930920249000.87b8441f-6462-4c72-b6b5-770f6f91117b"
+ }
+ }, {
+ "type" : [ {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "code" : "CON"
+ } ],
+ "text" : "consultant"
+ } ],
+ "individual" : {
+ "reference" : "Practitioner/1727135930921223000.4e3c2fae-23d7-4087-bd98-78aa1a1a0941"
+ }
+ }, {
+ "type" : [ {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "code" : "ADM"
+ } ],
+ "text" : "admitter"
+ } ],
+ "individual" : {
+ "reference" : "Practitioner/1727135930921776000.fd81838a-fdda-421f-bb71-6d780b0b445f"
+ }
+ } ],
+ "period" : {
+ "start" : "2024-08-01T10:25:31-04:00",
+ "_start" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20240801102531-0400"
+ } ]
+ },
+ "end" : "2024-08-01T10:25:31-04:00",
+ "_end" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20240801102531-0400"
+ } ]
+ }
+ },
+ "length" : {
+ "value" : 12,
+ "unit" : "days",
+ "system" : "http://unitsofmeasure.org/",
+ "code" : "d"
+ },
+ "hospitalization" : {
+ "destination" : {
+ "reference" : "Location/1727135930918737000.646cd403-9137-467b-af49-b1da7d5ffe97"
+ }
+ },
+ "location" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PV1.3"
+ } ],
+ "location" : {
+ "reference" : "Location/1727135930922297000.bb8e60f5-2dc2-425d-8b10-779393bd1125"
+ },
+ "status" : "active"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PV1.6"
+ } ],
+ "location" : {
+ "reference" : "Location/1727135930923963000.10316ce9-ece7-41de-a6b4-4610899a4c97"
+ },
+ "status" : "completed"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Location/1727135930918737000.646cd403-9137-467b-af49-b1da7d5ffe97",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1727135930918737000.646cd403-9137-467b-af49-b1da7d5ffe97",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/dld2-effective-date",
+ "valueString" : "202305061200"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Practitioner/1727135930919771000.9661e4fb-9d28-4282-99a8-38ea7fb1e372",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1727135930919771000.9661e4fb-9d28-4282-99a8-38ea7fb1e372",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "Namespace"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "AssigningSystem"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "UUID"
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner",
+ "extension" : [ {
+ "url" : "XCN.3",
+ "valueString" : "LUDWIG"
+ }, {
+ "url" : "XCN.4",
+ "valueString" : "B"
+ }, {
+ "url" : "XCN.21",
+ "valueString" : "MD"
+ }, {
+ "url" : "XCN.5",
+ "valueString" : "2ND"
+ }, {
+ "url" : "XCN.7",
+ "valueString" : "MD"
+ }, {
+ "url" : "XCN.10",
+ "valueString" : "B"
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PV1.7"
+ } ],
+ "identifier" : [ {
+ "type" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
+ "valueBoolean" : true
+ } ],
+ "code" : "DL"
+ } ]
+ },
+ "system" : "Namespace",
+ "value" : "1"
+ } ],
+ "name" : [ {
+ "use" : "official",
+ "family" : "BEETHOVEN",
+ "given" : [ "LUDWIG", "B" ],
+ "prefix" : [ "DR" ],
+ "suffix" : [ "2ND", "MD", "MD" ]
+ } ]
+ }
+ }, {
+ "fullUrl" : "Practitioner/1727135930920249000.87b8441f-6462-4c72-b6b5-770f6f91117b",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1727135930920249000.87b8441f-6462-4c72-b6b5-770f6f91117b",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PV1.8"
+ } ],
+ "identifier" : [ {
+ "value" : "1"
+ } ],
+ "name" : [ {
+ "family" : "MOZART"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Practitioner/1727135930921223000.4e3c2fae-23d7-4087-bd98-78aa1a1a0941",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1727135930921223000.4e3c2fae-23d7-4087-bd98-78aa1a1a0941",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PV1.9"
+ } ],
+ "identifier" : [ {
+ "value" : "1"
+ } ],
+ "name" : [ {
+ "family" : "CHOPIN"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Practitioner/1727135930921776000.fd81838a-fdda-421f-bb71-6d780b0b445f",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1727135930921776000.fd81838a-fdda-421f-bb71-6d780b0b445f",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PV1.17"
+ } ],
+ "identifier" : [ {
+ "value" : "1"
+ } ],
+ "name" : [ {
+ "family" : "BACH"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Location/1727135930922297000.bb8e60f5-2dc2-425d-8b10-779393bd1125",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1727135930922297000.bb8e60f5-2dc2-425d-8b10-779393bd1125",
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ } ],
+ "value" : "Hospital Assigned"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.2,HD.3"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
+ "valueBoolean" : true
+ } ],
+ "code" : "ISO"
+ } ]
+ },
+ "value" : "2.4.4.4"
+ } ],
+ "mode" : "instance",
+ "physicalType" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code" : "si"
+ } ]
+ }
+ }
+ }, {
+ "fullUrl" : "Organization/1727135930923372000.558c518f-125e-4428-8dc2-1e1a0c583287",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1727135930923372000.558c518f-125e-4428-8dc2-1e1a0c583287",
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ } ],
+ "value" : "ASSIGNEE"
+ }, {
+ "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" : "UUID"
+ } ]
+ },
+ "system" : "urn:ietf:rfc:3986",
+ "value" : "222.1111.22222"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Location/1727135930923963000.10316ce9-ece7-41de-a6b4-4610899a4c97",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1727135930923963000.10316ce9-ece7-41de-a6b4-4610899a4c97",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/pl6-person-location-type",
+ "valueString" : "location type"
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ } ],
+ "value" : "Hospital Prio"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.2,HD.3"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
+ "valueBoolean" : true
+ } ],
+ "code" : "ISO"
+ } ]
+ },
+ "value" : "2.4.4.4"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "NAME"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "UNI"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueString" : "ISO"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/ei-assigner-organization-type",
+ "valueString" : "organization"
+ } ],
+ "value" : "Entity ID",
+ "assigner" : {
+ "reference" : "Organization/1727135930923372000.558c518f-125e-4428-8dc2-1e1a0c583287"
+ }
+ } ],
+ "status" : "active",
+ "description" : "Description",
+ "mode" : "instance",
+ "physicalType" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code" : "si"
+ } ]
+ }
+ }
+ }, {
+ "fullUrl" : "EpisodeOfCare/1727135930924195000.a1e98160-c5f6-4737-bccd-408b05f2f8e4",
+ "resource" : {
+ "resourceType" : "EpisodeOfCare",
+ "id" : "1727135930924195000.a1e98160-c5f6-4737-bccd-408b05f2f8e4",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PV1.54"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Observation/1727135931054889000.879549dc-018b-47c0-9e9d-a3761a3ea06d",
+ "resource" : {
+ "resourceType" : "Observation",
+ "id" : "1727135931054889000.879549dc-018b-47c0-9e9d-a3761a3ea06d",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
+ "valueString" : "subid"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/analysis-date-time",
+ "valueDateTime" : "2023-09-12T18:08:02-04:00",
+ "_valueDateTime" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230912180802-0400"
+ } ]
+ }
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
+ "extension" : [ {
+ "url" : "OBX.2",
+ "valueId" : "CWE"
+ }, {
+ "url" : "OBX.29",
+ "valueId" : "QST"
+ }, {
+ "url" : "OBX.11",
+ "valueString" : "F"
+ }, {
+ "url" : "OBX.18",
+ "valueReference" : {
+ "reference" : "Device/1727135931053992000.f372c9ef-a682-4265-b6e7-336c3bbcfb1f"
+ }
+ } ]
+ } ],
+ "status" : "final",
+ "subject" : {
+ "reference" : "Patient/1727135930906262000.ea76d474-07bc-4cb2-ae47-5636f0f98fc1"
+ },
+ "encounter" : {
+ "reference" : "Encounter/1727135930924088000.a87dbe11-c1c3-4713-b55a-e42645a16af1"
+ },
+ "effectiveDateTime" : "2023-01-01T00:00:00Z",
+ "_effectiveDateTime" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230101000000"
+ } ]
+ },
+ "performer" : [ {
+ "reference" : "PractitionerRole/1727135931055103000.5d95dbb5-68f8-45d7-a9cb-9cf514fb474d"
+ }, {
+ "reference" : "PractitionerRole/1727135931055670000.0cf79842-b57f-4148-820c-bfd8890c386c"
+ } ],
+ "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" : "SCT"
+ } ],
+ "system" : "http://snomed.info/sct",
+ "code" : "260415000",
+ "display" : "Not detected"
+ } ]
+ },
+ "note" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/nte-annotation",
+ "extension" : [ {
+ "url" : "NTE.2",
+ "valueId" : "L"
+ }, {
+ "url" : "NTE.7",
+ "valueString" : "20230202"
+ }, {
+ "url" : "NTE.8",
+ "valueString" : "20230203"
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/note-comment",
+ "valueId" : "OBX Note"
+ } ],
+ "time" : "2023-02-01",
+ "_time" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230201"
+ } ]
+ },
+ "text" : "OBX Note"
+ } ],
+ "device" : {
+ "reference" : "Device/1727135931057583000.c23124e0-ba86-4fa4-96df-76637baf2819"
+ },
+ "referenceRange" : [ {
+ "text" : "range of a few"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Device/1727135931053992000.f372c9ef-a682-4265-b6e7-336c3bbcfb1f",
+ "resource" : {
+ "resourceType" : "Device",
+ "id" : "1727135931053992000.f372c9ef-a682-4265-b6e7-336c3bbcfb1f",
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "SPTRDEV-001"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "2.17.840"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ]
+ } ],
+ "value" : "Device 001"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Practitioner/1727135931055483000.06a2880c-0745-46c4-866b-fa31e006748b",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1727135931055483000.06a2880c-0745-46c4-866b-fa31e006748b",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner",
+ "extension" : [ {
+ "url" : "XCN.3",
+ "valueString" : "Quinlen"
+ } ]
+ } ],
+ "identifier" : [ {
+ "value" : "1"
+ } ],
+ "name" : [ {
+ "family" : "Frances",
+ "given" : [ "Quinlen" ]
+ } ]
+ }
+ }, {
+ "fullUrl" : "PractitionerRole/1727135931055103000.5d95dbb5-68f8-45d7-a9cb-9cf514fb474d",
+ "resource" : {
+ "resourceType" : "PractitionerRole",
+ "id" : "1727135931055103000.5d95dbb5-68f8-45d7-a9cb-9cf514fb474d",
+ "practitioner" : {
+ "reference" : "Practitioner/1727135931055483000.06a2880c-0745-46c4-866b-fa31e006748b"
+ },
+ "code" : [ {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/practitioner-role",
+ "code" : "responsibleObserver"
+ } ]
+ } ]
+ }
+ }, {
+ "fullUrl" : "Practitioner/1727135931056021000.2377666f-d18e-431d-b78b-edc1924717b4",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1727135931056021000.2377666f-d18e-431d-b78b-edc1924717b4",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner",
+ "extension" : [ {
+ "url" : "XCN.3",
+ "valueString" : "Quinlen"
+ } ]
+ } ],
+ "identifier" : [ {
+ "value" : "1"
+ } ],
+ "name" : [ {
+ "family" : "Mark",
+ "given" : [ "Quinlen" ]
+ } ]
+ }
+ }, {
+ "fullUrl" : "Organization/1727135931056698000.d1417f8c-8db8-41a5-b2bf-a762277994cb",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1727135931056698000.d1417f8c-8db8-41a5-b2bf-a762277994cb",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization",
+ "extension" : [ {
+ "url" : "XON.10",
+ "valueString" : "11D1111111"
+ } ]
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "CLIA"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "2.16.840.1.113883.4.7"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ]
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "XX"
+ } ]
+ },
+ "value" : "11D1111111"
+ } ],
+ "name" : "CSV uploads-11D1111111",
+ "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" : "2 Second Dr"
+ } ]
+ } ]
+ } ],
+ "line" : [ "2 Second Dr" ],
+ "state" : "IG",
+ "postalCode" : "94553",
+ "country" : "USA"
+ } ]
+ }
+ }, {
+ "fullUrl" : "PractitionerRole/1727135931055670000.0cf79842-b57f-4148-820c-bfd8890c386c",
+ "resource" : {
+ "resourceType" : "PractitionerRole",
+ "id" : "1727135931055670000.0cf79842-b57f-4148-820c-bfd8890c386c",
+ "practitioner" : {
+ "reference" : "Practitioner/1727135931056021000.2377666f-d18e-431d-b78b-edc1924717b4"
+ },
+ "organization" : {
+ "reference" : "Organization/1727135931056698000.d1417f8c-8db8-41a5-b2bf-a762277994cb"
+ },
+ "code" : [ {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0912",
+ "code" : "MDIR"
+ } ]
+ } ]
+ }
+ }, {
+ "fullUrl" : "Device/1727135931057583000.c23124e0-ba86-4fa4-96df-76637baf2819",
+ "resource" : {
+ "resourceType" : "Device",
+ "id" : "1727135931057583000.c23124e0-ba86-4fa4-96df-76637baf2819",
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "SPTRDEV-001"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "2.17.840"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ]
+ } ],
+ "value" : "Device 001"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Specimen/1727135931059633000.93a14262-50f1-4463-be16-524a1bc18a5e",
+ "resource" : {
+ "resourceType" : "Specimen",
+ "id" : "1727135931059633000.93a14262-50f1-4463-be16-524a1bc18a5e",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
+ "valueString" : "OBR"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Specimen/1727135931063598000.b9d9dbb1-b5b6-4cd7-8101-42b82705b282",
+ "resource" : {
+ "resourceType" : "Specimen",
+ "id" : "1727135931063598000.b9d9dbb1-b5b6-4cd7-8101-42b82705b282",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
+ "valueString" : "SPM"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/spm-specimen",
+ "extension" : [ {
+ "url" : "SPM.26",
+ "valueString" : "2"
+ }, {
+ "url" : "SPM.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" : "SCT"
+ } ],
+ "system" : "http://snomed.info/sct",
+ "version" : "2.67",
+ "code" : "440500007",
+ "display" : "SNOMEDTEXT"
+ }, {
+ "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",
+ "code" : "12345-6",
+ "display" : "LOINCTEXT"
+ } ]
+ }
+ }, {
+ "url" : "SPM.6",
+ "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" : "SCT"
+ } ],
+ "system" : "http://snomed.info/sct",
+ "version" : "2.67",
+ "code" : "440500007",
+ "display" : "SNOMEDTEXT"
+ }, {
+ "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",
+ "code" : "12345-6",
+ "display" : "LOINCTEXT"
+ } ]
+ }
+ }, {
+ "url" : "SPM.6",
+ "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" : "SCT"
+ } ],
+ "system" : "http://snomed.info/sct",
+ "version" : "2.67",
+ "code" : "440500007",
+ "display" : "SNOMEDTEXT"
+ }, {
+ "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",
+ "code" : "12345-6",
+ "display" : "LOINCTEXT"
+ } ]
+ }
+ }, {
+ "url" : "SPM.11",
+ "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" : "SCT"
+ } ],
+ "system" : "http://snomed.info/sct",
+ "version" : "2.67",
+ "code" : "440500007",
+ "display" : "SNOMEDTEXT"
+ }, {
+ "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",
+ "code" : "12345-6",
+ "display" : "LOINCTEXT"
+ } ]
+ }
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/reject-reason",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "440500007",
+ "display" : "SNOMEDTEXT"
+ } ]
+ }
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "Any lab USA-p"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "36D1332559-p"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueString" : "CLIA-p"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/filler-assigned-identifier",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/entity-identifier",
+ "valueString" : "380604-s"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "Any lab USA-s"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "36D1332559-s"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueString" : "CLIA-s"
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Component",
+ "valueString" : "SPM.2.1"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "PGN"
+ } ]
+ },
+ "value" : "380604-p"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "Any lab USA-s"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "36D1332559-s"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueString" : "CLIA-s"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/placer-assigned-identifier",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/entity-identifier",
+ "valueString" : "380604-p"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "Any lab USA-p"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "36D1332559-p"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueString" : "CLIA-p"
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Component",
+ "valueString" : "SPM.2.2"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "FGN"
+ } ]
+ },
+ "value" : "380604-s"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "SCT"
+ } ],
+ "system" : "http://snomed.info/sct",
+ "version" : "2.67",
+ "code" : "440500007",
+ "display" : "SNOMEDTEXT"
+ }, {
+ "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",
+ "code" : "12345-6",
+ "display" : "LOINCTEXT"
+ } ]
+ },
+ "receivedTime" : "2021-06-04T11:25:06Z",
+ "_receivedTime" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20210604112506+0000"
+ } ]
+ },
+ "collection" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/bodySiteModifier",
+ "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" : "SCT"
+ } ],
+ "system" : "http://snomed.info/sct",
+ "version" : "2.67",
+ "code" : "440500007",
+ "display" : "SNOMEDTEXT"
+ }, {
+ "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",
+ "code" : "12345-6",
+ "display" : "LOINCTEXT"
+ } ]
+ }
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/bodySiteModifier",
+ "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" : "SCT"
+ } ],
+ "system" : "http://snomed.info/sct",
+ "version" : "2.67",
+ "code" : "440500007",
+ "display" : "SNOMEDTEXT"
+ }, {
+ "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",
+ "code" : "12345-6",
+ "display" : "LOINCTEXT"
+ } ]
+ }
+ } ],
+ "collectedPeriod" : {
+ "start" : "2021-06-04T11:25:00Z",
+ "_start" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20210604112500+0000"
+ } ]
+ },
+ "end" : "2021-06-04T11:25:01Z",
+ "_end" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20210604112501+0000"
+ } ]
+ }
+ },
+ "quantity" : {
+ "value" : 1
+ },
+ "method" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "SCT"
+ } ],
+ "system" : "http://snomed.info/sct",
+ "version" : "2.67",
+ "code" : "440500007",
+ "display" : "SNOMEDTEXT"
+ }, {
+ "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",
+ "code" : "12345-6",
+ "display" : "LOINCTEXT"
+ } ]
+ },
+ "bodySite" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "SCT"
+ } ],
+ "system" : "http://snomed.info/sct",
+ "version" : "2020-09-01",
+ "code" : "71836000",
+ "display" : "Nasopharyngeal structure (body structure)"
+ } ]
+ }
+ },
+ "container" : [ {
+ "type" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "SCT"
+ } ],
+ "system" : "http://snomed.info/sct",
+ "version" : "2.67",
+ "code" : "440500007",
+ "display" : "SNOMEDTEXT"
+ }, {
+ "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",
+ "code" : "12345-6",
+ "display" : "LOINCTEXT"
+ } ]
+ },
+ "additiveCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "SCT"
+ } ],
+ "system" : "http://snomed.info/sct",
+ "version" : "2.67",
+ "code" : "440500007",
+ "display" : "SNOMEDTEXT"
+ }, {
+ "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",
+ "code" : "12345-6",
+ "display" : "LOINCTEXT"
+ } ]
+ }
+ } ],
+ "condition" : [ {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "SCT"
+ } ],
+ "system" : "http://snomed.info/sct",
+ "version" : "2.67",
+ "code" : "440500007",
+ "display" : "SNOMEDTEXT"
+ }, {
+ "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",
+ "code" : "12345-6",
+ "display" : "LOINCTEXT"
+ } ]
+ } ],
+ "note" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "SPM.14"
+ } ],
+ "text" : "TEST"
+ } ]
+ }
+ }, {
+ "fullUrl" : "ServiceRequest/1727135931070894000.c6da959b-a0b1-4eaf-98fe-482d0ed3f1c9",
+ "resource" : {
+ "resourceType" : "ServiceRequest",
+ "id" : "1727135931070894000.c6da959b-a0b1-4eaf-98fe-482d0ed3f1c9",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/business-event",
+ "valueCode" : "RE"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/business-event",
+ "valueString" : "20230725"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/orc-common-order",
+ "extension" : [ {
+ "url" : "ORC.5",
+ "valueString" : "CM"
+ }, {
+ "url" : "orc-21-ordering-facility-name",
+ "valueReference" : {
+ "reference" : "Organization/1727135931069957000.71c19ffa-5756-45ab-9871-3441324a6a5c"
+ }
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obr-observation-request",
+ "extension" : [ {
+ "url" : "OBR.2",
+ "valueIdentifier" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "Placer Identifier Namespace"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "Placer Universal ID"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ]
+ } ],
+ "value" : "Placer Identifier"
+ }
+ } ]
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "ORC.2"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "SPHL-000048"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "2.16.840.1.114222.4.1.10765"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ]
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "PLAC"
+ } ]
+ },
+ "value" : "Specimen123"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "OBR.3"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "Filler Identifier Namespace"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "Filler Universal ID"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ]
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "FILL"
+ } ]
+ },
+ "value" : "Filler Identifier"
+ } ],
+ "status" : "completed",
+ "subject" : {
+ "reference" : "Patient/1727135930906262000.ea76d474-07bc-4cb2-ae47-5636f0f98fc1"
+ },
+ "requester" : {
+ "reference" : "PractitionerRole/1727135931066802000.c0bfe9b7-bd2c-4733-92f0-a4070369a8bb"
+ },
+ "supportingInfo" : [ {
+ "reference" : "Observation/1727135931054889000.879549dc-018b-47c0-9e9d-a3761a3ea06d"
+ } ],
+ "specimen" : [ {
+ "reference" : "Specimen/1727135931063598000.b9d9dbb1-b5b6-4cd7-8101-42b82705b282"
+ }, {
+ "reference" : "Specimen/1727135931059633000.93a14262-50f1-4463-be16-524a1bc18a5e"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Location/1727135931067673000.a9013169-6a2b-43b5-808f-85bfde0f8796",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1727135931067673000.a9013169-6a2b-43b5-808f-85bfde0f8796",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ],
+ "identifier" : [ {
+ "value" : "2.16.840.1.114222.8.7.6.5.4.1"
+ } ],
+ "name" : "STARLINKS.CDC.Stag",
+ "physicalType" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code" : "si"
+ } ]
+ }
+ }
+ }, {
+ "fullUrl" : "Organization/1727135931068013000.3ee86f89-b9b0-4ffd-a206-d1dd46aa9949",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1727135931068013000.3ee86f89-b9b0-4ffd-a206-d1dd46aa9949",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code",
+ "valueString" : "A"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization",
+ "extension" : [ {
+ "url" : "XON.10",
+ "valueString" : "SPHL-000048"
+ } ]
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "STARLIMS.CDC.Stag"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "2.16.840.1.114222.4.3.3.2.1.2"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location",
+ "valueReference" : {
+ "reference" : "Location/1727135931067673000.a9013169-6a2b-43b5-808f-85bfde0f8796"
+ }
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "XX"
+ } ]
+ },
+ "value" : "SPHL-000048"
+ } ],
+ "name" : "CDPH, Viral and Rickettsial Disease Laboratory"
+ }
+ }, {
+ "fullUrl" : "PractitionerRole/1727135931066802000.c0bfe9b7-bd2c-4733-92f0-a4070369a8bb",
+ "resource" : {
+ "resourceType" : "PractitionerRole",
+ "id" : "1727135931066802000.c0bfe9b7-bd2c-4733-92f0-a4070369a8bb",
+ "organization" : {
+ "reference" : "Organization/1727135931068013000.3ee86f89-b9b0-4ffd-a206-d1dd46aa9949"
+ }
+ }
+ }, {
+ "fullUrl" : "Location/1727135931069695000.7de98016-9ca2-41fa-ae43-f5bdb93709a5",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1727135931069695000.7de98016-9ca2-41fa-ae43-f5bdb93709a5",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ],
+ "identifier" : [ {
+ "value" : "2.16.840.1.114222.8.7.6.5.4.1"
+ } ],
+ "name" : "STARLINKS.CDC.Stag",
+ "physicalType" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code" : "si"
+ } ]
+ }
+ }
+ }, {
+ "fullUrl" : "Organization/1727135931069957000.71c19ffa-5756-45ab-9871-3441324a6a5c",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1727135931069957000.71c19ffa-5756-45ab-9871-3441324a6a5c",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code",
+ "valueString" : "A"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization",
+ "extension" : [ {
+ "url" : "XON.10",
+ "valueString" : "SPHL-000048"
+ } ]
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "STARLIMS.CDC.Stag"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "2.16.840.1.114222.4.3.3.2.1.2"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location",
+ "valueReference" : {
+ "reference" : "Location/1727135931069695000.7de98016-9ca2-41fa-ae43-f5bdb93709a5"
+ }
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "XX"
+ } ]
+ },
+ "value" : "SPHL-000048"
+ } ],
+ "name" : "CDPH, Viral and Rickettsial Disease Laboratory"
+ }
+ } ]
+}
\ No newline at end of file
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
new file mode 100644
index 00000000000..42a140f28e6
--- /dev/null
+++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/omlo21/oml_o21-full.hl7
@@ -0,0 +1,11 @@
+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||UNICODE UTF-16|PHLabReport-NoAck^PHIN^2.16.840.1.113883.9.11^ISO
+SFT|CDC^^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||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~PID123^^^SPHL-000048&2.16.840.1.114222.4.1.10765&ISO^PI||Mega^HL7^MI^^^^L|Mind^FHIR^WI^^^^L|1640|F|||123 Main St^Altxad^AnyTown^IG^95802^USA^H^^Thurston County^^^2020&2024||12345^PRS^CP^real@example.com^1^713^5553861^1^himom^^4^17135553862|9865^EMR^SAT^alsoreal@exmaple.com^1^281^5553861||||||||||Y|11||||2031|Y|||202408211138|RSDT^0.0.0.1.1138^ISO
+NK1|1|SURYAN&Prefix&Own&SpousePrefix&Spouse^GENARO^GR^JR^Sir^Md^L^I^^2000&2030^G^20000501102531^2030501102531^Dr|OTH^Other^HL70063^OT^OTHER RELATIONSHIP^L|4861 20TH AVE^^THUNDER MOUNTAIN^IG^99999^USA^H|^PRN^PH^example@exmaple.com^1^720^5553954^2^any^^^+1 720 555 3954|^WPN^PH^^1^555^4672293^^^^^+1 555 467 2293||20220501102531-0400|20230501102531-0400||||||||||||||||||||||^WPN^PH^^1^720^5553954^^^^^+1 720 555 3954|4861 20TH AVE^#B^AURORA^IG^99999^USA^H^World^King^12^8^2017&2025^2020^2021
+PV1|1||^^^Hospital Assigned&2.4.4.4&ISO|||^^^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||||||||1^BACH||||||||||||||||||||^202305061200|||||||20240801102531-0400|20240801102531-0400
+PV2|||||||||||12|Description
+ORC|RE|Specimen123^SPHL-000048^2.16.840.1.114222.4.1.10765^ISO|||CM||||20230725||||||||||||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
+OBR|1|Placer Identifier^Placer Identifier Namespace^Placer Universal ID^ISO|Filler Identifier^Filler Identifier Namespace^Filler Universal ID^ISO
+OBX|1|CWE||subid|260415000^Not detected^SCT||range of a few||||F|||20230101000000||1^Frances^Quinlen||Device 001^SPTRDEV-001^2.17.840^ISO|20230912180802-0400||||CSV uploads-11D1111111^^^^^CLIA&2.16.840.1.113883.4.7&ISO^XX^^^11D1111111|2 Second Dr^^^IG^94553^USA|1^Mark^Quinlen||||QST
+NTE|1|L|OBX Note|||20230201|20230202|20230203
+SPM|1|380604-p&Any lab USA-p&36D1332559-p&CLIA-p^380604-s&Any lab USA-s&36D1332559-s&CLIA-s||440500007^SNOMEDTEXT^SCT^12345-6^LOINCTEXT^LN^2.67|440500007^SNOMEDTEXT^SCT^12345-6^LOINCTEXT^LN^2.67|440500007^SNOMEDTEXT^SCT^12345-6^LOINCTEXT^LN^2.67~440500007^SNOMEDTEXT^SCT^12345-6^LOINCTEXT^LN^2.67|440500007^SNOMEDTEXT^SCT^12345-6^LOINCTEXT^LN^2.67|71836000^Nasopharyngeal structure (body structure)^SCT^^^^2020-09-01|440500007^SNOMEDTEXT^SCT^12345-6^LOINCTEXT^LN^2.67~440500007^SNOMEDTEXT^SCT^12345-6^LOINCTEXT^LN^2.67||440500007^SNOMEDTEXT^SCT^12345-6^LOINCTEXT^LN^2.67|1||TEST|||20210604112500+0000^20210604112501+0000|20210604112506+0000|||440500007^SNOMEDTEXT|||440500007^SNOMEDTEXT^SCT^12345-6^LOINCTEXT^LN^2.67||2|440500007^SNOMEDTEXT^SCT^12345-6^LOINCTEXT^LN^2.67
diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-OML-message.fhir b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-OML-message.fhir
new file mode 100644
index 00000000000..8d4c683eff0
--- /dev/null
+++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-OML-message.fhir
@@ -0,0 +1,228 @@
+{
+ "resourceType" : "Bundle",
+ "id" : "1727210895046302000.c01043d3-a2b8-4165-8144-3a89a21e51af",
+ "meta" : {
+ "lastUpdated" : "2024-09-24T13:48:15.051-07:00"
+ },
+ "identifier" : {
+ "system" : "https://reportstream.cdc.gov/prime-router",
+ "value" : "20230816123358"
+ },
+ "type" : "message",
+ "timestamp" : "2023-08-16T10:33:58.000-07:00",
+ "entry" : [ {
+ "fullUrl" : "MessageHeader/1727210895080407000.40c797c7-32d1-40c7-bed8-d6b80027825b",
+ "resource" : {
+ "resourceType" : "MessageHeader",
+ "id" : "1727210895080407000.40c797c7-32d1-40c7-bed8-d6b80027825b",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/encoding-characters",
+ "valueString" : "^~\\"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/msh-message-header",
+ "extension" : [ {
+ "url" : "MSH.7",
+ "valueString" : "20230816123358-0500"
+ } ]
+ } ],
+ "eventCoding" : {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "code" : "O21",
+ "display" : "OML^O21^OML_O21"
+ }
+ }
+ }, {
+ "fullUrl" : "Provenance/1727210895309749000.363e82c1-2a17-4dac-a51a-bcfebaedfbc4",
+ "resource" : {
+ "resourceType" : "Provenance",
+ "id" : "1727210895309749000.363e82c1-2a17-4dac-a51a-bcfebaedfbc4",
+ "recorded" : "2023-08-16T12:33:58-05:00",
+ "activity" : {
+ "coding" : [ {
+ "display" : "OML^O21^OML_O21"
+ } ]
+ }
+ }
+ }, {
+ "fullUrl" : "Provenance/1727210895317838000.2502e208-a7b7-4295-9285-d6b562b5f2cf",
+ "resource" : {
+ "resourceType" : "Provenance",
+ "id" : "1727210895317838000.2502e208-a7b7-4295-9285-d6b562b5f2cf",
+ "recorded" : "2024-09-24T13:48:15Z",
+ "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/1727210895317355000.6a6cbbc8-59f8-4d58-b882-b65c759b13e7"
+ }
+ } ]
+ }
+ }, {
+ "fullUrl" : "Organization/1727210895317355000.6a6cbbc8-59f8-4d58-b882-b65c759b13e7",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1727210895317355000.6a6cbbc8-59f8-4d58-b882-b65c759b13e7",
+ "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/1727210895326568000.0cebae00-092c-4429-90d1-bbef9f505ed5",
+ "resource" : {
+ "resourceType" : "Patient",
+ "id" : "1727210895326568000.0cebae00-092c-4429-90d1-bbef9f505ed5"
+ }
+ }, {
+ "fullUrl" : "Provenance/1727210895327024000.4fbda015-793f-40cc-a1e9-a1eb6a5daf3f",
+ "resource" : {
+ "resourceType" : "Provenance",
+ "id" : "1727210895327024000.4fbda015-793f-40cc-a1e9-a1eb6a5daf3f",
+ "target" : [ {
+ "reference" : "Patient/1727210895326568000.0cebae00-092c-4429-90d1-bbef9f505ed5"
+ } ],
+ "recorded" : "2024-09-24T13:48:15Z",
+ "activity" : {
+ "coding" : [ {
+ "system" : "https://terminology.hl7.org/CodeSystem/v3-DataOperation",
+ "code" : "UPDATE"
+ } ]
+ }
+ }
+ }, {
+ "fullUrl" : "Observation/1727210895329920000.4cf57284-e02c-48cd-aab9-1deda683c63e",
+ "resource" : {
+ "resourceType" : "Observation",
+ "id" : "1727210895329920000.4cf57284-e02c-48cd-aab9-1deda683c63e",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
+ "extension" : [ {
+ "url" : "OBX.2",
+ "valueId" : "CWE"
+ }, {
+ "url" : "OBX.11",
+ "valueString" : "F"
+ } ]
+ } ],
+ "status" : "final",
+ "subject" : {
+ "reference" : "Patient/1727210895326568000.0cebae00-092c-4429-90d1-bbef9f505ed5"
+ },
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "display" : "Observation Value"
+ } ]
+ }
+ }
+ }, {
+ "fullUrl" : "Specimen/1727210895439549000.0c149441-634a-4604-b88f-9ee78d57c4e4",
+ "resource" : {
+ "resourceType" : "Specimen",
+ "id" : "1727210895439549000.0c149441-634a-4604-b88f-9ee78d57c4e4",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
+ "valueString" : "OBR"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Specimen/1727210895441860000.08158d26-3a5e-4015-a193-d6a193dc2567",
+ "resource" : {
+ "resourceType" : "Specimen",
+ "id" : "1727210895441860000.08158d26-3a5e-4015-a193-d6a193dc2567",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
+ "valueString" : "SPM"
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "Placer Assigned Identifier"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Component",
+ "valueString" : "SPM.2.1"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "PGN"
+ } ]
+ }
+ } ],
+ "collection" : {
+ "bodySite" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "display" : "Specimen Source Site"
+ } ]
+ }
+ }
+ }
+ }, {
+ "fullUrl" : "ServiceRequest/1727210895444883000.cf6a4628-3c45-49be-b512-2746edc3c508",
+ "resource" : {
+ "resourceType" : "ServiceRequest",
+ "id" : "1727210895444883000.cf6a4628-3c45-49be-b512-2746edc3c508",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/business-event",
+ "valueCode" : "RE"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obr-observation-request",
+ "extension" : [ {
+ "url" : "OBR.2",
+ "valueIdentifier" : {
+ "value" : "Placer Identifier"
+ }
+ } ]
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "ORC.2"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "PLAC"
+ } ]
+ },
+ "value" : "ORC Placer Identifier"
+ } ],
+ "status" : "unknown",
+ "subject" : {
+ "reference" : "Patient/1727210895326568000.0cebae00-092c-4429-90d1-bbef9f505ed5"
+ },
+ "supportingInfo" : [ {
+ "reference" : "Observation/1727210895329920000.4cf57284-e02c-48cd-aab9-1deda683c63e"
+ } ],
+ "specimen" : [ {
+ "reference" : "Specimen/1727210895441860000.08158d26-3a5e-4015-a193-d6a193dc2567"
+ }, {
+ "reference" : "Specimen/1727210895439549000.0c149441-634a-4604-b88f-9ee78d57c4e4"
+ } ]
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-OML-message.hl7 b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-OML-message.hl7
new file mode 100644
index 00000000000..cbba0348297
--- /dev/null
+++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-OML-message.hl7
@@ -0,0 +1,6 @@
+MSH|^~\|||||20230816123358-0500||OML^O21^OML_O21|20230816123358||2.5.1
+PID|1
+ORC|RE|ORC Placer Identifier
+OBR|1|Placer Identifier
+OBX|1|CWE|||^Observation Value||||||F
+SPM|1|&Placer Assigned Identifier||||||^Specimen Source Site
diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr-populated.fhir b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr-populated.fhir
index d86386bb0fd..68061ce8e8c 100644
--- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr-populated.fhir
+++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr-populated.fhir
@@ -156,6 +156,31 @@
"valueString" : "OBR"
}
],
+ "collection" : {
+ "collector" : {
+ "reference" : "Practitioner/1727307988977002000.0a18791e-84bf-45ca-9e55-433f4a5954e0"
+ },
+ "collectedPeriod" : {
+ "start" : "2023-08-16T12:33:58-05:00",
+ "_start" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230816123358-0500"
+ }
+ ]
+ },
+ "end" : "2023-09-16T12:33:58-05:00",
+ "_end" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230916123358-0500"
+ }
+ ]
+ }
+ }
+ },
"note" : [
{
"extension" : [
@@ -205,7 +230,214 @@
}
},
{
- "fullUrl" : "ServiceRequest/1716961316869011000.096b7105-6f01-44d4-b57c-ca2e7dfe9cfc",
+ "fullUrl" : "Practitioner/1727307988977002000.0a18791e-84bf-45ca-9e55-433f4a5954e0",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1727307988977002000.0a18791e-84bf-45ca-9e55-433f4a5954e0",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "AssigningSystem"
+ },
+ {
+ "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" : "LUDWIG"
+ },
+ {
+ "url" : "XCN.4",
+ "valueString" : "B"
+ },
+ {
+ "url" : "XCN.20",
+ "valueString" : "20230501102531-0400"
+ },
+ {
+ "url" : "XCN.21",
+ "valueString" : "MD"
+ },
+ {
+ "url" : "XCN.22",
+ "valueCodeableConcept" : {
+ "coding" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }
+ ],
+ "code" : "AssignJ"
+ }
+ ]
+ }
+ },
+ {
+ "url" : "XCN.23",
+ "valueCodeableConcept" : {
+ "coding" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }
+ ],
+ "code" : "AssignA"
+ }
+ ]
+ }
+ },
+ {
+ "url" : "XCN.5",
+ "valueString" : "2ND"
+ },
+ {
+ "url" : "XCN.7",
+ "valueString" : "MD"
+ },
+ {
+ "url" : "XCN.8",
+ "valueCodeableConcept" : {
+ "coding" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }
+ ],
+ "code" : "SRC"
+ }
+ ]
+ }
+ },
+ {
+ "url" : "XCN.10",
+ "valueString" : "B"
+ },
+ {
+ "url" : "XCN.15",
+ "valueString" : "A"
+ },
+ {
+ "url" : "XCN.16",
+ "valueCodeableConcept" : {
+ "coding" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }
+ ],
+ "code" : "NameContext"
+ }
+ ]
+ }
+ },
+ {
+ "url" : "XCN.19",
+ "valueString" : "20220501102531-0400"
+ }
+ ]
+ }
+ ],
+ "identifier" : [
+ {
+ "extension" : [
+ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit",
+ "valueString" : "A"
+ },
+ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit",
+ "valueCode" : "NPI"
+ }
+ ],
+ "type" : {
+ "coding" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
+ "valueBoolean" : true
+ }
+ ],
+ "code" : "DL"
+ }
+ ]
+ },
+ "system" : "urn:oid:AssigningSystem",
+ "value" : "1"
+ }
+ ],
+ "name" : [
+ {
+ "extension" : [
+ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order",
+ "valueCode" : "G"
+ }
+ ],
+ "use" : "official",
+ "family" : "Collector",
+ "_family" : {
+ "extension" : [
+ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix",
+ "valueString" : "VAN"
+ },
+ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-name",
+ "valueString" : "Identifier"
+ },
+ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix",
+ "valueString" : "VAL"
+ },
+ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-name",
+ "valueString" : "ROGER"
+ }
+ ]
+ },
+ "given" : [
+ "LUDWIG",
+ "B"
+ ],
+ "prefix" : [
+ "DR"
+ ],
+ "suffix" : [
+ "2ND",
+ "MD",
+ "MD"
+ ],
+ "period" : {
+ "start" : "2022-05-01T10:25:31-04:00",
+ "end" : "2023-05-01T10:25:31-04:00"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "fullUrl" : "ServiceRequest/1727307989120333000.e424bf5a-9a96-4b07-8354-c9f7eed60475",
"resource" : {
"resourceType" : "ServiceRequest",
"id" : "1716961316869011000.096b7105-6f01-44d4-b57c-ca2e7dfe9cfc",
@@ -3042,7 +3274,7 @@
],
"basedOn" : [
{
- "reference" : "ServiceRequest/1716961316869011000.096b7105-6f01-44d4-b57c-ca2e7dfe9cfc"
+ "reference" : "ServiceRequest/1727307989120333000.e424bf5a-9a96-4b07-8354-c9f7eed60475"
}
],
"status" : "final",
diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr25-not-mapped.fhir b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr25-not-mapped.fhir
index d38884bd48f..acd56095ddf 100644
--- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr25-not-mapped.fhir
+++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr25-not-mapped.fhir
@@ -119,7 +119,16 @@
"extension" : [ {
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
"valueString" : "OBR"
- } ]
+ } ],
+ "collection" : {
+ "collectedDateTime" : "2023-08-16T12:33:58-05:00",
+ "_collectedDateTime" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230816123358-0500"
+ } ]
+ }
+ }
}
}, {
"fullUrl" : "ServiceRequest/1722987602982733000.e8242c5b-b8be-42d7-acd2-3d1eabe25403",
diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr25-obrext-not-populated.fhir b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr25-obrext-not-populated.fhir
index c3b2e90918a..fc493c10936 100644
--- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr25-obrext-not-populated.fhir
+++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr25-obrext-not-populated.fhir
@@ -119,7 +119,16 @@
"extension" : [ {
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
"valueString" : "OBR"
- } ]
+ } ],
+ "collection" : {
+ "collectedDateTime" : "2023-08-16T12:33:58-05:00",
+ "_collectedDateTime" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230816123358-0500"
+ } ]
+ }
+ }
}
}, {
"fullUrl" : "ServiceRequest/1722987602982733000.e8242c5b-b8be-42d7-acd2-3d1eabe25403",
diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr25.fhir b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr25.fhir
index 1ac0cce1c41..6bbe487885a 100644
--- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr25.fhir
+++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr25.fhir
@@ -119,7 +119,16 @@
"extension" : [ {
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
"valueString" : "OBR"
- } ]
+ } ],
+ "collection" : {
+ "collectedDateTime" : "2023-08-16T12:33:58-05:00",
+ "_collectedDateTime" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230816123358-0500"
+ } ]
+ }
+ }
}
}, {
"fullUrl" : "ServiceRequest/1722989968971318000.27111d05-0304-40a6-b9f2-36a4d217b030",
diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr8-not-populated.fhir b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr8-not-populated.fhir
index be1721745f9..c3b02918aca 100644
--- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr8-not-populated.fhir
+++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr8-not-populated.fhir
@@ -119,7 +119,16 @@
"extension" : [ {
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
"valueString" : "OBR"
- } ]
+ } ],
+ "collection" : {
+ "collectedDateTime" : "2021-08-16T12:33:58-05:00",
+ "_collectedDateTime" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20210816123358-0500"
+ } ]
+ }
+ }
}
}, {
"fullUrl" : "ServiceRequest/1710885177785768000.9ad05561-d558-46bd-afd4-18b1b895213f",
@@ -150,11 +159,11 @@
"subject" : {
"reference" : "Patient/1710885177487304000.8acbfe50-ad34-4a1a-b0bf-284256794cae"
},
- "effectiveDateTime" : "2023-08-16T12:33:58-05:00",
+ "effectiveDateTime" : "2021-08-16T12:33:58-05:00",
"_effectiveDateTime" : {
"extension" : [ {
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230816123358-0500"
+ "valueString" : "20210816123358-0500"
} ]
},
"specimen" : [ {
diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr8-not-populated.hl7 b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr8-not-populated.hl7
index 40c08b7c477..c97344243cb 100644
--- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr8-not-populated.hl7
+++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr8-not-populated.hl7
@@ -1,3 +1,3 @@
MSH|^~\|||||20230816123358-0500||ORU^R01^ORU_R01|20230816123358||2.5.1
PID|1
-OBR|1||||||20230816123358-0500||||||||||||||||||F
\ No newline at end of file
+OBR|1||||||20210816123358-0500||||||||||||||||||F
\ No newline at end of file
diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr8-populated.fhir b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr8-populated.fhir
new file mode 100644
index 00000000000..19f8354896d
--- /dev/null
+++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr8-populated.fhir
@@ -0,0 +1,192 @@
+{
+ "resourceType" : "Bundle",
+ "id" : "1727214434506826000.c1c9ce67-32d3-4763-b4c4-f1d2776fc43c",
+ "meta" : {
+ "lastUpdated" : "2024-09-24T14:47:14.511-07:00"
+ },
+ "identifier" : {
+ "system" : "https://reportstream.cdc.gov/prime-router",
+ "value" : "20230816123358"
+ },
+ "type" : "message",
+ "timestamp" : "2023-08-16T10:33:58.000-07:00",
+ "entry" : [ {
+ "fullUrl" : "MessageHeader/1727214434543241000.a6f6f7bd-c70c-4c7f-939d-755c3c65c83e",
+ "resource" : {
+ "resourceType" : "MessageHeader",
+ "id" : "1727214434543241000.a6f6f7bd-c70c-4c7f-939d-755c3c65c83e",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/encoding-characters",
+ "valueString" : "^~\\"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/msh-message-header",
+ "extension" : [ {
+ "url" : "MSH.7",
+ "valueString" : "20230816123358-0500"
+ } ]
+ } ],
+ "eventCoding" : {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "code" : "R01",
+ "display" : "ORU^R01^ORU_R01"
+ }
+ }
+ }, {
+ "fullUrl" : "Provenance/1727214434821404000.fad2bf74-be6d-4437-90ba-7f792cd09434",
+ "resource" : {
+ "resourceType" : "Provenance",
+ "id" : "1727214434821404000.fad2bf74-be6d-4437-90ba-7f792cd09434",
+ "target" : [ {
+ "reference" : "MessageHeader/1727214434543241000.a6f6f7bd-c70c-4c7f-939d-755c3c65c83e"
+ }, {
+ "reference" : "DiagnosticReport/1727214434964909000.a8f9070b-7a37-462c-bbac-4e6855d690df"
+ } ],
+ "recorded" : "2023-08-16T12:33:58-05:00",
+ "activity" : {
+ "coding" : [ {
+ "display" : "ORU^R01^ORU_R01"
+ } ]
+ }
+ }
+ }, {
+ "fullUrl" : "Provenance/1727214434826963000.dacdba9a-2df8-4b93-80bb-87d78e6b31cd",
+ "resource" : {
+ "resourceType" : "Provenance",
+ "id" : "1727214434826963000.dacdba9a-2df8-4b93-80bb-87d78e6b31cd",
+ "recorded" : "2024-09-24T14:47:14Z",
+ "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/1727214434826509000.f1c68d3f-b7d1-4c26-9d52-d899b9856680"
+ }
+ } ]
+ }
+ }, {
+ "fullUrl" : "Organization/1727214434826509000.f1c68d3f-b7d1-4c26-9d52-d899b9856680",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1727214434826509000.f1c68d3f-b7d1-4c26-9d52-d899b9856680",
+ "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/1727214434839271000.c9012071-3392-4f3a-83ba-698629cc8314",
+ "resource" : {
+ "resourceType" : "Patient",
+ "id" : "1727214434839271000.c9012071-3392-4f3a-83ba-698629cc8314"
+ }
+ }, {
+ "fullUrl" : "Provenance/1727214434839911000.1274c483-0b10-48a1-8af4-cfe910092753",
+ "resource" : {
+ "resourceType" : "Provenance",
+ "id" : "1727214434839911000.1274c483-0b10-48a1-8af4-cfe910092753",
+ "target" : [ {
+ "reference" : "Patient/1727214434839271000.c9012071-3392-4f3a-83ba-698629cc8314"
+ } ],
+ "recorded" : "2024-09-24T14:47:14Z",
+ "activity" : {
+ "coding" : [ {
+ "system" : "https://terminology.hl7.org/CodeSystem/v3-DataOperation",
+ "code" : "UPDATE"
+ } ]
+ }
+ }
+ }, {
+ "fullUrl" : "Specimen/1727214434841147000.0f667d95-f620-43f5-93f1-4d8842174085",
+ "resource" : {
+ "resourceType" : "Specimen",
+ "id" : "1727214434841147000.0f667d95-f620-43f5-93f1-4d8842174085",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
+ "valueString" : "OBR"
+ } ],
+ "collection" : {
+ "collectedPeriod" : {
+ "start" : "2023-08-16T12:33:58-05:00",
+ "_start" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230816123358-0500"
+ } ]
+ },
+ "end" : "2024-08-16T12:33:58-05:00",
+ "_end" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20240816123358-0500"
+ } ]
+ }
+ }
+ }
+ }
+ }, {
+ "fullUrl" : "ServiceRequest/1727214434962556000.3fdd6e86-1f54-4904-80c0-cb4e342b6432",
+ "resource" : {
+ "resourceType" : "ServiceRequest",
+ "id" : "1727214434962556000.3fdd6e86-1f54-4904-80c0-cb4e342b6432",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obr-observation-request",
+ "extension" : [ {
+ "url" : "OBR.25",
+ "valueId" : "F"
+ } ]
+ } ],
+ "status" : "unknown",
+ "subject" : {
+ "reference" : "Patient/1727214434839271000.c9012071-3392-4f3a-83ba-698629cc8314"
+ }
+ }
+ }, {
+ "fullUrl" : "DiagnosticReport/1727214434964909000.a8f9070b-7a37-462c-bbac-4e6855d690df",
+ "resource" : {
+ "resourceType" : "DiagnosticReport",
+ "id" : "1727214434964909000.a8f9070b-7a37-462c-bbac-4e6855d690df",
+ "basedOn" : [ {
+ "reference" : "ServiceRequest/1727214434962556000.3fdd6e86-1f54-4904-80c0-cb4e342b6432"
+ } ],
+ "status" : "final",
+ "subject" : {
+ "reference" : "Patient/1727214434839271000.c9012071-3392-4f3a-83ba-698629cc8314"
+ },
+ "effectivePeriod" : {
+ "start" : "2023-08-16T12:33:58-05:00",
+ "_start" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230816123358-0500"
+ } ]
+ },
+ "end" : "2024-08-16T12:33:58-05:00",
+ "_end" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20240816123358-0500"
+ } ]
+ }
+ },
+ "specimen" : [ {
+ "reference" : "Specimen/1727214434841147000.0f667d95-f620-43f5-93f1-4d8842174085"
+ } ]
+ }
+ } ]
+}
\ No newline at end of file
diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr8-populated.hl7 b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr8-populated.hl7
new file mode 100644
index 00000000000..af9ad388d6e
--- /dev/null
+++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-obr8-populated.hl7
@@ -0,0 +1,3 @@
+MSH|^~\|||||20230816123358-0500||ORU^R01^ORU_R01|20230816123358||2.5.1
+PID|1
+OBR|1||||||20230816123358-0500|20240816123358-0500|||||||||||||||||F
\ No newline at end of file
diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-orc-obr-populated.fhir b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-orc-obr-populated.fhir
index 74402359566..069245225fc 100644
--- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-orc-obr-populated.fhir
+++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orcobr/orc_obr-to-servicerequest_diagnosticreport-orc-obr-populated.fhir
@@ -156,6 +156,31 @@
"valueString" : "OBR"
}
],
+ "collection" : {
+ "collector" : {
+ "reference" : "Practitioner/1727212329144859000.0332f28c-28e8-4098-bb7e-d3db7ffead1e"
+ },
+ "collectedPeriod" : {
+ "start" : "2023-08-16T12:33:58-05:00",
+ "_start" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230816123358-0500"
+ }
+ ]
+ },
+ "end" : "2023-09-16T12:33:58-05:00",
+ "_end" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230916123358-0500"
+ }
+ ]
+ }
+ }
+ },
"note" : [
{
"extension" : [
@@ -183,7 +208,214 @@
}
},
{
- "fullUrl" : "ServiceRequest/1716961419201447000.c6b89d4a-7bf4-4b73-9069-68f887e3c4be",
+ "fullUrl" : "Practitioner/1727212329144859000.0332f28c-28e8-4098-bb7e-d3db7ffead1e",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1727212329144859000.0332f28c-28e8-4098-bb7e-d3db7ffead1e",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "AssigningSystem"
+ },
+ {
+ "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" : "LUDWIG"
+ },
+ {
+ "url" : "XCN.4",
+ "valueString" : "B"
+ },
+ {
+ "url" : "XCN.20",
+ "valueString" : "20230501102531-0400"
+ },
+ {
+ "url" : "XCN.21",
+ "valueString" : "MD"
+ },
+ {
+ "url" : "XCN.22",
+ "valueCodeableConcept" : {
+ "coding" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }
+ ],
+ "code" : "AssignJ"
+ }
+ ]
+ }
+ },
+ {
+ "url" : "XCN.23",
+ "valueCodeableConcept" : {
+ "coding" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }
+ ],
+ "code" : "AssignA"
+ }
+ ]
+ }
+ },
+ {
+ "url" : "XCN.5",
+ "valueString" : "2ND"
+ },
+ {
+ "url" : "XCN.7",
+ "valueString" : "MD"
+ },
+ {
+ "url" : "XCN.8",
+ "valueCodeableConcept" : {
+ "coding" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }
+ ],
+ "code" : "SRC"
+ }
+ ]
+ }
+ },
+ {
+ "url" : "XCN.10",
+ "valueString" : "B"
+ },
+ {
+ "url" : "XCN.15",
+ "valueString" : "A"
+ },
+ {
+ "url" : "XCN.16",
+ "valueCodeableConcept" : {
+ "coding" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }
+ ],
+ "code" : "NameContext"
+ }
+ ]
+ }
+ },
+ {
+ "url" : "XCN.19",
+ "valueString" : "20220501102531-0400"
+ }
+ ]
+ }
+ ],
+ "identifier" : [
+ {
+ "extension" : [
+ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit",
+ "valueString" : "A"
+ },
+ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit",
+ "valueCode" : "NPI"
+ }
+ ],
+ "type" : {
+ "coding" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
+ "valueBoolean" : true
+ }
+ ],
+ "code" : "DL"
+ }
+ ]
+ },
+ "system" : "urn:oid:AssigningSystem",
+ "value" : "1"
+ }
+ ],
+ "name" : [
+ {
+ "extension" : [
+ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order",
+ "valueCode" : "G"
+ }
+ ],
+ "use" : "official",
+ "family" : "Collector",
+ "_family" : {
+ "extension" : [
+ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix",
+ "valueString" : "VAN"
+ },
+ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-name",
+ "valueString" : "Identifier"
+ },
+ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix",
+ "valueString" : "VAL"
+ },
+ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-name",
+ "valueString" : "ROGER"
+ }
+ ]
+ },
+ "given" : [
+ "LUDWIG",
+ "B"
+ ],
+ "prefix" : [
+ "DR"
+ ],
+ "suffix" : [
+ "2ND",
+ "MD",
+ "MD"
+ ],
+ "period" : {
+ "start" : "2022-05-01T10:25:31-04:00",
+ "end" : "2023-05-01T10:25:31-04:00"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "fullUrl" : "ServiceRequest/1727212329304688000.16d7eaa9-940a-415c-a7c5-b4f9f35b4d9d",
"resource" : {
"resourceType" : "ServiceRequest",
"id" : "1716961419201447000.c6b89d4a-7bf4-4b73-9069-68f887e3c4be",
@@ -4186,7 +4418,7 @@
],
"basedOn" : [
{
- "reference" : "ServiceRequest/1716961419201447000.c6b89d4a-7bf4-4b73-9069-68f887e3c4be"
+ "reference" : "ServiceRequest/1727212329304688000.16d7eaa9-940a-415c-a7c5-b4f9f35b4d9d"
}
],
"status" : "final",
diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orur01/oru_r01-full.fhir b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orur01/oru_r01-full.fhir
index b66247c7613..650ccf43797 100644
--- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orur01/oru_r01-full.fhir
+++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/orur01/oru_r01-full.fhir
@@ -1738,6 +1738,26 @@
}
}
],
+ "relationship" : [
+ {
+ "coding" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "HL70131"
+ }
+ ],
+ "code" : "N",
+ "display" : "Next-of-Kin"
+ }
+ ]
+ }
+ ],
"name" : {
"extension" : [
{
@@ -3937,7 +3957,18 @@
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
"valueString" : "OBR"
}
- ]
+ ],
+ "collection" : {
+ "collectedDateTime" : "2023-07-24T15:24:00Z",
+ "_collectedDateTime" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "202307241524"
+ }
+ ]
+ }
+ }
}
},
{
@@ -3950,7 +3981,18 @@
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
"valueString" : "OBR"
}
- ]
+ ],
+ "collection" : {
+ "collectedDateTime" : "2023-07-24T15:24:00Z",
+ "_collectedDateTime" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "202307241524"
+ }
+ ]
+ }
+ }
}
},
{
diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/xcn/xcn-to-practitioner-dns-assigning-authority.fhir b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/xcn/xcn-to-practitioner-dns-assigning-authority.fhir
index 8532300100f..59147cb34ab 100644
--- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/xcn/xcn-to-practitioner-dns-assigning-authority.fhir
+++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/xcn/xcn-to-practitioner-dns-assigning-authority.fhir
@@ -119,6 +119,181 @@
"extension" : [ {
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
"valueString" : "OBR"
+ } ],
+ "collection" : {
+ "collector" : {
+ "reference" : "Practitioner/1727304366494814000.cc8d525e-b129-4f37-9f38-d03e3486de51"
+ }
+ }
+ }
+ }, {
+ "fullUrl" : "Organization/1727304366487498000.2d40a841-7f5a-4618-b329-13aac7daf1ed",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1727304366487498000.2d40a841-7f5a-4618-b329-13aac7daf1ed",
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ } ],
+ "value" : "Namespace"
+ }, {
+ "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" : "DNS"
+ } ]
+ },
+ "value" : "AssigningOrganization"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Practitioner/1727304366494814000.cc8d525e-b129-4f37-9f38-d03e3486de51",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1727304366494814000.cc8d525e-b129-4f37-9f38-d03e3486de51",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "Namespace"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-unknown-type",
+ "valueCode" : "AssigningOrganization"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "DNS"
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner",
+ "extension" : [ {
+ "url" : "XCN.3",
+ "valueString" : "LUDWIG"
+ }, {
+ "url" : "XCN.4",
+ "valueString" : "B"
+ }, {
+ "url" : "XCN.20",
+ "valueString" : "20230501102531-0400"
+ }, {
+ "url" : "XCN.21",
+ "valueString" : "MD"
+ }, {
+ "url" : "XCN.22",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "AssignJ"
+ } ]
+ }
+ }, {
+ "url" : "XCN.23",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "AssignA"
+ } ]
+ }
+ }, {
+ "url" : "XCN.5",
+ "valueString" : "2ND"
+ }, {
+ "url" : "XCN.7",
+ "valueString" : "MD"
+ }, {
+ "url" : "XCN.8",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "SRC"
+ } ]
+ }
+ }, {
+ "url" : "XCN.10",
+ "valueString" : "B"
+ }, {
+ "url" : "XCN.15",
+ "valueString" : "A"
+ }, {
+ "url" : "XCN.16",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "NameContext"
+ } ]
+ }
+ }, {
+ "url" : "XCN.19",
+ "valueString" : "20220501102531-0400"
+ } ]
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit",
+ "valueString" : "A"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit",
+ "valueCode" : "NPI"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
+ "valueBoolean" : true
+ } ],
+ "code" : "DL"
+ } ]
+ },
+ "value" : "1",
+ "assigner" : {
+ "reference" : "Organization/1727304366487498000.2d40a841-7f5a-4618-b329-13aac7daf1ed"
+ }
+ } ],
+ "name" : [ {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order",
+ "valueCode" : "G"
+ } ],
+ "use" : "official",
+ "family" : "BEETHOVEN",
+ "_family" : {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix",
+ "valueString" : "VAN"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-name",
+ "valueString" : "BEETHOVEN"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix",
+ "valueString" : "VAL"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-name",
+ "valueString" : "ROGER"
+ } ]
+ },
+ "given" : [ "LUDWIG", "B" ],
+ "prefix" : [ "DR" ],
+ "suffix" : [ "2ND", "MD", "MD" ],
+ "period" : {
+ "start" : "2022-05-01T10:25:31-04:00",
+ "end" : "2023-05-01T10:25:31-04:00"
+ }
} ]
}
}, {
diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/xcn/xcn-to-practitioner-iso-assigning-authority-no-namespace.fhir b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/xcn/xcn-to-practitioner-iso-assigning-authority-no-namespace.fhir
index 40b0b6f3d75..d75492e7ad2 100644
--- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/xcn/xcn-to-practitioner-iso-assigning-authority-no-namespace.fhir
+++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/xcn/xcn-to-practitioner-iso-assigning-authority-no-namespace.fhir
@@ -119,6 +119,153 @@
"extension" : [ {
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
"valueString" : "OBR"
+ } ],
+ "collection" : {
+ "collector" : {
+ "reference" : "Practitioner/1727304384512381000.a6b114dc-38b9-4be5-8fc8-69a3b4c4763a"
+ }
+ }
+ }
+ }, {
+ "fullUrl" : "Practitioner/1727304384512381000.a6b114dc-38b9-4be5-8fc8-69a3b4c4763a",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1727304384512381000.a6b114dc-38b9-4be5-8fc8-69a3b4c4763a",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "AssigningSystem"
+ }, {
+ "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" : "LUDWIG"
+ }, {
+ "url" : "XCN.4",
+ "valueString" : "B"
+ }, {
+ "url" : "XCN.20",
+ "valueString" : "20230501102531-0400"
+ }, {
+ "url" : "XCN.21",
+ "valueString" : "MD"
+ }, {
+ "url" : "XCN.22",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "AssignJ"
+ } ]
+ }
+ }, {
+ "url" : "XCN.23",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "AssignA"
+ } ]
+ }
+ }, {
+ "url" : "XCN.5",
+ "valueString" : "2ND"
+ }, {
+ "url" : "XCN.7",
+ "valueString" : "MD"
+ }, {
+ "url" : "XCN.8",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "SRC"
+ } ]
+ }
+ }, {
+ "url" : "XCN.10",
+ "valueString" : "B"
+ }, {
+ "url" : "XCN.15",
+ "valueString" : "A"
+ }, {
+ "url" : "XCN.16",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "NameContext"
+ } ]
+ }
+ }, {
+ "url" : "XCN.19",
+ "valueString" : "20220501102531-0400"
+ } ]
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit",
+ "valueString" : "A"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit",
+ "valueCode" : "NPI"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
+ "valueBoolean" : true
+ } ],
+ "code" : "DL"
+ } ]
+ },
+ "system" : "urn:oid:AssigningSystem",
+ "value" : "1"
+ } ],
+ "name" : [ {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order",
+ "valueCode" : "G"
+ } ],
+ "use" : "official",
+ "family" : "BEETHOVEN",
+ "_family" : {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix",
+ "valueString" : "VAN"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-name",
+ "valueString" : "BEETHOVEN"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix",
+ "valueString" : "VAL"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-name",
+ "valueString" : "ROGER"
+ } ]
+ },
+ "given" : [ "LUDWIG", "B" ],
+ "prefix" : [ "DR" ],
+ "suffix" : [ "2ND", "MD", "MD" ],
+ "period" : {
+ "start" : "2022-05-01T10:25:31-04:00",
+ "end" : "2023-05-01T10:25:31-04:00"
+ }
} ]
}
}, {
diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/xcn/xcn-to-practitioner-uuid-assigning-authority-no-namespace.fhir b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/xcn/xcn-to-practitioner-uuid-assigning-authority-no-namespace.fhir
index 7f2920c332e..1ff02adbc13 100644
--- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/xcn/xcn-to-practitioner-uuid-assigning-authority-no-namespace.fhir
+++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/xcn/xcn-to-practitioner-uuid-assigning-authority-no-namespace.fhir
@@ -119,6 +119,153 @@
"extension" : [ {
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
"valueString" : "OBR"
+ } ],
+ "collection" : {
+ "collector" : {
+ "reference" : "Practitioner/1727304402699199000.949e4021-ec8e-4d4b-b33b-2e1b91269fde"
+ }
+ }
+ }
+ }, {
+ "fullUrl" : "Practitioner/1727304402699199000.949e4021-ec8e-4d4b-b33b-2e1b91269fde",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1727304402699199000.949e4021-ec8e-4d4b-b33b-2e1b91269fde",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "AssigningSystem"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "UUID"
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner",
+ "extension" : [ {
+ "url" : "XCN.3",
+ "valueString" : "LUDWIG"
+ }, {
+ "url" : "XCN.4",
+ "valueString" : "B"
+ }, {
+ "url" : "XCN.20",
+ "valueString" : "20230501102531-0400"
+ }, {
+ "url" : "XCN.21",
+ "valueString" : "MD"
+ }, {
+ "url" : "XCN.22",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "AssignJ"
+ } ]
+ }
+ }, {
+ "url" : "XCN.23",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "AssignA"
+ } ]
+ }
+ }, {
+ "url" : "XCN.5",
+ "valueString" : "2ND"
+ }, {
+ "url" : "XCN.7",
+ "valueString" : "MD"
+ }, {
+ "url" : "XCN.8",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "SRC"
+ } ]
+ }
+ }, {
+ "url" : "XCN.10",
+ "valueString" : "B"
+ }, {
+ "url" : "XCN.15",
+ "valueString" : "A"
+ }, {
+ "url" : "XCN.16",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "NameContext"
+ } ]
+ }
+ }, {
+ "url" : "XCN.19",
+ "valueString" : "20220501102531-0400"
+ } ]
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit",
+ "valueString" : "A"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit",
+ "valueCode" : "NPI"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
+ "valueBoolean" : true
+ } ],
+ "code" : "DL"
+ } ]
+ },
+ "system" : "urn:uuid:AssigningSystem",
+ "value" : "1"
+ } ],
+ "name" : [ {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order",
+ "valueCode" : "G"
+ } ],
+ "use" : "official",
+ "family" : "BEETHOVEN",
+ "_family" : {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix",
+ "valueString" : "VAN"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-name",
+ "valueString" : "BEETHOVEN"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix",
+ "valueString" : "VAL"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-name",
+ "valueString" : "ROGER"
+ } ]
+ },
+ "given" : [ "LUDWIG", "B" ],
+ "prefix" : [ "DR" ],
+ "suffix" : [ "2ND", "MD", "MD" ],
+ "period" : {
+ "start" : "2022-05-01T10:25:31-04:00",
+ "end" : "2023-05-01T10:25:31-04:00"
+ }
} ]
}
}, {
diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/xcn/xcn-to-practitioner-uuid-assigning-authority.fhir b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/xcn/xcn-to-practitioner-uuid-assigning-authority.fhir
index 65977d67328..0383bf570df 100644
--- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/xcn/xcn-to-practitioner-uuid-assigning-authority.fhir
+++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/xcn/xcn-to-practitioner-uuid-assigning-authority.fhir
@@ -119,6 +119,154 @@
"extension" : [ {
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
"valueString" : "OBR"
+ } ],
+ "collection" : {
+ "collector" : {
+ "reference" : "Practitioner/1727304420767220000.565b33ce-7934-48cc-a73e-8dc89591b0c7"
+ }
+ }
+ }
+ }, {
+ "fullUrl" : "Practitioner/1727304420767220000.565b33ce-7934-48cc-a73e-8dc89591b0c7",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1727304420767220000.565b33ce-7934-48cc-a73e-8dc89591b0c7",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "Namespace"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "AssigningSystem"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "UUID"
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner",
+ "extension" : [ {
+ "url" : "XCN.3",
+ "valueString" : "LUDWIG"
+ }, {
+ "url" : "XCN.4",
+ "valueString" : "B"
+ }, {
+ "url" : "XCN.20",
+ "valueString" : "20230501102531-0400"
+ }, {
+ "url" : "XCN.21",
+ "valueString" : "MD"
+ }, {
+ "url" : "XCN.22",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "AssignJ"
+ } ]
+ }
+ }, {
+ "url" : "XCN.23",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "AssignA"
+ } ]
+ }
+ }, {
+ "url" : "XCN.5",
+ "valueString" : "2ND"
+ }, {
+ "url" : "XCN.7",
+ "valueString" : "MD"
+ }, {
+ "url" : "XCN.8",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "SRC"
+ } ]
+ }
+ }, {
+ "url" : "XCN.10",
+ "valueString" : "B"
+ }, {
+ "url" : "XCN.15",
+ "valueString" : "A"
+ }, {
+ "url" : "XCN.16",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "NameContext"
+ } ]
+ }
+ }, {
+ "url" : "XCN.19",
+ "valueString" : "20220501102531-0400"
+ } ]
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit",
+ "valueString" : "A"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit",
+ "valueCode" : "NPI"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
+ "valueBoolean" : true
+ } ],
+ "code" : "DL"
+ } ]
+ },
+ "system" : "Namespace",
+ "value" : "1"
+ } ],
+ "name" : [ {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order",
+ "valueCode" : "G"
+ } ],
+ "use" : "official",
+ "family" : "BEETHOVEN",
+ "_family" : {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix",
+ "valueString" : "VAN"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-name",
+ "valueString" : "BEETHOVEN"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix",
+ "valueString" : "VAL"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-name",
+ "valueString" : "ROGER"
+ } ]
+ },
+ "given" : [ "LUDWIG", "B" ],
+ "prefix" : [ "DR" ],
+ "suffix" : [ "2ND", "MD", "MD" ],
+ "period" : {
+ "start" : "2022-05-01T10:25:31-04:00",
+ "end" : "2023-05-01T10:25:31-04:00"
+ }
} ]
}
}, {
diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/xcn/xcn-to-practitioner-xcn17-populated-xcn19-20-empty.fhir b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/xcn/xcn-to-practitioner-xcn17-populated-xcn19-20-empty.fhir
index 882f429ba09..9a8b0a681e0 100644
--- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/xcn/xcn-to-practitioner-xcn17-populated-xcn19-20-empty.fhir
+++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/xcn/xcn-to-practitioner-xcn17-populated-xcn19-20-empty.fhir
@@ -119,6 +119,182 @@
"extension" : [ {
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
"valueString" : "OBR"
+ } ],
+ "collection" : {
+ "collector" : {
+ "reference" : "Practitioner/1727304438324115000.3dfba4c9-5e76-4338-b2e9-89907e75241a"
+ }
+ }
+ }
+ }, {
+ "fullUrl" : "Organization/1727304438317825000.e129e05b-da22-41c5-8c56-ae39fdf7240c",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1727304438317825000.e129e05b-da22-41c5-8c56-ae39fdf7240c",
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ } ],
+ "value" : "Namespace"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.2,HD.3"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0301"
+ } ]
+ },
+ "value" : "AssigningOrganization"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Practitioner/1727304438324115000.3dfba4c9-5e76-4338-b2e9-89907e75241a",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1727304438324115000.3dfba4c9-5e76-4338-b2e9-89907e75241a",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "Namespace"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-unknown-type",
+ "valueCode" : "AssigningOrganization"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner",
+ "extension" : [ {
+ "url" : "XCN.3",
+ "valueString" : "LUDWIG"
+ }, {
+ "url" : "XCN.4",
+ "valueString" : "B"
+ }, {
+ "url" : "XCN.21",
+ "valueString" : "PHD"
+ }, {
+ "url" : "XCN.22",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "AssignJ"
+ } ]
+ }
+ }, {
+ "url" : "XCN.23",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "AssignA"
+ } ]
+ }
+ }, {
+ "url" : "XCN.5",
+ "valueString" : "2ND"
+ }, {
+ "url" : "XCN.7",
+ "valueString" : "MD"
+ }, {
+ "url" : "XCN.8",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "SRC"
+ } ]
+ }
+ }, {
+ "url" : "XCN.10",
+ "valueString" : "B"
+ }, {
+ "url" : "XCN.15",
+ "valueString" : "A"
+ }, {
+ "url" : "XCN.16",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "NameContext"
+ } ]
+ }
+ }, {
+ "url" : "XCN.17",
+ "extension" : [ {
+ "url" : "XCN.17.2",
+ "valueString" : "20230501102531-0400"
+ }, {
+ "url" : "XCN.17.1",
+ "valueString" : "20220501102531-0400"
+ } ]
+ } ]
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit",
+ "valueString" : "A"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit",
+ "valueCode" : "NPI"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
+ "valueBoolean" : true
+ } ],
+ "code" : "DL"
+ } ]
+ },
+ "value" : "123",
+ "assigner" : {
+ "reference" : "Organization/1727304438317825000.e129e05b-da22-41c5-8c56-ae39fdf7240c"
+ }
+ } ],
+ "name" : [ {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order",
+ "valueCode" : "G"
+ } ],
+ "use" : "official",
+ "family" : "BEETHOVEN",
+ "_family" : {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix",
+ "valueString" : "VAN"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-name",
+ "valueString" : "BEETHOVEN"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix",
+ "valueString" : "VAL"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-name",
+ "valueString" : "ROGER"
+ } ]
+ },
+ "given" : [ "LUDWIG", "B" ],
+ "prefix" : [ "DR" ],
+ "suffix" : [ "2ND", "MD", "PHD" ],
+ "period" : {
+ "start" : "2022-05-01T10:25:31-04:00",
+ "end" : "2023-05-01T10:25:31-04:00"
+ }
} ]
}
}, {
diff --git a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/xcn/xcn-to-practitioner-xcn19-20-populated-xcn17-empty.fhir b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/xcn/xcn-to-practitioner-xcn19-20-populated-xcn17-empty.fhir
index 0036b190730..1fe159927a1 100644
--- a/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/xcn/xcn-to-practitioner-xcn19-20-populated-xcn17-empty.fhir
+++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/xcn/xcn-to-practitioner-xcn19-20-populated-xcn17-empty.fhir
@@ -119,6 +119,181 @@
"extension" : [ {
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
"valueString" : "OBR"
+ } ],
+ "collection" : {
+ "collector" : {
+ "reference" : "Practitioner/1727304456307569000.987a27c7-80ce-4124-aafe-85d3216af5fe"
+ }
+ }
+ }
+ }, {
+ "fullUrl" : "Organization/1727304456300587000.4cfb13ca-0b46-46e6-bc24-e0eebdae5f5e",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1727304456300587000.4cfb13ca-0b46-46e6-bc24-e0eebdae5f5e",
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ } ],
+ "value" : "Namespace"
+ }, {
+ "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" : "L"
+ } ]
+ },
+ "value" : "AssigningOrganization"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Practitioner/1727304456307569000.987a27c7-80ce-4124-aafe-85d3216af5fe",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1727304456307569000.987a27c7-80ce-4124-aafe-85d3216af5fe",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "Namespace"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-unknown-type",
+ "valueCode" : "AssigningOrganization"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "L"
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner",
+ "extension" : [ {
+ "url" : "XCN.3",
+ "valueString" : "LUDWIG"
+ }, {
+ "url" : "XCN.4",
+ "valueString" : "B"
+ }, {
+ "url" : "XCN.20",
+ "valueString" : "20230501102531-0400"
+ }, {
+ "url" : "XCN.21",
+ "valueString" : "MD"
+ }, {
+ "url" : "XCN.22",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "AssignJ"
+ } ]
+ }
+ }, {
+ "url" : "XCN.23",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "AssignA"
+ } ]
+ }
+ }, {
+ "url" : "XCN.5",
+ "valueString" : "2ND"
+ }, {
+ "url" : "XCN.7",
+ "valueString" : "MD"
+ }, {
+ "url" : "XCN.8",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "SRC"
+ } ]
+ }
+ }, {
+ "url" : "XCN.10",
+ "valueString" : "B"
+ }, {
+ "url" : "XCN.15",
+ "valueString" : "A"
+ }, {
+ "url" : "XCN.16",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "NameContext"
+ } ]
+ }
+ }, {
+ "url" : "XCN.19",
+ "valueString" : "20220501102531-0400"
+ } ]
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit",
+ "valueString" : "A"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit",
+ "valueCode" : "NPI"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
+ "valueBoolean" : true
+ } ],
+ "code" : "DL"
+ } ]
+ },
+ "value" : "1",
+ "assigner" : {
+ "reference" : "Organization/1727304456300587000.4cfb13ca-0b46-46e6-bc24-e0eebdae5f5e"
+ }
+ } ],
+ "name" : [ {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order",
+ "valueCode" : "G"
+ } ],
+ "use" : "official",
+ "family" : "BEETHOVEN",
+ "_family" : {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix",
+ "valueString" : "VAN"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-name",
+ "valueString" : "BEETHOVEN"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix",
+ "valueString" : "VAL"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-name",
+ "valueString" : "ROGER"
+ } ]
+ },
+ "given" : [ "LUDWIG", "B" ],
+ "prefix" : [ "DR" ],
+ "suffix" : [ "2ND", "MD", "MD" ],
+ "period" : {
+ "start" : "2022-05-01T10:25:31-04:00",
+ "end" : "2023-05-01T10:25:31-04:00"
+ }
} ]
}
}, {
From 9b4f36c6dadabaa93480b55a136712eae539b311 Mon Sep 17 00:00:00 2001
From: Josh Fisk
Date: Fri, 25 Oct 2024 12:50:03 -0700
Subject: [PATCH 12/61] Update ORM mappings (#16299)
* Create ORM integration tests
* Adding ORM Java classes
* Updating ORM/OML Mappings
* Updating existing configuration tests with newly available fhir mappings
* Accidentally left a comment in
* And another one
* Updating code comment with issue link
* Order Detail Segment comment
---
prime-router/build.gradle.kts | 1 +
.../HL7/catchall/hl7/message/OML_O21.yml | 2 +-
.../HL7/catchall/hl7/message/ORM_O01.yml | 50 +-
.../catchall/hl7/segments/OBX/Observation.yml | 8 -
.../hl7/segments/ORC/ServiceRequest.yml | 2 +-
.../group/ORM_O01_OBSERVATION.java | 152 +
.../fhirinventory/group/ORM_O01_ORDER.java | 244 +
.../group/ORM_O01_ORDER_DETAIL.java | 363 +
.../fhirinventory/group/ORM_O01_PATIENT.java | 329 +
.../group/ORM_O01_PATIENT_VISIT.java | 95 +
.../fhirinventory/message/ORM_O01.java | 243 +
.../main/kotlin/fhirengine/utils/HL7Reader.kt | 17 +-
.../OML_O21/base/patient/patient.yml | 7 +
.../catchall/ormo01/ORMO01Full.kt | 19 +
...mple_orm_20230809-001-with-enrichment.fhir | 1978 +++--
.../HL7_to_FHIR/sample_orm_20230809-001.fhir | 1978 +++--
.../catchall/ormo01/orm_o01-full.fhir | 6469 +++++++++++++++++
.../catchall/ormo01/orm_o01-full.hl7 | 10 +
18 files changed, 10453 insertions(+), 1514 deletions(-)
create mode 100644 prime-router/src/main/java/fhirengine/translation/hl7/structures/fhirinventory/group/ORM_O01_OBSERVATION.java
create mode 100644 prime-router/src/main/java/fhirengine/translation/hl7/structures/fhirinventory/group/ORM_O01_ORDER.java
create mode 100644 prime-router/src/main/java/fhirengine/translation/hl7/structures/fhirinventory/group/ORM_O01_ORDER_DETAIL.java
create mode 100644 prime-router/src/main/java/fhirengine/translation/hl7/structures/fhirinventory/group/ORM_O01_PATIENT.java
create mode 100644 prime-router/src/main/java/fhirengine/translation/hl7/structures/fhirinventory/group/ORM_O01_PATIENT_VISIT.java
create mode 100644 prime-router/src/main/java/fhirengine/translation/hl7/structures/fhirinventory/message/ORM_O01.java
create mode 100644 prime-router/src/testIntegration/kotlin/datatests/mappinginventory/catchall/ormo01/ORMO01Full.kt
create mode 100644 prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/ormo01/orm_o01-full.fhir
create mode 100644 prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/ormo01/orm_o01-full.hl7
diff --git a/prime-router/build.gradle.kts b/prime-router/build.gradle.kts
index 267caf5989d..ec93feb98ce 100644
--- a/prime-router/build.gradle.kts
+++ b/prime-router/build.gradle.kts
@@ -907,6 +907,7 @@ dependencies {
implementation("ca.uhn.hapi.fhir:org.hl7.fhir.r4:6.3.24")
implementation("ca.uhn.hapi:hapi-base:2.5.1")
implementation("ca.uhn.hapi:hapi-structures-v251:2.5.1")
+ implementation("ca.uhn.hapi:hapi-structures-v26:2.5.1")
implementation("ca.uhn.hapi:hapi-structures-v27:2.5.1")
implementation("com.googlecode.libphonenumber:libphonenumber:8.13.46")
implementation("org.thymeleaf:thymeleaf:3.1.2.RELEASE")
diff --git a/prime-router/metadata/HL7/catchall/hl7/message/OML_O21.yml b/prime-router/metadata/HL7/catchall/hl7/message/OML_O21.yml
index 367e43669a8..0ea61641d00 100644
--- a/prime-router/metadata/HL7/catchall/hl7/message/OML_O21.yml
+++ b/prime-router/metadata/HL7/catchall/hl7/message/OML_O21.yml
@@ -49,7 +49,7 @@ resources:
- .PV2
- MSH
- - resourceName: OMLObservation
+ - resourceName: OrderObservation
segment: .OBSERVATION_REQUEST.OBSERVATION.OBX
group: ORDER
resourcePath: segments/OBX/Observation
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 f437b25ae5b..ba4e40eb4a8 100644
--- a/prime-router/metadata/HL7/catchall/hl7/message/ORM_O01.yml
+++ b/prime-router/metadata/HL7/catchall/hl7/message/ORM_O01.yml
@@ -8,27 +8,38 @@ resources:
repeats: false
isReferenced: false
+ - resourceName: Provenance
+ segment: MSH
+ resourcePath: segments/MSH/Provenance-Source
+
+ - resourceName: Provenance
+ segment: MSH
+ resourcePath: segments/MSH/Provenance-Transformation
+
- resourceName: Patient
segment: .PID
group: PATIENT
resourcePath: segments/PID/Patient
isReferenced: true
repeats: false
+ additionalSegments:
+ - .PD1
+ - .NTE
- - resourceName: ServiceRequest
- segment: .ORC
- group: ORDER
- resourcePath: segments/ORC/ServiceRequest
- repeats: true
+ - resourceName: Provenance
+ segment: .PID
+ group: PATIENT
+ resourcePath: segments/PID/Provenance-Patient
+
+ - resourceName: Encounter
+ segment: .PV1
+ group: PATIENT.PATIENT_VISIT
+ resourcePath: segments/PV1/Encounter
isReferenced: true
additionalSegments:
- - .ORDER_DETAIL.OBR
- - .ORDER_DETAIL.NTE
- - PATIENT.PATIENT_VISIT.PV1
- - MSH
- - PATIENT.PID
+ - .PV2
- - resourceName: Observation
+ - resourceName: OrderObservation
segment: .ORDER_DETAIL.OBSERVATION.OBX
group: ORDER
resourcePath: segments/OBX/Observation
@@ -38,15 +49,16 @@ resources:
- .ORC
- .ORDER_DETAIL.OBR
- .ORDER_DETAIL.OBSERVATION.NTE
- - MSH
- - resourceName: Specimen
- segment: .OBR
- group: ORDER.ORDER_DETAIL
- resourcePath: segments/SPM/Specimen
+ - resourceName: ServiceRequest
+ segment: .ORC
+ group: ORDER
+ resourcePath: segments/ORC/ServiceRequest
repeats: true
isReferenced: true
additionalSegments:
- - .OBSERVATION.OBX
- - .OBSERVATION.NTE
- - MSH
\ No newline at end of file
+ - .ORDER_DETAIL.OBR
+ - .ORDER_DETAIL.NTE
+ - PATIENT.PATIENT_VISIT.PV1
+ - PATIENT.PID
+ - .ORDER_DETAIL.OBSERVATION.OBX
\ No newline at end of file
diff --git a/prime-router/metadata/HL7/catchall/hl7/segments/OBX/Observation.yml b/prime-router/metadata/HL7/catchall/hl7/segments/OBX/Observation.yml
index c7be226e804..d32f763436c 100644
--- a/prime-router/metadata/HL7/catchall/hl7/segments/OBX/Observation.yml
+++ b/prime-router/metadata/HL7/catchall/hl7/segments/OBX/Observation.yml
@@ -10,14 +10,6 @@ resourceType: Observation
# OBX.18 is repeatable but maps to device on Observation which is not, so it's all captured in OBXExtension
# OBX.20 is repeatable but maps to bodySite on Observation which is not, so it's all captured in OBXExtension
# Not implementing OBX.22 not in mapping deprecated in NIST
-# Not implementing OBX.26 not in mapping not in NIST
-# Not implementing OBX.27 not in mapping not in NIST
-# Not implementing OBX.28 not in mapping not in NIST
-# Not implementing OBX.29 not in mapping not in NIST
-# Not implementing OBX.31 not in mapping not in NIST
-# Not implementing OBX.32 not in mapping not in NIST
-# Not implementing OBX.33 as it's not in the NIST spec the logic in the inventory cannot be implemented in the library
-
id:
type: STRING
diff --git a/prime-router/metadata/HL7/catchall/hl7/segments/ORC/ServiceRequest.yml b/prime-router/metadata/HL7/catchall/hl7/segments/ORC/ServiceRequest.yml
index b117581e184..989bf70cd12 100644
--- a/prime-router/metadata/HL7/catchall/hl7/segments/ORC/ServiceRequest.yml
+++ b/prime-router/metadata/HL7/catchall/hl7/segments/ORC/ServiceRequest.yml
@@ -366,7 +366,7 @@ supportingInfo:
generateList: true
valueOf: datatype/Reference
expressionType: resource
- specs: $OMLObservation
+ specs: $OrderObservation
useGroup: true
note:
diff --git a/prime-router/src/main/java/fhirengine/translation/hl7/structures/fhirinventory/group/ORM_O01_OBSERVATION.java b/prime-router/src/main/java/fhirengine/translation/hl7/structures/fhirinventory/group/ORM_O01_OBSERVATION.java
new file mode 100644
index 00000000000..1c11c2f78a1
--- /dev/null
+++ b/prime-router/src/main/java/fhirengine/translation/hl7/structures/fhirinventory/group/ORM_O01_OBSERVATION.java
@@ -0,0 +1,152 @@
+/*
+ * This class is an auto-generated source file for a HAPI
+ * HL7 v2.x standard structure class.
+ *
+ * For more information, visit: http://hl7api.sourceforge.net/
+ *
+ * The contents of this file are subject to the Mozilla Public License Version 1.1
+ * (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.mozilla.org/MPL/
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the
+ * specific language governing rights and limitations under the License.
+ *
+ * The Original Code is "[file_name]". Description:
+ * "[one_line_description]"
+ *
+ * The Initial Developer of the Original Code is University Health Network. Copyright (C)
+ * 2012. All Rights Reserved.
+ *
+ * Contributor(s): ______________________________________.
+ *
+ * Alternatively, the contents of this file may be used under the terms of the
+ * GNU General Public License (the "GPL"), in which case the provisions of the GPL are
+ * applicable instead of those above. If you wish to allow use of your version of this
+ * file only under the terms of the GPL and not to allow others to use your version
+ * of this file under the MPL, indicate your decision by deleting the provisions above
+ * and replace them with the notice and other provisions required by the GPL License.
+ * If you do not delete the provisions above, a recipient may use your version of
+ * this file under either the MPL or the GPL.
+ *
+ */
+
+package fhirengine.translation.hl7.structures.fhirinventory.group;
+
+import ca.uhn.hl7v2.HL7Exception;
+import ca.uhn.hl7v2.parser.ModelClassFactory;
+import ca.uhn.hl7v2.model.*;
+import fhirengine.translation.hl7.structures.fhirinventory.segment.NTE;
+import fhirengine.translation.hl7.structures.fhirinventory.segment.OBX;
+
+/**
+ * Represents a ORM_O01_OBSERVATION group structure (a Group object).
+ * A Group is an ordered collection of message segments that can repeat together or be optionally in/excluded together.
+ * This Group contains the following elements:
+ *
+ *
+ * - 1: OBX (Observation/Result)
+ * - 2: NTE (Notes and Comments) optional repeating
+ *
+ */
+//@SuppressWarnings("unused")
+public class ORM_O01_OBSERVATION extends AbstractGroup {
+
+ /**
+ * Creates a new ORM_O01_OBSERVATION group
+ */
+ public ORM_O01_OBSERVATION(Group parent, ModelClassFactory factory) {
+ super(parent, factory);
+ init(factory);
+ }
+
+ private void init(ModelClassFactory factory) {
+ try {
+ this.add(OBX.class, true, false, false);
+ this.add(NTE.class, false, true, false);
+ } catch(HL7Exception e) {
+ log.error("Unexpected error creating ORM_O01_OBSERVATION - this is probably a bug in the source code generator.", e);
+ }
+ }
+
+ /**
+ * Returns "2.7"
+ */
+ public String getVersion() {
+ return "2.7";
+ }
+
+ /**
+ * Returns
+ * OBX (Observation/Result) - creates it if necessary
+ */
+ public OBX getOBX() {
+ OBX retVal = getTyped("OBX", OBX.class);
+ return retVal;
+ }
+
+ /**
+ * Returns
+ * the first repetition of
+ * NTE (Notes and Comments) - creates it if necessary
+ */
+ public NTE getNTE() {
+ NTE retVal = getTyped("NTE", NTE.class);
+ return retVal;
+ }
+
+ /**
+ * Returns a specific repetition of
+ * NTE (Notes and Comments) - creates it if necessary
+ *
+ * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
+ * @throws HL7Exception if the repetition requested is more than one
+ * greater than the number of existing repetitions.
+ */
+ public NTE getNTE(int rep) {
+ NTE retVal = getTyped("NTE", rep, NTE.class);
+ return retVal;
+ }
+
+ /**
+ * Returns the number of existing repetitions of NTE
+ */
+ public int getNTEReps() {
+ return getReps("NTE");
+ }
+
+ /**
+ *
+ * Returns a non-modifiable List containing all current existing repetitions of NTE.
+ *
+ * Note that unlike {@link #getNTE()}, this method will not create any reps
+ * if none are already present, so an empty list may be returned.
+ *
+ */
+ public java.util.List getNTEAll() throws HL7Exception {
+ return getAllAsList("NTE", NTE.class);
+ }
+
+ /**
+ * Inserts a specific repetition of NTE (Notes and Comments)
+ * @see AbstractGroup#insertRepetition(Structure, int)
+ */
+ public void insertNTE(NTE structure, int rep) throws HL7Exception {
+ super.insertRepetition("NTE", structure, rep);
+ }
+
+ /**
+ * Inserts a specific repetition of NTE (Notes and Comments)
+ * @see AbstractGroup#insertRepetition(Structure, int)
+ */
+ public NTE insertNTE(int rep) throws HL7Exception {
+ return (NTE)super.insertRepetition("NTE", rep);
+ }
+
+ /**
+ * Removes a specific repetition of NTE (Notes and Comments)
+ * @see AbstractGroup#removeRepetition(String, int)
+ */
+ public NTE removeNTE(int rep) throws HL7Exception {
+ return (NTE)super.removeRepetition("NTE", rep);
+ }
+}
\ No newline at end of file
diff --git a/prime-router/src/main/java/fhirengine/translation/hl7/structures/fhirinventory/group/ORM_O01_ORDER.java b/prime-router/src/main/java/fhirengine/translation/hl7/structures/fhirinventory/group/ORM_O01_ORDER.java
new file mode 100644
index 00000000000..da3457b501a
--- /dev/null
+++ b/prime-router/src/main/java/fhirengine/translation/hl7/structures/fhirinventory/group/ORM_O01_ORDER.java
@@ -0,0 +1,244 @@
+/*
+ * This class is an auto-generated source file for a HAPI
+ * HL7 v2.x standard structure class.
+ *
+ * For more information, visit: http://hl7api.sourceforge.net/
+ *
+ * The contents of this file are subject to the Mozilla Public License Version 1.1
+ * (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.mozilla.org/MPL/
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the
+ * specific language governing rights and limitations under the License.
+ *
+ * The Original Code is "[file_name]". Description:
+ * "[one_line_description]"
+ *
+ * The Initial Developer of the Original Code is University Health Network. Copyright (C)
+ * 2012. All Rights Reserved.
+ *
+ * Contributor(s): ______________________________________.
+ *
+ * Alternatively, the contents of this file may be used under the terms of the
+ * GNU General Public License (the "GPL"), in which case the provisions of the GPL are
+ * applicable instead of those above. If you wish to allow use of your version of this
+ * file only under the terms of the GPL and not to allow others to use your version
+ * of this file under the MPL, indicate your decision by deleting the provisions above
+ * and replace them with the notice and other provisions required by the GPL License.
+ * If you do not delete the provisions above, a recipient may use your version of
+ * this file under either the MPL or the GPL.
+ *
+ */
+
+package fhirengine.translation.hl7.structures.fhirinventory.group;
+
+import ca.uhn.hl7v2.HL7Exception;
+import ca.uhn.hl7v2.model.AbstractGroup;
+import ca.uhn.hl7v2.model.Group;
+import ca.uhn.hl7v2.model.Structure;
+import ca.uhn.hl7v2.model.v27.segment.*;
+import ca.uhn.hl7v2.parser.ModelClassFactory;
+import fhirengine.translation.hl7.structures.fhirinventory.segment.ORC;
+
+/**
+ * Represents a ORM_O01_ORDER group structure (a Group object).
+ * A Group is an ordered collection of message segments that can repeat together or be optionally in/excluded together.
+ * This Group contains the following elements:
+ *
+ *
+ * - 1: ORC (Common Order)
+ * - 2: ORM_O01_ORDER_DETAIL (a Group object) optional
+ * - 3: FT1 (Financial Transaction) optional repeating
+ * - 4: CTI (Clinical Trial Identification) optional repeating
+ * - 5: BLG (Billing) optional
+ *
+ */
+//@SuppressWarnings("unused")
+public class ORM_O01_ORDER extends AbstractGroup {
+
+ /**
+ * Creates a new ORM_O01_ORDER group
+ */
+ public ORM_O01_ORDER(Group parent, ModelClassFactory factory) {
+ super(parent, factory);
+ init(factory);
+ }
+
+ private void init(ModelClassFactory factory) {
+ try {
+ this.add(ORC.class, true, false, false);
+ this.add(ORM_O01_ORDER_DETAIL.class, false, false, false);
+ this.add(FT1.class, false, true, false);
+ this.add(CTI.class, false, true, false);
+ this.add(BLG.class, false, false, false);
+ } catch(HL7Exception e) {
+ log.error("Unexpected error creating ORM_O01_ORDER - this is probably a bug in the source code generator.", e);
+ }
+ }
+
+ /**
+ * Returns "2.7"
+ */
+ public String getVersion() {
+ return "2.7";
+ }
+
+ /**
+ * Returns
+ * ORC (Common Order) - creates it if necessary
+ */
+ public ORC getORC() {
+ ORC retVal = getTyped("ORC", ORC.class);
+ return retVal;
+ }
+
+ /**
+ * Returns
+ * ORDER_DETAIL (a Group object) - creates it if necessary
+ */
+ public ORM_O01_ORDER_DETAIL getORDER_DETAIL() {
+ ORM_O01_ORDER_DETAIL retVal = getTyped("ORDER_DETAIL", ORM_O01_ORDER_DETAIL.class);
+ return retVal;
+ }
+
+ /**
+ * Returns
+ * the first repetition of
+ * FT1 (Financial Transaction) - creates it if necessary
+ */
+ public FT1 getFT1() {
+ FT1 retVal = getTyped("FT1", FT1.class);
+ return retVal;
+ }
+
+ /**
+ * Returns a specific repetition of
+ * FT1 (Financial Transaction) - creates it if necessary
+ *
+ * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
+ * @throws HL7Exception if the repetition requested is more than one
+ * greater than the number of existing repetitions.
+ */
+ public FT1 getFT1(int rep) {
+ FT1 retVal = getTyped("FT1", rep, FT1.class);
+ return retVal;
+ }
+
+ /**
+ * Returns the number of existing repetitions of FT1
+ */
+ public int getFT1Reps() {
+ return getReps("FT1");
+ }
+
+ /**
+ *
+ * Returns a non-modifiable List containing all current existing repetitions of FT1.
+ *
+ * Note that unlike {@link #getFT1()}, this method will not create any reps
+ * if none are already present, so an empty list may be returned.
+ *
+ */
+ public java.util.List getFT1All() throws HL7Exception {
+ return getAllAsList("FT1", FT1.class);
+ }
+
+ /**
+ * Inserts a specific repetition of FT1 (Financial Transaction)
+ * @see AbstractGroup#insertRepetition(Structure, int)
+ */
+ public void insertFT1(FT1 structure, int rep) throws HL7Exception {
+ super.insertRepetition("FT1", structure, rep);
+ }
+
+ /**
+ * Inserts a specific repetition of FT1 (Financial Transaction)
+ * @see AbstractGroup#insertRepetition(Structure, int)
+ */
+ public FT1 insertFT1(int rep) throws HL7Exception {
+ return (FT1)super.insertRepetition("FT1", rep);
+ }
+
+ /**
+ * Removes a specific repetition of FT1 (Financial Transaction)
+ * @see AbstractGroup#removeRepetition(String, int)
+ */
+ public FT1 removeFT1(int rep) throws HL7Exception {
+ return (FT1)super.removeRepetition("FT1", rep);
+ }
+
+ /**
+ * Returns
+ * the first repetition of
+ * CTI (Clinical Trial Identification) - creates it if necessary
+ */
+ public CTI getCTI() {
+ CTI retVal = getTyped("CTI", CTI.class);
+ return retVal;
+ }
+
+ /**
+ * Returns a specific repetition of
+ * CTI (Clinical Trial Identification) - creates it if necessary
+ *
+ * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
+ * @throws HL7Exception if the repetition requested is more than one
+ * greater than the number of existing repetitions.
+ */
+ public CTI getCTI(int rep) {
+ CTI retVal = getTyped("CTI", rep, CTI.class);
+ return retVal;
+ }
+
+ /**
+ * Returns the number of existing repetitions of CTI
+ */
+ public int getCTIReps() {
+ return getReps("CTI");
+ }
+
+ /**
+ *
+ * Returns a non-modifiable List containing all current existing repetitions of CTI.
+ *
+ * Note that unlike {@link #getCTI()}, this method will not create any reps
+ * if none are already present, so an empty list may be returned.
+ *
+ */
+ public java.util.List getCTIAll() throws HL7Exception {
+ return getAllAsList("CTI", CTI.class);
+ }
+
+ /**
+ * Inserts a specific repetition of CTI (Clinical Trial Identification)
+ * @see AbstractGroup#insertRepetition(Structure, int)
+ */
+ public void insertCTI(CTI structure, int rep) throws HL7Exception {
+ super.insertRepetition("CTI", structure, rep);
+ }
+
+ /**
+ * Inserts a specific repetition of CTI (Clinical Trial Identification)
+ * @see AbstractGroup#insertRepetition(Structure, int)
+ */
+ public CTI insertCTI(int rep) throws HL7Exception {
+ return (CTI)super.insertRepetition("CTI", rep);
+ }
+
+ /**
+ * Removes a specific repetition of CTI (Clinical Trial Identification)
+ * @see AbstractGroup#removeRepetition(String, int)
+ */
+ public CTI removeCTI(int rep) throws HL7Exception {
+ return (CTI)super.removeRepetition("CTI", rep);
+ }
+
+ /**
+ * Returns
+ * BLG (Billing) - creates it if necessary
+ */
+ public BLG getBLG() {
+ BLG retVal = getTyped("BLG", BLG.class);
+ return retVal;
+ }
+}
\ No newline at end of file
diff --git a/prime-router/src/main/java/fhirengine/translation/hl7/structures/fhirinventory/group/ORM_O01_ORDER_DETAIL.java b/prime-router/src/main/java/fhirengine/translation/hl7/structures/fhirinventory/group/ORM_O01_ORDER_DETAIL.java
new file mode 100644
index 00000000000..391cfdc6ed3
--- /dev/null
+++ b/prime-router/src/main/java/fhirengine/translation/hl7/structures/fhirinventory/group/ORM_O01_ORDER_DETAIL.java
@@ -0,0 +1,363 @@
+/*
+ * This class is an auto-generated source file for a HAPI
+ * HL7 v2.x standard structure class.
+ *
+ * For more information, visit: http://hl7api.sourceforge.net/
+ *
+ * The contents of this file are subject to the Mozilla Public License Version 1.1
+ * (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.mozilla.org/MPL/
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the
+ * specific language governing rights and limitations under the License.
+ *
+ * The Original Code is "[file_name]". Description:
+ * "[one_line_description]"
+ *
+ * The Initial Developer of the Original Code is University Health Network. Copyright (C)
+ * 2012. All Rights Reserved.
+ *
+ * Contributor(s): ______________________________________.
+ *
+ * Alternatively, the contents of this file may be used under the terms of the
+ * GNU General Public License (the "GPL"), in which case the provisions of the GPL are
+ * applicable instead of those above. If you wish to allow use of your version of this
+ * file only under the terms of the GPL and not to allow others to use your version
+ * of this file under the MPL, indicate your decision by deleting the provisions above
+ * and replace them with the notice and other provisions required by the GPL License.
+ * If you do not delete the provisions above, a recipient may use your version of
+ * this file under either the MPL or the GPL.
+ *
+ */
+
+package fhirengine.translation.hl7.structures.fhirinventory.group;
+
+import ca.uhn.hl7v2.HL7Exception;
+import ca.uhn.hl7v2.model.v27.segment.*;
+import ca.uhn.hl7v2.model.*;
+import ca.uhn.hl7v2.parser.ModelClassFactory;
+import fhirengine.translation.hl7.structures.fhirinventory.segment.NTE;
+import fhirengine.translation.hl7.structures.fhirinventory.segment.OBR;
+
+/**
+ * Represents a ORM_O01_ORDER_DETAIL group structure (a Group object).
+ * A Group is an ordered collection of message segments that can repeat together or be optionally in/excluded together.
+ * This Group contains the following elements:
+ *
+ *
+ * - 1: OBR (Observation Request) choice
+ * - 2: RQD (Requisition Detail) choice
+ * - 3: RQ1 (Requisition Detail-1) choice
+ * - 4: RXO (Pharmacy/Treatment Order) choice
+ * - 5: ODS (Dietary Orders, Supplements, and Preferences) choice
+ * - 6: ODT (Diet Tray Instructions) choice
+ * - 7: NTE (Notes and Comments) optional repeating
+ * - 8: CTD (Contact Data) optional
+ * - 9: DG1 (Diagnosis) optional repeating
+ * - 10: ORM_O01_OBSERVATION (a Group object) optional repeating
+ *
+ *
+ * Note that this structure has "choice" elements. This means that one of the
+ * structures above marked as "choice" must be present, but no more than one.
+ *
+ */
+//@SuppressWarnings("unused")
+public class ORM_O01_ORDER_DETAIL extends AbstractGroup {
+
+ /**
+ * Creates a new ORM_O01_ORDER_DETAIL group
+ */
+ public ORM_O01_ORDER_DETAIL(Group parent, ModelClassFactory factory) {
+ super(parent, factory);
+ init(factory);
+ }
+
+ // Note: According to https://hl7-definition.caristix.com/v2/HL7v2.5.1/TriggerEvents/ORM_O01 there is also an
+ // "ORDER DETAIL SEGMENT" that is a part of the ORDER DETAIL. This is not actually built out here as that segment
+ // is representational of the "choice" segments that are built here (OBR, RQD, RQ1, RXD, ODS, ODT).
+ private void init(ModelClassFactory factory) {
+ try {
+ this.add(OBR.class, true, false, true);
+ this.add(RQD.class, true, false, true);
+ this.add(RQ1.class, true, false, true);
+ this.add(RXO.class, true, false, true);
+ this.add(ODS.class, true, false, true);
+ this.add(ODT.class, true, false, true);
+ this.add(NTE.class, false, true, false);
+ this.add(CTD.class, false, false, false);
+ this.add(DG1.class, false, true, false);
+ this.add(ORM_O01_OBSERVATION.class, false, true, false);
+ } catch(HL7Exception e) {
+ log.error("Unexpected error creating ORM_O01_ORDER_DETAIL - this is probably a bug in the source code generator.", e);
+ }
+ }
+
+ /**
+ * Returns "2.7"
+ */
+ public String getVersion() {
+ return "2.7";
+ }
+
+ /**
+ * Returns
+ * OBR (Observation Request) - creates it if necessary
+ */
+ public OBR getOBR() {
+ OBR retVal = getTyped("OBR", OBR.class);
+ return retVal;
+ }
+
+ /**
+ * Returns
+ * RQD (Requisition Detail) - creates it if necessary
+ */
+ public RQD getRQD() {
+ RQD retVal = getTyped("RQD", RQD.class);
+ return retVal;
+ }
+
+ /**
+ * Returns
+ * RQ1 (Requisition Detail-1) - creates it if necessary
+ */
+ public RQ1 getRQ1() {
+ RQ1 retVal = getTyped("RQ1", RQ1.class);
+ return retVal;
+ }
+
+ /**
+ * Returns
+ * RXO (Pharmacy/Treatment Order) - creates it if necessary
+ */
+ public RXO getRXO() {
+ RXO retVal = getTyped("RXO", RXO.class);
+ return retVal;
+ }
+
+ /**
+ * Returns
+ * ODS (Dietary Orders, Supplements, and Preferences) - creates it if necessary
+ */
+ public ODS getODS() {
+ ODS retVal = getTyped("ODS", ODS.class);
+ return retVal;
+ }
+
+ /**
+ * Returns
+ * ODT (Diet Tray Instructions) - creates it if necessary
+ */
+ public ODT getODT() {
+ ODT retVal = getTyped("ODT", ODT.class);
+ return retVal;
+ }
+
+ /**
+ * Returns
+ * the first repetition of
+ * NTE (Notes and Comments) - creates it if necessary
+ */
+ public NTE getNTE() {
+ NTE retVal = getTyped("NTE", NTE.class);
+ return retVal;
+ }
+
+ /**
+ * Returns a specific repetition of
+ * NTE (Notes and Comments) - creates it if necessary
+ *
+ * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
+ * @throws HL7Exception if the repetition requested is more than one
+ * greater than the number of existing repetitions.
+ */
+ public NTE getNTE(int rep) {
+ NTE retVal = getTyped("NTE", rep, NTE.class);
+ return retVal;
+ }
+
+ /**
+ * Returns the number of existing repetitions of NTE
+ */
+ public int getNTEReps() {
+ return getReps("NTE");
+ }
+
+ /**
+ *
+ * Returns a non-modifiable List containing all current existing repetitions of NTE.
+ *
+ * Note that unlike {@link #getNTE()}, this method will not create any reps
+ * if none are already present, so an empty list may be returned.
+ *
+ */
+ public java.util.List getNTEAll() throws HL7Exception {
+ return getAllAsList("NTE", NTE.class);
+ }
+
+ /**
+ * Inserts a specific repetition of NTE (Notes and Comments)
+ * @see AbstractGroup#insertRepetition(Structure, int)
+ */
+ public void insertNTE(NTE structure, int rep) throws HL7Exception {
+ super.insertRepetition("NTE", structure, rep);
+ }
+
+ /**
+ * Inserts a specific repetition of NTE (Notes and Comments)
+ * @see AbstractGroup#insertRepetition(Structure, int)
+ */
+ public NTE insertNTE(int rep) throws HL7Exception {
+ return (NTE)super.insertRepetition("NTE", rep);
+ }
+
+ /**
+ * Removes a specific repetition of NTE (Notes and Comments)
+ * @see AbstractGroup#removeRepetition(String, int)
+ */
+ public NTE removeNTE(int rep) throws HL7Exception {
+ return (NTE)super.removeRepetition("NTE", rep);
+ }
+
+ /**
+ * Returns
+ * CTD (Contact Data) - creates it if necessary
+ */
+ public CTD getCTD() {
+ CTD retVal = getTyped("CTD", CTD.class);
+ return retVal;
+ }
+
+ /**
+ * Returns
+ * the first repetition of
+ * DG1 (Diagnosis) - creates it if necessary
+ */
+ public DG1 getDG1() {
+ DG1 retVal = getTyped("DG1", DG1.class);
+ return retVal;
+ }
+
+ /**
+ * Returns a specific repetition of
+ * DG1 (Diagnosis) - creates it if necessary
+ *
+ * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
+ * @throws HL7Exception if the repetition requested is more than one
+ * greater than the number of existing repetitions.
+ */
+ public DG1 getDG1(int rep) {
+ DG1 retVal = getTyped("DG1", rep, DG1.class);
+ return retVal;
+ }
+
+ /**
+ * Returns the number of existing repetitions of DG1
+ */
+ public int getDG1Reps() {
+ return getReps("DG1");
+ }
+
+ /**
+ *
+ * Returns a non-modifiable List containing all current existing repetitions of DG1.
+ *
+ * Note that unlike {@link #getDG1()}, this method will not create any reps
+ * if none are already present, so an empty list may be returned.
+ *
+ */
+ public java.util.List getDG1All() throws HL7Exception {
+ return getAllAsList("DG1", DG1.class);
+ }
+
+ /**
+ * Inserts a specific repetition of DG1 (Diagnosis)
+ * @see AbstractGroup#insertRepetition(Structure, int)
+ */
+ public void insertDG1(DG1 structure, int rep) throws HL7Exception {
+ super.insertRepetition("DG1", structure, rep);
+ }
+
+ /**
+ * Inserts a specific repetition of DG1 (Diagnosis)
+ * @see AbstractGroup#insertRepetition(Structure, int)
+ */
+ public DG1 insertDG1(int rep) throws HL7Exception {
+ return (DG1)super.insertRepetition("DG1", rep);
+ }
+
+ /**
+ * Removes a specific repetition of DG1 (Diagnosis)
+ * @see AbstractGroup#removeRepetition(String, int)
+ */
+ public DG1 removeDG1(int rep) throws HL7Exception {
+ return (DG1)super.removeRepetition("DG1", rep);
+ }
+
+ /**
+ * Returns
+ * the first repetition of
+ * OBSERVATION (a Group object) - creates it if necessary
+ */
+ public ORM_O01_OBSERVATION getOBSERVATION() {
+ ORM_O01_OBSERVATION retVal = getTyped("OBSERVATION", ORM_O01_OBSERVATION.class);
+ return retVal;
+ }
+
+ /**
+ * Returns a specific repetition of
+ * OBSERVATION (a Group object) - creates it if necessary
+ *
+ * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
+ * @throws HL7Exception if the repetition requested is more than one
+ * greater than the number of existing repetitions.
+ */
+ public ORM_O01_OBSERVATION getOBSERVATION(int rep) {
+ ORM_O01_OBSERVATION retVal = getTyped("OBSERVATION", rep, ORM_O01_OBSERVATION.class);
+ return retVal;
+ }
+
+ /**
+ * Returns the number of existing repetitions of OBSERVATION
+ */
+ public int getOBSERVATIONReps() {
+ return getReps("OBSERVATION");
+ }
+
+ /**
+ *
+ * Returns a non-modifiable List containing all current existing repetitions of OBSERVATION.
+ *
+ *
+ * Note that unlike {@link #getOBSERVATION()}, this method will not create any reps
+ * if none are already present, so an empty list may be returned.
+ *
+ */
+ public java.util.List getOBSERVATIONAll() throws HL7Exception {
+ return getAllAsList("OBSERVATION", ORM_O01_OBSERVATION.class);
+ }
+
+ /**
+ * Inserts a specific repetition of OBSERVATION (a Group object)
+ * @see AbstractGroup#insertRepetition(Structure, int)
+ */
+ public void insertOBSERVATION(ORM_O01_OBSERVATION structure, int rep) throws HL7Exception {
+ super.insertRepetition("OBSERVATION", structure, rep);
+ }
+
+ /**
+ * Inserts a specific repetition of OBSERVATION (a Group object)
+ * @see AbstractGroup#insertRepetition(Structure, int)
+ */
+ public ORM_O01_OBSERVATION insertOBSERVATION(int rep) throws HL7Exception {
+ return (ORM_O01_OBSERVATION)super.insertRepetition("OBSERVATION", rep);
+ }
+
+ /**
+ * Removes a specific repetition of OBSERVATION (a Group object)
+ * @see AbstractGroup#removeRepetition(String, int)
+ */
+ public ORM_O01_OBSERVATION removeOBSERVATION(int rep) throws HL7Exception {
+ return (ORM_O01_OBSERVATION)super.removeRepetition("OBSERVATION", rep);
+ }
+}
\ No newline at end of file
diff --git a/prime-router/src/main/java/fhirengine/translation/hl7/structures/fhirinventory/group/ORM_O01_PATIENT.java b/prime-router/src/main/java/fhirengine/translation/hl7/structures/fhirinventory/group/ORM_O01_PATIENT.java
new file mode 100644
index 00000000000..4fed5e406ae
--- /dev/null
+++ b/prime-router/src/main/java/fhirengine/translation/hl7/structures/fhirinventory/group/ORM_O01_PATIENT.java
@@ -0,0 +1,329 @@
+/*
+ * This class is an auto-generated source file for a HAPI
+ * HL7 v2.x standard structure class.
+ *
+ * For more information, visit: http://hl7api.sourceforge.net/
+ *
+ * The contents of this file are subject to the Mozilla Public License Version 1.1
+ * (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.mozilla.org/MPL/
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the
+ * specific language governing rights and limitations under the License.
+ *
+ * The Original Code is "[file_name]". Description:
+ * "[one_line_description]"
+ *
+ * The Initial Developer of the Original Code is University Health Network. Copyright (C)
+ * 2012. All Rights Reserved.
+ *
+ * Contributor(s): ______________________________________.
+ *
+ * Alternatively, the contents of this file may be used under the terms of the
+ * GNU General Public License (the "GPL"), in which case the provisions of the GPL are
+ * applicable instead of those above. If you wish to allow use of your version of this
+ * file only under the terms of the GPL and not to allow others to use your version
+ * of this file under the MPL, indicate your decision by deleting the provisions above
+ * and replace them with the notice and other provisions required by the GPL License.
+ * If you do not delete the provisions above, a recipient may use your version of
+ * this file under either the MPL or the GPL.
+ *
+ */
+
+package fhirengine.translation.hl7.structures.fhirinventory.group;
+
+import ca.uhn.hl7v2.model.v27.segment.*;
+
+import ca.uhn.hl7v2.HL7Exception;
+import ca.uhn.hl7v2.parser.ModelClassFactory;
+import ca.uhn.hl7v2.model.*;
+import ca.uhn.hl7v2.model.v26.group.ORM_O01_INSURANCE;
+import fhirengine.translation.hl7.structures.fhirinventory.segment.NTE;
+import fhirengine.translation.hl7.structures.fhirinventory.segment.PD1;
+import fhirengine.translation.hl7.structures.fhirinventory.segment.PID;
+
+/**
+ * Represents a ORM_O01_PATIENT group structure (a Group object).
+ * A Group is an ordered collection of message segments that can repeat together or be optionally in/excluded together.
+ * This Group contains the following elements:
+ *
+ *
+ * - 1: PID (Patient Identification)
+ * - 2: PD1 (Patient Additional Demographic) optional
+ * - 3: NTE (Notes and Comments) optional repeating
+ * - 4: ORM_O01_PATIENT_VISIT (a Group object) optional
+ * - 5: ORM_O01_INSURANCE (a Group object) optional repeating
+ * - 6: GT1 (Guarantor) optional
+ * - 7: AL1 (Patient Allergy Information) optional repeating
+ *
+ */
+//@SuppressWarnings("unused")
+public class ORM_O01_PATIENT extends AbstractGroup {
+
+ /**
+ * Creates a new ORM_O01_PATIENT group
+ */
+ public ORM_O01_PATIENT(Group parent, ModelClassFactory factory) {
+ super(parent, factory);
+ init(factory);
+ }
+
+ private void init(ModelClassFactory factory) {
+ try {
+ this.add(PID.class, true, false, false);
+ this.add(PD1.class, false, false, false);
+ this.add(NTE.class, false, true, false);
+ this.add(ORM_O01_PATIENT_VISIT.class, false, false, false);
+ // When https://github.com/CDCgov/prime-reportstream/issues/16307 is completed, and we build the java class for
+ // ORM_O01_INSURANCE, the hapi v26 dependencies in the gradle build can be removed.
+ this.add(ORM_O01_INSURANCE.class, false, true, false);
+ this.add(GT1.class, false, false, false);
+ this.add(AL1.class, false, true, false);
+ } catch(HL7Exception e) {
+ log.error("Unexpected error creating ORM_O01_PATIENT - this is probably a bug in the source code generator.", e);
+ }
+ }
+
+ /**
+ * Returns "2.7"
+ */
+ public String getVersion() {
+ return "2.7";
+ }
+
+ /**
+ * Returns
+ * PID (Patient Identification) - creates it if necessary
+ */
+ public PID getPID() {
+ PID retVal = getTyped("PID", PID.class);
+ return retVal;
+ }
+
+ /**
+ * Returns
+ * PD1 (Patient Additional Demographic) - creates it if necessary
+ */
+ public PD1 getPD1() {
+ PD1 retVal = getTyped("PD1", PD1.class);
+ return retVal;
+ }
+
+ /**
+ * Returns
+ * the first repetition of
+ * NTE (Notes and Comments) - creates it if necessary
+ */
+ public NTE getNTE() {
+ NTE retVal = getTyped("NTE", NTE.class);
+ return retVal;
+ }
+
+ /**
+ * Returns a specific repetition of
+ * NTE (Notes and Comments) - creates it if necessary
+ *
+ * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
+ * @throws HL7Exception if the repetition requested is more than one
+ * greater than the number of existing repetitions.
+ */
+ public NTE getNTE(int rep) {
+ NTE retVal = getTyped("NTE", rep, NTE.class);
+ return retVal;
+ }
+
+ /**
+ * Returns the number of existing repetitions of NTE
+ */
+ public int getNTEReps() {
+ return getReps("NTE");
+ }
+
+ /**
+ *
+ * Returns a non-modifiable List containing all current existing repetitions of NTE.
+ *
+ * Note that unlike {@link #getNTE()}, this method will not create any reps
+ * if none are already present, so an empty list may be returned.
+ *
+ */
+ public java.util.List getNTEAll() throws HL7Exception {
+ return getAllAsList("NTE", NTE.class);
+ }
+
+ /**
+ * Inserts a specific repetition of NTE (Notes and Comments)
+ * @see AbstractGroup#insertRepetition(Structure, int)
+ */
+ public void insertNTE(NTE structure, int rep) throws HL7Exception {
+ super.insertRepetition("NTE", structure, rep);
+ }
+
+ /**
+ * Inserts a specific repetition of NTE (Notes and Comments)
+ * @see AbstractGroup#insertRepetition(Structure, int)
+ */
+ public NTE insertNTE(int rep) throws HL7Exception {
+ return (NTE)super.insertRepetition("NTE", rep);
+ }
+
+ /**
+ * Removes a specific repetition of NTE (Notes and Comments)
+ * @see AbstractGroup#removeRepetition(String, int)
+ */
+ public NTE removeNTE(int rep) throws HL7Exception {
+ return (NTE)super.removeRepetition("NTE", rep);
+ }
+
+ /**
+ * Returns
+ * PATIENT_VISIT (a Group object) - creates it if necessary
+ */
+ public ORM_O01_PATIENT_VISIT getPATIENT_VISIT() {
+ ORM_O01_PATIENT_VISIT retVal = getTyped("PATIENT_VISIT", ORM_O01_PATIENT_VISIT.class);
+ return retVal;
+ }
+
+ /**
+ * Returns
+ * the first repetition of
+ * INSURANCE (a Group object) - creates it if necessary
+ */
+ public ORM_O01_INSURANCE getINSURANCE() {
+ ORM_O01_INSURANCE retVal = getTyped("INSURANCE", ORM_O01_INSURANCE.class);
+ return retVal;
+ }
+
+ /**
+ * Returns a specific repetition of
+ * INSURANCE (a Group object) - creates it if necessary
+ *
+ * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
+ * @throws HL7Exception if the repetition requested is more than one
+ * greater than the number of existing repetitions.
+ */
+ public ORM_O01_INSURANCE getINSURANCE(int rep) {
+ ORM_O01_INSURANCE retVal = getTyped("INSURANCE", rep, ORM_O01_INSURANCE.class);
+ return retVal;
+ }
+
+ /**
+ * Returns the number of existing repetitions of INSURANCE
+ */
+ public int getINSURANCEReps() {
+ return getReps("INSURANCE");
+ }
+
+ /**
+ *
+ * Returns a non-modifiable List containing all current existing repetitions of INSURANCE.
+ *
+ *
+ * Note that unlike {@link #getINSURANCE()}, this method will not create any reps
+ * if none are already present, so an empty list may be returned.
+ *
+ */
+ public java.util.List getINSURANCEAll() throws HL7Exception {
+ return getAllAsList("INSURANCE", ORM_O01_INSURANCE.class);
+ }
+
+ /**
+ * Inserts a specific repetition of INSURANCE (a Group object)
+ * @see AbstractGroup#insertRepetition(Structure, int)
+ */
+ public void insertINSURANCE(ORM_O01_INSURANCE structure, int rep) throws HL7Exception {
+ super.insertRepetition("INSURANCE", structure, rep);
+ }
+
+ /**
+ * Inserts a specific repetition of INSURANCE (a Group object)
+ * @see AbstractGroup#insertRepetition(Structure, int)
+ */
+ public ORM_O01_INSURANCE insertINSURANCE(int rep) throws HL7Exception {
+ return (ORM_O01_INSURANCE)super.insertRepetition("INSURANCE", rep);
+ }
+
+ /**
+ * Removes a specific repetition of INSURANCE (a Group object)
+ * @see AbstractGroup#removeRepetition(String, int)
+ */
+ public ORM_O01_INSURANCE removeINSURANCE(int rep) throws HL7Exception {
+ return (ORM_O01_INSURANCE)super.removeRepetition("INSURANCE", rep);
+ }
+
+ /**
+ * Returns
+ * GT1 (Guarantor) - creates it if necessary
+ */
+ public GT1 getGT1() {
+ GT1 retVal = getTyped("GT1", GT1.class);
+ return retVal;
+ }
+
+ /**
+ * Returns
+ * the first repetition of
+ * AL1 (Patient Allergy Information) - creates it if necessary
+ */
+ public AL1 getAL1() {
+ AL1 retVal = getTyped("AL1", AL1.class);
+ return retVal;
+ }
+
+ /**
+ * Returns a specific repetition of
+ * AL1 (Patient Allergy Information) - creates it if necessary
+ *
+ * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
+ * @throws HL7Exception if the repetition requested is more than one
+ * greater than the number of existing repetitions.
+ */
+ public AL1 getAL1(int rep) {
+ AL1 retVal = getTyped("AL1", rep, AL1.class);
+ return retVal;
+ }
+
+ /**
+ * Returns the number of existing repetitions of AL1
+ */
+ public int getAL1Reps() {
+ return getReps("AL1");
+ }
+
+ /**
+ *
+ * Returns a non-modifiable List containing all current existing repetitions of AL1.
+ *
+ *
+ * Note that unlike {@link #getAL1()}, this method will not create any reps
+ * if none are already present, so an empty list may be returned.
+ *
+ */
+ public java.util.List getAL1All() throws HL7Exception {
+ return getAllAsList("AL1", AL1.class);
+ }
+
+ /**
+ * Inserts a specific repetition of AL1 (Patient Allergy Information)
+ * @see AbstractGroup#insertRepetition(Structure, int)
+ */
+ public void insertAL1(AL1 structure, int rep) throws HL7Exception {
+ super.insertRepetition("AL1", structure, rep);
+ }
+
+ /**
+ * Inserts a specific repetition of AL1 (Patient Allergy Information)
+ * @see AbstractGroup#insertRepetition(Structure, int)
+ */
+ public AL1 insertAL1(int rep) throws HL7Exception {
+ return (AL1)super.insertRepetition("AL1", rep);
+ }
+
+ /**
+ * Removes a specific repetition of AL1 (Patient Allergy Information)
+ * @see AbstractGroup#removeRepetition(String, int)
+ */
+ public AL1 removeAL1(int rep) throws HL7Exception {
+ return (AL1)super.removeRepetition("AL1", rep);
+ }
+}
\ No newline at end of file
diff --git a/prime-router/src/main/java/fhirengine/translation/hl7/structures/fhirinventory/group/ORM_O01_PATIENT_VISIT.java b/prime-router/src/main/java/fhirengine/translation/hl7/structures/fhirinventory/group/ORM_O01_PATIENT_VISIT.java
new file mode 100644
index 00000000000..d6d939eeff5
--- /dev/null
+++ b/prime-router/src/main/java/fhirengine/translation/hl7/structures/fhirinventory/group/ORM_O01_PATIENT_VISIT.java
@@ -0,0 +1,95 @@
+/*
+ * This class is an auto-generated source file for a HAPI
+ * HL7 v2.x standard structure class.
+ *
+ * For more information, visit: http://hl7api.sourceforge.net/
+ *
+ * The contents of this file are subject to the Mozilla Public License Version 1.1
+ * (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.mozilla.org/MPL/
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the
+ * specific language governing rights and limitations under the License.
+ *
+ * The Original Code is "[file_name]". Description:
+ * "[one_line_description]"
+ *
+ * The Initial Developer of the Original Code is University Health Network. Copyright (C)
+ * 2012. All Rights Reserved.
+ *
+ * Contributor(s): ______________________________________.
+ *
+ * Alternatively, the contents of this file may be used under the terms of the
+ * GNU General Public License (the "GPL"), in which case the provisions of the GPL are
+ * applicable instead of those above. If you wish to allow use of your version of this
+ * file only under the terms of the GPL and not to allow others to use your version
+ * of this file under the MPL, indicate your decision by deleting the provisions above
+ * and replace them with the notice and other provisions required by the GPL License.
+ * If you do not delete the provisions above, a recipient may use your version of
+ * this file under either the MPL or the GPL.
+ *
+ */
+
+package fhirengine.translation.hl7.structures.fhirinventory.group;
+
+import ca.uhn.hl7v2.model.v27.segment.*;
+
+import ca.uhn.hl7v2.HL7Exception;
+import ca.uhn.hl7v2.parser.ModelClassFactory;
+import ca.uhn.hl7v2.model.*;
+
+/**
+ * Represents a ORM_O01_PATIENT_VISIT group structure (a Group object).
+ * A Group is an ordered collection of message segments that can repeat together or be optionally in/excluded together.
+ * This Group contains the following elements:
+ *
+ *
+ * - 1: PV1 (Patient Visit)
+ * - 2: PV2 (Patient Visit - Additional Information) optional
+ *
+ */
+//@SuppressWarnings("unused")
+public class ORM_O01_PATIENT_VISIT extends AbstractGroup {
+
+ /**
+ * Creates a new ORM_O01_PATIENT_VISIT group
+ */
+ public ORM_O01_PATIENT_VISIT(Group parent, ModelClassFactory factory) {
+ super(parent, factory);
+ init(factory);
+ }
+
+ private void init(ModelClassFactory factory) {
+ try {
+ this.add(PV1.class, true, false, false);
+ this.add(PV2.class, false, false, false);
+ } catch(HL7Exception e) {
+ log.error("Unexpected error creating ORM_O01_PATIENT_VISIT - this is probably a bug in the source code generator.", e);
+ }
+ }
+
+ /**
+ * Returns "2.7"
+ */
+ public String getVersion() {
+ return "2.7";
+ }
+
+ /**
+ * Returns
+ * PV1 (Patient Visit) - creates it if necessary
+ */
+ public PV1 getPV1() {
+ PV1 retVal = getTyped("PV1", PV1.class);
+ return retVal;
+ }
+
+ /**
+ * Returns
+ * PV2 (Patient Visit - Additional Information) - creates it if necessary
+ */
+ public PV2 getPV2() {
+ PV2 retVal = getTyped("PV2", PV2.class);
+ return retVal;
+ }
+}
\ No newline at end of file
diff --git a/prime-router/src/main/java/fhirengine/translation/hl7/structures/fhirinventory/message/ORM_O01.java b/prime-router/src/main/java/fhirengine/translation/hl7/structures/fhirinventory/message/ORM_O01.java
new file mode 100644
index 00000000000..13a0243a624
--- /dev/null
+++ b/prime-router/src/main/java/fhirengine/translation/hl7/structures/fhirinventory/message/ORM_O01.java
@@ -0,0 +1,243 @@
+/*
+ * This class is an auto-generated source file for a HAPI
+ * HL7 v2.x standard structure class.
+ *
+ * For more information, visit: http://hl7api.sourceforge.net/
+ *
+ * The contents of this file are subject to the Mozilla Public License Version 1.1
+ * (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.mozilla.org/MPL/
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the
+ * specific language governing rights and limitations under the License.
+ *
+ * The Original Code is "[file_name]". Description:
+ * "[one_line_description]"
+ *
+ * The Initial Developer of the Original Code is University Health Network. Copyright (C)
+ * 2012. All Rights Reserved.
+ *
+ * Contributor(s): ______________________________________.
+ *
+ * Alternatively, the contents of this file may be used under the terms of the
+ * GNU General Public License (the "GPL"), in which case the provisions of the GPL are
+ * applicable instead of those above. If you wish to allow use of your version of this
+ * file only under the terms of the GPL and not to allow others to use your version
+ * of this file under the MPL, indicate your decision by deleting the provisions above
+ * and replace them with the notice and other provisions required by the GPL License.
+ * If you do not delete the provisions above, a recipient may use your version of
+ * this file under either the MPL or the GPL.
+ *
+ */
+
+package fhirengine.translation.hl7.structures.fhirinventory.message;
+
+import ca.uhn.hl7v2.HL7Exception;
+import ca.uhn.hl7v2.model.AbstractGroup;
+import ca.uhn.hl7v2.model.AbstractMessage;
+import ca.uhn.hl7v2.model.Structure;
+import ca.uhn.hl7v2.model.v27.segment.MSH;
+import ca.uhn.hl7v2.model.v27.segment.NTE;
+import ca.uhn.hl7v2.parser.DefaultModelClassFactory;
+import ca.uhn.hl7v2.parser.ModelClassFactory;
+import fhirengine.translation.hl7.structures.fhirinventory.group.ORM_O01_PATIENT;
+import fhirengine.translation.hl7.structures.fhirinventory.group.ORM_O01_ORDER;
+
+/**
+ * Represents a ORM_O01 message structure (see chapter 4.4.1). This structure contains the
+ * following elements:
+ *
+ * - 1: MSH (Message Header)
+ * - 2: NTE (Notes and Comments) optional repeating
+ * - 3: ORM_O01_PATIENT (a Group object) optional
+ * - 4: ORM_O01_ORDER (a Group object) repeating
+ *
+ */
+//@SuppressWarnings("unused")
+public class ORM_O01 extends AbstractMessage {
+
+ /**
+ * Creates a new ORM_O01 message with DefaultModelClassFactory.
+ */
+ public ORM_O01() { this(new DefaultModelClassFactory()); }
+
+ /**
+ * Creates a new ORM_O01 message with custom ModelClassFactory.
+ */
+ public ORM_O01(ModelClassFactory factory) {
+ super(factory);
+ init(factory);
+ }
+
+ private void init(ModelClassFactory factory) {
+ try {
+ this.add(MSH.class, true, false);
+ this.add(NTE.class, false, true);
+ this.add(ORM_O01_PATIENT.class, false, false);
+ this.add(ORM_O01_ORDER.class, true, true);
+ } catch(HL7Exception e) {
+ log.error("Unexpected error creating ORM_O01 - this is probably a bug in the source code generator.", e);
+ }
+ }
+
+ /**
+ * Returns "2.7"
+ */
+ public String getVersion() { return "2.7"; }
+
+ /**
+ *
+ * Returns
+ * MSH (Message Header) - creates it if necessary
+ *
+ */
+ public MSH getMSH() { return getTyped("MSH", MSH.class); }
+
+ /**
+ *
+ * Returns
+ * the first repetition of
+ * NTE (Notes and Comments) - creates it if necessary
+ *
+ */
+ public NTE getNTE() { return getTyped("NTE", NTE.class); }
+
+ /**
+ *
+ * Returns a specific repetition of
+ * NTE (Notes and Comments) - creates it if necessary
+ *
+ *
+ * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
+ * @throws HL7Exception if the repetition requested is more than one
+ * greater than the number of existing repetitions.
+ */
+ public NTE getNTE(int rep) { return getTyped("NTE", rep, NTE.class); }
+
+ /**
+ *
+ * Returns the number of existing repetitions of NTE
+ *
+ */
+ public int getNTEReps() { return getReps("NTE"); }
+
+ /**
+ *
+ * Returns a non-modifiable List containing all current existing repetitions of NTE.
+ *
+ *
+ * Note that unlike {@link #getNTE()}, this method will not create any reps
+ * if none are already present, so an empty list may be returned.
+ *
+ */
+ public java.util.List getNTEAll() throws HL7Exception {
+ return getAllAsList("NTE", NTE.class);
+ }
+
+ /**
+ *
+ * Inserts a specific repetition of NTE (Notes and Comments)
+ *
+ *
+ * @see AbstractGroup#insertRepetition(Structure, int)
+ */
+ public void insertNTE(NTE structure, int rep) throws HL7Exception {
+ super.insertRepetition( "NTE", structure, rep);
+ }
+
+ /**
+ *
+ * Inserts a specific repetition of NTE (Notes and Comments)
+ *
+ *
+ * @see AbstractGroup#insertRepetition(Structure, int)
+ */
+ public NTE insertNTE(int rep) throws HL7Exception { return (NTE)super.insertRepetition("NTE", rep); }
+
+ /**
+ *
+ * Removes a specific repetition of NTE (Notes and Comments)
+ *
+ *
+ * @see AbstractGroup#removeRepetition(String, int)
+ */
+ public NTE removeNTE(int rep) throws HL7Exception { return (NTE)super.removeRepetition("NTE", rep); }
+
+ /**
+ *
+ * Returns
+ * PATIENT (a Group object) - creates it if necessary
+ *
+ */
+ public ORM_O01_PATIENT getPATIENT() { return getTyped("PATIENT", ORM_O01_PATIENT.class); }
+
+ /**
+ *
+ * Returns
+ * the first repetition of
+ * ORDER (a Group object) - creates it if necessary
+ *
+ */
+ public ORM_O01_ORDER getORDER() { return getTyped("ORDER", ORM_O01_ORDER.class); }
+
+ /**
+ *
+ * Returns a specific repetition of
+ * ORDER (a Group object) - creates it if necessary
+ *
+ *
+ * @param rep The repetition index (0-indexed, i.e. the first repetition is at index 0)
+ * @throws HL7Exception if the repetition requested is more than one
+ * greater than the number of existing repetitions.
+ */
+ public ORM_O01_ORDER getORDER(int rep) { return getTyped("ORDER", rep, ORM_O01_ORDER.class); }
+
+ /**
+ *
+ * Returns the number of existing repetitions of ORDER
+ *
+ */
+ public int getORDERReps() { return getReps("ORDER"); }
+
+ /**
+ *
+ * Returns a non-modifiable List containing all current existing repetitions of ORDER.
+ *
+ * Note that unlike {@link #getORDER()}, this method will not create any reps
+ * if none are already present, so an empty list may be returned.
+ *
+ */
+ public java.util.List getORDERAll() throws HL7Exception {
+ return getAllAsList("ORDER", ORM_O01_ORDER.class);
+ }
+
+ /**
+ *
+ * Inserts a specific repetition of ORDER (a Group object)
+ *
+ * @see AbstractGroup#insertRepetition(Structure, int)
+ */
+ public void insertORDER(ORM_O01_ORDER structure, int rep) throws HL7Exception {
+ super.insertRepetition( "ORDER", structure, rep);
+ }
+
+ /**
+ *
+ * Inserts a specific repetition of ORDER (a Group object)
+ *
+ * @see AbstractGroup#insertRepetition(Structure, int)
+ */
+ public ORM_O01_ORDER insertORDER(int rep) throws HL7Exception {
+ return (ORM_O01_ORDER)super.insertRepetition("ORDER", rep);
+ }
+
+ /**
+ *
+ * Removes a specific repetition of ORDER (a Group object)
+ *
+ * @see AbstractGroup#removeRepetition(String, int)
+ */
+ public ORM_O01_ORDER removeORDER(int rep) throws HL7Exception {
+ return (ORM_O01_ORDER)super.removeRepetition("ORDER", rep);
+ }
+}
\ 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 bc4b8c4fea2..037cac9f388 100644
--- a/prime-router/src/main/kotlin/fhirengine/utils/HL7Reader.kt
+++ b/prime-router/src/main/kotlin/fhirengine/utils/HL7Reader.kt
@@ -13,6 +13,7 @@ import ca.uhn.hl7v2.util.Hl7InputStreamMessageStringIterator
import ca.uhn.hl7v2.util.Terser
import ca.uhn.hl7v2.validation.ValidationException
import ca.uhn.hl7v2.validation.impl.ValidationContextFactory
+import fhirengine.translation.hl7.structures.fhirinventory.message.ORM_O01
import fhirengine.translation.hl7.structures.fhirinventory.message.ORU_R01
import fhirengine.utils.ReportStreamCanonicalModelClassFactory
import gov.cdc.prime.router.ActionLogger
@@ -304,11 +305,17 @@ class HL7Reader(private val actionLogger: ActionLogger) : Logging {
ReportStreamCanonicalModelClassFactory(ORU_R01::class.java),
)
} else if (hl7MessageType?.msh93 == "OML_O21") {
- DefaultHapiContext(
- ParserConfiguration(),
- ValidationContextFactory.noValidation(),
- ReportStreamCanonicalModelClassFactory(v27_OML_O21::class.java),
- )
+ DefaultHapiContext(
+ ParserConfiguration(),
+ ValidationContextFactory.noValidation(),
+ ReportStreamCanonicalModelClassFactory(v27_OML_O21::class.java),
+ )
+ } else if (hl7MessageType?.msh93 == "ORM_O01") {
+ DefaultHapiContext(
+ ParserConfiguration(),
+ ValidationContextFactory.noValidation(),
+ ReportStreamCanonicalModelClassFactory(ORM_O01::class.java),
+ )
} else {
DefaultHapiContext(ValidationContextFactory.noValidation())
}
diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/patient/patient.yml b/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/patient/patient.yml
index 6923b49a993..dc0d8064c01 100644
--- a/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/patient/patient.yml
+++ b/prime-router/src/main/resources/metadata/hl7_mapping/OML_O21/base/patient/patient.yml
@@ -22,6 +22,13 @@ elements:
resource: '%resource.extension(%`rsext-pd1-patient-additional-demographic`)'
schema: classpath:/metadata/hl7_mapping/resources/Patient/PD1Extension.yml
+ - name: patient-note
+ resource: '%resource.extension(%`rsext-patient-notes`).value'
+ schema: classpath:/metadata/hl7_mapping/datatypes/annotation/NTE.yml
+ resourceIndex: noteIndex
+ constants:
+ hl7NotePath: '%{hl7SegmentGroup}'
+
- name: related-person-nk1
resource: 'Bundle.entry.resource.ofType(RelatedPerson).where(extension(%`rsext-hl7v2Segment`).value = "NK1" and patient.resolve().id = %resource.id)'
resourceIndex: relatedPersonIndex
diff --git a/prime-router/src/testIntegration/kotlin/datatests/mappinginventory/catchall/ormo01/ORMO01Full.kt b/prime-router/src/testIntegration/kotlin/datatests/mappinginventory/catchall/ormo01/ORMO01Full.kt
new file mode 100644
index 00000000000..e40b0eb3f5c
--- /dev/null
+++ b/prime-router/src/testIntegration/kotlin/datatests/mappinginventory/catchall/ormo01/ORMO01Full.kt
@@ -0,0 +1,19 @@
+package gov.cdc.prime.router.datatests.mappinginventory.ormo01
+
+import gov.cdc.prime.router.datatests.mappinginventory.verifyHL7ToFHIRToHL7Mapping
+import org.junit.jupiter.api.Test
+
+class ORMO01Full {
+
+ // There are no ORM mappings for FHIR -> HL7. The HL7 -> FHIR -> HL7 and FHIR -> HL7 scenarios here verify,
+ // with the exception of MessageHeader.eventCoding, that FHIR crafted through ORM is fully mapped with OML mappings.
+ @Test
+ fun `test ORM_O01 all segments`() {
+ assert(
+ verifyHL7ToFHIRToHL7Mapping(
+ "catchall/ormo01/orm_o01-full",
+ 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/resources/datatests/HL7_to_FHIR/sample_orm_20230809-001-with-enrichment.fhir b/prime-router/src/testIntegration/resources/datatests/HL7_to_FHIR/sample_orm_20230809-001-with-enrichment.fhir
index 79b994c95a1..8e4acc4e7c9 100644
--- a/prime-router/src/testIntegration/resources/datatests/HL7_to_FHIR/sample_orm_20230809-001-with-enrichment.fhir
+++ b/prime-router/src/testIntegration/resources/datatests/HL7_to_FHIR/sample_orm_20230809-001-with-enrichment.fhir
@@ -1,21 +1,21 @@
{
"resourceType" : "Bundle",
- "id" : "1707847039699548000.20a09324-cf16-43bc-9328-52840bc77a0a",
+ "id" : "1729550865636362000.0dd0d635-e79d-42ff-a976-30961d5309b6",
"meta" : {
- "lastUpdated" : "2024-02-13T11:57:19.729-06:00"
+ "lastUpdated" : "2024-10-21T15:47:45.640-07:00"
},
"identifier" : {
"system" : "https://reportstream.cdc.gov/prime-router",
"value" : "31808297"
},
"type" : "message",
- "timestamp" : "2023-05-06T05:29:16.000-05:00",
+ "timestamp" : "2023-05-06T03:29:16.000-07:00",
"entry" : [
{
- "fullUrl" : "MessageHeader/87c2d0db-6f31-3666-b9e2-7152e039c11f",
+ "fullUrl" : "MessageHeader/1729550865686591000.8eab0b79-1745-4db4-a152-f3ffa58d7e29",
"resource" : {
"resourceType" : "MessageHeader",
- "id" : "87c2d0db-6f31-3666-b9e2-7152e039c11f",
+ "id" : "1729550865686591000.8eab0b79-1745-4db4-a152-f3ffa58d7e29",
"meta" : {
"tag" : [
{
@@ -129,12 +129,12 @@
],
"name" : "NATUS",
"receiver" : {
- "reference" : "Organization/1707847039803464000.ea58b9a4-d88c-4058-88ad-f7c5ded76902"
+ "reference" : "Organization/1729550865685826000.122e2147-d1ba-462e-8fbb-ea52e6700fc4"
}
}
],
"sender" : {
- "reference" : "Organization/1707847039773359000.26190dfc-35d6-4bdc-bac2-54a57ab2aaac"
+ "reference" : "Organization/1729550865665105000.f7c72513-3f5a-4185-a6af-a3361529e59e"
},
"source" : {
"extension" : [
@@ -162,10 +162,10 @@
}
},
{
- "fullUrl" : "Organization/1707847039773359000.26190dfc-35d6-4bdc-bac2-54a57ab2aaac",
+ "fullUrl" : "Organization/1729550865665105000.f7c72513-3f5a-4185-a6af-a3361529e59e",
"resource" : {
"resourceType" : "Organization",
- "id" : "1707847039773359000.26190dfc-35d6-4bdc-bac2-54a57ab2aaac",
+ "id" : "1729550865665105000.f7c72513-3f5a-4185-a6af-a3361529e59e",
"identifier" : [
{
"extension" : [
@@ -197,10 +197,10 @@
}
},
{
- "fullUrl" : "Organization/1707847039803464000.ea58b9a4-d88c-4058-88ad-f7c5ded76902",
+ "fullUrl" : "Organization/1729550865685826000.122e2147-d1ba-462e-8fbb-ea52e6700fc4",
"resource" : {
"resourceType" : "Organization",
- "id" : "1707847039803464000.ea58b9a4-d88c-4058-88ad-f7c5ded76902",
+ "id" : "1729550865685826000.122e2147-d1ba-462e-8fbb-ea52e6700fc4",
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
@@ -239,16 +239,150 @@
}
},
{
- "fullUrl" : "Patient/1707847040239572000.c4a5ef84-2bdc-4c8a-a9cc-4daf0244cfbb",
+ "fullUrl" : "Provenance/1729550865908055000.e56840bd-f0a7-49f0-b01c-08b0cb1509ae",
+ "resource" : {
+ "resourceType" : "Provenance",
+ "id" : "1729550865908055000.e56840bd-f0a7-49f0-b01c-08b0cb1509ae",
+ "recorded" : "2023-05-06T05:29:16-05:00",
+ "activity" : {
+ "coding" : [
+ {
+ "display" : "ORM^O01^ORM_O01"
+ }
+ ]
+ },
+ "agent" : [
+ {
+ "type" : {
+ "coding" : [
+ {
+ "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
+ "code" : "author"
+ }
+ ]
+ },
+ "who" : {
+ "reference" : "Organization/1729550865907582000.dbb11efa-3e75-4f25-a65b-e4183991b9c8"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "fullUrl" : "Organization/1729550865907582000.dbb11efa-3e75-4f25-a65b-e4183991b9c8",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729550865907582000.dbb11efa-3e75-4f25-a65b-e4183991b9c8",
+ "identifier" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ }
+ ],
+ "value" : "Centracare"
+ },
+ {
+ "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" : "DNS"
+ }
+ ]
+ },
+ "value" : "centracare.com"
+ }
+ ]
+ }
+ },
+ {
+ "fullUrl" : "Provenance/1729550865915257000.813d1694-806e-4d26-8f17-cd25c54bcfd8",
+ "resource" : {
+ "resourceType" : "Provenance",
+ "id" : "1729550865915257000.813d1694-806e-4d26-8f17-cd25c54bcfd8",
+ "recorded" : "2024-10-21T15:47:45Z",
+ "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/1729550865915010000.a42d35fb-5cd1-44d8-9f9e-fdc1c0585119"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "fullUrl" : "Organization/1729550865915010000.a42d35fb-5cd1-44d8-9f9e-fdc1c0585119",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729550865915010000.a42d35fb-5cd1-44d8-9f9e-fdc1c0585119",
+ "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/1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb",
"resource" : {
"resourceType" : "Patient",
- "id" : "1707847040239572000.c4a5ef84-2bdc-4c8a-a9cc-4daf0244cfbb",
+ "id" : "1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb",
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/pid-patient",
"extension" : [
{
- "url" : "PID.8"
+ "url" : "PID.8",
+ "valueCodeableConcept" : {
+ "coding" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }
+ ],
+ "code" : "M"
+ }
+ ]
+ }
},
{
"url" : "PID.24",
@@ -307,7 +441,7 @@
},
"value" : "11102779",
"assigner" : {
- "reference" : "Organization/1707847040212466000.839717a1-adb9-4b95-a629-3cb2455bbe9c"
+ "reference" : "Organization/1729550865920619000.8e047a23-279b-4e30-aaa9-d8870963e7e5"
}
}
],
@@ -420,7 +554,7 @@
"link" : [
{
"other" : {
- "reference" : "RelatedPerson/1707847040228223000.eed99dd8-9b3a-4f18-8bf3-3e17975f6616"
+ "reference" : "RelatedPerson/1729550865926690000.e6fa0c78-e72f-4dd1-b1a3-4309fd31b5b3"
},
"type" : "seealso"
}
@@ -428,10 +562,10 @@
}
},
{
- "fullUrl" : "Organization/1707847040212466000.839717a1-adb9-4b95-a629-3cb2455bbe9c",
+ "fullUrl" : "Organization/1729550865920619000.8e047a23-279b-4e30-aaa9-d8870963e7e5",
"resource" : {
"resourceType" : "Organization",
- "id" : "1707847040212466000.839717a1-adb9-4b95-a629-3cb2455bbe9c",
+ "id" : "1729550865920619000.8e047a23-279b-4e30-aaa9-d8870963e7e5",
"identifier" : [
{
"extension" : [
@@ -446,10 +580,10 @@
}
},
{
- "fullUrl" : "RelatedPerson/1707847040228223000.eed99dd8-9b3a-4f18-8bf3-3e17975f6616",
+ "fullUrl" : "RelatedPerson/1729550865926690000.e6fa0c78-e72f-4dd1-b1a3-4309fd31b5b3",
"resource" : {
"resourceType" : "RelatedPerson",
- "id" : "1707847040228223000.eed99dd8-9b3a-4f18-8bf3-3e17975f6616",
+ "id" : "1729550865926690000.e6fa0c78-e72f-4dd1-b1a3-4309fd31b5b3",
"identifier" : [
{
"extension" : [
@@ -468,520 +602,387 @@
}
},
{
- "fullUrl" : "ServiceRequest/1707847040256925000.2584ab72-0d21-475d-a0c8-7b387ea2f0fd",
+ "fullUrl" : "Provenance/1729550865934422000.a889d3dd-3f30-4bc1-83ea-c33528b438d1",
"resource" : {
- "resourceType" : "ServiceRequest",
- "id" : "1707847040256925000.2584ab72-0d21-475d-a0c8-7b387ea2f0fd",
+ "resourceType" : "Provenance",
+ "id" : "1729550865934422000.a889d3dd-3f30-4bc1-83ea-c33528b438d1",
+ "target" : [
+ {
+ "reference" : "Patient/1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb"
+ }
+ ],
+ "recorded" : "2024-10-21T15:47:45Z",
+ "activity" : {
+ "coding" : [
+ {
+ "system" : "https://terminology.hl7.org/CodeSystem/v3-DataOperation",
+ "code" : "UPDATE"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "fullUrl" : "Observation/1729550865936768000.530253cf-943d-4360-895c-8f3e276ab614",
+ "resource" : {
+ "resourceType" : "Observation",
+ "id" : "1729550865936768000.530253cf-943d-4360-895c-8f3e276ab614",
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/business-event",
- "valueCode" : "NW"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
+ "valueString" : "1"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/business-event",
- "valueString" : "20230506052913-0500"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
+ "valueCode" : "AOE"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/orc-common-order",
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
"extension" : [
{
- "url" : "orc-21-ordering-facility-name",
- "valueReference" : {
- "reference" : "Organization/1707847040252066000.153d3558-35e2-4828-8a93-fff1afee50ae"
- }
- },
- {
- "url" : "orc-21-ordering-facility-name",
- "valueReference" : {
- "reference" : "Organization/1707847040252956000.3d97593b-e670-40a5-a230-ddb929e5af4c"
- }
+ "url" : "OBX.2",
+ "valueId" : "NM"
},
{
- "url" : "orc-12-ordering-provider",
- "valueReference" : {
- "reference" : "Practitioner/1707847040254368000.50514b93-84f6-4b7a-873b-68c878820d87"
- }
- }
- ]
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obr-observation-request",
- "extension" : [
- {
- "url" : "OBR.2",
- "valueIdentifier" : {
- "extension" : [
+ "url" : "OBX.6",
+ "valueCodeableConcept" : {
+ "coding" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
- "valueString" : "EPIC"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
- "valueString" : "1.2.840.114350.1.13.145.2.7.2.695071"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
- "valueCode" : "ISO"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "UCUM"
}
- ]
+ ],
+ "system" : "http://unitsofmeasure.org",
+ "code" : "g",
+ "display" : "gram"
}
- ],
- "value" : "421832901"
+ ]
}
- }
- ]
- }
- ],
- "identifier" : [
- {
- "extension" : [
+ },
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
- "valueString" : "ORC.2"
+ "url" : "OBX.29",
+ "valueId" : "QST"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
- "valueString" : "EPIC"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
- "valueString" : "1.2.840.114350.1.13.145.2.7.2.695071"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
- "valueCode" : "ISO"
- }
- ]
+ "url" : "OBX.11",
+ "valueString" : "O"
}
- ],
- "type" : {
- "coding" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
- "code" : "PLAC"
- }
- ]
- },
- "value" : "421832901"
+ ]
}
],
"status" : "unknown",
+ "code" : {
+ "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",
+ "code" : "8339-4",
+ "display" : "BIRTH WEIGHT MEASURED"
+ }
+ ]
+ },
"subject" : {
- "reference" : "Patient/1707847040239572000.c4a5ef84-2bdc-4c8a-a9cc-4daf0244cfbb"
+ "reference" : "Patient/1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb"
},
- "authoredOn" : "2023-05-06T05:29:13-05:00",
- "_authoredOn" : {
+ "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
+ "_effectiveDateTime" : {
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230506052913-0500"
+ "valueString" : "20230506050000-0500"
}
]
},
- "requester" : {
- "reference" : "PractitionerRole/1707847040245824000.44f7af0a-940c-495a-90bf-c7b29c1065bc"
+ "valueQuantity" : {
+ "value" : 1769.859285,
+ "unit" : "gram",
+ "system" : "UCUM",
+ "code" : "g"
}
}
},
{
- "fullUrl" : "Organization/1707847040246197000.f878df3a-5f70-4d4b-94c4-458c2cf2f17d",
- "resource" : {
- "resourceType" : "Organization",
- "id" : "1707847040246197000.f878df3a-5f70-4d4b-94c4-458c2cf2f17d",
- "identifier" : [
- {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
- "valueString" : "HD.1"
- }
- ],
- "value" : "NPI"
- }
- ]
- }
- },
- {
- "fullUrl" : "Practitioner/1707847040247436000.31b0f5dd-7b8e-465c-8c25-5021636ad132",
+ "fullUrl" : "Observation/1729550865939115000.5a7416db-44bf-4e02-bca8-b6a3bfc74da2",
"resource" : {
- "resourceType" : "Practitioner",
- "id" : "1707847040247436000.31b0f5dd-7b8e-465c-8c25-5021636ad132",
+ "resourceType" : "Observation",
+ "id" : "1729550865939115000.5a7416db-44bf-4e02-bca8-b6a3bfc74da2",
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
+ "valueString" : "1"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
+ "valueCode" : "AOE"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
- "valueString" : "NPI"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-unknown-type"
+ "url" : "OBX.2",
+ "valueId" : "NM"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
- }
- ]
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner",
- "extension" : [
+ "url" : "OBX.6",
+ "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" : "UCUM"
+ }
+ ],
+ "system" : "http://unitsofmeasure.org",
+ "code" : "wk",
+ "display" : "week"
+ }
+ ]
+ }
+ },
{
- "url" : "XCN.3",
- "valueString" : "JANE"
+ "url" : "OBX.29",
+ "valueId" : "QST"
},
{
- "url" : "XCN.10",
- "valueString" : "L"
+ "url" : "OBX.11",
+ "valueString" : "O"
}
]
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
- "valueString" : "ORC.12"
}
],
- "identifier" : [
- {
- "type" : {
- "coding" : [
+ "status" : "unknown",
+ "code" : {
+ "coding" : [
+ {
+ "extension" : [
{
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
- "valueBoolean" : true
- }
- ],
- "code" : "NPI"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "LN"
}
- ]
- },
- "value" : "1265136360",
- "assigner" : {
- "reference" : "Organization/1707847040246197000.f878df3a-5f70-4d4b-94c4-458c2cf2f17d"
+ ],
+ "system" : "http://loinc.org",
+ "code" : "57714-8",
+ "display" : "OBSTETRIC ESTIMATION OF GESTATIONAL AGE"
}
- }
- ],
- "name" : [
- {
- "use" : "official",
- "family" : "JONES",
- "given" : [
- "JANE"
- ]
- }
- ]
+ ]
+ },
+ "subject" : {
+ "reference" : "Patient/1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb"
+ },
+ "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
+ "_effectiveDateTime" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230506050000-0500"
+ }
+ ]
+ },
+ "valueQuantity" : {
+ "value" : 32,
+ "unit" : "week",
+ "system" : "UCUM",
+ "code" : "wk"
+ }
}
},
{
- "fullUrl" : "Organization/1707847040248788000.9a03e625-1b10-4b57-8540-fbc5705f0454",
+ "fullUrl" : "Observation/1729550865940883000.e4cb17c1-f11d-46b1-ad02-bb9d5e8ba0de",
"resource" : {
- "resourceType" : "Organization",
- "id" : "1707847040248788000.9a03e625-1b10-4b57-8540-fbc5705f0454",
+ "resourceType" : "Observation",
+ "id" : "1729550865940883000.e4cb17c1-f11d-46b1-ad02-bb9d5e8ba0de",
"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"
- }
- ]
- }
- }
- ]
- }
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
+ "valueString" : "1"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization",
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
+ "valueCode" : "AOE"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
"extension" : [
{
- "url" : "XON.10",
- "valueString" : "1043269798"
+ "url" : "OBX.2",
+ "valueId" : "CWE"
+ },
+ {
+ "url" : "OBX.29",
+ "valueId" : "QST"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "O"
}
]
}
],
- "identifier" : [
- {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
- "valueString" : "CMS"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-unknown-type"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
- }
- ]
- }
- ],
- "type" : {
- "coding" : [
+ "status" : "unknown",
+ "code" : {
+ "coding" : [
+ {
+ "extension" : [
{
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
- "code" : "NPI"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "LN"
}
- ]
- },
- "value" : "1043269798"
- }
- ],
- "name" : "ST. CLOUD HOSPITAL"
- }
- },
- {
- "fullUrl" : "PractitionerRole/1707847040245824000.44f7af0a-940c-495a-90bf-c7b29c1065bc",
- "resource" : {
- "resourceType" : "PractitionerRole",
- "id" : "1707847040245824000.44f7af0a-940c-495a-90bf-c7b29c1065bc",
- "practitioner" : {
- "reference" : "Practitioner/1707847040247436000.31b0f5dd-7b8e-465c-8c25-5021636ad132"
+ ],
+ "system" : "http://loinc.org",
+ "code" : "57713-0",
+ "display" : "INFANT FACTORS THAT AFFECT NEWBORN SCREENING INTERPRETATION"
+ }
+ ]
},
- "organization" : {
- "reference" : "Organization/1707847040248788000.9a03e625-1b10-4b57-8540-fbc5705f0454"
+ "subject" : {
+ "reference" : "Patient/1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb"
+ },
+ "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
+ "_effectiveDateTime" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230506050000-0500"
+ }
+ ]
+ },
+ "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" : "LN"
+ }
+ ],
+ "system" : "http://loinc.org",
+ "code" : "LA12419-0",
+ "display" : "INFANT IN NICU AT TIME OF SPECIMEN COLLECTION"
+ }
+ ]
}
}
},
{
- "fullUrl" : "Organization/1707847040252066000.153d3558-35e2-4828-8a93-fff1afee50ae",
+ "fullUrl" : "Observation/1729550865942890000.c84fe9a8-9286-4d76-aef0-955e9394f55b",
"resource" : {
- "resourceType" : "Organization",
- "id" : "1707847040252066000.153d3558-35e2-4828-8a93-fff1afee50ae",
+ "resourceType" : "Observation",
+ "id" : "1729550865942890000.c84fe9a8-9286-4d76-aef0-955e9394f55b",
"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"
- }
- ]
- }
- }
- ]
- }
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
+ "valueString" : "1"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization",
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
+ "valueCode" : "AOE"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
"extension" : [
{
- "url" : "XON.10",
- "valueString" : "1043269798"
+ "url" : "OBX.2",
+ "valueId" : "CWE"
+ },
+ {
+ "url" : "OBX.29",
+ "valueId" : "QST"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "O"
}
]
}
],
- "identifier" : [
- {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
- "valueString" : "CMS"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-unknown-type"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
- }
- ]
- }
- ],
- "type" : {
- "coding" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
- "code" : "NPI"
- }
- ]
- },
- "value" : "1043269798"
- }
- ],
- "name" : "ST. CLOUD HOSPITAL"
- }
- },
- {
- "fullUrl" : "Organization/1707847040252956000.3d97593b-e670-40a5-a230-ddb929e5af4c",
- "resource" : {
- "resourceType" : "Organization",
- "id" : "1707847040252956000.3d97593b-e670-40a5-a230-ddb929e5af4c",
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type",
- "valueCoding" : {
+ "status" : "unknown",
+ "code" : {
+ "coding" : [
+ {
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
- "valueCodeableConcept" : {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
- "valueString" : "XON.2"
- }
- ]
- }
+ "valueString" : "coding"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "99MDH"
}
- ]
+ ],
+ "code" : "MNDSIB",
+ "display" : "DOES THE BABY HAVE A DECEASED SIBLING?"
}
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization",
- "extension" : [
- {
- "url" : "XON.10",
- "valueString" : "739"
- }
- ]
- }
- ],
- "identifier" : [
- {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
- "valueString" : "MN Public Health Lab"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-unknown-type"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
- }
- ]
- }
- ],
- "type" : {
- "coding" : [
+ ]
+ },
+ "subject" : {
+ "reference" : "Patient/1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb"
+ },
+ "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
+ "_effectiveDateTime" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230506050000-0500"
+ }
+ ]
+ },
+ "valueCodeableConcept" : {
+ "coding" : [
+ {
+ "extension" : [
{
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
- "code" : "NPI"
- }
- ]
- },
- "value" : "739"
- }
- ],
- "name" : "ST. CLOUD HOSPITAL"
- }
- },
- {
- "fullUrl" : "Organization/1707847040253541000.744956ab-93bf-44c9-9728-d432cad078ba",
- "resource" : {
- "resourceType" : "Organization",
- "id" : "1707847040253541000.744956ab-93bf-44c9-9728-d432cad078ba",
- "identifier" : [
- {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
- "valueString" : "HD.1"
- }
- ],
- "value" : "NPI"
- }
- ]
- }
- },
- {
- "fullUrl" : "Practitioner/1707847040254368000.50514b93-84f6-4b7a-873b-68c878820d87",
- "resource" : {
- "resourceType" : "Practitioner",
- "id" : "1707847040254368000.50514b93-84f6-4b7a-873b-68c878820d87",
- "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-unknown-type"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
- }
- ]
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner",
- "extension" : [
- {
- "url" : "XCN.3",
- "valueString" : "JANE"
- },
- {
- "url" : "XCN.10",
- "valueString" : "L"
- }
- ]
- }
- ],
- "identifier" : [
- {
- "type" : {
- "coding" : [
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ },
{
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
- "valueBoolean" : true
- }
- ],
- "code" : "NPI"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "99MDH"
}
- ]
- },
- "value" : "1265136360",
- "assigner" : {
- "reference" : "Organization/1707847040253541000.744956ab-93bf-44c9-9728-d432cad078ba"
+ ],
+ "code" : "N",
+ "display" : "No"
}
- }
- ],
- "name" : [
- {
- "use" : "official",
- "family" : "JONES",
- "given" : [
- "JANE"
- ]
- }
- ]
+ ]
+ }
}
},
{
- "fullUrl" : "Observation/1707847040443634000.464d6ec3-104b-4e33-9753-08279fe67e1a",
+ "fullUrl" : "Observation/1729550865944796000.9dcd5b37-bd27-4835-ac6f-8c375d3cb7aa",
"resource" : {
"resourceType" : "Observation",
- "id" : "1707847040443634000.464d6ec3-104b-4e33-9753-08279fe67e1a",
+ "id" : "1729550865944796000.9dcd5b37-bd27-4835-ac6f-8c375d3cb7aa",
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
@@ -996,25 +997,40 @@
"extension" : [
{
"url" : "OBX.2",
- "valueId" : "NM"
+ "valueId" : "CWE"
},
{
- "url" : "OBX.6"
+ "url" : "OBX.29",
+ "valueId" : "QST"
},
{
"url" : "OBX.11",
"valueString" : "O"
- },
- {
- "url" : "OBX.29",
- "valueId" : "QST"
}
]
}
],
"status" : "unknown",
+ "code" : {
+ "coding" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "99MDH"
+ }
+ ],
+ "code" : "MNDEFECT",
+ "display" : "DOES THE BABY HAVE BIRTH DEFECTS?"
+ }
+ ]
+ },
"subject" : {
- "reference" : "Patient/1707847040239572000.c4a5ef84-2bdc-4c8a-a9cc-4daf0244cfbb"
+ "reference" : "Patient/1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb"
},
"effectiveDateTime" : "2023-05-06T05:00:00-05:00",
"_effectiveDateTime" : {
@@ -1025,19 +1041,31 @@
}
]
},
- "valueQuantity" : {
- "value" : 1769.859285,
- "unit" : "gram",
- "system" : "UCUM",
- "code" : "g"
+ "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" : "99MDH"
+ }
+ ],
+ "code" : "N",
+ "display" : "No"
+ }
+ ]
}
}
},
{
- "fullUrl" : "Observation/1707847040448325000.c15ce93a-0a69-4120-86ab-4534d8661b60",
+ "fullUrl" : "Observation/1729550865946599000.028a400c-8372-472b-ab2f-adbdac928078",
"resource" : {
"resourceType" : "Observation",
- "id" : "1707847040448325000.c15ce93a-0a69-4120-86ab-4534d8661b60",
+ "id" : "1729550865946599000.028a400c-8372-472b-ab2f-adbdac928078",
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
@@ -1052,48 +1080,75 @@
"extension" : [
{
"url" : "OBX.2",
- "valueId" : "NM"
+ "valueId" : "CWE"
},
{
- "url" : "OBX.6"
+ "url" : "OBX.29",
+ "valueId" : "QST"
},
{
"url" : "OBX.11",
"valueString" : "O"
- },
- {
- "url" : "OBX.29",
- "valueId" : "QST"
}
]
}
],
"status" : "unknown",
- "subject" : {
- "reference" : "Patient/1707847040239572000.c4a5ef84-2bdc-4c8a-a9cc-4daf0244cfbb"
- },
- "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
- "_effectiveDateTime" : {
- "extension" : [
+ "code" : {
+ "coding" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230506050000-0500"
- }
- ]
- },
- "valueQuantity" : {
- "value" : 32,
- "unit" : "week",
- "system" : "UCUM",
- "code" : "wk"
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "99MDH"
+ }
+ ],
+ "code" : "MNFAM",
+ "display" : "FAMILY HISTORY OF DISORDER ON MN SCREENING PANEL"
+ }
+ ]
+ },
+ "subject" : {
+ "reference" : "Patient/1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb"
+ },
+ "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
+ "_effectiveDateTime" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230506050000-0500"
+ }
+ ]
+ },
+ "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" : "99MDH"
+ }
+ ],
+ "code" : "N",
+ "display" : "No"
+ }
+ ]
}
}
},
{
- "fullUrl" : "Observation/1707847040451312000.bfeea92a-6560-461e-a28d-84df7aa878a7",
+ "fullUrl" : "Observation/1729550865948201000.0b8a3074-20b3-452c-b912-139eb437fd54",
"resource" : {
"resourceType" : "Observation",
- "id" : "1707847040451312000.bfeea92a-6560-461e-a28d-84df7aa878a7",
+ "id" : "1729550865948201000.0b8a3074-20b3-452c-b912-139eb437fd54",
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
@@ -1110,20 +1165,39 @@
"url" : "OBX.2",
"valueId" : "CWE"
},
- {
- "url" : "OBX.11",
- "valueString" : "O"
- },
{
"url" : "OBX.29",
"valueId" : "QST"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "O"
}
]
}
],
"status" : "unknown",
+ "code" : {
+ "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",
+ "code" : "67704-7",
+ "display" : "FEEDING TYPES"
+ }
+ ]
+ },
"subject" : {
- "reference" : "Patient/1707847040239572000.c4a5ef84-2bdc-4c8a-a9cc-4daf0244cfbb"
+ "reference" : "Patient/1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb"
},
"effectiveDateTime" : "2023-05-06T05:00:00-05:00",
"_effectiveDateTime" : {
@@ -1148,22 +1222,22 @@
}
],
"system" : "http://loinc.org",
- "code" : "LA12419-0",
- "display" : "INFANT IN NICU AT TIME OF SPECIMEN COLLECTION"
+ "code" : "LA12418-2",
+ "display" : "TPN"
}
]
}
}
},
{
- "fullUrl" : "Observation/1707847040453664000.0200154d-5d5f-46c6-8fba-9f88907ceb61",
+ "fullUrl" : "Observation/1729550865949712000.e398514d-8f4f-4c71-9e0f-80cb05f6737d",
"resource" : {
"resourceType" : "Observation",
- "id" : "1707847040453664000.0200154d-5d5f-46c6-8fba-9f88907ceb61",
+ "id" : "1729550865949712000.e398514d-8f4f-4c71-9e0f-80cb05f6737d",
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
- "valueString" : "1"
+ "valueString" : "2"
},
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
@@ -1176,20 +1250,39 @@
"url" : "OBX.2",
"valueId" : "CWE"
},
- {
- "url" : "OBX.11",
- "valueString" : "O"
- },
{
"url" : "OBX.29",
"valueId" : "QST"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "O"
}
]
}
],
"status" : "unknown",
+ "code" : {
+ "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",
+ "code" : "67704-7",
+ "display" : "FEEDING TYPES"
+ }
+ ]
+ },
"subject" : {
- "reference" : "Patient/1707847040239572000.c4a5ef84-2bdc-4c8a-a9cc-4daf0244cfbb"
+ "reference" : "Patient/1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb"
},
"effectiveDateTime" : "2023-05-06T05:00:00-05:00",
"_effectiveDateTime" : {
@@ -1210,21 +1303,22 @@
},
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
- "valueString" : "99MDH"
+ "valueString" : "LN"
}
],
- "code" : "N",
- "display" : "No"
+ "system" : "http://loinc.org",
+ "code" : "LA16914-6",
+ "display" : "BREAST MILK"
}
]
}
}
},
{
- "fullUrl" : "Observation/1707847040456098000.75d73472-658d-49ad-b2ca-a6207ffdff93",
+ "fullUrl" : "Observation/1729550865951387000.f4afebf4-4195-4cca-afc1-70a70e88cc25",
"resource" : {
"resourceType" : "Observation",
- "id" : "1707847040456098000.75d73472-658d-49ad-b2ca-a6207ffdff93",
+ "id" : "1729550865951387000.f4afebf4-4195-4cca-afc1-70a70e88cc25",
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
@@ -1241,20 +1335,39 @@
"url" : "OBX.2",
"valueId" : "CWE"
},
- {
- "url" : "OBX.11",
- "valueString" : "O"
- },
{
"url" : "OBX.29",
"valueId" : "QST"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "O"
}
]
}
],
"status" : "unknown",
+ "code" : {
+ "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",
+ "code" : "57723-9",
+ "display" : "UNIQUE BAR CODE NUMBER OF CURRENT SAMPLE"
+ }
+ ]
+ },
"subject" : {
- "reference" : "Patient/1707847040239572000.c4a5ef84-2bdc-4c8a-a9cc-4daf0244cfbb"
+ "reference" : "Patient/1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb"
},
"effectiveDateTime" : "2023-05-06T05:00:00-05:00",
"_effectiveDateTime" : {
@@ -1272,24 +1385,19 @@
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
"valueString" : "coding"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
- "valueString" : "99MDH"
}
],
- "code" : "N",
- "display" : "No"
+ "code" : "0516199364"
}
]
}
}
},
{
- "fullUrl" : "Observation/1707847040458823000.f538e528-ff23-45ea-8468-98f1eb43ca85",
+ "fullUrl" : "Observation/1729550865952662000.18a01715-7d4f-41f0-985f-2bf25ee21deb",
"resource" : {
"resourceType" : "Observation",
- "id" : "1707847040458823000.f538e528-ff23-45ea-8468-98f1eb43ca85",
+ "id" : "1729550865952662000.18a01715-7d4f-41f0-985f-2bf25ee21deb",
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
@@ -1304,33 +1412,21 @@
"extension" : [
{
"url" : "OBX.2",
- "valueId" : "CWE"
- },
- {
- "url" : "OBX.11",
- "valueString" : "O"
+ "valueId" : "ST"
},
{
"url" : "OBX.29",
"valueId" : "QST"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "O"
}
]
}
],
"status" : "unknown",
- "subject" : {
- "reference" : "Patient/1707847040239572000.c4a5ef84-2bdc-4c8a-a9cc-4daf0244cfbb"
- },
- "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
- "_effectiveDateTime" : {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230506050000-0500"
- }
- ]
- },
- "valueCodeableConcept" : {
+ "code" : {
"coding" : [
{
"extension" : [
@@ -1340,21 +1436,35 @@
},
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
- "valueString" : "99MDH"
+ "valueString" : "LN"
}
],
- "code" : "N",
- "display" : "No"
+ "system" : "http://loinc.org",
+ "code" : "62328-0",
+ "display" : "DISCHARGE PROVIDER PRACTICE PHONE NUMBER"
}
]
- }
+ },
+ "subject" : {
+ "reference" : "Patient/1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb"
+ },
+ "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
+ "_effectiveDateTime" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230506050000-0500"
+ }
+ ]
+ },
+ "valueString" : "Daniel Davis/218-555-1000"
}
},
{
- "fullUrl" : "Observation/1707847040460546000.a1fa7830-b4b1-4a74-b5e6-e21430a9fbf6",
+ "fullUrl" : "Observation/1729550865954074000.5741ae83-6c72-4a52-8b21-7dbdc91bcdfb",
"resource" : {
"resourceType" : "Observation",
- "id" : "1707847040460546000.a1fa7830-b4b1-4a74-b5e6-e21430a9fbf6",
+ "id" : "1729550865954074000.5741ae83-6c72-4a52-8b21-7dbdc91bcdfb",
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
@@ -1369,33 +1479,21 @@
"extension" : [
{
"url" : "OBX.2",
- "valueId" : "CWE"
- },
- {
- "url" : "OBX.11",
- "valueString" : "O"
+ "valueId" : "ST"
},
{
"url" : "OBX.29",
"valueId" : "QST"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "O"
}
]
}
],
"status" : "unknown",
- "subject" : {
- "reference" : "Patient/1707847040239572000.c4a5ef84-2bdc-4c8a-a9cc-4daf0244cfbb"
- },
- "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
- "_effectiveDateTime" : {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230506050000-0500"
- }
- ]
- },
- "valueCodeableConcept" : {
+ "code" : {
"coding" : [
{
"extension" : [
@@ -1409,22 +1507,35 @@
}
],
"system" : "http://loinc.org",
- "code" : "LA12418-2",
- "display" : "TPN"
+ "code" : "62324-9",
+ "display" : "POST-DISCHARGE PROVIDER NAME"
}
]
- }
+ },
+ "subject" : {
+ "reference" : "Patient/1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb"
+ },
+ "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
+ "_effectiveDateTime" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230506050000-0500"
+ }
+ ]
+ },
+ "valueString" : "DAVIS, DANIEL, MD"
}
},
{
- "fullUrl" : "Observation/1707847040463341000.b05f6ec1-5822-4d37-9e68-658b5f92681c",
+ "fullUrl" : "Observation/1729550865955784000.fc7cf5a5-a7d4-4e57-95b9-48e8877dcdc3",
"resource" : {
"resourceType" : "Observation",
- "id" : "1707847040463341000.b05f6ec1-5822-4d37-9e68-658b5f92681c",
+ "id" : "1729550865955784000.fc7cf5a5-a7d4-4e57-95b9-48e8877dcdc3",
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
- "valueString" : "2"
+ "valueString" : "1"
},
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
@@ -1435,22 +1546,41 @@
"extension" : [
{
"url" : "OBX.2",
- "valueId" : "CWE"
- },
- {
- "url" : "OBX.11",
- "valueString" : "O"
+ "valueId" : "ST"
},
{
"url" : "OBX.29",
"valueId" : "QST"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "O"
}
]
}
],
"status" : "unknown",
+ "code" : {
+ "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",
+ "code" : "62326-4",
+ "display" : "POST-DISCHARGE PROVIDER PRACTICE NAME"
+ }
+ ]
+ },
"subject" : {
- "reference" : "Patient/1707847040239572000.c4a5ef84-2bdc-4c8a-a9cc-4daf0244cfbb"
+ "reference" : "Patient/1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb"
},
"effectiveDateTime" : "2023-05-06T05:00:00-05:00",
"_effectiveDateTime" : {
@@ -1461,240 +1591,608 @@
}
]
},
- "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" : "LN"
+ "valueString" : "Lakeridge Health Revere"
+ }
+ },
+ {
+ "fullUrl" : "ServiceRequest/1729550866068637000.06cfe35d-3d26-459d-aa75-a7f852752d67",
+ "resource" : {
+ "resourceType" : "ServiceRequest",
+ "id" : "1729550866068637000.06cfe35d-3d26-459d-aa75-a7f852752d67",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/business-event",
+ "valueCode" : "NW"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/business-event",
+ "valueString" : "20230506052913-0500"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/orc-common-order",
+ "extension" : [
+ {
+ "url" : "orc-21-ordering-facility-name",
+ "valueReference" : {
+ "reference" : "Organization/1729550866065582000.1380b9a5-e0d5-4da5-92dd-f861784c6cd9"
+ }
+ },
+ {
+ "url" : "orc-21-ordering-facility-name",
+ "valueReference" : {
+ "reference" : "Organization/1729550866066054000.3358bd18-d275-45c0-ba7c-964fb463f407"
+ }
+ },
+ {
+ "url" : "orc-12-ordering-provider",
+ "valueReference" : {
+ "reference" : "Practitioner/1729550866067327000.d52b6353-7451-4d1f-a082-b5bebef2ed42"
+ }
+ }
+ ]
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obr-observation-request",
+ "extension" : [
+ {
+ "url" : "OBR.2",
+ "valueIdentifier" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "EPIC"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "1.2.840.114350.1.13.145.2.7.2.695071"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ }
+ ]
+ }
+ ],
+ "value" : "421832901"
+ }
+ }
+ ]
+ }
+ ],
+ "identifier" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "ORC.2"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "EPIC"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "1.2.840.114350.1.13.145.2.7.2.695071"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ }
+ ]
+ }
+ ],
+ "type" : {
+ "coding" : [
+ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "PLAC"
+ }
+ ]
+ },
+ "value" : "421832901"
+ }
+ ],
+ "status" : "unknown",
+ "code" : {
+ "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",
+ "code" : "54089-8",
+ "display" : "Newborn screening panel American Health Information Community (AHIC)"
+ }
+ ]
+ },
+ "subject" : {
+ "reference" : "Patient/1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb"
+ },
+ "authoredOn" : "2023-05-06T05:29:13-05:00",
+ "_authoredOn" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230506052913-0500"
+ }
+ ]
+ },
+ "requester" : {
+ "reference" : "PractitionerRole/1729550866062612000.df6baca3-05a6-42f0-b32d-2696c41ac200"
+ },
+ "supportingInfo" : [
+ {
+ "reference" : "Observation/1729550865936768000.530253cf-943d-4360-895c-8f3e276ab614"
+ },
+ {
+ "reference" : "Observation/1729550865939115000.5a7416db-44bf-4e02-bca8-b6a3bfc74da2"
+ },
+ {
+ "reference" : "Observation/1729550865940883000.e4cb17c1-f11d-46b1-ad02-bb9d5e8ba0de"
+ },
+ {
+ "reference" : "Observation/1729550865942890000.c84fe9a8-9286-4d76-aef0-955e9394f55b"
+ },
+ {
+ "reference" : "Observation/1729550865944796000.9dcd5b37-bd27-4835-ac6f-8c375d3cb7aa"
+ },
+ {
+ "reference" : "Observation/1729550865946599000.028a400c-8372-472b-ab2f-adbdac928078"
+ },
+ {
+ "reference" : "Observation/1729550865948201000.0b8a3074-20b3-452c-b912-139eb437fd54"
+ },
+ {
+ "reference" : "Observation/1729550865949712000.e398514d-8f4f-4c71-9e0f-80cb05f6737d"
+ },
+ {
+ "reference" : "Observation/1729550865951387000.f4afebf4-4195-4cca-afc1-70a70e88cc25"
+ },
+ {
+ "reference" : "Observation/1729550865952662000.18a01715-7d4f-41f0-985f-2bf25ee21deb"
+ },
+ {
+ "reference" : "Observation/1729550865954074000.5741ae83-6c72-4a52-8b21-7dbdc91bcdfb"
+ },
+ {
+ "reference" : "Observation/1729550865955784000.fc7cf5a5-a7d4-4e57-95b9-48e8877dcdc3"
+ }
+ ]
+ }
+ },
+ {
+ "fullUrl" : "Organization/1729550866062887000.6e32ebb6-100d-4146-a338-41c5afed2395",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729550866062887000.6e32ebb6-100d-4146-a338-41c5afed2395",
+ "identifier" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ }
+ ],
+ "value" : "NPI"
+ }
+ ]
+ }
+ },
+ {
+ "fullUrl" : "Practitioner/1729550866063517000.7c8076a4-2df1-47ab-a0f6-e88d84fd5654",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1729550866063517000.7c8076a4-2df1-47ab-a0f6-e88d84fd5654",
+ "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-unknown-type"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
+ }
+ ]
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner",
+ "extension" : [
+ {
+ "url" : "XCN.3",
+ "valueString" : "JANE"
+ },
+ {
+ "url" : "XCN.10",
+ "valueString" : "L"
+ }
+ ]
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "ORC.12"
+ }
+ ],
+ "identifier" : [
+ {
+ "type" : {
+ "coding" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
+ "valueBoolean" : true
+ }
+ ],
+ "code" : "NPI"
+ }
+ ]
+ },
+ "value" : "1265136360",
+ "assigner" : {
+ "reference" : "Organization/1729550866062887000.6e32ebb6-100d-4146-a338-41c5afed2395"
+ }
+ }
+ ],
+ "name" : [
+ {
+ "use" : "official",
+ "family" : "JONES",
+ "given" : [
+ "JANE"
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "fullUrl" : "Organization/1729550866064117000.5920bdd1-5013-453c-b70e-c292f65c0328",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729550866064117000.5920bdd1-5013-453c-b70e-c292f65c0328",
+ "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"
+ }
+ ],
+ "code" : "L"
+ }
+ ]
+ }
+ }
+ ],
+ "code" : "L"
+ }
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization",
+ "extension" : [
+ {
+ "url" : "XON.10",
+ "valueString" : "1043269798"
+ }
+ ]
+ }
+ ],
+ "identifier" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "CMS"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-unknown-type"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
+ }
+ ]
+ }
+ ],
+ "type" : {
+ "coding" : [
+ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "NPI"
+ }
+ ]
+ },
+ "value" : "1043269798"
+ }
+ ],
+ "name" : "ST. CLOUD HOSPITAL"
+ }
+ },
+ {
+ "fullUrl" : "PractitionerRole/1729550866062612000.df6baca3-05a6-42f0-b32d-2696c41ac200",
+ "resource" : {
+ "resourceType" : "PractitionerRole",
+ "id" : "1729550866062612000.df6baca3-05a6-42f0-b32d-2696c41ac200",
+ "practitioner" : {
+ "reference" : "Practitioner/1729550866063517000.7c8076a4-2df1-47ab-a0f6-e88d84fd5654"
+ },
+ "organization" : {
+ "reference" : "Organization/1729550866064117000.5920bdd1-5013-453c-b70e-c292f65c0328"
+ }
+ }
+ },
+ {
+ "fullUrl" : "Organization/1729550866065582000.1380b9a5-e0d5-4da5-92dd-f861784c6cd9",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729550866065582000.1380b9a5-e0d5-4da5-92dd-f861784c6cd9",
+ "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"
+ }
+ ],
+ "code" : "L"
+ }
+ ]
+ }
+ }
+ ],
+ "code" : "L"
+ }
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization",
+ "extension" : [
+ {
+ "url" : "XON.10",
+ "valueString" : "1043269798"
+ }
+ ]
+ }
+ ],
+ "identifier" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "CMS"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-unknown-type"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
+ }
+ ]
+ }
+ ],
+ "type" : {
+ "coding" : [
+ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "NPI"
}
- ],
- "system" : "http://loinc.org",
- "code" : "LA16914-6",
- "display" : "BREAST MILK"
- }
- ]
- }
+ ]
+ },
+ "value" : "1043269798"
+ }
+ ],
+ "name" : "ST. CLOUD HOSPITAL"
}
},
{
- "fullUrl" : "Observation/1707847040465005000.443a0926-af36-4cbe-a42e-a7990676641a",
+ "fullUrl" : "Organization/1729550866066054000.3358bd18-d275-45c0-ba7c-964fb463f407",
"resource" : {
- "resourceType" : "Observation",
- "id" : "1707847040465005000.443a0926-af36-4cbe-a42e-a7990676641a",
+ "resourceType" : "Organization",
+ "id" : "1729550866066054000.3358bd18-d275-45c0-ba7c-964fb463f407",
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
- "valueString" : "1"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
- "valueCode" : "AOE"
+ "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"
+ }
+ ],
+ "code" : "L"
+ }
+ ]
+ }
+ }
+ ],
+ "code" : "L"
+ }
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization",
"extension" : [
{
- "url" : "OBX.2",
- "valueId" : "CWE"
- },
- {
- "url" : "OBX.11",
- "valueString" : "O"
- },
- {
- "url" : "OBX.29",
- "valueId" : "QST"
+ "url" : "XON.10",
+ "valueString" : "739"
}
]
}
],
- "status" : "unknown",
- "subject" : {
- "reference" : "Patient/1707847040239572000.c4a5ef84-2bdc-4c8a-a9cc-4daf0244cfbb"
- },
- "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
- "_effectiveDateTime" : {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230506050000-0500"
- }
- ]
- },
- "valueCodeableConcept" : {
- "coding" : [
- {
- "extension" : [
+ "identifier" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "MN Public Health Lab"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-unknown-type"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
+ }
+ ]
+ }
+ ],
+ "type" : {
+ "coding" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
- "valueString" : "coding"
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "NPI"
}
- ],
- "code" : "0516199364"
- }
- ]
- }
+ ]
+ },
+ "value" : "739"
+ }
+ ],
+ "name" : "ST. CLOUD HOSPITAL"
}
},
{
- "fullUrl" : "Observation/1707847040467848000.959fd99f-3345-4173-9a6f-488ced1ca88e",
+ "fullUrl" : "Organization/1729550866066268000.88e57248-a47c-42ac-99cb-642aca62963a",
"resource" : {
- "resourceType" : "Observation",
- "id" : "1707847040467848000.959fd99f-3345-4173-9a6f-488ced1ca88e",
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
- "valueString" : "1"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
- "valueCode" : "AOE"
- },
+ "resourceType" : "Organization",
+ "id" : "1729550866066268000.88e57248-a47c-42ac-99cb-642aca62963a",
+ "identifier" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
"extension" : [
{
- "url" : "OBX.2",
- "valueId" : "ST"
- },
- {
- "url" : "OBX.11",
- "valueString" : "O"
- },
- {
- "url" : "OBX.29",
- "valueId" : "QST"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
}
- ]
+ ],
+ "value" : "NPI"
}
- ],
- "status" : "unknown",
- "subject" : {
- "reference" : "Patient/1707847040239572000.c4a5ef84-2bdc-4c8a-a9cc-4daf0244cfbb"
- },
- "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
- "_effectiveDateTime" : {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230506050000-0500"
- }
- ]
- },
- "valueString" : "Daniel Davis/218-555-1000"
+ ]
}
},
{
- "fullUrl" : "Observation/1707847040469515000.51aaea9b-3b23-49f3-ad51-da1213e94c18",
+ "fullUrl" : "Practitioner/1729550866067327000.d52b6353-7451-4d1f-a082-b5bebef2ed42",
"resource" : {
- "resourceType" : "Observation",
- "id" : "1707847040469515000.51aaea9b-3b23-49f3-ad51-da1213e94c18",
+ "resourceType" : "Practitioner",
+ "id" : "1729550866067327000.d52b6353-7451-4d1f-a082-b5bebef2ed42",
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
- "valueString" : "1"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
- "valueCode" : "AOE"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
"extension" : [
{
- "url" : "OBX.2",
- "valueId" : "ST"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "NPI"
},
{
- "url" : "OBX.11",
- "valueString" : "O"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-unknown-type"
},
{
- "url" : "OBX.29",
- "valueId" : "QST"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
}
]
- }
- ],
- "status" : "unknown",
- "subject" : {
- "reference" : "Patient/1707847040239572000.c4a5ef84-2bdc-4c8a-a9cc-4daf0244cfbb"
- },
- "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
- "_effectiveDateTime" : {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230506050000-0500"
- }
- ]
- },
- "valueString" : "DAVIS, DANIEL, MD"
- }
- },
- {
- "fullUrl" : "Observation/1707847040470869000.a016c22f-df02-4d19-a548-116e9da4a63b",
- "resource" : {
- "resourceType" : "Observation",
- "id" : "1707847040470869000.a016c22f-df02-4d19-a548-116e9da4a63b",
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
- "valueString" : "1"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
- "valueCode" : "AOE"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner",
"extension" : [
{
- "url" : "OBX.2",
- "valueId" : "ST"
- },
- {
- "url" : "OBX.11",
- "valueString" : "O"
+ "url" : "XCN.3",
+ "valueString" : "JANE"
},
{
- "url" : "OBX.29",
- "valueId" : "QST"
+ "url" : "XCN.10",
+ "valueString" : "L"
}
]
}
],
- "status" : "unknown",
- "subject" : {
- "reference" : "Patient/1707847040239572000.c4a5ef84-2bdc-4c8a-a9cc-4daf0244cfbb"
- },
- "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
- "_effectiveDateTime" : {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230506050000-0500"
+ "identifier" : [
+ {
+ "type" : {
+ "coding" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
+ "valueBoolean" : true
+ }
+ ],
+ "code" : "NPI"
+ }
+ ]
+ },
+ "value" : "1265136360",
+ "assigner" : {
+ "reference" : "Organization/1729550866066268000.88e57248-a47c-42ac-99cb-642aca62963a"
}
- ]
- },
- "valueString" : "Lakeridge Health Revere"
- }
- },
- {
- "fullUrl" : "Specimen/1707847040478484000.3fbc2652-a981-4cda-b38d-59f8a4aecdac",
- "resource" : {
- "resourceType" : "Specimen",
- "id" : "1707847040478484000.3fbc2652-a981-4cda-b38d-59f8a4aecdac",
- "extension" : [
+ }
+ ],
+ "name" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
- "valueString" : "SPM"
+ "use" : "official",
+ "family" : "JONES",
+ "given" : [
+ "JANE"
+ ]
}
]
}
diff --git a/prime-router/src/testIntegration/resources/datatests/HL7_to_FHIR/sample_orm_20230809-001.fhir b/prime-router/src/testIntegration/resources/datatests/HL7_to_FHIR/sample_orm_20230809-001.fhir
index 1848c5a801e..25b5f7e9975 100644
--- a/prime-router/src/testIntegration/resources/datatests/HL7_to_FHIR/sample_orm_20230809-001.fhir
+++ b/prime-router/src/testIntegration/resources/datatests/HL7_to_FHIR/sample_orm_20230809-001.fhir
@@ -1,21 +1,21 @@
{
"resourceType" : "Bundle",
- "id" : "1707847071537137000.07a221fd-ee87-4d5a-a1e7-13b79535defc",
+ "id" : "1729550865636362000.0dd0d635-e79d-42ff-a976-30961d5309b6",
"meta" : {
- "lastUpdated" : "2024-02-13T11:57:51.542-06:00"
+ "lastUpdated" : "2024-10-21T15:47:45.640-07:00"
},
"identifier" : {
"system" : "https://reportstream.cdc.gov/prime-router",
"value" : "31808297"
},
"type" : "message",
- "timestamp" : "2023-05-06T05:29:16.000-05:00",
+ "timestamp" : "2023-05-06T03:29:16.000-07:00",
"entry" : [
{
- "fullUrl" : "MessageHeader/87c2d0db-6f31-3666-b9e2-7152e039c11f",
+ "fullUrl" : "MessageHeader/1729550865686591000.8eab0b79-1745-4db4-a152-f3ffa58d7e29",
"resource" : {
"resourceType" : "MessageHeader",
- "id" : "87c2d0db-6f31-3666-b9e2-7152e039c11f",
+ "id" : "1729550865686591000.8eab0b79-1745-4db4-a152-f3ffa58d7e29",
"meta" : {
"tag" : [
{
@@ -129,12 +129,12 @@
],
"name" : "NATUS",
"receiver" : {
- "reference" : "Organization/1707847071695889000.df447fd8-6a34-4ef9-ba1c-820754f56c3a"
+ "reference" : "Organization/1729550865685826000.122e2147-d1ba-462e-8fbb-ea52e6700fc4"
}
}
],
"sender" : {
- "reference" : "Organization/1707847071629931000.d48536cc-4730-46ca-948e-251ee9bb56c5"
+ "reference" : "Organization/1729550865665105000.f7c72513-3f5a-4185-a6af-a3361529e59e"
},
"source" : {
"extension" : [
@@ -160,10 +160,10 @@
}
},
{
- "fullUrl" : "Organization/1707847071629931000.d48536cc-4730-46ca-948e-251ee9bb56c5",
+ "fullUrl" : "Organization/1729550865665105000.f7c72513-3f5a-4185-a6af-a3361529e59e",
"resource" : {
"resourceType" : "Organization",
- "id" : "1707847071629931000.d48536cc-4730-46ca-948e-251ee9bb56c5",
+ "id" : "1729550865665105000.f7c72513-3f5a-4185-a6af-a3361529e59e",
"identifier" : [
{
"extension" : [
@@ -195,10 +195,10 @@
}
},
{
- "fullUrl" : "Organization/1707847071695889000.df447fd8-6a34-4ef9-ba1c-820754f56c3a",
+ "fullUrl" : "Organization/1729550865685826000.122e2147-d1ba-462e-8fbb-ea52e6700fc4",
"resource" : {
"resourceType" : "Organization",
- "id" : "1707847071695889000.df447fd8-6a34-4ef9-ba1c-820754f56c3a",
+ "id" : "1729550865685826000.122e2147-d1ba-462e-8fbb-ea52e6700fc4",
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
@@ -237,16 +237,150 @@
}
},
{
- "fullUrl" : "Patient/1707847072401619000.95ba08d1-b846-4305-b0dc-8024ffe67c22",
+ "fullUrl" : "Provenance/1729550865908055000.e56840bd-f0a7-49f0-b01c-08b0cb1509ae",
+ "resource" : {
+ "resourceType" : "Provenance",
+ "id" : "1729550865908055000.e56840bd-f0a7-49f0-b01c-08b0cb1509ae",
+ "recorded" : "2023-05-06T05:29:16-05:00",
+ "activity" : {
+ "coding" : [
+ {
+ "display" : "ORM^O01^ORM_O01"
+ }
+ ]
+ },
+ "agent" : [
+ {
+ "type" : {
+ "coding" : [
+ {
+ "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
+ "code" : "author"
+ }
+ ]
+ },
+ "who" : {
+ "reference" : "Organization/1729550865907582000.dbb11efa-3e75-4f25-a65b-e4183991b9c8"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "fullUrl" : "Organization/1729550865907582000.dbb11efa-3e75-4f25-a65b-e4183991b9c8",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729550865907582000.dbb11efa-3e75-4f25-a65b-e4183991b9c8",
+ "identifier" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ }
+ ],
+ "value" : "Centracare"
+ },
+ {
+ "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" : "DNS"
+ }
+ ]
+ },
+ "value" : "centracare.com"
+ }
+ ]
+ }
+ },
+ {
+ "fullUrl" : "Provenance/1729550865915257000.813d1694-806e-4d26-8f17-cd25c54bcfd8",
+ "resource" : {
+ "resourceType" : "Provenance",
+ "id" : "1729550865915257000.813d1694-806e-4d26-8f17-cd25c54bcfd8",
+ "recorded" : "2024-10-21T15:47:45Z",
+ "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/1729550865915010000.a42d35fb-5cd1-44d8-9f9e-fdc1c0585119"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "fullUrl" : "Organization/1729550865915010000.a42d35fb-5cd1-44d8-9f9e-fdc1c0585119",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729550865915010000.a42d35fb-5cd1-44d8-9f9e-fdc1c0585119",
+ "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/1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb",
"resource" : {
"resourceType" : "Patient",
- "id" : "1707847072401619000.95ba08d1-b846-4305-b0dc-8024ffe67c22",
+ "id" : "1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb",
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/pid-patient",
"extension" : [
{
- "url" : "PID.8"
+ "url" : "PID.8",
+ "valueCodeableConcept" : {
+ "coding" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }
+ ],
+ "code" : "M"
+ }
+ ]
+ }
},
{
"url" : "PID.24",
@@ -305,7 +439,7 @@
},
"value" : "11102779",
"assigner" : {
- "reference" : "Organization/1707847072345357000.1dd41490-86e3-48b4-9eb2-9c0b500b97b7"
+ "reference" : "Organization/1729550865920619000.8e047a23-279b-4e30-aaa9-d8870963e7e5"
}
}
],
@@ -418,7 +552,7 @@
"link" : [
{
"other" : {
- "reference" : "RelatedPerson/1707847072385413000.1cb0efd6-805a-4a69-a864-783a9629dd0e"
+ "reference" : "RelatedPerson/1729550865926690000.e6fa0c78-e72f-4dd1-b1a3-4309fd31b5b3"
},
"type" : "seealso"
}
@@ -426,10 +560,10 @@
}
},
{
- "fullUrl" : "Organization/1707847072345357000.1dd41490-86e3-48b4-9eb2-9c0b500b97b7",
+ "fullUrl" : "Organization/1729550865920619000.8e047a23-279b-4e30-aaa9-d8870963e7e5",
"resource" : {
"resourceType" : "Organization",
- "id" : "1707847072345357000.1dd41490-86e3-48b4-9eb2-9c0b500b97b7",
+ "id" : "1729550865920619000.8e047a23-279b-4e30-aaa9-d8870963e7e5",
"identifier" : [
{
"extension" : [
@@ -444,10 +578,10 @@
}
},
{
- "fullUrl" : "RelatedPerson/1707847072385413000.1cb0efd6-805a-4a69-a864-783a9629dd0e",
+ "fullUrl" : "RelatedPerson/1729550865926690000.e6fa0c78-e72f-4dd1-b1a3-4309fd31b5b3",
"resource" : {
"resourceType" : "RelatedPerson",
- "id" : "1707847072385413000.1cb0efd6-805a-4a69-a864-783a9629dd0e",
+ "id" : "1729550865926690000.e6fa0c78-e72f-4dd1-b1a3-4309fd31b5b3",
"identifier" : [
{
"extension" : [
@@ -466,520 +600,387 @@
}
},
{
- "fullUrl" : "ServiceRequest/1707847072423996000.03197e28-f00a-4b01-a6ed-dfbfd08e2a43",
+ "fullUrl" : "Provenance/1729550865934422000.a889d3dd-3f30-4bc1-83ea-c33528b438d1",
"resource" : {
- "resourceType" : "ServiceRequest",
- "id" : "1707847072423996000.03197e28-f00a-4b01-a6ed-dfbfd08e2a43",
+ "resourceType" : "Provenance",
+ "id" : "1729550865934422000.a889d3dd-3f30-4bc1-83ea-c33528b438d1",
+ "target" : [
+ {
+ "reference" : "Patient/1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb"
+ }
+ ],
+ "recorded" : "2024-10-21T15:47:45Z",
+ "activity" : {
+ "coding" : [
+ {
+ "system" : "https://terminology.hl7.org/CodeSystem/v3-DataOperation",
+ "code" : "UPDATE"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "fullUrl" : "Observation/1729550865936768000.530253cf-943d-4360-895c-8f3e276ab614",
+ "resource" : {
+ "resourceType" : "Observation",
+ "id" : "1729550865936768000.530253cf-943d-4360-895c-8f3e276ab614",
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/business-event",
- "valueCode" : "NW"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
+ "valueString" : "1"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/business-event",
- "valueString" : "20230506052913-0500"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
+ "valueCode" : "AOE"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/orc-common-order",
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
"extension" : [
{
- "url" : "orc-21-ordering-facility-name",
- "valueReference" : {
- "reference" : "Organization/1707847072417482000.4522a04a-b675-4e79-93f6-351dadf7c4bc"
- }
- },
- {
- "url" : "orc-21-ordering-facility-name",
- "valueReference" : {
- "reference" : "Organization/1707847072418735000.43429617-4700-4fdd-b343-1f0f85892bab"
- }
+ "url" : "OBX.2",
+ "valueId" : "NM"
},
{
- "url" : "orc-12-ordering-provider",
- "valueReference" : {
- "reference" : "Practitioner/1707847072420860000.8c4240bd-15dc-46dd-942e-2b10821f80b8"
- }
- }
- ]
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obr-observation-request",
- "extension" : [
- {
- "url" : "OBR.2",
- "valueIdentifier" : {
- "extension" : [
+ "url" : "OBX.6",
+ "valueCodeableConcept" : {
+ "coding" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
- "valueString" : "EPIC"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
- "valueString" : "1.2.840.114350.1.13.145.2.7.2.695071"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
- "valueCode" : "ISO"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "UCUM"
}
- ]
+ ],
+ "system" : "http://unitsofmeasure.org",
+ "code" : "g",
+ "display" : "gram"
}
- ],
- "value" : "421832901"
+ ]
}
- }
- ]
- }
- ],
- "identifier" : [
- {
- "extension" : [
+ },
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
- "valueString" : "ORC.2"
+ "url" : "OBX.29",
+ "valueId" : "QST"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
- "valueString" : "EPIC"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
- "valueString" : "1.2.840.114350.1.13.145.2.7.2.695071"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
- "valueCode" : "ISO"
- }
- ]
+ "url" : "OBX.11",
+ "valueString" : "O"
}
- ],
- "type" : {
- "coding" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
- "code" : "PLAC"
- }
- ]
- },
- "value" : "421832901"
+ ]
}
],
"status" : "unknown",
+ "code" : {
+ "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",
+ "code" : "8339-4",
+ "display" : "BIRTH WEIGHT MEASURED"
+ }
+ ]
+ },
"subject" : {
- "reference" : "Patient/1707847072401619000.95ba08d1-b846-4305-b0dc-8024ffe67c22"
+ "reference" : "Patient/1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb"
},
- "authoredOn" : "2023-05-06T05:29:13-05:00",
- "_authoredOn" : {
+ "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
+ "_effectiveDateTime" : {
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230506052913-0500"
+ "valueString" : "20230506050000-0500"
}
]
},
- "requester" : {
- "reference" : "PractitionerRole/1707847072409054000.78e0d217-4a3c-4280-8c88-4310812360f2"
+ "valueQuantity" : {
+ "value" : 1769.859285,
+ "unit" : "gram",
+ "system" : "UCUM",
+ "code" : "g"
}
}
},
{
- "fullUrl" : "Organization/1707847072409413000.5daa8c0d-1c1a-400b-b0c0-ad099370d851",
- "resource" : {
- "resourceType" : "Organization",
- "id" : "1707847072409413000.5daa8c0d-1c1a-400b-b0c0-ad099370d851",
- "identifier" : [
- {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
- "valueString" : "HD.1"
- }
- ],
- "value" : "NPI"
- }
- ]
- }
- },
- {
- "fullUrl" : "Practitioner/1707847072410737000.cabd7aae-2608-41a0-af88-d82e23869a95",
+ "fullUrl" : "Observation/1729550865939115000.5a7416db-44bf-4e02-bca8-b6a3bfc74da2",
"resource" : {
- "resourceType" : "Practitioner",
- "id" : "1707847072410737000.cabd7aae-2608-41a0-af88-d82e23869a95",
+ "resourceType" : "Observation",
+ "id" : "1729550865939115000.5a7416db-44bf-4e02-bca8-b6a3bfc74da2",
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
+ "valueString" : "1"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
+ "valueCode" : "AOE"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
- "valueString" : "NPI"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-unknown-type"
+ "url" : "OBX.2",
+ "valueId" : "NM"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
- }
- ]
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner",
- "extension" : [
+ "url" : "OBX.6",
+ "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" : "UCUM"
+ }
+ ],
+ "system" : "http://unitsofmeasure.org",
+ "code" : "wk",
+ "display" : "week"
+ }
+ ]
+ }
+ },
{
- "url" : "XCN.3",
- "valueString" : "JANE"
+ "url" : "OBX.29",
+ "valueId" : "QST"
},
{
- "url" : "XCN.10",
- "valueString" : "L"
+ "url" : "OBX.11",
+ "valueString" : "O"
}
]
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
- "valueString" : "ORC.12"
}
],
- "identifier" : [
- {
- "type" : {
- "coding" : [
+ "status" : "unknown",
+ "code" : {
+ "coding" : [
+ {
+ "extension" : [
{
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
- "valueBoolean" : true
- }
- ],
- "code" : "NPI"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "LN"
}
- ]
- },
- "value" : "1265136360",
- "assigner" : {
- "reference" : "Organization/1707847072409413000.5daa8c0d-1c1a-400b-b0c0-ad099370d851"
+ ],
+ "system" : "http://loinc.org",
+ "code" : "57714-8",
+ "display" : "OBSTETRIC ESTIMATION OF GESTATIONAL AGE"
}
- }
- ],
- "name" : [
- {
- "use" : "official",
- "family" : "JONES",
- "given" : [
- "JANE"
- ]
- }
- ]
+ ]
+ },
+ "subject" : {
+ "reference" : "Patient/1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb"
+ },
+ "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
+ "_effectiveDateTime" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230506050000-0500"
+ }
+ ]
+ },
+ "valueQuantity" : {
+ "value" : 32,
+ "unit" : "week",
+ "system" : "UCUM",
+ "code" : "wk"
+ }
}
},
{
- "fullUrl" : "Organization/1707847072412231000.48789979-62c9-477f-81d8-38a437a12d3f",
+ "fullUrl" : "Observation/1729550865940883000.e4cb17c1-f11d-46b1-ad02-bb9d5e8ba0de",
"resource" : {
- "resourceType" : "Organization",
- "id" : "1707847072412231000.48789979-62c9-477f-81d8-38a437a12d3f",
+ "resourceType" : "Observation",
+ "id" : "1729550865940883000.e4cb17c1-f11d-46b1-ad02-bb9d5e8ba0de",
"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"
- }
- ]
- }
- }
- ]
- }
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
+ "valueString" : "1"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization",
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
+ "valueCode" : "AOE"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
"extension" : [
{
- "url" : "XON.10",
- "valueString" : "1043269798"
+ "url" : "OBX.2",
+ "valueId" : "CWE"
+ },
+ {
+ "url" : "OBX.29",
+ "valueId" : "QST"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "O"
}
]
}
],
- "identifier" : [
- {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
- "valueString" : "CMS"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-unknown-type"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
- }
- ]
- }
- ],
- "type" : {
- "coding" : [
+ "status" : "unknown",
+ "code" : {
+ "coding" : [
+ {
+ "extension" : [
{
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
- "code" : "NPI"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "LN"
}
- ]
- },
- "value" : "1043269798"
- }
- ],
- "name" : "ST. CLOUD HOSPITAL"
- }
- },
- {
- "fullUrl" : "PractitionerRole/1707847072409054000.78e0d217-4a3c-4280-8c88-4310812360f2",
- "resource" : {
- "resourceType" : "PractitionerRole",
- "id" : "1707847072409054000.78e0d217-4a3c-4280-8c88-4310812360f2",
- "practitioner" : {
- "reference" : "Practitioner/1707847072410737000.cabd7aae-2608-41a0-af88-d82e23869a95"
+ ],
+ "system" : "http://loinc.org",
+ "code" : "57713-0",
+ "display" : "INFANT FACTORS THAT AFFECT NEWBORN SCREENING INTERPRETATION"
+ }
+ ]
},
- "organization" : {
- "reference" : "Organization/1707847072412231000.48789979-62c9-477f-81d8-38a437a12d3f"
+ "subject" : {
+ "reference" : "Patient/1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb"
+ },
+ "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
+ "_effectiveDateTime" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230506050000-0500"
+ }
+ ]
+ },
+ "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" : "LN"
+ }
+ ],
+ "system" : "http://loinc.org",
+ "code" : "LA12419-0",
+ "display" : "INFANT IN NICU AT TIME OF SPECIMEN COLLECTION"
+ }
+ ]
}
}
},
{
- "fullUrl" : "Organization/1707847072417482000.4522a04a-b675-4e79-93f6-351dadf7c4bc",
+ "fullUrl" : "Observation/1729550865942890000.c84fe9a8-9286-4d76-aef0-955e9394f55b",
"resource" : {
- "resourceType" : "Organization",
- "id" : "1707847072417482000.4522a04a-b675-4e79-93f6-351dadf7c4bc",
+ "resourceType" : "Observation",
+ "id" : "1729550865942890000.c84fe9a8-9286-4d76-aef0-955e9394f55b",
"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"
- }
- ]
- }
- }
- ]
- }
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
+ "valueString" : "1"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization",
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
+ "valueCode" : "AOE"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
"extension" : [
{
- "url" : "XON.10",
- "valueString" : "1043269798"
+ "url" : "OBX.2",
+ "valueId" : "CWE"
+ },
+ {
+ "url" : "OBX.29",
+ "valueId" : "QST"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "O"
}
]
}
],
- "identifier" : [
- {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
- "valueString" : "CMS"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-unknown-type"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
- }
- ]
- }
- ],
- "type" : {
- "coding" : [
- {
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
- "code" : "NPI"
- }
- ]
- },
- "value" : "1043269798"
- }
- ],
- "name" : "ST. CLOUD HOSPITAL"
- }
- },
- {
- "fullUrl" : "Organization/1707847072418735000.43429617-4700-4fdd-b343-1f0f85892bab",
- "resource" : {
- "resourceType" : "Organization",
- "id" : "1707847072418735000.43429617-4700-4fdd-b343-1f0f85892bab",
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/organization-name-type",
- "valueCoding" : {
+ "status" : "unknown",
+ "code" : {
+ "coding" : [
+ {
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
- "valueCodeableConcept" : {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
- "valueString" : "XON.2"
- }
- ]
- }
+ "valueString" : "coding"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "99MDH"
}
- ]
+ ],
+ "code" : "MNDSIB",
+ "display" : "DOES THE BABY HAVE A DECEASED SIBLING?"
}
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization",
- "extension" : [
- {
- "url" : "XON.10",
- "valueString" : "739"
- }
- ]
- }
- ],
- "identifier" : [
- {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
- "valueString" : "MN Public Health Lab"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-unknown-type"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
- }
- ]
- }
- ],
- "type" : {
- "coding" : [
+ ]
+ },
+ "subject" : {
+ "reference" : "Patient/1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb"
+ },
+ "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
+ "_effectiveDateTime" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230506050000-0500"
+ }
+ ]
+ },
+ "valueCodeableConcept" : {
+ "coding" : [
+ {
+ "extension" : [
{
- "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
- "code" : "NPI"
- }
- ]
- },
- "value" : "739"
- }
- ],
- "name" : "ST. CLOUD HOSPITAL"
- }
- },
- {
- "fullUrl" : "Organization/1707847072419262000.2a326289-3f39-4f22-8a9f-ff2939c28cba",
- "resource" : {
- "resourceType" : "Organization",
- "id" : "1707847072419262000.2a326289-3f39-4f22-8a9f-ff2939c28cba",
- "identifier" : [
- {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
- "valueString" : "HD.1"
- }
- ],
- "value" : "NPI"
- }
- ]
- }
- },
- {
- "fullUrl" : "Practitioner/1707847072420860000.8c4240bd-15dc-46dd-942e-2b10821f80b8",
- "resource" : {
- "resourceType" : "Practitioner",
- "id" : "1707847072420860000.8c4240bd-15dc-46dd-942e-2b10821f80b8",
- "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-unknown-type"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
- }
- ]
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner",
- "extension" : [
- {
- "url" : "XCN.3",
- "valueString" : "JANE"
- },
- {
- "url" : "XCN.10",
- "valueString" : "L"
- }
- ]
- }
- ],
- "identifier" : [
- {
- "type" : {
- "coding" : [
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ },
{
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
- "valueBoolean" : true
- }
- ],
- "code" : "NPI"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "99MDH"
}
- ]
- },
- "value" : "1265136360",
- "assigner" : {
- "reference" : "Organization/1707847072419262000.2a326289-3f39-4f22-8a9f-ff2939c28cba"
+ ],
+ "code" : "N",
+ "display" : "No"
}
- }
- ],
- "name" : [
- {
- "use" : "official",
- "family" : "JONES",
- "given" : [
- "JANE"
- ]
- }
- ]
+ ]
+ }
}
},
{
- "fullUrl" : "Observation/1707847072726067000.1daa933b-9456-492e-93e3-64963e694bab",
+ "fullUrl" : "Observation/1729550865944796000.9dcd5b37-bd27-4835-ac6f-8c375d3cb7aa",
"resource" : {
"resourceType" : "Observation",
- "id" : "1707847072726067000.1daa933b-9456-492e-93e3-64963e694bab",
+ "id" : "1729550865944796000.9dcd5b37-bd27-4835-ac6f-8c375d3cb7aa",
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
@@ -994,25 +995,40 @@
"extension" : [
{
"url" : "OBX.2",
- "valueId" : "NM"
+ "valueId" : "CWE"
},
{
- "url" : "OBX.6"
+ "url" : "OBX.29",
+ "valueId" : "QST"
},
{
"url" : "OBX.11",
"valueString" : "O"
- },
- {
- "url" : "OBX.29",
- "valueId" : "QST"
}
]
}
],
"status" : "unknown",
+ "code" : {
+ "coding" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "99MDH"
+ }
+ ],
+ "code" : "MNDEFECT",
+ "display" : "DOES THE BABY HAVE BIRTH DEFECTS?"
+ }
+ ]
+ },
"subject" : {
- "reference" : "Patient/1707847072401619000.95ba08d1-b846-4305-b0dc-8024ffe67c22"
+ "reference" : "Patient/1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb"
},
"effectiveDateTime" : "2023-05-06T05:00:00-05:00",
"_effectiveDateTime" : {
@@ -1023,19 +1039,31 @@
}
]
},
- "valueQuantity" : {
- "value" : 1769.859285,
- "unit" : "gram",
- "system" : "UCUM",
- "code" : "g"
+ "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" : "99MDH"
+ }
+ ],
+ "code" : "N",
+ "display" : "No"
+ }
+ ]
}
}
},
{
- "fullUrl" : "Observation/1707847072730385000.7b72b218-7dbc-4430-aae8-603a4620ae22",
+ "fullUrl" : "Observation/1729550865946599000.028a400c-8372-472b-ab2f-adbdac928078",
"resource" : {
"resourceType" : "Observation",
- "id" : "1707847072730385000.7b72b218-7dbc-4430-aae8-603a4620ae22",
+ "id" : "1729550865946599000.028a400c-8372-472b-ab2f-adbdac928078",
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
@@ -1050,48 +1078,75 @@
"extension" : [
{
"url" : "OBX.2",
- "valueId" : "NM"
+ "valueId" : "CWE"
},
{
- "url" : "OBX.6"
+ "url" : "OBX.29",
+ "valueId" : "QST"
},
{
"url" : "OBX.11",
"valueString" : "O"
- },
- {
- "url" : "OBX.29",
- "valueId" : "QST"
}
]
}
],
"status" : "unknown",
- "subject" : {
- "reference" : "Patient/1707847072401619000.95ba08d1-b846-4305-b0dc-8024ffe67c22"
- },
- "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
- "_effectiveDateTime" : {
- "extension" : [
+ "code" : {
+ "coding" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230506050000-0500"
- }
- ]
- },
- "valueQuantity" : {
- "value" : 32,
- "unit" : "week",
- "system" : "UCUM",
- "code" : "wk"
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "99MDH"
+ }
+ ],
+ "code" : "MNFAM",
+ "display" : "FAMILY HISTORY OF DISORDER ON MN SCREENING PANEL"
+ }
+ ]
+ },
+ "subject" : {
+ "reference" : "Patient/1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb"
+ },
+ "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
+ "_effectiveDateTime" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230506050000-0500"
+ }
+ ]
+ },
+ "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" : "99MDH"
+ }
+ ],
+ "code" : "N",
+ "display" : "No"
+ }
+ ]
}
}
},
{
- "fullUrl" : "Observation/1707847072735311000.e185141d-0750-4c40-9190-3d2597821c65",
+ "fullUrl" : "Observation/1729550865948201000.0b8a3074-20b3-452c-b912-139eb437fd54",
"resource" : {
"resourceType" : "Observation",
- "id" : "1707847072735311000.e185141d-0750-4c40-9190-3d2597821c65",
+ "id" : "1729550865948201000.0b8a3074-20b3-452c-b912-139eb437fd54",
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
@@ -1108,20 +1163,39 @@
"url" : "OBX.2",
"valueId" : "CWE"
},
- {
- "url" : "OBX.11",
- "valueString" : "O"
- },
{
"url" : "OBX.29",
"valueId" : "QST"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "O"
}
]
}
],
"status" : "unknown",
+ "code" : {
+ "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",
+ "code" : "67704-7",
+ "display" : "FEEDING TYPES"
+ }
+ ]
+ },
"subject" : {
- "reference" : "Patient/1707847072401619000.95ba08d1-b846-4305-b0dc-8024ffe67c22"
+ "reference" : "Patient/1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb"
},
"effectiveDateTime" : "2023-05-06T05:00:00-05:00",
"_effectiveDateTime" : {
@@ -1146,22 +1220,22 @@
}
],
"system" : "http://loinc.org",
- "code" : "LA12419-0",
- "display" : "INFANT IN NICU AT TIME OF SPECIMEN COLLECTION"
+ "code" : "LA12418-2",
+ "display" : "TPN"
}
]
}
}
},
{
- "fullUrl" : "Observation/1707847072737917000.30f46061-ccb8-4623-876b-f6db76fe5532",
+ "fullUrl" : "Observation/1729550865949712000.e398514d-8f4f-4c71-9e0f-80cb05f6737d",
"resource" : {
"resourceType" : "Observation",
- "id" : "1707847072737917000.30f46061-ccb8-4623-876b-f6db76fe5532",
+ "id" : "1729550865949712000.e398514d-8f4f-4c71-9e0f-80cb05f6737d",
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
- "valueString" : "1"
+ "valueString" : "2"
},
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
@@ -1174,20 +1248,39 @@
"url" : "OBX.2",
"valueId" : "CWE"
},
- {
- "url" : "OBX.11",
- "valueString" : "O"
- },
{
"url" : "OBX.29",
"valueId" : "QST"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "O"
}
]
}
],
"status" : "unknown",
+ "code" : {
+ "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",
+ "code" : "67704-7",
+ "display" : "FEEDING TYPES"
+ }
+ ]
+ },
"subject" : {
- "reference" : "Patient/1707847072401619000.95ba08d1-b846-4305-b0dc-8024ffe67c22"
+ "reference" : "Patient/1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb"
},
"effectiveDateTime" : "2023-05-06T05:00:00-05:00",
"_effectiveDateTime" : {
@@ -1208,21 +1301,22 @@
},
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
- "valueString" : "99MDH"
+ "valueString" : "LN"
}
],
- "code" : "N",
- "display" : "No"
+ "system" : "http://loinc.org",
+ "code" : "LA16914-6",
+ "display" : "BREAST MILK"
}
]
}
}
},
{
- "fullUrl" : "Observation/1707847072740179000.765b2569-73c3-443a-a608-9f0a3a5198f7",
+ "fullUrl" : "Observation/1729550865951387000.f4afebf4-4195-4cca-afc1-70a70e88cc25",
"resource" : {
"resourceType" : "Observation",
- "id" : "1707847072740179000.765b2569-73c3-443a-a608-9f0a3a5198f7",
+ "id" : "1729550865951387000.f4afebf4-4195-4cca-afc1-70a70e88cc25",
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
@@ -1239,20 +1333,39 @@
"url" : "OBX.2",
"valueId" : "CWE"
},
- {
- "url" : "OBX.11",
- "valueString" : "O"
- },
{
"url" : "OBX.29",
"valueId" : "QST"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "O"
}
]
}
],
"status" : "unknown",
+ "code" : {
+ "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",
+ "code" : "57723-9",
+ "display" : "UNIQUE BAR CODE NUMBER OF CURRENT SAMPLE"
+ }
+ ]
+ },
"subject" : {
- "reference" : "Patient/1707847072401619000.95ba08d1-b846-4305-b0dc-8024ffe67c22"
+ "reference" : "Patient/1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb"
},
"effectiveDateTime" : "2023-05-06T05:00:00-05:00",
"_effectiveDateTime" : {
@@ -1270,24 +1383,19 @@
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
"valueString" : "coding"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
- "valueString" : "99MDH"
}
],
- "code" : "N",
- "display" : "No"
+ "code" : "0516199364"
}
]
}
}
},
{
- "fullUrl" : "Observation/1707847072745373000.27ab7e10-d887-4981-9a4e-9f23be9cebe2",
+ "fullUrl" : "Observation/1729550865952662000.18a01715-7d4f-41f0-985f-2bf25ee21deb",
"resource" : {
"resourceType" : "Observation",
- "id" : "1707847072745373000.27ab7e10-d887-4981-9a4e-9f23be9cebe2",
+ "id" : "1729550865952662000.18a01715-7d4f-41f0-985f-2bf25ee21deb",
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
@@ -1302,33 +1410,21 @@
"extension" : [
{
"url" : "OBX.2",
- "valueId" : "CWE"
- },
- {
- "url" : "OBX.11",
- "valueString" : "O"
+ "valueId" : "ST"
},
{
"url" : "OBX.29",
"valueId" : "QST"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "O"
}
]
}
],
"status" : "unknown",
- "subject" : {
- "reference" : "Patient/1707847072401619000.95ba08d1-b846-4305-b0dc-8024ffe67c22"
- },
- "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
- "_effectiveDateTime" : {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230506050000-0500"
- }
- ]
- },
- "valueCodeableConcept" : {
+ "code" : {
"coding" : [
{
"extension" : [
@@ -1338,21 +1434,35 @@
},
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
- "valueString" : "99MDH"
+ "valueString" : "LN"
}
],
- "code" : "N",
- "display" : "No"
+ "system" : "http://loinc.org",
+ "code" : "62328-0",
+ "display" : "DISCHARGE PROVIDER PRACTICE PHONE NUMBER"
}
]
- }
+ },
+ "subject" : {
+ "reference" : "Patient/1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb"
+ },
+ "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
+ "_effectiveDateTime" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230506050000-0500"
+ }
+ ]
+ },
+ "valueString" : "Daniel Davis/218-555-1000"
}
},
{
- "fullUrl" : "Observation/1707847072747820000.99bb115c-5080-43f0-b922-f9e36bf17e18",
+ "fullUrl" : "Observation/1729550865954074000.5741ae83-6c72-4a52-8b21-7dbdc91bcdfb",
"resource" : {
"resourceType" : "Observation",
- "id" : "1707847072747820000.99bb115c-5080-43f0-b922-f9e36bf17e18",
+ "id" : "1729550865954074000.5741ae83-6c72-4a52-8b21-7dbdc91bcdfb",
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
@@ -1367,33 +1477,21 @@
"extension" : [
{
"url" : "OBX.2",
- "valueId" : "CWE"
- },
- {
- "url" : "OBX.11",
- "valueString" : "O"
+ "valueId" : "ST"
},
{
"url" : "OBX.29",
"valueId" : "QST"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "O"
}
]
}
],
"status" : "unknown",
- "subject" : {
- "reference" : "Patient/1707847072401619000.95ba08d1-b846-4305-b0dc-8024ffe67c22"
- },
- "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
- "_effectiveDateTime" : {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230506050000-0500"
- }
- ]
- },
- "valueCodeableConcept" : {
+ "code" : {
"coding" : [
{
"extension" : [
@@ -1407,22 +1505,35 @@
}
],
"system" : "http://loinc.org",
- "code" : "LA12418-2",
- "display" : "TPN"
+ "code" : "62324-9",
+ "display" : "POST-DISCHARGE PROVIDER NAME"
}
]
- }
+ },
+ "subject" : {
+ "reference" : "Patient/1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb"
+ },
+ "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
+ "_effectiveDateTime" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230506050000-0500"
+ }
+ ]
+ },
+ "valueString" : "DAVIS, DANIEL, MD"
}
},
{
- "fullUrl" : "Observation/1707847072749523000.e5acb189-62bd-4a56-8b5a-7158fa92fbd2",
+ "fullUrl" : "Observation/1729550865955784000.fc7cf5a5-a7d4-4e57-95b9-48e8877dcdc3",
"resource" : {
"resourceType" : "Observation",
- "id" : "1707847072749523000.e5acb189-62bd-4a56-8b5a-7158fa92fbd2",
+ "id" : "1729550865955784000.fc7cf5a5-a7d4-4e57-95b9-48e8877dcdc3",
"extension" : [
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
- "valueString" : "2"
+ "valueString" : "1"
},
{
"url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
@@ -1433,22 +1544,41 @@
"extension" : [
{
"url" : "OBX.2",
- "valueId" : "CWE"
- },
- {
- "url" : "OBX.11",
- "valueString" : "O"
+ "valueId" : "ST"
},
{
"url" : "OBX.29",
"valueId" : "QST"
+ },
+ {
+ "url" : "OBX.11",
+ "valueString" : "O"
}
]
}
],
"status" : "unknown",
+ "code" : {
+ "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",
+ "code" : "62326-4",
+ "display" : "POST-DISCHARGE PROVIDER PRACTICE NAME"
+ }
+ ]
+ },
"subject" : {
- "reference" : "Patient/1707847072401619000.95ba08d1-b846-4305-b0dc-8024ffe67c22"
+ "reference" : "Patient/1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb"
},
"effectiveDateTime" : "2023-05-06T05:00:00-05:00",
"_effectiveDateTime" : {
@@ -1459,240 +1589,608 @@
}
]
},
- "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" : "LN"
+ "valueString" : "Lakeridge Health Revere"
+ }
+ },
+ {
+ "fullUrl" : "ServiceRequest/1729550866068637000.06cfe35d-3d26-459d-aa75-a7f852752d67",
+ "resource" : {
+ "resourceType" : "ServiceRequest",
+ "id" : "1729550866068637000.06cfe35d-3d26-459d-aa75-a7f852752d67",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/business-event",
+ "valueCode" : "NW"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/business-event",
+ "valueString" : "20230506052913-0500"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/orc-common-order",
+ "extension" : [
+ {
+ "url" : "orc-21-ordering-facility-name",
+ "valueReference" : {
+ "reference" : "Organization/1729550866065582000.1380b9a5-e0d5-4da5-92dd-f861784c6cd9"
+ }
+ },
+ {
+ "url" : "orc-21-ordering-facility-name",
+ "valueReference" : {
+ "reference" : "Organization/1729550866066054000.3358bd18-d275-45c0-ba7c-964fb463f407"
+ }
+ },
+ {
+ "url" : "orc-12-ordering-provider",
+ "valueReference" : {
+ "reference" : "Practitioner/1729550866067327000.d52b6353-7451-4d1f-a082-b5bebef2ed42"
+ }
+ }
+ ]
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obr-observation-request",
+ "extension" : [
+ {
+ "url" : "OBR.2",
+ "valueIdentifier" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "EPIC"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "1.2.840.114350.1.13.145.2.7.2.695071"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ }
+ ]
+ }
+ ],
+ "value" : "421832901"
+ }
+ }
+ ]
+ }
+ ],
+ "identifier" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "ORC.2"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "EPIC"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "1.2.840.114350.1.13.145.2.7.2.695071"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ }
+ ]
+ }
+ ],
+ "type" : {
+ "coding" : [
+ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "PLAC"
+ }
+ ]
+ },
+ "value" : "421832901"
+ }
+ ],
+ "status" : "unknown",
+ "code" : {
+ "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",
+ "code" : "54089-8",
+ "display" : "Newborn screening panel American Health Information Community (AHIC)"
+ }
+ ]
+ },
+ "subject" : {
+ "reference" : "Patient/1729550865931405000.c51809c5-fc8c-4216-83c4-e262b81f6ddb"
+ },
+ "authoredOn" : "2023-05-06T05:29:13-05:00",
+ "_authoredOn" : {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230506052913-0500"
+ }
+ ]
+ },
+ "requester" : {
+ "reference" : "PractitionerRole/1729550866062612000.df6baca3-05a6-42f0-b32d-2696c41ac200"
+ },
+ "supportingInfo" : [
+ {
+ "reference" : "Observation/1729550865936768000.530253cf-943d-4360-895c-8f3e276ab614"
+ },
+ {
+ "reference" : "Observation/1729550865939115000.5a7416db-44bf-4e02-bca8-b6a3bfc74da2"
+ },
+ {
+ "reference" : "Observation/1729550865940883000.e4cb17c1-f11d-46b1-ad02-bb9d5e8ba0de"
+ },
+ {
+ "reference" : "Observation/1729550865942890000.c84fe9a8-9286-4d76-aef0-955e9394f55b"
+ },
+ {
+ "reference" : "Observation/1729550865944796000.9dcd5b37-bd27-4835-ac6f-8c375d3cb7aa"
+ },
+ {
+ "reference" : "Observation/1729550865946599000.028a400c-8372-472b-ab2f-adbdac928078"
+ },
+ {
+ "reference" : "Observation/1729550865948201000.0b8a3074-20b3-452c-b912-139eb437fd54"
+ },
+ {
+ "reference" : "Observation/1729550865949712000.e398514d-8f4f-4c71-9e0f-80cb05f6737d"
+ },
+ {
+ "reference" : "Observation/1729550865951387000.f4afebf4-4195-4cca-afc1-70a70e88cc25"
+ },
+ {
+ "reference" : "Observation/1729550865952662000.18a01715-7d4f-41f0-985f-2bf25ee21deb"
+ },
+ {
+ "reference" : "Observation/1729550865954074000.5741ae83-6c72-4a52-8b21-7dbdc91bcdfb"
+ },
+ {
+ "reference" : "Observation/1729550865955784000.fc7cf5a5-a7d4-4e57-95b9-48e8877dcdc3"
+ }
+ ]
+ }
+ },
+ {
+ "fullUrl" : "Organization/1729550866062887000.6e32ebb6-100d-4146-a338-41c5afed2395",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729550866062887000.6e32ebb6-100d-4146-a338-41c5afed2395",
+ "identifier" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ }
+ ],
+ "value" : "NPI"
+ }
+ ]
+ }
+ },
+ {
+ "fullUrl" : "Practitioner/1729550866063517000.7c8076a4-2df1-47ab-a0f6-e88d84fd5654",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1729550866063517000.7c8076a4-2df1-47ab-a0f6-e88d84fd5654",
+ "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-unknown-type"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
+ }
+ ]
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner",
+ "extension" : [
+ {
+ "url" : "XCN.3",
+ "valueString" : "JANE"
+ },
+ {
+ "url" : "XCN.10",
+ "valueString" : "L"
+ }
+ ]
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "ORC.12"
+ }
+ ],
+ "identifier" : [
+ {
+ "type" : {
+ "coding" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
+ "valueBoolean" : true
+ }
+ ],
+ "code" : "NPI"
+ }
+ ]
+ },
+ "value" : "1265136360",
+ "assigner" : {
+ "reference" : "Organization/1729550866062887000.6e32ebb6-100d-4146-a338-41c5afed2395"
+ }
+ }
+ ],
+ "name" : [
+ {
+ "use" : "official",
+ "family" : "JONES",
+ "given" : [
+ "JANE"
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "fullUrl" : "Organization/1729550866064117000.5920bdd1-5013-453c-b70e-c292f65c0328",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729550866064117000.5920bdd1-5013-453c-b70e-c292f65c0328",
+ "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"
+ }
+ ],
+ "code" : "L"
+ }
+ ]
+ }
+ }
+ ],
+ "code" : "L"
+ }
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization",
+ "extension" : [
+ {
+ "url" : "XON.10",
+ "valueString" : "1043269798"
+ }
+ ]
+ }
+ ],
+ "identifier" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "CMS"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-unknown-type"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
+ }
+ ]
+ }
+ ],
+ "type" : {
+ "coding" : [
+ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "NPI"
+ }
+ ]
+ },
+ "value" : "1043269798"
+ }
+ ],
+ "name" : "ST. CLOUD HOSPITAL"
+ }
+ },
+ {
+ "fullUrl" : "PractitionerRole/1729550866062612000.df6baca3-05a6-42f0-b32d-2696c41ac200",
+ "resource" : {
+ "resourceType" : "PractitionerRole",
+ "id" : "1729550866062612000.df6baca3-05a6-42f0-b32d-2696c41ac200",
+ "practitioner" : {
+ "reference" : "Practitioner/1729550866063517000.7c8076a4-2df1-47ab-a0f6-e88d84fd5654"
+ },
+ "organization" : {
+ "reference" : "Organization/1729550866064117000.5920bdd1-5013-453c-b70e-c292f65c0328"
+ }
+ }
+ },
+ {
+ "fullUrl" : "Organization/1729550866065582000.1380b9a5-e0d5-4da5-92dd-f861784c6cd9",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729550866065582000.1380b9a5-e0d5-4da5-92dd-f861784c6cd9",
+ "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"
+ }
+ ],
+ "code" : "L"
+ }
+ ]
+ }
+ }
+ ],
+ "code" : "L"
+ }
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization",
+ "extension" : [
+ {
+ "url" : "XON.10",
+ "valueString" : "1043269798"
+ }
+ ]
+ }
+ ],
+ "identifier" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "CMS"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-unknown-type"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
+ }
+ ]
+ }
+ ],
+ "type" : {
+ "coding" : [
+ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "NPI"
}
- ],
- "system" : "http://loinc.org",
- "code" : "LA16914-6",
- "display" : "BREAST MILK"
- }
- ]
- }
+ ]
+ },
+ "value" : "1043269798"
+ }
+ ],
+ "name" : "ST. CLOUD HOSPITAL"
}
},
{
- "fullUrl" : "Observation/1707847072752487000.1342ca37-6f6b-406a-9a80-d169a13d6347",
+ "fullUrl" : "Organization/1729550866066054000.3358bd18-d275-45c0-ba7c-964fb463f407",
"resource" : {
- "resourceType" : "Observation",
- "id" : "1707847072752487000.1342ca37-6f6b-406a-9a80-d169a13d6347",
+ "resourceType" : "Organization",
+ "id" : "1729550866066054000.3358bd18-d275-45c0-ba7c-964fb463f407",
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
- "valueString" : "1"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
- "valueCode" : "AOE"
+ "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"
+ }
+ ],
+ "code" : "L"
+ }
+ ]
+ }
+ }
+ ],
+ "code" : "L"
+ }
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization",
"extension" : [
{
- "url" : "OBX.2",
- "valueId" : "CWE"
- },
- {
- "url" : "OBX.11",
- "valueString" : "O"
- },
- {
- "url" : "OBX.29",
- "valueId" : "QST"
+ "url" : "XON.10",
+ "valueString" : "739"
}
]
}
],
- "status" : "unknown",
- "subject" : {
- "reference" : "Patient/1707847072401619000.95ba08d1-b846-4305-b0dc-8024ffe67c22"
- },
- "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
- "_effectiveDateTime" : {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230506050000-0500"
- }
- ]
- },
- "valueCodeableConcept" : {
- "coding" : [
- {
- "extension" : [
+ "identifier" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "MN Public Health Lab"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-unknown-type"
+ },
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
+ }
+ ]
+ }
+ ],
+ "type" : {
+ "coding" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
- "valueString" : "coding"
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "NPI"
}
- ],
- "code" : "0516199364"
- }
- ]
- }
+ ]
+ },
+ "value" : "739"
+ }
+ ],
+ "name" : "ST. CLOUD HOSPITAL"
}
},
{
- "fullUrl" : "Observation/1707847072753806000.939ed420-b344-4fc5-b9ad-d1e1a3138752",
+ "fullUrl" : "Organization/1729550866066268000.88e57248-a47c-42ac-99cb-642aca62963a",
"resource" : {
- "resourceType" : "Observation",
- "id" : "1707847072753806000.939ed420-b344-4fc5-b9ad-d1e1a3138752",
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
- "valueString" : "1"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
- "valueCode" : "AOE"
- },
+ "resourceType" : "Organization",
+ "id" : "1729550866066268000.88e57248-a47c-42ac-99cb-642aca62963a",
+ "identifier" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
"extension" : [
{
- "url" : "OBX.2",
- "valueId" : "ST"
- },
- {
- "url" : "OBX.11",
- "valueString" : "O"
- },
- {
- "url" : "OBX.29",
- "valueId" : "QST"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
}
- ]
+ ],
+ "value" : "NPI"
}
- ],
- "status" : "unknown",
- "subject" : {
- "reference" : "Patient/1707847072401619000.95ba08d1-b846-4305-b0dc-8024ffe67c22"
- },
- "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
- "_effectiveDateTime" : {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230506050000-0500"
- }
- ]
- },
- "valueString" : "Daniel Davis/218-555-1000"
+ ]
}
},
{
- "fullUrl" : "Observation/1707847072755032000.a2d6f1da-f5b5-4622-b851-3a0b830ba338",
+ "fullUrl" : "Practitioner/1729550866067327000.d52b6353-7451-4d1f-a082-b5bebef2ed42",
"resource" : {
- "resourceType" : "Observation",
- "id" : "1707847072755032000.a2d6f1da-f5b5-4622-b851-3a0b830ba338",
+ "resourceType" : "Practitioner",
+ "id" : "1729550866067327000.d52b6353-7451-4d1f-a082-b5bebef2ed42",
"extension" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
- "valueString" : "1"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
- "valueCode" : "AOE"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
"extension" : [
{
- "url" : "OBX.2",
- "valueId" : "ST"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "NPI"
},
{
- "url" : "OBX.11",
- "valueString" : "O"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-unknown-type"
},
{
- "url" : "OBX.29",
- "valueId" : "QST"
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type"
}
]
- }
- ],
- "status" : "unknown",
- "subject" : {
- "reference" : "Patient/1707847072401619000.95ba08d1-b846-4305-b0dc-8024ffe67c22"
- },
- "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
- "_effectiveDateTime" : {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230506050000-0500"
- }
- ]
- },
- "valueString" : "DAVIS, DANIEL, MD"
- }
- },
- {
- "fullUrl" : "Observation/1707847072756503000.2a60d024-426c-4328-98a3-ecf55fe9ad1f",
- "resource" : {
- "resourceType" : "Observation",
- "id" : "1707847072756503000.2a60d024-426c-4328-98a3-ecf55fe9ad1f",
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
- "valueString" : "1"
- },
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
- "valueCode" : "AOE"
},
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner",
"extension" : [
{
- "url" : "OBX.2",
- "valueId" : "ST"
- },
- {
- "url" : "OBX.11",
- "valueString" : "O"
+ "url" : "XCN.3",
+ "valueString" : "JANE"
},
{
- "url" : "OBX.29",
- "valueId" : "QST"
+ "url" : "XCN.10",
+ "valueString" : "L"
}
]
}
],
- "status" : "unknown",
- "subject" : {
- "reference" : "Patient/1707847072401619000.95ba08d1-b846-4305-b0dc-8024ffe67c22"
- },
- "effectiveDateTime" : "2023-05-06T05:00:00-05:00",
- "_effectiveDateTime" : {
- "extension" : [
- {
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
- "valueString" : "20230506050000-0500"
+ "identifier" : [
+ {
+ "type" : {
+ "coding" : [
+ {
+ "extension" : [
+ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
+ "valueBoolean" : true
+ }
+ ],
+ "code" : "NPI"
+ }
+ ]
+ },
+ "value" : "1265136360",
+ "assigner" : {
+ "reference" : "Organization/1729550866066268000.88e57248-a47c-42ac-99cb-642aca62963a"
}
- ]
- },
- "valueString" : "Lakeridge Health Revere"
- }
- },
- {
- "fullUrl" : "Specimen/1707847072766639000.db120f76-f8e7-41a9-969d-14fe24788481",
- "resource" : {
- "resourceType" : "Specimen",
- "id" : "1707847072766639000.db120f76-f8e7-41a9-969d-14fe24788481",
- "extension" : [
+ }
+ ],
+ "name" : [
{
- "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Segment",
- "valueString" : "SPM"
+ "use" : "official",
+ "family" : "JONES",
+ "given" : [
+ "JANE"
+ ]
}
]
}
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
new file mode 100644
index 00000000000..fad9945c732
--- /dev/null
+++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/ormo01/orm_o01-full.fhir
@@ -0,0 +1,6469 @@
+{
+ "resourceType" : "Bundle",
+ "id" : "1729291158390000000.d11499fc-4455-476a-a9e1-6e7620c2a0f5",
+ "meta" : {
+ "lastUpdated" : "2024-10-18T15:39:18.393-07:00"
+ },
+ "identifier" : {
+ "system" : "https://reportstream.cdc.gov/prime-router",
+ "value" : "0123"
+ },
+ "type" : "message",
+ "timestamp" : "2019-07-20T09:12:29.000-07:00",
+ "entry" : [ {
+ "fullUrl" : "MessageHeader/1729291158444509000.14825390-01fd-4f85-8bf3-8ab20936ce01",
+ "resource" : {
+ "resourceType" : "MessageHeader",
+ "id" : "1729291158444509000.14825390-01fd-4f85-8bf3-8ab20936ce01",
+ "meta" : {
+ "security" : [ {
+ "code" : "msh8placeholder"
+ } ],
+ "tag" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0103",
+ "code" : "P"
+ }, {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0207",
+ "code" : "A"
+ } ]
+ },
+ "language" : "ENG",
+ "extension" : [ {
+ "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" : "20190720091229"
+ }, {
+ "url" : "MSH.13",
+ "valueString" : "42"
+ }, {
+ "url" : "MSH.14",
+ "valueString" : "msh14placeholder"
+ }, {
+ "url" : "MSH.15",
+ "valueString" : "AL"
+ }, {
+ "url" : "MSH.16",
+ "valueString" : "AL"
+ }, {
+ "url" : "MSH.19",
+ "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" : "ISO"
+ } ],
+ "version" : "131",
+ "code" : "ENG",
+ "display" : "English"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "secondary-alt-coding"
+ } ],
+ "code" : "2ndalt",
+ "display" : "Second Alt"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "alt-coding"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "altISO"
+ } ],
+ "version" : "313",
+ "code" : "altE",
+ "display" : "altEnglish"
+ } ],
+ "text" : "originaltext"
+ }
+ }, {
+ "url" : "MSH.20",
+ "valueString" : "UNICODE UTF-16"
+ }, {
+ "url" : "MSH.21",
+ "valueIdentifier" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "PHIN"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "2.16.840.1.113883.9.11"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ]
+ } ],
+ "value" : "PHLabReport-NoAck"
+ }
+ }, {
+ "url" : "MSH.24",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "SendingNetworkAddress"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "1.23.987.1.114222.XXX"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueString" : "ISO"
+ } ]
+ } ]
+ } ],
+ "eventCoding" : {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0003",
+ "code" : "O01",
+ "display" : "ORM^O01^ORM_O01"
+ },
+ "destination" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "2.16.840.1.114222.4.1.181960.2"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueString" : "ISO"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "MSH.5"
+ } ],
+ "name" : "txdshslabNBS",
+ "endpoint" : "urn:oid:2.16.840.1.114222.4.1.181960.2",
+ "receiver" : {
+ "reference" : "Organization/1729291158440524000.4a9a14e8-f667-463e-8dfe-e80f7a64c3bf"
+ }
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "9.87.123.1.114222.XXX"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueString" : "ISO"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "MSH.25"
+ } ],
+ "name" : "ReceivingNetworkAddress",
+ "endpoint" : "urn:oid:9.87.123.1.114222.XXX",
+ "receiver" : {
+ "reference" : "Organization/1729291158441463000.950c411b-bfda-4473-8570-5064f57ba569"
+ }
+ }, {
+ "receiver" : {
+ "reference" : "Organization/1729291158444286000.2ea093e2-1ae7-4c1f-9331-104b79a9e91b"
+ }
+ } ],
+ "sender" : {
+ "reference" : "Organization/1729291158420391000.aa4cfe52-4afd-48d9-9653-47f10e026deb"
+ },
+ "source" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "OrderingFacilityApplicationName"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "2.16.840.1.114222.XXX"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueString" : "ISO"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "MSH.3"
+ } ],
+ "endpoint" : "urn:oid:2.16.840.1.114222.XXX"
+ },
+ "responsible" : {
+ "reference" : "Organization/1729291158439828000.203211ab-84b8-4b73-ab45-67fe89c77df6"
+ }
+ }
+ }, {
+ "fullUrl" : "Organization/1729291158420391000.aa4cfe52-4afd-48d9-9653-47f10e026deb",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729291158420391000.aa4cfe52-4afd-48d9-9653-47f10e026deb",
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ } ],
+ "value" : "OrderingFacilityName"
+ }, {
+ "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.114222.XXX"
+ } ],
+ "address" : [ {
+ "country" : "FR"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Location/1729291158436267000.263fda7b-0d24-4ea7-b7e6-a1655414829d",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1729291158436267000.263fda7b-0d24-4ea7-b7e6-a1655414829d",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ],
+ "identifier" : [ {
+ "value" : "1.8.440.1.1138.9.22"
+ } ],
+ "name" : "Clinic A",
+ "physicalType" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code" : "si"
+ } ]
+ }
+ }
+ }, {
+ "fullUrl" : "Organization/1729291158439828000.203211ab-84b8-4b73-ab45-67fe89c77df6",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729291158439828000.203211ab-84b8-4b73-ab45-67fe89c77df6",
+ "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" : "1357-9",
+ "display" : "SomeText"
+ }, {
+ "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" : "2468-5",
+ "display" : "SomeAltText"
+ } ],
+ "text" : "OriginalText"
+ }
+ } ],
+ "system" : "LN",
+ "version" : "1",
+ "code" : "1357-9",
+ "display" : "SomeText"
+ }
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code",
+ "valueString" : "NameRepCode1"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization",
+ "extension" : [ {
+ "url" : "XON.3",
+ "valueString" : "1111"
+ }, {
+ "url" : "XON.10",
+ "valueString" : "OrgIdentifier2"
+ } ]
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit",
+ "valueString" : "9"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "The Authority"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "4.2.8.2"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ]
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit",
+ "valueCode" : "BCV"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location",
+ "valueReference" : {
+ "reference" : "Location/1729291158436267000.263fda7b-0d24-4ea7-b7e6-a1655414829d"
+ }
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "BC"
+ } ]
+ },
+ "value" : "OrgIdentifier2"
+ } ],
+ "name" : "Sending Responsible Org"
+ }
+ }, {
+ "fullUrl" : "Organization/1729291158440524000.4a9a14e8-f667-463e-8dfe-e80f7a64c3bf",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729291158440524000.4a9a14e8-f667-463e-8dfe-e80f7a64c3bf",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "MSH.6"
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ } ],
+ "value" : "txdshslab"
+ }, {
+ "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.114222.4.1.181960"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Organization/1729291158441463000.950c411b-bfda-4473-8570-5064f57ba569",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729291158441463000.950c411b-bfda-4473-8570-5064f57ba569",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "MSH.6"
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ } ],
+ "value" : "txdshslab"
+ }, {
+ "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.114222.4.1.181960"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Location/1729291158442500000.906419f2-c65e-47de-92b4-cf09264b1a9c",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1729291158442500000.906419f2-c65e-47de-92b4-cf09264b1a9c",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ],
+ "identifier" : [ {
+ "value" : "10.10.40.10.11380.90.22"
+ } ],
+ "name" : "Clinic B",
+ "physicalType" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code" : "si"
+ } ]
+ }
+ }
+ }, {
+ "fullUrl" : "Organization/1729291158444286000.2ea093e2-1ae7-4c1f-9331-104b79a9e91b",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729291158444286000.2ea093e2-1ae7-4c1f-9331-104b79a9e91b",
+ "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" : "1133-5",
+ "display" : "SomeOtherText"
+ }, {
+ "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" : "1298-7",
+ "display" : "SomeOtherAltText"
+ } ],
+ "text" : "TheOriginalText"
+ }
+ } ],
+ "system" : "LN",
+ "version" : "1",
+ "code" : "1133-5",
+ "display" : "SomeOtherText"
+ }
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code",
+ "valueString" : "NameRepCode2"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization",
+ "extension" : [ {
+ "url" : "XON.3",
+ "valueString" : "5555"
+ }, {
+ "url" : "XON.10",
+ "valueString" : "OrgIdentifier3"
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "MSH.23"
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit",
+ "valueString" : "8"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "An Authority"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "45.24.167.43"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ]
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit",
+ "valueCode" : "CCTV"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location",
+ "valueReference" : {
+ "reference" : "Location/1729291158442500000.906419f2-c65e-47de-92b4-cf09264b1a9c"
+ }
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "BCVan"
+ } ]
+ },
+ "value" : "OrgIdentifier3"
+ } ],
+ "name" : "Receiving Responsible Org"
+ }
+ }, {
+ "fullUrl" : "Provenance/1729291158682591000.3aa2f8db-3410-450c-922a-8e59ae3e2d94",
+ "resource" : {
+ "resourceType" : "Provenance",
+ "id" : "1729291158682591000.3aa2f8db-3410-450c-922a-8e59ae3e2d94",
+ "recorded" : "2019-07-20T09:12:29Z",
+ "activity" : {
+ "coding" : [ {
+ "display" : "ORM^O01^ORM_O01"
+ } ]
+ },
+ "agent" : [ {
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
+ "code" : "author"
+ } ]
+ },
+ "who" : {
+ "reference" : "Organization/1729291158682370000.46da5679-724b-429c-97f8-3f6b961676ca"
+ }
+ } ]
+ }
+ }, {
+ "fullUrl" : "Location/1729291158681333000.7e124791-1a6d-41fe-8b05-44fabe352116",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1729291158681333000.7e124791-1a6d-41fe-8b05-44fabe352116",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ],
+ "identifier" : [ {
+ "value" : "1.8.440.1.1138.9.22"
+ } ],
+ "name" : "Clinic A",
+ "physicalType" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code" : "si"
+ } ]
+ }
+ }
+ }, {
+ "fullUrl" : "Organization/1729291158682370000.46da5679-724b-429c-97f8-3f6b961676ca",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729291158682370000.46da5679-724b-429c-97f8-3f6b961676ca",
+ "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" : "1357-9",
+ "display" : "SomeText"
+ }, {
+ "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" : "2468-5",
+ "display" : "SomeAltText"
+ } ],
+ "text" : "OriginalText"
+ }
+ } ],
+ "system" : "LN",
+ "version" : "1",
+ "code" : "1357-9",
+ "display" : "SomeText"
+ }
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code",
+ "valueString" : "NameRepCode1"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization",
+ "extension" : [ {
+ "url" : "XON.3",
+ "valueString" : "1111"
+ }, {
+ "url" : "XON.10",
+ "valueString" : "OrgIdentifier2"
+ } ]
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit",
+ "valueString" : "9"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "The Authority"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "4.2.8.2"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ]
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit",
+ "valueCode" : "BCV"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location",
+ "valueReference" : {
+ "reference" : "Location/1729291158681333000.7e124791-1a6d-41fe-8b05-44fabe352116"
+ }
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "BC"
+ } ]
+ },
+ "value" : "OrgIdentifier2"
+ } ],
+ "name" : "Sending Responsible Org"
+ }
+ }, {
+ "fullUrl" : "Provenance/1729291158692467000.81f00bf5-0d5f-40c5-87ab-00c9277644a3",
+ "resource" : {
+ "resourceType" : "Provenance",
+ "id" : "1729291158692467000.81f00bf5-0d5f-40c5-87ab-00c9277644a3",
+ "recorded" : "2024-10-18T15:39:18Z",
+ "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/1729291158692202000.32900299-0e51-4355-80c3-88747c760f0c"
+ }
+ } ]
+ }
+ }, {
+ "fullUrl" : "Organization/1729291158692202000.32900299-0e51-4355-80c3-88747c760f0c",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729291158692202000.32900299-0e51-4355-80c3-88747c760f0c",
+ "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/1729291158722364000.e8c01fe7-7d55-4eaf-b52d-9df910c647ca",
+ "resource" : {
+ "resourceType" : "Patient",
+ "id" : "1729291158722364000.e8c01fe7-7d55-4eaf-b52d-9df910c647ca",
+ "meta" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/last-updated-facility-namespace-id",
+ "valueReference" : {
+ "reference" : "Organization/1729291158719836000.420f6702-d1f5-49e2-bfb0-0dfdd0e24071"
+ }
+ } ],
+ "lastUpdated" : "2024-08-21T11:38:00Z",
+ "_lastUpdated" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "202408211138"
+ } ]
+ }
+ },
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/patient-notes",
+ "valueAnnotation" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/nte-annotation",
+ "extension" : [ {
+ "url" : "NTE.2",
+ "valueId" : "L"
+ }, {
+ "url" : "NTE.7",
+ "valueString" : "20230601"
+ }, {
+ "url" : "NTE.8",
+ "valueString" : "20350201"
+ }, {
+ "url" : "NTE.9",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "CC",
+ "display" : "Coded comment for patient note"
+ } ]
+ }
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/note-comment",
+ "valueId" : "Accession level coment."
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/note-type",
+ "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" : "HL70364"
+ } ],
+ "version" : "2.5.1",
+ "code" : "RE",
+ "display" : "Remark"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "alt-coding"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "y"
+ } ],
+ "version" : "a",
+ "code" : "z",
+ "display" : "x"
+ } ],
+ "text" : "b"
+ }
+ } ],
+ "authorReference" : {
+ "reference" : "Practitioner/1729291158701987000.8d216794-0ca5-45e5-a48f-c30bfe8f6ceb"
+ },
+ "time" : "2023-05-31",
+ "_time" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230531"
+ } ]
+ },
+ "text" : "Accession level coment."
+ }
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/pid-patient",
+ "extension" : [ {
+ "url" : "PID.8",
+ "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" : "HL70001"
+ } ],
+ "code" : "F",
+ "display" : "Female"
+ } ]
+ }
+ }, {
+ "url" : "PID.18",
+ "valueIdentifier" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PID.18"
+ } ],
+ "value" : "32"
+ }
+ }, {
+ "url" : "PID.24",
+ "valueString" : "Y"
+ }, {
+ "url" : "PID.30",
+ "valueString" : "Y"
+ }, {
+ "url" : "PID.32",
+ "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" : "HL70445"
+ } ],
+ "code" : "AL",
+ "display" : "Alias"
+ } ]
+ }
+ }, {
+ "url" : "PID.38",
+ "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" : "HL70429"
+ } ],
+ "code" : "RA",
+ "display" : "Racing"
+ } ]
+ }
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/veteran-military-status",
+ "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" : "HL70172"
+ } ],
+ "code" : "NA",
+ "display" : "Not Applicable"
+ } ]
+ }
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/patient-nationality",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/code",
+ "valueCodeableConcept" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PID.28"
+ } ],
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "HL70212"
+ } ],
+ "code" : "A",
+ "display" : "American"
+ } ]
+ }
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/identity-unknown",
+ "valueString" : "N"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/patient-animal",
+ "extension" : [ {
+ "url" : "species",
+ "valueCodeableConcept" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PID.35"
+ } ],
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "HL70446"
+ } ],
+ "code" : "D",
+ "display" : "Dog"
+ } ]
+ }
+ } ]
+ }, {
+ "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" : "20230501102532-0400"
+ }, {
+ "url" : "PD1.18",
+ "valueString" : "20230501102533-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/1729291158708547000.3bff1341-e3b5-4ca0-946c-2f376095a7fa"
+ }
+ }, {
+ "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/1729291158709132000.8247efc1-33e5-4433-8fa3-e2c0e44d92d9"
+ }
+ }, {
+ "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/1729291158710563000.6b230d40-3ab6-4443-85ca-216e7072104c"
+ }
+ }, {
+ "url" : "PD1.14",
+ "valueReference" : {
+ "reference" : "Organization/1729291158711467000.1dd13ee9-6787-4ba3-bc0f-ff8543978073"
+ }
+ }, {
+ "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" : {
+ "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" : "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
+ "valueHumanName" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name",
+ "extension" : [ {
+ "url" : "XPN.2",
+ "valueString" : "FHIR"
+ }, {
+ "url" : "XPN.3",
+ "valueString" : "WI"
+ }, {
+ "url" : "XPN.7",
+ "valueString" : "L"
+ } ]
+ } ],
+ "use" : "official",
+ "family" : "Mind",
+ "given" : [ "FHIR", "WI" ]
+ }
+ }, {
+ "url" : "http://ibm.com/fhir/cdm/StructureDefinition/local-race-cd",
+ "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" : "HL70005"
+ } ],
+ "system" : "http://terminology.hl7.org/CodeSystem/v3-Race",
+ "code" : "2106-3",
+ "display" : "White"
+ } ]
+ }
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/patient-religion",
+ "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" : "HL70006"
+ } ],
+ "code" : "AGN",
+ "display" : "Agnostic"
+ } ]
+ }
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/ethnic-group",
+ "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" : "HL70189"
+ } ],
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0189",
+ "code" : "U",
+ "display" : "Uknown"
+ } ]
+ }
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
+ "valueAddress" : {
+ "text" : "Bayou"
+ }
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/code",
+ "valueCodeableConcept" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PID.26"
+ } ],
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "HL70171"
+ } ],
+ "code" : "USA",
+ "display" : "United States"
+ } ]
+ }
+ } ]
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/patient-citizenship",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/code",
+ "valueCodeableConcept" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PID.39"
+ } ],
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "HL70171"
+ } ],
+ "code" : "N",
+ "display" : "None"
+ } ]
+ }
+ } ]
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit",
+ "valueString" : "forty"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit",
+ "valueString" : "123"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-facility",
+ "valueReference" : {
+ "reference" : "Organization/1729291158698371000.c4298f73-011e-4bdf-943c-3a6d3671089f"
+ }
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier",
+ "extension" : [ {
+ "url" : "CX.5",
+ "valueString" : "PI"
+ }, {
+ "url" : "CX.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" : "HL7123"
+ } ],
+ "code" : "IX",
+ "display" : "Ninth"
+ } ]
+ }
+ }, {
+ "url" : "CX.10",
+ "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" : "HL7123"
+ } ],
+ "code" : "X",
+ "display" : "Tenth"
+ } ]
+ }
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PID.3"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "code" : "PI"
+ } ]
+ },
+ "system" : "STARLIMS.CDC.Stag",
+ "_system" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "STARLIMS.CDC.Stag"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "2.16.840.1.114222.4.3.3.2.1.2"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueString" : "ISO"
+ } ]
+ },
+ "value" : "Patidlist",
+ "period" : {
+ "start" : "2021-01-13",
+ "_start" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20210113"
+ } ]
+ },
+ "end" : "2021-12-30",
+ "_end" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20211230"
+ } ]
+ }
+ }
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cx-identifier",
+ "extension" : [ {
+ "url" : "CX.5",
+ "valueString" : "PI"
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PID.3"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "code" : "PI"
+ } ]
+ },
+ "system" : "SPHL-000048",
+ "_system" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "SPHL-000048"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "2.16.840.1.114222.4.1.10765"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueString" : "ISO"
+ } ]
+ },
+ "value" : "PID123"
+ } ],
+ "name" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xpn-human-name",
+ "extension" : [ {
+ "url" : "XPN.2",
+ "valueString" : "HL7"
+ }, {
+ "url" : "XPN.3",
+ "valueString" : "MI"
+ }, {
+ "url" : "XPN.14",
+ "valueString" : "Prof"
+ }, {
+ "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"
+ } ]
+ }
+ }, {
+ "url" : "XPN.10",
+ "extension" : [ {
+ "url" : "XPN.10.2"
+ }, {
+ "url" : "XPN.10.1",
+ "valueString" : "Yes"
+ } ]
+ }, {
+ "url" : "XPN.12",
+ "valueString" : "19900503"
+ }, {
+ "url" : "XPN.13",
+ "valueString" : "20030503"
+ } ]
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order",
+ "valueCode" : "G"
+ } ],
+ "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", "Prof" ],
+ "period" : {
+ "start" : "1990-05-03",
+ "end" : "2003-05-03"
+ }
+ } ],
+ "telecom" : [ {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-country",
+ "valueString" : "1"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-area",
+ "valueString" : "713"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-local",
+ "valueString" : "5553861"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-extension",
+ "valueString" : "1"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point",
+ "extension" : [ {
+ "url" : "XTN.1",
+ "valueString" : "12345"
+ }, {
+ "url" : "XTN.2",
+ "valueString" : "PRS"
+ }, {
+ "url" : "XTN.3",
+ "valueString" : "CP"
+ }, {
+ "url" : "XTN.4",
+ "valueString" : "real@example.com"
+ }, {
+ "url" : "XTN.7",
+ "valueString" : "5553861"
+ }, {
+ "url" : "XTN.9",
+ "valueString" : "himom"
+ }, {
+ "url" : "XTN.11",
+ "valueString" : "4"
+ }, {
+ "url" : "XTN.12",
+ "valueString" : "17135553862"
+ } ]
+ } ],
+ "system" : "phone",
+ "value" : "17135553862",
+ "use" : "home",
+ "rank" : 7,
+ "period" : {
+ "start" : "1999",
+ "_start" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "1999"
+ } ]
+ },
+ "end" : "2000",
+ "_end" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "2000"
+ } ]
+ }
+ }
+ }, {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-country",
+ "valueString" : "1"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-area",
+ "valueString" : "281"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-local",
+ "valueString" : "5553861"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point",
+ "extension" : [ {
+ "url" : "XTN.1",
+ "valueString" : "9865"
+ }, {
+ "url" : "XTN.2",
+ "valueString" : "EMR"
+ }, {
+ "url" : "XTN.3",
+ "valueString" : "SAT"
+ }, {
+ "url" : "XTN.4",
+ "valueString" : "alsoreal@exmaple.com"
+ }, {
+ "url" : "XTN.7",
+ "valueString" : "5553861"
+ } ]
+ } ],
+ "system" : "other",
+ "use" : "work"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point",
+ "extension" : [ {
+ "url" : "XTN.1",
+ "valueString" : "40"
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PID.40"
+ } ],
+ "_system" : {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/data-absent-reason",
+ "valueCode" : "unknown"
+ } ]
+ },
+ "value" : "40"
+ } ],
+ "gender" : "female",
+ "birthDate" : "1640",
+ "_birthDate" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "1640"
+ } ]
+ },
+ "deceasedDateTime" : "2031",
+ "_deceasedDateTime" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "2031"
+ } ]
+ },
+ "address" : [ {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract",
+ "valueCode" : "Census"
+ }, {
+ "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" : "123 Main St"
+ } ]
+ }, {
+ "url" : "XAD.2",
+ "valueString" : "Altxad"
+ }, {
+ "url" : "XAD.7",
+ "valueCode" : "H"
+ }, {
+ "url" : "XAD.8",
+ "valueString" : "MahHome"
+ }, {
+ "url" : "XAD.11",
+ "valueCode" : "A"
+ }, {
+ "url" : "XAD.12",
+ "extension" : [ {
+ "url" : "XAD.12.1",
+ "valueString" : "2020"
+ }, {
+ "url" : "XAD.12.2",
+ "valueString" : "2024"
+ } ]
+ }, {
+ "url" : "XAD.13",
+ "valueString" : "2022"
+ }, {
+ "url" : "XAD.14",
+ "valueString" : "2027"
+ }, {
+ "url" : "XAD.19",
+ "valueCode" : "MrSir"
+ } ]
+ } ],
+ "use" : "home",
+ "line" : [ "123 Main St", "Altxad", "MrSir" ],
+ "city" : "AnyTown",
+ "district" : "ThoCo",
+ "state" : "IG",
+ "postalCode" : "95802",
+ "country" : "USA",
+ "period" : {
+ "start" : "2022",
+ "end" : "2027"
+ }
+ } ],
+ "maritalStatus" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "HL70002"
+ } ],
+ "code" : "P",
+ "display" : "Domestic Partnet"
+ } ]
+ },
+ "multipleBirthInteger" : 11,
+ "communication" : [ {
+ "language" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "HL70296"
+ } ],
+ "code" : "E",
+ "display" : "English"
+ } ]
+ }
+ } ],
+ "generalPractitioner" : [ {
+ "reference" : "Organization/1729291158701189000.1959ff7f-9a3c-458c-8d8e-d916a80ccda7"
+ } ],
+ "link" : [ {
+ "other" : {
+ "reference" : "RelatedPerson/1729291158716299000.b06139e1-28ca-4e80-9b3f-4fbf3dd8b5dd"
+ },
+ "type" : "seealso"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Organization/1729291158698371000.c4298f73-011e-4bdf-943c-3a6d3671089f",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729291158698371000.c4298f73-011e-4bdf-943c-3a6d3671089f",
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ } ],
+ "value" : "STARLINKED.CDC.Stag"
+ }, {
+ "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.114222.9.8.7.6.3.2"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Location/1729291158700380000.e59e52d8-e1d4-40c9-b0f9-16058865ad76",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1729291158700380000.e59e52d8-e1d4-40c9-b0f9-16058865ad76",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ],
+ "identifier" : [ {
+ "value" : "10.10.40.10.11380.90.22"
+ } ],
+ "name" : "Clinic B",
+ "physicalType" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code" : "si"
+ } ]
+ }
+ }
+ }, {
+ "fullUrl" : "Organization/1729291158701189000.1959ff7f-9a3c-458c-8d8e-d916a80ccda7",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729291158701189000.1959ff7f-9a3c-458c-8d8e-d916a80ccda7",
+ "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" : "1133-5",
+ "display" : "SomeOtherText"
+ }, {
+ "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" : "1298-7",
+ "display" : "SomeOtherAltText"
+ } ],
+ "text" : "TheOriginalText"
+ }
+ } ],
+ "system" : "LN",
+ "version" : "1",
+ "code" : "1133-5",
+ "display" : "SomeOtherText"
+ }
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code",
+ "valueString" : "NameRepCode2"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization",
+ "extension" : [ {
+ "url" : "XON.3",
+ "valueString" : "5555"
+ }, {
+ "url" : "XON.10",
+ "valueString" : "OrgIdentifier3"
+ } ]
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit",
+ "valueString" : "8"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "An Authority"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "45.24.167.43"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ]
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit",
+ "valueCode" : "CCTV"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location",
+ "valueReference" : {
+ "reference" : "Location/1729291158700380000.e59e52d8-e1d4-40c9-b0f9-16058865ad76"
+ }
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "BCVan"
+ } ]
+ },
+ "value" : "OrgIdentifier3"
+ } ],
+ "name" : "Receiving Responsible Org"
+ }
+ }, {
+ "fullUrl" : "Practitioner/1729291158701987000.8d216794-0ca5-45e5-a48f-c30bfe8f6ceb",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1729291158701987000.8d216794-0ca5-45e5-a48f-c30bfe8f6ceb",
+ "identifier" : [ {
+ "value" : "Bob R.N."
+ } ]
+ }
+ }, {
+ "fullUrl" : "Organization/1729291158708547000.3bff1341-e3b5-4ca0-946c-2f376095a7fa",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729291158708547000.3bff1341-e3b5-4ca0-946c-2f376095a7fa",
+ "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/1729291158709132000.8247efc1-33e5-4433-8fa3-e2c0e44d92d9",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729291158709132000.8247efc1-33e5-4433-8fa3-e2c0e44d92d9",
+ "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/1729291158710057000.6597955e-70de-432a-9be6-7607f43ce58a",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1729291158710057000.6597955e-70de-432a-9be6-7607f43ce58a",
+ "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/1729291158710563000.6b230d40-3ab6-4443-85ca-216e7072104c",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729291158710563000.6b230d40-3ab6-4443-85ca-216e7072104c",
+ "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"
+ } ]
+ } ],
+ "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/1729291158710057000.6597955e-70de-432a-9be6-7607f43ce58a"
+ }
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "MD"
+ } ]
+ },
+ "value" : "1st OrgIdentifier"
+ } ],
+ "name" : "1st Ordering Facility"
+ }
+ }, {
+ "fullUrl" : "Location/1729291158710863000.3c694dae-359e-40f9-9970-4f1238b7348a",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1729291158710863000.3c694dae-359e-40f9-9970-4f1238b7348a",
+ "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/1729291158711467000.1dd13ee9-6787-4ba3-bc0f-ff8543978073",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729291158711467000.1dd13ee9-6787-4ba3-bc0f-ff8543978073",
+ "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/1729291158710863000.3c694dae-359e-40f9-9970-4f1238b7348a"
+ }
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "MD"
+ } ]
+ },
+ "value" : "2nd OrgIdentifier"
+ } ],
+ "name" : "2nd Ordering Facility"
+ }
+ }, {
+ "fullUrl" : "RelatedPerson/1729291158716299000.b06139e1-28ca-4e80-9b3f-4fbf3dd8b5dd",
+ "resource" : {
+ "resourceType" : "RelatedPerson",
+ "id" : "1729291158716299000.b06139e1-28ca-4e80-9b3f-4fbf3dd8b5dd",
+ "identifier" : [ {
+ "value" : "maybe"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Organization/1729291158719836000.420f6702-d1f5-49e2-bfb0-0dfdd0e24071",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729291158719836000.420f6702-d1f5-49e2-bfb0-0dfdd0e24071",
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "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"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Provenance/1729291158733312000.2aa254f0-1afa-44db-90dc-d51ad7f8549a",
+ "resource" : {
+ "resourceType" : "Provenance",
+ "id" : "1729291158733312000.2aa254f0-1afa-44db-90dc-d51ad7f8549a",
+ "target" : [ {
+ "reference" : "Patient/1729291158722364000.e8c01fe7-7d55-4eaf-b52d-9df910c647ca"
+ } ],
+ "occurredDateTime" : "2024-08-21T11:38:00Z",
+ "recorded" : "2024-10-18T15:39:18Z",
+ "activity" : {
+ "coding" : [ {
+ "system" : "https://terminology.hl7.org/CodeSystem/v3-DataOperation",
+ "code" : "UPDATE"
+ } ]
+ },
+ "agent" : [ {
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
+ "code" : "performer"
+ } ]
+ },
+ "who" : {
+ "reference" : "Organization/1729291158733087000.50565d7a-c138-4ad7-90c4-352ab5a17e37"
+ }
+ } ]
+ }
+ }, {
+ "fullUrl" : "Organization/1729291158733087000.50565d7a-c138-4ad7-90c4-352ab5a17e37",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729291158733087000.50565d7a-c138-4ad7-90c4-352ab5a17e37",
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "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"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Encounter/1729291158748523000.e6b583e7-17ac-422d-a986-97f72ad3bbda",
+ "resource" : {
+ "resourceType" : "Encounter",
+ "id" : "1729291158748523000.e6b583e7-17ac-422d-a986-97f72ad3bbda",
+ "meta" : {
+ "security" : [ {
+ "code" : "SEC"
+ } ]
+ },
+ "text" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/pv2-visit-description",
+ "valueString" : "Description"
+ } ],
+ "div" : "Description
"
+ },
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/visit-user-code",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "413",
+ "display" : "V"
+ } ]
+ }
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/visit-user-code",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "423",
+ "display" : "X"
+ } ]
+ }
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/planned-start-date",
+ "valueDateTime" : "2023-06-01T10:25:31-04:00",
+ "_valueDateTime" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230601102531-0400"
+ } ]
+ }
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/planned-discharge-date",
+ "valueDateTime" : "2023-07-01T10:25:31-04:00",
+ "_valueDateTime" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230701102531-0400"
+ } ]
+ }
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/estimated-length",
+ "valueQuantity" : {
+ "value" : 5,
+ "unit" : "days",
+ "system" : "http://unitsofmeasure.org/",
+ "code" : "d"
+ }
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/publicity-code",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "100",
+ "display" : "PublicCode"
+ } ]
+ }
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival",
+ "valueCoding" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "444",
+ "display" : "MODE"
+ } ]
+ }
+ } ],
+ "code" : "444",
+ "display" : "MODE"
+ }
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/admission-level-of-care",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "123",
+ "display" : "CARELEVEL1"
+ } ]
+ }
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/pv1-patient-visit",
+ "extension" : [ {
+ "url" : "PV1.12",
+ "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" : "HL70087"
+ } ],
+ "code" : "P",
+ "display" : "Passed"
+ } ]
+ }
+ }, {
+ "url" : "PV1.18",
+ "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" : "HL70018"
+ } ],
+ "code" : "H",
+ "display" : "Human Patient"
+ } ]
+ }
+ }, {
+ "url" : "PV1.46",
+ "valueDecimal" : 100
+ }, {
+ "url" : "PV1.47",
+ "valueDecimal" : 199
+ }, {
+ "url" : "PV1.48",
+ "valueDecimal" : 142
+ }, {
+ "url" : "PV1.49",
+ "valueDecimal" : 130
+ }, {
+ "url" : "PV1.51",
+ "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" : "HL70326"
+ } ],
+ "code" : "A",
+ "display" : "Account Level"
+ } ]
+ }
+ }, {
+ "url" : "PV1.30",
+ "valueString" : "20020101"
+ }, {
+ "url" : "PV1.31",
+ "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" : "HL70021"
+ } ],
+ "code" : "C",
+ "display" : "Collectors"
+ } ]
+ }
+ }, {
+ "url" : "PV1.32",
+ "valueDecimal" : 1
+ }, {
+ "url" : "PV1.33",
+ "valueDecimal" : 0
+ }, {
+ "url" : "PV1.34",
+ "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" : "HL70111"
+ } ],
+ "code" : "Y",
+ "display" : "Yes"
+ } ]
+ }
+ }, {
+ "url" : "PV1.35",
+ "valueString" : "20080101"
+ }, {
+ "url" : "PV1.39",
+ "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" : "HL70115"
+ } ],
+ "code" : "H",
+ "display" : "A Hospital Of Course"
+ } ]
+ }
+ }, {
+ "url" : "PV1.41",
+ "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" : "HL70117"
+ } ],
+ "code" : "A",
+ "display" : "Active"
+ } ]
+ }
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/pv2-patient-visit-additional-information",
+ "extension" : [ {
+ "url" : "PV2.15",
+ "valueString" : "EMP_ILL"
+ }, {
+ "url" : "PV2.23",
+ "valueReference" : {
+ "reference" : "Organization/1729291158738420000.6d04e7cc-b589-4c68-b86d-e696bdd9c79a"
+ }
+ }, {
+ "url" : "PV2.23",
+ "valueReference" : {
+ "reference" : "Organization/1729291158739092000.41467303-40b2-49a5-ad38-5a3005001aea"
+ }
+ }, {
+ "url" : "PV2.26",
+ "valueString" : "20230501102531-0400"
+ }, {
+ "url" : "PV2.29",
+ "valueString" : "20220501102531-0400"
+ } ]
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PV1.19"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "VN"
+ } ],
+ "text" : "visit number"
+ },
+ "value" : "22"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PV1.50"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203"
+ } ]
+ },
+ "value" : "alternate visit"
+ } ],
+ "status" : "finished",
+ "class" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/pv1-2-patient-class",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "O"
+ } ]
+ }
+ } ],
+ "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
+ "code" : "AMB",
+ "display" : "ambulatory"
+ },
+ "type" : [ {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "HL70007"
+ } ],
+ "code" : "R",
+ "display" : "Routine"
+ } ]
+ } ],
+ "serviceType" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "HL70069"
+ } ],
+ "code" : "URO",
+ "display" : "Urology Service"
+ } ]
+ },
+ "priority" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "HL70217"
+ } ],
+ "code" : "3",
+ "display" : "Elective"
+ } ]
+ },
+ "subject" : {
+ "reference" : "Patient/1729291158722364000.e8c01fe7-7d55-4eaf-b52d-9df910c647ca"
+ },
+ "episodeOfCare" : [ {
+ "reference" : "EpisodeOfCare/1729291158748813000.c59d255f-d42b-43d4-8ede-0790a713c636"
+ } ],
+ "participant" : [ {
+ "type" : [ {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "code" : "ATND",
+ "display" : "attender"
+ } ]
+ } ],
+ "individual" : {
+ "reference" : "Practitioner/1729291158741030000.e55e13df-f30f-43bc-adc0-a73edeb12bc9"
+ }
+ }, {
+ "type" : [ {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "code" : "REF"
+ } ],
+ "text" : "referrer"
+ } ],
+ "individual" : {
+ "reference" : "Practitioner/1729291158741390000.bc08036e-cf62-4891-b2ce-29ad1424e1a1"
+ }
+ }, {
+ "type" : [ {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "code" : "CON"
+ } ],
+ "text" : "consultant"
+ } ],
+ "individual" : {
+ "reference" : "Practitioner/1729291158741726000.d67fc45e-a676-48e7-bcfb-8ccc71865d0b"
+ }
+ }, {
+ "type" : [ {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "code" : "ADM"
+ } ],
+ "text" : "admitter"
+ } ],
+ "individual" : {
+ "reference" : "Practitioner/1729291158742048000.34d785a5-c6e1-4e6f-8907-da22ccfc556f"
+ }
+ }, {
+ "type" : [ {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "code" : "REF"
+ } ],
+ "text" : "referrer"
+ } ],
+ "individual" : {
+ "reference" : "Practitioner/1729291158743468000.ed6f274b-d9e5-4ab6-b81f-ceaf451719b4"
+ }
+ }, {
+ "type" : [ {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
+ "code" : "REF"
+ } ],
+ "text" : "referrer"
+ } ],
+ "individual" : {
+ "reference" : "Practitioner/1729291158745041000.19b24241-7c15-4c94-a76c-dcbc1c881736"
+ }
+ } ],
+ "period" : {
+ "start" : "2024-08-01T10:25:31-04:00",
+ "_start" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20240801102531-0400"
+ } ]
+ },
+ "end" : "2024-08-01T10:25:31-04:00",
+ "_end" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20240801102531-0400"
+ } ]
+ }
+ },
+ "length" : {
+ "value" : 12,
+ "unit" : "days",
+ "system" : "http://unitsofmeasure.org/",
+ "code" : "d"
+ },
+ "reasonCode" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PV2.3"
+ } ],
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "1",
+ "display" : "AD"
+ } ]
+ } ],
+ "hospitalization" : {
+ "preAdmissionIdentifier" : {
+ "value" : "232323"
+ },
+ "admitSource" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "HL70023"
+ } ],
+ "code" : "RL",
+ "display" : "Real Life"
+ } ]
+ },
+ "reAdmission" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "HL70092"
+ } ],
+ "code" : "R",
+ "display" : "Re-admission"
+ } ]
+ },
+ "dietPreference" : [ {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "HL70114"
+ } ],
+ "code" : "F",
+ "display" : "Fed"
+ } ]
+ } ],
+ "specialCourtesy" : [ {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "HL70099"
+ } ],
+ "code" : "VIP",
+ "display" : "Very Interesting Person"
+ } ]
+ } ],
+ "destination" : {
+ "reference" : "Location/1729291158739420000.8be22947-a2a6-49f1-af12-f9c74ea4c476"
+ },
+ "dischargeDisposition" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "HL70112"
+ } ],
+ "code" : "H",
+ "display" : "Happy"
+ } ]
+ }
+ },
+ "location" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PV1.3"
+ } ],
+ "location" : {
+ "reference" : "Location/1729291158746760000.e24b446c-5bda-4542-aabb-d04a01437571"
+ },
+ "status" : "active"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PV1.6"
+ } ],
+ "location" : {
+ "reference" : "Location/1729291158747320000.20ca44ca-d5b4-492a-a124-bab78f7f198d"
+ },
+ "status" : "completed"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PV1.11"
+ }, {
+ "url" : "https://hl7.org/fhir/StructureDefinition/temporary-location",
+ "valueBoolean" : true
+ } ],
+ "location" : {
+ "reference" : "Location/1729291158747527000.add84404-ebf5-43b7-9a4c-fcbed365fd19"
+ },
+ "status" : "active"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PV1.42"
+ } ],
+ "location" : {
+ "reference" : "Location/1729291158747717000.3aa3d8c3-8d88-4062-87ac-96d709e8d9da"
+ },
+ "status" : "planned"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PV1.43"
+ }, {
+ "url" : "https://hl7.org/fhir/StructureDefinition/temporary-location",
+ "valueBoolean" : true
+ } ],
+ "location" : {
+ "reference" : "Location/1729291158747913000.375006a0-e443-4da8-892f-93961957b78d"
+ },
+ "status" : "completed"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PV2.1"
+ }, {
+ "url" : "https://hl7.org/fhir/StructureDefinition/temporary-location",
+ "valueBoolean" : false
+ } ],
+ "location" : {
+ "reference" : "Location/1729291158748439000.e72f22c5-f524-4591-a3ea-3a428bac395d"
+ },
+ "status" : "planned"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Location/1729291158738011000.baff084e-f4e5-411f-98f0-299570ebf9e8",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1729291158738011000.baff084e-f4e5-411f-98f0-299570ebf9e8",
+ "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/1729291158738420000.6d04e7cc-b589-4c68-b86d-e696bdd9c79a",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729291158738420000.6d04e7cc-b589-4c68-b86d-e696bdd9c79a",
+ "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/xon-organization",
+ "extension" : [ {
+ "url" : "XON.3",
+ "valueString" : "123"
+ } ]
+ } ],
+ "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/1729291158738011000.baff084e-f4e5-411f-98f0-299570ebf9e8"
+ }
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "MD"
+ } ]
+ },
+ "value" : "123"
+ } ],
+ "name" : "Org1"
+ }
+ }, {
+ "fullUrl" : "Location/1729291158738709000.6d090695-9048-4246-8a54-d16bd4e7233c",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1729291158738709000.6d090695-9048-4246-8a54-d16bd4e7233c",
+ "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/1729291158739092000.41467303-40b2-49a5-ad38-5a3005001aea",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729291158739092000.41467303-40b2-49a5-ad38-5a3005001aea",
+ "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/xon-organization",
+ "extension" : [ {
+ "url" : "XON.3",
+ "valueString" : "123"
+ } ]
+ } ],
+ "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/1729291158738709000.6d090695-9048-4246-8a54-d16bd4e7233c"
+ }
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "MD"
+ } ]
+ },
+ "value" : "123"
+ } ],
+ "name" : "Org2"
+ }
+ }, {
+ "fullUrl" : "Location/1729291158739420000.8be22947-a2a6-49f1-af12-f9c74ea4c476",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1729291158739420000.8be22947-a2a6-49f1-af12-f9c74ea4c476",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/dld2-effective-date",
+ "valueString" : "202305061200"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Practitioner/1729291158741030000.e55e13df-f30f-43bc-adc0-a73edeb12bc9",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1729291158741030000.e55e13df-f30f-43bc-adc0-a73edeb12bc9",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "Namespace"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "AssigningSystem"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "UUID"
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner",
+ "extension" : [ {
+ "url" : "XCN.3",
+ "valueString" : "LUDWIG"
+ }, {
+ "url" : "XCN.4",
+ "valueString" : "B"
+ }, {
+ "url" : "XCN.21",
+ "valueString" : "MD"
+ }, {
+ "url" : "XCN.5",
+ "valueString" : "2ND"
+ }, {
+ "url" : "XCN.7",
+ "valueString" : "MD"
+ }, {
+ "url" : "XCN.10",
+ "valueString" : "B"
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PV1.7"
+ } ],
+ "identifier" : [ {
+ "type" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
+ "valueBoolean" : true
+ } ],
+ "code" : "DL"
+ } ]
+ },
+ "system" : "Namespace",
+ "value" : "1"
+ } ],
+ "name" : [ {
+ "use" : "official",
+ "family" : "BEETHOVEN",
+ "given" : [ "LUDWIG", "B" ],
+ "prefix" : [ "DR" ],
+ "suffix" : [ "2ND", "MD", "MD" ]
+ } ]
+ }
+ }, {
+ "fullUrl" : "Practitioner/1729291158741390000.bc08036e-cf62-4891-b2ce-29ad1424e1a1",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1729291158741390000.bc08036e-cf62-4891-b2ce-29ad1424e1a1",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PV1.8"
+ } ],
+ "identifier" : [ {
+ "value" : "1"
+ } ],
+ "name" : [ {
+ "family" : "MOZART"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Practitioner/1729291158741726000.d67fc45e-a676-48e7-bcfb-8ccc71865d0b",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1729291158741726000.d67fc45e-a676-48e7-bcfb-8ccc71865d0b",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PV1.9"
+ } ],
+ "identifier" : [ {
+ "value" : "1"
+ } ],
+ "name" : [ {
+ "family" : "CHOPIN"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Practitioner/1729291158742048000.34d785a5-c6e1-4e6f-8907-da22ccfc556f",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1729291158742048000.34d785a5-c6e1-4e6f-8907-da22ccfc556f",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PV1.17"
+ } ],
+ "identifier" : [ {
+ "value" : "1"
+ } ],
+ "name" : [ {
+ "family" : "BACH"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Practitioner/1729291158743468000.ed6f274b-d9e5-4ab6-b81f-ceaf451719b4",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1729291158743468000.ed6f274b-d9e5-4ab6-b81f-ceaf451719b4",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "AssigningSystem"
+ }, {
+ "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" : "LUDWIG"
+ }, {
+ "url" : "XCN.4",
+ "valueString" : "B"
+ }, {
+ "url" : "XCN.20",
+ "valueString" : "20230501102531-0400"
+ }, {
+ "url" : "XCN.21",
+ "valueString" : "MD"
+ }, {
+ "url" : "XCN.22",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "AssignJ"
+ } ]
+ }
+ }, {
+ "url" : "XCN.23",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "AssignA"
+ } ]
+ }
+ }, {
+ "url" : "XCN.5",
+ "valueString" : "2ND"
+ }, {
+ "url" : "XCN.7",
+ "valueString" : "MD"
+ }, {
+ "url" : "XCN.8",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "SRC"
+ } ]
+ }
+ }, {
+ "url" : "XCN.10",
+ "valueString" : "B"
+ }, {
+ "url" : "XCN.15",
+ "valueString" : "A"
+ }, {
+ "url" : "XCN.16",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "NameContext"
+ } ]
+ }
+ }, {
+ "url" : "XCN.19",
+ "valueString" : "20220501102531-0400"
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PV2.13"
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit",
+ "valueString" : "A"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit",
+ "valueCode" : "NPI"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
+ "valueBoolean" : true
+ } ],
+ "code" : "DL"
+ } ]
+ },
+ "system" : "urn:oid:AssigningSystem",
+ "value" : "1"
+ } ],
+ "name" : [ {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order",
+ "valueCode" : "G"
+ } ],
+ "use" : "official",
+ "family" : "BEETHOVEN",
+ "_family" : {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix",
+ "valueString" : "VAN"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-name",
+ "valueString" : "Referral Source Code1"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix",
+ "valueString" : "VAL"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-name",
+ "valueString" : "ROGER"
+ } ]
+ },
+ "given" : [ "LUDWIG", "B" ],
+ "prefix" : [ "DR" ],
+ "suffix" : [ "2ND", "MD", "MD" ],
+ "period" : {
+ "start" : "2022-05-01T10:25:31-04:00",
+ "end" : "2023-05-01T10:25:31-04:00"
+ }
+ } ]
+ }
+ }, {
+ "fullUrl" : "Practitioner/1729291158745041000.19b24241-7c15-4c94-a76c-dcbc1c881736",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1729291158745041000.19b24241-7c15-4c94-a76c-dcbc1c881736",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "AssigningSystem"
+ }, {
+ "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" : "LUDWIG"
+ }, {
+ "url" : "XCN.4",
+ "valueString" : "B"
+ }, {
+ "url" : "XCN.20",
+ "valueString" : "20230501102531-0400"
+ }, {
+ "url" : "XCN.21",
+ "valueString" : "MD"
+ }, {
+ "url" : "XCN.22",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "AssignJ"
+ } ]
+ }
+ }, {
+ "url" : "XCN.23",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "AssignA"
+ } ]
+ }
+ }, {
+ "url" : "XCN.5",
+ "valueString" : "2ND"
+ }, {
+ "url" : "XCN.7",
+ "valueString" : "MD"
+ }, {
+ "url" : "XCN.8",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "SRC"
+ } ]
+ }
+ }, {
+ "url" : "XCN.10",
+ "valueString" : "B"
+ }, {
+ "url" : "XCN.15",
+ "valueString" : "A"
+ }, {
+ "url" : "XCN.16",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "NameContext"
+ } ]
+ }
+ }, {
+ "url" : "XCN.19",
+ "valueString" : "20220501102531-0400"
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PV2.13"
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit",
+ "valueString" : "A"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit",
+ "valueCode" : "NPI"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
+ "valueBoolean" : true
+ } ],
+ "code" : "DL"
+ } ]
+ },
+ "system" : "urn:oid:AssigningSystem",
+ "value" : "1"
+ } ],
+ "name" : [ {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order",
+ "valueCode" : "G"
+ } ],
+ "use" : "official",
+ "family" : "BEETHOVEN",
+ "_family" : {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix",
+ "valueString" : "VAN"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-name",
+ "valueString" : "Referral Source Code2"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix",
+ "valueString" : "VAL"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-name",
+ "valueString" : "ROGER"
+ } ]
+ },
+ "given" : [ "LUDWIG", "B" ],
+ "prefix" : [ "DR" ],
+ "suffix" : [ "2ND", "MD", "MD" ],
+ "period" : {
+ "start" : "2022-05-01T10:25:31-04:00",
+ "end" : "2023-05-01T10:25:31-04:00"
+ }
+ } ]
+ }
+ }, {
+ "fullUrl" : "Organization/1729291158745373000.e136730d-a978-4ee2-b38d-9cd80cbe874c",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729291158745373000.e136730d-a978-4ee2-b38d-9cd80cbe874c",
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ } ],
+ "value" : "AA"
+ }, {
+ "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" : "AssigningAUTH"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Location/1729291158746274000.47571273-436d-4895-b58f-49f432919b86",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1729291158746274000.47571273-436d-4895-b58f-49f432919b86",
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ } ],
+ "value" : "Hospital Assigned"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.2,HD.3"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
+ "valueBoolean" : true
+ } ],
+ "code" : "ISO"
+ } ]
+ },
+ "value" : "2.4.4.4"
+ } ],
+ "physicalType" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code" : "si"
+ } ]
+ }
+ }
+ }, {
+ "fullUrl" : "Location/1729291158746352000.e5fc878f-3c1c-474d-9504-c651dbc0b331",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1729291158746352000.e5fc878f-3c1c-474d-9504-c651dbc0b331",
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ } ]
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.2,HD.3"
+ } ],
+ "value" : "Building"
+ } ],
+ "physicalType" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code" : "bu"
+ } ]
+ },
+ "partOf" : {
+ "reference" : "Location/1729291158746274000.47571273-436d-4895-b58f-49f432919b86"
+ }
+ }
+ }, {
+ "fullUrl" : "Location/1729291158746443000.a9eac0a3-bb7c-43be-a97e-f1b3958d34c2",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1729291158746443000.a9eac0a3-bb7c-43be-a97e-f1b3958d34c2",
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ } ]
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.2,HD.3"
+ } ],
+ "value" : "Floor"
+ } ],
+ "physicalType" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code" : "lvl"
+ } ]
+ },
+ "partOf" : {
+ "reference" : "Location/1729291158746352000.e5fc878f-3c1c-474d-9504-c651dbc0b331"
+ }
+ }
+ }, {
+ "fullUrl" : "Location/1729291158746534000.3cd19c04-bec3-4b1e-ba2e-3f13289884c1",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1729291158746534000.3cd19c04-bec3-4b1e-ba2e-3f13289884c1",
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ } ],
+ "value" : "A"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.2,HD.3"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
+ "valueBoolean" : true
+ } ],
+ "code" : "C"
+ } ]
+ },
+ "value" : "Point OF Care"
+ } ],
+ "physicalType" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "_code" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/location-physical-type-poc",
+ "valueString" : "poc"
+ } ]
+ }
+ } ]
+ },
+ "partOf" : {
+ "reference" : "Location/1729291158746443000.a9eac0a3-bb7c-43be-a97e-f1b3958d34c2"
+ }
+ }
+ }, {
+ "fullUrl" : "Location/1729291158746616000.0607e80e-1ec1-45f5-8861-bcd9ca75caea",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1729291158746616000.0607e80e-1ec1-45f5-8861-bcd9ca75caea",
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ } ],
+ "value" : "1"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.2,HD.3"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
+ "valueBoolean" : true
+ } ],
+ "code" : "3"
+ } ]
+ },
+ "value" : "Room"
+ } ],
+ "physicalType" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code" : "ro"
+ } ]
+ },
+ "partOf" : {
+ "reference" : "Location/1729291158746534000.3cd19c04-bec3-4b1e-ba2e-3f13289884c1"
+ }
+ }
+ }, {
+ "fullUrl" : "Location/1729291158746760000.e24b446c-5bda-4542-aabb-d04a01437571",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1729291158746760000.e24b446c-5bda-4542-aabb-d04a01437571",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/pl6-person-location-type",
+ "valueString" : "R"
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ } ],
+ "value" : "B"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.2,HD.3"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
+ "valueBoolean" : true
+ } ],
+ "code" : "A"
+ } ]
+ },
+ "value" : "Bed"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "UID4This"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/ei-assigner-organization-type",
+ "valueString" : "organization"
+ } ],
+ "value" : "Comprehensive",
+ "assigner" : {
+ "reference" : "Organization/1729291158745373000.e136730d-a978-4ee2-b38d-9cd80cbe874c"
+ }
+ } ],
+ "description" : "Totally A Real Location",
+ "mode" : "instance",
+ "physicalType" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code" : "bd"
+ } ]
+ },
+ "partOf" : {
+ "reference" : "Location/1729291158746616000.0607e80e-1ec1-45f5-8861-bcd9ca75caea"
+ }
+ }
+ }, {
+ "fullUrl" : "Organization/1729291158747044000.94e173a6-3244-489e-b58d-ec65b2c03d83",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729291158747044000.94e173a6-3244-489e-b58d-ec65b2c03d83",
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ } ],
+ "value" : "ASSIGNEE"
+ }, {
+ "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" : "UUID"
+ } ]
+ },
+ "system" : "urn:ietf:rfc:3986",
+ "value" : "222.1111.22222"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Location/1729291158747320000.20ca44ca-d5b4-492a-a124-bab78f7f198d",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1729291158747320000.20ca44ca-d5b4-492a-a124-bab78f7f198d",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/pl6-person-location-type",
+ "valueString" : "location type"
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ } ],
+ "value" : "Hospital Prio"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.2,HD.3"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
+ "valueBoolean" : true
+ } ],
+ "code" : "ISO"
+ } ]
+ },
+ "value" : "2.4.4.4"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "NAME"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "UNI"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueString" : "ISO"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/ei-assigner-organization-type",
+ "valueString" : "organization"
+ } ],
+ "value" : "Entity ID",
+ "assigner" : {
+ "reference" : "Organization/1729291158747044000.94e173a6-3244-489e-b58d-ec65b2c03d83"
+ }
+ } ],
+ "status" : "active",
+ "description" : "Description",
+ "mode" : "instance",
+ "physicalType" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code" : "si"
+ } ]
+ }
+ }
+ }, {
+ "fullUrl" : "Location/1729291158747527000.add84404-ebf5-43b7-9a4c-fcbed365fd19",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1729291158747527000.add84404-ebf5-43b7-9a4c-fcbed365fd19",
+ "description" : "Its Temporary",
+ "mode" : "instance"
+ }
+ }, {
+ "fullUrl" : "Location/1729291158747717000.3aa3d8c3-8d88-4062-87ac-96d709e8d9da",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1729291158747717000.3aa3d8c3-8d88-4062-87ac-96d709e8d9da",
+ "description" : "Pending Location",
+ "mode" : "instance"
+ }
+ }, {
+ "fullUrl" : "Location/1729291158747913000.375006a0-e443-4da8-892f-93961957b78d",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1729291158747913000.375006a0-e443-4da8-892f-93961957b78d",
+ "description" : "Prior Location",
+ "mode" : "instance"
+ }
+ }, {
+ "fullUrl" : "Organization/1729291158748165000.8e8db3a2-7ead-49cd-8137-111e1d7d43f2",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729291158748165000.8e8db3a2-7ead-49cd-8137-111e1d7d43f2",
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ } ],
+ "value" : "ASSIGNEE"
+ }, {
+ "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" : "UUID"
+ } ]
+ },
+ "system" : "urn:ietf:rfc:3986",
+ "value" : "222.1111.22222"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Location/1729291158748439000.e72f22c5-f524-4591-a3ea-3a428bac395d",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1729291158748439000.e72f22c5-f524-4591-a3ea-3a428bac395d",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/pl6-person-location-type",
+ "valueString" : "location type"
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ } ],
+ "value" : "Hospital PriorPending"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.2,HD.3"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
+ "valueBoolean" : true
+ } ],
+ "code" : "ISO"
+ } ]
+ },
+ "value" : "2.4.4.4"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "NAME"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "UNI"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueString" : "ISO"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/ei-assigner-organization-type",
+ "valueString" : "organization"
+ } ],
+ "value" : "Entity ID",
+ "assigner" : {
+ "reference" : "Organization/1729291158748165000.8e8db3a2-7ead-49cd-8137-111e1d7d43f2"
+ }
+ } ],
+ "status" : "active",
+ "description" : "Description",
+ "mode" : "instance",
+ "physicalType" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code" : "si"
+ } ]
+ }
+ }
+ }, {
+ "fullUrl" : "EpisodeOfCare/1729291158748813000.c59d255f-d42b-43d4-8ede-0790a713c636",
+ "resource" : {
+ "resourceType" : "EpisodeOfCare",
+ "id" : "1729291158748813000.c59d255f-d42b-43d4-8ede-0790a713c636",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "PV1.54"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/episode-of-care-name",
+ "valueString" : "Service Description"
+ } ],
+ "identifier" : [ {
+ "value" : "episode identifier"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Observation/1729291158910998000.27dcecd6-0296-4d0e-9d34-a9b2cdc172a3",
+ "resource" : {
+ "resourceType" : "Observation",
+ "id" : "1729291158910998000.27dcecd6-0296-4d0e-9d34-a9b2cdc172a3",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/sub-id",
+ "valueString" : "subid"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/nature-of-abnormal-test",
+ "valueId" : "ST"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/analysis-date-time",
+ "valueDateTime" : "2023-09-12T18:08:02-04:00",
+ "_valueDateTime" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230912180802-0400"
+ } ]
+ }
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/observation-sub-type",
+ "valueCode" : "30"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obx-observation",
+ "extension" : [ {
+ "url" : "OBX.2",
+ "valueId" : "CWE"
+ }, {
+ "url" : "OBX.6",
+ "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" : "g",
+ "display" : "gram"
+ } ]
+ }
+ }, {
+ "url" : "OBX.27",
+ "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" : "HL79900"
+ } ],
+ "code" : "RC",
+ "display" : "root cause"
+ } ]
+ }
+ }, {
+ "url" : "OBX.28",
+ "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" : "HL79900"
+ } ],
+ "code" : "LPC",
+ "display" : "Local Process"
+ } ]
+ }
+ }, {
+ "url" : "OBX.29",
+ "valueId" : "QST"
+ }, {
+ "url" : "OBX.31",
+ "valueId" : "31"
+ }, {
+ "url" : "OBX.32",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "32",
+ "display" : "value absent reason"
+ } ]
+ }
+ }, {
+ "url" : "OBX.33",
+ "valueIdentifier" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/filler-assigned-identifier",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/entity-identifier",
+ "valueString" : "eip"
+ } ]
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "PGN"
+ } ]
+ },
+ "value" : "33"
+ }
+ }, {
+ "url" : "OBX.9",
+ "valueString" : "99"
+ }, {
+ "url" : "OBX.11",
+ "valueString" : "F"
+ }, {
+ "url" : "OBX.12",
+ "valueString" : "20000101"
+ }, {
+ "url" : "OBX.13",
+ "valueString" : "user defined"
+ }, {
+ "url" : "OBX.17",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "display" : "BD Veritor System for Rapid Detection of SARS-CoV-2"
+ } ]
+ }
+ }, {
+ "url" : "OBX.18",
+ "valueReference" : {
+ "reference" : "Device/1729291158910103000.91225479-ceca-43b2-b057-ba4d4db721da"
+ }
+ }, {
+ "url" : "OBX.20",
+ "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" : "HL70163"
+ } ],
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0163",
+ "code" : "BE",
+ "display" : "Bilateral Ears"
+ } ]
+ }
+ }, {
+ "url" : "OBX.26",
+ "valueId" : "26"
+ } ]
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "OBX.21"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "code" : "FILL"
+ } ]
+ },
+ "value" : "entity id"
+ } ],
+ "status" : "final",
+ "code" : {
+ "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",
+ "code" : "80383-3",
+ "display" : "Flu B"
+ } ]
+ },
+ "subject" : {
+ "reference" : "Patient/1729291158722364000.e8c01fe7-7d55-4eaf-b52d-9df910c647ca"
+ },
+ "encounter" : {
+ "reference" : "Encounter/1729291158748523000.e6b583e7-17ac-422d-a986-97f72ad3bbda"
+ },
+ "effectiveDateTime" : "2023-01-01T00:00:00Z",
+ "_effectiveDateTime" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230101000000"
+ } ]
+ },
+ "performer" : [ {
+ "reference" : "Organization/1729291158911367000.7a49c034-9660-433b-b57b-c3e28f1add68"
+ }, {
+ "reference" : "PractitionerRole/1729291158911505000.58d7f57a-a296-4c05-b24a-1e613f552e0f"
+ }, {
+ "reference" : "PractitionerRole/1729291158912015000.887b6c87-2497-4a38-945e-807a6c3cb6a9"
+ } ],
+ "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" : "SCT"
+ } ],
+ "system" : "http://snomed.info/sct",
+ "code" : "260415000",
+ "display" : "Not detected"
+ } ]
+ },
+ "interpretation" : [ {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "UP",
+ "display" : "Up to you"
+ } ]
+ } ],
+ "note" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/nte-annotation",
+ "extension" : [ {
+ "url" : "NTE.2",
+ "valueId" : "L"
+ }, {
+ "url" : "NTE.7",
+ "valueString" : "20230202"
+ }, {
+ "url" : "NTE.8",
+ "valueString" : "20230203"
+ }, {
+ "url" : "NTE.9",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "CC",
+ "display" : "This is a coded comment for an observation note"
+ } ]
+ }
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/note-comment",
+ "valueId" : "OBX Note"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/note-type",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "RE",
+ "display" : "Remark"
+ } ]
+ }
+ } ],
+ "authorReference" : {
+ "reference" : "Practitioner/1729291158913363000.75217d83-e1ab-44f6-95ec-af347663a462"
+ },
+ "time" : "2023-02-01",
+ "_time" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230201"
+ } ]
+ },
+ "text" : "OBX Note"
+ } ],
+ "bodySite" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "HL70163"
+ } ],
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0163",
+ "code" : "BE",
+ "display" : "Bilateral Ears"
+ } ]
+ },
+ "method" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "display" : "BD Veritor System for Rapid Detection of SARS-CoV-2"
+ } ]
+ },
+ "device" : {
+ "reference" : "Device/1729291158914164000.6895e08f-76fc-4155-b584-5362fd325e1a"
+ },
+ "referenceRange" : [ {
+ "text" : "range of a few"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Device/1729291158910103000.91225479-ceca-43b2-b057-ba4d4db721da",
+ "resource" : {
+ "resourceType" : "Device",
+ "id" : "1729291158910103000.91225479-ceca-43b2-b057-ba4d4db721da",
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "SPTRDEV-001"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "2.17.840"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ]
+ } ],
+ "value" : "Device 001"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Organization/1729291158911367000.7a49c034-9660-433b-b57b-c3e28f1add68",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729291158911367000.7a49c034-9660-433b-b57b-c3e28f1add68",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-organization",
+ "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" : "CLIA"
+ } ],
+ "code" : "11D1111111",
+ "display" : "CSV uploads"
+ } ]
+ }
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "OBX.15"
+ } ],
+ "identifier" : [ {
+ "system" : "CLIA",
+ "value" : "11D1111111"
+ } ],
+ "name" : "CSV uploads"
+ }
+ }, {
+ "fullUrl" : "Practitioner/1729291158911855000.98f68938-0ab1-49a5-8b0f-30c5511db7f5",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1729291158911855000.98f68938-0ab1-49a5-8b0f-30c5511db7f5",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner",
+ "extension" : [ {
+ "url" : "XCN.3",
+ "valueString" : "Quinlen"
+ } ]
+ } ],
+ "identifier" : [ {
+ "value" : "1"
+ } ],
+ "name" : [ {
+ "family" : "Frances",
+ "given" : [ "Quinlen" ]
+ } ]
+ }
+ }, {
+ "fullUrl" : "PractitionerRole/1729291158911505000.58d7f57a-a296-4c05-b24a-1e613f552e0f",
+ "resource" : {
+ "resourceType" : "PractitionerRole",
+ "id" : "1729291158911505000.58d7f57a-a296-4c05-b24a-1e613f552e0f",
+ "practitioner" : {
+ "reference" : "Practitioner/1729291158911855000.98f68938-0ab1-49a5-8b0f-30c5511db7f5"
+ },
+ "code" : [ {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/practitioner-role",
+ "code" : "responsibleObserver"
+ } ]
+ } ]
+ }
+ }, {
+ "fullUrl" : "Practitioner/1729291158912293000.d3a1870f-41a5-4bcb-a8d9-8e66238e9465",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1729291158912293000.d3a1870f-41a5-4bcb-a8d9-8e66238e9465",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner",
+ "extension" : [ {
+ "url" : "XCN.3",
+ "valueString" : "Quinlen"
+ } ]
+ } ],
+ "identifier" : [ {
+ "value" : "1"
+ } ],
+ "name" : [ {
+ "family" : "Mark",
+ "given" : [ "Quinlen" ]
+ } ]
+ }
+ }, {
+ "fullUrl" : "Organization/1729291158912791000.80a47615-5d9e-4b9c-8dfa-37f91af387c6",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729291158912791000.80a47615-5d9e-4b9c-8dfa-37f91af387c6",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization",
+ "extension" : [ {
+ "url" : "XON.10",
+ "valueString" : "11D1111111"
+ } ]
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "CLIA"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "2.16.840.1.113883.4.7"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ]
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "XX"
+ } ]
+ },
+ "value" : "11D1111111"
+ } ],
+ "name" : "CSV uploads-11D1111111",
+ "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" : "2 Second Dr"
+ } ]
+ } ]
+ } ],
+ "line" : [ "2 Second Dr" ],
+ "state" : "IG",
+ "postalCode" : "94553",
+ "country" : "USA"
+ } ]
+ }
+ }, {
+ "fullUrl" : "PractitionerRole/1729291158912015000.887b6c87-2497-4a38-945e-807a6c3cb6a9",
+ "resource" : {
+ "resourceType" : "PractitionerRole",
+ "id" : "1729291158912015000.887b6c87-2497-4a38-945e-807a6c3cb6a9",
+ "practitioner" : {
+ "reference" : "Practitioner/1729291158912293000.d3a1870f-41a5-4bcb-a8d9-8e66238e9465"
+ },
+ "organization" : {
+ "reference" : "Organization/1729291158912791000.80a47615-5d9e-4b9c-8dfa-37f91af387c6"
+ },
+ "code" : [ {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0912",
+ "code" : "MDIR"
+ } ]
+ } ]
+ }
+ }, {
+ "fullUrl" : "Practitioner/1729291158913363000.75217d83-e1ab-44f6-95ec-af347663a462",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1729291158913363000.75217d83-e1ab-44f6-95ec-af347663a462",
+ "identifier" : [ {
+ "value" : "Bob R.N.A."
+ } ]
+ }
+ }, {
+ "fullUrl" : "Device/1729291158914164000.6895e08f-76fc-4155-b584-5362fd325e1a",
+ "resource" : {
+ "resourceType" : "Device",
+ "id" : "1729291158914164000.6895e08f-76fc-4155-b584-5362fd325e1a",
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "SPTRDEV-001"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "2.17.840"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ]
+ } ],
+ "value" : "Device 001"
+ } ]
+ }
+ }, {
+ "fullUrl" : "ServiceRequest/1729291158936263000.5f403463-87f3-4c92-9f47-e5f0d48e7186",
+ "resource" : {
+ "resourceType" : "ServiceRequest",
+ "id" : "1729291158936263000.5f403463-87f3-4c92-9f47-e5f0d48e7186",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/business-event",
+ "valueCode" : "RE"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/business-event",
+ "valueString" : "20230725"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/status-modifier",
+ "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" : "OS",
+ "display" : "order status"
+ } ]
+ }
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/orc-common-order",
+ "extension" : [ {
+ "url" : "ORC.5",
+ "valueString" : "CM"
+ }, {
+ "url" : "ORC.6",
+ "valueString" : "E"
+ }, {
+ "url" : "ORC.19",
+ "valueReference" : {
+ "reference" : "Practitioner/1729291158920752000.024c5626-05c5-45f7-a14c-30b7c81c7700"
+ }
+ }, {
+ "url" : "orc-21-ordering-facility-name",
+ "valueReference" : {
+ "reference" : "Organization/1729291158921164000.d9c2a1ef-fa84-403d-ae73-b9cd9dc7aa6d"
+ }
+ }, {
+ "url" : "orc-22-ordering-facility-address",
+ "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" : "111 Street St"
+ } ]
+ } ]
+ } ],
+ "line" : [ "111 Street St" ],
+ "city" : "Streetsville",
+ "state" : "ST"
+ }
+ }, {
+ "url" : "orc-24-ordering-provider-address",
+ "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" : "111 Road Rd"
+ } ]
+ } ]
+ } ],
+ "line" : [ "111 Road Rd" ],
+ "city" : "Roadsville",
+ "state" : "RD"
+ }
+ }, {
+ "url" : "ORC.27",
+ "valueString" : "20260404"
+ }, {
+ "url" : "ORC.28",
+ "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" : "HL70177"
+ } ],
+ "code" : "EMP",
+ "display" : "Employee"
+ } ]
+ }
+ }, {
+ "url" : "ORC.30",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cne-coding",
+ "valueString" : "coding"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cne-coding-system",
+ "valueString" : "HL70483"
+ } ],
+ "code" : "EL",
+ "display" : "Electronic"
+ } ]
+ }
+ }, {
+ "url" : "ORC.31",
+ "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" : "HL70000"
+ } ],
+ "code" : "UMM",
+ "display" : "Universal Modifier"
+ } ]
+ }
+ }, {
+ "url" : "ORC.32",
+ "valueString" : "20250403"
+ }, {
+ "url" : "ORC.8",
+ "valueIdentifier" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "SPHL-000048"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "2.16.840.1.114222.4.1.10765"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueString" : "ISO"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/filler-assigned-identifier",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/entity-identifier",
+ "valueString" : "Specimen12333454"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "SPHL-000048"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "2.16.840.1.114222.4.1.10765"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueString" : "ISO"
+ } ]
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "PGN"
+ } ]
+ },
+ "value" : "Specimen12333"
+ }
+ }, {
+ "url" : "ORC.10",
+ "valueReference" : {
+ "reference" : "Practitioner/1729291158922473000.c533de3e-d2ba-44e0-8b6b-453b1576663e"
+ }
+ }, {
+ "url" : "ORC.11",
+ "valueReference" : {
+ "reference" : "Practitioner/1729291158922799000.5359badb-22f7-48ba-9960-6e64b3441c64"
+ }
+ }, {
+ "url" : "orc-12-ordering-provider",
+ "valueReference" : {
+ "reference" : "Practitioner/1729291158923141000.1b20e06c-4c1e-45ab-bb17-2a0f784195bd"
+ }
+ }, {
+ "url" : "ORC.13",
+ "valueReference" : {
+ "reference" : "Location/1729291158923690000.bce36e37-6828-4d55-ac5e-c84b72ed8864"
+ }
+ }, {
+ "url" : "ORC.15",
+ "valueString" : "202101021000"
+ }, {
+ "url" : "ORC.17",
+ "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" : "EO",
+ "display" : "entering org text"
+ } ]
+ }
+ }, {
+ "url" : "ORC.18",
+ "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" : "ED",
+ "display" : "entering device text"
+ } ]
+ }
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/obr-observation-request",
+ "extension" : [ {
+ "url" : "OBR.2",
+ "valueIdentifier" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "Placer Identifier Namespace"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "Placer Universal ID"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ]
+ } ],
+ "value" : "Placer Identifier"
+ }
+ }, {
+ "url" : "OBR.3",
+ "valueIdentifier" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "Filler Identifier Namespace"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "Filler Universal ID"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ]
+ } ],
+ "value" : "Filler Identifier"
+ }
+ }, {
+ "url" : "OBR.20",
+ "valueString" : "filler1"
+ }, {
+ "url" : "OBR.21",
+ "valueString" : "filler2"
+ }, {
+ "url" : "OBR.23",
+ "extension" : [ {
+ "url" : "moc-1-1-monetary-amount",
+ "valueString" : "100"
+ }, {
+ "url" : "moc-1-2-monetary-denomination",
+ "valueString" : "$"
+ }, {
+ "url" : "moc-2-charge-code",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "16",
+ "display" : "code"
+ } ]
+ }
+ } ]
+ }, {
+ "url" : "OBR.24",
+ "valueId" : "OTH"
+ }, {
+ "url" : "OBR.25",
+ "valueId" : "F"
+ }, {
+ "url" : "OBR.26",
+ "extension" : [ {
+ "url" : "prl-1-parent-observation-identifier",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "444",
+ "display" : "ParentId"
+ } ]
+ }
+ }, {
+ "url" : "prl-2-parent-observation-sub-identifier",
+ "valueString" : "888"
+ }, {
+ "url" : "prl-3-parent-observation-descriptor",
+ "valueString" : "ParentOBSdescriptor"
+ } ]
+ }, {
+ "url" : "OBR.28",
+ "valueReference" : {
+ "reference" : "Practitioner/1729291158924936000.f7d9f43a-4887-49ab-8756-ef1d1d1f9e1f"
+ }
+ }, {
+ "url" : "OBR.29",
+ "valueIdentifier" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "CSV"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "11D1111111"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueString" : "CLIA"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/filler-assigned-identifier",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/entity-identifier",
+ "valueString" : "f34b0f57-1601-4480-ae8a-d4006e50f38d"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "Other CSV"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "22D2222222"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueString" : "CLIA2"
+ } ]
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "PGN"
+ } ]
+ },
+ "value" : "adb4a5cc-50ec-4f1e-95d7-0c1f77cacee1"
+ }
+ }, {
+ "url" : "OBR.33",
+ "valueReference" : {
+ "reference" : "PractitionerRole/1729291158931548000.0a58e2a6-5f45-48e8-8eb7-b8331a7c6350"
+ }
+ }, {
+ "url" : "OBR.10",
+ "valueReference" : {
+ "reference" : "Practitioner/1729291158932532000.051e3555-203d-4835-9150-46847e25ffcd"
+ }
+ }, {
+ "url" : "OBR.36",
+ "valueString" : "20230806123359-0500"
+ }, {
+ "url" : "OBR.39",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "4438",
+ "display" : "Collectors Comment"
+ } ]
+ }
+ }, {
+ "url" : "OBR.39",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "4438",
+ "display" : "Collectors Comment2"
+ } ]
+ }
+ }, {
+ "url" : "OBR.44",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cne-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "5019",
+ "display" : "Procedure Code"
+ } ]
+ }
+ }, {
+ "url" : "obr-45-procedure-code-modifier",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cne-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "887766",
+ "display" : "Procedure Code Modifier"
+ } ]
+ }
+ }, {
+ "url" : "obr-45-procedure-code-modifier",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cne-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "887766",
+ "display" : "Procedure Code Modifier2"
+ } ]
+ }
+ }, {
+ "url" : "OBR.48",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "71435",
+ "display" : "Medically Necessary Duplicate Procedure"
+ } ]
+ }
+ }, {
+ "url" : "OBR.49",
+ "valueString" : "N"
+ }, {
+ "url" : "OBR.50",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "443331",
+ "display" : "Parent Universal Service Identifier"
+ } ]
+ }
+ }, {
+ "url" : "OBR.53",
+ "valueIdentifier" : {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit",
+ "valueString" : "Placer Order"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "OBR.53"
+ } ],
+ "value" : "Alt"
+ }
+ }, {
+ "url" : "OBR.53",
+ "valueIdentifier" : {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit",
+ "valueString" : "Placer Order2"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "OBR.53"
+ } ],
+ "value" : "Alt"
+ }
+ }, {
+ "url" : "OBR.54",
+ "valueIdentifier" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "CSV"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "11D1111111"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueString" : "CLIA"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/filler-assigned-identifier",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/entity-identifier",
+ "valueString" : "f34b0f57-1601-4480-ae8a-d4006e50f38d"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "Other CSV"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "22D2222222"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueString" : "CLIA2"
+ } ]
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "PGN"
+ } ]
+ },
+ "value" : "adb4a5cc-50ec-4f1e-95d7-0c1f77cacee1"
+ }
+ }, {
+ "url" : "OBR.11",
+ "valueString" : "G"
+ }, {
+ "url" : "OBR.12",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "512",
+ "display" : "Danger code"
+ } ]
+ }
+ }, {
+ "url" : "OBR.13",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "relevent info"
+ } ]
+ }
+ }, {
+ "url" : "OBR.16",
+ "valueReference" : {
+ "reference" : "Practitioner/1729291158934431000.fd15a4f2-9549-4ee5-832d-709bc029246a"
+ }
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/callback-number",
+ "valueContactPoint" : {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-country",
+ "valueString" : "1"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-area",
+ "valueString" : "260"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/contactpoint-local",
+ "valueString" : "7595016"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point",
+ "extension" : [ {
+ "url" : "XTN.2",
+ "valueString" : "WPN"
+ }, {
+ "url" : "XTN.3",
+ "valueString" : "BP"
+ }, {
+ "url" : "XTN.7",
+ "valueString" : "7595016"
+ }, {
+ "url" : "XTN.12",
+ "valueString" : "+1 260 759 5016"
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "OBR.17"
+ } ],
+ "system" : "pager",
+ "value" : "+1 260 759 5016",
+ "use" : "work"
+ }
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/callback-number",
+ "valueContactPoint" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point",
+ "extension" : [ {
+ "url" : "XTN.2",
+ "valueString" : "WPN"
+ }, {
+ "url" : "XTN.3",
+ "valueString" : "Internet"
+ }, {
+ "url" : "XTN.4",
+ "valueString" : "order.callback@email.com"
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "OBR.17"
+ } ],
+ "system" : "email",
+ "value" : "order.callback@email.com",
+ "use" : "work"
+ }
+ }, {
+ "url" : "OBR.18",
+ "valueString" : "placer1"
+ }, {
+ "url" : "OBR.19",
+ "valueString" : "placer2"
+ } ]
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "ORC.2"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "SPHL-000048"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "2.16.840.1.114222.4.1.10765"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ]
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "PLAC"
+ } ]
+ },
+ "value" : "Specimen123"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "ORC.3"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "SPHL-000048"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "2.16.840.1.114222.4.1.10765"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ]
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "FILL"
+ } ]
+ },
+ "value" : "Specimen12311"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "ORC.4"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "SPHL-000048"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "2.16.840.1.114222.4.1.10765"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ]
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "PGN"
+ } ]
+ },
+ "value" : "Specimen12322"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "ORC.4"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "SPHL-000048"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "2.16.840.1.114222.4.1.10765"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ]
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "FGN"
+ } ]
+ },
+ "value" : "Specimen12322"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "ORC.33"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "PLAC"
+ } ]
+ },
+ "value" : "33"
+ } ],
+ "status" : "completed",
+ "intent" : "order",
+ "code" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "123",
+ "display" : "Universal service identifier"
+ } ]
+ },
+ "orderDetail" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "OBR.46"
+ } ],
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "7461",
+ "display" : "Placer Supplemental"
+ } ]
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "OBR.46"
+ } ],
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "7461",
+ "display" : "Placer Supplemental2"
+ } ]
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "OBR.47"
+ } ],
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "8811",
+ "display" : "Fillter Supplemental"
+ } ]
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "OBR.47"
+ } ],
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "8811",
+ "display" : "Fillter Supplemental2"
+ } ]
+ } ],
+ "subject" : {
+ "reference" : "Patient/1729291158722364000.e8c01fe7-7d55-4eaf-b52d-9df910c647ca"
+ },
+ "occurrenceDateTime" : "2022-02-02T10:22:00Z",
+ "_occurrenceDateTime" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "202202021022"
+ } ]
+ },
+ "requester" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/callback-number",
+ "valueContactPoint" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point",
+ "extension" : [ {
+ "url" : "XTN.1",
+ "valueString" : "123"
+ }, {
+ "url" : "XTN.4",
+ "valueString" : "+123"
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "ORC.14"
+ } ],
+ "system" : "email",
+ "value" : "123"
+ }
+ } ],
+ "reference" : "PractitionerRole/1729291158917089000.11c90c5e-0ed2-4f77-b6ba-7eedcf0195d9"
+ },
+ "locationCode" : [ {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding-system",
+ "valueString" : "HL70482"
+ } ],
+ "code" : "I",
+ "display" : "Inpatient Order"
+ } ]
+ } ],
+ "reasonCode" : [ {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "3216",
+ "display" : "ReasonForStudy"
+ } ]
+ }, {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "3216",
+ "display" : "ReasonForStudy2"
+ } ]
+ } ],
+ "supportingInfo" : [ {
+ "reference" : "Observation/1729291158910998000.27dcecd6-0296-4d0e-9d34-a9b2cdc172a3"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Practitioner/1729291158917713000.cab4cddf-a711-40a0-a063-4ad646ddf375",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1729291158917713000.cab4cddf-a711-40a0-a063-4ad646ddf375",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner",
+ "extension" : [ {
+ "url" : "XCN.3",
+ "valueString" : "ORC.12Name"
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "ORC.12"
+ } ],
+ "identifier" : [ {
+ "value" : "93"
+ } ],
+ "name" : [ {
+ "given" : [ "ORC.12Name" ]
+ } ],
+ "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" : "111 Road Rd"
+ } ]
+ } ]
+ } ],
+ "line" : [ "111 Road Rd" ],
+ "city" : "Roadsville",
+ "state" : "RD"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Location/1729291158918001000.d47fb820-ae92-4621-a8e3-b1053ae79193",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1729291158918001000.d47fb820-ae92-4621-a8e3-b1053ae79193",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ],
+ "identifier" : [ {
+ "value" : "2.16.840.1.114222.8.7.6.5.4.1"
+ } ],
+ "name" : "STARLINKS.CDC.Stag",
+ "physicalType" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code" : "si"
+ } ]
+ }
+ }
+ }, {
+ "fullUrl" : "Organization/1729291158918665000.f64034a5-85f2-407e-bc34-76b5da8e2570",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729291158918665000.f64034a5-85f2-407e-bc34-76b5da8e2570",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code",
+ "valueString" : "A"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization",
+ "extension" : [ {
+ "url" : "XON.10",
+ "valueString" : "SPHL-000048"
+ } ]
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "STARLIMS.CDC.Stag"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "2.16.840.1.114222.4.3.3.2.1.2"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location",
+ "valueReference" : {
+ "reference" : "Location/1729291158918001000.d47fb820-ae92-4621-a8e3-b1053ae79193"
+ }
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "XX"
+ } ]
+ },
+ "value" : "SPHL-000048"
+ } ],
+ "name" : "CDPH, Viral and Rickettsial Disease Laboratory",
+ "telecom" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xtn-contact-point",
+ "extension" : [ {
+ "url" : "XTN.1",
+ "valueString" : "456"
+ }, {
+ "url" : "XTN.4",
+ "valueString" : "+456"
+ } ]
+ } ],
+ "system" : "email",
+ "value" : "456"
+ } ],
+ "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" : "111 Street St"
+ } ]
+ } ]
+ } ],
+ "line" : [ "111 Street St" ],
+ "city" : "Streetsville",
+ "state" : "ST"
+ } ]
+ }
+ }, {
+ "fullUrl" : "PractitionerRole/1729291158917089000.11c90c5e-0ed2-4f77-b6ba-7eedcf0195d9",
+ "resource" : {
+ "resourceType" : "PractitionerRole",
+ "id" : "1729291158917089000.11c90c5e-0ed2-4f77-b6ba-7eedcf0195d9",
+ "practitioner" : {
+ "reference" : "Practitioner/1729291158917713000.cab4cddf-a711-40a0-a063-4ad646ddf375"
+ },
+ "organization" : {
+ "reference" : "Organization/1729291158918665000.f64034a5-85f2-407e-bc34-76b5da8e2570"
+ }
+ }
+ }, {
+ "fullUrl" : "Practitioner/1729291158920752000.024c5626-05c5-45f7-a14c-30b7c81c7700",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1729291158920752000.024c5626-05c5-45f7-a14c-30b7c81c7700",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner",
+ "extension" : [ {
+ "url" : "XCN.3",
+ "valueString" : "ORC.19Name"
+ } ]
+ } ],
+ "identifier" : [ {
+ "value" : "60"
+ } ],
+ "name" : [ {
+ "given" : [ "ORC.19Name" ]
+ } ]
+ }
+ }, {
+ "fullUrl" : "Location/1729291158920994000.1f23c2c7-b4de-418c-8a4c-51530300d30e",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1729291158920994000.1f23c2c7-b4de-418c-8a4c-51530300d30e",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ],
+ "identifier" : [ {
+ "value" : "2.16.840.1.114222.8.7.6.5.4.1"
+ } ],
+ "name" : "STARLINKS.CDC.Stag",
+ "physicalType" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code" : "si"
+ } ]
+ }
+ }
+ }, {
+ "fullUrl" : "Organization/1729291158921164000.d9c2a1ef-fa84-403d-ae73-b9cd9dc7aa6d",
+ "resource" : {
+ "resourceType" : "Organization",
+ "id" : "1729291158921164000.d9c2a1ef-fa84-403d-ae73-b9cd9dc7aa6d",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/name-representation-code",
+ "valueString" : "A"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xon-organization",
+ "extension" : [ {
+ "url" : "XON.10",
+ "valueString" : "SPHL-000048"
+ } ]
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id",
+ "valueString" : "STARLIMS.CDC.Stag"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "2.16.840.1.114222.4.3.3.2.1.2"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id-type",
+ "valueCode" : "ISO"
+ } ]
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/identifier-location",
+ "valueReference" : {
+ "reference" : "Location/1729291158920994000.1f23c2c7-b4de-418c-8a4c-51530300d30e"
+ }
+ } ],
+ "type" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
+ "code" : "XX"
+ } ]
+ },
+ "value" : "SPHL-000048"
+ } ],
+ "name" : "CDPH, Viral and Rickettsial Disease Laboratory"
+ }
+ }, {
+ "fullUrl" : "Practitioner/1729291158922473000.c533de3e-d2ba-44e0-8b6b-453b1576663e",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1729291158922473000.c533de3e-d2ba-44e0-8b6b-453b1576663e",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner",
+ "extension" : [ {
+ "url" : "XCN.3",
+ "valueString" : "ORC.10Name"
+ } ]
+ } ],
+ "identifier" : [ {
+ "value" : "71"
+ } ],
+ "name" : [ {
+ "given" : [ "ORC.10Name" ]
+ } ]
+ }
+ }, {
+ "fullUrl" : "Practitioner/1729291158922799000.5359badb-22f7-48ba-9960-6e64b3441c64",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1729291158922799000.5359badb-22f7-48ba-9960-6e64b3441c64",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner",
+ "extension" : [ {
+ "url" : "XCN.3",
+ "valueString" : "ORC.11Name"
+ } ]
+ } ],
+ "identifier" : [ {
+ "value" : "82"
+ } ],
+ "name" : [ {
+ "given" : [ "ORC.11Name" ]
+ } ]
+ }
+ }, {
+ "fullUrl" : "Practitioner/1729291158923141000.1b20e06c-4c1e-45ab-bb17-2a0f784195bd",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1729291158923141000.1b20e06c-4c1e-45ab-bb17-2a0f784195bd",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/xcn-practitioner",
+ "extension" : [ {
+ "url" : "XCN.3",
+ "valueString" : "ORC.12Name"
+ } ]
+ } ],
+ "identifier" : [ {
+ "value" : "93"
+ } ],
+ "name" : [ {
+ "given" : [ "ORC.12Name" ]
+ } ]
+ }
+ }, {
+ "fullUrl" : "Location/1729291158923548000.01d5590c-8270-4b72-b3c6-37d52d174108",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1729291158923548000.01d5590c-8270-4b72-b3c6-37d52d174108",
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ } ],
+ "value" : "12.12.12"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.2,HD.3"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
+ "valueBoolean" : true
+ } ],
+ "code" : "L"
+ } ]
+ },
+ "value" : "enter location id"
+ } ],
+ "physicalType" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "_code" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/location-physical-type-poc",
+ "valueString" : "poc"
+ } ]
+ }
+ } ]
+ }
+ }
+ }, {
+ "fullUrl" : "Location/1729291158923690000.bce36e37-6828-4d55-ac5e-c84b72ed8864",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1729291158923690000.bce36e37-6828-4d55-ac5e-c84b72ed8864",
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ } ],
+ "value" : "12.12.12"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.2,HD.3"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
+ "valueBoolean" : true
+ } ],
+ "code" : "L"
+ } ]
+ },
+ "value" : "enter location id"
+ } ],
+ "mode" : "instance",
+ "physicalType" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "_code" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/location-physical-type-poc",
+ "valueString" : "poc"
+ } ]
+ }
+ } ]
+ },
+ "partOf" : {
+ "reference" : "Location/1729291158923548000.01d5590c-8270-4b72-b3c6-37d52d174108"
+ }
+ }
+ }, {
+ "fullUrl" : "Practitioner/1729291158924936000.f7d9f43a-4887-49ab-8756-ef1d1d1f9e1f",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1729291158924936000.f7d9f43a-4887-49ab-8756-ef1d1d1f9e1f",
+ "identifier" : [ {
+ "value" : "1"
+ } ],
+ "name" : [ {
+ "family" : "result",
+ "_family" : {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix",
+ "valueString" : "VAN"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-name",
+ "valueString" : "copiesto"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix",
+ "valueString" : "VAL"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-name",
+ "valueString" : "NotSoJollyROGER"
+ } ]
+ }
+ } ]
+ }
+ }, {
+ "fullUrl" : "Practitioner/1729291158925581000.1c33c538-0576-485b-ad9d-06b8150ba604",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1729291158925581000.1c33c538-0576-485b-ad9d-06b8150ba604",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cnn-practitioner",
+ "extension" : [ {
+ "url" : "CNN.3",
+ "valueString" : "Results Interpreter"
+ }, {
+ "url" : "CNN.4",
+ "valueString" : "S"
+ }, {
+ "url" : "CNN.5",
+ "valueString" : "ESQ"
+ }, {
+ "url" : "CNN.7",
+ "valueString" : "MD"
+ } ]
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "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"
+ } ]
+ } ],
+ "value" : "123"
+ } ],
+ "name" : [ {
+ "family" : "Assistant",
+ "given" : [ "Results Interpreter", "S" ],
+ "prefix" : [ "DR" ],
+ "suffix" : [ "ESQ", "MD" ]
+ } ]
+ }
+ }, {
+ "fullUrl" : "Location/1729291158926027000.dee5bea7-5a46-4d21-821a-4bf064becb60",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1729291158926027000.dee5bea7-5a46-4d21-821a-4bf064becb60",
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.1"
+ } ],
+ "value" : "Hospital A"
+ }, {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2Field",
+ "valueString" : "HD.2,HD.3"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
+ "valueBoolean" : true
+ } ],
+ "code" : "ISO"
+ } ]
+ },
+ "value" : "2.16.840.1.113883.9.11"
+ } ],
+ "status" : "active",
+ "mode" : "instance",
+ "physicalType" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code" : "si"
+ } ]
+ }
+ }
+ }, {
+ "fullUrl" : "Location/1729291158930548000.af295f16-53b5-4748-b98a-562de34612cd",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1729291158930548000.af295f16-53b5-4748-b98a-562de34612cd",
+ "identifier" : [ {
+ "value" : "Building 123"
+ } ],
+ "status" : "active",
+ "mode" : "instance",
+ "physicalType" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code" : "bu"
+ } ]
+ }
+ }
+ }, {
+ "fullUrl" : "Location/1729291158930874000.8b958775-eb86-426e-beff-0ab25bcd1849",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1729291158930874000.8b958775-eb86-426e-beff-0ab25bcd1849",
+ "identifier" : [ {
+ "value" : "Point of Care"
+ } ],
+ "status" : "active",
+ "mode" : "instance",
+ "physicalType" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "_code" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/location-physical-type-poc",
+ "valueString" : "poc"
+ } ]
+ }
+ } ]
+ }
+ }
+ }, {
+ "fullUrl" : "Location/1729291158931094000.0c7579ad-e3cb-4868-bb29-a9ade5bcd506",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1729291158931094000.0c7579ad-e3cb-4868-bb29-a9ade5bcd506",
+ "identifier" : [ {
+ "value" : "Floor A"
+ } ],
+ "status" : "active",
+ "mode" : "instance",
+ "physicalType" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code" : "lvl"
+ } ]
+ }
+ }
+ }, {
+ "fullUrl" : "Location/1729291158931277000.14b089ea-b623-406c-a101-c2ad4674f37f",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1729291158931277000.14b089ea-b623-406c-a101-c2ad4674f37f",
+ "identifier" : [ {
+ "value" : "Room 101"
+ } ],
+ "status" : "active",
+ "mode" : "instance",
+ "physicalType" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code" : "ro"
+ } ]
+ }
+ }
+ }, {
+ "fullUrl" : "Location/1729291158931473000.923f8586-db44-42a2-b826-9443f81b36ab",
+ "resource" : {
+ "resourceType" : "Location",
+ "id" : "1729291158931473000.923f8586-db44-42a2-b826-9443f81b36ab",
+ "identifier" : [ {
+ "value" : "Bed A"
+ } ],
+ "status" : "active",
+ "mode" : "instance",
+ "physicalType" : {
+ "coding" : [ {
+ "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
+ "code" : "bd"
+ } ]
+ }
+ }
+ }, {
+ "fullUrl" : "PractitionerRole/1729291158931548000.0a58e2a6-5f45-48e8-8eb7-b8331a7c6350",
+ "resource" : {
+ "resourceType" : "PractitionerRole",
+ "id" : "1729291158931548000.0a58e2a6-5f45-48e8-8eb7-b8331a7c6350",
+ "period" : {
+ "start" : "2023-04-01T10:25:31-04:00",
+ "_start" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230401102531-0400"
+ } ]
+ },
+ "end" : "2023-05-01T10:25:31-04:00",
+ "_end" : {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/hl7v2-date-time",
+ "valueString" : "20230501102531-0400"
+ } ]
+ }
+ },
+ "practitioner" : {
+ "reference" : "Practitioner/1729291158925581000.1c33c538-0576-485b-ad9d-06b8150ba604"
+ },
+ "location" : [ {
+ "reference" : "Location/1729291158926027000.dee5bea7-5a46-4d21-821a-4bf064becb60"
+ }, {
+ "reference" : "Location/1729291158930548000.af295f16-53b5-4748-b98a-562de34612cd"
+ }, {
+ "reference" : "Location/1729291158930874000.8b958775-eb86-426e-beff-0ab25bcd1849"
+ }, {
+ "reference" : "Location/1729291158931094000.0c7579ad-e3cb-4868-bb29-a9ade5bcd506"
+ }, {
+ "reference" : "Location/1729291158931277000.14b089ea-b623-406c-a101-c2ad4674f37f"
+ }, {
+ "reference" : "Location/1729291158931473000.923f8586-db44-42a2-b826-9443f81b36ab"
+ } ]
+ }
+ }, {
+ "fullUrl" : "Practitioner/1729291158932532000.051e3555-203d-4835-9150-46847e25ffcd",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1729291158932532000.051e3555-203d-4835-9150-46847e25ffcd",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/assigning-authority",
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/namespace-id"
+ }, {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/universal-id",
+ "valueString" : "AssigningSystem"
+ }, {
+ "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" : "LUDWIG"
+ }, {
+ "url" : "XCN.4",
+ "valueString" : "B"
+ }, {
+ "url" : "XCN.5",
+ "valueString" : "2ND"
+ }, {
+ "url" : "XCN.7",
+ "valueString" : "MD"
+ }, {
+ "url" : "XCN.8",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "SRC"
+ } ]
+ }
+ }, {
+ "url" : "XCN.10",
+ "valueString" : "B"
+ }, {
+ "url" : "XCN.15",
+ "valueString" : "A"
+ }, {
+ "url" : "XCN.16",
+ "valueCodeableConcept" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/cwe-coding",
+ "valueString" : "coding"
+ } ],
+ "code" : "NameContext"
+ } ]
+ }
+ } ]
+ } ],
+ "identifier" : [ {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit",
+ "valueString" : "A"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit",
+ "valueCode" : "NPI"
+ } ],
+ "type" : {
+ "coding" : [ {
+ "extension" : [ {
+ "url" : "https://reportstream.cdc.gov/fhir/StructureDefinition/codeable-concept-id",
+ "valueBoolean" : true
+ } ],
+ "code" : "DL"
+ } ]
+ },
+ "system" : "urn:oid:AssigningSystem",
+ "value" : "1"
+ } ],
+ "name" : [ {
+ "use" : "official",
+ "family" : "Collector",
+ "_family" : {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix",
+ "valueString" : "VAN"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-name",
+ "valueString" : "Identifier"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix",
+ "valueString" : "VAL"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-name",
+ "valueString" : "ROGER"
+ } ]
+ },
+ "given" : [ "LUDWIG", "B" ],
+ "prefix" : [ "DR" ],
+ "suffix" : [ "2ND", "MD" ]
+ } ]
+ }
+ }, {
+ "fullUrl" : "Practitioner/1729291158934431000.fd15a4f2-9549-4ee5-832d-709bc029246a",
+ "resource" : {
+ "resourceType" : "Practitioner",
+ "id" : "1729291158934431000.fd15a4f2-9549-4ee5-832d-709bc029246a",
+ "identifier" : [ {
+ "value" : "1"
+ } ],
+ "name" : [ {
+ "family" : "Ordering",
+ "_family" : {
+ "extension" : [ {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix",
+ "valueString" : "VAN"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-own-name",
+ "valueString" : "Provider"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix",
+ "valueString" : "VAL"
+ }, {
+ "url" : "http://hl7.org/fhir/StructureDefinition/humanname-partner-name",
+ "valueString" : "JollyROGER"
+ } ]
+ }
+ } ]
+ }
+ } ]
+}
\ No newline at end of file
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
new file mode 100644
index 00000000000..44981ed2f2f
--- /dev/null
+++ b/prime-router/src/testIntegration/resources/datatests/mappinginventory/catchall/ormo01/orm_o01-full.hl7
@@ -0,0 +1,10 @@
+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|ORM^O01^ORM_O01|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|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
+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||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|1640|F^Female^HL70001||2106-3^White^HL70005|123 Main St^Altxad^AnyTown^IG^95802^USA^H^MahHome^ThoCo^Census^A^2020&2024^2022^2027^^^^^MrSir||12345^PRS^CP^real@example.com^1^713^5553861^1^himom^^4^17135553862^1999^2000^^^^7|9865^EMR^SAT^alsoreal@exmaple.com^1^281^5553861|E^English^HL70296|P^Domestic Partnet^HL70002|AGN^Agnostic^HL70006|32|||maybe|U^Uknown^HL70189|Bayou|Y|11|USA^United States^HL70171|NA^Not Applicable^HL70172|A^American^HL70212|2031|Y|N|AL^Alias^HL70445|202408211138|RSDT^0.0.0.1.1138^ISO|D^Dog^HL70446|||RA^Racing^HL70429|N^None^HL70171|40
+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|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||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|20230501102532-0400|20230501102533-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|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
+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
+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
+NTE|1|L|OBX Note|RE^Remark|Bob R.N.A.|20230201|20230202|20230203|CC^This is a coded comment for an observation note
\ No newline at end of file
From 0dd2fa8d1dc043b8f291242a7b726f9c5c0406dc Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Sun, 27 Oct 2024 07:11:41 +0000
Subject: [PATCH 13/61] Bump ca.uhn.hapi.fhir:org.hl7.fhir.r4 in /prime-router
Bumps ca.uhn.hapi.fhir:org.hl7.fhir.r4 from 6.3.24 to 6.4.0.
---
updated-dependencies:
- dependency-name: ca.uhn.hapi.fhir:org.hl7.fhir.r4
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
---
prime-router/build.gradle.kts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/prime-router/build.gradle.kts b/prime-router/build.gradle.kts
index 267caf5989d..a79835e88de 100644
--- a/prime-router/build.gradle.kts
+++ b/prime-router/build.gradle.kts
@@ -904,7 +904,7 @@ dependencies {
implementation("ca.uhn.hapi.fhir:hapi-fhir-client:7.4.2")
// pin
implementation("ca.uhn.hapi.fhir:org.hl7.fhir.utilities:6.3.29")
- implementation("ca.uhn.hapi.fhir:org.hl7.fhir.r4:6.3.24")
+ implementation("ca.uhn.hapi.fhir:org.hl7.fhir.r4:6.4.0")
implementation("ca.uhn.hapi:hapi-base:2.5.1")
implementation("ca.uhn.hapi:hapi-structures-v251:2.5.1")
implementation("ca.uhn.hapi:hapi-structures-v27:2.5.1")
From c51268bf4cb5943d1453a613374438e7fda03d95 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Sun, 27 Oct 2024 07:11:47 +0000
Subject: [PATCH 14/61] Bump ca.uhn.hapi.fhir:org.hl7.fhir.utilities in
/prime-router
Bumps ca.uhn.hapi.fhir:org.hl7.fhir.utilities from 6.3.29 to 6.4.0.
---
updated-dependencies:
- dependency-name: ca.uhn.hapi.fhir:org.hl7.fhir.utilities
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot]
---
prime-router/build.gradle.kts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/prime-router/build.gradle.kts b/prime-router/build.gradle.kts
index 267caf5989d..1a1820316e0 100644
--- a/prime-router/build.gradle.kts
+++ b/prime-router/build.gradle.kts
@@ -903,7 +903,7 @@ dependencies {
implementation("ca.uhn.hapi.fhir:hapi-fhir-caching-caffeine:7.4.2")
implementation("ca.uhn.hapi.fhir:hapi-fhir-client:7.4.2")
// pin
- implementation("ca.uhn.hapi.fhir:org.hl7.fhir.utilities:6.3.29")
+ implementation("ca.uhn.hapi.fhir:org.hl7.fhir.utilities:6.4.0")
implementation("ca.uhn.hapi.fhir:org.hl7.fhir.r4:6.3.24")
implementation("ca.uhn.hapi:hapi-base:2.5.1")
implementation("ca.uhn.hapi:hapi-structures-v251:2.5.1")
From 3113bc53efa1a62acbfaeba74fbdc871f69f6f1e Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Sun, 27 Oct 2024 08:18:27 +0000
Subject: [PATCH 15/61] Bump org.springframework.boot from 3.3.4 to 3.3.5 in
/auth
Bumps [org.springframework.boot](https://github.com/spring-projects/spring-boot) from 3.3.4 to 3.3.5.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v3.3.4...v3.3.5)
---
updated-dependencies:
- dependency-name: org.springframework.boot
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
---
auth/build.gradle.kts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/auth/build.gradle.kts b/auth/build.gradle.kts
index e6d82c00810..4527efc9d34 100644
--- a/auth/build.gradle.kts
+++ b/auth/build.gradle.kts
@@ -1,7 +1,7 @@
apply(from = rootProject.file("buildSrc/shared.gradle.kts"))
plugins {
- id("org.springframework.boot") version "3.3.4"
+ id("org.springframework.boot") version "3.3.5"
id("io.spring.dependency-management") version "1.1.6"
id("reportstream.project-conventions")
kotlin("plugin.spring") version "2.0.0"
From 10a512bab21af479459215260489b16e445938e1 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Sun, 27 Oct 2024 08:37:29 +0000
Subject: [PATCH 16/61] Bump org.springframework.boot from 3.3.4 to 3.3.5 in
/submissions
Bumps [org.springframework.boot](https://github.com/spring-projects/spring-boot) from 3.3.4 to 3.3.5.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v3.3.4...v3.3.5)
---
updated-dependencies:
- dependency-name: org.springframework.boot
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot]
---
submissions/build.gradle.kts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/submissions/build.gradle.kts b/submissions/build.gradle.kts
index 8c96e222de5..d1c2631a40a 100644
--- a/submissions/build.gradle.kts
+++ b/submissions/build.gradle.kts
@@ -1,7 +1,7 @@
apply(from = rootProject.file("buildSrc/shared.gradle.kts"))
plugins {
- id("org.springframework.boot") version "3.3.4"
+ id("org.springframework.boot") version "3.3.5"
id("io.spring.dependency-management") version "1.1.6"
id("reportstream.project-conventions")
kotlin("plugin.spring") version "2.0.20"
From d7551d356350e1912eb7716e91610f97d7867761 Mon Sep 17 00:00:00 2001
From: Michael Kalish
Date: Fri, 1 Nov 2024 15:35:22 -0400
Subject: [PATCH 17/61] 16148: send reports from the submissions directly to
FHIR Convert (#16339)
* 16148: send reports from the submissions directly to FHIR Convert
* fixup! 16148: send reports from the submissions directly to FHIR Convert
* 16148: delete old FHIR receiver code
* fixup! 16148: send reports from the submissions directly to FHIR Convert
* fixup! 16148: send reports from the submissions directly to FHIR Convert
* fixup! 16148: send reports from the submissions directly to FHIR Convert
* fixup! 16148: send reports from the submissions directly to FHIR Convert
* fixup! 16148: send reports from the submissions directly to FHIR Convert
* fixup! 16148: send reports from the submissions directly to FHIR Convert
* fixup! 16148: send reports from the submissions directly to FHIR Convert
---
.../event/ReportStreamEventService.kt | 171 ++--
.../main/kotlin/cli/ProcessFhirCommands.kt | 140 ++-
.../kotlin/fhirengine/azure/FHIRFunctions.kt | 85 +-
.../kotlin/fhirengine/engine/FHIRConverter.kt | 196 +++-
.../engine/FHIRDestinationFilter.kt | 4 +-
.../kotlin/fhirengine/engine/FHIREngine.kt | 47 +-
.../kotlin/fhirengine/engine/FHIRReceiver.kt | 379 --------
.../fhirengine/engine/FHIRReceiverFilter.kt | 5 +-
.../fhirengine/engine/FHIRTranslator.kt | 4 +-
.../engine/PrimeRouterQueueMessage.kt | 4 +-
.../test/kotlin/azure/ActionHistoryTests.kt | 24 +-
.../test/kotlin/azure/FHIRFunctionsTests.kt | 16 +-
.../event/ReportEventServiceTest.kt | 2 +-
.../common/UniversalPipelineTestUtils.kt | 11 +-
.../azure/FHIRConverterIntegrationTests.kt | 314 ++++++-
.../FHIRDestinationFilterIntegrationTests.kt | 10 +-
.../FHIRReceiverFilterIntegrationTests.kt | 10 +-
.../azure/FHIRReceiverIntegrationTests.kt | 881 ------------------
.../azure/FHIRTranslatorIntegrationTests.kt | 10 +-
.../fhirengine/engine/FHIRReceiverTests.kt | 273 ------
.../fhirengine/engine/FhirConverterTests.kt | 47 +-
.../engine/FhirDestinationFilterTests.kt | 3 +-
.../prime/reportstream/shared/QueueMessage.kt | 4 +-
.../src/main/resources/application.yml | 2 +-
24 files changed, 913 insertions(+), 1729 deletions(-)
delete mode 100644 prime-router/src/main/kotlin/fhirengine/engine/FHIRReceiver.kt
delete mode 100644 prime-router/src/test/kotlin/fhirengine/azure/FHIRReceiverIntegrationTests.kt
delete mode 100644 prime-router/src/test/kotlin/fhirengine/engine/FHIRReceiverTests.kt
diff --git a/prime-router/src/main/kotlin/azure/observability/event/ReportStreamEventService.kt b/prime-router/src/main/kotlin/azure/observability/event/ReportStreamEventService.kt
index 42509ce0748..36ae8a908f7 100644
--- a/prime-router/src/main/kotlin/azure/observability/event/ReportStreamEventService.kt
+++ b/prime-router/src/main/kotlin/azure/observability/event/ReportStreamEventService.kt
@@ -1,7 +1,6 @@
package gov.cdc.prime.router.azure.observability.event
import gov.cdc.prime.router.Report
-import gov.cdc.prime.router.ReportId
import gov.cdc.prime.router.Topic
import gov.cdc.prime.router.azure.DatabaseAccess
import gov.cdc.prime.router.azure.db.enums.TaskAction
@@ -22,18 +21,28 @@ import java.util.UUID
*/
interface IReportStreamEventService {
+ /**
+ * Sends any events that have been queued up if the client specified sending them can be deferred.
+ *
+ * This is useful in contexts where the events should only be sent after all the business logic has
+ * executed and the DB transaction has been committed.
+ */
+ fun sendQueuedEvents()
+
/**
* Creates a report event from an [Report]
*
* @param eventName the business event value from [ReportStreamEventName]
* @param childReport the report that is getting emitted from the pipeline step
* @param pipelineStepName the pipeline step that is emitting the event
+ * @param shouldQueue whether to send the event immediately or defer it to be sent later
* @param initializer additional data to initialize the creation of the event. See [AbstractReportStreamEventBuilder]
*/
fun sendReportEvent(
eventName: ReportStreamEventName,
childReport: Report,
pipelineStepName: TaskAction,
+ shouldQueue: Boolean = false,
initializer: ReportStreamReportEventBuilder.() -> Unit,
)
@@ -43,12 +52,14 @@ interface IReportStreamEventService {
* @param eventName the business event value from [ReportStreamEventName]
* @param childReport the report that is getting emitted from the pipeline step
* @param pipelineStepName the pipeline step that is emitting the event
+ * @param shouldQueue whether to send the event immediately or defer it to be sent later
* @param initializer additional data to initialize the creation of the event. See [AbstractReportStreamEventBuilder]
*/
fun sendReportEvent(
eventName: ReportStreamEventName,
childReport: ReportFile,
pipelineStepName: TaskAction,
+ shouldQueue: Boolean = false,
initializer: ReportStreamReportEventBuilder.() -> Unit,
)
@@ -59,6 +70,7 @@ interface IReportStreamEventService {
* @param childReport the report that is getting emitted from the pipeline step
* @param pipelineStepName the pipeline step that is emitting the event
* @param error the error description
+ * @param shouldQueue whether to send the event immediately or defer it to be sent later
* @param initializer additional data to initialize the creation of the event. See [AbstractReportStreamEventBuilder]
*/
fun sendReportProcessingError(
@@ -66,6 +78,7 @@ interface IReportStreamEventService {
childReport: ReportFile,
pipelineStepName: TaskAction,
error: String,
+ shouldQueue: Boolean = false,
initializer: ReportStreamReportProcessingErrorEventBuilder.() -> Unit,
)
@@ -76,6 +89,7 @@ interface IReportStreamEventService {
* @param childReport the report that is getting emitted from the pipeline step
* @param pipelineStepName the pipeline step that is emitting the event
* @param error the error description
+ * @param shouldQueue whether to send the event immediately or defer it to be sent later
* @param initializer additional data to initialize the creation of the event. See [AbstractReportStreamEventBuilder]
*/
fun sendReportProcessingError(
@@ -83,25 +97,7 @@ interface IReportStreamEventService {
childReport: Report,
pipelineStepName: TaskAction,
error: String,
- initializer: ReportStreamReportProcessingErrorEventBuilder.() -> Unit,
- )
-
- /**
- * Creates a general processing error event. This is not associated with a report or item.
- *
- * @param eventName the business event value from [ReportStreamEventName]
- * @param pipelineStepName the pipeline step that is emitting the event
- * @param error the error description
- * @param submissionId the report id for the incoming report
- * @param bodyUrl the blob url for the incoming report
- * @param initializer additional data to initialize the creation of the event. See [AbstractReportStreamEventBuilder]
- */
- fun sendSubmissionProcessingError(
- eventName: ReportStreamEventName,
- pipelineStepName: TaskAction,
- error: String,
- submissionId: ReportId,
- bodyUrl: String,
+ shouldQueue: Boolean = false,
initializer: ReportStreamReportProcessingErrorEventBuilder.() -> Unit,
)
@@ -111,12 +107,14 @@ interface IReportStreamEventService {
* @param eventName the business event value from [ReportStreamEventName]
* @param childReport the report that is getting emitted from the pipeline step
* @param pipelineStepName the pipeline step that is emitting the event
+ * @param shouldQueue whether to send the event immediately or defer it to be sent later
* @param initializer additional data to initialize the creation of the event. See [AbstractReportStreamEventBuilder]
*/
fun sendItemEvent(
eventName: ReportStreamEventName,
childReport: Report,
pipelineStepName: TaskAction,
+ shouldQueue: Boolean = false,
initializer: ReportStreamItemEventBuilder.() -> Unit,
)
@@ -126,12 +124,14 @@ interface IReportStreamEventService {
* @param eventName the business event value from [ReportStreamEventName]
* @param childReport the report that is getting emitted from the pipeline step
* @param pipelineStepName the pipeline step that is emitting the event
+ * @param shouldQueue whether to send the event immediately or defer it to be sent later
* @param initializer additional data to initialize the creation of the event. See [AbstractReportStreamEventBuilder]
*/
fun sendItemEvent(
eventName: ReportStreamEventName,
childReport: ReportFile,
pipelineStepName: TaskAction,
+ shouldQueue: Boolean = false,
initializer: ReportStreamItemEventBuilder.() -> Unit,
)
@@ -142,6 +142,7 @@ interface IReportStreamEventService {
* @param childReport the report that is getting emitted from the pipeline step
* @param pipelineStepName the pipeline step that is emitting the event
* @param error the error description
+ * @param shouldQueue whether to send the event immediately or defer it to be sent later
* @param initializer additional data to initialize the creation of the event. See [AbstractReportStreamEventBuilder]
*/
fun sendItemProcessingError(
@@ -149,6 +150,7 @@ interface IReportStreamEventService {
childReport: ReportFile,
pipelineStepName: TaskAction,
error: String,
+ shouldQueue: Boolean = false,
initializer: ReportStreamItemProcessingErrorEventBuilder.() -> Unit,
)
@@ -159,6 +161,7 @@ interface IReportStreamEventService {
* @param childReport the report that is getting emitted from the pipeline step
* @param pipelineStepName the pipeline step that is emitting the event
* @param error the error description
+ * @param shouldQueue whether to send the event immediately or defer it to be sent later
* @param initializer additional data to initialize the creation of the event. See [AbstractReportStreamEventBuilder]
*/
fun sendItemProcessingError(
@@ -166,6 +169,7 @@ interface IReportStreamEventService {
childReport: Report,
pipelineStepName: TaskAction,
error: String,
+ shouldQueue: Boolean = false,
initializer: ReportStreamItemProcessingErrorEventBuilder.() -> Unit,
)
@@ -216,13 +220,23 @@ class ReportStreamEventService(
private val reportService: ReportService,
) : IReportStreamEventService {
+ private val builtEvents = mutableListOf>()
+
+ override fun sendQueuedEvents() {
+ builtEvents.forEach {
+ it.send()
+ }
+ builtEvents.clear()
+ }
+
override fun sendReportEvent(
eventName: ReportStreamEventName,
childReport: Report,
pipelineStepName: TaskAction,
+ shouldQueue: Boolean,
initializer: ReportStreamReportEventBuilder.() -> Unit,
) {
- ReportStreamReportEventBuilder(
+ val builder = ReportStreamReportEventBuilder(
this,
azureEventService,
eventName,
@@ -232,16 +246,22 @@ class ReportStreamEventService(
pipelineStepName
).apply(
initializer
- ).send()
+ )
+ if (shouldQueue) {
+ builtEvents.add(builder)
+ } else {
+ builder.send()
+ }
}
override fun sendReportEvent(
eventName: ReportStreamEventName,
childReport: ReportFile,
pipelineStepName: TaskAction,
+ shouldQueue: Boolean,
initializer: ReportStreamReportEventBuilder.() -> Unit,
) {
- ReportStreamReportEventBuilder(
+ val builder = ReportStreamReportEventBuilder(
this,
azureEventService,
eventName,
@@ -251,7 +271,13 @@ class ReportStreamEventService(
pipelineStepName
).apply(
initializer
- ).send()
+ )
+
+ if (shouldQueue) {
+ builtEvents.add(builder)
+ } else {
+ builder.send()
+ }
}
override fun sendReportProcessingError(
@@ -259,9 +285,10 @@ class ReportStreamEventService(
childReport: ReportFile,
pipelineStepName: TaskAction,
error: String,
+ shouldQueue: Boolean,
initializer: ReportStreamReportProcessingErrorEventBuilder.() -> Unit,
) {
- ReportStreamReportProcessingErrorEventBuilder(
+ val builder = ReportStreamReportProcessingErrorEventBuilder(
this,
azureEventService,
eventName,
@@ -272,7 +299,13 @@ class ReportStreamEventService(
error
).apply(
initializer
- ).send()
+ )
+
+ if (shouldQueue) {
+ builtEvents.add(builder)
+ } else {
+ builder.send()
+ }
}
override fun sendReportProcessingError(
@@ -280,9 +313,10 @@ class ReportStreamEventService(
childReport: Report,
pipelineStepName: TaskAction,
error: String,
+ shouldQueue: Boolean,
initializer: ReportStreamReportProcessingErrorEventBuilder.() -> Unit,
) {
- ReportStreamReportProcessingErrorEventBuilder(
+ val builder = ReportStreamReportProcessingErrorEventBuilder(
this,
azureEventService,
eventName,
@@ -293,38 +327,23 @@ class ReportStreamEventService(
error
).apply(
initializer
- ).send()
- }
+ )
- override fun sendSubmissionProcessingError(
- eventName: ReportStreamEventName,
- pipelineStepName: TaskAction,
- error: String,
- submissionId: ReportId,
- bodyUrl: String,
- initializer: ReportStreamReportProcessingErrorEventBuilder.() -> Unit,
- ) {
- ReportStreamReportProcessingErrorEventBuilder(
- this,
- azureEventService,
- eventName,
- submissionId,
- bodyUrl,
- theTopic = null,
- pipelineStepName,
- error
- ).apply(
- initializer
- ).send()
+ if (shouldQueue) {
+ builtEvents.add(builder)
+ } else {
+ builder.send()
+ }
}
override fun sendItemEvent(
eventName: ReportStreamEventName,
childReport: Report,
pipelineStepName: TaskAction,
+ shouldQueue: Boolean,
initializer: ReportStreamItemEventBuilder.() -> Unit,
) {
- ReportStreamItemEventBuilder(
+ val builder = ReportStreamItemEventBuilder(
this,
azureEventService,
eventName,
@@ -332,16 +351,23 @@ class ReportStreamEventService(
childReport.bodyURL,
childReport.schema.topic,
pipelineStepName
- ).apply(initializer).send()
+ ).apply(initializer)
+
+ if (shouldQueue) {
+ builtEvents.add(builder)
+ } else {
+ builder.send()
+ }
}
override fun sendItemEvent(
eventName: ReportStreamEventName,
childReport: ReportFile,
pipelineStepName: TaskAction,
+ shouldQueue: Boolean,
initializer: ReportStreamItemEventBuilder.() -> Unit,
) {
- ReportStreamItemEventBuilder(
+ val builder = ReportStreamItemEventBuilder(
this,
azureEventService,
eventName,
@@ -349,7 +375,13 @@ class ReportStreamEventService(
childReport.bodyUrl,
childReport.schemaTopic,
pipelineStepName
- ).apply(initializer).send()
+ ).apply(initializer)
+
+ if (shouldQueue) {
+ builtEvents.add(builder)
+ } else {
+ builder.send()
+ }
}
override fun sendItemProcessingError(
@@ -357,9 +389,10 @@ class ReportStreamEventService(
childReport: ReportFile,
pipelineStepName: TaskAction,
error: String,
+ shouldQueue: Boolean,
initializer: ReportStreamItemProcessingErrorEventBuilder.() -> Unit,
) {
- ReportStreamItemProcessingErrorEventBuilder(
+ val builder = ReportStreamItemProcessingErrorEventBuilder(
this,
azureEventService,
eventName,
@@ -368,7 +401,13 @@ class ReportStreamEventService(
childReport.schemaTopic,
pipelineStepName,
error
- ).apply(initializer).send()
+ ).apply(initializer)
+
+ if (shouldQueue) {
+ builtEvents.add(builder)
+ } else {
+ builder.send()
+ }
}
override fun sendItemProcessingError(
@@ -376,9 +415,10 @@ class ReportStreamEventService(
childReport: Report,
pipelineStepName: TaskAction,
error: String,
+ shouldQueue: Boolean,
initializer: ReportStreamItemProcessingErrorEventBuilder.() -> Unit,
) {
- ReportStreamItemProcessingErrorEventBuilder(
+ val builder = ReportStreamItemProcessingErrorEventBuilder(
this,
azureEventService,
eventName,
@@ -387,7 +427,13 @@ class ReportStreamEventService(
childReport.schema.topic,
pipelineStepName,
error
- ).apply(initializer).send()
+ ).apply(initializer)
+
+ if (shouldQueue) {
+ builtEvents.add(builder)
+ } else {
+ builder.send()
+ }
}
override fun getReportEventData(
@@ -398,13 +444,10 @@ class ReportStreamEventService(
topic: Topic?,
): ReportEventData {
val submittedReportIds = if (parentReportId != null) {
- val rootReports = reportService.getRootReports(parentReportId)
- rootReports.ifEmpty {
- listOf(dbAccess.fetchReportFile(parentReportId))
- }
+ reportService.getRootReports(parentReportId)
} else {
emptyList()
- }.map { it.reportId }
+ }.map { it.reportId }.ifEmpty { if (parentReportId != null) listOf(parentReportId) else emptyList() }
return ReportEventData(
childReportId,
@@ -425,8 +468,10 @@ class ReportStreamEventService(
trackingId: String?,
): ItemEventData {
val submittedIndex = reportService.getRootItemIndex(parentReportId, parentItemIndex) ?: parentItemIndex
+
val rootReport =
- reportService.getRootReports(parentReportId).firstOrNull() ?: dbAccess.fetchReportFile(parentReportId)
+ reportService.getRootReports(parentReportId).firstOrNull() ?: dbAccess.fetchReportFile(parentReportId)
+
return ItemEventData(
childItemIndex,
parentItemIndex,
diff --git a/prime-router/src/main/kotlin/cli/ProcessFhirCommands.kt b/prime-router/src/main/kotlin/cli/ProcessFhirCommands.kt
index 07ae7ace0cb..694601cace9 100644
--- a/prime-router/src/main/kotlin/cli/ProcessFhirCommands.kt
+++ b/prime-router/src/main/kotlin/cli/ProcessFhirCommands.kt
@@ -21,10 +21,22 @@ import gov.cdc.prime.router.Hl7Configuration
import gov.cdc.prime.router.Metadata
import gov.cdc.prime.router.MimeFormat
import gov.cdc.prime.router.Receiver
+import gov.cdc.prime.router.Report
import gov.cdc.prime.router.ReportStreamFilter
+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.LookupTableConditionMapper
+import gov.cdc.prime.router.azure.db.enums.TaskAction
+import gov.cdc.prime.router.azure.db.tables.pojos.ReportFile
+import gov.cdc.prime.router.azure.observability.event.IReportStreamEventService
+import gov.cdc.prime.router.azure.observability.event.ItemEventData
+import gov.cdc.prime.router.azure.observability.event.ReportEventData
+import gov.cdc.prime.router.azure.observability.event.ReportStreamEventName
+import gov.cdc.prime.router.azure.observability.event.ReportStreamItemEventBuilder
+import gov.cdc.prime.router.azure.observability.event.ReportStreamItemProcessingErrorEventBuilder
+import gov.cdc.prime.router.azure.observability.event.ReportStreamReportEventBuilder
+import gov.cdc.prime.router.azure.observability.event.ReportStreamReportProcessingErrorEventBuilder
import gov.cdc.prime.router.cli.CommandUtilities.Companion.abort
import gov.cdc.prime.router.cli.helpers.HL7DiffHelper
import gov.cdc.prime.router.common.Environment
@@ -374,12 +386,16 @@ class ProcessFhirCommands : CliktCommand(
// this is just for logging so it is fine to just make it up
UUID.randomUUID().toString()
}
- val result = FHIRReceiverFilter().evaluateObservationConditionFilters(
- receiver,
- bundle,
- ActionLogger(),
- trackingId
- )
+ // TODO: https://github.com/CDCgov/prime-reportstream/issues/16407
+ val result =
+ FHIRReceiverFilter(
+ reportStreamEventService = NoopReportStreamEventService()
+ ).evaluateObservationConditionFilters(
+ receiver,
+ bundle,
+ ActionLogger(),
+ trackingId
+ )
if (result is ReceiverFilterEvaluationResult.Success) {
return result.bundle
} else {
@@ -848,4 +864,116 @@ class FhirPathCommand : CliktCommand(
stringValue.append("\n}\n")
return stringValue.toString()
}
+}
+
+// This exists only because ProcessFhirCommands instantiates a FHIRReceiverFilter to access a function that likely could be
+// made static
+// TODO: https://github.com/CDCgov/prime-reportstream/issues/16407
+class NoopReportStreamEventService : IReportStreamEventService {
+ override fun sendQueuedEvents() {
+ throw NotImplementedError()
+ }
+
+ override fun sendReportEvent(
+ eventName: ReportStreamEventName,
+ childReport: Report,
+ pipelineStepName: TaskAction,
+ shouldQueue: Boolean,
+ initializer: ReportStreamReportEventBuilder.() -> Unit,
+ ) {
+ throw NotImplementedError()
+ }
+
+ override fun sendReportEvent(
+ eventName: ReportStreamEventName,
+ childReport: ReportFile,
+ pipelineStepName: TaskAction,
+ shouldQueue: Boolean,
+ initializer: ReportStreamReportEventBuilder.() -> Unit,
+ ) {
+ throw NotImplementedError()
+ }
+
+ override fun sendReportProcessingError(
+ eventName: ReportStreamEventName,
+ childReport: ReportFile,
+ pipelineStepName: TaskAction,
+ error: String,
+ shouldQueue: Boolean,
+ initializer: ReportStreamReportProcessingErrorEventBuilder.() -> Unit,
+ ) {
+ throw NotImplementedError()
+ }
+
+ override fun sendReportProcessingError(
+ eventName: ReportStreamEventName,
+ childReport: Report,
+ pipelineStepName: TaskAction,
+ error: String,
+ shouldQueue: Boolean,
+ initializer: ReportStreamReportProcessingErrorEventBuilder.() -> Unit,
+ ) {
+ throw NotImplementedError()
+ }
+
+ override fun sendItemEvent(
+ eventName: ReportStreamEventName,
+ childReport: Report,
+ pipelineStepName: TaskAction,
+ shouldQueue: Boolean,
+ initializer: ReportStreamItemEventBuilder.() -> Unit,
+ ) {
+ throw NotImplementedError()
+ }
+
+ override fun sendItemEvent(
+ eventName: ReportStreamEventName,
+ childReport: ReportFile,
+ pipelineStepName: TaskAction,
+ shouldQueue: Boolean,
+ initializer: ReportStreamItemEventBuilder.() -> Unit,
+ ) {
+ throw NotImplementedError()
+ }
+
+ override fun sendItemProcessingError(
+ eventName: ReportStreamEventName,
+ childReport: ReportFile,
+ pipelineStepName: TaskAction,
+ error: String,
+ shouldQueue: Boolean,
+ initializer: ReportStreamItemProcessingErrorEventBuilder.() -> Unit,
+ ) {
+ throw NotImplementedError()
+ }
+
+ override fun sendItemProcessingError(
+ eventName: ReportStreamEventName,
+ childReport: Report,
+ pipelineStepName: TaskAction,
+ error: String,
+ shouldQueue: Boolean,
+ initializer: ReportStreamItemProcessingErrorEventBuilder.() -> Unit,
+ ) {
+ throw NotImplementedError()
+ }
+
+ override fun getReportEventData(
+ childReportId: UUID,
+ childBodyUrl: String,
+ parentReportId: UUID?,
+ pipelineStepName: TaskAction,
+ topic: Topic?,
+ ): ReportEventData {
+ throw NotImplementedError()
+ }
+
+ override fun getItemEventData(
+ childItemIndex: Int,
+ parentReportId: UUID,
+ parentItemIndex: Int,
+ trackingId: String?,
+ ): ItemEventData {
+ throw NotImplementedError()
+ }
}
\ No newline at end of file
diff --git a/prime-router/src/main/kotlin/fhirengine/azure/FHIRFunctions.kt b/prime-router/src/main/kotlin/fhirengine/azure/FHIRFunctions.kt
index 0f7a31b560e..cd3e59e2d3d 100644
--- a/prime-router/src/main/kotlin/fhirengine/azure/FHIRFunctions.kt
+++ b/prime-router/src/main/kotlin/fhirengine/azure/FHIRFunctions.kt
@@ -5,25 +5,32 @@ import com.microsoft.azure.functions.annotation.FunctionName
import com.microsoft.azure.functions.annotation.QueueTrigger
import com.microsoft.azure.functions.annotation.StorageAccount
import gov.cdc.prime.reportstream.shared.QueueMessage
+import gov.cdc.prime.reportstream.shared.Submission
import gov.cdc.prime.router.ActionLogger
import gov.cdc.prime.router.azure.ActionHistory
import gov.cdc.prime.router.azure.DataAccessTransaction
import gov.cdc.prime.router.azure.DatabaseAccess
import gov.cdc.prime.router.azure.QueueAccess
+import gov.cdc.prime.router.azure.SubmissionTableService
import gov.cdc.prime.router.azure.WorkflowEngine
import gov.cdc.prime.router.azure.db.enums.TaskAction
+import gov.cdc.prime.router.azure.observability.event.AzureEventService
+import gov.cdc.prime.router.azure.observability.event.AzureEventServiceImpl
import gov.cdc.prime.router.azure.observability.event.ReportStreamEventName
import gov.cdc.prime.router.azure.observability.event.ReportStreamEventProperties
+import gov.cdc.prime.router.azure.observability.event.ReportStreamEventService
import gov.cdc.prime.router.common.BaseEngine
import gov.cdc.prime.router.fhirengine.engine.FHIRConverter
import gov.cdc.prime.router.fhirengine.engine.FHIRDestinationFilter
import gov.cdc.prime.router.fhirengine.engine.FHIREngine
-import gov.cdc.prime.router.fhirengine.engine.FHIRReceiver
import gov.cdc.prime.router.fhirengine.engine.FHIRReceiverFilter
import gov.cdc.prime.router.fhirengine.engine.FHIRTranslator
-import gov.cdc.prime.router.fhirengine.engine.FhirReceiveQueueMessage
+import gov.cdc.prime.router.fhirengine.engine.FhirConvertSubmissionQueueMessage
import gov.cdc.prime.router.fhirengine.engine.PrimeRouterQueueMessage
import gov.cdc.prime.router.fhirengine.engine.ReportPipelineMessage
+import gov.cdc.prime.router.fhirengine.engine.SubmissionSenderNotFound
+import gov.cdc.prime.router.history.db.ReportGraph
+import gov.cdc.prime.router.report.ReportService
import org.apache.commons.lang3.StringUtils
import org.apache.logging.log4j.kotlin.Logging
import org.jooq.exception.DataAccessException
@@ -33,23 +40,41 @@ class FHIRFunctions(
private val actionLogger: ActionLogger = ActionLogger(),
private val databaseAccess: DatabaseAccess = BaseEngine.databaseAccessSingleton,
private val queueAccess: QueueAccess = QueueAccess,
+ private val submissionTableService: SubmissionTableService = SubmissionTableService.getInstance(),
+ val reportService: ReportService = ReportService(ReportGraph(databaseAccess), databaseAccess),
+ val azureEventService: AzureEventService = AzureEventServiceImpl(),
+ val reportStreamEventService: ReportStreamEventService =
+ ReportStreamEventService(databaseAccess, azureEventService, reportService),
) : Logging {
/**
* An azure function for ingesting and recording submissions
*/
- @FunctionName("receive-fhir")
+ @FunctionName("convert-from-submissions-fhir")
@StorageAccount("AzureWebJobsStorage")
- fun receive(
- @QueueTrigger(name = "message", queueName = QueueMessage.elrReceiveQueueName)
+ fun convertFromSubmissions(
+ @QueueTrigger(name = "message", queueName = QueueMessage.elrSubmissionConvertQueueName)
message: String,
// Number of times this message has been dequeued
@BindingName("DequeueCount") dequeueCount: Int = 1,
) {
logger.info(
- "message consumed from elr-fhir-receive queue"
+ "message consumed from ${QueueMessage.elrSubmissionConvertQueueName} queue"
)
- process(message, dequeueCount, FHIRReceiver(), ActionHistory(TaskAction.receive))
+ process(
+ message,
+ dequeueCount,
+ FHIRConverter(reportStreamEventService = reportStreamEventService),
+ ActionHistory(TaskAction.convert)
+ )
+ val messageContent = readMessage("convert", message, dequeueCount)
+ val tableEntity = Submission(
+ messageContent.reportId.toString(),
+ "Accepted",
+ messageContent.blobURL,
+ actionLogger.errors.takeIf { it.isNotEmpty() }?.map { it.detail.message }?.toString()
+ )
+ submissionTableService.insertSubmission(tableEntity)
}
/**
@@ -63,7 +88,12 @@ class FHIRFunctions(
// Number of times this message has been dequeued
@BindingName("DequeueCount") dequeueCount: Int = 1,
) {
- process(message, dequeueCount, FHIRConverter(), ActionHistory(TaskAction.convert))
+ process(
+ message,
+ dequeueCount,
+ FHIRConverter(reportStreamEventService = reportStreamEventService),
+ ActionHistory(TaskAction.convert)
+ )
}
/**
@@ -77,7 +107,12 @@ class FHIRFunctions(
// Number of times this message has been dequeued
@BindingName("DequeueCount") dequeueCount: Int = 1,
) {
- process(message, dequeueCount, FHIRDestinationFilter(), ActionHistory(TaskAction.destination_filter))
+ process(
+ message,
+ dequeueCount,
+ FHIRDestinationFilter(reportStreamEventService = reportStreamEventService),
+ ActionHistory(TaskAction.destination_filter)
+ )
}
/**
@@ -91,7 +126,12 @@ class FHIRFunctions(
// Number of times this message has been dequeued
@BindingName("DequeueCount") dequeueCount: Int = 1,
) {
- process(message, dequeueCount, FHIRReceiverFilter(), ActionHistory(TaskAction.receiver_filter))
+ process(
+ message,
+ dequeueCount,
+ FHIRReceiverFilter(reportStreamEventService = reportStreamEventService),
+ ActionHistory(TaskAction.receiver_filter)
+ )
}
/**
@@ -105,7 +145,12 @@ class FHIRFunctions(
// Number of times this message has been dequeued
@BindingName("DequeueCount") dequeueCount: Int = 1,
) {
- process(message, dequeueCount, FHIRTranslator(), ActionHistory(TaskAction.translate))
+ process(
+ message,
+ dequeueCount,
+ FHIRTranslator(reportStreamEventService = reportStreamEventService),
+ ActionHistory(TaskAction.translate)
+ )
}
/**
@@ -149,13 +194,27 @@ class FHIRFunctions(
recordResults(message, actionHistory, txn)
results
}
-
+ reportStreamEventService.sendQueuedEvents()
return newMessages
} catch (ex: DataAccessException) {
// This is the one exception type that we currently will allow for retrying as there are occasional
// DB connectivity issues that are resolved without intervention
logger.error(ex)
throw ex
+ } catch (ex: SubmissionSenderNotFound) {
+ // This is a specific error case that can occur while handling a report via the new Submission service
+ // In a situation that the sender is not found there is not enough information to record a report event
+ // and we want a poison queue message to be immediately added so that the configuration can be fixed
+ logger.error(ex)
+ val tableEntity = Submission(
+ ex.reportId.toString(),
+ "Rejected",
+ ex.blobURL,
+ actionLogger.errors.takeIf { it.isNotEmpty() }?.map { it.detail.message }?.toString()
+ )
+ submissionTableService.insertSubmission(tableEntity)
+ queueAccess.sendMessage("${messageContent.messageQueueName}-poison", message)
+ return emptyList()
} catch (ex: Exception) {
// We're catching anything else that occurs because the most likely cause is a code or configuration error
// that will not be resolved if the message is automatically retried
@@ -186,7 +245,7 @@ class FHIRFunctions(
return when (val queueMessage = QueueMessage.deserialize(message)) {
is QueueMessage.ReceiveQueueMessage -> {
- FhirReceiveQueueMessage(
+ FhirConvertSubmissionQueueMessage(
queueMessage.reportId,
queueMessage.blobURL,
queueMessage.digest,
diff --git a/prime-router/src/main/kotlin/fhirengine/engine/FHIRConverter.kt b/prime-router/src/main/kotlin/fhirengine/engine/FHIRConverter.kt
index 9527ef4dc19..e5cd8908412 100644
--- a/prime-router/src/main/kotlin/fhirengine/engine/FHIRConverter.kt
+++ b/prime-router/src/main/kotlin/fhirengine/engine/FHIRConverter.kt
@@ -16,6 +16,7 @@ import gov.cdc.prime.reportstream.shared.QueueMessage
import gov.cdc.prime.router.ActionLogDetail
import gov.cdc.prime.router.ActionLogScope
import gov.cdc.prime.router.ActionLogger
+import gov.cdc.prime.router.ClientSource
import gov.cdc.prime.router.ErrorCode
import gov.cdc.prime.router.InvalidReportMessage
import gov.cdc.prime.router.Metadata
@@ -23,6 +24,7 @@ import gov.cdc.prime.router.MimeFormat
import gov.cdc.prime.router.Options
import gov.cdc.prime.router.Report
import gov.cdc.prime.router.SettingsProvider
+import gov.cdc.prime.router.Topic
import gov.cdc.prime.router.UnmappableConditionMessage
import gov.cdc.prime.router.azure.ActionHistory
import gov.cdc.prime.router.azure.BlobAccess
@@ -39,6 +41,7 @@ import gov.cdc.prime.router.azure.observability.context.MDCUtils
import gov.cdc.prime.router.azure.observability.context.withLoggingContext
import gov.cdc.prime.router.azure.observability.event.AzureEventService
import gov.cdc.prime.router.azure.observability.event.AzureEventServiceImpl
+import gov.cdc.prime.router.azure.observability.event.IReportStreamEventService
import gov.cdc.prime.router.azure.observability.event.ReportStreamEventName
import gov.cdc.prime.router.azure.observability.event.ReportStreamEventProperties
import gov.cdc.prime.router.fhirengine.translation.HL7toFhirTranslator
@@ -57,6 +60,7 @@ import org.apache.commons.lang3.exception.ExceptionUtils
import org.hl7.fhir.r4.model.Bundle
import org.jooq.Field
import java.time.OffsetDateTime
+import java.util.UUID
import java.util.stream.Collectors
import java.util.stream.Stream
@@ -75,7 +79,8 @@ class FHIRConverter(
blob: BlobAccess = BlobAccess(),
azureEventService: AzureEventService = AzureEventServiceImpl(),
reportService: ReportService = ReportService(),
-) : FHIREngine(metadata, settings, db, blob, azureEventService, reportService) {
+ reportStreamEventService: IReportStreamEventService,
+) : FHIREngine(metadata, settings, db, blob, azureEventService, reportService, reportStreamEventService) {
override val finishedField: Field = Tables.TASK.PROCESSED_AT
@@ -83,6 +88,112 @@ class FHIRConverter(
override val taskAction: TaskAction = TaskAction.convert
+ /**
+ * This object serves the purpose of consolidating the information needed to process a report
+ * through the convert step regardless of whether it comes from a [FhirConvertQueueMessage]
+ * or [FhirConvertSubmissionQueueMessage]
+ *
+ * @param reportId the report ID
+ * @param topic the topic the sender published to
+ * @param schemaName the FHIR transform to apply
+ * @param blobURL the URL for the blob to convert
+ * @param blobDigest the digest of the blob contents
+ */
+ data class FHIRConvertInput(
+ val reportId: UUID,
+ val topic: Topic,
+ val schemaName: String,
+ val blobURL: String,
+ val blobDigest: String,
+ val blobSubFolderName: String,
+ ) {
+
+ companion object {
+
+ private val clientIdHeader = "client_id"
+
+ /**
+ * Converts a [FhirConvertQueueMessage] into the input to the convert processing
+ *
+ * @param message the queue message
+ * @param actionHistory action history for recording details on the input report
+ */
+ fun fromFhirConvertQueueMessage(
+ message: FhirConvertQueueMessage,
+ actionHistory: ActionHistory,
+ ): FHIRConvertInput {
+ val reportId = message.reportId
+ val topic = message.topic
+ val schemaName = message.schemaName
+ val blobUrl = message.blobURL
+ val blobDigest = message.digest
+ val blobSubFolderName = message.blobSubFolderName
+ actionHistory.trackExistingInputReport(reportId)
+ return FHIRConvertInput(
+ reportId,
+ topic,
+ schemaName,
+ blobUrl,
+ blobDigest,
+ blobSubFolderName
+ )
+ }
+
+ /**
+ * Converts a [FhirConvertSubmissionQueueMessage] into the input to the convert processing
+ *
+ * @param message the queue message
+ * @param actionHistory action history for recording details on the input report
+ * @param settings [SettingsProvider] for looking up the sender
+ */
+ fun fromFHIRConvertSubmissionQueueMessage(
+ message: FhirConvertSubmissionQueueMessage,
+ actionHistory: ActionHistory,
+ settings: SettingsProvider,
+ ): FHIRConvertInput {
+ val reportId = message.reportId
+ val blobUrl = message.blobURL
+ val blobDigest = message.digest
+ val blobSubFolderName = message.blobSubFolderName
+
+ val clientId = message.headers[clientIdHeader]
+ val sender = clientId?.takeIf { it.isNotBlank() }?.let { settings.findSender(it) }
+ if (sender == null) {
+ throw SubmissionSenderNotFound(clientId ?: "", reportId, blobUrl)
+ }
+ val topic = sender.topic
+ val schemaName = sender.schemaName
+
+ val format = Report.getFormatFromBlobURL(blobUrl)
+ val report = Report(
+ sender.format,
+ listOf(ClientSource(organization = sender.organizationName, client = sender.name)),
+ 1,
+ nextAction = TaskAction.convert,
+ topic = sender.topic,
+ id = reportId,
+ bodyURL = blobUrl
+ )
+ // This tracking is required so that the external report (coming from the submission service)
+ // is properly recorded in the report file table with the correct sender
+ actionHistory.trackExternalInputReport(
+ report,
+ BlobAccess.BlobInfo(format, blobUrl, blobDigest.toByteArray())
+ )
+ actionHistory.trackActionSenderInfo(sender.fullName)
+
+ return FHIRConvertInput(
+ reportId,
+ topic,
+ schemaName,
+ blobUrl,
+ blobDigest,
+ blobSubFolderName
+ )
+ }
+ }
+ }
+
/**
* Accepts a [message] in either HL7 or FHIR format
* HL7 messages will be converted into FHIR.
@@ -97,7 +208,21 @@ class FHIRConverter(
actionHistory: ActionHistory,
): List = when (message) {
is FhirConvertQueueMessage -> {
- fhirEngineRunResults(message, message.schemaName, actionLogger, actionHistory)
+ val input = FHIRConvertInput.fromFhirConvertQueueMessage(message, actionHistory)
+
+ fhirEngineRunResults(
+ input,
+ actionLogger,
+ actionHistory
+ )
+ }
+ is FhirConvertSubmissionQueueMessage -> {
+ val input = FHIRConvertInput.fromFHIRConvertSubmissionQueueMessage(message, actionHistory, settings)
+ fhirEngineRunResults(
+ input,
+ actionLogger,
+ actionHistory
+ )
}
else -> {
throw RuntimeException(
@@ -107,21 +232,19 @@ class FHIRConverter(
}
private fun fhirEngineRunResults(
- queueMessage: FhirConvertQueueMessage,
- schemaName: String,
+ input: FHIRConvertInput,
actionLogger: ActionLogger,
actionHistory: ActionHistory,
): List {
val contextMap = mapOf(
MDCUtils.MDCProperty.ACTION_NAME to actionHistory.action.actionName.name,
- MDCUtils.MDCProperty.REPORT_ID to queueMessage.reportId,
- MDCUtils.MDCProperty.TOPIC to queueMessage.topic,
- MDCUtils.MDCProperty.BLOB_URL to queueMessage.blobURL
+ MDCUtils.MDCProperty.REPORT_ID to input.reportId,
+ MDCUtils.MDCProperty.TOPIC to input.topic,
+ MDCUtils.MDCProperty.BLOB_URL to input.blobURL
)
withLoggingContext(contextMap) {
- actionLogger.setReportId(queueMessage.reportId)
- actionHistory.trackExistingInputReport(queueMessage.reportId)
- val format = Report.getFormatFromBlobURL(queueMessage.blobURL)
+ actionLogger.setReportId(input.reportId)
+ val format = Report.getFormatFromBlobURL(input.blobURL)
logger.info("Starting FHIR Convert step")
// This line is a workaround for a defect in the hapi-fhir library
@@ -135,7 +258,7 @@ class FHIRConverter(
// TODO: https://github.com/CDCgov/prime-reportstream/issues/14287
FhirPathUtils
- val processedItems = process(format, queueMessage, actionLogger)
+ val processedItems = process(format, input.blobURL, input.blobDigest, input.topic, actionLogger)
// processedItems can be empty in three scenarios:
// - the blob had no contents, i.e. an empty file was submitted
@@ -146,7 +269,7 @@ class FHIRConverter(
"Applied sender transform and routed"
) {
val transformer = getTransformerFromSchema(
- schemaName
+ input.schemaName
)
maybeParallelize(
@@ -162,10 +285,10 @@ class FHIRConverter(
MimeFormat.FHIR,
emptyList(),
parentItemLineageData = listOf(
- Report.ParentItemLineageData(queueMessage.reportId, itemIndex.toInt() + 1)
+ Report.ParentItemLineageData(input.reportId, itemIndex.toInt() + 1)
),
metadata = this.metadata,
- topic = queueMessage.topic,
+ topic = input.topic,
nextAction = TaskAction.none
)
val noneEvent = ProcessEvent(
@@ -182,14 +305,15 @@ class FHIRConverter(
report,
TaskAction.convert,
processedItem.validationError!!.message,
+ shouldQueue = true
) {
- parentReportId(queueMessage.reportId)
+ parentReportId(input.reportId)
parentItemIndex(itemIndex.toInt() + 1)
params(
mapOf(
ReportStreamEventProperties.ITEM_FORMAT to format,
ReportStreamEventProperties.VALIDATION_PROFILE
- to queueMessage.topic.validator.validatorProfileName
+ to input.topic.validator.validatorProfileName
)
)
}
@@ -205,10 +329,10 @@ class FHIRConverter(
MimeFormat.FHIR,
emptyList(),
parentItemLineageData = listOf(
- Report.ParentItemLineageData(queueMessage.reportId, itemIndex.toInt() + 1)
+ Report.ParentItemLineageData(input.reportId, itemIndex.toInt() + 1)
),
metadata = this.metadata,
- topic = queueMessage.topic,
+ topic = input.topic,
nextAction = TaskAction.destination_filter
)
@@ -227,7 +351,7 @@ class FHIRConverter(
MimeFormat.FHIR,
bodyBytes,
report.id.toString(),
- queueMessage.blobSubFolderName,
+ input.blobSubFolderName,
routeEvent.eventAction
)
report.bodyURL = blobInfo.blobUrl
@@ -248,9 +372,10 @@ class FHIRConverter(
reportEventService.sendItemEvent(
ReportStreamEventName.ITEM_ACCEPTED,
report,
- TaskAction.convert
+ TaskAction.convert,
+ shouldQueue = true
) {
- parentReportId(queueMessage.reportId)
+ parentReportId(input.reportId)
parentItemIndex(itemIndex.toInt() + 1)
trackingId(bundle)
params(
@@ -270,8 +395,8 @@ class FHIRConverter(
report.id,
blobInfo.blobUrl,
BlobUtils.digestToString(blobInfo.digest),
- queueMessage.blobSubFolderName,
- queueMessage.topic
+ input.blobSubFolderName,
+ input.topic
)
)
}
@@ -283,7 +408,7 @@ class FHIRConverter(
emptyList(),
0,
metadata = this.metadata,
- topic = queueMessage.topic,
+ topic = input.topic,
nextAction = TaskAction.none
)
actionHistory.trackEmptyReport(report)
@@ -293,7 +418,7 @@ class FHIRConverter(
TaskAction.convert,
"Submitted report was either empty or could not be parsed into HL7"
) {
- parentReportId(queueMessage.reportId)
+ parentReportId(input.reportId)
params(
mapOf(
ReportStreamEventProperties.ITEM_FORMAT to format
@@ -325,12 +450,14 @@ class FHIRConverter(
*/
internal fun process(
format: MimeFormat,
- queueMessage: FhirConvertQueueMessage,
+ blobURL: String,
+ blobDigest: String,
+ topic: Topic,
actionLogger: ActionLogger,
routeReportWithInvalidItems: Boolean = true,
): List> {
- val validator = queueMessage.topic.validator
- val rawReport = BlobAccess.downloadBlob(queueMessage.blobURL, queueMessage.digest)
+ val validator = topic.validator
+ val rawReport = BlobAccess.downloadBlob(blobURL, blobDigest)
return if (rawReport.isBlank()) {
actionLogger.error(InvalidReportMessage("Provided raw data is empty."))
emptyList()
@@ -344,7 +471,7 @@ class FHIRConverter(
"format" to format.name
)
) {
- getBundlesFromRawHL7(rawReport, validator, queueMessage.topic.hl7ParseConfiguration)
+ getBundlesFromRawHL7(rawReport, validator, topic.hl7ParseConfiguration)
}
} catch (ex: ParseFailureError) {
actionLogger.error(
@@ -628,4 +755,15 @@ class FHIRConverter(
} else {
null
}
+}
+
+/**
+ * Exception generated if the sender ID from a message generated by Submissions service cannot be found
+ *
+ * @param senderId the full name of the missing sender, will be empty string if no sender was on the message
+ * @param reportId the unique identifier for the report which can be located in the azure table
+ * @param blobURL the blob URL for the report
+ */
+class SubmissionSenderNotFound(senderId: String, val reportId: UUID, val blobURL: String) : RuntimeException() {
+ override val message = "No sender was found for: $senderId"
}
\ No newline at end of file
diff --git a/prime-router/src/main/kotlin/fhirengine/engine/FHIRDestinationFilter.kt b/prime-router/src/main/kotlin/fhirengine/engine/FHIRDestinationFilter.kt
index 9f92a2b85b4..5be29b4626e 100644
--- a/prime-router/src/main/kotlin/fhirengine/engine/FHIRDestinationFilter.kt
+++ b/prime-router/src/main/kotlin/fhirengine/engine/FHIRDestinationFilter.kt
@@ -26,6 +26,7 @@ import gov.cdc.prime.router.azure.observability.context.MDCUtils
import gov.cdc.prime.router.azure.observability.context.withLoggingContext
import gov.cdc.prime.router.azure.observability.event.AzureEventService
import gov.cdc.prime.router.azure.observability.event.AzureEventServiceImpl
+import gov.cdc.prime.router.azure.observability.event.IReportStreamEventService
import gov.cdc.prime.router.azure.observability.event.ReportStreamEventName
import gov.cdc.prime.router.azure.observability.event.ReportStreamEventProperties
import gov.cdc.prime.router.fhirengine.translation.hl7.utils.CustomContext
@@ -50,7 +51,8 @@ class FHIRDestinationFilter(
blob: BlobAccess = BlobAccess(),
azureEventService: AzureEventService = AzureEventServiceImpl(),
reportService: ReportService = ReportService(),
-) : FHIREngine(metadata, settings, db, blob, azureEventService, reportService) {
+ reportStreamEventService: IReportStreamEventService,
+) : FHIREngine(metadata, settings, db, blob, azureEventService, reportService, reportStreamEventService) {
override val finishedField: Field = Tables.TASK.DESTINATION_FILTERED_AT
override val engineType: String = "DestinationFilter"
diff --git a/prime-router/src/main/kotlin/fhirengine/engine/FHIREngine.kt b/prime-router/src/main/kotlin/fhirengine/engine/FHIREngine.kt
index dd0d051c889..d32ad4269c7 100644
--- a/prime-router/src/main/kotlin/fhirengine/engine/FHIREngine.kt
+++ b/prime-router/src/main/kotlin/fhirengine/engine/FHIREngine.kt
@@ -11,6 +11,7 @@ import gov.cdc.prime.router.azure.BlobAccess
import gov.cdc.prime.router.azure.DataAccessTransaction
import gov.cdc.prime.router.azure.DatabaseAccess
import gov.cdc.prime.router.azure.Event
+import gov.cdc.prime.router.azure.SubmissionTableService
import gov.cdc.prime.router.azure.db.enums.TaskAction
import gov.cdc.prime.router.azure.observability.event.AzureEventService
import gov.cdc.prime.router.azure.observability.event.AzureEventServiceImpl
@@ -39,11 +40,7 @@ abstract class FHIREngine(
val blob: BlobAccess = BlobAccess(),
val azureEventService: AzureEventService = AzureEventServiceImpl(),
val reportService: ReportService = ReportService(ReportGraph(db), db),
- val reportEventService: IReportStreamEventService = ReportStreamEventService(
- db,
- azureEventService,
- reportService
- ),
+ val reportEventService: IReportStreamEventService,
) : BaseEngine() {
/**
@@ -65,6 +62,7 @@ abstract class FHIREngine(
var azureEventService: AzureEventService? = null,
var reportService: ReportService? = null,
var reportEventService: IReportStreamEventService? = null,
+ var submissionTableService: SubmissionTableService? = null,
) {
/**
* Set the metadata instance.
@@ -110,6 +108,10 @@ abstract class FHIREngine(
this.reportEventService = reportEventService
}
+ fun submissionTableService(submissionTableService: SubmissionTableService) = apply {
+ this.submissionTableService = submissionTableService
+ }
+
/**
* Build the fhir engine instance.
* @return the fhir engine instance
@@ -123,21 +125,18 @@ abstract class FHIREngine(
// create the correct FHIREngine type for the action being taken
return when (taskAction) {
- TaskAction.receive -> FHIRReceiver(
- metadata ?: Metadata.getInstance(),
- settingsProvider!!,
- databaseAccess ?: databaseAccessSingleton,
- blobAccess ?: BlobAccess(),
- azureEventService ?: AzureEventServiceImpl(),
- reportService ?: ReportService(),
- )
TaskAction.process -> FHIRConverter(
metadata ?: Metadata.getInstance(),
settingsProvider!!,
databaseAccess ?: databaseAccessSingleton,
blobAccess ?: BlobAccess(),
azureEventService ?: AzureEventServiceImpl(),
- reportService ?: ReportService()
+ reportService ?: ReportService(),
+ ReportStreamEventService(
+ databaseAccess ?: databaseAccessSingleton,
+ azureEventService ?: AzureEventServiceImpl(),
+ reportService ?: ReportService()
+ )
)
TaskAction.destination_filter -> FHIRDestinationFilter(
metadata ?: Metadata.getInstance(),
@@ -145,7 +144,12 @@ abstract class FHIREngine(
databaseAccess ?: databaseAccessSingleton,
blobAccess ?: BlobAccess(),
azureEventService ?: AzureEventServiceImpl(),
- reportService ?: ReportService()
+ reportService ?: ReportService(),
+ ReportStreamEventService(
+ databaseAccess ?: databaseAccessSingleton,
+ azureEventService ?: AzureEventServiceImpl(),
+ reportService ?: ReportService()
+ )
)
TaskAction.receiver_filter -> FHIRReceiverFilter(
metadata ?: Metadata.getInstance(),
@@ -154,13 +158,24 @@ abstract class FHIREngine(
blobAccess ?: BlobAccess(),
azureEventService ?: AzureEventServiceImpl(),
reportService ?: ReportService(),
+ ReportStreamEventService(
+ databaseAccess ?: databaseAccessSingleton,
+ azureEventService ?: AzureEventServiceImpl(),
+ reportService ?: ReportService()
+ )
)
TaskAction.translate -> FHIRTranslator(
metadata ?: Metadata.getInstance(),
settingsProvider!!,
databaseAccess ?: databaseAccessSingleton,
blobAccess ?: BlobAccess(),
- azureEventService ?: AzureEventServiceImpl()
+ azureEventService ?: AzureEventServiceImpl(),
+ reportService ?: ReportService(),
+ ReportStreamEventService(
+ databaseAccess ?: databaseAccessSingleton,
+ azureEventService ?: AzureEventServiceImpl(),
+ reportService ?: ReportService()
+ )
)
else -> throw NotImplementedError("Invalid action type for FHIR engine")
}
diff --git a/prime-router/src/main/kotlin/fhirengine/engine/FHIRReceiver.kt b/prime-router/src/main/kotlin/fhirengine/engine/FHIRReceiver.kt
deleted file mode 100644
index 9bea5e891ae..00000000000
--- a/prime-router/src/main/kotlin/fhirengine/engine/FHIRReceiver.kt
+++ /dev/null
@@ -1,379 +0,0 @@
-package gov.cdc.prime.router.fhirengine.engine
-
-import ca.uhn.hl7v2.model.Message
-import com.microsoft.azure.functions.HttpStatus
-import gov.cdc.prime.reportstream.shared.QueueMessage
-import gov.cdc.prime.reportstream.shared.Submission
-import gov.cdc.prime.router.ActionLogger
-import gov.cdc.prime.router.ClientSource
-import gov.cdc.prime.router.CustomerStatus
-import gov.cdc.prime.router.InvalidParamMessage
-import gov.cdc.prime.router.InvalidReportMessage
-import gov.cdc.prime.router.Metadata
-import gov.cdc.prime.router.MimeFormat
-import gov.cdc.prime.router.Options
-import gov.cdc.prime.router.Report
-import gov.cdc.prime.router.Sender
-import gov.cdc.prime.router.SettingsProvider
-import gov.cdc.prime.router.azure.ActionHistory
-import gov.cdc.prime.router.azure.BlobAccess
-import gov.cdc.prime.router.azure.DatabaseAccess
-import gov.cdc.prime.router.azure.Event
-import gov.cdc.prime.router.azure.ProcessEvent
-import gov.cdc.prime.router.azure.SubmissionTableService
-import gov.cdc.prime.router.azure.db.Tables
-import gov.cdc.prime.router.azure.db.enums.TaskAction
-import gov.cdc.prime.router.azure.observability.context.MDCUtils
-import gov.cdc.prime.router.azure.observability.context.withLoggingContext
-import gov.cdc.prime.router.azure.observability.event.AzureEventService
-import gov.cdc.prime.router.azure.observability.event.AzureEventServiceImpl
-import gov.cdc.prime.router.azure.observability.event.ReportStreamEventName
-import gov.cdc.prime.router.azure.observability.event.ReportStreamEventProperties
-import gov.cdc.prime.router.common.AzureHttpUtils.getSenderIP
-import gov.cdc.prime.router.fhirengine.utils.FhirTranscoder
-import gov.cdc.prime.router.fhirengine.utils.HL7Reader
-import gov.cdc.prime.router.report.ReportService
-import org.jooq.Field
-import java.time.OffsetDateTime
-
-/**
- * FHIRReceiver is responsible for processing messages from the elr-fhir-receive azure queue
- * and storing them for the next step in the pipeline.
- *
- * @param metadata Mockable metadata instance.
- * @param settings Mockable settings provider.
- * @param db Mockable database access.
- * @param blob Mockable blob storage access.
- * @param azureEventService Service for handling Azure events.
- * @param reportService Service for handling report-related operations.
- * @param submissionTableService Service for inserting to the submission azure storage table.
- */
-class FHIRReceiver(
- metadata: Metadata = Metadata.getInstance(),
- settings: SettingsProvider = this.settingsProviderSingleton,
- db: DatabaseAccess = this.databaseAccessSingleton,
- blob: BlobAccess = BlobAccess(),
- azureEventService: AzureEventService = AzureEventServiceImpl(),
- reportService: ReportService = ReportService(),
- val submissionTableService: SubmissionTableService = SubmissionTableService.getInstance(),
-) : FHIREngine(metadata, settings, db, blob, azureEventService, reportService) {
-
- override val finishedField: Field = Tables.TASK.PROCESSED_AT
-
- override val engineType: String = "Receive"
- override val taskAction: TaskAction = TaskAction.receive
-
- private val clientIdHeader = "client_id"
- private val contentTypeHeader = "content-type"
-
- /**
- * Processes a message of type [QueueMessage]. This message can be in either HL7 or FHIR format and will be placed
- * on a queue for further processing.
- *
- * @param message The incoming message to be logged and processed.
- * @param actionLogger Logger to track actions and errors.
- * @param actionHistory Tracks the history of actions performed.
- * @return A list of results from the FHIR engine run.
- */
- override fun doWork(
- message: T,
- actionLogger: ActionLogger,
- actionHistory: ActionHistory,
- ): List = when (message) {
- is FhirReceiveQueueMessage -> processFhirReceiveQueueMessage(message, actionLogger, actionHistory)
- else -> throw RuntimeException("Message was not a FhirReceive and cannot be processed: $message")
- }
-
- /**
- * Processes the FHIR receive queue message.
- *
- * @param queueMessage The queue message containing details about the report.
- * @param actionLogger The logger used to track actions and errors.
- * @param actionHistory The action history related to receiving the report.
- * @return A list of FHIR engine run results.
- */
- private fun processFhirReceiveQueueMessage(
- queueMessage: FhirReceiveQueueMessage,
- actionLogger: ActionLogger,
- actionHistory: ActionHistory,
- ): List {
- val contextMap = createLoggingContextMap(queueMessage, actionHistory)
- // Use the logging context for tracing
- withLoggingContext(contextMap) {
- actionLogger.setReportId(queueMessage.reportId)
- val sender = getSender(queueMessage, actionLogger, actionHistory) ?: return emptyList()
-
- // Process the message if no errors occurred
- return handleSuccessfulProcessing(queueMessage, sender, actionLogger, actionHistory)
- }
- }
-
- /**
- * Creates the logging context map.
- *
- * @param queueMessage The queue message containing details about the report.
- * @param actionHistory The action history related to receiving the report.
- * @return The logging context map.
- */
- private fun createLoggingContextMap(
- queueMessage: FhirReceiveQueueMessage,
- actionHistory: ActionHistory,
- ): Map = mapOf(
- MDCUtils.MDCProperty.ACTION_NAME to actionHistory.action.actionName.name,
- MDCUtils.MDCProperty.REPORT_ID to queueMessage.reportId,
- MDCUtils.MDCProperty.BLOB_URL to queueMessage.blobURL,
- )
-
- /**
- * Retrieves the sender based on the queue message and logs any relevant errors.
- *
- * @param queueMessage The queue message containing details about the report.
- * @param actionLogger The logger used to track actions and errors.
- * @param actionHistory The action history related to receiving the report.
- * @return The sender, or null if the sender was not found or is inactive.
- */
- private fun getSender(
- queueMessage: FhirReceiveQueueMessage,
- actionLogger: ActionLogger,
- actionHistory: ActionHistory,
- ): Sender? {
- val clientId = queueMessage.headers[clientIdHeader]
- val sender = clientId?.takeIf { it.isNotBlank() }?.let { settings.findSender(it) }
-
- actionHistory.trackActionParams(queueMessage.headers.toString())
-
- // Handle case where sender is not found
- return if (sender == null) {
- // Send an error event
- reportEventService.sendSubmissionProcessingError(
- ReportStreamEventName.REPORT_NOT_RECEIVABLE,
- TaskAction.receive,
- "Sender is not found in matching client id: ${queueMessage.headers[clientIdHeader]}.",
- queueMessage.reportId,
- queueMessage.blobURL
- ) {
- params(
- actionLogger.errors.associateBy { ReportStreamEventProperties.PROCESSING_ERROR }
- .plus(
- mapOf(
- ReportStreamEventProperties.REQUEST_PARAMETERS to queueMessage.headers.toString(),
- )
- )
- )
- }
-
- // Insert the rejection into the submission table
- val submission =
- Submission(
- queueMessage.reportId.toString(), "Rejected",
- queueMessage.blobURL,
- "Sender not found matching client_id: ${queueMessage.headers[clientIdHeader]}"
- )
- submissionTableService.insertSubmission(submission)
- null
- } else {
- // Handle case where sender is inactive
- if (sender.customerStatus == CustomerStatus.INACTIVE) {
- // Track the action result and log the error
- actionHistory.trackActionResult(HttpStatus.NOT_ACCEPTABLE)
- actionLogger.error(
- InvalidParamMessage("Sender has customer status INACTIVE: " + queueMessage.headers[clientIdHeader])
- )
- }
-
- // Track sender information
- actionHistory.trackActionSenderInfo(sender.fullName, queueMessage.headers["payloadname"])
- actionHistory.trackActionResult(HttpStatus.CREATED)
- sender
- }
- }
-
- /**
- * Handles successful processing of the queue message.
- *
- * @param queueMessage The queue message containing details about the report.
- * @param sender The sender information.
- * @param actionHistory The action history related to receiving the report.
- * @return A list of FHIR engine run results.
- */
- private fun handleSuccessfulProcessing(
- queueMessage: FhirReceiveQueueMessage,
- sender: Sender,
- actionLogger: ActionLogger,
- actionHistory: ActionHistory,
- ): List {
- // Get content from blob storage and create report
- val report = validateSubmissionMessage(sender, actionLogger, queueMessage) ?: return emptyList()
-
- // Determine the mime format of the message
- val mimeFormat =
- MimeFormat.valueOfFromMimeType(
- queueMessage.headers[contentTypeHeader]?.substringBefore(';') ?: ""
- )
-
- val blobInfo = BlobAccess.BlobInfo(
- mimeFormat,
- queueMessage.blobURL,
- queueMessage.digest.toByteArray()
- )
-
- actionHistory.trackExternalInputReport(
- report,
- blobInfo
- )
-
- // Send an event indicating the report was received
- reportEventService.sendReportEvent(
- eventName = ReportStreamEventName.REPORT_RECEIVED,
- childReport = report,
- pipelineStepName = TaskAction.receive
- ) {
- params(
- listOfNotNull(
- ReportStreamEventProperties.REQUEST_PARAMETERS to queueMessage.headers.toString(),
- ReportStreamEventProperties.SENDER_NAME to sender.fullName,
- ReportStreamEventProperties.FILE_LENGTH to queueMessage.headers["content-length"].toString(),
- getSenderIP(queueMessage.headers)?.let { ReportStreamEventProperties.SENDER_IP to it },
- ReportStreamEventProperties.ITEM_FORMAT to mimeFormat
- ).toMap()
- )
- }
-
- // Insert the acceptance into the submissions table
- val tableEntity = Submission(
- queueMessage.reportId.toString(),
- "Accepted",
- queueMessage.blobURL,
- actionLogger.errors.takeIf { it.isNotEmpty() }?.map { it.detail.message }?.toString()
- )
- submissionTableService.insertSubmission(tableEntity)
-
- return if (actionLogger.errors.isNotEmpty()) {
- // Send an event indicating the report was received
- reportEventService.sendReportProcessingError(
- ReportStreamEventName.REPORT_NOT_PROCESSABLE,
- report,
- TaskAction.receive,
- "Submitted report was either empty or could not be parsed."
- ) {
- params(
- actionLogger.errors.associateBy { ReportStreamEventProperties.PROCESSING_ERROR }
- .plus(
- mapOf(
- ReportStreamEventProperties.REQUEST_PARAMETERS to queueMessage.headers.toString(),
- )
- )
- )
- }
- emptyList()
- } else {
- // Create a route event
- val routeEvent = ProcessEvent(Event.EventAction.CONVERT, report.id, Options.None, emptyMap(), emptyList())
-
- // Return the result of the FHIR engine run
- listOf(
- FHIREngineRunResult(
- routeEvent,
- report,
- queueMessage.blobURL,
- FhirConvertQueueMessage(
- report.id,
- queueMessage.blobURL,
- queueMessage.digest,
- queueMessage.blobSubFolderName,
- sender.topic,
- sender.schemaName
- )
- )
- )
- }
- }
-
- private fun validateSubmissionMessage(
- sender: Sender,
- actionLogger: ActionLogger,
- queueMessage: FhirReceiveQueueMessage,
- ): Report? {
- val rawReport = BlobAccess.downloadBlob(queueMessage.blobURL, queueMessage.digest)
- return if (rawReport.isBlank()) {
- actionLogger.error(InvalidReportMessage("Provided raw data is empty."))
- null
- } else {
- val report: Report
- val sources = listOf(ClientSource(organization = sender.organizationName, client = sender.name))
-
- when (sender.format) {
- MimeFormat.HL7 -> {
- val messages: List = HL7Reader(actionLogger).getMessages(rawReport)
- val isBatch: Boolean = HL7Reader(actionLogger).isBatch(rawReport, messages.size)
- // 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,
- metadata = metadata,
- nextAction = TaskAction.convert,
- topic = sender.topic,
- id = queueMessage.reportId,
- bodyURL = queueMessage.blobURL
- )
-
- // check for valid message type
- messages.forEachIndexed { idx, element ->
- MessageType.validateMessageType(element, actionLogger, idx + 1)
- }
- }
-
- MimeFormat.FHIR -> {
- val bundles = FhirTranscoder.getBundles(rawReport, actionLogger)
- report = Report(
- MimeFormat.FHIR,
- sources,
- bundles.size,
- metadata = metadata,
- nextAction = TaskAction.convert,
- topic = sender.topic,
- id = queueMessage.reportId,
- bodyURL = queueMessage.blobURL
- )
- }
-
- else -> {
- actionLogger.error(InvalidReportMessage("Unsupported sender format: ${sender.format}"))
- reportEventService.sendSubmissionProcessingError(
- ReportStreamEventName.REPORT_NOT_PROCESSABLE,
- TaskAction.receive,
- "Unsupported sender format ${sender.format}.",
- queueMessage.reportId,
- queueMessage.blobURL
- ) {
- params(
- actionLogger.errors.associateBy { ReportStreamEventProperties.PROCESSING_ERROR }
- .plus(
- mapOf(
- ReportStreamEventProperties.REQUEST_PARAMETERS to queueMessage.headers.toString(),
- ReportStreamEventProperties.SENDER_NAME to sender.fullName,
- ReportStreamEventProperties.FILE_LENGTH to queueMessage.headers["content-length"]
- .toString(),
- ReportStreamEventProperties.SENDER_IP to (getSenderIP(queueMessage.headers) ?: ""),
- ReportStreamEventProperties.ITEM_FORMAT to sender.format
- )
- )
- )
- }
- // Insert the acceptance into the submissions table
- val tableEntity = Submission(
- queueMessage.reportId.toString(),
- "Rejected",
- queueMessage.blobURL,
- actionLogger.errors.takeIf { it.isNotEmpty() }?.map { it.detail.message }?.toString()
- )
- submissionTableService.insertSubmission(tableEntity)
- throw IllegalStateException("Unsupported sender format: ${sender.format}")
- }
- }
- report
- }
- }
-}
\ No newline at end of file
diff --git a/prime-router/src/main/kotlin/fhirengine/engine/FHIRReceiverFilter.kt b/prime-router/src/main/kotlin/fhirengine/engine/FHIRReceiverFilter.kt
index aa11ba34f13..4f9a0998923 100644
--- a/prime-router/src/main/kotlin/fhirengine/engine/FHIRReceiverFilter.kt
+++ b/prime-router/src/main/kotlin/fhirengine/engine/FHIRReceiverFilter.kt
@@ -31,6 +31,7 @@ import gov.cdc.prime.router.azure.observability.context.withLoggingContext
import gov.cdc.prime.router.azure.observability.event.AzureEventService
import gov.cdc.prime.router.azure.observability.event.AzureEventServiceImpl
import gov.cdc.prime.router.azure.observability.event.AzureEventUtils
+import gov.cdc.prime.router.azure.observability.event.IReportStreamEventService
import gov.cdc.prime.router.azure.observability.event.ReportStreamEventName
import gov.cdc.prime.router.azure.observability.event.ReportStreamEventProperties
import gov.cdc.prime.router.codes
@@ -64,7 +65,9 @@ class FHIRReceiverFilter(
blob: BlobAccess = BlobAccess(),
azureEventService: AzureEventService = AzureEventServiceImpl(),
reportService: ReportService = ReportService(ReportGraph(db), db),
-) : FHIREngine(metadata, settings, db, blob, azureEventService, reportService) {
+ reportStreamEventService: IReportStreamEventService,
+) : FHIREngine(metadata, settings, db, blob, azureEventService, reportService, reportStreamEventService) {
+
override val finishedField: Field = Tables.TASK.RECEIVER_FILTERED_AT
override val engineType: String = "ReceiverFilter"
diff --git a/prime-router/src/main/kotlin/fhirengine/engine/FHIRTranslator.kt b/prime-router/src/main/kotlin/fhirengine/engine/FHIRTranslator.kt
index 5d319720ddd..674ea533330 100644
--- a/prime-router/src/main/kotlin/fhirengine/engine/FHIRTranslator.kt
+++ b/prime-router/src/main/kotlin/fhirengine/engine/FHIRTranslator.kt
@@ -25,6 +25,7 @@ import gov.cdc.prime.router.azure.observability.context.MDCUtils
import gov.cdc.prime.router.azure.observability.context.withLoggingContext
import gov.cdc.prime.router.azure.observability.event.AzureEventService
import gov.cdc.prime.router.azure.observability.event.AzureEventServiceImpl
+import gov.cdc.prime.router.azure.observability.event.IReportStreamEventService
import gov.cdc.prime.router.common.Environment
import gov.cdc.prime.router.fhirengine.config.HL7TranslationConfig
import gov.cdc.prime.router.fhirengine.translation.hl7.FhirToHl7Context
@@ -53,7 +54,8 @@ class FHIRTranslator(
blob: BlobAccess = BlobAccess(),
azureEventService: AzureEventService = AzureEventServiceImpl(),
reportService: ReportService = ReportService(),
-) : FHIREngine(metadata, settings, db, blob, azureEventService, reportService) {
+ reportStreamEventService: IReportStreamEventService,
+) : FHIREngine(metadata, settings, db, blob, azureEventService, reportService, reportStreamEventService) {
/**
* Accepts a [FhirTranslateQueueMessage] [message] and, based on its parameters, sends a report to the next pipeline
* step containing either the first ancestor's blob or a new blob that has been translated per
diff --git a/prime-router/src/main/kotlin/fhirengine/engine/PrimeRouterQueueMessage.kt b/prime-router/src/main/kotlin/fhirengine/engine/PrimeRouterQueueMessage.kt
index 6350a676a33..f547b24b975 100644
--- a/prime-router/src/main/kotlin/fhirengine/engine/PrimeRouterQueueMessage.kt
+++ b/prime-router/src/main/kotlin/fhirengine/engine/PrimeRouterQueueMessage.kt
@@ -37,14 +37,14 @@ abstract class ReportPipelineMessage :
PrimeRouterQueueMessage()
@JsonTypeName("receive")
-data class FhirReceiveQueueMessage(
+data class FhirConvertSubmissionQueueMessage(
override val reportId: ReportId,
override val blobURL: String,
override val digest: String,
override val blobSubFolderName: String,
override val headers: Map = emptyMap(),
) : ReportPipelineMessage(), QueueMessage.ReceiveInformation {
- override val messageQueueName = QueueMessage.Companion.elrReceiveQueueName
+ override val messageQueueName = QueueMessage.Companion.elrSubmissionConvertQueueName
}
@JsonTypeName("convert")
diff --git a/prime-router/src/test/kotlin/azure/ActionHistoryTests.kt b/prime-router/src/test/kotlin/azure/ActionHistoryTests.kt
index c6b6c5389a6..b6f26ae29b0 100644
--- a/prime-router/src/test/kotlin/azure/ActionHistoryTests.kt
+++ b/prime-router/src/test/kotlin/azure/ActionHistoryTests.kt
@@ -376,9 +376,9 @@ class ActionHistoryTests {
""
)
every {
- mockReportEventService.sendReportEvent(any(), any(), any(), any())
+ mockReportEventService.sendReportEvent(any(), any(), any(), any(), any())
} returns Unit
- every { mockReportEventService.sendItemEvent(any(), any(), any(), any()) } returns Unit
+ every { mockReportEventService.sendItemEvent(any(), any(), any(), any(), any()) } returns Unit
mockkObject(Report)
mockkObject(FhirTranscoder)
every { FhirTranscoder.decode(any(), any()) } returns mockk()
@@ -433,8 +433,8 @@ class ActionHistoryTests {
assertThat(reportFile.itemCount).isEqualTo(15)
assertThat(actionHistory1.action.externalName).isEqualTo("filename1")
verify(exactly = 1) {
- mockReportEventService.sendReportEvent(any(), any(), any(), any())
- mockReportEventService.sendItemEvent(any(), any(), any(), any())
+ mockReportEventService.sendReportEvent(any(), any(), any(), any(), any())
+ mockReportEventService.sendItemEvent(any(), any(), any(), any(), any())
}
// not allowed to track the same report twice.
assertFailure {
@@ -516,9 +516,9 @@ class ActionHistoryTests {
every { anyConstructed().generateDigest(any()) } returns mockk()
val header = mockk()
every {
- mockReportEventService.sendReportEvent(any(), any(), any(), any())
+ mockReportEventService.sendReportEvent(any(), any(), any(), any(), any())
} returns Unit
- every { mockReportEventService.sendItemEvent(any(), any(), any(), any()) } returns Unit
+ every { mockReportEventService.sendItemEvent(any(), any(), any(), any(), any()) } returns Unit
val inReportFile = mockk()
every { header.reportFile } returns inReportFile
every { header.content } returns "".toByteArray()
@@ -571,8 +571,8 @@ class ActionHistoryTests {
assertThat(actionHistory2.reportsOut[uuid]?.schemaName)
.isEqualTo("STED/NESTED/STLTs/REALLY_LONG_STATE_NAME/REALLY_LONG_STATE_NAME")
verify(exactly = 2) {
- mockReportEventService.sendReportEvent(any(), any(), any(), any())
- mockReportEventService.sendItemEvent(any(), any(), any(), any())
+ mockReportEventService.sendReportEvent(any(), any(), any(), any(), any())
+ mockReportEventService.sendItemEvent(any(), any(), any(), any(), any())
}
}
@@ -784,9 +784,9 @@ class ActionHistoryTests {
every { anyConstructed().generateDigest(any()) } returns mockk()
val header = mockk()
every {
- mockReportEventService.sendReportEvent(any(), any(), any(), any())
+ mockReportEventService.sendReportEvent(any(), any(), any(), any(), any())
} returns Unit
- every { mockReportEventService.sendItemEvent(any(), any(), any(), any()) } returns Unit
+ every { mockReportEventService.sendItemEvent(any(), any(), any(), any(), any()) } returns Unit
val inReportFile = mockk()
every { header.reportFile } returns inReportFile
every { header.content } returns "".toByteArray()
@@ -837,8 +837,8 @@ class ActionHistoryTests {
assertContains(blobUrls[0], org.receivers[0].fullName)
assertContains(blobUrls[1], org.receivers[1].fullName)
verify(exactly = 2) {
- mockReportEventService.sendReportEvent(any(), any(), any(), any())
- mockReportEventService.sendItemEvent(any(), any(), any(), any())
+ mockReportEventService.sendReportEvent(any(), any(), any(), any(), any())
+ mockReportEventService.sendItemEvent(any(), any(), any(), any(), any())
}
}
diff --git a/prime-router/src/test/kotlin/azure/FHIRFunctionsTests.kt b/prime-router/src/test/kotlin/azure/FHIRFunctionsTests.kt
index 1d3454c1824..6ccd26f0852 100644
--- a/prime-router/src/test/kotlin/azure/FHIRFunctionsTests.kt
+++ b/prime-router/src/test/kotlin/azure/FHIRFunctionsTests.kt
@@ -66,7 +66,11 @@ class FHIRFunctionsTests {
.databaseAccess(accessSpy)
.build()
every { accessSpy.fetchReportFile(any()) } returns mockk(relaxed = true)
- return FHIRFunctions(workflowEngine, databaseAccess = accessSpy)
+ return FHIRFunctions(
+ workflowEngine,
+ databaseAccess = accessSpy,
+ submissionTableService = mockk()
+ )
}
@Test
@@ -76,7 +80,14 @@ class FHIRFunctionsTests {
val mockReportEventService = mockk(relaxed = true)
val init = slot Unit>()
every {
- mockReportEventService.sendReportProcessingError(any(), any(), any(), any(), capture(init))
+ mockReportEventService.sendReportProcessingError(
+ any(),
+ any(),
+ any(),
+ any(),
+ any(),
+ capture(init)
+ )
} returns Unit
val mockFHIRConverter = mockk(relaxed = true)
every { mockFHIRConverter.run(any(), any(), any(), any()) } throws RuntimeException("Error")
@@ -94,6 +105,7 @@ class FHIRFunctionsTests {
any(),
TaskAction.convert,
"Error",
+ any(),
init.captured
)
}
diff --git a/prime-router/src/test/kotlin/azure/observability/event/ReportEventServiceTest.kt b/prime-router/src/test/kotlin/azure/observability/event/ReportEventServiceTest.kt
index 2604cffdee4..00360b9600b 100644
--- a/prime-router/src/test/kotlin/azure/observability/event/ReportEventServiceTest.kt
+++ b/prime-router/src/test/kotlin/azure/observability/event/ReportEventServiceTest.kt
@@ -202,7 +202,7 @@ class ReportEventServiceTest {
val data = reportEventService.getItemEventData(
1,
- translateNode.node.reportId,
+ translateNode.node.reportId,
1,
""
)
diff --git a/prime-router/src/test/kotlin/common/UniversalPipelineTestUtils.kt b/prime-router/src/test/kotlin/common/UniversalPipelineTestUtils.kt
index f158a08993b..45f03b9514e 100644
--- a/prime-router/src/test/kotlin/common/UniversalPipelineTestUtils.kt
+++ b/prime-router/src/test/kotlin/common/UniversalPipelineTestUtils.kt
@@ -19,6 +19,7 @@ import gov.cdc.prime.router.azure.BlobAccess
import gov.cdc.prime.router.azure.DataAccessTransaction
import gov.cdc.prime.router.azure.Event
import gov.cdc.prime.router.azure.ProcessEvent
+import gov.cdc.prime.router.azure.SubmissionTableService
import gov.cdc.prime.router.azure.WorkflowEngine
import gov.cdc.prime.router.azure.db.Tables
import gov.cdc.prime.router.azure.db.enums.TaskAction
@@ -30,6 +31,7 @@ import gov.cdc.prime.router.db.ReportStreamTestDatabaseContainer
import gov.cdc.prime.router.fhirengine.azure.FHIRFunctions
import gov.cdc.prime.router.metadata.LookupTable
import gov.cdc.prime.router.unittest.UnitTestUtils
+import io.mockk.mockk
import org.jooq.impl.DSL
import org.testcontainers.containers.GenericContainer
import java.io.File
@@ -282,6 +284,7 @@ object UniversalPipelineTestUtils {
txn: DataAccessTransaction,
expectedItems: Int? = null,
expectedReports: Int = 1,
+ parentIsRoot: Boolean = false,
): List {
val itemLineages = DSL
.using(txn)
@@ -297,6 +300,8 @@ object UniversalPipelineTestUtils {
// itemCount is on the report created by the test. It will not be null.
if (parent.itemCount > 1) {
assertThat(itemLineages.map { it.parentIndex }).isEqualTo((1..expectedItems).toList())
+ } else if (parentIsRoot) {
+ assertThat(itemLineages.map { it.parentIndex }).isEqualTo((1..expectedItems).toList())
} else {
assertThat(itemLineages.map { it.parentIndex }).isEqualTo(MutableList(expectedItems) { 1 })
}
@@ -399,7 +404,11 @@ object UniversalPipelineTestUtils {
.settingsProvider(settings)
.databaseAccess(ReportStreamTestDatabaseContainer.testDatabaseAccess)
.build()
- return FHIRFunctions(workflowEngine, databaseAccess = ReportStreamTestDatabaseContainer.testDatabaseAccess)
+ return FHIRFunctions(
+ workflowEngine,
+ databaseAccess = ReportStreamTestDatabaseContainer.testDatabaseAccess,
+ submissionTableService = mockk()
+ )
}
fun getBlobContainerMetadata(azuriteContainer: GenericContainer<*>): BlobAccess.BlobContainerMetadata {
diff --git a/prime-router/src/test/kotlin/fhirengine/azure/FHIRConverterIntegrationTests.kt b/prime-router/src/test/kotlin/fhirengine/azure/FHIRConverterIntegrationTests.kt
index bd483b02079..a5a553442a5 100644
--- a/prime-router/src/test/kotlin/fhirengine/azure/FHIRConverterIntegrationTests.kt
+++ b/prime-router/src/test/kotlin/fhirengine/azure/FHIRConverterIntegrationTests.kt
@@ -9,6 +9,8 @@ import assertk.assertions.isEqualToIgnoringGivenProperties
import assertk.assertions.matchesPredicate
import gov.cdc.prime.reportstream.shared.BlobUtils
import gov.cdc.prime.reportstream.shared.QueueMessage
+import gov.cdc.prime.router.ClientSource
+import gov.cdc.prime.router.CustomerStatus
import gov.cdc.prime.router.FileSettings
import gov.cdc.prime.router.Metadata
import gov.cdc.prime.router.MimeFormat
@@ -16,12 +18,14 @@ import gov.cdc.prime.router.Options
import gov.cdc.prime.router.Report
import gov.cdc.prime.router.Sender
import gov.cdc.prime.router.Topic
+import gov.cdc.prime.router.UniversalPipelineSender
import gov.cdc.prime.router.azure.ActionHistory
import gov.cdc.prime.router.azure.BlobAccess
import gov.cdc.prime.router.azure.DatabaseLookupTableAccess
import gov.cdc.prime.router.azure.Event
import gov.cdc.prime.router.azure.ProcessEvent
import gov.cdc.prime.router.azure.QueueAccess
+import gov.cdc.prime.router.azure.SubmissionTableService
import gov.cdc.prime.router.azure.WorkflowEngine
import gov.cdc.prime.router.azure.db.Tables
import gov.cdc.prime.router.azure.db.enums.ActionLogType
@@ -35,6 +39,7 @@ import gov.cdc.prime.router.azure.observability.event.ItemEventData
import gov.cdc.prime.router.azure.observability.event.ReportEventData
import gov.cdc.prime.router.azure.observability.event.ReportStreamEventName
import gov.cdc.prime.router.azure.observability.event.ReportStreamEventProperties
+import gov.cdc.prime.router.azure.observability.event.ReportStreamEventService
import gov.cdc.prime.router.azure.observability.event.ReportStreamItemEvent
import gov.cdc.prime.router.cli.tests.CompareData
import gov.cdc.prime.router.common.TestcontainersUtils
@@ -67,11 +72,14 @@ import gov.cdc.prime.router.fhirengine.engine.FHIRConverter
import gov.cdc.prime.router.fhirengine.engine.FhirDestinationFilterQueueMessage
import gov.cdc.prime.router.fhirengine.utils.FhirTranscoder
import gov.cdc.prime.router.history.DetailedActionLog
+import gov.cdc.prime.router.history.db.ReportGraph
import gov.cdc.prime.router.metadata.LookupTable
import gov.cdc.prime.router.metadata.ObservationMappingConstants
+import gov.cdc.prime.router.report.ReportService
import gov.cdc.prime.router.unittest.UnitTestUtils
import gov.cdc.prime.router.version.Version
import io.mockk.every
+import io.mockk.mockk
import io.mockk.mockkConstructor
import io.mockk.mockkObject
import io.mockk.unmockkAll
@@ -80,6 +88,7 @@ import org.jooq.impl.DSL
import org.junit.jupiter.api.AfterEach
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test
+import org.junit.jupiter.api.assertThrows
import org.junit.jupiter.api.extension.ExtendWith
import org.testcontainers.junit.jupiter.Container
import org.testcontainers.junit.jupiter.Testcontainers
@@ -87,6 +96,7 @@ import tech.tablesaw.api.StringColumn
import tech.tablesaw.api.Table
import java.nio.charset.Charset
import java.time.OffsetDateTime
+import java.util.UUID
@Testcontainers
@ExtendWith(ReportStreamTestDatabaseSetupExtension::class)
@@ -101,6 +111,14 @@ class FHIRConverterIntegrationTests {
)
val azureEventService = InMemoryAzureEventService()
+ val mockSubmissionTableService = mockk()
+ val reportStreamEventService = ReportStreamEventService(
+ ReportStreamTestDatabaseContainer.testDatabaseAccess, azureEventService,
+ ReportService(
+ ReportGraph(ReportStreamTestDatabaseContainer.testDatabaseAccess),
+ ReportStreamTestDatabaseContainer.testDatabaseAccess
+ )
+ )
private fun createFHIRFunctionsInstance(): FHIRFunctions {
val settings = FileSettings().loadOrganizations(universalPipelineOrganization)
@@ -114,7 +132,14 @@ class FHIRConverterIntegrationTests {
.settingsProvider(settings)
.databaseAccess(ReportStreamTestDatabaseContainer.testDatabaseAccess)
.build()
- return FHIRFunctions(workflowEngine, databaseAccess = ReportStreamTestDatabaseContainer.testDatabaseAccess)
+
+ return FHIRFunctions(
+ workflowEngine,
+ databaseAccess = ReportStreamTestDatabaseContainer.testDatabaseAccess,
+ submissionTableService = mockSubmissionTableService,
+ azureEventService = azureEventService,
+ reportStreamEventService = reportStreamEventService
+ )
}
private fun createFHIRConverter(): FHIRConverter {
@@ -128,19 +153,15 @@ class FHIRConverterIntegrationTests {
settings,
ReportStreamTestDatabaseContainer.testDatabaseAccess,
azureEventService = azureEventService,
+ reportStreamEventService = reportStreamEventService
)
}
- private fun generateQueueMessage(
+ private fun generateFHIRConvertQueueMessage(
report: Report,
blobContents: String,
sender: Sender,
- headers: Map? = null,
): String {
- val headersString = headers?.entries?.joinToString(separator = ",\n") { (key, value) ->
- """"$key": "$value""""
- } ?: ""
-
return """
{
"type": "convert",
@@ -150,7 +171,29 @@ class FHIRConverterIntegrationTests {
"blobSubFolderName": "${sender.fullName}",
"topic": "${sender.topic.jsonVal}",
"schemaName": "${sender.schemaName}"
- ${if (headersString.isNotEmpty()) ",\n$headersString" else ""}
+ }
+ """.trimIndent()
+ }
+
+ private fun generateFHIRConvertSubmissionQueueMessage(
+ report: Report,
+ blobContents: String,
+ sender: Sender,
+ ): String {
+ // TODO: something is wrong with the Jackson configuration as it should not require the type to parse this
+ val headers = mapOf("client_id" to sender.fullName)
+ val headersStringMap = headers.entries.joinToString(separator = ",\n") { (key, value) ->
+ """"$key": "$value""""
+ }
+ val headersString = "[\"java.util.LinkedHashMap\",{$headersStringMap}]"
+ return """
+ {
+ "type": "receive-fhir",
+ "reportId": "${report.id}",
+ "blobURL": "${report.bodyURL}",
+ "digest": "${BlobUtils.digestToString(BlobUtils.sha256Digest(blobContents.toByteArray()))}",
+ "blobSubFolderName": "${sender.fullName}",
+ "headers":$headersString
}
""".trimIndent()
}
@@ -164,6 +207,9 @@ class FHIRConverterIntegrationTests {
mockkObject(BlobAccess.BlobContainerMetadata)
every { BlobAccess.BlobContainerMetadata.build(any(), any()) } returns getBlobContainerMetadata()
mockkConstructor(DatabaseLookupTableAccess::class)
+ every { mockSubmissionTableService.insertSubmission(any()) } returns Unit
+ mockkObject(Metadata)
+ every { Metadata.getInstance() } returns UnitTestUtils.simpleMetadata
}
@AfterEach
@@ -239,6 +285,235 @@ class FHIRConverterIntegrationTests {
}
}
+ @Test
+ fun `should add a message to the poison queue if the sender is not found and not do any work`() {
+ val receivedReportContents =
+ listOf(cleanHL7Record, invalidHL7Record, unparseableHL7Record, badEncodingHL7Record)
+ .joinToString("\n")
+ val receiveBlobUrl = BlobAccess.uploadBlob(
+ "receive/happy-path.hl7",
+ receivedReportContents.toByteArray(),
+ getBlobContainerMetadata()
+ )
+
+ val receiveReport = Report(
+ hl7SenderWithNoTransform.format,
+ listOf(
+ ClientSource(
+ organization = hl7SenderWithNoTransform.organizationName,
+ client = hl7SenderWithNoTransform.name
+ )
+ ),
+ 1,
+ metadata = UnitTestUtils.simpleMetadata,
+ nextAction = TaskAction.convert,
+ topic = hl7SenderWithNoTransform.topic,
+ id = UUID.randomUUID(),
+ bodyURL = receiveBlobUrl
+ )
+ val missingSender = UniversalPipelineSender(
+ "foo",
+ "phd",
+ MimeFormat.HL7,
+ CustomerStatus.ACTIVE,
+ topic = Topic.FULL_ELR,
+ )
+ val queueMessage =
+ generateFHIRConvertSubmissionQueueMessage(receiveReport, receivedReportContents, missingSender)
+ val fhirFunctions = createFHIRFunctionsInstance()
+
+ fhirFunctions.process(queueMessage, 1, createFHIRConverter(), ActionHistory(TaskAction.convert))
+ ReportStreamTestDatabaseContainer.testDatabaseAccess.transact { txn ->
+ assertThrows {
+ ReportStreamTestDatabaseContainer.testDatabaseAccess.fetchReportFile(receiveReport.id, txn = txn)
+ }
+ val processedReports = fetchChildReports(
+ receiveReport, txn, 0, 0, parentIsRoot = true
+ )
+ assertThat(processedReports).hasSize(0)
+ verify(exactly = 1) {
+ QueueAccess.sendMessage(
+ "${QueueMessage.elrSubmissionConvertQueueName}-poison",
+ queueMessage
+
+ )
+ }
+ }
+ }
+
+ @Test
+ fun `should successfully process a FhirConvertSubmissionQueueMessage`() {
+ val receivedReportContents =
+ listOf(cleanHL7Record, invalidHL7Record, unparseableHL7Record, badEncodingHL7Record)
+ .joinToString("\n")
+ val receiveBlobUrl = BlobAccess.uploadBlob(
+ "receive/happy-path.hl7",
+ receivedReportContents.toByteArray(),
+ getBlobContainerMetadata()
+ )
+
+ val receiveReport = Report(
+ hl7SenderWithNoTransform.format,
+ listOf(
+ ClientSource(
+ organization = hl7SenderWithNoTransform.organizationName,
+ client = hl7SenderWithNoTransform.name
+ )
+ ),
+ 1,
+ metadata = UnitTestUtils.simpleMetadata,
+ nextAction = TaskAction.convert,
+ topic = hl7SenderWithNoTransform.topic,
+ id = UUID.randomUUID(),
+ bodyURL = receiveBlobUrl
+ )
+ val queueMessage =
+ generateFHIRConvertSubmissionQueueMessage(receiveReport, receivedReportContents, hl7SenderWithNoTransform)
+ val fhirFunctions = createFHIRFunctionsInstance()
+
+ fhirFunctions.process(queueMessage, 1, createFHIRConverter(), ActionHistory(TaskAction.convert))
+
+ ReportStreamTestDatabaseContainer.testDatabaseAccess.transact { txn ->
+ val externalReportRecord =
+ ReportStreamTestDatabaseContainer.testDatabaseAccess.fetchReportFile(receiveReport.id, txn = txn)
+ assertThat(externalReportRecord.sendingOrg).isEqualTo(hl7SenderWithNoTransform.organizationName)
+ assertThat(externalReportRecord.sendingOrgClient).isEqualTo(hl7SenderWithNoTransform.name)
+ val (routedReports, unroutedReports) = fetchChildReports(
+ receiveReport, txn, 4, 4, parentIsRoot = true
+ ).partition { it.nextAction != TaskAction.none }
+ assertThat(routedReports).hasSize(2)
+ routedReports.forEach {
+ assertThat(it.nextAction).isEqualTo(TaskAction.destination_filter)
+ assertThat(it.receivingOrg).isEqualTo(null)
+ assertThat(it.receivingOrgSvc).isEqualTo(null)
+ assertThat(it.schemaName).isEqualTo("None")
+ assertThat(it.schemaTopic).isEqualTo(Topic.FULL_ELR)
+ assertThat(it.bodyFormat).isEqualTo("FHIR")
+ }
+ assertThat(unroutedReports).hasSize(2)
+ unroutedReports.forEach {
+ assertThat(it.nextAction).isEqualTo(TaskAction.none)
+ assertThat(it.receivingOrg).isEqualTo(null)
+ assertThat(it.receivingOrgSvc).isEqualTo(null)
+ assertThat(it.schemaName).isEqualTo("None")
+ assertThat(it.schemaTopic).isEqualTo(Topic.FULL_ELR)
+ assertThat(it.bodyFormat).isEqualTo("FHIR")
+ }
+ // Verify that the expected FHIR bundles were uploaded
+ val reportAndBundles =
+ routedReports.map {
+ Pair(
+ it,
+ BlobAccess.downloadBlobAsByteArray(it.bodyUrl, getBlobContainerMetadata())
+ )
+ }
+
+ assertThat(reportAndBundles).transform { pairs -> pairs.map { it.second } }.each {
+ it.matchesPredicate { bytes ->
+ val invalidHL7Result = CompareData().compare(
+ cleanHL7RecordConverted.byteInputStream(),
+ bytes.inputStream(),
+ MimeFormat.FHIR,
+ null
+ )
+ invalidHL7Result.passed
+
+ val cleanHL7Result = CompareData().compare(
+ invalidHL7RecordConverted.byteInputStream(),
+ bytes.inputStream(),
+ MimeFormat.FHIR,
+ null
+ )
+ invalidHL7Result.passed || cleanHL7Result.passed
+ }
+ }
+
+ val expectedQueueMessages = reportAndBundles.map { (report, fhirBundle) ->
+ FhirDestinationFilterQueueMessage(
+ report.reportId,
+ report.bodyUrl,
+ BlobUtils.digestToString(BlobUtils.sha256Digest(fhirBundle)),
+ hl7SenderWithNoTransform.fullName,
+ hl7SenderWithNoTransform.topic
+ )
+ }.map { it.serialize() }
+
+ verify(exactly = 2) {
+ QueueAccess.sendMessage(
+ QueueMessage.elrDestinationFilterQueueName,
+ match { expectedQueueMessages.contains(it) }
+ )
+ }
+
+ val actionLogs = DSL.using(txn).select(Tables.ACTION_LOG.asterisk()).from(Tables.ACTION_LOG)
+ .where(Tables.ACTION_LOG.REPORT_ID.eq(receiveReport.id))
+ .and(Tables.ACTION_LOG.TYPE.eq(ActionLogType.error))
+ .fetchInto(
+ DetailedActionLog::class.java
+ )
+
+ assertThat(actionLogs).hasSize(2)
+ @Suppress("ktlint:standard:max-line-length")
+ assertThat(actionLogs).transform { logs -> logs.map { it.detail.message } }
+ .containsOnly(
+ "Item 3 in the report was not parseable. Reason: exception while parsing HL7: Determine encoding for message. The following is the first 50 chars of the message for reference, although this may not be where the issue is: MSH^~\\&|CDC PRIME - Atlanta, Georgia (Dekalb)^2.16",
+ "Item 4 in the report was not parseable. Reason: exception while parsing HL7: Invalid or incomplete encoding characters - MSH-2 is ^~\\!"
+ )
+ assertThat(actionLogs).transform {
+ it.map { log ->
+ log.trackingId
+ }
+ }.containsOnly(
+ "",
+ ""
+ )
+
+ assertThat(azureEventService.reportStreamEvents[ReportStreamEventName.ITEM_ACCEPTED]!!).hasSize(2)
+ val event =
+ azureEventService
+ .reportStreamEvents[ReportStreamEventName.ITEM_ACCEPTED]!!.last() as ReportStreamItemEvent
+ assertThat(event.reportEventData).isEqualToIgnoringGivenProperties(
+ ReportEventData(
+ routedReports[1].reportId,
+ receiveReport.id,
+ listOf(receiveReport.id),
+ Topic.FULL_ELR,
+ routedReports[1].bodyUrl,
+ TaskAction.convert,
+ OffsetDateTime.now(),
+ Version.commitId
+ ),
+ ReportEventData::timestamp
+ )
+ assertThat(event.itemEventData).isEqualToIgnoringGivenProperties(
+ ItemEventData(
+ 1,
+ 2,
+ 2,
+ "371784",
+ "phd.hl7-elr-no-transform"
+ )
+ )
+ assertThat(event.params).isEqualTo(
+ mapOf(
+ ReportStreamEventProperties.ITEM_FORMAT to MimeFormat.HL7,
+ ReportStreamEventProperties.BUNDLE_DIGEST to BundleDigestLabResult(
+ observationSummaries = AzureEventUtils
+ .getObservationSummaries(
+ FhirTranscoder.decode(
+ reportAndBundles[1].second.toString(Charset.defaultCharset())
+ )
+ ),
+ patientState = listOf("TX"),
+ orderingFacilityState = listOf("FL"),
+ performerState = emptyList(),
+ eventType = "ORU^R01^ORU_R01"
+ )
+ )
+ )
+ }
+ }
+
@Test
fun `should successfully convert HL7 messages`() {
val receivedReportContents =
@@ -251,7 +526,8 @@ class FHIRConverterIntegrationTests {
)
val receiveReport = setupConvertStep(MimeFormat.HL7, hl7SenderWithNoTransform, receiveBlobUrl, 4)
- val queueMessage = generateQueueMessage(receiveReport, receivedReportContents, hl7SenderWithNoTransform)
+ val queueMessage =
+ generateFHIRConvertQueueMessage(receiveReport, receivedReportContents, hl7SenderWithNoTransform)
val fhirFunctions = createFHIRFunctionsInstance()
fhirFunctions.process(queueMessage, 1, createFHIRConverter(), ActionHistory(TaskAction.convert))
@@ -362,7 +638,7 @@ class FHIRConverterIntegrationTests {
OffsetDateTime.now(),
Version.commitId
),
- ReportEventData::timestamp
+ ReportEventData::timestamp
)
assertThat(event.itemEventData).isEqualToIgnoringGivenProperties(
ItemEventData(
@@ -432,7 +708,7 @@ class FHIRConverterIntegrationTests {
MimeFormat.FHIR,
fhirSenderWithNoTransform, receiveBlobUrl, 4
)
- val queueMessage = generateQueueMessage(
+ val queueMessage = generateFHIRConvertQueueMessage(
receiveReport, receivedReportContents,
fhirSenderWithNoTransform
)
@@ -535,7 +811,7 @@ class FHIRConverterIntegrationTests {
OffsetDateTime.now(),
Version.commitId
),
- ReportEventData::timestamp
+ ReportEventData::timestamp
)
assertThat(event.itemEventData).isEqualToIgnoringGivenProperties(
ItemEventData(
@@ -578,7 +854,7 @@ class FHIRConverterIntegrationTests {
)
val receiveReport = setupConvertStep(MimeFormat.HL7, senderWithValidation, receiveBlobUrl, 2)
- val queueMessage = generateQueueMessage(receiveReport, receivedReportContents, senderWithValidation)
+ val queueMessage = generateFHIRConvertQueueMessage(receiveReport, receivedReportContents, senderWithValidation)
val fhirFunctions = createFHIRFunctionsInstance()
fhirFunctions.process(queueMessage, 1, createFHIRConverter(), ActionHistory(TaskAction.convert))
@@ -671,7 +947,7 @@ class FHIRConverterIntegrationTests {
OffsetDateTime.now(),
Version.commitId
),
- ReportEventData::timestamp
+ ReportEventData::timestamp
)
assertThat(event.itemEventData).isEqualToIgnoringGivenProperties(
ItemEventData(
@@ -689,7 +965,7 @@ class FHIRConverterIntegrationTests {
ReportStreamEventProperties.VALIDATION_PROFILE to Topic.MARS_OTC_ELR.validator.validatorProfileName,
@Suppress("ktlint:standard:max-line-length")
ReportStreamEventProperties.PROCESSING_ERROR
- to "Item 2 in the report was not valid. Reason: HL7 was not valid at MSH[1]-21[1].3 for validator: RADx MARS"
+ to "Item 2 in the report was not valid. Reason: HL7 was not valid at MSH[1]-21[1].3 for validator: RADx MARS"
)
)
}
@@ -706,7 +982,7 @@ class FHIRConverterIntegrationTests {
)
val receiveReport = setupConvertStep(MimeFormat.HL7, hl7Sender, receiveBlobUrl, 2)
- val queueMessage = generateQueueMessage(receiveReport, receivedReportContents, hl7Sender)
+ val queueMessage = generateFHIRConvertQueueMessage(receiveReport, receivedReportContents, hl7Sender)
val fhirFunctions = createFHIRFunctionsInstance()
fhirFunctions.process(queueMessage, 1, createFHIRConverter(), ActionHistory(TaskAction.convert))
@@ -787,7 +1063,7 @@ class FHIRConverterIntegrationTests {
)
val receiveReport = setupConvertStep(MimeFormat.HL7, hl7Sender, receiveBlobUrl, 1)
- val queueMessage = generateQueueMessage(receiveReport, receivedReportContents, hl7Sender)
+ val queueMessage = generateFHIRConvertQueueMessage(receiveReport, receivedReportContents, hl7Sender)
val fhirFunctions = createFHIRFunctionsInstance()
fhirFunctions.process(queueMessage, 1, createFHIRConverter(), ActionHistory(TaskAction.convert))
@@ -816,7 +1092,7 @@ class FHIRConverterIntegrationTests {
)
val receiveReport = setupConvertStep(MimeFormat.HL7, hl7Sender, receiveBlobUrl, 1)
- val queueMessage = generateQueueMessage(receiveReport, receivedReportContents, hl7Sender)
+ val queueMessage = generateFHIRConvertQueueMessage(receiveReport, receivedReportContents, hl7Sender)
val fhirFunctions = createFHIRFunctionsInstance()
fhirFunctions.process(queueMessage, 1, createFHIRConverter(), ActionHistory(TaskAction.convert))
@@ -845,7 +1121,7 @@ class FHIRConverterIntegrationTests {
)
val receiveReport = setupConvertStep(MimeFormat.HL7, hl7Sender, receiveBlobUrl, 1)
- val queueMessage = generateQueueMessage(receiveReport, receivedReportContents, hl7Sender)
+ val queueMessage = generateFHIRConvertQueueMessage(receiveReport, receivedReportContents, hl7Sender)
val fhirFunctions = createFHIRFunctionsInstance()
fhirFunctions.process(queueMessage, 1, createFHIRConverter(), ActionHistory(TaskAction.convert))
diff --git a/prime-router/src/test/kotlin/fhirengine/azure/FHIRDestinationFilterIntegrationTests.kt b/prime-router/src/test/kotlin/fhirengine/azure/FHIRDestinationFilterIntegrationTests.kt
index 8e2f420d888..2c8f314fbe6 100644
--- a/prime-router/src/test/kotlin/fhirengine/azure/FHIRDestinationFilterIntegrationTests.kt
+++ b/prime-router/src/test/kotlin/fhirengine/azure/FHIRDestinationFilterIntegrationTests.kt
@@ -33,6 +33,7 @@ import gov.cdc.prime.router.azure.observability.event.ItemEventData
import gov.cdc.prime.router.azure.observability.event.ReportEventData
import gov.cdc.prime.router.azure.observability.event.ReportStreamEventName
import gov.cdc.prime.router.azure.observability.event.ReportStreamEventProperties
+import gov.cdc.prime.router.azure.observability.event.ReportStreamEventService
import gov.cdc.prime.router.azure.observability.event.ReportStreamItemEvent
import gov.cdc.prime.router.common.TestcontainersUtils
import gov.cdc.prime.router.common.UniversalPipelineTestUtils
@@ -120,7 +121,14 @@ class FHIRDestinationFilterIntegrationTests : Logging {
settings,
db = ReportStreamTestDatabaseContainer.testDatabaseAccess,
reportService = ReportService(ReportGraph(ReportStreamTestDatabaseContainer.testDatabaseAccess)),
- azureEventService = azureEventService
+ azureEventService = azureEventService,
+ reportStreamEventService = ReportStreamEventService(
+ ReportStreamTestDatabaseContainer.testDatabaseAccess, azureEventService,
+ ReportService(
+ ReportGraph(ReportStreamTestDatabaseContainer.testDatabaseAccess),
+ ReportStreamTestDatabaseContainer.testDatabaseAccess
+ )
+ )
)
}
diff --git a/prime-router/src/test/kotlin/fhirengine/azure/FHIRReceiverFilterIntegrationTests.kt b/prime-router/src/test/kotlin/fhirengine/azure/FHIRReceiverFilterIntegrationTests.kt
index eae5b63fe2c..4acfecbf826 100644
--- a/prime-router/src/test/kotlin/fhirengine/azure/FHIRReceiverFilterIntegrationTests.kt
+++ b/prime-router/src/test/kotlin/fhirengine/azure/FHIRReceiverFilterIntegrationTests.kt
@@ -39,6 +39,7 @@ import gov.cdc.prime.router.azure.observability.event.ItemEventData
import gov.cdc.prime.router.azure.observability.event.ReportEventData
import gov.cdc.prime.router.azure.observability.event.ReportStreamEventName
import gov.cdc.prime.router.azure.observability.event.ReportStreamEventProperties
+import gov.cdc.prime.router.azure.observability.event.ReportStreamEventService
import gov.cdc.prime.router.azure.observability.event.ReportStreamItemEvent
import gov.cdc.prime.router.common.TestcontainersUtils
import gov.cdc.prime.router.common.UniversalPipelineTestUtils
@@ -214,7 +215,14 @@ class FHIRReceiverFilterIntegrationTests : Logging {
settings,
db = ReportStreamTestDatabaseContainer.testDatabaseAccess,
reportService = ReportService(ReportGraph(ReportStreamTestDatabaseContainer.testDatabaseAccess)),
- azureEventService = azureEventService
+ azureEventService = azureEventService,
+ reportStreamEventService = ReportStreamEventService(
+ ReportStreamTestDatabaseContainer.testDatabaseAccess, azureEventService,
+ ReportService(
+ ReportGraph(ReportStreamTestDatabaseContainer.testDatabaseAccess),
+ ReportStreamTestDatabaseContainer.testDatabaseAccess
+ )
+ )
)
}
diff --git a/prime-router/src/test/kotlin/fhirengine/azure/FHIRReceiverIntegrationTests.kt b/prime-router/src/test/kotlin/fhirengine/azure/FHIRReceiverIntegrationTests.kt
deleted file mode 100644
index 525e53905d2..00000000000
--- a/prime-router/src/test/kotlin/fhirengine/azure/FHIRReceiverIntegrationTests.kt
+++ /dev/null
@@ -1,881 +0,0 @@
-package gov.cdc.prime.router.fhirengine.azure
-
-import assertk.assertThat
-import assertk.assertions.hasSize
-import assertk.assertions.isEmpty
-import assertk.assertions.isEqualTo
-import assertk.assertions.isEqualToIgnoringGivenProperties
-import assertk.assertions.isNull
-import gov.cdc.prime.reportstream.shared.BlobUtils
-import gov.cdc.prime.router.FileSettings
-import gov.cdc.prime.router.MimeFormat
-import gov.cdc.prime.router.Sender
-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.QueueAccess
-import gov.cdc.prime.router.azure.SubmissionTableService
-import gov.cdc.prime.router.azure.TableAccess
-import gov.cdc.prime.router.azure.WorkflowEngine
-import gov.cdc.prime.router.azure.db.Tables
-import gov.cdc.prime.router.azure.db.enums.ActionLogType
-import gov.cdc.prime.router.azure.db.enums.TaskAction
-import gov.cdc.prime.router.azure.db.tables.pojos.ReportFile
-import gov.cdc.prime.router.azure.observability.event.InMemoryAzureEventService
-import gov.cdc.prime.router.azure.observability.event.ReportEventData
-import gov.cdc.prime.router.azure.observability.event.ReportStreamEventName
-import gov.cdc.prime.router.azure.observability.event.ReportStreamEventProperties
-import gov.cdc.prime.router.azure.observability.event.ReportStreamReportEvent
-import gov.cdc.prime.router.common.TestcontainersUtils
-import gov.cdc.prime.router.common.UniversalPipelineTestUtils.csvSenderWithNoTransform
-import gov.cdc.prime.router.common.UniversalPipelineTestUtils.fhirSenderWithNoTransform
-import gov.cdc.prime.router.common.UniversalPipelineTestUtils.fhirSenderWithNoTransformInactive
-import gov.cdc.prime.router.common.UniversalPipelineTestUtils.hl7SenderWithNoTransform
-import gov.cdc.prime.router.common.UniversalPipelineTestUtils.universalPipelineOrganization
-import gov.cdc.prime.router.common.cleanHL7Record
-import gov.cdc.prime.router.common.invalidMalformedFHIRRecord
-import gov.cdc.prime.router.common.unparseableHL7Record
-import gov.cdc.prime.router.common.validFHIRRecord1
-import gov.cdc.prime.router.db.ReportStreamTestDatabaseContainer
-import gov.cdc.prime.router.db.ReportStreamTestDatabaseSetupExtension
-import gov.cdc.prime.router.fhirengine.engine.FHIRReceiver
-import gov.cdc.prime.router.history.DetailedActionLog
-import gov.cdc.prime.router.history.DetailedReport
-import gov.cdc.prime.router.unittest.UnitTestUtils
-import gov.cdc.prime.router.version.Version
-import io.mockk.clearAllMocks
-import io.mockk.every
-import io.mockk.mockkObject
-import io.mockk.unmockkAll
-import io.mockk.verify
-import org.jooq.impl.DSL
-import org.junit.jupiter.api.AfterEach
-import org.junit.jupiter.api.BeforeEach
-import org.junit.jupiter.api.Test
-import org.junit.jupiter.api.extension.ExtendWith
-import org.testcontainers.junit.jupiter.Container
-import org.testcontainers.junit.jupiter.Testcontainers
-import java.time.OffsetDateTime
-import java.util.UUID
-import kotlin.test.assertNotNull
-
-@Testcontainers
-@ExtendWith(ReportStreamTestDatabaseSetupExtension::class)
-class FHIRReceiverIntegrationTests {
-
- @Container
- val azuriteContainer = TestcontainersUtils.createAzuriteContainer(
- customImageName = "azurite_fhirreceiverintegration",
- customEnv = mapOf(
- "AZURITE_ACCOUNTS" to "devstoreaccount1:keydevstoreaccount1"
- )
- )
-
- private val azureEventService = InMemoryAzureEventService()
- private lateinit var submissionTableService: SubmissionTableService
-
- private fun createFHIRFunctionsInstance(): FHIRFunctions {
- val settings = FileSettings().loadOrganizations(universalPipelineOrganization)
- val metadata = UnitTestUtils.simpleMetadata
- val workflowEngine = WorkflowEngine
- .Builder()
- .metadata(metadata)
- .settingsProvider(settings)
- .databaseAccess(ReportStreamTestDatabaseContainer.testDatabaseAccess)
- .build()
- return FHIRFunctions(workflowEngine, databaseAccess = ReportStreamTestDatabaseContainer.testDatabaseAccess)
- }
-
- private fun createFHIRReceiver(): FHIRReceiver {
- val settings = FileSettings().loadOrganizations(universalPipelineOrganization)
- val metadata = UnitTestUtils.simpleMetadata
- return FHIRReceiver(
- metadata,
- settings,
- ReportStreamTestDatabaseContainer.testDatabaseAccess,
- azureEventService = azureEventService,
- submissionTableService = submissionTableService
- )
- }
-
- private fun generateReceiveQueueMessage(
- reportId: String,
- blobURL: String,
- blobContents: String,
- sender: Sender,
- headers: Map,
- ): String {
- val headersStringMap = headers.entries.joinToString(separator = ",\n") { (key, value) ->
- """"$key": "$value""""
- }
- val headersString = "[\"java.util.LinkedHashMap\",{$headersStringMap}]"
-
- return """{"type":"receive-fhir","blobURL":"$blobURL",
- "digest":"${BlobUtils.digestToString(BlobUtils.sha256Digest(blobContents.toByteArray()))}",
- "blobSubFolderName":"${sender.fullName}","reportId":"$reportId","headers":$headersString}
- """.trimIndent()
- }
-
- @BeforeEach
- fun beforeEach() {
- clearAllMocks()
- mockkObject(QueueAccess)
- every { QueueAccess.sendMessage(any(), any()) } returns ""
- mockkObject(BlobAccess)
- every { BlobAccess getProperty "defaultBlobMetadata" } returns getBlobContainerMetadata()
- mockkObject(BlobAccess.BlobContainerMetadata)
- every { BlobAccess.BlobContainerMetadata.build(any(), any()) } returns getBlobContainerMetadata()
-
- mockkObject(TableAccess)
- every { TableAccess.getConnectionString() } returns getConnString()
-
- submissionTableService = SubmissionTableService.getInstance()
- submissionTableService.reset()
- }
-
- @AfterEach
- fun afterEach() {
- unmockkAll()
- }
-
- private fun getBlobContainerMetadata(): BlobAccess.BlobContainerMetadata = BlobAccess.BlobContainerMetadata(
- "container1",
- getConnString()
- )
-
- private fun getConnString(): String {
- @Suppress("ktlint:standard:max-line-length")
- return """DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=keydevstoreaccount1;BlobEndpoint=http://${azuriteContainer.host}:${azuriteContainer.getMappedPort(10000)}/devstoreaccount1;QueueEndpoint=http://${azuriteContainer.host}:${azuriteContainer.getMappedPort(10001)}/devstoreaccount1;TableEndpoint=http://${azuriteContainer.host}:${azuriteContainer.getMappedPort(10002)}/devstoreaccount1;"""
- }
-
- @Test
- fun `should handle inactive sender gracefully`() {
- val receivedReportContents =
- listOf(validFHIRRecord1)
- .joinToString("\n")
- val receiveBlobUrl = BlobAccess.uploadBlob(
- "receive/happy-path.fhir",
- receivedReportContents.toByteArray(),
- getBlobContainerMetadata()
- )
-
- val reportId = UUID.randomUUID()
- val headers = mapOf(
- "content-type" to "application/fhir+ndjson;test",
- "x-azure-clientip" to "0.0.0.0",
- "payloadname" to "test_message",
- "client_id" to fhirSenderWithNoTransformInactive.fullName,
- "content-length" to "100"
- )
-
- val receiveQueueMessage = generateReceiveQueueMessage(
- reportId.toString(),
- receiveBlobUrl,
- receivedReportContents,
- fhirSenderWithNoTransformInactive,
- headers = headers
- )
-
- val fhirFunctions = createFHIRFunctionsInstance()
-
- fhirFunctions.process(
- receiveQueueMessage,
- 1,
- createFHIRReceiver(),
- ActionHistory(TaskAction.receive)
- )
-
- ReportStreamTestDatabaseContainer.testDatabaseAccess.transact { txn ->
-
- val actionLogs = DSL.using(txn).select(Tables.ACTION_LOG.asterisk())
- .from(Tables.ACTION_LOG)
- .where(Tables.ACTION_LOG.REPORT_ID.eq(reportId))
- .and(Tables.ACTION_LOG.TYPE.eq(ActionLogType.error))
- .fetchInto(DetailedActionLog::class.java)
-
- assertThat(actionLogs.first()).transform { it.detail.message }
- .isEqualTo("Sender has customer status INACTIVE: phd.fhir-elr-no-transform-inactive")
-
- val reportFile = DSL.using(txn).select(Tables.REPORT_FILE.asterisk())
- .from(Tables.REPORT_FILE)
- .where(Tables.REPORT_FILE.REPORT_ID.eq(reportId))
- .fetchInto(DetailedReport::class.java)
-
- assertThat(actionLogs.count()).isEqualTo(1)
- assertThat(reportFile.count()).isEqualTo(1)
- }
-
- verify(exactly = 0) {
- QueueAccess.sendMessage(any(), any())
- }
-
- val tableRow = submissionTableService.getSubmission(reportId.toString(), "Accepted")
-
- assertNotNull(tableRow)
- assertThat(tableRow.detail).isEqualTo(
- "[Sender has customer status INACTIVE: phd.fhir-elr-no-transform-inactive]"
- )
- assertThat(tableRow.bodyURL).isEqualTo(receiveBlobUrl)
-
- assertThat(azureEventService.reportStreamEvents[ReportStreamEventName.REPORT_RECEIVED]!!).hasSize(1)
- val event =
- azureEventService
- .reportStreamEvents[ReportStreamEventName.REPORT_RECEIVED]!!.last() as ReportStreamReportEvent
- assertThat(event.reportEventData).isEqualToIgnoringGivenProperties(
- ReportEventData(
- reportId,
- null,
- emptyList(),
- Topic.FULL_ELR,
- receiveBlobUrl,
- TaskAction.receive,
- OffsetDateTime.now(),
- Version.commitId
- ),
- ReportEventData::timestamp
- )
- assertThat(event.params).isEqualTo(
- mapOf(
- ReportStreamEventProperties.ITEM_FORMAT to MimeFormat.FHIR,
- ReportStreamEventProperties.SENDER_NAME to fhirSenderWithNoTransformInactive.fullName,
- ReportStreamEventProperties.FILE_LENGTH to headers["content-length"],
- ReportStreamEventProperties.SENDER_IP to headers["x-azure-clientip"],
- ReportStreamEventProperties.REQUEST_PARAMETERS to headers.toString()
- )
- )
-
- assertThat(azureEventService.reportStreamEvents[ReportStreamEventName.REPORT_NOT_PROCESSABLE]!!).hasSize(1)
- val notProcessableEvent =
- azureEventService
- .reportStreamEvents[ReportStreamEventName.REPORT_NOT_PROCESSABLE]!!.last() as ReportStreamReportEvent
- assertThat(notProcessableEvent.reportEventData).isEqualToIgnoringGivenProperties(
- ReportEventData(
- reportId,
- null,
- emptyList(),
- Topic.FULL_ELR,
- receiveBlobUrl,
- TaskAction.receive,
- OffsetDateTime.now(),
- Version.commitId
- ),
- ReportEventData::timestamp
- )
- assertThat(notProcessableEvent.params).isEqualTo(
- mapOf(
- ReportStreamEventProperties.PROCESSING_ERROR to
- "Submitted report was either empty or could not be parsed.",
- ReportStreamEventProperties.REQUEST_PARAMETERS to headers.toString()
- )
- )
- }
-
- @Test
- fun `should handle sender not found gracefully`() {
- val submissionMessageContents = validFHIRRecord1
- val submissionBlobUrl = "http://anyblob.com"
-
- val reportId = UUID.randomUUID()
- val headers = mapOf(
- "content-type" to "application/fhir+ndjson;test",
- "x-azure-clientip" to "0.0.0.0",
- "payloadname" to "test_message",
- "client_id" to "unknown_sender",
- "content-length" to "100"
- )
-
- val receiveQueueMessage = generateReceiveQueueMessage(
- reportId.toString(),
- submissionBlobUrl,
- submissionMessageContents,
- fhirSenderWithNoTransformInactive,
- headers = headers
- )
-
- val fhirFunctions = createFHIRFunctionsInstance()
-
- fhirFunctions.process(
- receiveQueueMessage,
- 1,
- createFHIRReceiver(),
- ActionHistory(TaskAction.receive)
- )
-
- ReportStreamTestDatabaseContainer.testDatabaseAccess.transact { txn ->
- val actionLogs = DSL.using(txn).select(Tables.ACTION_LOG.asterisk())
- .from(Tables.ACTION_LOG)
- .where(Tables.ACTION_LOG.TYPE.eq(ActionLogType.error))
- .fetchInto(DetailedActionLog::class.java)
-
- assertThat(actionLogs).isEmpty()
-
- val reportFile = DSL.using(txn).select(Tables.REPORT_FILE.asterisk())
- .from(Tables.REPORT_FILE)
- .where(Tables.REPORT_FILE.REPORT_ID.eq(reportId))
- .fetchInto(DetailedReport::class.java)
-
- assertThat(reportFile).isEmpty()
- }
-
- verify(exactly = 0) {
- QueueAccess.sendMessage(any(), any())
- }
-
- val tableRow = submissionTableService.getSubmission(
- reportId.toString(),
- "Rejected"
- )
-
- assertNotNull(tableRow)
- assertThat(tableRow.detail).isEqualTo("Sender not found matching client_id: unknown_sender")
- assertThat(tableRow.bodyURL).isEqualTo(submissionBlobUrl)
-
- assertThat(azureEventService.reportStreamEvents[ReportStreamEventName.REPORT_NOT_RECEIVABLE]!!).hasSize(1)
- val event =
- azureEventService
- .reportStreamEvents[ReportStreamEventName.REPORT_NOT_RECEIVABLE]!!.last() as ReportStreamReportEvent
- assertThat(event.reportEventData).isEqualToIgnoringGivenProperties(
- ReportEventData(
- reportId,
- null,
- emptyList(),
- null,
- submissionBlobUrl,
- TaskAction.receive,
- OffsetDateTime.now(),
- Version.commitId
- ),
- ReportEventData::timestamp
- )
- assertThat(event.params).isEqualTo(
- mapOf(
- ReportStreamEventProperties.PROCESSING_ERROR to
- "Sender is not found in matching client id: unknown_sender.",
- ReportStreamEventProperties.REQUEST_PARAMETERS to headers.toString()
- )
- )
- }
-
- @Test
- fun `should successfully process valid FHIR message`() {
- val receivedReportContents =
- listOf(validFHIRRecord1)
- .joinToString("\n")
- val receiveBlobUrl = BlobAccess.uploadBlob(
- "receive/happy-path.fhir",
- receivedReportContents.toByteArray(),
- getBlobContainerMetadata()
- )
-
- val reportId = UUID.randomUUID()
- val headers = mapOf(
- "content-type" to "application/fhir+ndjson;test",
- "x-azure-clientip" to "0.0.0.0",
- "payloadname" to "test_message",
- "client_id" to fhirSenderWithNoTransform.fullName,
- "content-length" to "100"
- )
-
- val receiveQueueMessage = generateReceiveQueueMessage(
- reportId.toString(),
- receiveBlobUrl,
- receivedReportContents,
- fhirSenderWithNoTransform,
- headers = headers
- )
-
- val fhirFunctions = createFHIRFunctionsInstance()
-
- fhirFunctions.process(
- receiveQueueMessage,
- 1,
- createFHIRReceiver(),
- ActionHistory(TaskAction.receive)
- )
-
- ReportStreamTestDatabaseContainer.testDatabaseAccess.transact { txn ->
- val actionLogs = DSL.using(txn).select(Tables.ACTION_LOG.asterisk())
- .from(Tables.ACTION_LOG)
- .where(Tables.ACTION_LOG.REPORT_ID.eq(reportId))
- .and(Tables.ACTION_LOG.TYPE.eq(ActionLogType.error))
- .fetchInto(DetailedActionLog::class.java)
-
- assertThat(actionLogs).isEmpty()
-
- val reportFile = DSL.using(txn).select(Tables.REPORT_FILE.asterisk())
- .from(Tables.REPORT_FILE)
- .where(Tables.REPORT_FILE.REPORT_ID.eq(reportId))
- .fetchInto(ReportFile::class.java)
-
- assertThat(reportFile).hasSize(1)
- reportFile.first().apply {
- assertThat(nextAction).isEqualTo(TaskAction.convert)
- assertThat(receivingOrg).isEqualTo(null)
- assertThat(receivingOrgSvc).isEqualTo(null)
- assertThat(schemaName).isEqualTo("None")
- assertThat(schemaTopic).isEqualTo(Topic.FULL_ELR)
- assertThat(bodyFormat).isEqualTo("FHIR")
- assertThat(sendingOrg).isEqualTo("phd")
- assertThat(sendingOrgClient).isEqualTo("fhir-elr-no-transform")
- }
- }
-
- verify(exactly = 1) {
- QueueAccess.sendMessage(any(), any())
- }
-
- val tableRow = submissionTableService.getSubmission(
- reportId.toString(),
- "Accepted"
- )
-
- assertNotNull(tableRow)
- assertThat(tableRow.bodyURL).isEqualTo(receiveBlobUrl)
- assertThat(tableRow.detail).isNull()
-
- assertThat(azureEventService.reportStreamEvents[ReportStreamEventName.REPORT_RECEIVED]!!).hasSize(1)
- val event =
- azureEventService
- .reportStreamEvents[ReportStreamEventName.REPORT_RECEIVED]!!.last() as ReportStreamReportEvent
- assertThat(event.reportEventData).isEqualToIgnoringGivenProperties(
- ReportEventData(
- reportId,
- null,
- emptyList(),
- Topic.FULL_ELR,
- receiveBlobUrl,
- TaskAction.receive,
- OffsetDateTime.now(),
- Version.commitId
- ),
- ReportEventData::timestamp
- )
- assertThat(event.params).isEqualTo(
- mapOf(
- ReportStreamEventProperties.ITEM_FORMAT to MimeFormat.FHIR,
- ReportStreamEventProperties.SENDER_NAME to fhirSenderWithNoTransform.fullName,
- ReportStreamEventProperties.FILE_LENGTH to headers["content-length"],
- ReportStreamEventProperties.SENDER_IP to headers["x-azure-clientip"],
- ReportStreamEventProperties.REQUEST_PARAMETERS to headers.toString()
- )
- )
- }
-
- @Test
- fun `should successfully process valid HL7 message`() {
- val receivedReportContents =
- listOf(cleanHL7Record)
- .joinToString("\n")
- val receiveBlobUrl = BlobAccess.uploadBlob(
- "receive/happy-path.hl7",
- receivedReportContents.toByteArray(),
- getBlobContainerMetadata()
- )
-
- val reportId = UUID.randomUUID()
- val headers = mapOf(
- "content-type" to "application/hl7-v2;test",
- "x-azure-clientip" to "0.0.0.0",
- "payloadname" to "test_message",
- "client_id" to hl7SenderWithNoTransform.fullName,
- "content-length" to "100"
- )
- val receiveQueueMessage = generateReceiveQueueMessage(
- reportId.toString(),
- receiveBlobUrl,
- receivedReportContents,
- hl7SenderWithNoTransform,
- headers
- )
-
- val fhirFunctions = createFHIRFunctionsInstance()
-
- fhirFunctions.process(
- receiveQueueMessage,
- 1,
- createFHIRReceiver(),
- ActionHistory(TaskAction.receive)
- )
-
- ReportStreamTestDatabaseContainer.testDatabaseAccess.transact { txn ->
- val actionLogs = DSL.using(txn).select(Tables.ACTION_LOG.asterisk())
- .from(Tables.ACTION_LOG)
- .where(Tables.ACTION_LOG.REPORT_ID.eq(reportId))
- .and(Tables.ACTION_LOG.TYPE.eq(ActionLogType.error))
- .fetchInto(DetailedActionLog::class.java)
-
- assertThat(actionLogs).isEmpty()
-
- val reportFile = DSL.using(txn).select(Tables.REPORT_FILE.asterisk())
- .from(Tables.REPORT_FILE)
- .where(Tables.REPORT_FILE.REPORT_ID.eq(reportId))
- .fetchInto(ReportFile::class.java)
-
- assertThat(reportFile).hasSize(1)
- reportFile.first().apply {
- assertThat(nextAction).isEqualTo(TaskAction.convert)
- assertThat(receivingOrg).isEqualTo(null)
- assertThat(receivingOrgSvc).isEqualTo(null)
- assertThat(schemaName).isEqualTo("None")
- assertThat(schemaTopic).isEqualTo(Topic.FULL_ELR)
- assertThat(bodyFormat).isEqualTo("HL7")
- assertThat(sendingOrg).isEqualTo("phd")
- assertThat(sendingOrgClient).isEqualTo("hl7-elr-no-transform")
- }
- }
-
- verify(exactly = 1) {
- QueueAccess.sendMessage(any(), any())
- }
-
- val tableRow = submissionTableService.getSubmission(
- reportId.toString(),
- "Accepted"
- )
-
- assertNotNull(tableRow)
- assertThat(tableRow.bodyURL).isEqualTo(receiveBlobUrl)
- assertThat(tableRow.detail).isNull()
-
- assertThat(azureEventService.reportStreamEvents[ReportStreamEventName.REPORT_RECEIVED]!!).hasSize(1)
- val event =
- azureEventService
- .reportStreamEvents[ReportStreamEventName.REPORT_RECEIVED]!!.last() as ReportStreamReportEvent
- assertThat(event.reportEventData).isEqualToIgnoringGivenProperties(
- ReportEventData(
- reportId,
- null,
- emptyList(),
- Topic.FULL_ELR,
- receiveBlobUrl,
- TaskAction.receive,
- OffsetDateTime.now(),
- Version.commitId
- ),
- ReportEventData::timestamp
- )
- assertThat(event.params).isEqualTo(
- mapOf(
- ReportStreamEventProperties.ITEM_FORMAT to MimeFormat.HL7,
- ReportStreamEventProperties.SENDER_NAME to hl7SenderWithNoTransform.fullName,
- ReportStreamEventProperties.FILE_LENGTH to headers["content-length"],
- ReportStreamEventProperties.SENDER_IP to headers["x-azure-clientip"],
- ReportStreamEventProperties.REQUEST_PARAMETERS to headers.toString()
- )
- )
- }
-
- @Test
- fun `test process invalid FHIR message`() {
- val invalidReceivedReportContents =
- listOf(invalidMalformedFHIRRecord)
- .joinToString("\n")
- val receiveBlobUrl = BlobAccess.uploadBlob(
- "receive/fail-path.fhir",
- invalidReceivedReportContents.toByteArray(),
- getBlobContainerMetadata()
- )
-
- val reportId = UUID.randomUUID()
- val headers = mapOf(
- "content-type" to "application/fhir+ndjson;test",
- "x-azure-clientip" to "0.0.0.0",
- "payloadname" to "test_message",
- "client_id" to fhirSenderWithNoTransform.fullName,
- "content-length" to "100"
- )
-
- val receiveQueueMessage = generateReceiveQueueMessage(
- reportId.toString(),
- receiveBlobUrl,
- invalidReceivedReportContents,
- fhirSenderWithNoTransform,
- headers = headers
- )
-
- val fhirFunctions = createFHIRFunctionsInstance()
-
- fhirFunctions.process(
- receiveQueueMessage,
- 1,
- createFHIRReceiver(),
- ActionHistory(TaskAction.receive)
- )
-
- ReportStreamTestDatabaseContainer.testDatabaseAccess.transact { txn ->
- val actionLogs = DSL.using(txn).select(Tables.ACTION_LOG.asterisk())
- .from(Tables.ACTION_LOG)
- .where(Tables.ACTION_LOG.REPORT_ID.eq(reportId))
- .and(Tables.ACTION_LOG.TYPE.eq(ActionLogType.error))
- .fetchInto(DetailedActionLog::class.java)
-
- assertThat(actionLogs.count()).isEqualTo(1)
- assertThat(actionLogs.first().detail.message).isEqualTo("1: Unable to parse FHIR data.")
-
- val reportFile = DSL.using(txn).select(Tables.REPORT_FILE.asterisk())
- .from(Tables.REPORT_FILE)
- .where(Tables.REPORT_FILE.REPORT_ID.eq(reportId))
- .fetchInto(ReportFile::class.java)
-
- assertThat(reportFile).hasSize(1)
- reportFile.first().apply {
- assertThat(nextAction).isEqualTo(TaskAction.convert)
- assertThat(receivingOrg).isEqualTo(null)
- assertThat(receivingOrgSvc).isEqualTo(null)
- assertThat(schemaName).isEqualTo("None")
- assertThat(schemaTopic).isEqualTo(Topic.FULL_ELR)
- assertThat(bodyFormat).isEqualTo("FHIR")
- assertThat(sendingOrg).isEqualTo("phd")
- assertThat(sendingOrgClient).isEqualTo("fhir-elr-no-transform")
- }
- }
-
- verify(exactly = 0) {
- QueueAccess.sendMessage(any(), any())
- }
-
- val tableRow = submissionTableService.getSubmission(
- reportId.toString(),
- "Accepted"
- )
-
- assertNotNull(tableRow)
- assertThat(tableRow.bodyURL).isEqualTo(receiveBlobUrl)
- assertThat(tableRow.detail).isEqualTo("[1: Unable to parse FHIR data.]")
-
- assertThat(azureEventService.reportStreamEvents[ReportStreamEventName.REPORT_RECEIVED]!!).hasSize(1)
- val event =
- azureEventService
- .reportStreamEvents[ReportStreamEventName.REPORT_RECEIVED]!!.last() as ReportStreamReportEvent
- assertThat(event.reportEventData).isEqualToIgnoringGivenProperties(
- ReportEventData(
- reportId,
- null,
- emptyList(),
- Topic.FULL_ELR,
- receiveBlobUrl,
- TaskAction.receive,
- OffsetDateTime.now(),
- Version.commitId
- ),
- ReportEventData::timestamp
- )
- assertThat(event.params).isEqualTo(
- mapOf(
- ReportStreamEventProperties.ITEM_FORMAT to MimeFormat.FHIR,
- ReportStreamEventProperties.SENDER_NAME to fhirSenderWithNoTransform.fullName,
- ReportStreamEventProperties.FILE_LENGTH to headers["content-length"],
- ReportStreamEventProperties.SENDER_IP to headers["x-azure-clientip"],
- ReportStreamEventProperties.REQUEST_PARAMETERS to headers.toString()
- )
- )
- }
-
- @Test
- fun `test process invalid HL7 message`() {
- val invalidReceivedReportContents =
- listOf(unparseableHL7Record)
- .joinToString("\n")
- val receiveBlobUrl = BlobAccess.uploadBlob(
- "receive/fail-path.hl7",
- invalidReceivedReportContents.toByteArray(),
- getBlobContainerMetadata()
- )
-
- val reportId = UUID.randomUUID()
- val headers = mapOf(
- "content-type" to "application/hl7-v2;test",
- "x-azure-clientip" to "0.0.0.0",
- "payloadname" to "test_message",
- "client_id" to hl7SenderWithNoTransform.fullName,
- "content-length" to "100"
- )
-
- val receiveQueueMessage = generateReceiveQueueMessage(
- reportId.toString(),
- receiveBlobUrl,
- invalidReceivedReportContents,
- hl7SenderWithNoTransform,
- headers = headers
- )
-
- val fhirFunctions = createFHIRFunctionsInstance()
-
- fhirFunctions.process(
- receiveQueueMessage,
- 1,
- createFHIRReceiver(),
- ActionHistory(TaskAction.receive)
- )
-
- ReportStreamTestDatabaseContainer.testDatabaseAccess.transact { txn ->
- val actionLogs = DSL.using(txn).select(Tables.ACTION_LOG.asterisk())
- .from(Tables.ACTION_LOG)
- .where(Tables.ACTION_LOG.REPORT_ID.eq(reportId))
- .and(Tables.ACTION_LOG.TYPE.eq(ActionLogType.error))
- .fetchInto(DetailedActionLog::class.java)
-
- assertThat(actionLogs.count()).isEqualTo(2)
-
- val reportFile = DSL.using(txn).select(Tables.REPORT_FILE.asterisk())
- .from(Tables.REPORT_FILE)
- .where(Tables.REPORT_FILE.REPORT_ID.eq(reportId))
- .fetchInto(ReportFile::class.java)
-
- assertThat(reportFile).hasSize(1)
- reportFile.first().apply {
- assertThat(nextAction).isEqualTo(TaskAction.convert)
- assertThat(receivingOrg).isEqualTo(null)
- assertThat(receivingOrgSvc).isEqualTo(null)
- assertThat(schemaName).isEqualTo("None")
- assertThat(schemaTopic).isEqualTo(Topic.FULL_ELR)
- assertThat(bodyFormat).isEqualTo("HL7")
- assertThat(sendingOrg).isEqualTo("phd")
- assertThat(sendingOrgClient).isEqualTo("hl7-elr-no-transform")
- }
- }
-
- verify(exactly = 0) {
- QueueAccess.sendMessage(any(), any())
- }
-
- val tableRow = submissionTableService.getSubmission(
- reportId.toString(),
- "Accepted"
- )
-
- assertNotNull(tableRow)
- assertThat(tableRow.bodyURL).isEqualTo(receiveBlobUrl)
- assertThat(tableRow.detail).isEqualTo("[Failed to parse message, Failed to parse message]")
-
- assertThat(azureEventService.reportStreamEvents[ReportStreamEventName.REPORT_RECEIVED]!!).hasSize(1)
- val event =
- azureEventService
- .reportStreamEvents[ReportStreamEventName.REPORT_RECEIVED]!!.last() as ReportStreamReportEvent
- assertThat(event.reportEventData).isEqualToIgnoringGivenProperties(
- ReportEventData(
- reportId,
- null,
- emptyList(),
- Topic.FULL_ELR,
- receiveBlobUrl,
- TaskAction.receive,
- OffsetDateTime.now(),
- Version.commitId
- ),
- ReportEventData::timestamp
- )
- assertThat(event.params).isEqualTo(
- mapOf(
- ReportStreamEventProperties.ITEM_FORMAT to MimeFormat.HL7,
- ReportStreamEventProperties.SENDER_NAME to hl7SenderWithNoTransform.fullName,
- ReportStreamEventProperties.FILE_LENGTH to headers["content-length"],
- ReportStreamEventProperties.SENDER_IP to headers["x-azure-clientip"],
- ReportStreamEventProperties.REQUEST_PARAMETERS to headers.toString()
- )
- )
- }
-
- @Test
- fun `test process CSV message`() {
- val invalidReceivedReportContents =
- listOf(unparseableHL7Record)
- .joinToString("\n")
- val receiveBlobUrl = BlobAccess.uploadBlob(
- "receive/fail-path.hl7",
- invalidReceivedReportContents.toByteArray(),
- getBlobContainerMetadata()
- )
-
- val reportId = UUID.randomUUID()
- val headers = mapOf(
- "content-type" to "application/hl7-v2;test",
- "x-azure-clientip" to "0.0.0.0",
- "payloadname" to "test_message",
- "client_id" to csvSenderWithNoTransform.fullName,
- "content-length" to "100"
- )
-
- val receiveQueueMessage = generateReceiveQueueMessage(
- reportId.toString(),
- receiveBlobUrl,
- invalidReceivedReportContents,
- csvSenderWithNoTransform,
- headers = headers
- )
-
- val fhirFunctions = createFHIRFunctionsInstance()
-
- var exception: Exception? = null
- try {
- fhirFunctions.process(
- receiveQueueMessage,
- 1,
- createFHIRReceiver(),
- ActionHistory(TaskAction.receive)
- )
- } catch (e: Exception) {
- exception = e
- }
-
- assertThat(exception!!.javaClass.name).isEqualTo("java.lang.IllegalStateException")
-
- ReportStreamTestDatabaseContainer.testDatabaseAccess.transact { txn ->
- val actionLogs = DSL.using(txn).select(Tables.ACTION_LOG.asterisk())
- .from(Tables.ACTION_LOG)
- .where(Tables.ACTION_LOG.REPORT_ID.eq(reportId))
- .and(Tables.ACTION_LOG.TYPE.eq(ActionLogType.error))
- .fetchInto(DetailedActionLog::class.java)
-
- assertThat(actionLogs.count()).isEqualTo(0)
-
- val reportFile = DSL.using(txn).select(Tables.REPORT_FILE.asterisk())
- .from(Tables.REPORT_FILE)
- .where(Tables.REPORT_FILE.REPORT_ID.eq(reportId))
- .fetchInto(ReportFile::class.java)
-
- assertThat(reportFile).isEmpty()
- }
-
- verify(exactly = 0) {
- QueueAccess.sendMessage(any(), any())
- }
-
- val tableRow = submissionTableService.getSubmission(
- reportId.toString(),
- "Rejected"
- )
-
- assertNotNull(tableRow)
- assertThat(tableRow.bodyURL).isEqualTo(receiveBlobUrl)
- assertThat(tableRow.detail).isEqualTo("[Unsupported sender format: CSV]")
-
- assertThat(azureEventService.reportStreamEvents[ReportStreamEventName.REPORT_NOT_PROCESSABLE]!!).hasSize(1)
- val event =
- azureEventService
- .reportStreamEvents[ReportStreamEventName.REPORT_NOT_PROCESSABLE]!!.last() as ReportStreamReportEvent
- assertThat(event.reportEventData).isEqualToIgnoringGivenProperties(
- ReportEventData(
- reportId,
- null,
- emptyList(),
- null,
- receiveBlobUrl,
- TaskAction.receive,
- OffsetDateTime.now(),
- Version.commitId
- ),
- ReportEventData::timestamp
- )
- assertThat(event.params).isEqualTo(
- mapOf(
- ReportStreamEventProperties.ITEM_FORMAT to MimeFormat.CSV,
- ReportStreamEventProperties.SENDER_NAME to csvSenderWithNoTransform.fullName,
- ReportStreamEventProperties.FILE_LENGTH to headers["content-length"],
- ReportStreamEventProperties.SENDER_IP to headers["x-azure-clientip"],
- ReportStreamEventProperties.REQUEST_PARAMETERS to headers.toString(),
- ReportStreamEventProperties.PROCESSING_ERROR to "Unsupported sender format CSV."
- )
- )
- }
-}
\ No newline at end of file
diff --git a/prime-router/src/test/kotlin/fhirengine/azure/FHIRTranslatorIntegrationTests.kt b/prime-router/src/test/kotlin/fhirengine/azure/FHIRTranslatorIntegrationTests.kt
index c45b9fe3e28..df375e85ed3 100644
--- a/prime-router/src/test/kotlin/fhirengine/azure/FHIRTranslatorIntegrationTests.kt
+++ b/prime-router/src/test/kotlin/fhirengine/azure/FHIRTranslatorIntegrationTests.kt
@@ -22,6 +22,7 @@ import gov.cdc.prime.router.azure.db.enums.TaskAction
import gov.cdc.prime.router.azure.db.tables.Task
import gov.cdc.prime.router.azure.observability.event.AzureEventService
import gov.cdc.prime.router.azure.observability.event.InMemoryAzureEventService
+import gov.cdc.prime.router.azure.observability.event.ReportStreamEventService
import gov.cdc.prime.router.cli.tests.CompareData
import gov.cdc.prime.router.common.TestcontainersUtils
import gov.cdc.prime.router.common.UniversalPipelineTestUtils
@@ -102,7 +103,14 @@ class FHIRTranslatorIntegrationTests : Logging {
metadata,
settings,
reportService = ReportService(ReportGraph(ReportStreamTestDatabaseContainer.testDatabaseAccess)),
- azureEventService = azureEventService
+ azureEventService = azureEventService,
+ reportStreamEventService = ReportStreamEventService(
+ ReportStreamTestDatabaseContainer.testDatabaseAccess, azureEventService,
+ ReportService(
+ ReportGraph(ReportStreamTestDatabaseContainer.testDatabaseAccess),
+ ReportStreamTestDatabaseContainer.testDatabaseAccess
+ )
+ )
)
}
diff --git a/prime-router/src/test/kotlin/fhirengine/engine/FHIRReceiverTests.kt b/prime-router/src/test/kotlin/fhirengine/engine/FHIRReceiverTests.kt
deleted file mode 100644
index 8edc912f5f1..00000000000
--- a/prime-router/src/test/kotlin/fhirengine/engine/FHIRReceiverTests.kt
+++ /dev/null
@@ -1,273 +0,0 @@
-package gov.cdc.prime.router.fhirengine.engine
-
-import assertk.assertThat
-import assertk.assertions.hasSize
-import assertk.assertions.isEqualTo
-import com.microsoft.azure.functions.HttpStatus
-import gov.cdc.prime.reportstream.shared.Submission
-import gov.cdc.prime.router.ActionLog
-import gov.cdc.prime.router.ActionLogDetail
-import gov.cdc.prime.router.ActionLogger
-import gov.cdc.prime.router.CovidSender
-import gov.cdc.prime.router.CustomerStatus
-import gov.cdc.prime.router.DeepOrganization
-import gov.cdc.prime.router.FileSettings
-import gov.cdc.prime.router.InvalidParamMessage
-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.Schema
-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.DatabaseAccess
-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
-import gov.cdc.prime.router.common.cleanHL7Record
-import gov.cdc.prime.router.report.ReportService
-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 io.mockk.unmockkAll
-import io.mockk.verify
-import org.jooq.tools.jdbc.MockConnection
-import org.jooq.tools.jdbc.MockDataProvider
-import org.jooq.tools.jdbc.MockResult
-import org.junit.jupiter.api.AfterEach
-import org.junit.jupiter.api.BeforeEach
-import java.util.UUID
-import kotlin.test.Test
-
-class FHIRReceiverTest {
-
- // Common mock objects and setup
- val dataProvider = MockDataProvider { emptyArray() }
- val connection = MockConnection(dataProvider)
- val accessSpy = spyk(DatabaseAccess(connection))
- val blobMock = mockkClass(BlobAccess::class)
- val reportService: ReportService = mockk()
- private val submissionTableService: SubmissionTableService = mockk()
-
- val oneOrganization = DeepOrganization(
- "co-phd",
- "test",
- Organization.Jurisdiction.FEDERAL,
- receivers = listOf(Receiver("elr", "co-phd", Topic.TEST, CustomerStatus.INACTIVE, "one"))
- )
- val settings = FileSettings().loadOrganizations(oneOrganization)
- val one = Schema(name = "None", topic = Topic.FULL_ELR, elements = emptyList())
- val metadata = Metadata(schema = one)
-
- private fun makeFhirReceiver(metadata: Metadata, settings: SettingsProvider): FHIRReceiver {
- return FHIRReceiver(
- metadata,
- settings,
- accessSpy,
- blobMock,
- reportService = reportService,
- submissionTableService = submissionTableService
- )
-
-// FHIREngine.Builder().metadata(metadata).settingsProvider(settings).databaseAccess(accessSpy)
-// .reportService(reportService).blobAccess(blobMock).build(taskAction)
- }
-
- @BeforeEach
- fun reset() {
- clearAllMocks()
- }
-
- @AfterEach
- fun tearDown() {
- unmockkAll()
- }
-
- data class FHIRTestSetup(
- val engine: FHIRReceiver,
- val actionLogger: ActionLogger,
- val actionHistory: ActionHistory,
- val message: FhirReceiveQueueMessage,
- )
-
- private fun setupMocksForProcessingTest(
- clientId: String,
- contentType: String,
- customerStatus: CustomerStatus,
- hasErrors: Boolean,
- reportID: UUID = UUID.randomUUID(),
-
- ): FHIRTestSetup {
- mockkObject(BlobAccess)
- val actionHistory = mockk()
- val actionLogger = mockk()
- val sender = CovidSender(
- "Test Sender",
- "test",
- MimeFormat.HL7,
- schemaName = "one",
- customerStatus = customerStatus
- )
-
- val engine = spyk(makeFhirReceiver(metadata, settings))
- val message = mockk(relaxed = true)
- val action = Action()
- action.actionName = TaskAction.receive
-
- val headers = mapOf(
- "x-azure-clientip" to "0.0.0.0",
- "payloadname" to "test_message",
- "client_id" to clientId,
- "content-type" to contentType
- )
-
- every { message.headers } returns headers
- every { message.reportId } returns reportID
- every { actionLogger.hasErrors() } returns hasErrors
- every { actionLogger.setReportId(any()) } returns actionLogger
- every { actionLogger.error(any()) } returns Unit
- every { engine.settings.findSender(any()) } returns sender
- every { actionHistory.trackActionResult(any()) } returns Unit
- every { actionHistory.trackActionParams(any()) } returns Unit
- every { actionHistory.trackActionSenderInfo(any(), any()) } returns Unit
- every { actionHistory.trackExternalInputReport(any(), any()) } returns Unit
- every { actionHistory.trackLogs(any>()) } returns Unit
- every { submissionTableService.insertSubmission(any()) } returns Unit
- every { actionHistory.action } returns action
- every { BlobAccess.downloadBlob(any(), any()) }.returns(cleanHL7Record)
-
- return FHIRTestSetup(engine, actionLogger, actionHistory, message)
- }
-
- @Test
- fun `test handle sender not found`() {
- val fhirSetup =
- setupMocksForProcessingTest(
- "unknown_client_id",
- "application/hl7-v2;test",
- CustomerStatus.ACTIVE,
- true
- )
- val engine = fhirSetup.engine
- val queueMessage = fhirSetup.message
- val actionLogger = ActionLogger()
- val actionHistory = fhirSetup.actionHistory
-
- every { engine.settings.findSender(any()) } returns null
-
- accessSpy.transact { txn ->
- engine.run(queueMessage, actionLogger, actionHistory, txn)
- }
-
- assertThat(actionLogger.errors).hasSize(0)
-
- val reportId = queueMessage.reportId.toString()
- val blobURL = queueMessage.blobURL
- verify(exactly = 1) {
- Submission(
- reportId,
- "Rejected",
- blobURL,
- "Sender not found matching client_id: unknown_client_id"
- )
- submissionTableService.insertSubmission(any())
- }
- }
-
- @Test
- fun `test handle inactive sender`() {
- val fhirSetup =
- setupMocksForProcessingTest(
- "known_client_id",
- "application/hl7-v2;test",
- CustomerStatus.INACTIVE,
- true
- )
- val engine = fhirSetup.engine
- val queueMessage = fhirSetup.message
- val actionLogger = ActionLogger()
- val actionHistory = fhirSetup.actionHistory
-
- accessSpy.transact { txn ->
- engine.run(queueMessage, actionLogger, actionHistory, txn)
- }
-
- assertThat(actionLogger.errors).hasSize(1)
-
- assertThat(
- actionLogger.errors[0].equals(
- actionLogger.errors[0].equals(
- InvalidParamMessage("Sender has customer status INACTIVE: unknown_client_id")
- )
- )
- )
-
- verify(exactly = 1) {
- submissionTableService.insertSubmission(any())
- actionHistory.trackActionResult(HttpStatus.NOT_ACCEPTABLE)
- actionHistory.trackActionSenderInfo("test.Test Sender", "test_message")
- }
- }
-
- @Test
- fun `test successful processing`() {
- val reportID = UUID.randomUUID()
- val fhirSetup =
- setupMocksForProcessingTest(
- "known_client_id",
- "application/hl7-v2;test",
- CustomerStatus.ACTIVE,
- false,
- reportID
- )
- val engine = fhirSetup.engine
- val queueMessage = fhirSetup.message
- val actionLogger = fhirSetup.actionLogger
- val actionHistory = fhirSetup.actionHistory
- every { actionLogger.errors } returns emptyList()
-
- accessSpy.transact { txn ->
- engine.run(queueMessage, actionLogger, actionHistory, txn)
- }
-
- verify(exactly = 1) {
- actionHistory.trackActionResult(HttpStatus.CREATED)
- actionHistory.trackActionSenderInfo("test.Test Sender", "test_message")
- actionHistory.trackExternalInputReport(any(), any())
- submissionTableService.insertSubmission(any())
- }
- }
-
- @Test
- fun `test invalid MIME type`() {
- val fhirSetup =
- setupMocksForProcessingTest(
- "known_client_id",
- "invalid/mime-type",
- CustomerStatus.ACTIVE,
- true
- )
- val engine = fhirSetup.engine
- val queueMessage = fhirSetup.message
- val actionLogger = ActionLogger()
- val actionHistory = fhirSetup.actionHistory
-
- var exception: Exception? = null
- try {
- accessSpy.transact { txn ->
- engine.run(queueMessage, actionLogger, actionHistory, txn)
- }
- } catch (e: Exception) {
- exception = e
- }
-
- assertThat(exception!!.javaClass.name).isEqualTo("java.lang.IllegalArgumentException")
- assertThat(actionLogger.errors).hasSize(1)
- assertThat(actionLogger.errors[0].detail.message).isEqualTo("Unexpected MIME type invalid/mime-type.")
- }
-}
\ No newline at end of file
diff --git a/prime-router/src/test/kotlin/fhirengine/engine/FhirConverterTests.kt b/prime-router/src/test/kotlin/fhirengine/engine/FhirConverterTests.kt
index 6b48d2e7260..33731c0e5af 100644
--- a/prime-router/src/test/kotlin/fhirengine/engine/FhirConverterTests.kt
+++ b/prime-router/src/test/kotlin/fhirengine/engine/FhirConverterTests.kt
@@ -28,6 +28,7 @@ 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.DatabaseAccess
+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
import gov.cdc.prime.router.azure.db.tables.pojos.ReportFile
@@ -84,6 +85,7 @@ class FhirConverterTests {
val connection = MockConnection(dataProvider)
val accessSpy = spyk(DatabaseAccess(connection))
val blobMock = mockkClass(BlobAccess::class)
+ val mockSubmissionTableService = mockk()
val reportService: ReportService = mockk()
val oneOrganization = DeepOrganization(
"co-phd",
@@ -137,7 +139,8 @@ class FhirConverterTests {
private fun makeFhirEngine(metadata: Metadata, settings: SettingsProvider, taskAction: TaskAction): FHIREngine {
return FHIREngine.Builder().metadata(metadata).settingsProvider(settings).databaseAccess(accessSpy)
- .reportService(reportService).blobAccess(blobMock).build(taskAction)
+ .reportService(reportService).blobAccess(blobMock)
+ .submissionTableService(mockSubmissionTableService).build(taskAction)
}
@BeforeEach
@@ -559,10 +562,10 @@ class FhirConverterTests {
mockkObject(BlobAccess)
val engine = spyk(makeFhirEngine(metadata, settings, TaskAction.process) as FHIRConverter)
val actionLogger = ActionLogger()
- val mockMessage = mockk(relaxed = true)
- every { mockMessage.topic } returns Topic.FULL_ELR
every { BlobAccess.downloadBlob(any(), any()) } returns ""
- val bundles = engine.process(MimeFormat.FHIR, mockMessage, actionLogger)
+ val bundles = engine.process(
+ MimeFormat.FHIR, "", "", Topic.FULL_ELR, actionLogger
+ )
assertThat(bundles).isEmpty()
assertThat(actionLogger.errors.map { it.detail.message }).contains("Provided raw data is empty.")
}
@@ -584,7 +587,9 @@ class FhirConverterTests {
every { mockMessage.topic } returns Topic.FULL_ELR
every { mockMessage.reportId } returns UUID.randomUUID()
every { BlobAccess.downloadBlob(any(), any()) } returns simpleHL7
- val bundles = engine.process(MimeFormat.HL7, mockMessage, actionLogger)
+ val bundles = engine.process(
+ MimeFormat.HL7, "", "", Topic.FULL_ELR, actionLogger
+ )
assertThat(bundles).isEmpty()
assertThat(
actionLogger.errors.map {
@@ -598,11 +603,10 @@ class FhirConverterTests {
mockkObject(BlobAccess)
val engine = spyk(makeFhirEngine(metadata, settings, TaskAction.process) as FHIRConverter)
val actionLogger = ActionLogger()
- val mockMessage = mockk(relaxed = true)
- every { mockMessage.topic } returns Topic.FULL_ELR
- every { mockMessage.reportId } returns UUID.randomUUID()
every { BlobAccess.downloadBlob(any(), any()) } returns "test,1,2"
- val bundles = engine.process(MimeFormat.CSV, mockMessage, actionLogger)
+ val bundles = engine.process(
+ MimeFormat.CSV, "", "", Topic.FULL_ELR, actionLogger
+ )
assertThat(bundles).isEmpty()
assertThat(actionLogger.errors.map { it.detail.message })
.contains("Received unsupported report format: CSV")
@@ -613,11 +617,8 @@ class FhirConverterTests {
mockkObject(BlobAccess)
val engine = spyk(makeFhirEngine(metadata, settings, TaskAction.process) as FHIRConverter)
val actionLogger = ActionLogger()
- val mockMessage = mockk(relaxed = true)
- every { mockMessage.topic } returns Topic.FULL_ELR
- every { mockMessage.reportId } returns UUID.randomUUID()
every { BlobAccess.downloadBlob(any(), any()) } returns "{\"id\":}"
- val processedItems = engine.process(MimeFormat.FHIR, mockMessage, actionLogger)
+ val processedItems = engine.process(MimeFormat.FHIR, "", "", Topic.FULL_ELR, actionLogger)
assertThat(processedItems).hasSize(1)
assertThat(processedItems.first().bundle).isNull()
assertThat(actionLogger.errors.map { it.detail.message }).contains(
@@ -647,7 +648,9 @@ class FhirConverterTests {
every { mockMessage.topic } returns Topic.FULL_ELR
every { mockMessage.reportId } returns UUID.randomUUID()
every { BlobAccess.downloadBlob(any(), any()) } returns "{\"id\":\"1\", \"resourceType\":\"Bundle\"}"
- val processedItems = engine.process(MimeFormat.FHIR, mockMessage, actionLogger)
+ val processedItems = engine.process(
+ MimeFormat.FHIR, "", "", Topic.FULL_ELR, actionLogger
+ )
assertThat(processedItems).hasSize(1)
assertThat(processedItems.first().bundle).isNull()
assertThat(actionLogger.errors.map { it.detail.message }).contains(
@@ -666,7 +669,7 @@ class FhirConverterTests {
every {
BlobAccess.downloadBlob(any(), any())
} returns unparseableHL7
- val processedItems = engine.process(MimeFormat.HL7, mockMessage, actionLogger)
+ val processedItems = engine.process(MimeFormat.HL7, "", "", Topic.FULL_ELR, actionLogger)
assertThat(processedItems).hasSize(1)
assertThat(processedItems.first().bundle).isNull()
assertThat(
@@ -701,7 +704,7 @@ class FhirConverterTests {
every {
BlobAccess.downloadBlob(any(), any())
} returns simpleHL7
- val processedItems = engine.process(MimeFormat.HL7, mockMessage, actionLogger)
+ val processedItems = engine.process(MimeFormat.HL7, "", "", Topic.FULL_ELR, actionLogger)
assertThat(processedItems).hasSize(1)
assertThat(processedItems.first().bundle).isNull()
@Suppress("ktlint:standard:max-line-length")
@@ -730,7 +733,7 @@ class FhirConverterTests {
every {
BlobAccess.downloadBlob(any(), any())
} returns simpleHL7
- val processedItems = engine.process(MimeFormat.HL7, mockMessage, actionLogger)
+ val processedItems = engine.process(MimeFormat.HL7, "", "", Topic.FULL_ELR, actionLogger)
assertThat(processedItems).hasSize(1)
assertThat(processedItems.first().bundle).isNull()
assertThat(
@@ -756,14 +759,14 @@ class FhirConverterTests {
} returns """{\"id\":}
{"id":"1", "resourceType":"Bundle"}
""".trimMargin()
- val processedItems = engine.process(MimeFormat.FHIR, mockMessage, actionLogger)
+ val processedItems = engine.process(MimeFormat.FHIR, "", "", Topic.FULL_ELR, actionLogger)
assertThat(processedItems).hasSize(2)
assertThat(actionLogger.errors.map { it.detail.message }).contains(
@Suppress("ktlint:standard:max-line-length")
"Item 1 in the report was not parseable. Reason: exception while parsing FHIR: HAPI-1861: Failed to parse JSON encoded FHIR content: Unexpected character ('\\' (code 92)): was expecting double-quote to start field name\n at [line: 1, column: 2]"
)
- val bundles2 = engine.process(MimeFormat.FHIR, mockMessage, actionLogger, false)
+ val bundles2 = engine.process(MimeFormat.FHIR, "", "", Topic.FULL_ELR, actionLogger, false)
assertThat(bundles2).hasSize(0)
assertThat(actionLogger.errors.map { it.detail.message }).contains(
@Suppress("ktlint:standard:max-line-length")
@@ -783,7 +786,7 @@ class FhirConverterTests {
every {
BlobAccess.downloadBlob(any(), any())
} returns simpleHL7
- val bundles = engine.process(MimeFormat.HL7, mockMessage, actionLogger)
+ val bundles = engine.process(MimeFormat.HL7, "", "", Topic.FULL_ELR, actionLogger)
assertThat(bundles).hasSize(1)
assertThat(actionLogger.errors).isEmpty()
}
@@ -803,7 +806,7 @@ class FhirConverterTests {
every {
BlobAccess.downloadBlob(any(), any())
} returns simpleHL7 + "\n" + simpleHL7 + "\n" + simpleHL7
- val bundles = engine.process(MimeFormat.HL7, mockMessage, actionLogger)
+ val bundles = engine.process(MimeFormat.HL7, "", "", Topic.FULL_ELR, actionLogger)
assertThat(bundles).hasSize(3)
assertThat(actionLogger.errors).isEmpty()
@@ -834,7 +837,7 @@ class FhirConverterTests {
every {
BlobAccess.downloadBlob(any(), any())
} returns simpleHL7
- val bundles = engine.process(MimeFormat.HL7, mockMessage, actionLogger)
+ val bundles = engine.process(MimeFormat.HL7, "", "", Topic.FULL_ELR, actionLogger)
assertThat(bundles).hasSize(1)
assertThat(actionLogger.errors).isEmpty()
}
diff --git a/prime-router/src/test/kotlin/fhirengine/engine/FhirDestinationFilterTests.kt b/prime-router/src/test/kotlin/fhirengine/engine/FhirDestinationFilterTests.kt
index 964308c2ed6..8dd47bbaf17 100644
--- a/prime-router/src/test/kotlin/fhirengine/engine/FhirDestinationFilterTests.kt
+++ b/prime-router/src/test/kotlin/fhirengine/engine/FhirDestinationFilterTests.kt
@@ -236,13 +236,14 @@ class FhirDestinationFilterTests {
)
private fun makeFhirEngine(metadata: Metadata, settings: SettingsProvider): FHIREngine {
- val rootReport = mockk()
+ val rootReport = mockk(relaxed = true)
every { rootReport.reportId } returns submittedId
every { rootReport.sendingOrg } returns "sendingOrg"
every { rootReport.sendingOrgClient } returns "sendingOrgClient"
every { reportServiceMock.getRootReport(any()) } returns rootReport
every { reportServiceMock.getRootReports(any()) } returns listOf(rootReport)
every { reportServiceMock.getRootItemIndex(any(), any()) } returns 1
+ every { accessSpy.fetchReportFile(any()) } returns rootReport
return FHIREngine.Builder()
.metadata(metadata)
diff --git a/shared/src/main/kotlin/gov/cdc/prime/reportstream/shared/QueueMessage.kt b/shared/src/main/kotlin/gov/cdc/prime/reportstream/shared/QueueMessage.kt
index f10cd20d744..06146f7bf86 100644
--- a/shared/src/main/kotlin/gov/cdc/prime/reportstream/shared/QueueMessage.kt
+++ b/shared/src/main/kotlin/gov/cdc/prime/reportstream/shared/QueueMessage.kt
@@ -68,7 +68,7 @@ interface QueueMessage {
/**
* Constant for receive queue on UP
*/
- const val elrReceiveQueueName = "elr-fhir-receive"
+ const val elrSubmissionConvertQueueName = "elr-fhir-convert-submission"
/**
* Constant for convert queue on UP
@@ -152,7 +152,7 @@ interface QueueMessage {
) : QueueMessage,
ReportInformation,
ReceiveInformation {
- override val messageQueueName = elrReceiveQueueName
+ override val messageQueueName = elrSubmissionConvertQueueName
}
/**
diff --git a/submissions/src/main/resources/application.yml b/submissions/src/main/resources/application.yml
index c75d070b3fa..b4794b2d1fa 100644
--- a/submissions/src/main/resources/application.yml
+++ b/submissions/src/main/resources/application.yml
@@ -13,7 +13,7 @@ azure:
storage:
connection-string: ${AZURE_STORAGE_CONNECTION_STRING:DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://localhost:10000/devstoreaccount1;QueueEndpoint=http://localhost:10001/devstoreaccount1;TableEndpoint=http://127.0.0.1:10002/devstoreaccount1;}
container-name: ${AZURE_STORAGE_CONTAINER_NAME:reports}
- queue-name: ${AZURE_STORAGE_QUEUE_NAME:elr-fhir-receive}
+ queue-name: ${AZURE_STORAGE_QUEUE_NAME:elr-fhir-convert-submission}
table-name: ${AZURE_STORAGE_TABLE_NAME:submission}
allowed:
From 84a511438d2f18dab1e6c7afeefead56e995066a Mon Sep 17 00:00:00 2001
From: etanb
Date: Mon, 4 Nov 2024 09:25:20 -0800
Subject: [PATCH 18/61] remove dead link (#16411)
* remove dead link
* spacing issue
---
.../components/FileHandlers/FileHandler.tsx | 69 +++++--------------
frontend-react/src/content/about/security.mdx | 2 +-
frontend-react/src/content/support/index.mdx | 4 +-
3 files changed, 18 insertions(+), 57 deletions(-)
diff --git a/frontend-react/src/components/FileHandlers/FileHandler.tsx b/frontend-react/src/components/FileHandlers/FileHandler.tsx
index a3123ededf7..4c82d635cb6 100644
--- a/frontend-react/src/components/FileHandlers/FileHandler.tsx
+++ b/frontend-react/src/components/FileHandlers/FileHandler.tsx
@@ -10,14 +10,11 @@ import { WatersResponse } from "../../config/endpoints/waters";
import site from "../../content/site.json";
import { showToast } from "../../contexts/Toast";
import useOrganizationSettings from "../../hooks/api/organizations/UseOrganizationSettings/UseOrganizationSettings";
-import useFileHandler, {
- FileHandlerActionType,
- FileHandlerState,
-} from "../../hooks/UseFileHandler/UseFileHandler";
+import useFileHandler, { FileHandlerActionType, FileHandlerState } from "../../hooks/UseFileHandler/UseFileHandler";
import { SchemaOption } from "../../hooks/UseSenderSchemaOptions/UseSenderSchemaOptions";
import Alert from "../../shared/Alert/Alert";
import Spinner from "../Spinner";
-import { USExtLink, USLink } from "../USLink";
+import { USExtLink } from "../USLink";
export interface FileHandlerStepProps extends FileHandlerState {
isValid?: boolean;
@@ -27,8 +24,7 @@ export interface FileHandlerStepProps extends FileHandlerState {
}
function mapStateToOrderedSteps(state: FileHandlerState) {
- const { selectedSchemaOption, file, errors, warnings, overallStatus } =
- state;
+ const { selectedSchemaOption, file, errors, warnings, overallStatus } = state;
return [
{
@@ -42,9 +38,7 @@ function mapStateToOrderedSteps(state: FileHandlerState) {
{
Component: FileHandlerErrorsWarningsStep,
isValid: false,
- shouldSkip: Boolean(
- overallStatus && errors.length === 0 && warnings.length === 0,
- ),
+ shouldSkip: Boolean(overallStatus && errors.length === 0 && warnings.length === 0),
},
{
Component: FileHandlerSuccessStep,
@@ -56,15 +50,9 @@ function mapStateToOrderedSteps(state: FileHandlerState) {
export default function FileHandler() {
const { state, dispatch } = useFileHandler();
const { fileName, localError } = state;
- const orderedSteps = mapStateToOrderedSteps(state).filter(
- (step) => !step.shouldSkip,
- );
+ const orderedSteps = mapStateToOrderedSteps(state).filter((step) => !step.shouldSkip);
const [currentStepIndex, setCurrentStepIndex] = useState(0);
- const {
- Component: StepComponent,
- isValid,
- shouldSkip,
- } = orderedSteps[currentStepIndex];
+ const { Component: StepComponent, isValid, shouldSkip } = orderedSteps[currentStepIndex];
useEffect(() => {
if (localError) {
@@ -142,31 +130,19 @@ export default function FileHandler() {
name="description"
content="Check that public health entities can receive your data through ReportStream by validating your file format."
/>
-
-
+
+
ReportStream File Validator
- {organization?.description && (
-
- {organization.description}
-
- )}
+ {organization?.description && {organization.description}
}
{fileName && (
-
- File name
-
+
File name
{fileName}
)}
@@ -192,12 +168,8 @@ export default function FileHandler() {
);
@@ -205,9 +177,7 @@ export default function FileHandler() {
return (
);
case FileHandlerSuccessStep:
@@ -219,20 +189,13 @@ export default function FileHandler() {
{StepComponent !== FileHandlerSuccessStep && (
- Reference{" "}
-
- the data model
- {" "}
- for the information needed to validate your file
- successfully. Pay special attention to which fields
- are required and common mistakes.
+ Reference the data model for the information needed to validate your file successfully. Pay
+ special attention to which fields are required and common mistakes.
)}
Questions or feedback? Please email{" "}
-
- {site.orgs.RS.email}
-
+ {site.orgs.RS.email}
diff --git a/frontend-react/src/content/about/security.mdx b/frontend-react/src/content/about/security.mdx
index 1cf78bfd5b2..64e32ce03df 100644
--- a/frontend-react/src/content/about/security.mdx
+++ b/frontend-react/src/content/about/security.mdx
@@ -111,7 +111,7 @@ ReportStream is committed to handling data securely and reliably. From federal r
headingLevel:"h3",
title: "What data does ReportStream send?",
content: (<>
- ReportStream always sends synthetic, non-PII data in our standard data schema during testing.
+ ReportStream always sends synthetic, non-PII data in our standard data schema during testing.
For public health entities receiving data, we'll send patient data to your test environment for approval before going live with launch.
>)
}
diff --git a/frontend-react/src/content/support/index.mdx b/frontend-react/src/content/support/index.mdx
index 2c26c9d1c5c..cf7b9734cba 100644
--- a/frontend-react/src/content/support/index.mdx
+++ b/frontend-react/src/content/support/index.mdx
@@ -243,8 +243,7 @@ import site from "../../content/site.json";
title: "How do I map to the LIVD table?",
content: (<>
- LOINC In Vitro Diagnostic (LIVD) mapping provides several data elements
- {" "} you’ll need for your ReportStream test file. Including:
+ LOINC In Vitro Diagnostic (LIVD) mapping provides several data elements you’ll need for your ReportStream test file. Including:
@@ -259,7 +258,6 @@ import site from "../../content/site.json";
When you know the devices you are reporting for, you can use the LIVD mapping table to
identify the device identifier code. The code is in column F,
labeled Test Performed LOINC Code.
- Then, you can use that code as described in our data model.
>)
},
From 0ef03ffda0ed103ce94fcaa59cbf3d76463aa44b Mon Sep 17 00:00:00 2001
From: Joseph Andersen <12385932+jpandersen87@users.noreply.github.com>
Date: Mon, 4 Nov 2024 13:39:35 -0600
Subject: [PATCH 19/61] Develop documentation for Okta (#15995)
* Develop documentation for Okta
Fixes #13868
---
frontend-react/docs/okta.md | 13 +++++++
prime-router/docs/getting-started/swagger.md | 6 +--
prime-router/docs/okta/admin-management.md | 39 +++++++++++++++++++
.../docs/onboarding-users/receivers.md | 2 +-
4 files changed, 56 insertions(+), 4 deletions(-)
create mode 100644 frontend-react/docs/okta.md
create mode 100644 prime-router/docs/okta/admin-management.md
diff --git a/frontend-react/docs/okta.md b/frontend-react/docs/okta.md
new file mode 100644
index 00000000000..db98dcc567b
--- /dev/null
+++ b/frontend-react/docs/okta.md
@@ -0,0 +1,13 @@
+# Okta-side configuration
+
+Our frontend is configured to identify as the "Web" application.
+
+## Dev-side configuration
+
+Our use of okta in frontend is configured by the following environment variables whose values can be found in the application listing within Okta:
+-VITE_OKTA_CLIENTID
+-VITE_OKTA_URL
+
+These variables can be assigned locally for local development (.env.*.local) or by github actions (using values in secrets storage either in github itself or azure).
+
+We use Okta's [Embedded Sign-In Widget for React](https://developer.okta.com/docs/guides/sign-in-to-spa-embedded-widget/react/main/), which includes other Okta-related libraries for react, to handle okta workflows.
\ No newline at end of file
diff --git a/prime-router/docs/getting-started/swagger.md b/prime-router/docs/getting-started/swagger.md
index 8194d47b68e..0829fbcbd25 100644
--- a/prime-router/docs/getting-started/swagger.md
+++ b/prime-router/docs/getting-started/swagger.md
@@ -62,15 +62,15 @@ Starting from the Okta section in the `Authorize` menu
1. Login to OKTA as an administrator and click the "Admin" button in the top-right
2. In the left pane, navigate Applications -> applications
-3. In the resulting right pane, select the instance to be configured (e.g. `Simple Report (localdev)`)
+3. In the resulting right pane, select the instance to be configured (e.g. `Swagger`)
4. Viewing the details of the instance, you will see a `client_id` and `client_secret` (be sure to mask these values)
5. Under General Settings, ensure the "Authorization Code" flow is checked
6. Under Login, ensure this value appears in the sign-in redirect URI list:
`http://127.0.0.1:10000/devstoreaccount1/apidocs/oauth2-redirect.html`
7. Ensure the application instance is associated with your OKTA account. Select assignment at the top of the page and
ensure your username is selected.
-8. You need to associate "Simple Report (localdev)" with you - your OKTA account (your email/password/MFA)
- To do so, click the assignment on top of the page and you will see all the users : Joe Smith, Jane Doe etc., select your user name, and you will be tied to the app - Simple Report (localdev)
+8. You need to associate "Swagger" with you - your OKTA account (your email/password/MFA)
+ To do so, click the assignment on top of the page and you will see all the users : Joe Smith, Jane Doe etc., select your user name, and you will be tied to the app - Swagger
#### Server-to-server
diff --git a/prime-router/docs/okta/admin-management.md b/prime-router/docs/okta/admin-management.md
new file mode 100644
index 00000000000..f79ef9ee6fb
--- /dev/null
+++ b/prime-router/docs/okta/admin-management.md
@@ -0,0 +1,39 @@
+# Admin Management
+
+More details about the organization within okta can be found in [this doc](https://cdc.sharepoint.com/:p:/r/teams/ReportStream/_layouts/15/Doc.aspx?sourcedoc=%7B313111b2-502c-4f60-ac8c-bbcf3c9b1dab%7D&action=edit&wdPreviousSession=a28aeb1e-02b3-b6be-49ab-cafb30120e6f)
+
+Okta admin potential responsibility areas are:
+- App registry management
+- User/group management
+- Security configuration management
+- Log checking
+
+ReportStream's Okta has the following specialized admin roles for team members:
+- Owners
+- Support Team
+- Onboarding Engineers
+- Front-end Engineers
+- Tech Leads
+
+
+## App registry management
+
+The app registry page can be found by the following side-navigation: Applications > Applications.
+
+All reportstream-developed programs with authentication elements should be configured towards an application listed on this page.
+
+
+## User/Group management
+
+Accessible via the side-navigation: Directory > People or Directory > Groups
+
+## Security configuration management
+
+The policies are enforced in the following order (accessed through "Security" in side-navigation):
+- Global Session Policy
+- Authentication Policy
+- Password Policy (from side-navigation: Security > Authenticators > Click Actions for the "Password" table line > Edit)
+
+## Log checking
+
+The global log can be accessed from side-navigation: Reports > System Log. They can also be filtered by user by going to the user's management page (side-navigation: Directory > People) and clicking "View Logs".
\ No newline at end of file
diff --git a/prime-router/docs/onboarding-users/receivers.md b/prime-router/docs/onboarding-users/receivers.md
index 5ff677f3d70..1d141e11d14 100644
--- a/prime-router/docs/onboarding-users/receivers.md
+++ b/prime-router/docs/onboarding-users/receivers.md
@@ -176,7 +176,7 @@ output here: `/prime-router/build/sftp`
### 5. Create access to the Download site
-* If the organization has elected for download access, set up an Okta account.
+* If the organization has elected for download access, [set up an Okta account](./okta-account-creation.md).
* If you are testing in Test, obviously you'll need to set up access to that download site.
### 6. Validation in Prod
From 13cb0a1804a3ac4199c65c06c320f7c94affa6aa Mon Sep 17 00:00:00 2001
From: Basilio Bogado <541149+basiliskus@users.noreply.github.com>
Date: Mon, 4 Nov 2024 13:32:38 -0800
Subject: [PATCH 20/61] Removed etor-oml-receiver-transform.yml custom
transform. Instead using default OML_O21-base.yml
---
prime-router/settings/STLTs/Flexion/flexion.yml | 4 ++--
prime-router/settings/STLTs/LA/la-phl.yml | 2 +-
.../receivers/Flexion/etor-oml-receiver-transform.yml | 8 --------
.../resources/datatests/translation-test-config.csv | 1 -
4 files changed, 3 insertions(+), 12 deletions(-)
delete mode 100644 prime-router/src/main/resources/metadata/hl7_mapping/receivers/Flexion/etor-oml-receiver-transform.yml
diff --git a/prime-router/settings/STLTs/Flexion/flexion.yml b/prime-router/settings/STLTs/Flexion/flexion.yml
index f736c5ff2eb..1ee010b4027 100644
--- a/prime-router/settings/STLTs/Flexion/flexion.yml
+++ b/prime-router/settings/STLTs/Flexion/flexion.yml
@@ -166,7 +166,7 @@
initialTime: "00:00"
translation:
type: "HL7"
- schemaName: "classpath:/metadata/hl7_mapping/receivers/Flexion/etor-oml-receiver-transform.yml"
+ schemaName: "classpath:/metadata/hl7_mapping/OML_O21/OML_O21-base.yml"
useTestProcessingMode: false
useBatchHeaders: false
- name: "automated-staging-test-receiver-orders"
@@ -185,7 +185,7 @@
initialTime: "00:00"
translation:
type: "HL7"
- schemaName: "classpath:/metadata/hl7_mapping/receivers/Flexion/etor-oml-receiver-transform.yml"
+ schemaName: "classpath:/metadata/hl7_mapping/OML_O21/OML_O21-base.yml"
useTestProcessingMode: false
useBatchHeaders: false
transport:
diff --git a/prime-router/settings/STLTs/LA/la-phl.yml b/prime-router/settings/STLTs/LA/la-phl.yml
index 17b8e1e5373..63ed169bd95 100644
--- a/prime-router/settings/STLTs/LA/la-phl.yml
+++ b/prime-router/settings/STLTs/LA/la-phl.yml
@@ -44,7 +44,7 @@
maxReportCount: 100
translation:
type: "HL7"
- schemaName: "classpath:/metadata/hl7_mapping/receivers/Flexion/etor-oml-receiver-transform.yml"
+ schemaName: "classpath:/metadata/hl7_mapping/OML_O21/OML_O21-base.yml"
useBatchHeaders: false
receivingApplicationName: "LA-PHL"
receivingFacilityName: "LA"
diff --git a/prime-router/src/main/resources/metadata/hl7_mapping/receivers/Flexion/etor-oml-receiver-transform.yml b/prime-router/src/main/resources/metadata/hl7_mapping/receivers/Flexion/etor-oml-receiver-transform.yml
deleted file mode 100644
index 85726a28159..00000000000
--- a/prime-router/src/main/resources/metadata/hl7_mapping/receivers/Flexion/etor-oml-receiver-transform.yml
+++ /dev/null
@@ -1,8 +0,0 @@
-# $schema: ./../../../../../../../metadata/json_schema/fhir/fhir-to-hl7-mapping.json
-
-extends: classpath:/metadata/hl7_mapping/OML_O21/OML_O21-base.yml
-
-elements:
- - name: order-observation-specimen-action-code
- value: [ '"P"' ]
- hl7Spec: [ '/ORDER/OBSERVATION_REQUEST/OBR-11' ]
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 d63ebd3de62..a233d0f80c6 100644
--- a/prime-router/src/testIntegration/resources/datatests/translation-test-config.csv
+++ b/prime-router/src/testIntegration/resources/datatests/translation-test-config.csv
@@ -23,7 +23,6 @@ HL7_to_FHIR_to_HL7/hci.hl7,,HL7_to_FHIR_to_HL7/hci-expected.hl7,classpath:/metad
FHIR_to_HL7/sample_SR_1_20230302-0001.fhir,,FHIR_to_HL7/sample_SR_1_20230302-0001.hl7,,HL7,PASS,"","","classpath:/metadata/fhir_transforms/senders/SimpleReport/simple-report-sender-transform.yml",ca-test.default-receiver,"",""
FHIR_to_HL7/sample_SR_1_20230302-0001-missing-data.fhir,,FHIR_to_HL7/sample_SR_1_20230302-0001-missing-data.hl7,,HL7,PASS,"","","classpath:/metadata/fhir_transforms/senders/SimpleReport/simple-report-sender-transform.yml",ca-test.default-receiver,"",""
FHIR_to_HL7/sample_SR_2_20231024-0002.fhir,,FHIR_to_HL7/sample_SR_2_20231024-0002.hl7,classpath:/metadata/hl7_mapping/receivers/STLTs/NY/NY-receiver-transform.yml,HL7,PASS,"","","classpath:/metadata/fhir_transforms/senders/SimpleReport/simple-report-sender-transform.yml","","",""
-FHIR_to_HL7/sample_OML_20230831-0001.fhir,,FHIR_to_HL7/sample_OML_20230831-0001.hl7,classpath:/metadata/hl7_mapping/receivers/Flexion/etor-oml-receiver-transform.yml,HL7,PASS,"","","classpath:/metadata/fhir_transforms/senders/Flexion/etor-sender-transform.yml","","",""
FHIR_to_HL7/sample_RI_20231213-0001.fhir,,FHIR_to_HL7/sample_RI_20231213-0001.hl7,classpath:/metadata/hl7_mapping/receivers/STLTs/RI/RI-receiver-transform.yml,HL7,PASS,"","","classpath:/metadata/fhir_transforms/senders/SimpleReport/simple-report-sender-transform.yml","","",""
FHIR_to_HL7/simple_report_with_date_aoe_question.fhir,,FHIR_to_HL7/simple_report_with_date_aoe_question.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_orm_20230809-001.hl7,,HL7_to_FHIR/sample_orm_20230809-001-with-enrichment.fhir,,FHIR,PASS,"","","","","","classpath:/enrichments/testing2.yml"
From 60f2bd1d317f08ac768ebbe98eb6d07c3aa01852 Mon Sep 17 00:00:00 2001
From: Joseph Andersen <12385932+jpandersen87@users.noreply.github.com>
Date: Mon, 4 Nov 2024 16:45:52 -0600
Subject: [PATCH 21/61] Experience/16445-Update-gitleaks-config-allowlist
(#16446)
* Update gitleaks-config allowlist
Fixes #16445
---
.environment/gitleaks/gitleaks-config.toml | 67 ++++++++++------------
.environment/gitleaks/run-gitleaks.sh | 3 +-
2 files changed, 31 insertions(+), 39 deletions(-)
diff --git a/.environment/gitleaks/gitleaks-config.toml b/.environment/gitleaks/gitleaks-config.toml
index 883ce714aff..552a31cfa0e 100644
--- a/.environment/gitleaks/gitleaks-config.toml
+++ b/.environment/gitleaks/gitleaks-config.toml
@@ -3,45 +3,36 @@ title = "PRIME ReportStream Gitleaks Configuration"
# Global allowlist
[allowlist]
description = "Allow-list for files and paths"
- files = [
- '(.*?)(bin|doc|gif|iml|jar|jp(e)?g|pdf|png|xlsx)$',
- '^\.?gitleaks-config.toml$',
- '^\.?gitleaks.report.json$',
- '^package-lock\.json$',
- 'cleanslate.sh.log',
- 'yarn\.lock$',
- ]
paths = [
- '.environment/sftp-conf',
- '.environment/soap_service/',
- '.github/scripts/stale_items_report/',
- '.idea/',
- '.terraform/providers/',
- 'frontend/dist',
- 'frontend/node_modules/',
- 'frontend/src/assets',
- 'frontend-react/build/',
- 'frontend-react/node_modules/',
- 'frontend-react/src/components/ReportStreamHeader.tsx',
- 'prime-router/.gradle/',
- 'prime-router/.vault/env/',
- 'prime-router/build/',
- 'prime-router/build.gradle.kts',
- 'prime-router/docs/dependency-graph-full/dependency-graph-full.txt',
- 'prime-router/docs/schema_documentation/',
- 'prime-router/docs/design/design/auth/auth-design.md',
- 'prime-router/docs/getting_started.md',
- 'prime-router/frontend/src/assets/fonts',
- 'prime-router/frontend/src/assets/img',
- 'prime-router/frontend/src/assets/pdf',
- 'prime-router/frontend/src/assets/webfonts',
- 'prime-router/src/main/kotlin/cli/tests/TestKeys.kt',
- 'prime-router/src/test/csv_test_files/input/',
- 'prime-router/src/test/kotlin/credentials/CredentialTests',
- 'prime-router/src/test/',
- 'prime-router/src/main/resources/metadata',
- '.environment/gitleaks/gitleaks-config.toml',
- 'exp/as2/keystore_steps.md',
+ # package manager files
+ 'package-lock\.json$',
+ 'yarn\.lock$',
+ # ide
+ '\.idea\/',
+ # misc
+ '(.*?)(bin|doc|gif|iml|jar|jp(e)?g|pdf|png|xlsx)$',
+ # devops
+ '\.terraform\/providers\/',
+ '^\.environment\/gitleaks\/gitleaks-config\.toml$',
+ '^\.environment\/sftp-conf\/',
+ '^\.environment\/soap_service\/',
+ '^\.github\/scripts\/stale_items_report\/',
+ # backend
+ '^prime-router\/\.gradle\/',
+ '^prime-router\/.vault\/env\/',
+ '^prime-router\/build\/',
+ '^prime-router\/build\.gradle\.kts',
+ '^prime-router\/docs\/dependency-graph-full/dependency-graph-full\.txt',
+ '^prime-router\/docs\/schema_documentation/',
+ '^prime-router\/docs\/design/design/auth/auth-design\.md',
+ '^prime-router\/docs\/getting_started\.md',
+ '^prime-router\/src\/main\/kotlin\/cli\/tests\/TestKeys\.kt',
+ '^prime-router\/src\/test\/csv_test_files\/input\/',
+ '^prime-router\/src\/test\/kotlin\/credentials\/CredentialTests',
+ '^prime-router\/src\/test\/',
+ '^prime-router\/src\/main\/resources\/metadata',
+ # frontend
+ '^frontend-react\/public\/assets\/',
]
[[rules]]
diff --git a/.environment/gitleaks/run-gitleaks.sh b/.environment/gitleaks/run-gitleaks.sh
index 2c9db1866ed..0db19703c71 100755
--- a/.environment/gitleaks/run-gitleaks.sh
+++ b/.environment/gitleaks/run-gitleaks.sh
@@ -230,7 +230,8 @@ esac
if [[ ${RC?} != 0 ]]; then
error "(return code=${RC?}) Your code may contain secrets, consult the output above and/or one of the following files for more details:"
error " - ${REPO_ROOT?}/${REPORT_JSON?}"
- error " - ${REPO_ROOT?}/${LOGFILE?}"
+ # no log file currently, check the output of whatever ran this
+ # error " - ${REPO_ROOT?}/${LOGFILE?}"
fi
exit ${RC?}
From 32b36f0fca5bca40238ea2526d5fccb95ad6dcdb Mon Sep 17 00:00:00 2001
From: Lucero Velasco <165824244+lucero-v@users.noreply.github.com>
Date: Mon, 4 Nov 2024 16:33:28 -0700
Subject: [PATCH 22/61] MMTC sender transform and getStateFromZipCode custom
fhir function (#16440)
* added mmtc sender transform and custom fhir path function that grabs the state(s) from the given zip code
---
.../engine/CustomFhirPathFunctions.kt | 32 ++++++++
.../senders/MMTC/mmtc-sender-transform.yml | 12 +++
.../engine/CustomFhirPathFunctionTest.kt | 82 +++++++++++++++++++
3 files changed, 126 insertions(+)
create mode 100644 prime-router/src/main/resources/metadata/fhir_transforms/senders/MMTC/mmtc-sender-transform.yml
diff --git a/prime-router/src/main/kotlin/fhirengine/engine/CustomFhirPathFunctions.kt b/prime-router/src/main/kotlin/fhirengine/engine/CustomFhirPathFunctions.kt
index 0083feea221..b0e19c12982 100644
--- a/prime-router/src/main/kotlin/fhirengine/engine/CustomFhirPathFunctions.kt
+++ b/prime-router/src/main/kotlin/fhirengine/engine/CustomFhirPathFunctions.kt
@@ -36,6 +36,7 @@ class CustomFhirPathFunctions : FhirPathFunctions {
LivdTableLookup,
GetFakeValueForElement,
FIPSCountyLookup,
+ GetStateFromZipCode,
;
companion object {
@@ -84,6 +85,14 @@ class CustomFhirPathFunctions : FhirPathFunctions {
)
}
+ CustomFhirPathFunctionNames.GetStateFromZipCode -> {
+ FunctionDetails(
+ "Looks up the states that match the given zip code",
+ 0,
+ 0
+ )
+ }
+
else -> null
}
}
@@ -110,6 +119,9 @@ class CustomFhirPathFunctions : FhirPathFunctions {
CustomFhirPathFunctionNames.FIPSCountyLookup -> {
fipsCountyLookup(parameters)
}
+ CustomFhirPathFunctionNames.GetStateFromZipCode -> {
+ getStateFromZipCode(focus)
+ }
else -> error(IllegalStateException("Tried to execute invalid FHIR Path function $functionName"))
}
)
@@ -353,4 +365,24 @@ class CustomFhirPathFunctions : FhirPathFunctions {
mutableListOf(StringType(parameters.first().first().primitiveValue()))
}
}
+
+ /**
+ * Returns a comma-separated string of the states that
+ * match the zip code stored in the [focus] element.
+ * @return a mutable list containing the state abbreviations
+ */
+ fun getStateFromZipCode(
+ focus: MutableList,
+ metadata: Metadata = Metadata.getInstance(),
+ ): MutableList {
+ val lookupTable = metadata.findLookupTable("zip-code-data")
+ var filters = lookupTable?.FilterBuilder() ?: error("Could not find table zip-code-data")
+
+ val zipCode = focus[0].primitiveValue()
+ filters = filters.isEqualTo("zipcode", zipCode)
+ val result = filters.findAllUnique("state_abbr")
+
+ val stateList = result.joinToString(",")
+ return mutableListOf(StringType(stateList))
+ }
}
\ No newline at end of file
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
new file mode 100644
index 00000000000..60110a9f807
--- /dev/null
+++ b/prime-router/src/main/resources/metadata/fhir_transforms/senders/MMTC/mmtc-sender-transform.yml
@@ -0,0 +1,12 @@
+extends: classpath:/metadata/fhir_transforms/senders/original-pipeline-transforms.yml
+
+elements:
+ - name: patient-state-from-zip-code
+ resource: "Bundle.entry.resource.ofType(Patient).address"
+ bundleProperty: '%resource.extension("https://reportstream.cdc.gov/fhir/StructureDefinition/state-from-zip-code").value[x]'
+ value: [ '%resource.postalCode.getStateFromZipCode()' ]
+
+ - name: ordering-facility-state-from-zip-code
+ 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()' ]
diff --git a/prime-router/src/test/kotlin/fhirengine/engine/CustomFhirPathFunctionTest.kt b/prime-router/src/test/kotlin/fhirengine/engine/CustomFhirPathFunctionTest.kt
index 95f92e40785..7080940cfc9 100644
--- a/prime-router/src/test/kotlin/fhirengine/engine/CustomFhirPathFunctionTest.kt
+++ b/prime-router/src/test/kotlin/fhirengine/engine/CustomFhirPathFunctionTest.kt
@@ -2,6 +2,7 @@ package gov.cdc.prime.router.fhirengine.engine
import assertk.assertFailure
import assertk.assertThat
+import assertk.assertions.contains
import assertk.assertions.isEqualTo
import assertk.assertions.isNotNull
import assertk.assertions.isNull
@@ -323,4 +324,85 @@ class CustomFhirPathFunctionTest {
(result[0] as StringType).value
).isEqualTo("Shasta")
}
+
+ @Test
+ fun `test getting state from zip code - one state`() {
+ val testTable = Table.create(
+ "zip-code-data",
+ StringColumn.create("state_fips", "40", "48", "6"),
+ StringColumn.create("state", "Oklahoma", "Texas", "California"),
+ StringColumn.create("state_abbr", "OK", "TX", "CA"),
+ StringColumn.create("zipcode", "73949", "73949", "92356"),
+ StringColumn.create("county", "Texas", "Sherman", "San Bernardino"),
+ StringColumn.create("city", "Texhoma", "", "Lucerne valley")
+
+ )
+ val testLookupTable = LookupTable(name = "zip-code-data", table = testTable)
+
+ mockkConstructor(Metadata::class)
+ every { anyConstructed().findLookupTable("zip-code-data") } returns testLookupTable
+ mockkObject(Metadata)
+ every { Metadata.getInstance() } returns UnitTestUtils.simpleMetadata
+
+ val result = CustomFhirPathFunctions().getStateFromZipCode(mutableListOf(StringType("92356")))
+
+ assertThat(
+ (result[0] as StringType).value
+ ).isEqualTo("CA")
+ }
+
+ @Test
+ fun `test getting state from zip code - multiple states`() {
+ val testTable = Table.create(
+ "zip-code-data",
+ StringColumn.create("state_fips", "40", "48", "6"),
+ StringColumn.create("state", "Oklahoma", "Texas", "California"),
+ StringColumn.create("state_abbr", "OK", "TX", "CA"),
+ StringColumn.create("zipcode", "73949", "73949", "92356"),
+ StringColumn.create("county", "Texas", "Sherman", "San Bernardino"),
+ StringColumn.create("city", "Texhoma", "", "Lucerne valley")
+
+ )
+ val testLookupTable = LookupTable(name = "zip-code-data", table = testTable)
+
+ mockkConstructor(Metadata::class)
+ every { anyConstructed().findLookupTable("zip-code-data") } returns testLookupTable
+ mockkObject(Metadata)
+ every { Metadata.getInstance() } returns UnitTestUtils.simpleMetadata
+
+ val result = CustomFhirPathFunctions().getStateFromZipCode(mutableListOf(StringType("73949")))
+
+ assertThat(
+ (result[0] as StringType).value
+ ).contains("OK")
+ assertThat(
+ (result[0] as StringType).value
+ ).contains("TX")
+ }
+
+ @Test
+ fun `test getting state from zip code - no matching state found`() {
+ val testTable = Table.create(
+ "zip-code-data",
+ StringColumn.create("state_fips", "40", "48", "6"),
+ StringColumn.create("state", "Oklahoma", "Texas", "California"),
+ StringColumn.create("state_abbr", "OK", "TX", "CA"),
+ StringColumn.create("zipcode", "73949", "73949", "92356"),
+ StringColumn.create("county", "Texas", "Sherman", "San Bernardino"),
+ StringColumn.create("city", "Texhoma", "", "Lucerne valley")
+
+ )
+ val testLookupTable = LookupTable(name = "zip-code-data", table = testTable)
+
+ mockkConstructor(Metadata::class)
+ every { anyConstructed().findLookupTable("zip-code-data") } returns testLookupTable
+ mockkObject(Metadata)
+ every { Metadata.getInstance() } returns UnitTestUtils.simpleMetadata
+
+ val result = CustomFhirPathFunctions().getStateFromZipCode(mutableListOf(StringType("79902")))
+
+ assertThat(
+ (result[0] as StringType).value
+ ).isEqualTo("")
+ }
}
\ No newline at end of file
From 4e4e955d8467088f62ed5f17f96d41d18b44c66d Mon Sep 17 00:00:00 2001
From: Joseph Andersen <12385932+jpandersen87@users.noreply.github.com>
Date: Tue, 5 Nov 2024 02:54:20 -0600
Subject: [PATCH 23/61] Update frontend dependabot groupings (#16452)
---
.github/dependabot.yml | 163 ++++++++++++++++++++++++++++++-----------
1 file changed, 122 insertions(+), 41 deletions(-)
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 9222d7f6686..c5b2158da31 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -136,64 +136,145 @@ updates:
timezone: "US/Eastern"
rebase-strategy: "disabled"
groups:
- mdx:
+ project:
patterns:
- - "*mdx*"
- storybook:
- patterns:
- - "*storybook*"
- testing-library:
- patterns:
- - "*testing-library/*"
- eslint:
- patterns:
- - "eslint*"
- exclude-patterns:
- - "*prettier"
- - "*vitest*"
- - "*storybook"
- - "*testing-library"
- - "*playwright*"
- vitest:
- patterns:
- - "*vitest*"
- msw:
- patterns:
- - "*msw*"
- prettier:
- patterns:
- - "*prettier*"
+ - "husky"
+ - "lint-staged"
+ - "dotenv-flow"
+ - "@types/dotenv-flow"
+ - "cross-env"
+ - "browserslist*"
+ - "@types/node"
+ - "npm-run-all"
+ - "patch-package"
typescript:
patterns:
- - "typescript"
+ - "*typescript*"
- "tslib"
- "ts-node"
- - "@typescript-eslint*"
+ - "tsx"
+ typescript-types:
+ patterns:
+ - "@types/*"
+ exclude-patterns:
+ - "*dotenv-flow"
+ - "*node"
+ - "*eslint__js"
+ - "*mdx"
+ - "@types/react"
+ - "@types/react-dom"
+ - "*react-router*"
+ - "*html-to-text"
+ - "*lodash"
+ - "*dompurify"
+ - "*sanitize-html"
+ - "*react-scroll-sync"
+ - "*downloadjs"
react:
patterns:
- "react"
- "react-dom"
- react-router:
+ - "@types/react"
+ - "@types/react-dom"
+ - "eslint-plugin-react"
+ - "eslint-plugin-react-hooks"
+ - "eslint-plugin-react-refresh"
+ ui:
patterns:
- - "*react-router*"
- playwright:
+ - "@uswds/*"
+ - "@trussworks/react-uswds"
+ - "react-loader-spinner"
+ - "react-toastify"
+ - "react-scroll-sync"
+ - "@types/react-scroll-sync"
+ - "focus-trap-react"
+ - "react-error-boundary"
+ utils:
+ patterns:
+ - "*lodash*"
+ - "use-deep-compare-effect"
+ - "uuid"
+ - "p-limit"
+ - "history"
+ - "date-fns*"
+ - "export-to-csv-fix-source-map"
+ - "classnames"
+ sanitizers:
patterns:
- - "*playwright*"
- vite:
+ - "*sanitize-html"
+ - "*html-to-text"
+ - "*dompurify"
+ bundler:
+ patterns:
+ - "vite"
+ - "vite-plugin-*"
+ - "@vitejs/*"
+ linting-and-formatting:
+ patterns:
+ - "@eslint/*"
+ - "@types/eslint__js"
+ - "eslint"
+ - "*prettier*"
+ lint-plugins:
patterns:
- - "vite*"
- - "@vitejs*"
+ - "eslint-*"
exclude-patterns:
- - "@storybook*"
- - "vitest*"
- okta:
+ - "*-plugin-jest-dom"
+ - "*-plugin-playwright"
+ - "*-plugin-react"
+ - "*-plugin-react-hooks"
+ - "*-plugin-react-refresh"
+ - "*-plugin-storybook"
+ - "*-plugin-testing-library"
+ - "*-plugin-vitest"
+ mocking:
+ patterns:
+ - "mockdate"
+ - "*msw*"
+ unit-testing:
+ patterns:
+ - "*vitest*"
+ - "eslint-plugin-jest-dom"
+ - "jsdom"
+ - "*testing-library/*"
+ - "undici"
+ - "globals"
+ e2e-testing:
+ patterns:
+ - "*playwright*"
+ - "otpauth"
+ storybook:
patterns:
- - "@okta*"
- applicationinsights:
+ - "chromatic"
+ - "storybook"
+ - "@storybook/*"
+ - "eslint-plugin-storybook"
+ css:
+ patterns:
+ - "sass"
+ - "postcss"
+ - "autoprefixer"
+ analytics:
patterns:
- "@microsoft/applicationinsights*"
- react-query:
+ - "web-vitals"
+ markdown:
+ patterns:
+ - "@mdx-js/*"
+ - "@types/mdx"
+ - "remark-*"
+ - "rehype-*"
+ - "react-markdown"
+ router:
+ patterns:
+ - "*react-router*"
+ auth:
+ patterns:
+ - "@okta/*"
+ fetching:
patterns:
+ - "*downloadjs"
+ - "axios"
- "*react-query*"
# IAC
From 769b68d3296dc173da8b2d14ba34304a1a86feb4 Mon Sep 17 00:00:00 2001
From: Joseph Andersen <12385932+jpandersen87@users.noreply.github.com>
Date: Tue, 5 Nov 2024 10:21:53 -0600
Subject: [PATCH 24/61] Un-skip E2E test: idletimeout.spec.ts if needed
(#16402)
* Un-skip E2E test: idletimeout.spec.ts if needed
Fixes #16060
---
.../e2e/spec/all/idletimeout.spec.ts | 30 ++++++++++---------
1 file changed, 16 insertions(+), 14 deletions(-)
diff --git a/frontend-react/e2e/spec/all/idletimeout.spec.ts b/frontend-react/e2e/spec/all/idletimeout.spec.ts
index cc42f98b4d9..0cebafa4766 100644
--- a/frontend-react/e2e/spec/all/idletimeout.spec.ts
+++ b/frontend-react/e2e/spec/all/idletimeout.spec.ts
@@ -4,10 +4,9 @@ import process from "node:process";
import { OrganizationPage } from "../../pages/authenticated/admin/organization";
import { test as baseTest } from "../../test";
-const timeout = parseInt(process.env.VITE_IDLE_TIMEOUT ?? "20000");
-// Add/Sub 500 ms to account for variance
-const timeoutLow = timeout - 500;
-const timeoutHigh = timeout + 500;
+const timeout = parseInt(process.env.VITE_IDLE_TIMEOUT ?? "900000");
+const timeoutLow = timeout - 1000;
+const timeoutHigh = timeout + 1000;
export interface OrganizationPageFixtures {
organizationPage: OrganizationPage;
@@ -37,6 +36,7 @@ const test = baseTest.extend({
frontendWarningsLogPath,
isFrontendWarningsLog,
});
+ await page.page.clock.install();
await page.goto();
await use(page);
},
@@ -44,20 +44,22 @@ const test = baseTest.extend({
test.use({ storageState: "e2e/.auth/admin.json" });
-test.skip("Does not trigger early", async ({ organizationPage }) => {
- await expect(organizationPage.page.getByRole("banner").first()).toBeVisible();
- await organizationPage.page.keyboard.down("Tab");
+test.describe("Idle time out", () => {
+ test("Does not trigger early", async ({ organizationPage }) => {
+ await expect(organizationPage.page.getByRole("banner").first()).toBeVisible();
+ await organizationPage.page.keyboard.down("Tab");
- const start = new Date();
+ await organizationPage.page.clock.fastForward(timeoutLow);
- await organizationPage.page.waitForRequest(/\/oauth2\/default\/v1\/revoke/, {
- timeout: timeoutHigh,
+ await expect(organizationPage.page.getByRole("banner").first()).toBeVisible();
});
- const end = new Date();
+ test("Triggers on time", async ({ organizationPage }) => {
+ await expect(organizationPage.page.getByRole("banner").first()).toBeVisible();
+ await organizationPage.page.keyboard.down("Tab");
- const idleTime = Math.abs(end.valueOf() - start.valueOf());
+ await organizationPage.page.clock.fastForward(timeoutHigh);
- expect(idleTime).not.toBeLessThan(timeoutLow);
- expect(idleTime).not.toBeGreaterThan(timeoutHigh);
+ await expect(organizationPage.page.getByRole("link", { name: "Login" })).toBeVisible();
+ });
});
From 908d24e8037b690872f4db31d26dda0f0d75e4c2 Mon Sep 17 00:00:00 2001
From: Joseph Andersen <12385932+jpandersen87@users.noreply.github.com>
Date: Tue, 5 Nov 2024 11:37:18 -0600
Subject: [PATCH 25/61] Implement updates to the API Programmer's Guide online
content + PDF (#16450)
* Implement updates to the API Programmer's Guide online content + PDF
Fixes #16289
---
frontend-react/e2e/helpers/internal-links.ts | 4 ----
.../sample-payloads-and-output.spec.ts | 3 ++-
...> ReportStream-Programmers-Guide-v4.7.pdf} | Bin 356968 -> 383122 bytes
frontend-react/public/sitemap.xml | 3 ---
frontend-react/src/AppRouter.tsx | 10 ++++++----
frontend-react/src/config/index.ts | 3 ++-
frontend-react/src/content/about/index.mdx | 5 ++++-
frontend-react/src/content/about/news.mdx | 2 +-
.../src/content/about/our-network.mdx | 3 ++-
.../src/content/about/release-notes.mdx | 5 +++--
frontend-react/src/content/about/security.mdx | 3 ++-
.../reportstream-api/ReportStreamApi.mdx | 2 +-
.../reportstream-api/Sidenav.mdx | 3 ---
.../documentation/Documentation.mdx | 14 +-------------
.../documentation/SamplePayloadsAndOutput.mdx | 1 +
.../getting-started/GettingStarted.mdx | 15 +++++++++------
.../getting-started/receiving-data.mdx | 6 +++---
.../content/getting-started/sending-data.mdx | 7 ++++---
.../refer-healthcare-organizations.mdx | 5 +++--
frontend-react/src/content/site.json | 17 ++++++++++++++++-
frontend-react/src/content/support/index.mdx | 2 +-
21 files changed, 61 insertions(+), 52 deletions(-)
rename frontend-react/public/assets/pdf/{ReportStream-Programmers-Guide-v4.6.pdf => ReportStream-Programmers-Guide-v4.7.pdf} (72%)
diff --git a/frontend-react/e2e/helpers/internal-links.ts b/frontend-react/e2e/helpers/internal-links.ts
index 641137fb76b..d07ab5ac84a 100644
--- a/frontend-react/e2e/helpers/internal-links.ts
+++ b/frontend-react/e2e/helpers/internal-links.ts
@@ -74,8 +74,4 @@ export const developerResourcesApiSideNav = [
name: "Responses from ReportStream",
path: "/developer-resources/api/documentation/responses-from-reportstream",
},
- {
- name: "Sample payloads and output",
- path: "/developer-resources/api/documentation/sample-payloads-and-output",
- },
];
diff --git a/frontend-react/e2e/spec/all/public/developer-resources/api/documentation/sample-payloads-and-output.spec.ts b/frontend-react/e2e/spec/all/public/developer-resources/api/documentation/sample-payloads-and-output.spec.ts
index 5000be4d748..a9ba595fb43 100644
--- a/frontend-react/e2e/spec/all/public/developer-resources/api/documentation/sample-payloads-and-output.spec.ts
+++ b/frontend-react/e2e/spec/all/public/developer-resources/api/documentation/sample-payloads-and-output.spec.ts
@@ -35,7 +35,8 @@ const test = baseTest.extend({
},
});
-test.describe(
+// Page currently archived
+test.describe.skip(
"Developer Resources / API / Documentation / Sample payloads and output page",
{
tag: "@smoke",
diff --git a/frontend-react/public/assets/pdf/ReportStream-Programmers-Guide-v4.6.pdf b/frontend-react/public/assets/pdf/ReportStream-Programmers-Guide-v4.7.pdf
similarity index 72%
rename from frontend-react/public/assets/pdf/ReportStream-Programmers-Guide-v4.6.pdf
rename to frontend-react/public/assets/pdf/ReportStream-Programmers-Guide-v4.7.pdf
index 54b3b06920c35fd649f563c15217a1f8e563ad48..9a6e9882f1e30861fe97b921a714d9271d1d67c0 100644
GIT binary patch
delta 104830
zcmd3OcOVsd|8PdhDqHqRh>Ww(LCD^F?|JM!Bk9OqCG(gmqwMTGl2KMxvO-Fvlob-y
zdmOiWxwm_tp5Jr-c>5!c^PQhPzi;Ph5S{oJg9QWjnoPOi2Uu(sB8b@c*(
zVFv@$yuF<4U9jW9U_smr6$=kX1s5Av?5g{}TB88iiPmChF`$aImjw#D2LORQn5%1V
zec9SW-NV|(+QZt#3cCmb3Ef{rOpKhw+69F>-Tu%c$HW~EDCO$yf<1*GP{|(UX#{}n
zPXj=3>jEISlK`LxpP=yl@6Z6){)IIGFx*D~40-TL2=@bi@E!bM8Ti3`_`!Ez(7{JA
z7=#-O1|O^o1|N(DgAx0GHvt?z_5L+}oLWUoLEQ|kY+-5bWF}}~1A^MvfcRlxD>y&Q
z3I^u4gu|`*Z7eJ;1#K*>gvA&;B?Urg7s_L8>nvgU?>AP{~K
zoF4?$hJew+FhOAu!tnpF9u{wQt|)GG4|^YbCu>`4)c;`(RkVe(HTSRF{{OJJmc5s?
z0*YJ6${Gn0LZ>f&YX;w5SC<;e{?x&YEr
z2xft_6y&!7A*`@l+F0{jqO7d=g)HGPK^qiY&^S
z!Z7%s=;e>~{$aVF(hGW@2@Z((mljdor
z1aKfsfwE8l7$=Z{vM>M`CzHj*fHJ;ba#~(k8HSxCrzHqD&@6IVLI9jd#*R?;aJ9mc
ztr1Wi^AV2Ef(O8~eI#Vi$6oD#mplOntIBz}db?p)!5tF!0jLGk_ONjAblX3yl^;+_
z3n*>vV{c`xDJO|tSlhzV6FcNU+Z|lU697u6$A_Vz`vTt63ky|eauVN+>cnZsDGE@gIR$Y0KMAA9cbw$h`97hbs$?`(r@|hbo8aBDoB8o6
zC`DA@If(gGX%~jtJQx_gNmb#HiO!;2G>0*?x56wEcOHA-k&$HFpe-vHp5LM_9zns>
z&u!=Hx`V1Xo;vV0
zcu9E1w1)tLBpzftIcwLghf<>1w@<3Ah>)p#Og}o~~;dJ7$PSs1pjMQ&cCRX8&%YGTG
zWmm50FlpYtDNdi5BuW^R5@Uh)9#D{cYWFlaO2-W&5k*LwAatCJ9Y=@z>;TmAw)EP!
zy0o!M9{1OMiHBv8gwo?sE$jekYfmc=dp9ft18{5sl(qNp^pdi(@W2{2Si9`E-@y<#
zP|qIaWrsDM;5ftNuo<#H^EWdjfs%+8y}vVVA4w@`85tQ~Ek7r$(cuD=b+WMa++SA#
zYXaI^Nx0ZLSpz^o2~Vqih6aN`NGy{aeBg%&g0ZHeo4mEXt(_MD2}J@Wd~9(?z?xV>
zSfkJP-~$*g2*+{0-oZ#12t*6i|7{us4#M)7wX-gEPJ*out2_WVR2FMsK(H6VSz3oL
zvM&LC*i$%Y{VpPak}5z|R}W_kC!m!D0GuFk;tb2*j*ybTjsO!e(BnoN#RC=@poB}_
z48}4pR<0;}7h9kL3VVBdFF$_y-)@hxaPiuov~TV1+k8N6R~;97>}YEM0`{9|`onU?
zjlmt-2ykFCng9|)y?_bX-fRgj-Ynu$3esABo>(aC+sgnj&h*8B;SlZ*j7*>&7AUwa
z4+90W`izi`3INo!wzbE~B|mNntjUa({1~=TLPpYk>-6t%FZ=%!?p6N-?r{p@2=b32
z?kEF66LPLVb&fL7frb7n9E8(PhhdDHdI*dOP5un%f8-V+IOGtsVCno2vtU2{&Ma^U
z_z<%oVbDJ@%TIU(yYl|kF&}YqUSb8U`$YPviK*O!+li>JP)|cdH5x
zfcyrk|71a7=HU1j&{&TZDBVY24%-0e!AK~M
zRRGX~3D5%{8G0}eb};WCL;!#t%!3`wgB{F+2?Buo?)ZVI2OOv_zyU!44loXY9}I=#
zwlD!;G)nR5jSiW3kOPVN@7Q=?F)@rY5T70s9Z0~41`7%b?o-?!=3aBUlIIkHB5);b
z2>npwtu_rF1;^WNRF@yZe&k;HBr`-v9l`0(s1e0?J^^iJE}@x7C>_%*f9j_E^%o}V
z?JdVto+78x{oLz0V_8+6)=s@zZ)jp?;~E+L@*4HU*+g}QE;_w%e5SatyK~wJ?Wp=y
zmrn1^!kX3k{DjuJpI}7J_+Br=d9cFfEZ-tZ>lD!n`s}FNDoU7H+4SV2GpSF*3GNYf
zhEOud#Vf^gLKGnolXnt8AdSI`cTDlencr*<_0GL)j~I+aeYqm&Tk5*K?dE1!$|`-k
z)lZR&l_{&ZW@>cUbs>7xA=>7iI$DFPO%e3*E+VeGvmrl5!u58`71>waY%`yM^Z>2o5l_T(4sB}VPG3UXhgq;-g~_@I!E0(5Q56v$HPtNpfBxfN|Kth(tR
zLSG{5xe-75)%f
zJd5aiDv=yf;qwymiq>9a-+9HePgqMmW`0;d-173NV3<-*JYzbO@Kb&r{k;x94iN{7
z*RN^VRY%SR4+dLR$i1PVy)E36ix&RIwsEZ#oLZ6}Mqpl^aqF@dU)y4_9;{M%!d1Yo
zohkz+RZL`LNy({2?en6?^4uGmVS)m_lbV8D{@S_{w_X)k(bdIOd^d5VPh48H)=cYU
zu}_Bvz@OK94s+Gt!U{$$1&>tMrtgOf<)Mx-jmy~5*$
zGa2|m7tS(2ccnN{U*h{`kL#p>vRL?hNhsK1I$B}C$oH=G+$_bxkbhCy|ZF+
zjF~L{Sg&C0xO;n=+`L(T*bT{BPpd*TB^ch%gF0>&l;+zN7RRqQJSl`Ox-OtMB)(jA
zE5avzXe_Jvx$hCzAb%dwbrE@i8`jlo_AgKkTp$goA=Rur
z0r}+d5BD$4h`jEa-)}jl?Wu+C9f(*mPIlgoKbGbwDfGbo9gMM5NyW&v`nYe1+w>Zy
z(NtK_T;rm7Pp4_XP5>JjKUq%jhq=qi0T-Z8USzw>LT}DC)3e|7m<{f*nc?UB(026}
zJ0T7cQMaV&AKZ+5C)?Q8;5|g=*r@D9vh-kq)&JU=7a)UKhA7*_UM@6`{YNPH#`I=b
z#fzCmB_pZJnn_(Z+KmD4gAkfX{c9q6ahfeeq5V}xifs3SwH5VscN4ox65r{Xvg>z*
zBrLHAIwo9hnm*%TC|^QUZPf?Hvn5>}NFFR7vU^lN)%?EDtY5xy(j}m#7rHBPDX=c*
zp{Q;@JD=Wd>xEH&RxSj3+l42f?zHB%g~106!W2Eg+0LvkG`>|xzFdm
zuEe-K`pCR=iIk2!TBm;Ejf7k%XD+NUnqJ2I*xN-yqYzn*NQ
zULb6rtX6BRTuxM4EO>lBVOq~ERz_ipv+rqQP{xdLjd8o;`4{&p-^z
z%s*F9#Bs5Gx}^Rc8pP^#f5E=T+szIvr<6t|pC)qpbh>A4ViVD#1c^D0?s)=3X(-=M
zY*2~{C#Bn1iQgY6J&&)qD=M2pyd^AeFh4M5(JfQR?=y8n&d#akQA2219noEh9s`b?
z0AV77ZE8vBcXfpHloLWvZe|r}I762a?n}bGS@pgNJe6qQ*X8)>$l65HhsO)fmG^CN
zXTE$M*S}(-PZepEHziJPEKyZDSra~u7MdM5i|1y^o`q{{FS>r#>2dnJnR5L`h7pO?
z{Wzr{Z7Y47-NaKB=1(>{;A$<=%-2~vODQeR1`VHdrZ&ZALW@qGO_+}xj?M*mlO|7y
z56S?ci?VcO=
z*WbqUV~iAmEkVynahquZ-H6jQP9-78*{H|+J~m(K_N??cK2-8`Em5UnGGg)OU3u+1
zu=<Xx4;6D7}j{_b5>W?G9I7?ho($&`pzz>EY;Q)RJ
z7N!tE1Qwb|K`boyJ%%5iI?nDpa>e~i{}gFMSfru<4rvFz#Xlhp7k>LaE3`lU$1XT$
z{@1K#{hyf4KZ221D*8RD@V9|SeKku5YpeZerh+pz=83=>-#F_SXHowahQwa-_b?>l
zz`6N%Y*YyR2&DIo?H@2W!XD?5`0VDt1Zjj2mLmVm9Y8Hb>WO?|@my{|vx40!~a`wra?Xdc-mKoFn(
z;@{BUK|1z#ob5-w{=ADIrWkwh|0c2U6Z{~sfdlOMG=Z{6Y+Cu?xBrUMG4pWz^Xx~^
zcHrG254>9>j_-elM4Y1w{Fjg@h`|&5GZsg%@cmmX9^CpjNs5aJ{~5kQN3i&}@|s5o
zpIzjaun61FnE!bfFbGrpmy@HhYg+u$nvi{@{bfz8m;Oh96&G#zDFKfD`Zl1SkU1D~
zcpF?a7a7u2Sq{m
zi&g$|^dssHH{r+8e_h=fA4F9;FDn2P+*;`Ik0|0r7c&qV%9AjM`?_XX;|1=Ay(kBh4RpuR)05zi3=
z6#07zbC6>E0aV03Fa8CnM~nyDgdh9-x`dJc8I}K4!u)4I{TWIuelKoL~+!ua70U4I;!J_|w8l3L>
z0W-ut;QxY}Bc=x~G4+#u95La)zRi9~z+bjG66C-ozJ9vRGBl`HFn27h)
zmTt`Hk==~U%o_t6SFg0n+b+NUj4(p8&Wb%4S=;n#F;>~Iu3?;A{^)^r`U1~xPIr|6q>pH2XU%N+vk~>}^tqtlZ<_|!UHa0zGC&$U{{Aw?>4oKM
zndHR@tHxB<3ci&-Wy;1lGzV{Yot3lY>-0^p&=bv#O;cMFGsuTW-wrS>66q}T
zZ8M6#-Ys1j^J*~^ngd*(H-8-yB(V_FVZIR2cIw;5HN3{;LFQAsmmD&Oh=hB-xG~gA
zRxMSATTqMa3Htg%MOZKAtQ2loV!p_|V}>m;ceM~B2Cue@AkEcuzM=<)!Y@CK@P9dV
z=Ea4!oE+bWGZ%C0ZelN`mFLc?#unBPuN6S#&>l3{W?q-*s^!4ei-4UhPY*J2^NpPC%|MlP
z(ZBkb%`@l1XIRDRjZlaDM#G@TBZ0ncqLCV|AV)XpU-M
zg+Dqy)oG4b>qFz8d!BHeRFTVz*mg8imF4&j)c;A}u=V?C78o{H)#}D~p;KLe{Jzf>
zmh>|PVg#epOW#rj{=sW)KPgKTJ8i_v4hyhztvine59cPC9Hn48Z4*y>-?vhfX!?!@_r!>t&B;r1(}G_6UxpKCcUu8=SXKIGwsz8!;%W8^wyyvs@%1Zdr3R`Hrlr@Ud)KNi&b{k|U!D{#GS{8QV}InSoJQK)X_ufB
zotaFf)ssxem-%dizZa@JMAt?$QY_SHUz`4cYN&wYi)ACthh1w4E_7s`cXbwv#6sa_
zlK2<54m-T&qPp0NqA}sd{4|%^g2&_JCg*9q@n@r_$I%9vf!FAJ`AdfaCoxbXVc+_(
z?Lz$cLVTjPe)4{ApR5~rvc7bG)idHOvzMQpJbTZpV|r58Yr&6wz3HVTRhzS$5JRY2
z(wy|8PHMMkv`4&o(Is@G```|0K1+i)m&NI%UDc<2BeS40SE%7+SwP9Jx@RXzqM}oS
z<$0*ypLI*hm>H}j^q_kArXR(z`LLpfGJ?hyrEZ*GEO(}0-T1vOiwyONL0TFI`UiHw
zehl~I8O*bGq!W(~uje8t<)Y(N8PAJ8jEEv8$hoO&Z2F4-<}jT<+PYE%Z{-T7fg$vzdIq28zt4u&)5sSvUAB19`cV8LUd
zJ~FJjXAmKH$@WP_*d=tZfXCVNKp?n5q?ss?ZZaio<-VZ)G=My=jx{+OFw7!66WqX{d(II^o*}e&FhINr(oq
zIJP>Yqj&uD?Dks9jHRqC&CWr8t)=xq5Co6)_72-HREnw`C{}d+c}UJ&U0W{U{rV1CTgo+P
zd^HOvk%?xJ-|2!HZqIqhoiwq>mm(V_bY1m}s~(`f?20=go^x6$J8uG+J1>i0tsWlm7RqI2R*jzVD3k1ru-MYZ0wc;tdcFsmjehz*)z@P
z>qWSSYda=GR-ep2B#kTk{D_x$@J2q|C-L#@YxK>AD;ZBmZdK|rKs~<_=?Y9w;Jk$&
z`W~YiMR*d8OGo`M8ga(ZZz-$aD~@rAtAivZKnM&2{#KF;$2L<*xjMOeXt`NfS!45y
zzZJy;_xn=Rtv#e%o!wkr_UnNKv8hidFKZ8=w3N2A^?vy)PyyS);^F4%WPus2!KWeI
z_hV`)YVkuJW1tW4&!a&woc;Xcq`n!=dQ&b_f)oMBm*^C^fskWRQVB|bj?p4!
z5@o*n_1KP^8-(H1p67ANhbS@Tldx9+z&u~#*$#;(L1(xeVP9aX=H;E_78bHg*FM<`
zeqIRNCE!An5wW>9wuS{Se$A%5+9Yzk^;}m%c43tF<&;GkjZM0Hiu%lH+$wIaH;DJ#
zQ{T{_2j47pGPr#o;4=%%@m%R058y=M)eUyVyi)FwOR05vyX<28rg*x;pxzW^^L7?n
z`QPuJ#5L~N{{9$8h-DMCx|srvtFq-_n)Hx)*Ww95(w83<_M8Xj{l%l>L-N)V24zd{
zXE2RXzgTUMQso^}VlF$UCT|`a37EMmM~}Dvrl60A{d??m!;h<8`aV~XJkcZtcEsc~VK#AMjc*!FY5Sj|3G$%MYg=TzsIh;lb1JX1!BPqt9|yfP+1+j3whY
zBc#M0-b=sGO_rWE&i~daWQc6r*+scSDcEV2!mhS!rA?=BrI3m;n$7y71%HVOUJ@_U
zz2j&LZ*Y-PY#&|7vo2-bDT381wlsgquTfFg9!j)UzL9suFgo)eNBO)y;ge;=KC%bd
z+P<^+SzxKu2HS>#sd)EfE|Y=sYJXWdduHC6Epn-7&isBH%g*%W74oxXwjuV@xFlGoqtJnn*&jW;8+n>oV*u!jj?|D&1dTE
zrQu^ccjN5qd&6g0-NyJP=i|b5zii#|;w~)hYkJv3-|{#KsJtq?w|rlnDI;G`Fs{sv
zT|w?caAN}rit1}ufau3frTby@C#e>4)QG!sxVg#{=b+d7v#r-B#an$uX#{AON^0mG
zig^Z05Vq2$+ubDZpBB5ECUExFw$kFUh^FRxO+mjVVbOnSd1C{ZI+nYQ>y*Iw*WiZq;dfHk!y}_)Sik?CiDHOO2%Xx!l8+(hbl!1qw{3<#zi=
zA}`UI>2G6Ds8O65-h+NuT25qzXe1EV}X?Caa`|T_iHu?+Y
zX5Z>;+QWoQ`751vUWoLc?zP@Rw~x?}i9J(>o~(<(Pvhz@ZO?6RFz#$RuOQ#-!cnovO*6fJ<_
zydmEovxGc-r1KP$cTxT6IC)0(#nnt6ntq80woJ`n3igxrnktgovIQfN=quEjA@RF%
z(|M}QtvTmIs$b>ba+C|4g>Q)0$bWXyGbtb3`FM)`d}ugaY;fwuW&!H*yC@wL75lt|
zQL3RG-`o6h!#dJ7%2-LcOqhk7{nqw%(DPmK_~rMCJCIXF4ODw|z8dsvj|zP?v?(7@
z+ri%gPQ@+-`dgf_AU<~eu@$=J_9)FY_Pf{88-pLF))Ab|IFEEsc3BpAn0~rdE{T4-
zp+@ooMUm-c`el#TvZwqF@SR*H$S7g`<6KO^&{BzoJ{I}&nU6*;h7IfpWHhSw!)q7oF!}Sq~kq9iq4hn)ObxS
zV#j|fgpmBir&twpX66UaNV|i3Y*z2cD7U7&472pI;#mwwbw3j*hKEPUDa+6Rt`Eew
zuw8rC_S7==d^m4~;o|ckPgNuelFt}sJw-+zVPnWmOCLU=S8`pBJBQstv8XI>n@51g
zPEW53S;DP-F4_ERrs?@-EKu|t;BxxKV|en};=qgE5tgZ8O+YD+Cn>&e+##*-&8p@FWEm~48-C<4l~;$&5ZJ)!
zm@RPro5q?plhenZmo0lK%f^tj(kQ%dVZJ$x&Y=q>DePE9ZVPV)Sk
z4t|Yyj5=k;*Dx4!g)nth1o}QF7lrWU_t7tjkJV2`j>sBi3Py7|Ow$wVttk|Z0m;qh
z*9hs~iQg{zgh!`HKzSwoX;)>lvexc~PpAM(3za|7@sJPs?$^EP1N=%!z%N`bWXsKuS;s|NP+A*23!5xx4D_j
z*2_LLJfAeUFLGyyV2`5avn-LF)YB)osRM1=zSMr7ln}eezyv(@h~ajJNGi8?v6W#J
zL)E%MWbBhK6>EZR$C^i9IHEDxS}lWi=OA7ExkK`ksK^Sfw_|o3-tn8RoOv4WHXijd
z;3@V%UhKeWRi?fNIE-BCNWIaipkz3mM=^f>>18Q->XK>6tgp9S->gYq3^1$?5jh2r
zQz_ijDS7BhC3<1b-97%k7YVC%upre|{%3LYil~~Y|Lv@ptG=HS7mu%^8J}nzdmvF9
zy;r0`_Mqi~67^TQSo715E`v2!7cVfAbF|2Q0m8`&E_l(?({5a<5!F^y{BZTmv)FvR
zNKfJiV>uG)r5-w0!zLx_&Wrd2!V8uOl4EZcHO=1A{8IPH`o`EUSLge!x8&3Bhgi{X
zY-Jy>aCtS;Yf*~c1T7ZSCeNS;mAGbjbDTV`8Sz?TAk_7g7|Fy(dSv)2i1rqWjijdw
zDfcuv+sCio?R(+|exG4Gtrq76i@)pZidP-7C
zmtFZ~&f--j2`iGwKmFFB(?@V+j?xGWZ&Ocp*rmL#r5>6&pM$TP4CP?3AuZ{
z<>@11_H7m9>jdZa2LQ=HT@7eG_4ujLH8IVv-gE_bcI?9jfwWHZloi=UTJ@r%n_pth
z&S%MUYzOI$t>6BL0%$u!V7goa`UQQ*y?QAs7D%gF8S-+0gnL5zdE7svlhi!s*g7UlDG?Q_1WKzNA!-m
z?%5^t#_#2Oe}7WaJtg^)8>3-9VACY--nl34MhU%p)58CL3eX|VlOjdPb1oF-dgVz8
zRB{BrG9;Wg5>fFG^
zY`{6&1P34KR_BsqF%jK+7E)>hMHz8q{SgoWCCx;+r>EE!?!A9p5%_E@p+u;9q`yb%
zTV~P2C>Nr%KKG|q7rDMRnWqzT_g$?>$fB#9u7p?0UI>EYzmCZ^pH&rpAl7lF&|*`G
zXWg=1ko@?mt{Wnvk$PQU(aU6C82eno;~&Ux3%#k)sT@Q%?zveAzj&TwRKyu~jpFl6
z$avSqkhUq4-tFD~OEH7DU#?S>KB#r{?7Lpf?QYgF-_m52wR&pZL81KR*-ShM)AyZ}Fz>E)Hg8;J~
z`tf;nZ|=)X&5y~c?~Uq_u&PHqAz2Iio+CH%t|Q8SeK2=DVQX)YThyc1#!&20?PB+r
zV_7W5-<;feTV_AWbBKjy`D=B0GzcoI35U7{|oV=uZgn=z)1Uh9)5Y&!xi%Ovo()@SjSD
z5x6|U-;@r+!GDwvj^a5ZJHwYkq$#97cjb*xp2{gRb5~jl4*VeH;O+2-dXzBZ-NtygL$&z_lCx
zuzy&+h$_YUr{@nNc
zqm@$w+o1P*-!trRoi%n2w#*t^=m7y?%L0%PY?<|ui|mub4>0}!9lfXh
zxljTq^R>lz45+P-oP>E?FPq$w>MWJiWn#vxpiq}@YVVL4;s;jlR
zY?>84LwLJSbi(Sh!`4fgX0ng>^KO@!Z5=}L`Ie=8nrp%&|#*SNc|spG1m
z_SUc!(=VDgdv=ob<(-SA>2dt2J*w6hXt(`xl;6{$qM1j*LWPPq*;ZkaGHT^4=1
zvDLM%5%Xr~=4->d!^uS#WAq910=JXD$3{VMmN=DH?lB3oy;`s7MX{If+O
z4G)4Eiq-8!;bpJVB*m+CW2&25Y@9UL+5yF@JtK-}zr+!x~
zvr}%)j9ztrd(~sYT`uxb9HH_0_MXpGvQ`$(@~kd@Ui8}?xlhSxKl>F@)9HuZZ@&sD
z3BL*Pd_y#q!7O1d6dN!BlP}kN7)3}$eC6#_7iKy3_SjhL;0GOgkTD6=@S|Y0!2n)S
z+X@?NOWqX9B^0#{u&k|`i=3tPgxnJAbGb-~cpIsefAX$8$5LVOws+bs)_mgXaZprZ
zmd~+Mo80K^ZV&C{mCq5UB>)5AUn#DQc7ocnI8I86X}dAX3pR&b0(YD^D^ed377)2u
z;22Y)EgU1JE+sDMOEvr&G+2^&?Go#j%#t4Gpm1k`@0qdFL|@0xg9wk^&qi+ArzCTq
z6oAo-H#|$^_)^FeN)2erHx0?;Z^Nf!m;rUcQ-(*;w37y!R(g{mL;1vKpAIrsLX&NQ
zLR0$l^`>o(@D;I(o?W&RWN}`p#OfyGT*dCPXHN2G@4aj->jmq2;I^
z$i6Nla=T%2=`3G5`((v-For9R#>RN?QzS>)bepCWm2`OIuxwj=$Qtp8IraH@I*tLi
zlAdHYG|>H8g8*Xi;}`0tjNx?~=C#&4q{~q>*G(tVwhG8SxQ!Vs^erAm6nA#4OL6%;
z7K+sV9QPvGWa6TGi}P$e(|Jp>7dupTUo?=kn0fw3mqqmJ-n2a$uWNadVRmX)V@~Z^
zJu6YVqQp~GNnT2Z#avPS&Y{%amz50odzmL!{c_Qw`hIUo-)YTGZW*XHTAGEvj2KjC
zs#RXg>FA>jAN7=L&FoJK=Gr3dycc+CSdtp8419dX`1NRUsHP9o014$6kM!A(7;C%>
zvoLuDOw6~Wk`J;64%6CF@jWi$RN=hg_^QU~T*G_sx`3g%4*RwQJ
z$UA-kbQSpInb@2Y8=gdXz9+4?$0CjH@e@*5bKDtaiAb0VY)`vht@V|vf}YNJ+fUze
z=o9ZOA`K9_85BICHgDR}LaZG6vPPRF4MMFmXWDo&_(or|XLx0CY-NiI53f{kMGUY)
zHUFKB&+)hOO}sXPL}`+g44FK4;)}gV8YEQaOwn>D<+3*lG1Dy|hp|!=p?Zm5&;=4j
zpTt|Is4I=Kq3TeW+xX{|6C*D+KZXW8Pg}SMMLlOYb8jFgh|H0>@KLxy(7Umc_|ULn
z)xG4KX|y9tY2~8fs{>1+@!nKo7+HT{NuEzG&-1>A9*){?Jm!|lyxs(96Fo@jZ+AIU
zES7?HtPXUPu{Z2VbfI%IhDvvIzMr7Ma7OumEd>Nn>}Vp&hfc^|PG|7;jyskRusi5!
zx1~Bdd`|OH(i_F#LS2R~Q?pmb1v5%FLDwU*Cb%~M9^E`#hV3B<OCi#LpQuIhya2
zEqb{ea~V#bQ4ta77s4mIl53Xce}{G3^b)q+`aC$tkHTQ-EP_TRj!Hvuo>`%xg*~rv
zr0lrq9fIa7m~(u{oaG|5srC4R4kueuzv|Rp7p*uS0fLA!!$RExd73fpNNp;7D`v}T
z0AYllVGE}k=(`mo2gwbmA_@LhqP(?NC$7;h+));bC!$DNQ*$@&-(}-kS*fVWZWbH$w`69IHotbfiJYda~ERl)q8Xl6N;tFA_6HAqu=l0OG@83u|i63>FJ=Iq+Gifh?Z1$i!6yA|}(c
zMs8+cMajjJr_m=Hcrz-K=drPI@QaJQg7?vs3zdwr?%ijJ7MFt7UvS^&BkBm(YFh50
zE2&wdQK?W=vu8JaDm+}mYkfIaO`AWbJNAldT+f9hR|=SbhFQ6z=Id#vuVHofJ}TRC
zsyuq;E^DOyycSSl+vu5R?;5$1;+KwLNy=M4c55%B(YWFE^}wibnIv?c%EZ
zFUymL-nE()K-47v9Da|w%J37VQS!-nnffmk(ctnjBv-upS?O0
zemjRoIQJ2aWm3lXGfK~T1B+_t>^V!S^H_qM3ZeKFKD=}5-8u1WhG$CbV_qyrcLFDg
z6Ll}@FPpPOk>R1T@&WIeueT*Ah0ghgR<=TEQ>ICj^b`aNKo0pBgLEE|Dj%(M&G<*?
zcu(;#Y38(mB2JZDZIdg}HI#WJhSoK8+z=yyUL90Ti&au8m4@0lo*nyE^*v$F7wIZ1
zCs<`N%f#-JLg<6CeyzUHQeXX=tqAn73mbC2R>6~-f
zXA+cm-)?IRJK@KahTTT4GVh%DL`b**&h_>hExA5es!mI^O2?&=
z^CB$>Dx^Ub7|o+-I`Sd=+G7hwX5)_JXOu?x;{rKk%jRXq6HkU8Q4k16kWhU(k)u}|
z!I8OR#Yt@jCuzCS#cI8HkK(G?m4<1w{St95+j7v&HEKrE-f!!D*O+f4VxSkqK^bU=
z8_62HEqWjFGg!q#0$B!8P(2%AO^S2oUsV|E-?_vx%F$1Q6e&AyouSYgDDJ$4LS%mU
zPICsqoNB-zeNu@@_UzN;uoA_fClie&u#X|{Qd)=jca3Q&{km4$Dd}G&W(PdF%2oAP
zk`^z
zADNFl2`D+Fbi`ThX638%0e8meO=>z;nNC4tt!gI4#z&ZaA{7X}+$>B^5iPlEbL&j>
z_+~JLRmUrSR#Ra{Exf2p!d8ksHeCx(#_|2qwCd?k>wOs+T)w!Cbf2=EQKfSn`{KYxbFqK={>{W7rq~Bykxu@1pJ}@zeE4IBC>?KU
z`*b6Hos@5n^$XYDw`%oh-%(
zs&szSy6WFzmPlfuTGU#%FuA7hsVMq#&yWC>KTOdAFZPlVEJqmjKIq?LUHpz8F|~)J
zlpgqw$C5ki_}9t>GhElv&z#)foJJ^AP(TQPjXnrq+ex7?ga8bH1Pcnlel`1tP9{*r
zy?JxgPd!p{i)(rMr!!!)j=!G)1_$H3*#GtrfAztkFw9Im0fY8WTxA#nB!KOi{O#H>
z1ajY1{;%%sl1iZSlY1X&!a(lFrT*dG*qDUSeqlZK|6c_6e!`X8&dbZqQy2)mjJcXh
zAor6)9O+uXwU+(EAz*?6*tftCNW^{?82jw50Jf(704~3FCOieqJ}iC$er(_=nSkME
zkqQ_RB7ki!L16KYZGwj*p!?uQU=z_$pj+2gwX{xhCH
zFac}_2?T=N#}fi~;NOqP`un2|KhM--VaEGcJi$Pim=pqr{~UW2#9YcJ5EDK6Y=a=K
zGvsdriGKuN5xA;!jCd*mLjn~M4aTy7fa9NE4-&n0t{vdi3?z&pw?k-@olyRx{3u(Oh1Bzq9G|ZFgt$ifP7o;oBmrkBc5pd_wQN
z+q4O-y~fvdxziG6$#$&{^<7j{;T7TcH^yZld2W3kZFHSW-LA9cOH1A1??)0g)Z*Qr
zmaeF&2`Vd|u@#Q29^}&!)@5kCc3mOs0a-eqg#_YmQB%{Gt5?>&A7;-^Y!2K%&t_4N
z&b-}3PR~^y+iG0ldHM#MP0{Fbr`p1O^n}x9Kg#0-0Sn53C0dy}ReG9Inx)s>{*`zN
zh5y9P=v5J!nQtCDBd7Uc_hh3h*W(6>qR@v&Gam^@eBTAj42@5HCMC6NIt~?VOZtSG37ex+5KD?S
z9ag?-*e=O7JakKa2gdlW3#j7Vk@&rm1ezz?&`pXTtMw_rK0+#Q9-sb=vP#ASihh1S
zpZ+L2xet#i)p{HsHJ>o!HxKQs50FH^BDtF23gUDXC=7HhJo|OMMRmE#p>BT8TIlL^
zD^At|t2T*ulaslsCiQP8X^QN)PgFi38#hUupl;YaW*a*MV&OX{8Zog+5JSg@|0d@m
z44cB56KITlcE|T-SQP8`1b&O;d&igI$|{T)xHMzkjrBJC(kS=DKl4?j59?Br3gELNnOktGwpzPjrTN~a%rv%UjL;b-8<
z>`GOWb_W6cikqSy&LEz%=WlR-HA(9g95^K*w-uy%?=`Yq$Oq_yXCY-ge9I%CiHtDz
zyh!ry(6dg9QPOa4pEHOrXPi8eFQeIWI6g*-ug{!#)iF(uq9fllzZs5yT1$klsNIue
z@Lv7Ul*9TNBDyWIQ$XL7AwV^6r`*%C765=j1;Gls=1PW
z#!0WbmcrKb<9dsI@ba$rg>HOmMh_?3v&F0~1Tg{2+z8(gcXDNdwrc5Mr%y7=ei}goWQ#Nrc!R=g@tKZA}tfj
z=dn}V`Fd9p*Md^?AdTfSmJ!t#Zp}F7Q#?{XIm8V|;Gr2DJBsM)Q0#&af5U#RnSgO?JlGR8b1+J}uxF1xB(f
zG>N~n^DAc#FAQALzXIo@QDL7zz2>`0-<-A
z^#jlBD2rO4uBUGWsPtzy&_AmgpC1o4;-1Pb!FzvVSh>xlhmP-ft!#F$co|t?xiMqwZRV}KeaNO-dVk9;le%_px9eJ|Gj6{ds>J3;`
zv_r(2Y6_|%*(I{UyQm9)G)hFEbB-pke|IZI(e`4Xh|XsJrcXcAT$G*uvjeJiFdwRU
zvCyK6zMx=U-Rp{d%8+@?4%*_n)A&|=1%u9cp64vJYm~dN9M(~bSMOyv0W=LZBjj%i
zQ)HKp8STESX$k5#bImSP7E&%CiWP0UtN$9NvyIoY9trdfVd-+FXWM!?bVaY|IO2rl
zay#wv#W7L&{;R;L8&{-mCzo8Q>*5uwk4+Y^X}zC$r0g
z`aN1&N{VI{PmUwAllnaOyhT%Y=o}YQ4gd43*ij`WVTw1s>z4!~kD=x9Uz22MQj(1C
zmI*ptGtLbOq^nG9gu9paPbhqtsfMUs$SX)u*)E|xd%Wt2a}8=l-2ATH3}>Q?DEkRb
zUcu}eB4nf4ebsG>K}6{R88W~JCW(nDZmdCSz!e^vF))Vz>NhRJFum0W4EDrJ8)+)h
zuTHTfjZXX2w!U!Mw!MKqg_eC(dymMwPS9#Z9$u`sMl{3eEKYkCsb9EFnhIsS&<~hY
zU%e9_W_Q!1!};6X)<+_vE2jqpp~Czx4M>Y`+DF6~L9*pfyhCkjh+kK`mqJe5=#d}r
zy5)IKrGUbCggJ3?uDuFn5gq!e;ly9OmQ-KJ*4Z$BaY-4oVF
z)H>JI&?T_=(IBGoniN_#N1i>ShVXc^b+XV`k^O-j!y!S_xaB8JXhCRrizFo=z9qahIJu
zuh4D2O+&xnB61wgimqyP-Vf&r0b%CExhlQEa>E)G9a1KD_gPTm{5QLWG~dQnp~18~
zkhu+qlo1K$z0A}D05WyZ&KiS|CGl00N(F$bVcgdCY;T3V7Ux9?gR0qF`O__(6ajse
zi~S!s{U;BEfy?%u)_dAVPB@0MF0)?e95&iSbzHl6$0zhxs>gRa1=IrBN4}D~wrSmF
zS<+@2bC>&~6`W#1-d5fUb!0p9g}%1%U}+x|5=IZ&ZIkv(EKV~ey8w8D;)7B>h=Ty{
zB2;4;7uUAt!oyaNK>F8+1+N}H%n-~wllPxjCAPX};YE$26Xdj-Rok9d1WMe?BY~?g
z6g)Ool<2M`9^2^BcmacMfdzGJSd-b=+x+9(s+?vE7>M!
zJA^Cx#%Iqp5p(^U>xZB7=q;D_uOXs6i>)%`Dn7Zf8X!%z#C>7XHz6<1p^Y33nhO2Y
zv@c!S#!6$rPh|Z&xGA4|snl{0uGU#my%~jSdptFLx!vqDytCn@2vFATP)z{>U+ks=
z+|HAw4>dT4iyElvBZoE=ROPv6LA?x&h4H?~^9*?AVxe-`8GR*5C=1(klW?L73>5K1U1=-aZp5H7!$n{3H27qu*3D9z&mNfWl~BjIuS2M(1#>D0DlbE_GX@vC>SN3DC^EfqD_C@M{sjx{
zxJ*mgcgNg$2(voqr*J8Lm4Gq-Fl3SN8=aBT3#62i&*Ya
zW03c)q78A?@EVoYjon}VB=UB9UL-V-k}3*w-$03rhU-=u!f#;MqX$)iRg2=oP8b9Kw_)<(
zU9aw)HykPV?95OyN3YU^sV=`sL`5n89TE{2@CpW;^`96qZykvLj1lvXK!D#4SbwPy
z|D=%rgAoHnfCI<<&ud#Q=0BSavT^*Ww*AAj{2zYiZ`785t8L%HlDPiN8G7Sa{G9~z
zCk_nTZ=wuv6BZmB?XR`%FP;>zBlTZ5L0H&1>EA4;+5YGSvJtbgzBR>&-}FoLtpDBa
z6!47;Lkets1VjDzO{w2nrN283{_>^yPnsPpoJ{m@jhMH_(3|TxD+?Dr2Qf3pn@)l0
z-+CSYMXTeND8c#(jN@PQJ6M3Lg~&Cts+P(ylE+uOJ;_&Da=r;Iy|pJ1NCpHS_oT
z_U(EVQ;fY~%zl1vb;jhu{LG4L#H-!Zz1vX@o)WONy0h8TA@Mp~o$5V%R(<(Kv;RI7
z*MW4dKL`P*0Y1lxVUw7V{`7*x&d{iAC`YMq)#`GX#}|#$5DhYbfMD^k$pW%#62BzGD%sRc7AGu(uiO
z@t^uM9XBYU4m`82W+r#W^O~rG5fi>VQ$1t;us|}xM%i5ZuDc=TgRgzQEEQN!ih)=Y
zj+GDwb5VU;JQdk$ISbReV=<|y=LS}PbqnGr@4sKaNQd
z`P9RsAoB@f@7sK;f6Xj7M181xhWUFB9hauTX8k7AZ}C1xIR!`XWH)&TCIJthBExSK
z`7W2_H%;Lh@H(Xfcl~H{x~BR+mc}i6HYC~+DmDnQ9)onv2
zo#fIxEoq)t{?CEgli9n(ozUzb+CV)3J?F7I`toDVI-d;tHgIy3^rhhf%gJzRNu`n>
zHq5}M+o??+`;xV)_qnqnRBEhr_L6&=cypLRaR&RxgT+;?{0lsu0d
zE#?SJ%2Vr$e4a(HtkMZ&8e{Z4Xa&GI_yD#
z*KyGj?-!IeOzUam$B~Yy%1vTwNW+Pl4x(sB3u9T#(ACqVqBbJfz~JyA&aPD=2C8$M
zQq(++G$+6^#tho~706J$9vmM4U*Gs*EVEe|VXarsaPPZdz){d~ckL0CYv@QflP0qf
zLM^&-b0)2L=gE-2e%_3Yc(RZw83pC!dwjIyrtwF$zmT;|$B}xt7_p3zMLp4IaCb#A
zHyZtUwx1`zKt$+SwbM+pYTS~1P#St3gx!((GlFN*xI_Z!oa!~lACV~)puFvb^wDA6
zC;-X+U4X8!mEQzOBwE!+Xg{marF@37`>TQH2vV*r&l^4E@#7V_%P##?oLZTs%yN)*mN#IaFT=
zNp0y1d+tx4Qy1kk_m*ZOqBTQsE&DnGZ3Ne3)kiFjAq0!&+{y;Hc_ZE*BbQh{wlPyW
z0kYKjR{kp!h@KH8$1t9B;1@P&_H8@=mjOBnoAU~0ao`l*)
zfeuU}wdtcYQ?HVpE4cj}ys|&@XanP79~G7DaPz!WY78zfgmE5p2t_~A@_Y6tWRQ8S
zv<{JGFy9AN4&iTO0s(bY^kZJ1xu>MoL?vLaq{o9QU$Z;Yruu94!#DoRgS+n6O7nujMj45^DNry6O6D9TrxC-
zL39%f1=f|;gm&R$J!;BZ7jc@QavW^z!UCLnLg3n2a0$~pN2ZT=8@1@^hDl0x
zJZmm_s*dNk_nHBXgET`fO>nr1gv@9yD4CT}m4<+qaip;n;5Pga)%9&ctjv1C5W9vxfXhvd-$EA29BHan21e!)&9cVVy9+
zr6Gl|Z;V@1pSL4cslBoG-C>q{cl2kX))mhQ^_4`K9{+mI4s!NW5qY;
zD!{pVk1YhJVk!~9+QEANU_qB$lx_*`%wCNhC==}%wlg%lwS`*CF02E;4CeVvG4%zBi5nS|0R0xfi84r%)VDpy5v+4Mb`^+DG}Ftpxy=B)9mQ7Cm+
z4DZID7@}zg6hl@06m4CO)Vkr{iH)p&tmaCvJ7VJRIdAELbIr2B4JK&olSodGGa8k(
z1U72|*y-EQhb*CLCX<(<9gZWdl9PF1+%rqV7%#Fyv_D|@cBM@cCL)T9K-agM^iSOL
zW?*=*q(!ukkDxM);FhtM&
zu+pDK1@Cw3(6F5Buepi>6R^2u6vDA!acWfnEzMIiY)idKK(%-tI$pFBXXr%g6X*ez9HnO#e~~
z37)AgQnUh$Z0hMt;D|N*sFfPLH6ejU@G>dIY<~6%M&AJSUP@~
zx>K=SZLs_#gP}_JZ>}hSF<_x(m
zLG3^}K;FT$#u8=Nz
z5dWm*3R>~XO|f&1%d);QlD52m4XK%mri^;4n7PV=`YJ~;GxyPOhqSnfZfglI04+#%
zIjrj2o+j-g4=FK*50$pQ8Ei}zM&OmP;5SaHJN{>7hmhO3M#IrW9pWz0$f#ef15m4bGOCG@_nz%^b=AgT
z2Q(g4o8A=-rr4`i&(0Wl`mOPtU9M}2;o%ooM_RdZ9W-Y9xvHpUV_@Vt#!s@1Hnn{q
z|4asfkciTt)iIp3ecrG80A-YmENAtw2?&95VB6aQi(yoK)m
z>A!K&E*L;S3OMTDbEa7Tnlr`q+j#Dev;0%Q8rN?NGIe5h_FtMCAlwre4)A#z9Q8kn
zmja$Vfg${{F#Heqeih5N=uLT3cO`pULpufK|58}O$;I@K^|B4UsaYBS
zA}o0`>-gjB|Gr@SX883lifY!str-6{@Mn9I&%6ms-fBd~x8$X_oxhc(f9&IL{{6qj
zHGlb$|I{J)FLJ|xiqqf(7XK}Df6Jc!jPBq3iT{M(zfn-$(EVk%`WJLL;$mE|fa=rW
zSbvB2pJK$g{-zW9CwPCm;r#*cFZlm*shq(7G)9c;PpX?=&63I)@c(}h0Z9J};=dyT
zym^cMoe9ACPtGeNe=q?WF8*KwkP;!fp$uggnn&ZV?44k`x4OiMc+K;Ch}V$vcD0#H
z%hYO{kdv-0mtn^(q}@w5v+EE@9g0=
z9xZJz#~{H
z0a0rkH$QG0)~^EI`^OF$&=IpiejVb&Pq4nI`5FJTt7p^UQ#B_cx8RRb7gx_06MKY5
zuf63j-riU8^tW?cIeQy}QpYP%_VX2iy>pkm83HwN_W&RMF@0GIbEiz-VPc0CDnaI$
zCa@6h_$^Ym4~Blnrrkqg++eFOce`8KyNCcubN5o<2&91ijedV?069j)mcl{EIlMbvIq|kWtm!XdijR8XmxE21w
z9RwVwDS%O8Z_s|I%uo`SK7jR
z9nQ8nrf2>rg4JRkW3jIkHhC5jn(B3TL>o>Y+3Cm=cUUVb1ME?`eC7ycA5F)sL7B->
zzlT!Gt76$%4mSOOIO8)ht5m`DhhHM@vWj?CgBE8s`DuO_oIvSj*NS*g
z$Y;vpU^kx3EdoDz?fVb##vxYq6Zd&UG7CRi*|e`ehp2L@k13O16!zt&<ds#=nzR@cm
zA*3|fz3|gFJ1$9sUBhDxS+Nxm3;>=}^RADp3o4mm@CtduOw}&KWCKBj%@b?Ju$Zke
zY@b$ymb1|uht^u-$Idbzu){i}U{^VpfjM8{z1MLcZ9dIi-Joqg+A}XwYi0rPm`N!x
zpM=HBD_9aH=U|e1(46k3lv2K!O?-`%XY5)?)wA|Z^g_lpHM5q-WJ(}-3OEV@o9?nh
zB=j^AU>$^2ceD{JCDC-3ewZu%rr$4NC-$IiYNp9sjn%7d_jQ3jJE`&GOm0`K^4=t==fopzt5dNfi{@Qr6b(n;Q(XMk>ehs
z018Zkg!d_{&7qTDRp;W$g9nBBpc(_3%ujLgGH9yVXKF@p;w#n{NQK@9xXDqm>C@#^
zR2z$aU>?JA*$4(ZKoJi7imxxd3%eFBa&u>N)g?b3PTF7iArs5hPcIt4`Sj^jcXz?>
z-uzg}ia5#(nL%k9Xlw(UMG78u2hIV13NHTjI1Yap^RDPCnd7QyTL4M~=?0!gTp5Y{
zYM8gS
zJL|lD+^TT6%@sSDN@6mlo5AT@uSnXeDeDWTDwaVPzPPIL#X|91oXj9-v*oX4U0Ic!e^~lX-oM;5CSK0;OF5?@8;=bTF2ct*%N20$O!W3=|DbKH0Ef7#^n--
z%ahv6anso%k*q5KvXrF*8MK7FiCy`!mM3a1Z3y5qimu9vcm&VLv{yg~-B?@(G4-LL
z6H^RjEv-}Ij{`hROPI(a(%8XmP;fq#5nEM#$6wkZ@9CRfk?%q*!zMVhIoZg4-E$3I
zn$C9+KWtG51Pa}QUj?~j9V4o;K@AR7mS5%!CySKGCSn&Mu&-Oc_in
zHYgN-cZ?b>(xe2j@=oJyGG7nj*zy4HL6mgd57X!tP=o7A1=Dw2h7-oGu)+TmX2^#l
zR(xva%T5cQ@uH{g{B35<6w^Rg)Oawv2vaL=akc-p7QK=mv=KB3|!lHl&Up0c8sC
zNEOJ<3eAEO+!Si-Y74`Lkp5aHW*^%p>P7URQ8CR=LbJ#d@db^fu&+}S?Unb
zhQe9y12~z$B{pOCiA0^Jye=|C-1h8cvNUV?X=S1r+*=d5AoAs0;$5I*$$pdGlYhBM
zo=PazM9OU(650~#*;;Lidf{K-;4I$gUICXb8{3NWgZ-XBU-G^^7+v8<-+<2Hb9!03
zYkc-NiV;-2TZ|s%o|B(MbognG+&BDTp_6Km3_!*M4Y(o`SO9c!+*vweuK~KP@`QX+
z(&g$P3>FJPD98LG^qxarP698FDc-p13V{62*fnh1I0a{!FmTsE*sR{)m
zBIuo%2bf+KXRb{6d#;-#IS`1M7fE}zio&|CFK`;ntCV^ehiSxCu@RqPSBZnVr`M
z2LMF^rXp!fyZ+4(N`;zV%u6{9ftOdYYcSLCWk`Cu{R2b<+W6<$*l8XtP^*3>#jW5}
z2s!GKX<-KMxVma(=Yn5|4|R2QJ0?y@6L^;8i$m-d0&}?MJO#z_T^_}JTHJ*qn6?Ts#1lj6t6>K}3OfR~M
zaMJBbh{s(w;L`51g(k%uAng2$zLtstv^f4yI)b{_eVKCSJJijB${?2(ANf@1(l*-d
z)W6I*6JX)`hsU|FG@SBb$2s~HEZLTrs%Lq(hx&JfcvT&zOjE%5Z`4J2$w20ttpk{J
zB>ZS}#Sli&44#T3Np_xJN@0ekVfEPpOec~AXg%5MTGH5D(Mb~PwUQc#^l9g9XQ-@n
z(y_Wgz682ajM*Ip^^Qf7RCyt`w_E5cc$yyBBXZu7DASNk1a8nTifCoF%m|^DU_);`
zk7HVZRT-`y^81)L*I-!i(r<&CzA>>1?ikis7!Cbf6<9H>6}^}{O3otR-HN{l8`Zt7
z<*2HG$tfg=X8RO2{~0uloqb=K{g_?svFIg!Z!VqYO1$-2WCNR{pl+PT4ITe}rqap=
zz^xjaQAF744ayB}_BzM^AcBFUF2aiTExBE&%fu)~BoZy6IZW#WA|`eziwY2P4a(!j
z$nYNNW5NfGF@NqBE1qJ96<%cdGD!-K_*)+`f2L1cedTzfPM=8tTN52|XMPUoX(j3}
z&5EG*caj}Z9AO)Ks!aMX58oX@>ANL-E;P>}DZ6Qe;J=S+va!?bkzSLBs+eABkffWJ0Ezoke-+6{x}Ha@s`SU3jUsj8~u|KjVHf
zDTIloY4Q~=4a<=Ea;*-bFgoKWOkcim#U0Ns`_#=>IcHpw{j
zVco0d>&INYqpvYwm>)6g*UR${ODB~C$u1(r@S2)6rsU<(@+Ryb1h!h|ezG8Ja2E;2
z9MK?9ZGL7FG+f3kC~~P4%bImgnCx76ZJQD3Y>XNHN_R}NZ9z47O
zF$ud}?mT0?bFy>W1@zV;#>XZX|j%
zzsSAk^e;kbFuTruKz=yhwF^-8Hh&?a@4{}Mk>IMVJ;NvKqn=mY!xseR@5X%2_&(fz
zY`?A2!TzxdXfo)A#2ZtWs%o-kzwEY3Xjzo)%*^Qp$ga7Ytj8srtbm9U96EBia8Cv-
z4+W_o4WNF0JlOn6u+`m8F=TDlGt}9x?k2Gcr*kS<^gYLGO
z2C{2A$;OOpeK_&8*WH3z63kb)1&`ZH9I@%V2CyLHQPx$6y}Jj`na4$SG)5wou1w~G
zE~PVBW$n!G8ANoOva>HSCH}@}W9S^hZSv62+ko4!@K!+~6*do#vCr{xOz*R;z%!gqA9CKcwM09w
z1?qF5;;()Npl_-(;!5J@ohPSU@1xkz@B=*F69qfsjyU?VXn}hNo)~R+%{5Mzn3QaA
zGEB1MCB}vE_=B`ml-u2a#tyF3)bobs=F^&^@hWr-VVo!Ejmo*AslrK7(ov$N-{gL8
zyi$Sm7*@_H-2NIqA-EAuMTCk?F85unSkL~ohS}lv`okQjtM_5FEC87{fRK1h!XJ>i
zURCW^2SF#qUw4jVTHA6tt;q?AKQ1?KjxrFqrMi_KhHmyDQ%004gyEev^m}*BJ-(KQ
z`0Ds9aEJi#q+BG%Fy^Exj9?Z|X$rW~=m4IJ(f}}LVFFS3cmR}rcA{AmjsXJr^l~4b
z0@La`6lg+K9rTw72T1Z1jB{T;B_4qMS}bgUJqP4ZLg>le3fSw-hCaW<{x8j4H^&WV
zO=^Xh4q7FFPR9358~tdQ{G8)t%iTN
z#ZdBiW=g1!Rx)?-$ebuvBf#M*9$tD9RB1>(s-WFWK?_Mhs2T_`#C>l%BgF}r%Gxwd
zPzM4GvbANQQ@U)jt~dwF23Eh)X_MwTh-!;y-EnbCJHVLy@H%ed9CTa@H;Lq4b0`V<
zMrZi`ZE}(-)=_SlMu0%wIwZu|X(Z?%KcB)Z
zBw7t@G)N*%C#mQ5ArUmz#j5}yP?yoO6M)rYdAwb#Jgc#GMLYa9!uEW$k#T%Z*+ZJy
zPW&L=eIiBa2xeUo3Z*8rtn%2V8;+X1kg#12>?i#zo<<&5q6Cdt9yz(iq^fQg2;sna
zw-HoysJGU^>dE3sTd^~bSoJKeGWc~icM=h6ItMaOodC7dDf3PCr>_A08*}w*Wv9^V
z>dsvD%*m5Ltz9Ed_`nUl2mGDIL4V^oC)$UWsd_4MxB77Y`C=wBv3TZXlK2HVGya{>
z5ql<2A~wtkODu`fxn0a4rIh^C9+z`$F_$G6e~dh{7;+&>*_;_ciz`!TTu~O|xH&V%
zMBCFS-^FFyz89%*)
zF^BiX*UPgHvo6~$Cx>ru=f@mB)D_0fs(1xn${nk~U}0`nVJe9{1s|qpnD(M7l#W+Y
zQt9`saT8Av_a&P9jW!-s6p38lFiC_UKdFizB5!Fjey4U+W2y#BuaHp8fSG?Kz5j+Y
zIDt96y+`g6W}L>VyTg;6f-6o}O&K76dBwqwC!+iDJhxMYsJixYh@!qchqA}($M2q;2IEH|w1NS49l-R2h~t**KX7gdpq%mllOhCw2LcmJ?}n$!e5xNi*v``WMR
zYbYeOOG1LGbGMRgB+GH}X~xGFC?WT0o!{^I)?{#mf5rIvt$yTSW_{DWGO@GMza?kB
z#rx2+ar_U6W-7mu*Z!h^W&Mls?OQs}-<)q5f9XU2G|$jJvR`ILeSOOk0o!1p#Lz60
zJQT~JisrQ3+FU$xt>;{yT(8g@y4kFXI=0%v4t_c7!%>>%@7JiK+Vd~Pka9Hhxy+^L
zo;$K~V@X!qemo2QUSh@EO8b2vc*CRdffHY#ba2ByZfU_tX(TZmuwmh)+L?2^v)!cg
zdJgvK^2X1bpD#2A`vqoDQkMDC2*mrNpI6)ZYcX#^veY+Eq;m;*D)Oz=DKr|&o`6`^
zuS$uryiz%2lv|ByS5t+=^?3KfPT}nVFV|CVlCv)XL<4twQ*rJ;U0-?mK6&eNg|Xz1I{qxn{<*+3k)d~;yIz^
zcXH#Cb)x!=UL3npr@J64Siw)6o0}00JumJZ*iz}dFLaPT=HV7S{7zl1Mxi&_|GeB(KUD>%Pq!
z@u-JX35CxpV~ir%os6qGcGy|2s-;{CpWIR&%?V&J1;{)jp&I!jT?->52HD7*g?eR-
zXywnso(W&iSd7W5PFn?5)}LKtA!P>_mE?k+&n9ce8ucT`aZ+4ef8zGaeRFgd}ZXQ;eA$q9k2o>&h?Ll=HVhpawaaN6#;0Tj$*{*m+drcsP(ySBN|F2ctV<|X+q7M7;tV2
zHrn$MWH?vJSc6c(PUw%0SX+mxnXM3Aq(7mMt%ON^rL-}Izw}eEvR;7fZfv%4e&N`b
zX@vw(EA|61xD!vqMFOus5#%6oeyZB@1}}?P7za%H(O5Boi1GMMrnN01?6nUaHBThP
z!=)hz3*IM_bE=!-&tRU;g%I_lPq5z);?uzkE>0_v-C<%U<)9j*8oQbu@zeQ;?R%D
zVS|8<*p;UvLR(lAu*&${rZ^O-7ita+L=tow^<^o-4LWiy-vACpFR`|HGciJp!0;1H
zpATm}QI)KNgmQH@+vu&)XnTro_!10Qxlg!O05|ja&Lj(J|HIUDIv!HjXnRIT!N1;Hpu&zML5`wF$yb+0bQ?JfZ^O
zV3|))M=jkPn+NuCyd3KU0)%pMSRB<+dH={w+(H3n8WD;E4FR!xXr>IZlIOjuQw>eQ
zI(AC6KgAwP$^yRgdX23yaeAeEW8?&Y((%+o>SenAi0$)VHOojhj7+QDm_dd#5S!{Re|0J!tl`#YY1bJYUz(Z
zq0i^OfC)Cb^G2MCW?X~A2Y!jPko5(oAbmQIaU;6(aRk3gr~&U
zF$Sc&Nb(0bAK1ZZAA0uM)RWV%*uB=7to1ZBD(xI1B=2
z5B(v1V1{R4O#vvJ!q^Rpi48Ll5?Otpg$HBF2GdY&d@bf!Yfm{Cbz#%{Gm7>@-
z4I>5DMs`I{^<}~R>p*lsT*3=nMS=o{wt*xmCbH*xT|b5c=}n5L&1BS#7K_u$mjBA`cAcp?b^6-~L7AUDPcxES<2pJF36)?sq38@e^cOxXh>YkQu=N
zY5F?!g>>JlGf>p>>gsP{Fga78Euh=5@h94o>BjeWa$_g3F6?h~1s8A8o*|GIi_8wg*G@nPqwlW#q=E`u
z>2Yd0a)JITG;s-ln%kd!l`_s+P>Gc(8z<;a@08)>jv@pB(LqWBXvF7Yy;3RdPSB6G
z1kDN?EU&p-gawVnwpm84_|VFd)t+;VM-+BB1*8p(E4nm*B8Oq;Q>Dxq9?@~o7`?9;
z)VWH}c&(p-_5nTiB%33II3`r|Fg1d?Kx3g44ci-r??e{>{L~u5rlX0}TK|-)?EC`b
zN2a4Z#jm}jgFIJ6YX*LL0!nn0)>B162rUGQ0GfWy6n?%LCGM4@r72yZ`BBgD*R3NS
zA1%=?^1?B}pNbqxmup{Tk>*rapt%=p;a6?HJG-CqW)<~bK|P+_pr|n0^GGcn@ODuk
z{K$H$f>JcKerUnV))AspcmC2=t)Tap&9~JXOWj06cYu|Q@k5U+$Tzq-=uXvlhPDeKzSgvi^SR6d4zD5?A
z$?yeRE7l$1DXxC6y;Gn&%x8983K=l7+CMBS-)-XI_PaQM0W9C^p^IP9=K4V^{U}u!
zw_JOCg2Y|J1GZ6)8b_lJYOlpng$W9y28K!#hf5)b6QXr>iT5Du-mS8M
z`GD>4tnqZa5Pd#7b5#U4SEnR)yW+Hqv{Y|i;rjssAwyHh?nq>F3MExQ?HMB{ka+tj5G{BOdwFNQd&Wl|c
zdHSgf9tqt)1&TTcS&i2mgK(EOn(46pJzHU-q%V&p@v~W2Q~U%i(Eo+q;-YSYsX6V^
zrBG<&jEj|@!KM>&>$}R(A?rQ(v;PqEg5X!1P&U|c6@bV2RT47(fHv;q?*000c)``N^^MX10HEU
z{fzO&DrVrUhe+&dYXUfoki2M{X^a3!w6xyEue$`4k?n8g0mnbxBQt;arE;SF;g|YW
z9#|7tCFib&XA8!;xmP!|9+52Y7*vaGkV)f~8b3bG*Ksbt`ru3B-gh3n$9+h9XDTMW
z34fmo#f9s6=hW8HPN2)sbGg?I9NO7``26WTeK6M4!qP@hfhLzXOH*@3L?YmJYT(@4
zwKgC>V{k%_3veNv*20bP%FiF070@nhNg`%7SUPT`M@aO1#9-v)?c(I<&H6-wDjgcW
zwDsPUFjhEJG$>SF6qC|0Ei@eJay)9Uu|YctvFBSEhU-b+R?bix^lDgmMpTqu>gkK4
z_myeWF3H6MP??FW*MnJ?z5sx9#Ry1}2ikN;{A83lraD<~`YHuKW}X8BzYm=5
z{O&KboB`$Eh5iY!r~^$U-B6zd0hTxXtwo^Hb*lIgjzU~DG3e73TLi#PE)q^~21T&m
zih7}9S7hHsBE2?zuVy@wOJncehIH_gK}TtpT2t4IJTup*0fJY8W@r9Fi|sH~ZDpbQV3#3uqk0RFUPKS2CRUAp>U(Nw**>3)>C;tN
z%l#Vk^|USVlKa%*3h@B^n_*F55Y9aH*NNdsbZ2fRV8aMAUL~9E
zqJ*~%t6E#2PNZSCuG|Q&0fZbZ%_gv>WWK~*Y%E0?$pe5bM%S>9Mm-Wq0_B>ZD^bhn
z44oQ#;>NO-ew#FmK9^Z;-yOQ&yj#8ryMn5lD=Z7nxSjK%gTg}C!suWq{80GZ%Z5r9
zc^D_MA4n7@U}ub8;e(eQO2bdWK{PPMxCG6L3$cs9wJwoTO|l9xpe$U4
zX)|2%@u#K5u~{S>V2$X<*_ymrj;brLTDw^hb6jcDCdhcF#-Z^|`A~Q1sTXHB6I=az
za-I83vz)8ieNcWoc{`QGw;(R267OthnTek_7z$zb|
zeXMNisw0;UFC>GmTehISt59DwIwM5Kx+&In(2d)dXrvTb&(!QbBh~DFB?QsS-c7fE
zcs31msy;umHNtz}QPn*;+SBa#gfhU3H@qTz&N|Euw{;>HVxFW+W}S4VIODZH3So5*
zTXqjf!s#ZfwZ`W#x50LMAQM`$G`)%OVw*zrTPeNjsw8O+sH-o<#K9b6ro1y3X;j8e
z7uW1HY*CLV0Jn~p(Ged(>1#xjP;NCbE>TmW)VJApeIORf#==^pc8aWkODq4zUcN9T
zenTxj52`Jlis{)Pi+vCC(9@`y+sq&04Iv58wyhgv%d6BBR~o)nI4XB!VCn7%vG#X~
z3eQLNC+Ax=01kHTvrG+;f%|NxI#O(~O!~t5rZy6KP7kCYvCl*yk|^-=(r{VJYCMM8
z^h)`3z@C|v2OnA!l%L2TMTZD`e>SpKou0YBY(ujb9a+Gn%ccK10F(~W%3V|IXI^Tbu;OR?Z
z7GAkq7q?ks$vXh~gfo6Z{d}cNA$aVEwVX$^qk^Gr
zpaYKMdx5qTp0|iW+1}AWHH)|dmeR$AJILPT9z5$YRB{)xZ3+Xv0%Nuyc#Q@a4F72~
zwz!+ykghlZiFjIq&`BQ_f#QLcj%wruo?+wh0COs)*>;rjym^p)cP;IyCA7NUc&%6y
z*fIoUb`O#j{W%&`nXzsVpHepD!{ny;r1Z{b&-qqdOXQL5DuydBmxLn86l~^W1%os(
z>xQkAMK$jV>pVrivPlHD0E!qO@MAhpkCkM4tsiptXfjg1$u8L=enQkWb=0*pxw6;l
zA*NH4gopT$>);?EJ=H6#ZoDxk6tu(uq(@?@XDltHc4{kGVTl*E4fG?-k9|`A0Ni%X
z1#px)7A>Efg~g|KutN3Q?c9Any5{qkL^=3C1SbJ6w{JZT9qt*?%~bq=m=+s9_tO>|
z4l4f3s?SKJqeB$^-uw(phqhr$l7XtJz;9c4Z?}}fQ;=|HQf!&Qlu(49+|)C;uZz{l
zG(X#lSf#f7%_zqZ$gM=aCqU|aG{~`DdDet9U;g-@
z=$(z=qZHzlLx_EQI6YR6NPhzbwlUcF$5TwnH6ati2AmD~#{8h6fS8Ps^uY~ECPbF%
z!I7nUN}X4tuc=B?gI95KKEg>f%26}wuT|^YC#gTnDH~>Sjn!}f#>6a8A7$i7&`y0e
zlV}oxt-;b-F18K4MheDbo;yTF=;8$LVBCuu-qnA~MBOku{SsF`aA1N8D!`>gGiadd
zoGH9+RxUGHD>qOHQU@S?t>4#QJht@OdN%u6-EjzBQif4HM;!@g1t89mOIwxpDt}fr
zPCs@}rS-P^Y9mVvpuls}7B;?eMM`z)+2vQUIqV3QR!@1!wsJ~}4xb{MuF+tk_Rj!k
zF->%hstpsJ)wLl5NWbQ@w>{POhfE{wi;1
zYsw(b#0(UKgy2&DE0vpx@fR!nKQeG*;`q1p430mf34f6e{QmCW)Czx%f)ExFl@k-A
z6|uK-e#@_P{uQM0U&Uzr?KEq>6qVw;NLcW
zYxn;Xd;iUt@ZVkMpCT`Q)Atn&%}p8po^toc_HTBY&i10NPR6FrZz*|yhyniiU?G0<
zR{Uiv@b~2N|2pj)xWNWW^Do2Bf3xoY4~3ooVm$m^kI%#iG+cZOJ7;G5Cn7{y%!o|4
zAac(c+@nB?F>OQh{XB)QlEoxa0%m-v2NhqbEw1yvUBpr6>#FV5W>&~N7yR(K$E6Q^
zhFdw;{>ppYKP#7IPZiL$~JcS}Q7^`mS*>KQ(>TrNPk(
z1_6G^pzqh>K8UI-{&ay5kt(O!2!|GW=bA}&PU`zki4jMdtkT30)b%RcG&$SnGN|y8
z`Y}B*-UbreF6)#k*{c~!+Nb?UEa^MkIZH&N>nP!vF@32kR(FI_Vt;y7@FN47$AXnJ
zs1{Z|3v}CLes3o8T-45aR18b5>`Q;z*ER$_w4M(z3|J3ng6`qpe-Ey(DR2bUU&H8M
zWBwmO{yzg+`p>EMOuuD2|4X2OC~tBOpv5FOA%Kzdue6r3D7o-1Ms%@T->2Z_v}Cb3
z6=OQ|PHrD!=rCW+kZ{?^Z}c`bZJKvykv(M%zD^HTb_IgV-1-dVdJ
zIMPC;prkvGxs*X-6~>t-E5#>g6ghmkz%80ib9jS=<87tSEC&~M!7{XyxXiZ{>Nk(?
z*WMYnU<>g&4D-bZ@Xn@re6*iBzRD4;Pb^z5kyqE?HjnrPkP*`#LXE#jrvBdqO7ky3
z{T4s{FM;~AYKDpFZ%cH$VpDn)&}?O#KzA-_POyBT)UVUGskhRFAXZ2p0c?$KRW8
z?%yU9Z}zmmUwwan3I5NXh*p0YXutRQzeMjZp|s9#QMZ2`c^tpHZ=C=1uxyRxvF>I>
z4|Ml^=_ZI1zIL)%KnAV6w2%R#Q#(LrE)3oD3^{H(90%z4)Qo2l`pL0DpU!Of>}8AW
zMbbujo*8iGIqzM){6Cbv1z1(v_C74qNJuwqKtTkg8|hMzkd*H34q?$q3ew%(9nvjb
z(jnd5{cXW>j-Gq}zvq4r`LP>9SB_S4gPUt^+UcwYLoX8i}B_
zsLebf!F!}MeZ(KPZ3huJXRO@RHL;cT@ngzLp{U?+mNoBy`W)@z*?sl}=>KDCBx!47
zVrZso{V=5jmy~{(wuoz5+x*;L_@__&$^UN)0%>IpZA^4u$ZBet=z`4kK-%DW6nJxV
zYf8{xlP&stf$x7V^aSr+%mCc4(xX-Upaf!K`}ybwhz|VZhJ>yISQf*7PFU{`{XJIP
z%K~q*Ze^|m-m}=y-0VNa+;5Nu?&@Jge$av8VR5T~xviNE0HV1sQv4Ik!&1qAL6Nf3
zwfmccU%2j5(H|V#_x~p@J}q-w8_;`Q3v(+Q@Utblnx?;@dr%Eb0&vg5ACg(v!EyHw
z3HJp3DeR8{^PYqUVKxSa)*yXbLml1!Ch9*WF)%QKOHPADJt+B$q+d$j4~xbpX9#RHPO|y
z)&-fFgUg5ij^$xMe{ilp<$(9Z{we2ACjVI0d(Wh#nU=Yxl@7Qf`QP0FVEaE<=r0`~
z661r8j1Q^p-kU%)Y`+{ET%7*r*M`5G3H(^nZ#v%l^)Dv}7wr0XKr#I6{x^Mvz!4>B
zr)yD6mgIi1?-JAM#k3!8HEkLiY%x4zB+;CH*Uqn4z|@xt`wt)*lly809}U
zdQktDpZpj6KM(ze9}J)26-Zvw#85|7(?%DhX{H1ES@j*{_|utmG;K8hHxvv%N2Y&J
zJn;St#eI&7nuUS>%UflC3ZUlz{d@--^FfxLxs|D=&Hdl@hBgKuJxycX|33ie?p^4w
zaJkp~FEjp~tAM}1lQI50_9qYbs2DgvGP*V(TMLk;t&IUVJsN6j{>)zgA_g2~Kl7&<
zc$4=(Q`;Yge@MuGIT|w)6Yx7n52^csBgX$s-S>z7MEKv4-Ls_$var=MG1R8Durjp!
zX-H#TN05c4q17Me)A;Gne~lf#Lhx6lJoxCZNMZUFDSs-!NC$@ew~g-^eE%24_ihK?
zKhaVc8eGlsK3ZjLbS-{bS<1@L+zMo44zjk@GBvce1`|dNvIbk?!R`;Z@9~2F=l7ia
z>No5U1pQZ7_g6~(4k$)O5b*Dy1t0sjvG2iwjm>8R0-G6R11^W~b4>glqQ0(~uGM`^
zfUFJm&2)7@Zxv)gw$^`p>~B>60Tp-{&>n)H>5t%NWCrKUe<*xNw!d89J~{u90vZ1^
zx!&VuM7k|KCgW6Bh^}*h(2@Yvf@K~p5am%cQgN@^rtSr
zgZqQhKNx)ooL}gee_m4h2i@N!{ub*0O4&c>KtB@@n8m*m5O@Y)@_^0I3}o@&rYwKN
zHF$T3pK(Auz9z3710ADiHwFc=~nVbG$g5Lt|&(W0ef$N7H
z@hcnr$`K5|g7K$E|3k)Kv&3JsmOuO>3Q_|a?U!GGujt)_0fEbqSc9+k{XS867s5pI!wnT|+CWWh7%`N-F_kVh2|;HM9b|ICxiNrl`;-Q1}1~E91Yug6*iP
z7Co!7bU_KZ8@&6$@`2j*kq-pGAFTT!1nRtbzx8cxD2v(-^B7gr?HRkTO#DWIDe_nN
z&Nm@k+sJ$33MGnMC+)lBs-iu$Y^vBN=N19Vkld5O=M(|zjNGk@WV9nfGb^lq*W5JC
zM^|-#SKHo`2{-OqA#~TzwSo`>I8j|&+KOM+<_+I?CzUR{ZH?4obV^oXbU%HvoD9;b
zCAWgAID(&lf#;3XwdOtkBWd6o=1y=jq#YWzhT#_aHi{6oGYKJMl{IlOS$c&!x$AAF
ziQxOg*e3G};ulX~BM+=egg&IiH2I|Y^Tzfp0tpyu)eeoRp^SJsiZ%zNCW1^8&hGq>
zxLVJ+F<6p~panh$yV#hxS$lP;LaaggxI(YBp<-Oedxt^x>*_+ri)DigbDtV3=>(a;
zkq05Bpyu$iSA9AILCYNYd0YuS3+I?d>l)O|70`mTE&!cGgQOX}h@KIG>l2UG;Kb31NkUWHtlxrRk_)_eG75f2l|W^~Wk~{LbVoD;1$LKb
z3kYYG8nf7!lG@Rh3ECH?V_7qB(s2q(1*zRFg1W{ZB3jStL<2$lF|oKBR`8S74#YvX
zCaHs@CY&;UaMi=9Zr1MA^vfMA$oChJR`n_qL&Yx4|GBcX;i6C
z#ib15<4Wjw%}UMZ#YOyE*vWNIv5TiN_W7G9{CRC33s6Cfw86iUz3P4LXU&}qj;U;ilpT*_(+2?>k>363qW`C0oiu&;eb>i`%S3ed#
z?a)98^!})W2XFIU*Kf0Mqgqgt>&5FS1cSsbwA*Qw(LH$BW^ksR@Fz0a74+xHR3cI}}p(
zFmck+`BgxyN;nl5w{HOB=6!IN{H{NH#+ggWYw=Hwf?45!gkHvWw@TRNx@FIrtmB
zU3Bn-G>M_>p*xIJ5Y<0Z5!?#!x+SDS(=f!6;A)(_>~NZqSr!6GwfF{FLFXr$-9z7`Jl0GbH;(8NqN1)L^#>sxfng
z+@`l(Oaxw*>Z-q%5>2WH9kEt`Xu2wCwEL3+tRcklp;v&lCUJQWzdC_Ig>J^KVHC7{
zJsow5T-Wn)sMy2rD%b`JQ${JKFH9?>>}$tNaN*>qjHCnQ3_a;EmU*e1TcOf~T%%#i
zC-6rr=|rGcjWUJ%ajjkyR7$LfQA{Rht_k=>cy3hd`^uPqAwtzWNop^
z(QRU_t0D{Nxl+|XxBVoJ$>?blLKFDjrLT(;f)QDe<9+dGQFyMaWLTe#(soimzx7xW
zk$0Z*%cxJto!GgMXgTTJBL
zfP+WIXi$j;6zD>gG`F-Vn2eH=Xy)ThD!;srh-VD5&m3yd@}#8s!rRp%h?+x$ZqbRw
zjQl!z6?h~c&Kywu=(`e6ajJCYT+1=GS=pFfx~Pd|xHzM?YZybSkWFbns*yC~)u&=4
zHl<3V2HFa`Ua>w8)X_K1+@)mDR~of2zP$|4(eEQw`H531v_9lOuJ*vGC2JtzDF(e9
znQV%c{SfJ`)KrX!bd06cBdI5(L`Bjel!`?Yi3(5)K^9P!Vj+#vYr{D-yKNdWyq@k7f5pS!CReF_EmNe{OGrC!RO
zQN^ufrJ_Nj2%=}hMiK1jD}1xdZ<=cZh?s_rjE@7#l`?io3$R)rK^I^>{n^MoK~SP0
z2mCR%JyGN2-ADsClE3rYre|kFlR@{SV#4{o@3B*9g+{^J5B`q5#h^*p!4No9G}agD
zXqtW_tj7|1ijVt-bcdDU%P8p!hA)Cs=IP|sD(><$a}%&p@4+9C%j=Y@kLo8U-=w~x
z5TaT3!dO;W-!lA`?Pm?|SIMnN?p*?-
z-X|#taCH`DbA7e-Y7>mjRLG;4rYR_hu-imiF(GO((gD&WGRzi-oD+yq_pRtjYm1P?
z2-tYi9(j4P>Rk#R$ICioJ=F$>%fpSMtfJf7sI@HG`Npe*xU)v5qwCfY^SkPN08mQg
zzB7ZbTg~FR83)+;m&gsSp@PH*z2NaE-sjotY<|tuG3y8+wpS4u*F!B~`;}JaQOF
zTYyY;n%o0!&DFVXZny5-i1Us){f9t3~I)PP~
z9gurILp&PMQ*1o>^uot){%(==3Q&dJ;;^l4ka@S6n@JEsYx3z(lo?J~j@!$t!RT;jD~T)KNEPz;e+?#Yc6|WY#j++DmlK<
zA>?R!Yc^$;takRdPARg&tk{n@%x1GvNSa|tEEf?_QLFw7GWrh!nHs*dmw(*
zL7O97yjBw>idz^8WM_g^`(%g=GHDimMz`g%$wy0E(kvXSZph{Er7rfBzyOjg0zrxG
zmuqZREOXU?A+2#AF+%dLT~-K0`YG){;>y&=If$~?gZlApMWB1}b5X4vWR6HRh}l_R
zEj0|V>EO%MJ3EQ8*W|^wb{zm)K1QDi^t&uwmS?I1ueg^&OvO*k4oFsxtqA7ca=%QT
zmqH3%LS)~Cu$s|aK4(Op?2z3HCYF|1*JZD>b(L)@PQfGX#J9SJT&@PAyFcB~O`!YW
z^~(8DmmhvEiB%m*Cl7BhPjLMG$w{tk>G5ibOE+N62ug_oQV~S}tqlA}q)se7aBtg1LBu31~Yd*>&ibyZDxm4+&^}L&@-csRfpy1SA~X2-pJ&
z*jGZ@L(qQ`*4_HETPqw=3LL8z$YrmegoSvLP!I?N+oj2|1;+;oAPX#KlZX(5D1OrA
z3lJc(J0Y@91<5-Ru;csY|N2nmGuc|WfV@C3k)Q;t(#8REQ;@(IiB&2I1vhUnk+1~Y
zO33#RbQDq%=Wg}}I|3GD$7+Xd(}M{fMXu9M?9Z)~z9xB{w?8&Z?9#sbeP0R^AbLgY
ztjv9i68ZV&U}edon`HX3gs0jyADGR(KEJe_U|U{zTv`RKbEg3@NvzI`oJCMt0J_>m
zID~lR`IRSmN`1UYz^Dpo3eQpbsaZghX+jZ=Va4~jN~s~ELwVQAw|SVDG=N!-R*%2Z
z<3TM|>#aUdW^L1I6B#MuuRFP$KY~hUQk)#p@o
zuG7?0tQC7!i0X2A5+@Q}OMwqO2MkAN2hOk+4=j~h
zO%q#hgj_U7&vMVP+}OgJ8U{?m&RdK|F|U(riTLk3jG7U*EG`*LT)mjHnIJyZt(@Ub
z?QCV)D^=CqRcg$UIgskL65w4Z#_jj>Pa)ZI99
zA9b#@iGo%!f9BfuF&a8s7b5OTjzJ|BQ#m$bkae`LsdhKDpw!M|ShPMWVvBqa)n1d8
z-EOVhN5?zEBx-r!Lj*8i_5($qx?mO;zhHJoFW)3vctP2uUeU%?vF430hMA8$B4ddv
z>q~IGw8k>cmz7EJ!B!=~foX6hv`eyXKdz!==G0E>ZU|qgqC^c5wy)?3DK2uf=rZ94
zizJ|>adD^?wt8C??yt=Gwh`UszU4^NVL=yuDGBmV$~<+U>Ttm)=I!DmQZ?6y#$5q~S?7-l$sZ@=SlT+YtwGBRn3)
zXB4uPZAkf}r;%q{>bs(MyIXlMC_agwd$l(w3vQ2X|6;3JT1tFJ}Ka|tIh#^-i&q4v;gBUR%0Hyts
zRcIxvd{0DXmIS}=q#;m7W+yANR=1BLM|gcbTN{Ch!9#>1E55~ddx5PJwJ}>&7uHdFJ
z2rQo-IPU9>zsaSPs&DI4#sB@_4n-Ev;fK&TS>!&FHa&
zXW|vH>S)#Ij&J^U!eJZ3il6Q)E=f(9%wkFzRHaP*a`AS97%No<%nW>{VMx{=y=Va`gI5
z#pfqTo`*+qV@Y
zX5Hz6K;U}+Lc(WM#*8OBgiO8B7+#M10L3Bl|8l%cx`j;Mg-of1OpS$1i-k1ms9Rl;1|?C9yK
zxHoObfSHxEvr+T3Ce)mn)0Ni8DP+rxdTTTD;-b^d4I|o{No1?isjZ+>e*X!H{l#r3
z{qbpJz`7Fm&FjgtLqi+8DuL||zfVJx{nlDX8hbP2jMlVCr(ZYJ#qYE(u}2yW(#md4
zcqB@8h<98DPgyiyGoKzBj>mDgA5&&Z(!2O?$cQIt4Se{tAtzp><%ETmgy;
zlD55*offxNMhY2SV5W7rtL+kA!|QMYm(bHFFD4qOo2%@rg23|%ZF7v#vJYUv_2qj7
z#M5}sKAmXevq4RNY)vdK%*s*Y-mzCML(-FM-lm-R2opD;afEBa?b)Ya?1;$nxp|eo
z+=k5*{Lv5+v$SIRnND1doWQpXU$8E+jIw*Tzxlw
z`jy5e&Lw-NJX?>#$SxJ!9ObeU{a;PxH`cBp5_GL|d{G$P;J{p;P6fZoTs(4+TecF~YB{pG%LYMn`
zBQM(2Y*C`Thku1bB9c^8<>jj5}Wqt|}1Jkm#GMy`T=
zpR+GenR!}9=xCGrx$9m0U0|+cuL4hFwi&0h4j5I0TXmWK-2ngX;9tke*-&XD_L+Km
zz-P}0x0*8jzZw(eF!LnF>U2c)dS}<$#g&zt5o}uXMBr?bHo#b)w9d(Q+k=O;Uriw=
zMySqW>iTx_XnyYQ^kT0VK+wK3-gmw_yuH|9ygkdSng`c#Mi_U!IjqW}O=@(!JN|Z*
zXPz{#I+bp?GhgR&bh&dBHQ$&Te!Zw~-n{VrYMj=5XU~35{qBm2X;U3=a6DTpQdhhE
zDCT$Gr``y-x=K>c^W5xyXWdg{0qz!^uNyC}qKee(9WTs|+M~->%8gEs`oLY-mZklI
zQ*E3Y3S+={*w^8c=-iL5!*WzmK#Sjs^ccB>M|(Z=8}SYkR8Wu?Hi{ZnT*d`R9B%W<
zTUQG4Z@+$=otujQruBBWOt-A;r?aQ$D>EXe$$J+nSBl5dB#ary%D_#9D$!OUpQ-u0
z)$D+HQb)#j=O+7m<8m{tB>L|JeeTtIc#>NHYqhDN^52TNhDQ$@todk|e*_?!oO&y^{nIzRgXT7?qGT^2Mlt^qi{U+6j!e!+6Jum6^~m
zEWvLG3j~+9@=W34@6-j@AEvmHO|NLPNksZ4dgyFl;AF5%slDT-)XnIX4Y=Hv;>j=l4~
zDN9h<7JpH`wLLHp=~!XqV)B~68aE$+(G52e800Gz4|6e!DBx%JBt!?fb30qSwT`TZ?
zIPkqjZ9`K{lizPOGyZXV{C_=*>3&VdAF_b|K^W8h4d6dc`(MtwU)S+}o+V*!2I&5-
z7SsJ^iT~$0|Ah=@@DqCfJmc_R$pB0GLl6to&s&UOK~V-%P#}Q)U#k;bWL}$l(mkEM
zz$6+Wd5kZ>0ZQjZ^GhK%n#$Sa{qcnq(-RT*{H$UR^ah<-RHOdLd9S~7@?Du+W^Q6l
zQ7vWVV3|wCTO?KMQRreqf|o1%BJ%P=JfzoHwsRbXsOG+fz8o@F9e$*%4KaO%^r#L(%{h9E?
zb>S1A$*y=tkcNh@GULgDo@f=_MRywmGDM(0Z2HvaDbOjHDbGnsP~W)5sLiEgFWBJd
zT&1f@WN3$MLnm}*seQxnbfuHih~k|w_mgaBUM$Vr&m^bJ!mxv9*ZX2T{Qi=zS%Y^2
zlH67hJ%U05g@kwsV!Vm=74~q=
zny&uxRO_u_~sn5d>&k0WVP~n0nO`B3Ag$R;vY1sGo`g+
z=e(Fc2cX_68Z-5|!z){NZm&xLjK*o@WQyty@b8OH847lkN=+Qo5&C=&5^P+@hffRV
zQ9{t++8>F#;z%piRNKBfIu5+(H~<8{Jx<-=onwoMY^-s6q!JI5*X%3wD4%5u*@xXHN~{<(k;EsoT$D~X1LB@
z3jHG6K4X2s3D!UoVe`?)@e#U?#MhKeFe@X$og|&NjPivQ&C>vFnZWI&X!qioL1bW{
zVxYxxNKl{VoSl(74?%yV48@m%j{gM>i&-K0@(w`c~T|=O*{~g1KulM4#7=
z&raZ#H-VQ5a*bPm)>cY`LHft=$ZKN*yffcbb}pfaE+>i%JmQW&*3?BC6x+@p1x9wt3sPW;!&C9ops^iv7*gi%&Qggvtmf
z-@3ltL1C6Cg97My@Shi><)ccY);!uG@~zitMH8ckcCKdS^4sr;+BA{
zW`uw~1S*SXXf?;IiSiC}{&imGq9g4hwA@w)wA(I&L*(6~I_Z;4wIxm&)?B19>HK+MHjI
zrMVO#U%NzGISSkaZj5Xi8Ruq6!Tmoy2k%5bdHF9qBq66z!RT;1%Y@?w5O4;Fsw=Z9rh$~H>D!rNNs_|zE*
zXlC$t$Om(Zh9qZA`{3y7iYaGT7N!g*nN+d9bTROFOw}d{mxG~Lsr;hf;OmaY81G(i
z8mZFY_E-h`l+r4TS2UL5XpijasTq9CObVhePk70x_LGnqqHe2mDgiUtM|rV!E|3I^
z@u{t2S0YedoIZuFjajQyf^s3nZItfd
z)rM{|M8S7owE%?
zhROAj
zdL3%%Xe*KoE+GaZ(@PAhtdl(w-bl?dDDjpmC}